123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[16,4],{"+3Gp":function(Ie,M,e){"use strict";e.d(M,"a",function(){return v}),e.d(M,"b",function(){return h});var u=e("yKVA"),c=e("879j"),r=e("fWQN"),f=e("mtLc"),o=e("MNsG"),i=e("Yr1X"),a=o.f?1.5:1.35,n=8,v=function(){function t(l){Object(r.a)(this,t),this.zoomLevel=l.zoomLevel,this.pixelRatio=l.pixelRatio,this.fontFamily=String(l.fontFamily),this.fontWeight=String(l.fontWeight),this.fontSize=l.fontSize,this.fontFeatureSettings=l.fontFeatureSettings,this.lineHeight=l.lineHeight|0,this.letterSpacing=l.letterSpacing}return Object(f.a)(t,[{key:"getId",value:function(){return this.zoomLevel+"-"+this.pixelRatio+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing}},{key:"getMassagedFontFamily",value:function(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?'"'.concat(this.fontFamily,'"'):this.fontFamily}}],[{key:"createFromValidatedSettings",value:function(p,w,S,k){var T=p.get(39),I=p.get(43),Y=p.get(42),$=p.get(41),A=p.get(55),g=p.get(52);return t._create(T,I,Y,$,A,g,w,S,k)}},{key:"_create",value:function(p,w,S,k,T,I,Y,$,A){T===0?T=Math.round(a*S):T<n&&(T=n);var g=1+(A?0:i.a.getZoomLevel()*.1);return S*=g,T*=g,new t({zoomLevel:Y,pixelRatio:$,fontFamily:p,fontWeight:w,fontSize:S,fontFeatureSettings:k,lineHeight:T,letterSpacing:I})}}]),t}(),m=1,h=function(t){Object(u.a)(p,t);var l=Object(c.a)(p);function p(w,S){var k;return Object(r.a)(this,p),k=l.call(this,w),k.version=m,k.isTrusted=S,k.isMonospace=w.isMonospace,k.typicalHalfwidthCharacterWidth=w.typicalHalfwidthCharacterWidth,k.typicalFullwidthCharacterWidth=w.typicalFullwidthCharacterWidth,k.canUseHalfwidthRightwardsArrow=w.canUseHalfwidthRightwardsArrow,k.spaceWidth=w.spaceWidth,k.middotWidth=w.middotWidth,k.wsmiddotWidth=w.wsmiddotWidth,k.maxDigitWidth=w.maxDigitWidth,k}return Object(f.a)(p,[{key:"equals",value:function(S){return this.fontFamily===S.fontFamily&&this.fontWeight===S.fontWeight&&this.fontSize===S.fontSize&&this.fontFeatureSettings===S.fontFeatureSettings&&this.lineHeight===S.lineHeight&&this.letterSpacing===S.letterSpacing&&this.typicalHalfwidthCharacterWidth===S.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===S.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===S.canUseHalfwidthRightwardsArrow&&this.spaceWidth===S.spaceWidth&&this.middotWidth===S.middotWidth&&this.wsmiddotWidth===S.wsmiddotWidth&&this.maxDigitWidth===S.maxDigitWidth}}]),p}(v)},"+6XX":function(Ie,M,e){var u=e("y1pI");function c(r){return u(this.__data__,r)>-1}Ie.exports=c},"+7oY":function(Ie,M,e){"use strict";e.d(M,"a",function(){return o}),e.d(M,"g",function(){return i}),e.d(M,"b",function(){return a}),e.d(M,"f",function(){return n}),e.d(M,"d",function(){return m}),e.d(M,"c",function(){return h}),e.d(M,"e",function(){return t});var u=e("rAM+"),c=e("ic2d"),r=e("Cg/j"),f=e("CRAX"),o=Object(r.c)("configurationService");function i(l,p){var w=Object.create(null);for(var S in l)a(w,S,l[S],p);return w}function a(l,p,w,S){for(var k=p.split("."),T=k.pop(),I=l,Y=0;Y<k.length;Y++){var $=k[Y],A=I[$];switch(typeof A){case"undefined":A=I[$]=Object.create(null);break;case"object":break;default:S("Ignoring ".concat(p," as ").concat(k.slice(0,Y+1).join(".")," is ").concat(JSON.stringify(A)));return}I=A}if(typeof I=="object"&&I!==null)try{I[T]=w}catch(g){S("Ignoring ".concat(p," as ").concat(k.join(".")," is ").concat(JSON.stringify(I)))}else S("Ignoring ".concat(p," as ").concat(k.join(".")," is ").concat(JSON.stringify(I)))}function n(l,p){var w=p.split(".");v(l,w)}function v(l,p){var w=p.shift();if(p.length===0){delete l[w];return}if(Object.keys(l).indexOf(w)!==-1){var S=l[w];typeof S=="object"&&!Array.isArray(S)&&(v(S,p),Object.keys(S).length===0&&delete l[w])}}function m(l,p,w){function S(I,Y){var $=I,A=Object(u.a)(Y),g;try{for(A.s();!(g=A.n()).done;){var b=g.value;if(typeof $!="object"||$===null)return;$=$[b]}}catch(d){A.e(d)}finally{A.f()}return $}var k=p.split("."),T=S(l,k);return typeof T=="undefined"?w:T}function h(){var l=c.a.as(f.a.Configuration).getConfigurationProperties();return Object.keys(l)}function t(){var l=Object.create(null),p=c.a.as(f.a.Configuration).getConfigurationProperties();for(var w in p){var S=p[w].default;a(l,w,S,function(k){return console.error("Conflict in default settings: ".concat(k))})}return l}},"+AS1":function(Ie,M,e){"use strict";var u=e("rePB"),c=e("GNNt"),r=e("wEI+"),f=e("nKUr"),o=e.n(f),i=e("TSYQ"),a=e.n(i),n=e("q1tI"),v=e.n(n),m=e("u1OI"),h=e.n(m),t=function(p){var w=Object(n.useContext)(r.a.ConfigContext),S=w.getPrefixCls,k=S("pro-card-divider"),T=p.className,I=p.style,Y=I===void 0?{}:I,$=p.type,A=a()(k,T,Object(u.a)({},"".concat(k,"-").concat($),$));return Object(f.jsx)("div",{className:A,style:Y})};M.a=t},"+BJd":function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("6MrE"),f=e.n(r)},"+Fos":function(Ie,M,e){"use strict";e.d(M,"a",function(){return v});var u=e("mtLc"),c=e("fWQN"),r=e("Ll0s"),f=e("cGHE"),o=e("aokT"),i=e("N0LK"),a=e("cIqD"),n=Object(u.a)(function m(h,t,l){Object(c.a)(this,m),this.lineNumber=h,this.column=t,this.leftoverVisibleColumns=l}),v=function(){function m(){Object(c.a)(this,m)}return Object(u.a)(m,null,[{key:"leftPosition",value:function(t,l,p){return p>t.getLineMinColumn(l)?p=p-i.L(t.getLineContent(l),p-1):l>1&&(l=l-1,p=t.getLineMaxColumn(l)),new f.a(l,p)}},{key:"leftPositionAtomicSoftTabs",value:function(t,l,p,w){var S=t.getLineMinColumn(l),k=t.getLineContent(l),T=a.a.atomicPosition(k,p-1,w,0);return T===-1||T+1<S?this.leftPosition(t,l,p):new f.a(l,T+1)}},{key:"left",value:function(t,l,p,w){var S=t.stickyTabStops?m.leftPositionAtomicSoftTabs(l,p,w,t.tabSize):m.leftPosition(l,p,w);return new n(S.lineNumber,S.column,0)}},{key:"moveLeft",value:function(t,l,p,w,S){var k,T;if(p.hasSelection()&&!w)k=p.selection.startLineNumber,T=p.selection.startColumn;else{var I=m.left(t,l,p.position.lineNumber,p.position.column-(S-1));k=I.lineNumber,T=I.column}return p.move(w,k,T,0)}},{key:"rightPosition",value:function(t,l,p){return p<t.getLineMaxColumn(l)?p=p+i.K(t.getLineContent(l),p-1):l<t.getLineCount()&&(l=l+1,p=t.getLineMinColumn(l)),new f.a(l,p)}},{key:"rightPositionAtomicSoftTabs",value:function(t,l,p,w,S){var k=t.getLineContent(l),T=a.a.atomicPosition(k,p-1,w,1);return T===-1?this.rightPosition(t,l,p):new f.a(l,T+1)}},{key:"right",value:function(t,l,p,w){var S=t.stickyTabStops?m.rightPositionAtomicSoftTabs(l,p,w,t.tabSize,t.indentSize):m.rightPosition(l,p,w);return new n(S.lineNumber,S.column,0)}},{key:"moveRight",value:function(t,l,p,w,S){var k,T;if(p.hasSelection()&&!w)k=p.selection.endLineNumber,T=p.selection.endColumn;else{var I=m.right(t,l,p.position.lineNumber,p.position.column+(S-1));k=I.lineNumber,T=I.column}return p.move(w,k,T,0)}},{key:"down",value:function(t,l,p,w,S,k,T){var I=r.a.visibleColumnFromColumn(l.getLineContent(p),w,t.tabSize)+S,Y=l.getLineCount(),$=p===Y&&w===l.getLineMaxColumn(p);return p=p+k,p>Y?(p=Y,T?w=l.getLineMaxColumn(p):w=Math.min(l.getLineMaxColumn(p),w)):w=r.a.columnFromVisibleColumn2(t,l,p,I),$?S=0:S=I-r.a.visibleColumnFromColumn(l.getLineContent(p),w,t.tabSize),new n(p,w,S)}},{key:"moveDown",value:function(t,l,p,w,S){var k,T;p.hasSelection()&&!w?(k=p.selection.endLineNumber,T=p.selection.endColumn):(k=p.position.lineNumber,T=p.position.column);var I=m.down(t,l,k,T,p.leftoverVisibleColumns,S,!0);return p.move(w,I.lineNumber,I.column,I.leftoverVisibleColumns)}},{key:"translateDown",value:function(t,l,p){var w=p.selection,S=m.down(t,l,w.selectionStartLineNumber,w.selectionStartColumn,p.selectionStartLeftoverVisibleColumns,1,!1),k=m.down(t,l,w.positionLineNumber,w.positionColumn,p.leftoverVisibleColumns,1,!1);return new r.f(new o.a(S.lineNumber,S.column,S.lineNumber,S.column),S.leftoverVisibleColumns,new f.a(k.lineNumber,k.column),k.leftoverVisibleColumns)}},{key:"up",value:function(t,l,p,w,S,k,T){var I=r.a.visibleColumnFromColumn(l.getLineContent(p),w,t.tabSize)+S,Y=p===1&&w===1;return p=p-k,p<1?(p=1,T?w=l.getLineMinColumn(p):w=Math.min(l.getLineMaxColumn(p),w)):w=r.a.columnFromVisibleColumn2(t,l,p,I),Y?S=0:S=I-r.a.visibleColumnFromColumn(l.getLineContent(p),w,t.tabSize),new n(p,w,S)}},{key:"moveUp",value:function(t,l,p,w,S){var k,T;p.hasSelection()&&!w?(k=p.selection.startLineNumber,T=p.selection.startColumn):(k=p.position.lineNumber,T=p.position.column);var I=m.up(t,l,k,T,p.leftoverVisibleColumns,S,!0);return p.move(w,I.lineNumber,I.column,I.leftoverVisibleColumns)}},{key:"translateUp",value:function(t,l,p){var w=p.selection,S=m.up(t,l,w.selectionStartLineNumber,w.selectionStartColumn,p.selectionStartLeftoverVisibleColumns,1,!1),k=m.up(t,l,w.positionLineNumber,w.positionColumn,p.leftoverVisibleColumns,1,!1);return new r.f(new o.a(S.lineNumber,S.column,S.lineNumber,S.column),S.leftoverVisibleColumns,new f.a(k.lineNumber,k.column),k.leftoverVisibleColumns)}},{key:"_isBlankLine",value:function(t,l){return t.getLineFirstNonWhitespaceColumn(l)===0}},{key:"moveToPrevBlankLine",value:function(t,l,p,w){for(var S=p.position.lineNumber;S>1&&this._isBlankLine(l,S);)S--;for(;S>1&&!this._isBlankLine(l,S);)S--;return p.move(w,S,l.getLineMinColumn(S),0)}},{key:"moveToNextBlankLine",value:function(t,l,p,w){for(var S=l.getLineCount(),k=p.position.lineNumber;k<S&&this._isBlankLine(l,k);)k++;for(;k<S&&!this._isBlankLine(l,k);)k++;return p.move(w,k,l.getLineMinColumn(k),0)}},{key:"moveToBeginningOfLine",value:function(t,l,p,w){var S=p.position.lineNumber,k=l.getLineMinColumn(S),T=l.getLineFirstNonWhitespaceColumn(S)||k,I,Y=p.position.column;return Y===T?I=k:I=T,p.move(w,S,I,0)}},{key:"moveToEndOfLine",value:function(t,l,p,w,S){var k=p.position.lineNumber,T=l.getLineMaxColumn(k);return p.move(w,k,T,S?1073741824-T:0)}},{key:"moveToBeginningOfBuffer",value:function(t,l,p,w){return p.move(w,1,1,0)}},{key:"moveToEndOfBuffer",value:function(t,l,p,w){var S=l.getLineCount(),k=l.getLineMaxColumn(S);return p.move(w,S,k,0)}}]),m}()},"+K+b":function(Ie,M,e){var u=e("JHRd");function c(r){var f=new r.constructor(r.byteLength);return new u(f).set(new u(r)),f}Ie.exports=c},"+KLJ":function(Ie,M,e){"use strict";var u=e("wx14"),c=e("ODXe"),r=e("rePB"),f=e("jO45"),o=e("Ue1A"),i=e("jN4g"),a=e("2BaD"),n=e("4i/N"),v=e("IMoZ"),m=e("RCxd"),h=e("zueq"),t=e("+YFz"),l=e("TSYQ"),p=e.n(l),w=e("8XRh"),S=e("q1tI"),k=e("H84U"),T=e("RqAY"),I=e("0n0R"),Y=e("1OyB"),$=e("vuIU"),A=e("Ji7U"),g=e("LK+K"),b=function(q){Object(A.a)(he,q);var oe=Object(g.a)(he);function he(){var ue;return Object(Y.a)(this,he),ue=oe.apply(this,arguments),ue.state={error:void 0,info:{componentStack:""}},ue}return Object($.a)(he,[{key:"componentDidCatch",value:function(ne,se){this.setState({error:ne,info:se})}},{key:"render",value:function(){var ne=this.props,se=ne.message,be=ne.description,Z=ne.children,ee=this.state,ce=ee.error,R=ee.info,y=R&&R.componentStack?R.componentStack:null,C=typeof se=="undefined"?(ce||"").toString():se,z=typeof be=="undefined"?y:be;return ce?S.createElement(ye,{type:"error",message:C,description:S.createElement("pre",null,z)}):Z}}]),he}(S.Component),d=b,O=function(q,oe){var he={};for(var ue in q)Object.prototype.hasOwnProperty.call(q,ue)&&oe.indexOf(ue)<0&&(he[ue]=q[ue]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,ue=Object.getOwnPropertySymbols(q);ne<ue.length;ne++)oe.indexOf(ue[ne])<0&&Object.prototype.propertyIsEnumerable.call(q,ue[ne])&&(he[ue[ne]]=q[ue[ne]]);return he},E={success:f.a,info:h.a,error:i.a,warning:v.a},D={success:o.a,info:t.a,error:a.a,warning:m.a},W=function(oe){var he=oe.description,ue=oe.icon,ne=oe.prefixCls,se=oe.type,be=(he?D:E)[se]||null;return ue?Object(I.d)(ue,S.createElement("span",{className:"".concat(ne,"-icon")},ue),function(){return{className:p()("".concat(ne,"-icon"),Object(r.a)({},ue.props.className,ue.props.className))}}):S.createElement(be,{className:"".concat(ne,"-icon")})},te=function(oe){var he=oe.isClosable,ue=oe.closeText,ne=oe.prefixCls,se=oe.closeIcon,be=oe.handleClose;return he?S.createElement("button",{type:"button",onClick:be,className:"".concat(ne,"-close-icon"),tabIndex:0},ue?S.createElement("span",{className:"".concat(ne,"-close-text")},ue):se):null},re=function(oe){var he,ue=oe.description,ne=oe.prefixCls,se=oe.message,be=oe.banner,Z=oe.className,ee=Z===void 0?"":Z,ce=oe.style,R=oe.onMouseEnter,y=oe.onMouseLeave,C=oe.onClick,z=oe.afterClose,G=oe.showIcon,X=oe.closable,pe=oe.closeText,ae=oe.closeIcon,Se=ae===void 0?S.createElement(n.a,null):ae,Te=oe.action,je=O(oe,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),ft=S.useState(!1),fe=Object(c.a)(ft,2),ie=fe[0],ge=fe[1],Ve=S.useRef(),Ee=S.useContext(k.b),Me=Ee.getPrefixCls,_e=Ee.direction,Re=Me("alert",ne),et=function(ut){var nt;ge(!0),(nt=je.onClose)===null||nt===void 0||nt.call(je,ut)},Xe=function(){var ut=je.type;return ut!==void 0?ut:be?"warning":"info"},it=pe?!0:X,bt=Xe(),Ct=be&&G===void 0?!0:G,Bt=p()(Re,"".concat(Re,"-").concat(bt),(he={},Object(r.a)(he,"".concat(Re,"-with-description"),!!ue),Object(r.a)(he,"".concat(Re,"-no-icon"),!Ct),Object(r.a)(he,"".concat(Re,"-banner"),!!be),Object(r.a)(he,"".concat(Re,"-rtl"),_e==="rtl"),he),ee),qe=Object(T.a)(je);return S.createElement(w.b,{visible:!ie,motionName:"".concat(Re,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(ut){return{maxHeight:ut.offsetHeight}},onLeaveEnd:z},function(st){var ut=st.className,nt=st.style;return S.createElement("div",Object(u.a)({ref:Ve,"data-show":!ie,className:p()(Bt,ut),style:Object(u.a)(Object(u.a)({},ce),nt),onMouseEnter:R,onMouseLeave:y,onClick:C,role:"alert"},qe),Ct?S.createElement(W,{description:ue,icon:je.icon,prefixCls:Re,type:bt}):null,S.createElement("div",{className:"".concat(Re,"-content")},se?S.createElement("div",{className:"".concat(Re,"-message")},se):null,ue?S.createElement("div",{className:"".concat(Re,"-description")},ue):null),Te?S.createElement("div",{className:"".concat(Re,"-action")},Te):null,S.createElement(te,{isClosable:!!it,closeText:pe,prefixCls:Re,closeIcon:Se,handleClose:et}))})};re.ErrorBoundary=d;var ye=M.a=re},"+QRC":function(Ie,M,e){"use strict";var u=e("E9nw"),c={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function f(i){var a=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,a)}function o(i,a){var n,v,m,h,t,l,p=!1;a||(a={}),n=a.debug||!1;try{m=u(),h=document.createRange(),t=document.getSelection(),l=document.createElement("span"),l.textContent=i,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(S){if(S.stopPropagation(),a.format)if(S.preventDefault(),typeof S.clipboardData=="undefined"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var k=c[a.format]||c.default;window.clipboardData.setData(k,i)}else S.clipboardData.clearData(),S.clipboardData.setData(a.format,i);a.onCopy&&(S.preventDefault(),a.onCopy(S.clipboardData))}),document.body.appendChild(l),h.selectNodeContents(l),t.addRange(h);var w=document.execCommand("copy");if(!w)throw new Error("copy command was unsuccessful");p=!0}catch(S){n&&console.error("unable to copy using execCommand: ",S),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",i),a.onCopy&&a.onCopy(window.clipboardData),p=!0}catch(k){n&&console.error("unable to copy using clipboardData: ",k),n&&console.error("falling back to prompt"),v=f("message"in a?a.message:r),window.prompt(v,i)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(h):t.removeAllRanges()),l&&document.body.removeChild(l),m()}return p}Ie.exports=o},"+Qka":function(Ie,M,e){var u=e("fmRc"),c=e("t2Dn"),r=e("cq/+"),f=e("T1AV"),o=e("GoyQ"),i=e("mTTR"),a=e("itsj");function n(v,m,h,t,l){v!==m&&r(m,function(p,w){if(l||(l=new u),o(p))f(v,m,w,h,n,t,l);else{var S=t?t(a(v,w),p,w+"",v,m,l):void 0;S===void 0&&(S=p),c(v,w,S)}},i)}Ie.exports=n},"+c4W":function(Ie,M,e){var u=e("711d"),c=e("4/ic"),r=e("9ggG"),f=e("9Nap");function o(i){return r(i)?u(f(i)):c(i)}Ie.exports=o},"+caW":function(Ie,M,e){"use strict";e.d(M,"a",function(){return g});var u=e("bbsP"),c=e("/wGt"),r=e("x+uP"),f=e("HaE+"),o=e("VTBJ"),i=e("ODXe"),a=e("GNNt"),n=e("wEI+"),v=e("Ff2n"),m=e("nKUr"),h=e.n(m),t=e("+i8S"),l=e("2oH+"),p=e.n(l),w=e("6cGi"),S=e("Kwbf"),k=e("q1tI"),T=e.n(k),I=e("i8i4"),Y=e.n(I),$=e("T1Ok"),A=["children","trigger","onVisibleChange","drawerProps","onFinish","submitTimeout","title","width","visible"];function g(b){var d,O,E,D,W=b.children,te=b.trigger,re=b.onVisibleChange,ye=b.drawerProps,q=b.onFinish,oe=b.submitTimeout,he=b.title,ue=b.width,ne=b.visible,se=Object(v.a)(b,A);Object(S.b)(!se.footer||!(ye==null?void 0:ye.footer),"DrawerForm \u662F\u4E00\u4E2A ProForm \u7684\u7279\u6B8A\u5E03\u5C40\uFF0C\u5982\u679C\u60F3\u81EA\u5B9A\u4E49\u6309\u94AE\uFF0C\u8BF7\u4F7F\u7528 submit.render \u81EA\u5B9A\u4E49\u3002");var be=Object(k.useContext)(n.a.ConfigContext),Z=Object(k.useState)([]),ee=Object(i.a)(Z,2),ce=ee[1],R=Object(k.useState)(!1),y=Object(i.a)(R,2),C=y[0],z=y[1],G=Object(w.a)(!!ne,{value:ne,onChange:re}),X=Object(i.a)(G,2),pe=X[0],ae=X[1],Se=Object(k.useRef)(null),Te=Object(k.useCallback)(function(Ee){Se.current===null&&Ee&&ce([]),Se.current=Ee},[]),je=Object(k.useRef)(),ft=Object(k.useCallback)(function(){var Ee,Me,_e,Re=(Ee=(Me=(_e=se.formRef)===null||_e===void 0?void 0:_e.current)!==null&&Me!==void 0?Me:se.form)!==null&&Ee!==void 0?Ee:je.current;Re&&(ye==null?void 0:ye.destroyOnClose)&&Re.resetFields()},[ye==null?void 0:ye.destroyOnClose,se.form,se.formRef]);Object(k.useEffect)(function(){pe&&ne&&(re==null||re(!0))},[ne,pe]);var fe=Object(k.useMemo)(function(){return te?T.a.cloneElement(te,Object(o.a)(Object(o.a)({key:"trigger"},te.props),{},{onClick:function(){var Ee=Object(f.a)(Object(r.a)().mark(function _e(Re){var et,Xe;return Object(r.a)().wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:ae(!pe),(et=te.props)===null||et===void 0||(Xe=et.onClick)===null||Xe===void 0||Xe.call(et,Re);case 2:case"end":return bt.stop()}},_e)}));function Me(_e){return Ee.apply(this,arguments)}return Me}()})):null},[ae,te,pe]),ie=Object(k.useMemo)(function(){var Ee,Me,_e,Re,et,Xe;return se.submitter===!1?!1:p()({searchConfig:{submitText:(Ee=(Me=be.locale)===null||Me===void 0||(_e=Me.Modal)===null||_e===void 0?void 0:_e.okText)!==null&&Ee!==void 0?Ee:"\u786E\u8BA4",resetText:(Re=(et=be.locale)===null||et===void 0||(Xe=et.Modal)===null||Xe===void 0?void 0:Xe.cancelText)!==null&&Re!==void 0?Re:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:oe?C:void 0,onClick:function(bt){var Ct;ae(!1),ft(),ye==null||(Ct=ye.onClose)===null||Ct===void 0||Ct.call(ye,bt)}}},se.submitter)},[se.submitter,(d=be.locale)===null||d===void 0||(O=d.Modal)===null||O===void 0?void 0:O.okText,(E=be.locale)===null||E===void 0||(D=E.Modal)===null||D===void 0?void 0:D.cancelText,oe,C,ae,ft,ye]),ge=Object(k.useCallback)(function(Ee,Me){return Object(m.jsxs)(m.Fragment,{children:[Ee,Se.current&&Me?Object(I.createPortal)(Me,Se.current):Me]})},[]),Ve=Object(t.a)(function(){var Ee=Object(f.a)(Object(r.a)().mark(function Me(_e){var Re,et,Xe;return Object(r.a)().wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:return Re=q==null?void 0:q(_e),oe&&Re instanceof Promise&&(z(!0),et=setTimeout(function(){return z(!1)},oe),Re.finally(function(){clearTimeout(et),z(!1)})),bt.next=4,Re;case 4:return Xe=bt.sent,Xe&&ae(!1),bt.abrupt("return",Xe);case 7:case"end":return bt.stop()}},Me)}));return function(Me){return Ee.apply(this,arguments)}}());return Object(m.jsxs)(m.Fragment,{children:[Object(m.jsx)(c.a,Object(o.a)(Object(o.a)({title:he,width:ue||800},ye),{},{visible:pe,onClose:function(Me){var _e;oe&&C||(ft(),ae(!1),ye==null||(_e=ye.onClose)===null||_e===void 0||_e.call(ye,Me))},afterVisibleChange:function(Me){var _e;Me||ft(),ye==null||(_e=ye.afterVisibleChange)===null||_e===void 0||_e.call(ye,Me)},footer:se.submitter!==!1&&Object(m.jsx)("div",{ref:Te,style:{display:"flex",justifyContent:"flex-end"}}),children:Object(m.jsx)(m.Fragment,{children:Object(m.jsx)($.a,Object(o.a)(Object(o.a)({formComponentType:"DrawerForm",layout:"vertical",formRef:je},se),{},{submitter:ie,onFinish:function(){var Ee=Object(f.a)(Object(r.a)().mark(function _e(Re){var et;return Object(r.a)().wrap(function(it){for(;;)switch(it.prev=it.next){case 0:return it.next=2,Ve(Re);case 2:return et=it.sent,et===!0&&ft(),it.abrupt("return",et);case 5:case"end":return it.stop()}},_e)}));function Me(_e){return Ee.apply(this,arguments)}return Me}(),contentRender:ge,children:W}))})})),fe]})}},"+eQT":function(Ie,M,e){"use strict";var u=e("wd/R"),c=e.n(u),r=e("Kwbf"),f={getNow:function(){return c()()},getFixedDate:function(Jt){return c()(Jt,"YYYY-MM-DD")},getEndDate:function(Jt){var ln=Jt.clone();return ln.endOf("month")},getWeekDay:function(Jt){var ln=Jt.clone().locale("en_US");return ln.weekday()+ln.localeData().firstDayOfWeek()},getYear:function(Jt){return Jt.year()},getMonth:function(Jt){return Jt.month()},getDate:function(Jt){return Jt.date()},getHour:function(Jt){return Jt.hour()},getMinute:function(Jt){return Jt.minute()},getSecond:function(Jt){return Jt.second()},addYear:function(Jt,ln){var rn=Jt.clone();return rn.add(ln,"year")},addMonth:function(Jt,ln){var rn=Jt.clone();return rn.add(ln,"month")},addDate:function(Jt,ln){var rn=Jt.clone();return rn.add(ln,"day")},setYear:function(Jt,ln){var rn=Jt.clone();return rn.year(ln)},setMonth:function(Jt,ln){var rn=Jt.clone();return rn.month(ln)},setDate:function(Jt,ln){var rn=Jt.clone();return rn.date(ln)},setHour:function(Jt,ln){var rn=Jt.clone();return rn.hour(ln)},setMinute:function(Jt,ln){var rn=Jt.clone();return rn.minute(ln)},setSecond:function(Jt,ln){var rn=Jt.clone();return rn.second(ln)},isAfter:function(Jt,ln){return Jt.isAfter(ln)},isValidate:function(Jt){return Jt.isValid()},locale:{getWeekFirstDay:function(Jt){var ln=c()().locale(Jt);return ln.localeData().firstDayOfWeek()},getWeekFirstDate:function(Jt,ln){var rn=ln.clone(),An=rn.locale(Jt);return An.weekday(0)},getWeek:function(Jt,ln){var rn=ln.clone(),An=rn.locale(Jt);return An.week()},getShortWeekDays:function(Jt){var ln=c()().locale(Jt);return ln.localeData().weekdaysMin()},getShortMonths:function(Jt){var ln=c()().locale(Jt);return ln.localeData().monthsShort()},format:function(Jt,ln,rn){var An=ln.clone(),fr=An.locale(Jt);return fr.format(rn)},parse:function(Jt,ln,rn){for(var An=[],fr=0;fr<rn.length;fr+=1){var Pr=rn[fr],kr=ln;if(Pr.includes("wo")||Pr.includes("Wo")){Pr=Pr.replace(/wo/g,"w").replace(/Wo/g,"W");var Ar=Pr.match(/[-YyMmDdHhSsWwGg]+/g),vi=kr.match(/[-\d]+/g);Ar&&vi?(Pr=Ar.join(""),kr=vi.join("")):An.push(Pr.replace(/o/g,""))}var Wi=c()(kr,Pr,Jt,!0);if(Wi.isValid())return Wi}for(var di=0;di<An.length;di+=1){var ri=c()(ln,An[di],Jt,!1);if(ri.isValid())return Object(r.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),ri}return null}}},o=f,i=e("wx14"),a=e("CWQg"),n=e("q1tI"),v=e("2/Rp");function m(Qe){return n.createElement(v.a,Object(i.a)({size:"small",type:"primary"},Qe))}var h=e("mr32");function t(Qe){return n.createElement(h.a,Object(i.a)({color:"blue"},Qe))}var l=e("rePB"),p=e("2XLT"),w=e("Icgb"),S=e("jN4g"),k=e("VTBJ"),T={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},I=T,Y=e("6VBw"),$=function(Jt,ln){return n.createElement(Y.a,Object(k.a)(Object(k.a)({},Jt),{},{ref:ln,icon:I}))};$.displayName="SwapRightOutlined";var A=n.forwardRef($),g=e("TSYQ"),b=e.n(g),d=e("1OyB"),O=e("vuIU"),E=e("Ji7U"),D=e("LK+K"),W=e("ODXe"),te=e("6cGi"),re=e("U8pU"),ye=e("4IlW"),q=n.createContext({}),oe=q,he={visibility:"hidden"};function ue(Qe){var Jt=Qe.prefixCls,ln=Qe.prevIcon,rn=ln===void 0?"\u2039":ln,An=Qe.nextIcon,fr=An===void 0?"\u203A":An,Pr=Qe.superPrevIcon,kr=Pr===void 0?"\xAB":Pr,Ar=Qe.superNextIcon,vi=Ar===void 0?"\xBB":Ar,Wi=Qe.onSuperPrev,di=Qe.onSuperNext,ri=Qe.onPrev,yi=Qe.onNext,Si=Qe.children,zi=n.useContext(oe),si=zi.hideNextBtn,ii=zi.hidePrevBtn;return n.createElement("div",{className:Jt},Wi&&n.createElement("button",{type:"button",onClick:Wi,tabIndex:-1,className:"".concat(Jt,"-super-prev-btn"),style:ii?he:{}},kr),ri&&n.createElement("button",{type:"button",onClick:ri,tabIndex:-1,className:"".concat(Jt,"-prev-btn"),style:ii?he:{}},rn),n.createElement("div",{className:"".concat(Jt,"-view")},Si),yi&&n.createElement("button",{type:"button",onClick:yi,tabIndex:-1,className:"".concat(Jt,"-next-btn"),style:si?he:{}},fr),di&&n.createElement("button",{type:"button",onClick:di,tabIndex:-1,className:"".concat(Jt,"-super-next-btn"),style:si?he:{}},vi))}var ne=ue;function se(Qe){var Jt=Qe.prefixCls,ln=Qe.generateConfig,rn=Qe.viewDate,An=Qe.onPrevDecades,fr=Qe.onNextDecades,Pr=n.useContext(oe),kr=Pr.hideHeader;if(kr)return null;var Ar="".concat(Jt,"-header"),vi=ln.getYear(rn),Wi=Math.floor(vi/qe)*qe,di=Wi+qe-1;return n.createElement(ne,Object(i.a)({},Qe,{prefixCls:Ar,onSuperPrev:An,onSuperNext:fr}),Wi,"-",di)}var be=se;function Z(Qe,Jt,ln,rn,An){var fr=Qe.setHour(Jt,ln);return fr=Qe.setMinute(fr,rn),fr=Qe.setSecond(fr,An),fr}function ee(Qe,Jt,ln){if(!ln)return Jt;var rn=Jt;return rn=Qe.setHour(rn,Qe.getHour(ln)),rn=Qe.setMinute(rn,Qe.getMinute(ln)),rn=Qe.setSecond(rn,Qe.getSecond(ln)),rn}function ce(Qe,Jt,ln,rn,An,fr){var Pr=Math.floor(Qe/rn)*rn;if(Pr<Qe)return[Pr,60-An,60-fr];var kr=Math.floor(Jt/An)*An;if(kr<Jt)return[Pr,kr,60-fr];var Ar=Math.floor(ln/fr)*fr;return[Pr,kr,Ar]}function R(Qe,Jt){var ln=Qe.getYear(Jt),rn=Qe.getMonth(Jt)+1,An=Qe.getEndDate(Qe.getFixedDate("".concat(ln,"-").concat(rn,"-01"))),fr=Qe.getDate(An),Pr=rn<10?"0".concat(rn):"".concat(rn);return"".concat(ln,"-").concat(Pr,"-").concat(fr)}function y(Qe){for(var Jt=Qe.prefixCls,ln=Qe.disabledDate,rn=Qe.onSelect,An=Qe.picker,fr=Qe.rowNum,Pr=Qe.colNum,kr=Qe.prefixColumn,Ar=Qe.rowClassName,vi=Qe.baseDate,Wi=Qe.getCellClassName,di=Qe.getCellText,ri=Qe.getCellNode,yi=Qe.getCellDate,Si=Qe.generateConfig,zi=Qe.titleCell,si=Qe.headerCells,ii=n.useContext(oe),Yi=ii.onDateMouseEnter,La=ii.onDateMouseLeave,Wa=ii.mode,Ri="".concat(Jt,"-cell"),Oa=[],Ha=0;Ha<fr;Ha+=1){for(var Za=[],co=void 0,Do=function(){var Ra,Fa=Ha*Pr+ra,Ca=yi(vi,Fa),no=Nt({cellDate:Ca,mode:Wa,disabledDate:ln,generateConfig:Si});ra===0&&(co=Ca,kr&&Za.push(kr(co)));var No=zi&&zi(Ca);Za.push(n.createElement("td",{key:ra,title:No,className:b()(Ri,Object(k.a)((Ra={},Object(l.a)(Ra,"".concat(Ri,"-disabled"),no),Object(l.a)(Ra,"".concat(Ri,"-start"),di(Ca)===1||An==="year"&&Number(No)%10==0),Object(l.a)(Ra,"".concat(Ri,"-end"),No===R(Si,Ca)||An==="year"&&Number(No)%10==9),Ra),Wi(Ca))),onClick:function(){no||rn(Ca)},onMouseEnter:function(){!no&&Yi&&Yi(Ca)},onMouseLeave:function(){!no&&La&&La(Ca)}},ri?ri(Ca):n.createElement("div",{className:"".concat(Ri,"-inner")},di(Ca))))},ra=0;ra<Pr;ra+=1)Do();Oa.push(n.createElement("tr",{key:Ha,className:Ar&&Ar(co)},Za))}return n.createElement("div",{className:"".concat(Jt,"-body")},n.createElement("table",{className:"".concat(Jt,"-content")},si&&n.createElement("thead",null,n.createElement("tr",null,si)),n.createElement("tbody",null,Oa)))}var C=3,z=4;function G(Qe){var Jt=Bt-1,ln=Qe.prefixCls,rn=Qe.viewDate,An=Qe.generateConfig,fr="".concat(ln,"-cell"),Pr=An.getYear(rn),kr=Math.floor(Pr/Bt)*Bt,Ar=Math.floor(Pr/qe)*qe,vi=Ar+qe-1,Wi=An.setYear(rn,Ar-Math.ceil((C*z*Bt-qe)/2)),di=function(yi){var Si,zi=An.getYear(yi),si=zi+Jt;return Si={},Object(l.a)(Si,"".concat(fr,"-in-view"),Ar<=zi&&si<=vi),Object(l.a)(Si,"".concat(fr,"-selected"),zi===kr),Si};return n.createElement(y,Object(i.a)({},Qe,{rowNum:z,colNum:C,baseDate:Wi,getCellText:function(yi){var Si=An.getYear(yi);return"".concat(Si,"-").concat(Si+Jt)},getCellClassName:di,getCellDate:function(yi,Si){return An.addYear(yi,Si*Bt)}}))}var X=G,pe=e("KQm4"),ae=e("wgJM"),Se=e("x/xZ"),Te=new Map;function je(Qe,Jt){var ln;function rn(){Object(Se.a)(Qe)?Jt():ln=Object(ae.a)(function(){rn()})}return rn(),function(){ae.a.cancel(ln)}}function ft(Qe,Jt,ln){if(Te.get(Qe)&&cancelAnimationFrame(Te.get(Qe)),ln<=0){Te.set(Qe,requestAnimationFrame(function(){Qe.scrollTop=Jt}));return}var rn=Jt-Qe.scrollTop,An=rn/ln*10;Te.set(Qe,requestAnimationFrame(function(){Qe.scrollTop+=An,Qe.scrollTop!==Jt&&ft(Qe,Jt,ln-10)}))}function fe(Qe,Jt){var ln=Jt.onLeftRight,rn=Jt.onCtrlLeftRight,An=Jt.onUpDown,fr=Jt.onPageUpDown,Pr=Jt.onEnter,kr=Qe.which,Ar=Qe.ctrlKey,vi=Qe.metaKey;switch(kr){case ye.a.LEFT:if(Ar||vi){if(rn)return rn(-1),!0}else if(ln)return ln(-1),!0;break;case ye.a.RIGHT:if(Ar||vi){if(rn)return rn(1),!0}else if(ln)return ln(1),!0;break;case ye.a.UP:if(An)return An(-1),!0;break;case ye.a.DOWN:if(An)return An(1),!0;break;case ye.a.PAGE_UP:if(fr)return fr(-1),!0;break;case ye.a.PAGE_DOWN:if(fr)return fr(1),!0;break;case ye.a.ENTER:if(Pr)return Pr(),!0;break}return!1}function ie(Qe,Jt,ln,rn){var An=Qe;if(!An)switch(Jt){case"time":An=rn?"hh:mm:ss a":"HH:mm:ss";break;case"week":An="gggg-wo";break;case"month":An="YYYY-MM";break;case"quarter":An="YYYY-[Q]Q";break;case"year":An="YYYY";break;default:An=ln?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return An}function ge(Qe,Jt,ln){var rn=Qe==="time"?8:10,An=typeof Jt=="function"?Jt(ln.getNow()).length:Jt.length;return Math.max(rn,An)+2}var Ve=null,Ee=new Set;function Me(Qe){return!Ve&&typeof window!="undefined"&&window.addEventListener&&(Ve=function(ln){Object(pe.a)(Ee).forEach(function(rn){rn(ln)})},window.addEventListener("mousedown",Ve)),Ee.add(Qe),function(){Ee.delete(Qe),Ee.size===0&&(window.removeEventListener("mousedown",Ve),Ve=null)}}function _e(Qe){var Jt=Qe.target;if(Qe.composed&&Jt.shadowRoot){var ln;return((ln=Qe.composedPath)===null||ln===void 0?void 0:ln.call(Qe)[0])||Jt}return Jt}var Re=function(Jt){return Jt==="month"||Jt==="date"?"year":Jt},et=function(Jt){return Jt==="date"?"month":Jt},Xe=function(Jt){return Jt==="month"||Jt==="date"?"quarter":Jt},it=function(Jt){return Jt==="date"?"week":Jt},bt={year:Re,month:et,quarter:Xe,week:it,time:null,date:null};function Ct(Qe,Jt){return Qe.some(function(ln){return ln&&ln.contains(Jt)})}var Bt=10,qe=Bt*10;function st(Qe){var Jt=Qe.prefixCls,ln=Qe.onViewDateChange,rn=Qe.generateConfig,An=Qe.viewDate,fr=Qe.operationRef,Pr=Qe.onSelect,kr=Qe.onPanelChange,Ar="".concat(Jt,"-decade-panel");fr.current={onKeyDown:function(ri){return fe(ri,{onLeftRight:function(Si){Pr(rn.addYear(An,Si*Bt),"key")},onCtrlLeftRight:function(Si){Pr(rn.addYear(An,Si*qe),"key")},onUpDown:function(Si){Pr(rn.addYear(An,Si*Bt*C),"key")},onEnter:function(){kr("year",An)}})}};var vi=function(ri){var yi=rn.addYear(An,ri*qe);ln(yi),kr(null,yi)},Wi=function(ri){Pr(ri,"mouse"),kr("year",ri)};return n.createElement("div",{className:Ar},n.createElement(be,Object(i.a)({},Qe,{prefixCls:Jt,onPrevDecades:function(){vi(-1)},onNextDecades:function(){vi(1)}})),n.createElement(X,Object(i.a)({},Qe,{prefixCls:Jt,onSelect:Wi})))}var ut=st,nt=7;function kt(Qe,Jt){if(!Qe&&!Jt)return!0;if(!Qe||!Jt)return!1}function Sn(Qe,Jt,ln){var rn=kt(Jt,ln);if(typeof rn=="boolean")return rn;var An=Math.floor(Qe.getYear(Jt)/10),fr=Math.floor(Qe.getYear(ln)/10);return An===fr}function Tt(Qe,Jt,ln){var rn=kt(Jt,ln);return typeof rn=="boolean"?rn:Qe.getYear(Jt)===Qe.getYear(ln)}function ht(Qe,Jt){var ln=Math.floor(Qe.getMonth(Jt)/3);return ln+1}function Rt(Qe,Jt,ln){var rn=kt(Jt,ln);return typeof rn=="boolean"?rn:Tt(Qe,Jt,ln)&&ht(Qe,Jt)===ht(Qe,ln)}function Ft(Qe,Jt,ln){var rn=kt(Jt,ln);return typeof rn=="boolean"?rn:Tt(Qe,Jt,ln)&&Qe.getMonth(Jt)===Qe.getMonth(ln)}function nn(Qe,Jt,ln){var rn=kt(Jt,ln);return typeof rn=="boolean"?rn:Qe.getYear(Jt)===Qe.getYear(ln)&&Qe.getMonth(Jt)===Qe.getMonth(ln)&&Qe.getDate(Jt)===Qe.getDate(ln)}function bn(Qe,Jt,ln){var rn=kt(Jt,ln);return typeof rn=="boolean"?rn:Qe.getHour(Jt)===Qe.getHour(ln)&&Qe.getMinute(Jt)===Qe.getMinute(ln)&&Qe.getSecond(Jt)===Qe.getSecond(ln)}function sn(Qe,Jt,ln,rn){var An=kt(ln,rn);return typeof An=="boolean"?An:Qe.locale.getWeek(Jt,ln)===Qe.locale.getWeek(Jt,rn)}function un(Qe,Jt,ln){return nn(Qe,Jt,ln)&&bn(Qe,Jt,ln)}function Ht(Qe,Jt,ln,rn){return!Jt||!ln||!rn?!1:!nn(Qe,Jt,rn)&&!nn(Qe,ln,rn)&&Qe.isAfter(rn,Jt)&&Qe.isAfter(ln,rn)}function jn(Qe,Jt,ln){var rn=Jt.locale.getWeekFirstDay(Qe),An=Jt.setDate(ln,1),fr=Jt.getWeekDay(An),Pr=Jt.addDate(An,rn-fr);return Jt.getMonth(Pr)===Jt.getMonth(ln)&&Jt.getDate(Pr)>1&&(Pr=Jt.addDate(Pr,-7)),Pr}function Ln(Qe,Jt,ln){var rn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Jt){case"year":return ln.addYear(Qe,rn*10);case"quarter":case"month":return ln.addYear(Qe,rn);default:return ln.addMonth(Qe,rn)}}function Un(Qe,Jt){var ln=Jt.generateConfig,rn=Jt.locale,An=Jt.format;return typeof An=="function"?An(Qe):ln.locale.format(rn.locale,Qe,An)}function lt(Qe,Jt){var ln=Jt.generateConfig,rn=Jt.locale,An=Jt.formatList;return!Qe||typeof An[0]=="function"?null:ln.locale.parse(rn.locale,Qe,An)}function Nt(Qe){var Jt=Qe.cellDate,ln=Qe.mode,rn=Qe.disabledDate,An=Qe.generateConfig;if(!rn)return!1;var fr=function(Si,zi,si){for(var ii=zi;ii<=si;){var Yi=void 0;switch(Si){case"date":{if(Yi=An.setDate(Jt,ii),!rn(Yi))return!1;break}case"month":{if(Yi=An.setMonth(Jt,ii),!Nt({cellDate:Yi,mode:"month",generateConfig:An,disabledDate:rn}))return!1;break}case"year":{if(Yi=An.setYear(Jt,ii),!Nt({cellDate:Yi,mode:"year",generateConfig:An,disabledDate:rn}))return!1;break}}ii+=1}return!0};switch(ln){case"date":case"week":return rn(Jt);case"month":{var Pr=1,kr=An.getDate(An.getEndDate(Jt));return fr("date",Pr,kr)}case"quarter":{var Ar=Math.floor(An.getMonth(Jt)/3)*3,vi=Ar+2;return fr("month",Ar,vi)}case"year":return fr("month",0,11);case"decade":{var Wi=An.getYear(Jt),di=Math.floor(Wi/Bt)*Bt,ri=di+Bt-1;return fr("year",di,ri)}}}function zt(Qe){var Jt=n.useContext(oe),ln=Jt.hideHeader;if(ln)return null;var rn=Qe.prefixCls,An=Qe.generateConfig,fr=Qe.locale,Pr=Qe.value,kr=Qe.format,Ar="".concat(rn,"-header");return n.createElement(ne,{prefixCls:Ar},Pr?Un(Pr,{locale:fr,format:kr,generateConfig:An}):"\xA0")}var en=zt,tn=e("YrtM");function wn(Qe){var Jt=Qe.prefixCls,ln=Qe.units,rn=Qe.onSelect,An=Qe.value,fr=Qe.active,Pr=Qe.hideDisabledOptions,kr="".concat(Jt,"-cell"),Ar=n.useContext(oe),vi=Ar.open,Wi=Object(n.useRef)(null),di=Object(n.useRef)(new Map),ri=Object(n.useRef)();return Object(n.useLayoutEffect)(function(){var yi=di.current.get(An);yi&&vi!==!1&&ft(Wi.current,yi.offsetTop,120)},[An]),Object(n.useLayoutEffect)(function(){if(vi){var yi=di.current.get(An);yi&&(ri.current=je(yi,function(){ft(Wi.current,yi.offsetTop,0)}))}return function(){var Si;(Si=ri.current)===null||Si===void 0||Si.call(ri)}},[vi]),n.createElement("ul",{className:b()("".concat(Jt,"-column"),Object(l.a)({},"".concat(Jt,"-column-active"),fr)),ref:Wi,style:{position:"relative"}},ln.map(function(yi){var Si;return Pr&&yi.disabled?null:n.createElement("li",{key:yi.value,ref:function(si){di.current.set(yi.value,si)},className:b()(kr,(Si={},Object(l.a)(Si,"".concat(kr,"-disabled"),yi.disabled),Object(l.a)(Si,"".concat(kr,"-selected"),An===yi.value),Si)),onClick:function(){yi.disabled||rn(yi.value)}},n.createElement("div",{className:"".concat(kr,"-inner")},yi.label))}))}var on=wn;function vn(Qe,Jt){for(var ln=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",rn=String(Qe);rn.length<Jt;)rn="".concat(ln).concat(Qe);return rn}var dt=function(){for(var Jt=arguments.length,ln=new Array(Jt),rn=0;rn<Jt;rn++)ln[rn]=arguments[rn];return ln};function ct(Qe){return Qe==null?[]:Array.isArray(Qe)?Qe:[Qe]}function Kt(Qe){var Jt={};return Object.keys(Qe).forEach(function(ln){(ln.substr(0,5)==="data-"||ln.substr(0,5)==="aria-"||ln==="role"||ln==="name")&&ln.substr(0,7)!=="data-__"&&(Jt[ln]=Qe[ln])}),Jt}function pn(Qe,Jt){return Qe?Qe[Jt]:null}function kn(Qe,Jt,ln){var rn=[pn(Qe,0),pn(Qe,1)];return rn[ln]=typeof Jt=="function"?Jt(rn[ln]):Jt,!rn[0]&&!rn[1]?null:rn}function Pt(Qe,Jt){if(Qe.length!==Jt.length)return!0;for(var ln=0;ln<Qe.length;ln+=1)if(Qe[ln].disabled!==Jt[ln].disabled)return!0;return!1}function gn(Qe,Jt,ln,rn){for(var An=[],fr=ln>=1?ln|0:1,Pr=Qe;Pr<=Jt;Pr+=fr)An.push({label:vn(Pr,2),value:Pr,disabled:(rn||[]).includes(Pr)});return An}function _n(Qe){var Jt=Qe.generateConfig,ln=Qe.prefixCls,rn=Qe.operationRef,An=Qe.activeColumnIndex,fr=Qe.value,Pr=Qe.showHour,kr=Qe.showMinute,Ar=Qe.showSecond,vi=Qe.use12Hours,Wi=Qe.hourStep,di=Wi===void 0?1:Wi,ri=Qe.minuteStep,yi=ri===void 0?1:ri,Si=Qe.secondStep,zi=Si===void 0?1:Si,si=Qe.disabledHours,ii=Qe.disabledMinutes,Yi=Qe.disabledSeconds,La=Qe.disabledTime,Wa=Qe.hideDisabledOptions,Ri=Qe.onSelect,Oa=[],Ha="".concat(ln,"-content"),Za="".concat(ln,"-time-panel"),co,Do=fr?Jt.getHour(fr):-1,ra=Do,ya=fr?Jt.getMinute(fr):-1,Ra=fr?Jt.getSecond(fr):-1,Fa=Jt.getNow(),Ca=n.useMemo(function(){if(La){var ro=La(Fa);return[ro.disabledHours,ro.disabledMinutes,ro.disabledSeconds]}return[si,ii,Yi]},[si,ii,Yi,La,Fa]),no=Object(W.a)(Ca,3),No=no[0],es=no[1],ds=no[2],Yr=function(mo,oo,Oo,Yo){var ts=fr||Jt.getNow(),Os=Math.max(0,oo),Rs=Math.max(0,Oo),Mo=Math.max(0,Yo);return ts=Z(Jt,ts,!vi||!mo?Os:Os+12,Rs,Mo),ts},jr=gn(0,23,di,No&&No()),Ei=Object(tn.a)(function(){return jr},jr,Pt);vi&&(co=ra>=12,ra%=12);var gi=n.useMemo(function(){if(!vi)return[!1,!1];var ro=[!0,!0];return Ei.forEach(function(mo){var oo=mo.disabled,Oo=mo.value;oo||(Oo>=12?ro[1]=!1:ro[0]=!1)}),ro},[vi,Ei]),or=Object(W.a)(gi,2),Ir=or[0],Ur=or[1],Li=n.useMemo(function(){return vi?Ei.filter(co?function(ro){return ro.value>=12}:function(ro){return ro.value<12}).map(function(ro){var mo=ro.value%12,oo=mo===0?"12":vn(mo,2);return Object(k.a)(Object(k.a)({},ro),{},{label:oo,value:mo})}):Ei},[vi,co,Ei]),oa=gn(0,59,yi,es&&es(Do)),Ua=gn(0,59,zi,ds&&ds(Do,ya));rn.current={onUpDown:function(mo){var oo=Oa[An];if(oo)for(var Oo=oo.units.findIndex(function(Rs){return Rs.value===oo.value}),Yo=oo.units.length,ts=1;ts<Yo;ts+=1){var Os=oo.units[(Oo+mo*ts+Yo)%Yo];if(Os.disabled!==!0){oo.onSelect(Os.value);break}}}};function $a(ro,mo,oo,Oo,Yo){ro!==!1&&Oa.push({node:n.cloneElement(mo,{prefixCls:Za,value:oo,active:An===Oa.length,onSelect:Yo,units:Oo,hideDisabledOptions:Wa}),onSelect:Yo,value:oo,units:Oo})}$a(Pr,n.createElement(on,{key:"hour"}),ra,Li,function(ro){Ri(Yr(co,ro,ya,Ra),"mouse")}),$a(kr,n.createElement(on,{key:"minute"}),ya,oa,function(ro){Ri(Yr(co,ra,ro,Ra),"mouse")}),$a(Ar,n.createElement(on,{key:"second"}),Ra,Ua,function(ro){Ri(Yr(co,ra,ya,ro),"mouse")});var Ba=-1;return typeof co=="boolean"&&(Ba=co?1:0),$a(vi===!0,n.createElement(on,{key:"12hours"}),Ba,[{label:"AM",value:0,disabled:Ir},{label:"PM",value:1,disabled:Ur}],function(ro){Ri(Yr(!!ro,ra,ya,Ra),"mouse")}),n.createElement("div",{className:Ha},Oa.map(function(ro){var mo=ro.node;return mo}))}var Kn=_n,qn=function(Jt){return Jt.filter(function(ln){return ln!==!1}).length};function rr(Qe){var Jt=Qe.generateConfig,ln=Qe.format,rn=ln===void 0?"HH:mm:ss":ln,An=Qe.prefixCls,fr=Qe.active,Pr=Qe.operationRef,kr=Qe.showHour,Ar=Qe.showMinute,vi=Qe.showSecond,Wi=Qe.use12Hours,di=Wi===void 0?!1:Wi,ri=Qe.onSelect,yi=Qe.value,Si="".concat(An,"-time-panel"),zi=n.useRef(),si=n.useState(-1),ii=Object(W.a)(si,2),Yi=ii[0],La=ii[1],Wa=qn([kr,Ar,vi,di]);return Pr.current={onKeyDown:function(Oa){return fe(Oa,{onLeftRight:function(Za){La((Yi+Za+Wa)%Wa)},onUpDown:function(Za){Yi===-1?La(0):zi.current&&zi.current.onUpDown(Za)},onEnter:function(){ri(yi||Jt.getNow(),"key"),La(-1)}})},onBlur:function(){La(-1)}},n.createElement("div",{className:b()(Si,Object(l.a)({},"".concat(Si,"-active"),fr))},n.createElement(en,Object(i.a)({},Qe,{format:rn,prefixCls:An})),n.createElement(Kn,Object(i.a)({},Qe,{prefixCls:An,activeColumnIndex:Yi,operationRef:zi})))}var Rn=rr,mr=n.createContext({}),ar=mr;function sr(Qe){var Jt=Qe.cellPrefixCls,ln=Qe.generateConfig,rn=Qe.rangedValue,An=Qe.hoverRangedValue,fr=Qe.isInView,Pr=Qe.isSameCell,kr=Qe.offsetCell,Ar=Qe.today,vi=Qe.value;function Wi(di){var ri,yi=kr(di,-1),Si=kr(di,1),zi=pn(rn,0),si=pn(rn,1),ii=pn(An,0),Yi=pn(An,1),La=Ht(ln,ii,Yi,di);function Wa(Do){return Pr(zi,Do)}function Ri(Do){return Pr(si,Do)}var Oa=Pr(ii,di),Ha=Pr(Yi,di),Za=(La||Ha)&&(!fr(yi)||Ri(yi)),co=(La||Oa)&&(!fr(Si)||Wa(Si));return ri={},Object(l.a)(ri,"".concat(Jt,"-in-view"),fr(di)),Object(l.a)(ri,"".concat(Jt,"-in-range"),Ht(ln,zi,si,di)),Object(l.a)(ri,"".concat(Jt,"-range-start"),Wa(di)),Object(l.a)(ri,"".concat(Jt,"-range-end"),Ri(di)),Object(l.a)(ri,"".concat(Jt,"-range-start-single"),Wa(di)&&!si),Object(l.a)(ri,"".concat(Jt,"-range-end-single"),Ri(di)&&!zi),Object(l.a)(ri,"".concat(Jt,"-range-start-near-hover"),Wa(di)&&(Pr(yi,ii)||Ht(ln,ii,Yi,yi))),Object(l.a)(ri,"".concat(Jt,"-range-end-near-hover"),Ri(di)&&(Pr(Si,Yi)||Ht(ln,ii,Yi,Si))),Object(l.a)(ri,"".concat(Jt,"-range-hover"),La),Object(l.a)(ri,"".concat(Jt,"-range-hover-start"),Oa),Object(l.a)(ri,"".concat(Jt,"-range-hover-end"),Ha),Object(l.a)(ri,"".concat(Jt,"-range-hover-edge-start"),Za),Object(l.a)(ri,"".concat(Jt,"-range-hover-edge-end"),co),Object(l.a)(ri,"".concat(Jt,"-range-hover-edge-start-near-range"),Za&&Pr(yi,si)),Object(l.a)(ri,"".concat(Jt,"-range-hover-edge-end-near-range"),co&&Pr(Si,zi)),Object(l.a)(ri,"".concat(Jt,"-today"),Pr(Ar,di)),Object(l.a)(ri,"".concat(Jt,"-selected"),Pr(vi,di)),ri}return Wi}function yr(Qe){var Jt=Qe.prefixCls,ln=Qe.generateConfig,rn=Qe.prefixColumn,An=Qe.locale,fr=Qe.rowCount,Pr=Qe.viewDate,kr=Qe.value,Ar=Qe.dateRender,vi=n.useContext(ar),Wi=vi.rangedValue,di=vi.hoverRangedValue,ri=jn(An.locale,ln,Pr),yi="".concat(Jt,"-cell"),Si=ln.locale.getWeekFirstDay(An.locale),zi=ln.getNow(),si=[],ii=An.shortWeekDays||(ln.locale.getShortWeekDays?ln.locale.getShortWeekDays(An.locale):[]);rn&&si.push(n.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Yi=0;Yi<nt;Yi+=1)si.push(n.createElement("th",{key:Yi},ii[(Yi+Si)%nt]));var La=sr({cellPrefixCls:yi,today:zi,value:kr,generateConfig:ln,rangedValue:rn?null:Wi,hoverRangedValue:rn?null:di,isSameCell:function(Oa,Ha){return nn(ln,Oa,Ha)},isInView:function(Oa){return Ft(ln,Oa,Pr)},offsetCell:function(Oa,Ha){return ln.addDate(Oa,Ha)}}),Wa=Ar?function(Ri){return Ar(Ri,zi)}:void 0;return n.createElement(y,Object(i.a)({},Qe,{rowNum:fr,colNum:nt,baseDate:ri,getCellNode:Wa,getCellText:ln.getDate,getCellClassName:La,getCellDate:ln.addDate,titleCell:function(Oa){return Un(Oa,{locale:An,format:"YYYY-MM-DD",generateConfig:ln})},headerCells:si}))}var br=yr;function _r(Qe){var Jt=Qe.prefixCls,ln=Qe.generateConfig,rn=Qe.locale,An=Qe.viewDate,fr=Qe.onNextMonth,Pr=Qe.onPrevMonth,kr=Qe.onNextYear,Ar=Qe.onPrevYear,vi=Qe.onYearClick,Wi=Qe.onMonthClick,di=n.useContext(oe),ri=di.hideHeader;if(ri)return null;var yi="".concat(Jt,"-header"),Si=rn.shortMonths||(ln.locale.getShortMonths?ln.locale.getShortMonths(rn.locale):[]),zi=ln.getMonth(An),si=n.createElement("button",{type:"button",key:"year",onClick:vi,tabIndex:-1,className:"".concat(Jt,"-year-btn")},Un(An,{locale:rn,format:rn.yearFormat,generateConfig:ln})),ii=n.createElement("button",{type:"button",key:"month",onClick:Wi,tabIndex:-1,className:"".concat(Jt,"-month-btn")},rn.monthFormat?Un(An,{locale:rn,format:rn.monthFormat,generateConfig:ln}):Si[zi]),Yi=rn.monthBeforeYear?[ii,si]:[si,ii];return n.createElement(ne,Object(i.a)({},Qe,{prefixCls:yi,onSuperPrev:Ar,onPrev:Pr,onNext:fr,onSuperNext:kr}),Yi)}var li=_r,xi=6;function Mi(Qe){var Jt=Qe.prefixCls,ln=Qe.panelName,rn=ln===void 0?"date":ln,An=Qe.keyboardConfig,fr=Qe.active,Pr=Qe.operationRef,kr=Qe.generateConfig,Ar=Qe.value,vi=Qe.viewDate,Wi=Qe.onViewDateChange,di=Qe.onPanelChange,ri=Qe.onSelect,yi="".concat(Jt,"-").concat(rn,"-panel");Pr.current={onKeyDown:function(ii){return fe(ii,Object(k.a)({onLeftRight:function(La){ri(kr.addDate(Ar||vi,La),"key")},onCtrlLeftRight:function(La){ri(kr.addYear(Ar||vi,La),"key")},onUpDown:function(La){ri(kr.addDate(Ar||vi,La*nt),"key")},onPageUpDown:function(La){ri(kr.addMonth(Ar||vi,La),"key")}},An))}};var Si=function(ii){var Yi=kr.addYear(vi,ii);Wi(Yi),di(null,Yi)},zi=function(ii){var Yi=kr.addMonth(vi,ii);Wi(Yi),di(null,Yi)};return n.createElement("div",{className:b()(yi,Object(l.a)({},"".concat(yi,"-active"),fr))},n.createElement(li,Object(i.a)({},Qe,{prefixCls:Jt,value:Ar,viewDate:vi,onPrevYear:function(){Si(-1)},onNextYear:function(){Si(1)},onPrevMonth:function(){zi(-1)},onNextMonth:function(){zi(1)},onMonthClick:function(){di("month",vi)},onYearClick:function(){di("year",vi)}})),n.createElement(br,Object(i.a)({},Qe,{onSelect:function(ii){return ri(ii,"mouse")},prefixCls:Jt,value:Ar,viewDate:vi,rowCount:xi})))}var Fr=Mi,ur=dt("date","time");function Ti(Qe){var Jt=Qe.prefixCls,ln=Qe.operationRef,rn=Qe.generateConfig,An=Qe.value,fr=Qe.defaultValue,Pr=Qe.disabledTime,kr=Qe.showTime,Ar=Qe.onSelect,vi="".concat(Jt,"-datetime-panel"),Wi=n.useState(null),di=Object(W.a)(Wi,2),ri=di[0],yi=di[1],Si=n.useRef({}),zi=n.useRef({}),si=Object(re.a)(kr)==="object"?Object(k.a)({},kr):{};function ii(Ri){var Oa=ur.indexOf(ri)+Ri,Ha=ur[Oa]||null;return Ha}var Yi=function(Oa){zi.current.onBlur&&zi.current.onBlur(Oa),yi(null)};ln.current={onKeyDown:function(Oa){if(Oa.which===ye.a.TAB){var Ha=ii(Oa.shiftKey?-1:1);return yi(Ha),Ha&&Oa.preventDefault(),!0}if(ri){var Za=ri==="date"?Si:zi;return Za.current&&Za.current.onKeyDown&&Za.current.onKeyDown(Oa),!0}return[ye.a.LEFT,ye.a.RIGHT,ye.a.UP,ye.a.DOWN].includes(Oa.which)?(yi("date"),!0):!1},onBlur:Yi,onClose:Yi};var La=function(Oa,Ha){var Za=Oa;Ha==="date"&&!An&&si.defaultValue?(Za=rn.setHour(Za,rn.getHour(si.defaultValue)),Za=rn.setMinute(Za,rn.getMinute(si.defaultValue)),Za=rn.setSecond(Za,rn.getSecond(si.defaultValue))):Ha==="time"&&!An&&fr&&(Za=rn.setYear(Za,rn.getYear(fr)),Za=rn.setMonth(Za,rn.getMonth(fr)),Za=rn.setDate(Za,rn.getDate(fr))),Ar&&Ar(Za,"mouse")},Wa=Pr?Pr(An||null):{};return n.createElement("div",{className:b()(vi,Object(l.a)({},"".concat(vi,"-active"),ri))},n.createElement(Fr,Object(i.a)({},Qe,{operationRef:Si,active:ri==="date",onSelect:function(Oa){La(ee(rn,Oa,!An&&Object(re.a)(kr)==="object"?kr.defaultValue:null),"date")}})),n.createElement(Rn,Object(i.a)({},Qe,{format:void 0},si,Wa,{disabledTime:null,defaultValue:void 0,operationRef:zi,active:ri==="time",onSelect:function(Oa){La(Oa,"time")}})))}var Xi=Ti;function ca(Qe){var Jt=Qe.prefixCls,ln=Qe.generateConfig,rn=Qe.locale,An=Qe.value,fr="".concat(Jt,"-cell"),Pr=function(Wi){return n.createElement("td",{key:"week",className:b()(fr,"".concat(fr,"-week"))},ln.locale.getWeek(rn.locale,Wi))},kr="".concat(Jt,"-week-panel-row"),Ar=function(Wi){return b()(kr,Object(l.a)({},"".concat(kr,"-selected"),sn(ln,rn.locale,An,Wi)))};return n.createElement(Fr,Object(i.a)({},Qe,{panelName:"week",prefixColumn:Pr,rowClassName:Ar,keyboardConfig:{onLeftRight:null}}))}var Zi=ca;function xa(Qe){var Jt=Qe.prefixCls,ln=Qe.generateConfig,rn=Qe.locale,An=Qe.viewDate,fr=Qe.onNextYear,Pr=Qe.onPrevYear,kr=Qe.onYearClick,Ar=n.useContext(oe),vi=Ar.hideHeader;if(vi)return null;var Wi="".concat(Jt,"-header");return n.createElement(ne,Object(i.a)({},Qe,{prefixCls:Wi,onSuperPrev:Pr,onSuperNext:fr}),n.createElement("button",{type:"button",onClick:kr,className:"".concat(Jt,"-year-btn")},Un(An,{locale:rn,format:rn.yearFormat,generateConfig:ln})))}var va=xa,Ma=3,_a=4;function na(Qe){var Jt=Qe.prefixCls,ln=Qe.locale,rn=Qe.value,An=Qe.viewDate,fr=Qe.generateConfig,Pr=Qe.monthCellRender,kr=n.useContext(ar),Ar=kr.rangedValue,vi=kr.hoverRangedValue,Wi="".concat(Jt,"-cell"),di=sr({cellPrefixCls:Wi,value:rn,generateConfig:fr,rangedValue:Ar,hoverRangedValue:vi,isSameCell:function(si,ii){return Ft(fr,si,ii)},isInView:function(){return!0},offsetCell:function(si,ii){return fr.addMonth(si,ii)}}),ri=ln.shortMonths||(fr.locale.getShortMonths?fr.locale.getShortMonths(ln.locale):[]),yi=fr.setMonth(An,0),Si=Pr?function(zi){return Pr(zi,ln)}:void 0;return n.createElement(y,Object(i.a)({},Qe,{rowNum:_a,colNum:Ma,baseDate:yi,getCellNode:Si,getCellText:function(si){return ln.monthFormat?Un(si,{locale:ln,format:ln.monthFormat,generateConfig:fr}):ri[fr.getMonth(si)]},getCellClassName:di,getCellDate:fr.addMonth,titleCell:function(si){return Un(si,{locale:ln,format:"YYYY-MM",generateConfig:fr})}}))}var sa=na;function Ai(Qe){var Jt=Qe.prefixCls,ln=Qe.operationRef,rn=Qe.onViewDateChange,An=Qe.generateConfig,fr=Qe.value,Pr=Qe.viewDate,kr=Qe.onPanelChange,Ar=Qe.onSelect,vi="".concat(Jt,"-month-panel");ln.current={onKeyDown:function(ri){return fe(ri,{onLeftRight:function(Si){Ar(An.addMonth(fr||Pr,Si),"key")},onCtrlLeftRight:function(Si){Ar(An.addYear(fr||Pr,Si),"key")},onUpDown:function(Si){Ar(An.addMonth(fr||Pr,Si*Ma),"key")},onEnter:function(){kr("date",fr||Pr)}})}};var Wi=function(ri){var yi=An.addYear(Pr,ri);rn(yi),kr(null,yi)};return n.createElement("div",{className:vi},n.createElement(va,Object(i.a)({},Qe,{prefixCls:Jt,onPrevYear:function(){Wi(-1)},onNextYear:function(){Wi(1)},onYearClick:function(){kr("year",Pr)}})),n.createElement(sa,Object(i.a)({},Qe,{prefixCls:Jt,onSelect:function(ri){Ar(ri,"mouse"),kr("date",ri)}})))}var ba=Ai;function ea(Qe){var Jt=Qe.prefixCls,ln=Qe.generateConfig,rn=Qe.locale,An=Qe.viewDate,fr=Qe.onNextYear,Pr=Qe.onPrevYear,kr=Qe.onYearClick,Ar=n.useContext(oe),vi=Ar.hideHeader;if(vi)return null;var Wi="".concat(Jt,"-header");return n.createElement(ne,Object(i.a)({},Qe,{prefixCls:Wi,onSuperPrev:Pr,onSuperNext:fr}),n.createElement("button",{type:"button",onClick:kr,className:"".concat(Jt,"-year-btn")},Un(An,{locale:rn,format:rn.yearFormat,generateConfig:ln})))}var mn=ea,It=4,Ue=1;function Ze(Qe){var Jt=Qe.prefixCls,ln=Qe.locale,rn=Qe.value,An=Qe.viewDate,fr=Qe.generateConfig,Pr=n.useContext(ar),kr=Pr.rangedValue,Ar=Pr.hoverRangedValue,vi="".concat(Jt,"-cell"),Wi=sr({cellPrefixCls:vi,value:rn,generateConfig:fr,rangedValue:kr,hoverRangedValue:Ar,isSameCell:function(yi,Si){return Rt(fr,yi,Si)},isInView:function(){return!0},offsetCell:function(yi,Si){return fr.addMonth(yi,Si*3)}}),di=fr.setDate(fr.setMonth(An,0),1);return n.createElement(y,Object(i.a)({},Qe,{rowNum:Ue,colNum:It,baseDate:di,getCellText:function(yi){return Un(yi,{locale:ln,format:ln.quarterFormat||"[Q]Q",generateConfig:fr})},getCellClassName:Wi,getCellDate:function(yi,Si){return fr.addMonth(yi,Si*3)},titleCell:function(yi){return Un(yi,{locale:ln,format:"YYYY-[Q]Q",generateConfig:fr})}}))}var Pe=Ze;function mt(Qe){var Jt=Qe.prefixCls,ln=Qe.operationRef,rn=Qe.onViewDateChange,An=Qe.generateConfig,fr=Qe.value,Pr=Qe.viewDate,kr=Qe.onPanelChange,Ar=Qe.onSelect,vi="".concat(Jt,"-quarter-panel");ln.current={onKeyDown:function(ri){return fe(ri,{onLeftRight:function(Si){Ar(An.addMonth(fr||Pr,Si*3),"key")},onCtrlLeftRight:function(Si){Ar(An.addYear(fr||Pr,Si),"key")},onUpDown:function(Si){Ar(An.addYear(fr||Pr,Si),"key")}})}};var Wi=function(ri){var yi=An.addYear(Pr,ri);rn(yi),kr(null,yi)};return n.createElement("div",{className:vi},n.createElement(mn,Object(i.a)({},Qe,{prefixCls:Jt,onPrevYear:function(){Wi(-1)},onNextYear:function(){Wi(1)},onYearClick:function(){kr("year",Pr)}})),n.createElement(Pe,Object(i.a)({},Qe,{prefixCls:Jt,onSelect:function(ri){Ar(ri,"mouse")}})))}var xt=mt;function cn(Qe){var Jt=Qe.prefixCls,ln=Qe.generateConfig,rn=Qe.viewDate,An=Qe.onPrevDecade,fr=Qe.onNextDecade,Pr=Qe.onDecadeClick,kr=n.useContext(oe),Ar=kr.hideHeader;if(Ar)return null;var vi="".concat(Jt,"-header"),Wi=ln.getYear(rn),di=Math.floor(Wi/Tn)*Tn,ri=di+Tn-1;return n.createElement(ne,Object(i.a)({},Qe,{prefixCls:vi,onSuperPrev:An,onSuperNext:fr}),n.createElement("button",{type:"button",onClick:Pr,className:"".concat(Jt,"-decade-btn")},di,"-",ri))}var Ut=cn,wt=3,Pn=4;function an(Qe){var Jt=Qe.prefixCls,ln=Qe.value,rn=Qe.viewDate,An=Qe.locale,fr=Qe.generateConfig,Pr=n.useContext(ar),kr=Pr.rangedValue,Ar=Pr.hoverRangedValue,vi="".concat(Jt,"-cell"),Wi=fr.getYear(rn),di=Math.floor(Wi/Tn)*Tn,ri=di+Tn-1,yi=fr.setYear(rn,di-Math.ceil((wt*Pn-Tn)/2)),Si=function(ii){var Yi=fr.getYear(ii);return di<=Yi&&Yi<=ri},zi=sr({cellPrefixCls:vi,value:ln,generateConfig:fr,rangedValue:kr,hoverRangedValue:Ar,isSameCell:function(ii,Yi){return Tt(fr,ii,Yi)},isInView:Si,offsetCell:function(ii,Yi){return fr.addYear(ii,Yi)}});return n.createElement(y,Object(i.a)({},Qe,{rowNum:Pn,colNum:wt,baseDate:yi,getCellText:fr.getYear,getCellClassName:zi,getCellDate:fr.addYear,titleCell:function(ii){return Un(ii,{locale:An,format:"YYYY",generateConfig:fr})}}))}var Dn=an,Tn=10;function Zn(Qe){var Jt=Qe.prefixCls,ln=Qe.operationRef,rn=Qe.onViewDateChange,An=Qe.generateConfig,fr=Qe.value,Pr=Qe.viewDate,kr=Qe.sourceMode,Ar=Qe.onSelect,vi=Qe.onPanelChange,Wi="".concat(Jt,"-year-panel");ln.current={onKeyDown:function(yi){return fe(yi,{onLeftRight:function(zi){Ar(An.addYear(fr||Pr,zi),"key")},onCtrlLeftRight:function(zi){Ar(An.addYear(fr||Pr,zi*Tn),"key")},onUpDown:function(zi){Ar(An.addYear(fr||Pr,zi*wt),"key")},onEnter:function(){vi(kr==="date"?"date":"month",fr||Pr)}})}};var di=function(yi){var Si=An.addYear(Pr,yi*10);rn(Si),vi(null,Si)};return n.createElement("div",{className:Wi},n.createElement(Ut,Object(i.a)({},Qe,{prefixCls:Jt,onPrevDecade:function(){di(-1)},onNextDecade:function(){di(1)},onDecadeClick:function(){vi("decade",Pr)}})),n.createElement(Dn,Object(i.a)({},Qe,{prefixCls:Jt,onSelect:function(yi){vi(kr==="date"?"date":"month",yi),Ar(yi,"mouse")}})))}var Mr=Zn;function xr(Qe,Jt,ln){return ln?n.createElement("div",{className:"".concat(Qe,"-footer-extra")},ln(Jt)):null}function Vr(Qe){var Jt=Qe.prefixCls,ln=Qe.rangeList,rn=ln===void 0?[]:ln,An=Qe.components,fr=An===void 0?{}:An,Pr=Qe.needConfirmButton,kr=Qe.onNow,Ar=Qe.onOk,vi=Qe.okDisabled,Wi=Qe.showNow,di=Qe.locale,ri,yi;if(rn.length){var Si=fr.rangeItem||"span";ri=n.createElement(n.Fragment,null,rn.map(function(si){var ii=si.label,Yi=si.onClick,La=si.onMouseEnter,Wa=si.onMouseLeave;return n.createElement("li",{key:ii,className:"".concat(Jt,"-preset")},n.createElement(Si,{onClick:Yi,onMouseEnter:La,onMouseLeave:Wa},ii))}))}if(Pr){var zi=fr.button||"button";kr&&!ri&&Wi!==!1&&(ri=n.createElement("li",{className:"".concat(Jt,"-now")},n.createElement("a",{className:"".concat(Jt,"-now-btn"),onClick:kr},di.now))),yi=Pr&&n.createElement("li",{className:"".concat(Jt,"-ok")},n.createElement(zi,{disabled:vi,onClick:Ar},di.ok))}return!ri&&!yi?null:n.createElement("ul",{className:"".concat(Jt,"-ranges")},ri,yi)}var Dr=["date","month"];function dr(Qe){var Jt,ln=Qe.prefixCls,rn=ln===void 0?"rc-picker":ln,An=Qe.className,fr=Qe.style,Pr=Qe.locale,kr=Qe.generateConfig,Ar=Qe.value,vi=Qe.defaultValue,Wi=Qe.pickerValue,di=Qe.defaultPickerValue,ri=Qe.disabledDate,yi=Qe.mode,Si=Qe.picker,zi=Si===void 0?"date":Si,si=Qe.tabIndex,ii=si===void 0?0:si,Yi=Qe.showNow,La=Qe.showTime,Wa=Qe.showToday,Ri=Qe.renderExtraFooter,Oa=Qe.hideHeader,Ha=Qe.onSelect,Za=Qe.onChange,co=Qe.onPanelChange,Do=Qe.onMouseDown,ra=Qe.onPickerValueChange,ya=Qe.onOk,Ra=Qe.components,Fa=Qe.direction,Ca=Qe.hourStep,no=Ca===void 0?1:Ca,No=Qe.minuteStep,es=No===void 0?1:No,ds=Qe.secondStep,Yr=ds===void 0?1:ds,jr=zi==="date"&&!!La||zi==="time",Ei=24%no==0,gi=60%es==0,or=60%Yr==0,Ir=n.useContext(oe),Ur=Ir.operationRef,Li=Ir.panelRef,oa=Ir.onSelect,Ua=Ir.hideRanges,$a=Ir.defaultOpenValue,Ba=n.useContext(ar),ro=Ba.inRange,mo=Ba.panelPosition,oo=Ba.rangedValue,Oo=Ba.hoverRangedValue,Yo=n.useRef({}),ts=n.useRef(!0),Os=Object(te.a)(null,{value:Ar,defaultValue:vi,postState:function(pa){return!pa&&$a&&zi==="time"?$a:pa}}),Rs=Object(W.a)(Os,2),Mo=Rs[0],Bs=Rs[1],ll=Object(te.a)(null,{value:Wi,defaultValue:di||Mo,postState:function(pa){var fo=kr.getNow();if(!pa)return fo;if(!Mo&&La){var Ao=Object(re.a)(La)==="object"?La.defaultValue:vi;return ee(kr,Array.isArray(pa)?pa[0]:pa,Ao||fo)}return Array.isArray(pa)?pa[0]:pa}}),ks=Object(W.a)(ll,2),xl=ks[0],Pl=ks[1],Wo=function(pa){Pl(pa),ra&&ra(pa)},yl=function(pa){var fo=bt[zi];return fo?fo(pa):pa},Ps=Object(te.a)(function(){return zi==="time"?"time":yl("date")},{value:yi}),B=Object(W.a)(Ps,2),Oe=B[0],St=B[1];n.useEffect(function(){St(zi)},[zi]);var Qt=n.useState(function(){return Oe}),Cn=Object(W.a)(Qt,2),Nn=Cn[0],Bn=Cn[1],Xn=function(pa,fo){var Ao=yl(pa||Oe);Bn(Oe),St(Ao),co&&(Oe!==Ao||un(kr,xl,xl))&&co(fo,Ao)},Jn=function(pa,fo){var Ao=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Oe===zi||Ao)&&(Bs(pa),Ha&&Ha(pa),oa&&oa(pa,fo),Za&&!un(kr,pa,Mo)&&!(ri==null?void 0:ri(pa))&&Za(pa))},Cr=function(pa){if(Dr.includes(Oe)){var fo,Ao,ko=Oe==="date";switch(pa===ye.a.PAGE_UP||pa===ye.a.PAGE_DOWN?Ao=ko?kr.addMonth:kr.addYear:Ao=ko?kr.addDate:kr.addMonth,pa){case ye.a.LEFT:case ye.a.PAGE_UP:fo=Ao(xl,-1);break;case ye.a.RIGHT:case ye.a.PAGE_DOWN:fo=Ao(xl,1);break;case ye.a.UP:case ye.a.DOWN:fo=Ao(xl,Number("".concat(pa===ye.a.UP?"-":"").concat(ko?nt:Ma)));break}if(fo)return!(ri==null?void 0:ri(fo))}return!0},Kr=function(pa){if(Yo.current&&Yo.current.onKeyDown){var fo=!0,Ao=pa.which;if([ye.a.LEFT,ye.a.RIGHT,ye.a.UP,ye.a.DOWN,ye.a.PAGE_UP,ye.a.PAGE_DOWN,ye.a.ENTER].includes(Ao)&&(pa.preventDefault(),Ao!==ye.a.ENTER&&ii===0&&(fo=Cr(Ao))),fo)return Yo.current.onKeyDown(pa)}return Object(r.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},ti=function(pa){Yo.current&&Yo.current.onBlur&&Yo.current.onBlur(pa)};Ur&&mo!=="right"&&(Ur.current={onKeyDown:Kr,onClose:function(){Yo.current&&Yo.current.onClose&&Yo.current.onClose()}}),n.useEffect(function(){Ar&&!ts.current&&Pl(Ar)},[Ar]),n.useEffect(function(){ts.current=!1},[]);var Pi,pi=Object(k.a)(Object(k.a)({},Qe),{},{operationRef:Yo,prefixCls:rn,viewDate:xl,value:Mo,onViewDateChange:Wo,sourceMode:Nn,onPanelChange:Xn,disabledDate:ri});switch(delete pi.onChange,delete pi.onSelect,Oe){case"decade":Pi=n.createElement(ut,Object(i.a)({},pi,{onSelect:function(pa,fo){Wo(pa),Jn(pa,fo)}}));break;case"year":Pi=n.createElement(Mr,Object(i.a)({},pi,{onSelect:function(pa,fo){Wo(pa),Jn(pa,fo)}}));break;case"month":Pi=n.createElement(ba,Object(i.a)({},pi,{onSelect:function(pa,fo){Wo(pa),Jn(pa,fo)}}));break;case"quarter":Pi=n.createElement(xt,Object(i.a)({},pi,{onSelect:function(pa,fo){Wo(pa),Jn(pa,fo)}}));break;case"week":Pi=n.createElement(Zi,Object(i.a)({},pi,{onSelect:function(pa,fo){Wo(pa),Jn(pa,fo)}}));break;case"time":delete pi.showTime,Pi=n.createElement(Rn,Object(i.a)({},pi,Object(re.a)(La)==="object"?La:null,{onSelect:function(pa,fo){Wo(pa),Jn(pa,fo)}}));break;default:La?Pi=n.createElement(Xi,Object(i.a)({},pi,{onSelect:function(pa,fo){Wo(pa),Jn(pa,fo)}})):Pi=n.createElement(Fr,Object(i.a)({},pi,{onSelect:function(pa,fo){Wo(pa),Jn(pa,fo)}}))}var Fi,ha,$i=function(){var pa=kr.getNow(),fo=ce(kr.getHour(pa),kr.getMinute(pa),kr.getSecond(pa),Ei?no:1,gi?es:1,or?Yr:1),Ao=Z(kr,pa,fo[0],fo[1],fo[2]);Jn(Ao,"submit")};Ua||(Fi=xr(rn,Oe,Ri),ha=Vr({prefixCls:rn,components:Ra,needConfirmButton:jr,okDisabled:!Mo||ri&&ri(Mo),locale:Pr,showNow:Yi,onNow:jr&&$i,onOk:function(){Mo&&(Jn(Mo,"submit",!0),ya&&ya(Mo))}}));var wa;if(Wa&&Oe==="date"&&zi==="date"&&!La){var Lo=kr.getNow(),Co="".concat(rn,"-today-btn"),qa=ri&&ri(Lo);wa=n.createElement("a",{className:b()(Co,qa&&"".concat(Co,"-disabled")),"aria-disabled":qa,onClick:function(){qa||Jn(Lo,"mouse",!0)}},Pr.today)}return n.createElement(oe.Provider,{value:Object(k.a)(Object(k.a)({},Ir),{},{mode:Oe,hideHeader:"hideHeader"in Qe?Oa:Ir.hideHeader,hidePrevBtn:ro&&mo==="right",hideNextBtn:ro&&mo==="left"})},n.createElement("div",{tabIndex:ii,className:b()("".concat(rn,"-panel"),An,(Jt={},Object(l.a)(Jt,"".concat(rn,"-panel-has-range"),oo&&oo[0]&&oo[1]),Object(l.a)(Jt,"".concat(rn,"-panel-has-range-hover"),Oo&&Oo[0]&&Oo[1]),Object(l.a)(Jt,"".concat(rn,"-panel-rtl"),Fa==="rtl"),Jt)),style:fr,onKeyDown:Kr,onBlur:ti,onMouseDown:Do,ref:Li},Pi,Fi||ha||wa?n.createElement("div",{className:"".concat(rn,"-footer")},Fi,ha,wa):null))}var gt=dr,Rr=e("uciX"),ci={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function ai(Qe){var Jt,ln=Qe.prefixCls,rn=Qe.popupElement,An=Qe.popupStyle,fr=Qe.visible,Pr=Qe.dropdownClassName,kr=Qe.dropdownAlign,Ar=Qe.transitionName,vi=Qe.getPopupContainer,Wi=Qe.children,di=Qe.range,ri=Qe.popupPlacement,yi=Qe.direction,Si="".concat(ln,"-dropdown"),zi=function(){return ri!==void 0?ri:yi==="rtl"?"bottomRight":"bottomLeft"};return n.createElement(Rr.a,{showAction:[],hideAction:[],popupPlacement:zi(),builtinPlacements:ci,prefixCls:Si,popupTransitionName:Ar,popup:rn,popupAlign:kr,popupVisible:fr,popupClassName:b()(Pr,(Jt={},Object(l.a)(Jt,"".concat(Si,"-range"),di),Object(l.a)(Jt,"".concat(Si,"-rtl"),yi==="rtl"),Jt)),popupStyle:An,getPopupContainer:vi},Wi)}var bi=ai;function zr(Qe){var Jt=Qe.open,ln=Qe.value,rn=Qe.isClickOutside,An=Qe.triggerOpen,fr=Qe.forwardKeyDown,Pr=Qe.onKeyDown,kr=Qe.blurToCancel,Ar=Qe.onSubmit,vi=Qe.onCancel,Wi=Qe.onFocus,di=Qe.onBlur,ri=Qe.currentFocusedKey,yi=Qe.key,Si=yi===void 0?"start":yi,zi=Object(n.useState)(!1),si=Object(W.a)(zi,2),ii=si[0],Yi=si[1],La=Object(n.useState)(!1),Wa=Object(W.a)(La,2),Ri=Wa[0],Oa=Wa[1],Ha=Object(n.useRef)(),Za=Object(n.useRef)(!1),co=Object(n.useRef)(!1),Do=Object(n.useRef)(!1),ra={onMouseDown:function(){Yi(!0),An(!0)},onKeyDown:function(Ra){var Fa=function(){Do.current=!0};if(Pr(Ra,Fa),!Do.current){switch(Ra.which){case ye.a.ENTER:{Jt?Ar()!==!1&&Yi(!0):An(!0),Ra.preventDefault();return}case ye.a.TAB:{ii&&Jt&&!Ra.shiftKey?(Yi(!1),Ra.preventDefault()):!ii&&Jt&&!fr(Ra)&&Ra.shiftKey&&(Yi(!0),Ra.preventDefault());return}case ye.a.ESC:{Yi(!0),vi();return}}!Jt&&![ye.a.SHIFT].includes(Ra.which)?An(!0):ii||fr(Ra)}},onFocus:function(Ra){Yi(!0),Oa(!0),ri&&(ri.current=Si),clearTimeout(Ha.current),Wi&&Wi(Ra)},onBlur:function(Ra){if(Za.current||!rn(document.activeElement)){Za.current=!1;return}kr?setTimeout(function(){for(var Fa=document,Ca=Fa.activeElement;Ca&&Ca.shadowRoot;)Ca=Ca.shadowRoot.activeElement;rn(Ca)&&vi()},0):Jt&&(An(!1),co.current&&Ar()),Oa(!1),ri?(ri.current="",Ha.current=setTimeout(function(){ri.current||di==null||di(Ra)},100)):di==null||di(Ra)}};return Object(n.useEffect)(function(){co.current=!1},[Jt]),Object(n.useEffect)(function(){co.current=!0},[ln]),Object(n.useEffect)(function(){return Me(function(ya){var Ra=_e(ya),Fa=rn(Ra);Jt?Fa?(!Ri||Fa)&&An(!1):(Za.current=!0,requestAnimationFrame(function(){Za.current=!1})):Ri&&!Fa&&(Za.current=!0)})}),Object(n.useEffect)(function(){return function(){return clearTimeout(Ha.current)}},[]),[ra,{focused:Ri,typing:ii}]}function Hi(Qe){var Jt=Qe.valueTexts,ln=Qe.onTextChange,rn=n.useState(""),An=Object(W.a)(rn,2),fr=An[0],Pr=An[1],kr=n.useRef([]);kr.current=Jt;function Ar(Wi){Pr(Wi),ln(Wi)}function vi(){Pr(kr.current[0])}return n.useEffect(function(){Jt.every(function(Wi){return Wi!==fr})&&vi()},[Jt.join("||")]),[fr,Ar,vi]}var hi=e("Gytx"),Ci=e.n(hi);function Ii(Qe,Jt){var ln=Jt.formatList,rn=Jt.generateConfig,An=Jt.locale;return Object(tn.a)(function(){if(!Qe)return[[""],""];for(var fr="",Pr=[],kr=0;kr<ln.length;kr+=1){var Ar=ln[kr],vi=Un(Qe,{generateConfig:rn,locale:An,format:Ar});Pr.push(vi),kr===0&&(fr=vi)}return[Pr,fr]},[Qe,ln],function(fr,Pr){return fr[0]!==Pr[0]||!Ci()(fr[1],Pr[1])})}function Mn(Qe,Jt){var ln=Jt.formatList,rn=Jt.generateConfig,An=Jt.locale,fr=Object(n.useState)(null),Pr=Object(W.a)(fr,2),kr=Pr[0],Ar=Pr[1],vi=Object(n.useRef)(null);function Wi(si){var ii=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(vi.current),ii){Ar(si);return}vi.current=requestAnimationFrame(function(){Ar(si)})}var di=Ii(kr,{formatList:ln,generateConfig:rn,locale:An}),ri=Object(W.a)(di,2),yi=ri[1];function Si(si){Wi(si)}function zi(){var si=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Wi(null,si)}return Object(n.useEffect)(function(){zi(!0)},[Qe]),Object(n.useEffect)(function(){return function(){return cancelAnimationFrame(vi.current)}},[]),[yi,Si,zi]}function nr(Qe){var Jt=Qe.picker,ln=Qe.disabledHours,rn=Qe.disabledMinutes,An=Qe.disabledSeconds;Jt==="time"&&(ln||rn||An)&&Object(r.a)(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function cr(Qe){var Jt,ln=Qe.prefixCls,rn=ln===void 0?"rc-picker":ln,An=Qe.id,fr=Qe.tabIndex,Pr=Qe.style,kr=Qe.className,Ar=Qe.dropdownClassName,vi=Qe.dropdownAlign,Wi=Qe.popupStyle,di=Qe.transitionName,ri=Qe.generateConfig,yi=Qe.locale,Si=Qe.inputReadOnly,zi=Qe.allowClear,si=Qe.autoFocus,ii=Qe.showTime,Yi=Qe.picker,La=Yi===void 0?"date":Yi,Wa=Qe.format,Ri=Qe.use12Hours,Oa=Qe.value,Ha=Qe.defaultValue,Za=Qe.open,co=Qe.defaultOpen,Do=Qe.defaultOpenValue,ra=Qe.suffixIcon,ya=Qe.clearIcon,Ra=Qe.disabled,Fa=Qe.disabledDate,Ca=Qe.placeholder,no=Qe.getPopupContainer,No=Qe.pickerRef,es=Qe.panelRender,ds=Qe.onChange,Yr=Qe.onOpenChange,jr=Qe.onFocus,Ei=Qe.onBlur,gi=Qe.onMouseDown,or=Qe.onMouseUp,Ir=Qe.onMouseEnter,Ur=Qe.onMouseLeave,Li=Qe.onContextMenu,oa=Qe.onClick,Ua=Qe.onKeyDown,$a=Qe.onSelect,Ba=Qe.direction,ro=Qe.autoComplete,mo=ro===void 0?"off":ro,oo=Qe.inputRender,Oo=n.useRef(null),Yo=La==="date"&&!!ii||La==="time",ts=ct(ie(Wa,La,ii,Ri)),Os=n.useRef(null),Rs=n.useRef(null),Mo=n.useRef(null),Bs=Object(te.a)(null,{value:Oa,defaultValue:Ha}),ll=Object(W.a)(Bs,2),ks=ll[0],xl=ll[1],Pl=n.useState(ks),Wo=Object(W.a)(Pl,2),yl=Wo[0],Ps=Wo[1],B=n.useRef(null),Oe=Object(te.a)(!1,{value:Za,defaultValue:co,postState:function(Io){return Ra?!1:Io},onChange:function(Io){Yr&&Yr(Io),!Io&&B.current&&B.current.onClose&&B.current.onClose()}}),St=Object(W.a)(Oe,2),Qt=St[0],Cn=St[1],Nn=Ii(yl,{formatList:ts,generateConfig:ri,locale:yi}),Bn=Object(W.a)(Nn,2),Xn=Bn[0],Jn=Bn[1],Cr=Hi({valueTexts:Xn,onTextChange:function(Io){var po=lt(Io,{locale:yi,formatList:ts,generateConfig:ri});po&&(!Fa||!Fa(po))&&Ps(po)}}),Kr=Object(W.a)(Cr,3),ti=Kr[0],Pi=Kr[1],pi=Kr[2],Fi=function(Io){Ps(Io),xl(Io),ds&&!un(ri,ks,Io)&&ds(Io,Io?Un(Io,{generateConfig:ri,locale:yi,format:ts[0]}):"")},ha=function(Io){Ra&&Io||Cn(Io)},$i=function(Io){return Qt&&B.current&&B.current.onKeyDown?B.current.onKeyDown(Io):(Object(r.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},wa=function(){for(var Io=arguments.length,po=new Array(Io),fl=0;fl<Io;fl++)po[fl]=arguments[fl];oa==null||oa.apply(void 0,po),Oo.current&&(Oo.current.focus(),ha(!0))},Lo=zr({blurToCancel:Yo,open:Qt,value:ti,triggerOpen:ha,forwardKeyDown:$i,isClickOutside:function(Io){return!Ct([Os.current,Rs.current,Mo.current],Io)},onSubmit:function(){return!yl||Fa&&Fa(yl)?!1:(Fi(yl),ha(!1),pi(),!0)},onCancel:function(){ha(!1),Ps(ks),pi()},onKeyDown:function(Io,po){Ua==null||Ua(Io,po)},onFocus:jr,onBlur:Ei}),Co=Object(W.a)(Lo,2),qa=Co[0],Va=Co[1],pa=Va.focused,fo=Va.typing;n.useEffect(function(){Qt||(Ps(ks),!Xn.length||Xn[0]===""?Pi(""):Jn!==ti&&pi())},[Qt,Xn]),n.useEffect(function(){Qt||pi()},[La]),n.useEffect(function(){Ps(ks)},[ks]),No&&(No.current={focus:function(){Oo.current&&Oo.current.focus()},blur:function(){Oo.current&&Oo.current.blur()}});var Ao=Mn(ti,{formatList:ts,generateConfig:ri,locale:yi}),ko=Object(W.a)(Ao,3),Jo=ko[0],rs=ko[1],Cs=ko[2],ms=Object(k.a)(Object(k.a)({},Qe),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Po=n.createElement(gt,Object(i.a)({},ms,{generateConfig:ri,className:b()(Object(l.a)({},"".concat(rn,"-panel-focused"),!fo)),value:yl,locale:yi,tabIndex:-1,onSelect:function(Io){$a==null||$a(Io),Ps(Io)},direction:Ba,onPanelChange:function(Io,po){var fl=Qe.onPanelChange;Cs(!0),fl==null||fl(Io,po)}}));es&&(Po=es(Po));var rl=n.createElement("div",{className:"".concat(rn,"-panel-container"),onMouseDown:function(Io){Io.preventDefault()}},Po),Rl;ra&&(Rl=n.createElement("span",{className:"".concat(rn,"-suffix")},ra));var bl;zi&&ks&&!Ra&&(bl=n.createElement("span",{onMouseDown:function(Io){Io.preventDefault(),Io.stopPropagation()},onMouseUp:function(Io){Io.preventDefault(),Io.stopPropagation(),Fi(null),ha(!1)},className:"".concat(rn,"-clear"),role:"button"},ya||n.createElement("span",{className:"".concat(rn,"-clear-btn")})));var Tl=Object(k.a)(Object(k.a)(Object(k.a)({id:An,tabIndex:fr,disabled:Ra,readOnly:Si||typeof ts[0]=="function"||!fo,value:Jo||ti,onChange:function(Io){Pi(Io.target.value)},autoFocus:si,placeholder:Ca,ref:Oo,title:ti},qa),{},{size:ge(La,ts[0],ri)},Kt(Qe)),{},{autoComplete:mo}),ou=oo?oo(Tl):n.createElement("input",Tl),Vu=function(Io,po){(po==="submit"||po!=="key"&&!Yo)&&(Fi(Io),ha(!1))},Du=Ba==="rtl"?"bottomRight":"bottomLeft";return n.createElement(oe.Provider,{value:{operationRef:B,hideHeader:La==="time",panelRef:Os,onSelect:Vu,open:Qt,defaultOpenValue:Do,onDateMouseEnter:rs,onDateMouseLeave:Cs}},n.createElement(bi,{visible:Qt,popupElement:rl,popupStyle:Wi,prefixCls:rn,dropdownClassName:Ar,dropdownAlign:vi,getPopupContainer:no,transitionName:di,popupPlacement:Du,direction:Ba},n.createElement("div",{ref:Mo,className:b()(rn,kr,(Jt={},Object(l.a)(Jt,"".concat(rn,"-disabled"),Ra),Object(l.a)(Jt,"".concat(rn,"-focused"),pa),Object(l.a)(Jt,"".concat(rn,"-rtl"),Ba==="rtl"),Jt)),style:Pr,onMouseDown:gi,onMouseUp:or,onMouseEnter:Ir,onMouseLeave:Ur,onContextMenu:Li,onClick:wa},n.createElement("div",{className:b()("".concat(rn,"-input"),Object(l.a)({},"".concat(rn,"-input-placeholder"),!!Jo)),ref:Rs},ou,Rl,bl))))}var Lr=function(Qe){Object(E.a)(ln,Qe);var Jt=Object(D.a)(ln);function ln(){var rn;Object(d.a)(this,ln);for(var An=arguments.length,fr=new Array(An),Pr=0;Pr<An;Pr++)fr[Pr]=arguments[Pr];return rn=Jt.call.apply(Jt,[this].concat(fr)),rn.pickerRef=n.createRef(),rn.focus=function(){rn.pickerRef.current&&rn.pickerRef.current.focus()},rn.blur=function(){rn.pickerRef.current&&rn.pickerRef.current.blur()},rn}return Object(O.a)(ln,[{key:"render",value:function(){return n.createElement(cr,Object(i.a)({},this.props,{pickerRef:this.pickerRef}))}}]),ln}(n.Component),ei=Lr;function ki(Qe,Jt,ln){var rn=Qe.picker,An=Qe.locale,fr=Qe.selectedValue,Pr=Qe.disabledDate,kr=Qe.disabled,Ar=Qe.generateConfig,vi=pn(fr,0),Wi=pn(fr,1);function di(si){return Ar.locale.getWeekFirstDate(An.locale,si)}function ri(si){var ii=Ar.getYear(si),Yi=Ar.getMonth(si);return ii*100+Yi}function yi(si){var ii=Ar.getYear(si),Yi=ht(Ar,si);return ii*10+Yi}var Si=n.useCallback(function(si){if(Pr&&Pr(si))return!0;if(kr[1]&&Wi)return!nn(Ar,si,Wi)&&Ar.isAfter(si,Wi);if(Jt&&Wi)switch(rn){case"quarter":return yi(si)>yi(Wi);case"month":return ri(si)>ri(Wi);case"week":return di(si)>di(Wi);default:return!nn(Ar,si,Wi)&&Ar.isAfter(si,Wi)}return!1},[Pr,kr[1],Wi,Jt]),zi=n.useCallback(function(si){if(Pr&&Pr(si))return!0;if(kr[0]&&vi)return!nn(Ar,si,Wi)&&Ar.isAfter(vi,si);if(ln&&vi)switch(rn){case"quarter":return yi(si)<yi(vi);case"month":return ri(si)<ri(vi);case"week":return di(si)<di(vi);default:return!nn(Ar,si,vi)&&Ar.isAfter(vi,si)}return!1},[Pr,kr[0],vi,ln]);return[Si,zi]}function ua(Qe,Jt,ln,rn){var An=Ln(Qe,ln,rn,1);function fr(Pr){return Pr(Qe,Jt)?"same":Pr(An,Jt)?"closing":"far"}switch(ln){case"year":return fr(function(Pr,kr){return Sn(rn,Pr,kr)});case"quarter":case"month":return fr(function(Pr,kr){return Tt(rn,Pr,kr)});default:return fr(function(Pr,kr){return Ft(rn,Pr,kr)})}}function Qi(Qe,Jt,ln,rn){var An=pn(Qe,0),fr=pn(Qe,1);if(Jt===0)return An;if(An&&fr){var Pr=ua(An,fr,ln,rn);switch(Pr){case"same":return An;case"closing":return An;default:return Ln(fr,ln,rn,-1)}}return An}function Br(Qe){var Jt=Qe.values,ln=Qe.picker,rn=Qe.defaultDates,An=Qe.generateConfig,fr=n.useState(function(){return[pn(rn,0),pn(rn,1)]}),Pr=Object(W.a)(fr,2),kr=Pr[0],Ar=Pr[1],vi=n.useState(null),Wi=Object(W.a)(vi,2),di=Wi[0],ri=Wi[1],yi=pn(Jt,0),Si=pn(Jt,1);function zi(ii){return kr[ii]?kr[ii]:pn(di,ii)||Qi(Jt,ii,ln,An)||yi||Si||An.getNow()}function si(ii,Yi){if(ii){var La=kn(di,ii,Yi);Ar(kn(kr,null,Yi)||[null,null]);var Wa=(Yi+1)%2;pn(Jt,Wa)||(La=kn(La,ii,Wa)),ri(La)}else(yi||Si)&&ri(null)}return[zi,si]}function ga(Qe,Jt){return Qe&&Qe[0]&&Qe[1]&&Jt.isAfter(Qe[0],Qe[1])?[Qe[1],Qe[0]]:Qe}function fa(Qe,Jt,ln,rn){return!!(Qe||rn&&rn[Jt]||ln[(Jt+1)%2])}function Ja(Qe){var Jt,ln,rn,An=Qe.prefixCls,fr=An===void 0?"rc-picker":An,Pr=Qe.id,kr=Qe.style,Ar=Qe.className,vi=Qe.popupStyle,Wi=Qe.dropdownClassName,di=Qe.transitionName,ri=Qe.dropdownAlign,yi=Qe.getPopupContainer,Si=Qe.generateConfig,zi=Qe.locale,si=Qe.placeholder,ii=Qe.autoFocus,Yi=Qe.disabled,La=Qe.format,Wa=Qe.picker,Ri=Wa===void 0?"date":Wa,Oa=Qe.showTime,Ha=Qe.use12Hours,Za=Qe.separator,co=Za===void 0?"~":Za,Do=Qe.value,ra=Qe.defaultValue,ya=Qe.defaultPickerValue,Ra=Qe.open,Fa=Qe.defaultOpen,Ca=Qe.disabledDate,no=Qe.disabledTime,No=Qe.dateRender,es=Qe.panelRender,ds=Qe.ranges,Yr=Qe.allowEmpty,jr=Qe.allowClear,Ei=Qe.suffixIcon,gi=Qe.clearIcon,or=Qe.pickerRef,Ir=Qe.inputReadOnly,Ur=Qe.mode,Li=Qe.renderExtraFooter,oa=Qe.onChange,Ua=Qe.onOpenChange,$a=Qe.onPanelChange,Ba=Qe.onCalendarChange,ro=Qe.onFocus,mo=Qe.onBlur,oo=Qe.onMouseDown,Oo=Qe.onMouseUp,Yo=Qe.onMouseEnter,ts=Qe.onMouseLeave,Os=Qe.onClick,Rs=Qe.onOk,Mo=Qe.onKeyDown,Bs=Qe.components,ll=Qe.order,ks=Qe.direction,xl=Qe.activePickerIndex,Pl=Qe.autoComplete,Wo=Pl===void 0?"off":Pl,yl=Ri==="date"&&!!Oa||Ri==="time",Ps=Object(n.useRef)({}),B=Object(n.useRef)(null),Oe=Object(n.useRef)(null),St=Object(n.useRef)(null),Qt=Object(n.useRef)(null),Cn=Object(n.useRef)(null),Nn=Object(n.useRef)(null),Bn=Object(n.useRef)(null),Xn=Object(n.useRef)(null),Jn=ct(ie(La,Ri,Oa,Ha)),Cr=Object(te.a)(0,{value:xl}),Kr=Object(W.a)(Cr,2),ti=Kr[0],Pi=Kr[1],pi=Object(n.useRef)(null),Fi=n.useMemo(function(){return Array.isArray(Yi)?Yi:[Yi||!1,Yi||!1]},[Yi]),ha=Object(te.a)(null,{value:Do,defaultValue:ra,postState:function(at){return Ri==="time"&&!ll?at:ga(at,Si)}}),$i=Object(W.a)(ha,2),wa=$i[0],Lo=$i[1],Co=Br({values:wa,picker:Ri,defaultDates:ya,generateConfig:Si}),qa=Object(W.a)(Co,2),Va=qa[0],pa=qa[1],fo=Object(te.a)(wa,{postState:function(at){var At=at;if(Fi[0]&&Fi[1])return At;for(var En=0;En<2;En+=1)Fi[En]&&!At&&!pn(At,En)&&!pn(Yr,En)&&(At=kn(At,Si.getNow(),En));return At}}),Ao=Object(W.a)(fo,2),ko=Ao[0],Jo=Ao[1],rs=Object(te.a)([Ri,Ri],{value:Ur}),Cs=Object(W.a)(rs,2),ms=Cs[0],Po=Cs[1];Object(n.useEffect)(function(){Po([Ri,Ri])},[Ri]);var rl=function(at,At){Po(at),$a&&$a(At,at)},Rl=ki({picker:Ri,selectedValue:ko,locale:zi,disabled:Fi,disabledDate:Ca,generateConfig:Si},Ps.current[1],Ps.current[0]),bl=Object(W.a)(Rl,2),Tl=bl[0],ou=bl[1],Vu=Object(te.a)(!1,{value:Ra,defaultValue:Fa,postState:function(at){return Fi[ti]?!1:at},onChange:function(at){Ua&&Ua(at),!at&&pi.current&&pi.current.onClose&&pi.current.onClose()}}),Du=Object(W.a)(Vu,2),qo=Du[0],Io=Du[1],po=qo&&ti===0,fl=qo&&ti===1,ir=Object(n.useState)(0),Al=Object(W.a)(ir,2),gu=Al[0],Vl=Al[1];Object(n.useEffect)(function(){!qo&&B.current&&Vl(B.current.offsetWidth)},[qo]);var vs=n.useRef();function nu(Et,at){if(Et)clearTimeout(vs.current),Ps.current[at]=!0,Pi(at),Io(Et),qo||pa(null,at);else if(ti===at){Io(Et);var At=Ps.current;vs.current=setTimeout(function(){At===Ps.current&&(Ps.current={})})}}function Lt(Et){nu(!0,Et),setTimeout(function(){var at=[Nn,Bn][Et];at.current&&at.current.focus()},0)}function He(Et,at){var At=Et,En=pn(At,0),Gn=pn(At,1);En&&Gn&&Si.isAfter(En,Gn)&&(Ri==="week"&&!sn(Si,zi.locale,En,Gn)||Ri==="quarter"&&!Rt(Si,En,Gn)||Ri!=="week"&&Ri!=="quarter"&&Ri!=="time"&&!nn(Si,En,Gn)?(at===0?(At=[En,null],Gn=null):(En=null,At=[null,Gn]),Ps.current=Object(l.a)({},at,!0)):(Ri!=="time"||ll!==!1)&&(At=ga(At,Si))),Jo(At);var lr=At&&At[0]?Un(At[0],{generateConfig:Si,locale:zi,format:Jn[0]}):"",pr=At&&At[1]?Un(At[1],{generateConfig:Si,locale:zi,format:Jn[0]}):"";if(Ba){var Gr={range:at===0?"start":"end"};Ba(At,[lr,pr],Gr)}var Hr=fa(En,0,Fi,Yr),_i=fa(Gn,1,Fi,Yr),Gi=At===null||Hr&&_i;Gi&&(Lo(At),oa&&(!un(Si,pn(wa,0),En)||!un(Si,pn(wa,1),Gn))&&oa(At,[lr,pr]));var Dt=null;at===0&&!Fi[1]?Dt=1:at===1&&!Fi[0]&&(Dt=0),Dt!==null&&Dt!==ti&&(!Ps.current[Dt]||!pn(At,Dt))&&pn(At,at)?Lt(Dt):nu(!1,at)}var F=function(at){return qo&&pi.current&&pi.current.onKeyDown?pi.current.onKeyDown(at):(Object(r.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},U={formatList:Jn,generateConfig:Si,locale:zi},s=Ii(pn(ko,0),U),N=Object(W.a)(s,2),Q=N[0],xe=N[1],Je=Ii(pn(ko,1),U),Ge=Object(W.a)(Je,2),qt=Ge[0],fn=Ge[1],Wn=function(at,At){var En=lt(at,{locale:zi,formatList:Jn,generateConfig:Si}),Gn=At===0?Tl:ou;En&&!Gn(En)&&(Jo(kn(ko,En,At)),pa(En,At))},Yt=Hi({valueTexts:Q,onTextChange:function(at){return Wn(at,0)}}),Yn=Object(W.a)(Yt,3),hr=Yn[0],Wr=Yn[1],$r=Yn[2],wi=Hi({valueTexts:qt,onTextChange:function(at){return Wn(at,1)}}),fi=Object(W.a)(wi,3),Vi=fi[0],da=fi[1],ia=fi[2],ma=Object(n.useState)(null),Ea=Object(W.a)(ma,2),Qa=Ea[0],eo=Ea[1],lo=Object(n.useState)(null),ho=Object(W.a)(lo,2),Eo=ho[0],Uo=ho[1],us=Mn(hr,{formatList:Jn,generateConfig:Si,locale:zi}),ns=Object(W.a)(us,3),is=ns[0],Es=ns[1],ys=ns[2],il=Mn(Vi,{formatList:Jn,generateConfig:Si,locale:zi}),Ns=Object(W.a)(il,3),Ol=Ns[0],Ws=Ns[1],Yl=Ns[2],hl=function(at){Uo(kn(ko,at,ti)),ti===0?Es(at):Ws(at)},Xs=function(){Uo(kn(ko,null,ti)),ti===0?ys():Yl()},Kl=function(at,At){return{blurToCancel:yl,forwardKeyDown:F,onBlur:mo,isClickOutside:function(Gn){return!Ct([Oe.current,St.current,Qt.current,B.current],Gn)},onFocus:function(Gn){Pi(at),ro&&ro(Gn)},triggerOpen:function(Gn){nu(Gn,at)},onSubmit:function(){if(!ko||Ca&&Ca(ko[at]))return!1;He(ko,at),At()},onCancel:function(){nu(!1,at),Jo(wa),At()}}},ul=Object(n.useRef)(""),wu=zr(Object(k.a)(Object(k.a)({},Kl(0,$r)),{},{open:po,value:hr,currentFocusedKey:ul,key:"start",onKeyDown:function(at,At){Mo==null||Mo(at,At)}})),kl=Object(W.a)(wu,2),Fl=kl[0],mu=kl[1],Jl=mu.focused,pu=mu.typing,Ku=zr(Object(k.a)(Object(k.a)({},Kl(1,ia)),{},{open:fl,value:Vi,currentFocusedKey:ul,key:"end",onKeyDown:function(at,At){Mo==null||Mo(at,At)}})),uc=Object(W.a)(Ku,2),Cl=uc[0],Qu=uc[1],cc=Qu.focused,El=Qu.typing,Hu=function(at){Os&&Os(at),!qo&&!Nn.current.contains(at.target)&&!Bn.current.contains(at.target)&&(Fi[0]?Fi[1]||Lt(1):Lt(0))},dc=function(at){oo&&oo(at),qo&&(Jl||cc)&&!Nn.current.contains(at.target)&&!Bn.current.contains(at.target)&&at.preventDefault()},ql=wa&&wa[0]?Un(wa[0],{locale:zi,format:"YYYYMMDDHHmmss",generateConfig:Si}):"",pc=wa&&wa[1]?Un(wa[1],{locale:zi,format:"YYYYMMDDHHmmss",generateConfig:Si}):"";Object(n.useEffect)(function(){qo||(Jo(wa),!Q.length||Q[0]===""?Wr(""):xe!==hr&&$r(),!qt.length||qt[0]===""?da(""):fn!==Vi&&ia())},[qo,Q,qt]),Object(n.useEffect)(function(){Jo(wa)},[ql,pc]),or&&(or.current={focus:function(){Nn.current&&Nn.current.focus()},blur:function(){Nn.current&&Nn.current.blur(),Bn.current&&Bn.current.blur()}});var vl=Object.keys(ds||{}),Xu=vl.map(function(Et){var at=ds[Et],At=typeof at=="function"?at():at;return{label:Et,onClick:function(){He(At,null),nu(!1,ti)},onMouseEnter:function(){eo(At)},onMouseLeave:function(){eo(null)}}});function Pu(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},At=null;qo&&Eo&&Eo[0]&&Eo[1]&&Si.isAfter(Eo[1],Eo[0])&&(At=Eo);var En=Oa;if(Oa&&Object(re.a)(Oa)==="object"&&Oa.defaultValue){var Gn=Oa.defaultValue;En=Object(k.a)(Object(k.a)({},Oa),{},{defaultValue:pn(Gn,ti)||void 0})}var lr=null;return No&&(lr=function(Gr,Hr){return No(Gr,Hr,{range:ti?"end":"start"})}),n.createElement(ar.Provider,{value:{inRange:!0,panelPosition:Et,rangedValue:Qa||ko,hoverRangedValue:At}},n.createElement(gt,Object(i.a)({},Qe,at,{dateRender:lr,showTime:En,mode:ms[ti],generateConfig:Si,style:void 0,direction:ks,disabledDate:ti===0?Tl:ou,disabledTime:function(Gr){return no?no(Gr,ti===0?"start":"end"):!1},className:b()(Object(l.a)({},"".concat(fr,"-panel-focused"),ti===0?!pu:!El)),value:pn(ko,ti),locale:zi,tabIndex:-1,onPanelChange:function(Gr,Hr){ti===0&&ys(!0),ti===1&&Yl(!0),rl(kn(ms,Hr,ti),kn(ko,Gr,ti));var _i=Gr;Et==="right"&&ms[ti]===Hr&&(_i=Ln(_i,Hr,Si,-1)),pa(_i,ti)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:ti===0?pn(ko,1):pn(ko,0)})))}var _u=0,Uc=0;if(ti&&St.current&&Cn.current&&Oe.current){_u=St.current.offsetWidth+Cn.current.offsetWidth;var $e=Xn.current.offsetLeft>_u?Xn.current.offsetLeft-_u:Xn.current.offsetLeft;Oe.current.offsetWidth&&Xn.current.offsetWidth&&_u>Oe.current.offsetWidth-Xn.current.offsetWidth-(ks==="rtl"?0:$e)&&(Uc=_u)}var ot=ks==="rtl"?{right:_u}:{left:_u};function _t(){var Et,at=xr(fr,ms[ti],Li),At=Vr({prefixCls:fr,components:Bs,needConfirmButton:yl,okDisabled:!pn(ko,ti)||Ca&&Ca(ko[ti]),locale:zi,rangeList:Xu,onOk:function(){pn(ko,ti)&&(He(ko,ti),Rs&&Rs(ko))}});if(Ri!=="time"&&!Oa){var En=Va(ti),Gn=Ln(En,Ri,Si),lr=ms[ti],pr=lr===Ri,Gr=Pu(pr?"left":!1,{pickerValue:En,onPickerValueChange:function(Dt){pa(Dt,ti)}}),Hr=Pu("right",{pickerValue:Gn,onPickerValueChange:function(Dt){pa(Ln(Dt,Ri,Si,-1),ti)}});ks==="rtl"?Et=n.createElement(n.Fragment,null,Hr,pr&&Gr):Et=n.createElement(n.Fragment,null,Gr,pr&&Hr)}else Et=Pu();var _i=n.createElement(n.Fragment,null,n.createElement("div",{className:"".concat(fr,"-panels")},Et),(at||At)&&n.createElement("div",{className:"".concat(fr,"-footer")},at,At));return es&&(_i=es(_i)),n.createElement("div",{className:"".concat(fr,"-panel-container"),style:{marginLeft:Uc},ref:Oe,onMouseDown:function(Dt){Dt.preventDefault()}},_i)}var dn=n.createElement("div",{className:b()("".concat(fr,"-range-wrapper"),"".concat(fr,"-").concat(Ri,"-range-wrapper")),style:{minWidth:gu}},n.createElement("div",{ref:Xn,className:"".concat(fr,"-range-arrow"),style:ot}),_t()),xn;Ei&&(xn=n.createElement("span",{className:"".concat(fr,"-suffix")},Ei));var Hn;jr&&(pn(wa,0)&&!Fi[0]||pn(wa,1)&&!Fi[1])&&(Hn=n.createElement("span",{onMouseDown:function(at){at.preventDefault(),at.stopPropagation()},onMouseUp:function(at){at.preventDefault(),at.stopPropagation();var At=wa;Fi[0]||(At=kn(At,null,0)),Fi[1]||(At=kn(At,null,1)),He(At,null),nu(!1,ti)},className:"".concat(fr,"-clear")},gi||n.createElement("span",{className:"".concat(fr,"-clear-btn")})));var er={size:ge(Ri,Jn[0],Si)},Nr=0,Zr=0;St.current&&Qt.current&&Cn.current&&(ti===0?Zr=St.current.offsetWidth:(Nr=_u,Zr=Qt.current.offsetWidth));var rt=ks==="rtl"?{right:Nr}:{left:Nr},Fe=function(at,At){var En=kn(ko,at,ti);At==="submit"||At!=="key"&&!yl?(He(En,ti),ti===0?ys():Yl()):Jo(En)};return n.createElement(oe.Provider,{value:{operationRef:pi,hideHeader:Ri==="time",onDateMouseEnter:hl,onDateMouseLeave:Xs,hideRanges:!0,onSelect:Fe,open:qo}},n.createElement(bi,{visible:qo,popupElement:dn,popupStyle:vi,prefixCls:fr,dropdownClassName:Wi,dropdownAlign:ri,getPopupContainer:yi,transitionName:di,range:!0,direction:ks},n.createElement("div",Object(i.a)({ref:B,className:b()(fr,"".concat(fr,"-range"),Ar,(Jt={},Object(l.a)(Jt,"".concat(fr,"-disabled"),Fi[0]&&Fi[1]),Object(l.a)(Jt,"".concat(fr,"-focused"),ti===0?Jl:cc),Object(l.a)(Jt,"".concat(fr,"-rtl"),ks==="rtl"),Jt)),style:kr,onClick:Hu,onMouseEnter:Yo,onMouseLeave:ts,onMouseDown:dc,onMouseUp:Oo},Kt(Qe)),n.createElement("div",{className:b()("".concat(fr,"-input"),(ln={},Object(l.a)(ln,"".concat(fr,"-input-active"),ti===0),Object(l.a)(ln,"".concat(fr,"-input-placeholder"),!!is),ln)),ref:St},n.createElement("input",Object(i.a)({id:Pr,disabled:Fi[0],readOnly:Ir||typeof Jn[0]=="function"||!pu,value:is||hr,onChange:function(at){Wr(at.target.value)},autoFocus:ii,placeholder:pn(si,0)||"",ref:Nn},Fl,er,{autoComplete:Wo}))),n.createElement("div",{className:"".concat(fr,"-range-separator"),ref:Cn},co),n.createElement("div",{className:b()("".concat(fr,"-input"),(rn={},Object(l.a)(rn,"".concat(fr,"-input-active"),ti===1),Object(l.a)(rn,"".concat(fr,"-input-placeholder"),!!Ol),rn)),ref:Qt},n.createElement("input",Object(i.a)({disabled:Fi[1],readOnly:Ir||typeof Jn[0]=="function"||!El,value:Ol||Vi,onChange:function(at){da(at.target.value)},placeholder:pn(si,1)||"",ref:Bn},Cl,er,{autoComplete:Wo}))),n.createElement("div",{className:"".concat(fr,"-active-bar"),style:Object(k.a)(Object(k.a)({},rt),{},{width:Zr,position:"absolute"})}),xn,Hn)))}var In=function(Qe){Object(E.a)(ln,Qe);var Jt=Object(D.a)(ln);function ln(){var rn;Object(d.a)(this,ln);for(var An=arguments.length,fr=new Array(An),Pr=0;Pr<An;Pr++)fr[Pr]=arguments[Pr];return rn=Jt.call.apply(Jt,[this].concat(fr)),rn.pickerRef=n.createRef(),rn.focus=function(){rn.pickerRef.current&&rn.pickerRef.current.focus()},rn.blur=function(){rn.pickerRef.current&&rn.pickerRef.current.blur()},rn}return Object(O.a)(ln,[{key:"render",value:function(){return n.createElement(Ja,Object(i.a)({},this.props,{pickerRef:this.pickerRef}))}}]),ln}(n.Component),ve=In,x=ei,le=e("H84U"),me=e("caoh"),Ae=e("3Nzz"),tt=e("ihLV"),pt=e("+f9I"),ke=e("YMnH"),we=e("ATYA"),Be=e("61s2");function Le(Qe,Jt,ln){return ln!==void 0?ln:Qe==="year"&&Jt.lang.yearPlaceholder?Jt.lang.yearPlaceholder:Qe==="quarter"&&Jt.lang.quarterPlaceholder?Jt.lang.quarterPlaceholder:Qe==="month"&&Jt.lang.monthPlaceholder?Jt.lang.monthPlaceholder:Qe==="week"&&Jt.lang.weekPlaceholder?Jt.lang.weekPlaceholder:Qe==="time"&&Jt.timePickerLocale.placeholder?Jt.timePickerLocale.placeholder:Jt.lang.placeholder}function J(Qe,Jt,ln){return ln!==void 0?ln:Qe==="year"&&Jt.lang.yearPlaceholder?Jt.lang.rangeYearPlaceholder:Qe==="quarter"&&Jt.lang.quarterPlaceholder?Jt.lang.rangeQuarterPlaceholder:Qe==="month"&&Jt.lang.monthPlaceholder?Jt.lang.rangeMonthPlaceholder:Qe==="week"&&Jt.lang.weekPlaceholder?Jt.lang.rangeWeekPlaceholder:Qe==="time"&&Jt.timePickerLocale.placeholder?Jt.timePickerLocale.rangePlaceholder:Jt.lang.rangePlaceholder}function Ke(Qe,Jt){var ln={adjustX:1,adjustY:1};switch(Jt){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ln};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ln};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ln};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ln};default:return{points:Qe==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ln}}}var We=function(Qe,Jt){var ln={};for(var rn in Qe)Object.prototype.hasOwnProperty.call(Qe,rn)&&Jt.indexOf(rn)<0&&(ln[rn]=Qe[rn]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var An=0,rn=Object.getOwnPropertySymbols(Qe);An<rn.length;An++)Jt.indexOf(rn[An])<0&&Object.prototype.propertyIsEnumerable.call(Qe,rn[An])&&(ln[rn[An]]=Qe[rn[An]]);return ln};function Ot(Qe){var Jt=Object(n.forwardRef)(function(ln,rn){var An=ln.prefixCls,fr=ln.getPopupContainer,Pr=ln.className,kr=ln.placement,Ar=ln.size,vi=ln.disabled,Wi=ln.bordered,di=Wi===void 0?!0:Wi,ri=ln.placeholder,yi=ln.popupClassName,Si=ln.dropdownClassName,zi=ln.status,si=We(ln,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status"]),ii=n.useRef(null),Yi=Object(n.useContext)(le.b),La=Yi.getPrefixCls,Wa=Yi.direction,Ri=Yi.getPopupContainer,Oa=La("picker",An),Ha=Object(pt.c)(Oa,Wa),Za=Ha.compactSize,co=Ha.compactItemClassnames,Do=ln.format,ra=ln.showTime,ya=ln.picker,Ra=La(),Fa={};Fa=Object(i.a)(Object(i.a)(Object(i.a)({},Fa),ra?$n(Object(i.a)({format:Do,picker:ya},ra)):{}),ya==="time"?$n(Object(i.a)(Object(i.a)({format:Do},ln),{picker:ya})):{});var Ca=n.useContext(Ae.b),no=Za||Ar||Ca,No=n.useContext(me.b),es=vi!=null?vi:No,ds=Object(n.useContext)(tt.b),Yr=ds.hasFeedback,jr=ds.status,Ei=ds.feedbackIcon,gi=n.createElement(n.Fragment,null,ya==="time"?n.createElement(w.a,null):n.createElement(p.a,null),Yr&&Ei);return Object(n.useImperativeHandle)(rn,function(){return{focus:function(){var Ir;return(Ir=ii.current)===null||Ir===void 0?void 0:Ir.focus()},blur:function(){var Ir;return(Ir=ii.current)===null||Ir===void 0?void 0:Ir.blur()}}}),n.createElement(ke.a,{componentName:"DatePicker",defaultLocale:Be.a},function(or){var Ir,Ur=Object(i.a)(Object(i.a)({},or),ln.locale);return n.createElement(ve,Object(i.a)({separator:n.createElement("span",{"aria-label":"to",className:"".concat(Oa,"-separator")},n.createElement(A,null)),disabled:es,ref:ii,dropdownAlign:Ke(Wa,kr),placeholder:J(ya,Ur,ri),suffixIcon:gi,clearIcon:n.createElement(S.a,null),prevIcon:n.createElement("span",{className:"".concat(Oa,"-prev-icon")}),nextIcon:n.createElement("span",{className:"".concat(Oa,"-next-icon")}),superPrevIcon:n.createElement("span",{className:"".concat(Oa,"-super-prev-icon")}),superNextIcon:n.createElement("span",{className:"".concat(Oa,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(Ra,"-slide-up")},si,Fa,{className:b()((Ir={},Object(l.a)(Ir,"".concat(Oa,"-").concat(no),no),Object(l.a)(Ir,"".concat(Oa,"-borderless"),!di),Ir),Object(we.b)(Oa,Object(we.a)(jr,zi),Yr),co,Pr),locale:Ur.lang,prefixCls:Oa,getPopupContainer:fr||Ri,generateConfig:Qe,components:Gt,direction:Wa,dropdownClassName:yi||Si}))})});return Jt}var Vt=function(Qe,Jt){var ln={};for(var rn in Qe)Object.prototype.hasOwnProperty.call(Qe,rn)&&Jt.indexOf(rn)<0&&(ln[rn]=Qe[rn]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var An=0,rn=Object.getOwnPropertySymbols(Qe);An<rn.length;An++)Jt.indexOf(rn[An])<0&&Object.prototype.propertyIsEnumerable.call(Qe,rn[An])&&(ln[rn[An]]=Qe[rn[An]]);return ln};function $t(Qe){function Jt(Ar,vi){var Wi=Object(n.forwardRef)(function(di,ri){var yi=di.prefixCls,Si=di.getPopupContainer,zi=di.className,si=di.size,ii=di.bordered,Yi=ii===void 0?!0:ii,La=di.placement,Wa=di.placeholder,Ri=di.popupClassName,Oa=di.dropdownClassName,Ha=di.disabled,Za=di.status,co=Vt(di,["prefixCls","getPopupContainer","className","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status"]),Do=Object(n.useContext)(le.b),ra=Do.getPrefixCls,ya=Do.direction,Ra=Do.getPopupContainer,Fa=ra("picker",yi),Ca=Object(pt.c)(Fa,ya),no=Ca.compactSize,No=Ca.compactItemClassnames,es=n.useRef(null),ds=di.format,Yr=di.showTime;Object(n.useImperativeHandle)(ri,function(){return{focus:function(){var Oo;return(Oo=es.current)===null||Oo===void 0?void 0:Oo.focus()},blur:function(){var Oo;return(Oo=es.current)===null||Oo===void 0?void 0:Oo.blur()}}});var jr={showToday:!0},Ei={};Ar&&(Ei.picker=Ar);var gi=Ar||di.picker;Ei=Object(i.a)(Object(i.a)(Object(i.a)({},Ei),Yr?$n(Object(i.a)({format:ds,picker:gi},Yr)):{}),gi==="time"?$n(Object(i.a)(Object(i.a)({format:ds},di),{picker:gi})):{});var or=ra(),Ir=n.useContext(Ae.b),Ur=no||si||Ir,Li=n.useContext(me.b),oa=Ha!=null?Ha:Li,Ua=Object(n.useContext)(tt.b),$a=Ua.hasFeedback,Ba=Ua.status,ro=Ua.feedbackIcon,mo=n.createElement(n.Fragment,null,gi==="time"?n.createElement(w.a,null):n.createElement(p.a,null),$a&&ro);return n.createElement(ke.a,{componentName:"DatePicker",defaultLocale:Be.a},function(oo){var Oo,Yo=Object(i.a)(Object(i.a)({},oo),di.locale);return n.createElement(x,Object(i.a)({ref:es,placeholder:Le(gi,Yo,Wa),suffixIcon:mo,dropdownAlign:Ke(ya,La),clearIcon:n.createElement(S.a,null),prevIcon:n.createElement("span",{className:"".concat(Fa,"-prev-icon")}),nextIcon:n.createElement("span",{className:"".concat(Fa,"-next-icon")}),superPrevIcon:n.createElement("span",{className:"".concat(Fa,"-super-prev-icon")}),superNextIcon:n.createElement("span",{className:"".concat(Fa,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(or,"-slide-up")},jr,co,Ei,{locale:Yo.lang,className:b()((Oo={},Object(l.a)(Oo,"".concat(Fa,"-").concat(Ur),Ur),Object(l.a)(Oo,"".concat(Fa,"-borderless"),!Yi),Oo),Object(we.b)(Fa,Object(we.a)(Ba,Za),$a),No,zi),prefixCls:Fa,getPopupContainer:Si||Ra,generateConfig:Qe,components:Gt,direction:ya,disabled:oa,dropdownClassName:Ri||Oa}))})});return vi&&(Wi.displayName=vi),Wi}var ln=Jt(),rn=Jt("week","WeekPicker"),An=Jt("month","MonthPicker"),fr=Jt("year","YearPicker"),Pr=Jt("time","TimePicker"),kr=Jt("quarter","QuarterPicker");return{DatePicker:ln,WeekPicker:rn,MonthPicker:An,YearPicker:fr,TimePicker:Pr,QuarterPicker:kr}}var Gt={button:m,rangeItem:t};function hn(Qe){return Qe?Array.isArray(Qe)?Qe:[Qe]:[]}function $n(Qe){var Jt=Qe.format,ln=Qe.picker,rn=Qe.showHour,An=Qe.showMinute,fr=Qe.showSecond,Pr=Qe.use12Hours,kr=hn(Jt)[0],Ar=Object(i.a)({},Qe);return kr&&typeof kr=="string"&&(!kr.includes("s")&&fr===void 0&&(Ar.showSecond=!1),!kr.includes("m")&&An===void 0&&(Ar.showMinute=!1),!kr.includes("H")&&!kr.includes("h")&&rn===void 0&&(Ar.showHour=!1),(kr.includes("a")||kr.includes("A"))&&Pr===void 0&&(Ar.use12Hours=!0)),ln==="time"?Ar:(typeof kr=="function"&&delete Ar.format,{showTime:Ar})}var Sr=Object(a.a)("bottomLeft","bottomRight","topLeft","topRight");function vr(Qe){var Jt=$t(Qe),ln=Jt.DatePicker,rn=Jt.WeekPicker,An=Jt.MonthPicker,fr=Jt.YearPicker,Pr=Jt.TimePicker,kr=Jt.QuarterPicker,Ar=Ot(Qe),vi=ln;return vi.WeekPicker=rn,vi.MonthPicker=An,vi.YearPicker=fr,vi.RangePicker=Ar,vi.TimePicker=Pr,vi.QuarterPicker=kr,vi}var zn=vr,Tr=zn(o),Qr=M.a=Tr},"+iFO":function(Ie,M,e){var u=e("dTAl"),c=e("LcsW"),r=e("6sVZ");function f(o){return typeof o.constructor=="function"&&!r(o)?u(c(o)):{}}Ie.exports=f},"+nZF":function(Ie,M,e){"use strict";var u=e("rePB"),c=e("wx14"),r=e("KQm4"),f=e("TSYQ"),o=e.n(f),i=e("Zm9Q"),a=e("q1tI"),n=e("H84U"),v=e("BvKs"),m=e("0n0R"),h=e("8Skl"),t=e("XBQK"),l=function(d,O){var E={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&O.indexOf(D)<0&&(E[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,D=Object.getOwnPropertySymbols(d);W<D.length;W++)O.indexOf(D[W])<0&&Object.prototype.propertyIsEnumerable.call(d,D[W])&&(E[D[W]]=d[D[W]]);return E},p=function(O){var E=O.prefixCls,D=O.separator,W=D===void 0?"/":D,te=O.children,re=O.menu,ye=O.overlay,q=O.dropdownProps,oe=l(O,["prefixCls","separator","children","menu","overlay","dropdownProps"]),he=a.useContext(n.b),ue=he.getPrefixCls,ne=ue("breadcrumb",E),se=function(ee){return re||ye?a.createElement(t.a,Object(c.a)({menu:re,overlay:ye,placement:"bottom"},q),a.createElement("span",{className:"".concat(ne,"-overlay-link")},ee,a.createElement(h.a,null))):ee},be;return"href"in oe?be=a.createElement("a",Object(c.a)({className:"".concat(ne,"-link")},oe),te):be=a.createElement("span",Object(c.a)({className:"".concat(ne,"-link")},oe),te),be=se(be),te!=null?a.createElement("li",null,be,W&&a.createElement("span",{className:"".concat(ne,"-separator")},W)):null};p.__ANT_BREADCRUMB_ITEM=!0;var w=p,S=function(O){var E=O.children,D=a.useContext(n.b),W=D.getPrefixCls,te=W("breadcrumb");return a.createElement("span",{className:"".concat(te,"-separator")},E||"/")};S.__ANT_BREADCRUMB_SEPARATOR=!0;var k=S,T=function(d,O){var E={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&O.indexOf(D)<0&&(E[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,D=Object.getOwnPropertySymbols(d);W<D.length;W++)O.indexOf(D[W])<0&&Object.prototype.propertyIsEnumerable.call(d,D[W])&&(E[D[W]]=d[D[W]]);return E};function I(d,O){if(!d.breadcrumbName)return null;var E=Object.keys(O).join("|"),D=d.breadcrumbName.replace(new RegExp(":(".concat(E,")"),"g"),function(W,te){return O[te]||W});return D}function Y(d,O,E,D){var W=E.indexOf(d)===E.length-1,te=I(d,O);return W?a.createElement("span",null,te):a.createElement("a",{href:"#/".concat(D.join("/"))},te)}var $=function(O,E){return O=(O||"").replace(/^\//,""),Object.keys(E).forEach(function(D){O=O.replace(":".concat(D),E[D])}),O},A=function(O,E,D){var W=Object(r.a)(O),te=$(E||"",D);return te&&W.push(te),W},g=function(O){var E=O.prefixCls,D=O.separator,W=D===void 0?"/":D,te=O.style,re=O.className,ye=O.routes,q=O.children,oe=O.itemRender,he=oe===void 0?Y:oe,ue=O.params,ne=ue===void 0?{}:ue,se=T(O,["prefixCls","separator","style","className","routes","children","itemRender","params"]),be=a.useContext(n.b),Z=be.getPrefixCls,ee=be.direction,ce,R=Z("breadcrumb",E);if(ye&&ye.length>0){var y=[];ce=ye.map(function(z){var G=$(z.path,ne);G&&y.push(G);var X;z.children&&z.children.length&&(X=a.createElement(v.a,{items:z.children.map(function(ae){return{key:ae.path||ae.breadcrumbName,label:he(ae,ne,ye,A(y,ae.path,ne))}})}));var pe={separator:W};return X&&(pe.overlay=X),a.createElement(w,Object(c.a)({},pe,{key:G||z.breadcrumbName}),he(z,ne,ye,y))})}else q&&(ce=Object(i.a)(q).map(function(z,G){return z&&Object(m.a)(z,{separator:W,key:G})}));var C=o()(R,Object(u.a)({},"".concat(R,"-rtl"),ee==="rtl"),re);return a.createElement("nav",Object(c.a)({className:C,style:te},se),a.createElement("ol",null,ce))};g.Item=w,g.Separator=k;var b=M.a=g},"+q00":function(Ie,M,e){"use strict";e.d(M,"a",function(){return ne}),e.d(M,"b",function(){return Z});var u=e("Nsem"),c=e("yKVA"),r=e("879j"),f=e("fWQN"),o=e("mtLc"),i=e("sK0q");function a(ee){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(i.a)(ee))throw new TypeError("input must be an array");if(ee.length===0)throw new TypeError("input must not be empty");var R=ce.fromIndex,y=R===void 0?0:R,C=ce.toIndex,z=C===void 0?ee.length:C;if(y<0||y>=ee.length||!Number.isInteger(y))throw new Error("fromIndex must be a positive integer smaller than length");if(z<=y||z>ee.length||!Number.isInteger(z))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var G=ee[y],X=y+1;X<z;X++)ee[X]>G&&(G=ee[X]);return G}function n(ee){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(i.a)(ee))throw new TypeError("input must be an array");if(ee.length===0)throw new TypeError("input must not be empty");var R=ce.fromIndex,y=R===void 0?0:R,C=ce.toIndex,z=C===void 0?ee.length:C;if(y<0||y>=ee.length||!Number.isInteger(y))throw new Error("fromIndex must be a positive integer smaller than length");if(z<=y||z>ee.length||!Number.isInteger(z))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var G=ee[y],X=y+1;X<z;X++)ee[X]<G&&(G=ee[X]);return G}function v(ee){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Object(i.a)(ee)){if(ee.length===0)throw new TypeError("input must not be empty")}else throw new TypeError("input must be an array");var R;if(ce.output!==void 0){if(!Object(i.a)(ce.output))throw new TypeError("output option must be an array if specified");R=ce.output}else R=new Array(ee.length);var y=n(ee),C=a(ee);if(y===C)throw new RangeError("minimum and maximum input values are equal. Cannot rescale a constant array");var z=ce.min,G=z===void 0?ce.autoMinMax?y:0:z,X=ce.max,pe=X===void 0?ce.autoMinMax?C:1:X;if(G>=pe)throw new RangeError("min option must be smaller than max option");for(var ae=(pe-G)/(C-y),Se=0;Se<ee.length;Se++)R[Se]=(ee[Se]-y)*ae+G;return R}var m=" ".repeat(2),h=" ".repeat(4);function t(){return l(this)}function l(ee){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=ce.maxRows,y=R===void 0?15:R,C=ce.maxColumns,z=C===void 0?10:C,G=ce.maxNumSize,X=G===void 0?8:G,pe=ce.padMinus,ae=pe===void 0?"auto":pe;return"".concat(ee.constructor.name,` {
- `).concat(m,`[
- `).concat(h).concat(p(ee,y,z,X,ae),`
- `).concat(m,`]
- `).concat(m,"rows: ").concat(ee.rows,`
- `).concat(m,"columns: ").concat(ee.columns,`
- }`)}function p(ee,ce,R,y,C){var z=ee.rows,G=ee.columns,X=Math.min(z,ce),pe=Math.min(G,R),ae=[];if(C==="auto"){C=!1;e:for(var Se=0;Se<X;Se++)for(var Te=0;Te<pe;Te++)if(ee.get(Se,Te)<0){C=!0;break e}}for(var je=0;je<X;je++){for(var ft=[],fe=0;fe<pe;fe++)ft.push(w(ee.get(je,fe),y,C));ae.push("".concat(ft.join(" ")))}return pe!==G&&(ae[ae.length-1]+=" ... ".concat(G-R," more columns")),X!==z&&ae.push("... ".concat(z-ce," more rows")),ae.join(`
- `.concat(h))}function w(ee,ce,R){return(ee>=0&&R?" ".concat(S(ee,ce-1)):S(ee,ce)).padEnd(ce)}function S(ee,ce){var R=ee.toString();if(R.length<=ce)return R;var y=ee.toFixed(ce);if(y.length>ce&&(y=ee.toFixed(Math.max(0,ce-(y.length-ce)))),y.length<=ce&&!y.startsWith("0.000")&&!y.startsWith("-0.000"))return y;var C=ee.toExponential(ce);return C.length>ce&&(C=ee.toExponential(Math.max(0,ce-(C.length-ce)))),C.slice(0)}function k(ee,ce){ee.prototype.add=function(y){return typeof y=="number"?this.addS(y):this.addM(y)},ee.prototype.addS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)+y);return this},ee.prototype.addM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)+y.get(C,z));return this},ee.add=function(y,C){var z=new ce(y);return z.add(C)},ee.prototype.sub=function(y){return typeof y=="number"?this.subS(y):this.subM(y)},ee.prototype.subS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)-y);return this},ee.prototype.subM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)-y.get(C,z));return this},ee.sub=function(y,C){var z=new ce(y);return z.sub(C)},ee.prototype.subtract=ee.prototype.sub,ee.prototype.subtractS=ee.prototype.subS,ee.prototype.subtractM=ee.prototype.subM,ee.subtract=ee.sub,ee.prototype.mul=function(y){return typeof y=="number"?this.mulS(y):this.mulM(y)},ee.prototype.mulS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)*y);return this},ee.prototype.mulM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)*y.get(C,z));return this},ee.mul=function(y,C){var z=new ce(y);return z.mul(C)},ee.prototype.multiply=ee.prototype.mul,ee.prototype.multiplyS=ee.prototype.mulS,ee.prototype.multiplyM=ee.prototype.mulM,ee.multiply=ee.mul,ee.prototype.div=function(y){return typeof y=="number"?this.divS(y):this.divM(y)},ee.prototype.divS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)/y);return this},ee.prototype.divM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)/y.get(C,z));return this},ee.div=function(y,C){var z=new ce(y);return z.div(C)},ee.prototype.divide=ee.prototype.div,ee.prototype.divideS=ee.prototype.divS,ee.prototype.divideM=ee.prototype.divM,ee.divide=ee.div,ee.prototype.mod=function(y){return typeof y=="number"?this.modS(y):this.modM(y)},ee.prototype.modS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)%y);return this},ee.prototype.modM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)%y.get(C,z));return this},ee.mod=function(y,C){var z=new ce(y);return z.mod(C)},ee.prototype.modulus=ee.prototype.mod,ee.prototype.modulusS=ee.prototype.modS,ee.prototype.modulusM=ee.prototype.modM,ee.modulus=ee.mod,ee.prototype.and=function(y){return typeof y=="number"?this.andS(y):this.andM(y)},ee.prototype.andS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)&y);return this},ee.prototype.andM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)&y.get(C,z));return this},ee.and=function(y,C){var z=new ce(y);return z.and(C)},ee.prototype.or=function(y){return typeof y=="number"?this.orS(y):this.orM(y)},ee.prototype.orS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)|y);return this},ee.prototype.orM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)|y.get(C,z));return this},ee.or=function(y,C){var z=new ce(y);return z.or(C)},ee.prototype.xor=function(y){return typeof y=="number"?this.xorS(y):this.xorM(y)},ee.prototype.xorS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)^y);return this},ee.prototype.xorM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)^y.get(C,z));return this},ee.xor=function(y,C){var z=new ce(y);return z.xor(C)},ee.prototype.leftShift=function(y){return typeof y=="number"?this.leftShiftS(y):this.leftShiftM(y)},ee.prototype.leftShiftS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)<<y);return this},ee.prototype.leftShiftM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)<<y.get(C,z));return this},ee.leftShift=function(y,C){var z=new ce(y);return z.leftShift(C)},ee.prototype.signPropagatingRightShift=function(y){return typeof y=="number"?this.signPropagatingRightShiftS(y):this.signPropagatingRightShiftM(y)},ee.prototype.signPropagatingRightShiftS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)>>y);return this},ee.prototype.signPropagatingRightShiftM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)>>y.get(C,z));return this},ee.signPropagatingRightShift=function(y,C){var z=new ce(y);return z.signPropagatingRightShift(C)},ee.prototype.rightShift=function(y){return typeof y=="number"?this.rightShiftS(y):this.rightShiftM(y)},ee.prototype.rightShiftS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)>>>y);return this},ee.prototype.rightShiftM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,this.get(C,z)>>>y.get(C,z));return this},ee.rightShift=function(y,C){var z=new ce(y);return z.rightShift(C)},ee.prototype.zeroFillRightShift=ee.prototype.rightShift,ee.prototype.zeroFillRightShiftS=ee.prototype.rightShiftS,ee.prototype.zeroFillRightShiftM=ee.prototype.rightShiftM,ee.zeroFillRightShift=ee.rightShift,ee.prototype.not=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,~this.get(y,C));return this},ee.not=function(y){var C=new ce(y);return C.not()},ee.prototype.abs=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.abs(this.get(y,C)));return this},ee.abs=function(y){var C=new ce(y);return C.abs()},ee.prototype.acos=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.acos(this.get(y,C)));return this},ee.acos=function(y){var C=new ce(y);return C.acos()},ee.prototype.acosh=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.acosh(this.get(y,C)));return this},ee.acosh=function(y){var C=new ce(y);return C.acosh()},ee.prototype.asin=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.asin(this.get(y,C)));return this},ee.asin=function(y){var C=new ce(y);return C.asin()},ee.prototype.asinh=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.asinh(this.get(y,C)));return this},ee.asinh=function(y){var C=new ce(y);return C.asinh()},ee.prototype.atan=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.atan(this.get(y,C)));return this},ee.atan=function(y){var C=new ce(y);return C.atan()},ee.prototype.atanh=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.atanh(this.get(y,C)));return this},ee.atanh=function(y){var C=new ce(y);return C.atanh()},ee.prototype.cbrt=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.cbrt(this.get(y,C)));return this},ee.cbrt=function(y){var C=new ce(y);return C.cbrt()},ee.prototype.ceil=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.ceil(this.get(y,C)));return this},ee.ceil=function(y){var C=new ce(y);return C.ceil()},ee.prototype.clz32=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.clz32(this.get(y,C)));return this},ee.clz32=function(y){var C=new ce(y);return C.clz32()},ee.prototype.cos=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.cos(this.get(y,C)));return this},ee.cos=function(y){var C=new ce(y);return C.cos()},ee.prototype.cosh=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.cosh(this.get(y,C)));return this},ee.cosh=function(y){var C=new ce(y);return C.cosh()},ee.prototype.exp=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.exp(this.get(y,C)));return this},ee.exp=function(y){var C=new ce(y);return C.exp()},ee.prototype.expm1=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.expm1(this.get(y,C)));return this},ee.expm1=function(y){var C=new ce(y);return C.expm1()},ee.prototype.floor=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.floor(this.get(y,C)));return this},ee.floor=function(y){var C=new ce(y);return C.floor()},ee.prototype.fround=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.fround(this.get(y,C)));return this},ee.fround=function(y){var C=new ce(y);return C.fround()},ee.prototype.log=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.log(this.get(y,C)));return this},ee.log=function(y){var C=new ce(y);return C.log()},ee.prototype.log1p=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.log1p(this.get(y,C)));return this},ee.log1p=function(y){var C=new ce(y);return C.log1p()},ee.prototype.log10=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.log10(this.get(y,C)));return this},ee.log10=function(y){var C=new ce(y);return C.log10()},ee.prototype.log2=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.log2(this.get(y,C)));return this},ee.log2=function(y){var C=new ce(y);return C.log2()},ee.prototype.round=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.round(this.get(y,C)));return this},ee.round=function(y){var C=new ce(y);return C.round()},ee.prototype.sign=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.sign(this.get(y,C)));return this},ee.sign=function(y){var C=new ce(y);return C.sign()},ee.prototype.sin=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.sin(this.get(y,C)));return this},ee.sin=function(y){var C=new ce(y);return C.sin()},ee.prototype.sinh=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.sinh(this.get(y,C)));return this},ee.sinh=function(y){var C=new ce(y);return C.sinh()},ee.prototype.sqrt=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.sqrt(this.get(y,C)));return this},ee.sqrt=function(y){var C=new ce(y);return C.sqrt()},ee.prototype.tan=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.tan(this.get(y,C)));return this},ee.tan=function(y){var C=new ce(y);return C.tan()},ee.prototype.tanh=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.tanh(this.get(y,C)));return this},ee.tanh=function(y){var C=new ce(y);return C.tanh()},ee.prototype.trunc=function(){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,Math.trunc(this.get(y,C)));return this},ee.trunc=function(y){var C=new ce(y);return C.trunc()},ee.pow=function(y,C){var z=new ce(y);return z.pow(C)},ee.prototype.pow=function(y){return typeof y=="number"?this.powS(y):this.powM(y)},ee.prototype.powS=function(y){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,Math.pow(this.get(C,z),y));return this},ee.prototype.powM=function(y){if(y=ce.checkMatrix(y),this.rows!==y.rows||this.columns!==y.columns)throw new RangeError("Matrices dimensions must be equal");for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.set(C,z,Math.pow(this.get(C,z),y.get(C,z)));return this}}var T=e("7OuD");function I(ee){for(var ce=Object(T.i)(ee.rows),R=0;R<ee.rows;++R)for(var y=0;y<ee.columns;++y)ce[R]+=ee.get(R,y);return ce}function Y(ee){for(var ce=Object(T.i)(ee.columns),R=0;R<ee.rows;++R)for(var y=0;y<ee.columns;++y)ce[y]+=ee.get(R,y);return ce}function $(ee){for(var ce=0,R=0;R<ee.rows;R++)for(var y=0;y<ee.columns;y++)ce+=ee.get(R,y);return ce}function A(ee){for(var ce=Object(T.i)(ee.rows,1),R=0;R<ee.rows;++R)for(var y=0;y<ee.columns;++y)ce[R]*=ee.get(R,y);return ce}function g(ee){for(var ce=Object(T.i)(ee.columns,1),R=0;R<ee.rows;++R)for(var y=0;y<ee.columns;++y)ce[y]*=ee.get(R,y);return ce}function b(ee){for(var ce=1,R=0;R<ee.rows;R++)for(var y=0;y<ee.columns;y++)ce*=ee.get(R,y);return ce}function d(ee,ce,R){for(var y=ee.rows,C=ee.columns,z=[],G=0;G<y;G++){for(var X=0,pe=0,ae=0,Se=0;Se<C;Se++)ae=ee.get(G,Se)-R[G],X+=ae,pe+=ae*ae;ce?z.push((pe-X*X/C)/(C-1)):z.push((pe-X*X/C)/C)}return z}function O(ee,ce,R){for(var y=ee.rows,C=ee.columns,z=[],G=0;G<C;G++){for(var X=0,pe=0,ae=0,Se=0;Se<y;Se++)ae=ee.get(Se,G)-R[G],X+=ae,pe+=ae*ae;ce?z.push((pe-X*X/y)/(y-1)):z.push((pe-X*X/y)/y)}return z}function E(ee,ce,R){for(var y=ee.rows,C=ee.columns,z=y*C,G=0,X=0,pe=0,ae=0;ae<y;ae++)for(var Se=0;Se<C;Se++)pe=ee.get(ae,Se)-R,G+=pe,X+=pe*pe;return ce?(X-G*G/z)/(z-1):(X-G*G/z)/z}function D(ee,ce){for(var R=0;R<ee.rows;R++)for(var y=0;y<ee.columns;y++)ee.set(R,y,ee.get(R,y)-ce[R])}function W(ee,ce){for(var R=0;R<ee.rows;R++)for(var y=0;y<ee.columns;y++)ee.set(R,y,ee.get(R,y)-ce[y])}function te(ee,ce){for(var R=0;R<ee.rows;R++)for(var y=0;y<ee.columns;y++)ee.set(R,y,ee.get(R,y)-ce)}function re(ee){for(var ce=[],R=0;R<ee.rows;R++){for(var y=0,C=0;C<ee.columns;C++)y+=Math.pow(ee.get(R,C),2)/(ee.columns-1);ce.push(Math.sqrt(y))}return ce}function ye(ee,ce){for(var R=0;R<ee.rows;R++)for(var y=0;y<ee.columns;y++)ee.set(R,y,ee.get(R,y)/ce[R])}function q(ee){for(var ce=[],R=0;R<ee.columns;R++){for(var y=0,C=0;C<ee.rows;C++)y+=Math.pow(ee.get(C,R),2)/(ee.rows-1);ce.push(Math.sqrt(y))}return ce}function oe(ee,ce){for(var R=0;R<ee.rows;R++)for(var y=0;y<ee.columns;y++)ee.set(R,y,ee.get(R,y)/ce[y])}function he(ee){for(var ce=ee.size-1,R=0,y=0;y<ee.columns;y++)for(var C=0;C<ee.rows;C++)R+=Math.pow(ee.get(C,y),2)/ce;return Math.sqrt(R)}function ue(ee,ce){for(var R=0;R<ee.rows;R++)for(var y=0;y<ee.columns;y++)ee.set(R,y,ee.get(R,y)/ce)}var ne=function(){function ee(){Object(f.a)(this,ee)}return Object(o.a)(ee,[{key:"size",get:function(){return this.rows*this.columns}},{key:"apply",value:function(R){if(typeof R!="function")throw new TypeError("callback must be a function");for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)R.call(this,y,C);return this}},{key:"to1DArray",value:function(){for(var R=[],y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)R.push(this.get(y,C));return R}},{key:"to2DArray",value:function(){for(var R=[],y=0;y<this.rows;y++){R.push([]);for(var C=0;C<this.columns;C++)R[y].push(this.get(y,C))}return R}},{key:"toJSON",value:function(){return this.to2DArray()}},{key:"isRowVector",value:function(){return this.rows===1}},{key:"isColumnVector",value:function(){return this.columns===1}},{key:"isVector",value:function(){return this.rows===1||this.columns===1}},{key:"isSquare",value:function(){return this.rows===this.columns}},{key:"isEmpty",value:function(){return this.rows===0||this.columns===0}},{key:"isSymmetric",value:function(){if(this.isSquare()){for(var R=0;R<this.rows;R++)for(var y=0;y<=R;y++)if(this.get(R,y)!==this.get(y,R))return!1;return!0}return!1}},{key:"isEchelonForm",value:function(){for(var R=0,y=0,C=-1,z=!0,G=!1;R<this.rows&&z;){for(y=0,G=!1;y<this.columns&&G===!1;)this.get(R,y)===0?y++:this.get(R,y)===1&&y>C?(G=!0,C=y):(z=!1,G=!0);R++}return z}},{key:"isReducedEchelonForm",value:function(){for(var R=0,y=0,C=-1,z=!0,G=!1;R<this.rows&&z;){for(y=0,G=!1;y<this.columns&&G===!1;)this.get(R,y)===0?y++:this.get(R,y)===1&&y>C?(G=!0,C=y):(z=!1,G=!0);for(var X=y+1;X<this.rows;X++)this.get(R,X)!==0&&(z=!1);R++}return z}},{key:"echelonForm",value:function(){for(var R=this.clone(),y=0,C=0;y<R.rows&&C<R.columns;){for(var z=y,G=y;G<R.rows;G++)R.get(G,C)>R.get(z,C)&&(z=G);if(R.get(z,C)===0)C++;else{R.swapRows(y,z);for(var X=R.get(y,C),pe=C;pe<R.columns;pe++)R.set(y,pe,R.get(y,pe)/X);for(var ae=y+1;ae<R.rows;ae++){var Se=R.get(ae,C)/R.get(y,C);R.set(ae,C,0);for(var Te=C+1;Te<R.columns;Te++)R.set(ae,Te,R.get(ae,Te)-R.get(y,Te)*Se)}y++,C++}}return R}},{key:"reducedEchelonForm",value:function(){for(var R=this.echelonForm(),y=R.columns,C=R.rows,z=C-1;z>=0;)if(R.maxRow(z)===0)z--;else{for(var G=0,X=!1;G<C&&X===!1;)R.get(z,G)===1?X=!0:G++;for(var pe=0;pe<z;pe++)for(var ae=R.get(pe,G),Se=G;Se<y;Se++){var Te=R.get(pe,Se)-ae*R.get(z,Se);R.set(pe,Se,Te)}z--}return R}},{key:"set",value:function(){throw new Error("set method is unimplemented")}},{key:"get",value:function(){throw new Error("get method is unimplemented")}},{key:"repeat",value:function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof R!="object")throw new TypeError("options must be an object");var y=R.rows,C=y===void 0?1:y,z=R.columns,G=z===void 0?1:z;if(!Number.isInteger(C)||C<=0)throw new TypeError("rows must be a positive integer");if(!Number.isInteger(G)||G<=0)throw new TypeError("columns must be a positive integer");for(var X=new Z(this.rows*C,this.columns*G),pe=0;pe<C;pe++)for(var ae=0;ae<G;ae++)X.setSubMatrix(this,this.rows*pe,this.columns*ae);return X}},{key:"fill",value:function(R){for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,R);return this}},{key:"neg",value:function(){return this.mulS(-1)}},{key:"getRow",value:function(R){Object(T.f)(this,R);for(var y=[],C=0;C<this.columns;C++)y.push(this.get(R,C));return y}},{key:"getRowVector",value:function(R){return Z.rowVector(this.getRow(R))}},{key:"setRow",value:function(R,y){Object(T.f)(this,R),y=Object(T.h)(this,y);for(var C=0;C<this.columns;C++)this.set(R,C,y[C]);return this}},{key:"swapRows",value:function(R,y){Object(T.f)(this,R),Object(T.f)(this,y);for(var C=0;C<this.columns;C++){var z=this.get(R,C);this.set(R,C,this.get(y,C)),this.set(y,C,z)}return this}},{key:"getColumn",value:function(R){Object(T.a)(this,R);for(var y=[],C=0;C<this.rows;C++)y.push(this.get(C,R));return y}},{key:"getColumnVector",value:function(R){return Z.columnVector(this.getColumn(R))}},{key:"setColumn",value:function(R,y){Object(T.a)(this,R),y=Object(T.c)(this,y);for(var C=0;C<this.rows;C++)this.set(C,R,y[C]);return this}},{key:"swapColumns",value:function(R,y){Object(T.a)(this,R),Object(T.a)(this,y);for(var C=0;C<this.rows;C++){var z=this.get(C,R);this.set(C,R,this.get(C,y)),this.set(C,y,z)}return this}},{key:"addRowVector",value:function(R){R=Object(T.h)(this,R);for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,this.get(y,C)+R[C]);return this}},{key:"subRowVector",value:function(R){R=Object(T.h)(this,R);for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,this.get(y,C)-R[C]);return this}},{key:"mulRowVector",value:function(R){R=Object(T.h)(this,R);for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,this.get(y,C)*R[C]);return this}},{key:"divRowVector",value:function(R){R=Object(T.h)(this,R);for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,this.get(y,C)/R[C]);return this}},{key:"addColumnVector",value:function(R){R=Object(T.c)(this,R);for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,this.get(y,C)+R[y]);return this}},{key:"subColumnVector",value:function(R){R=Object(T.c)(this,R);for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,this.get(y,C)-R[y]);return this}},{key:"mulColumnVector",value:function(R){R=Object(T.c)(this,R);for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,this.get(y,C)*R[y]);return this}},{key:"divColumnVector",value:function(R){R=Object(T.c)(this,R);for(var y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)this.set(y,C,this.get(y,C)/R[y]);return this}},{key:"mulRow",value:function(R,y){Object(T.f)(this,R);for(var C=0;C<this.columns;C++)this.set(R,C,this.get(R,C)*y);return this}},{key:"mulColumn",value:function(R,y){Object(T.a)(this,R);for(var C=0;C<this.rows;C++)this.set(C,R,this.get(C,R)*y);return this}},{key:"max",value:function(R){if(this.isEmpty())return NaN;switch(R){case"row":{for(var y=new Array(this.rows).fill(Number.NEGATIVE_INFINITY),C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.get(C,z)>y[C]&&(y[C]=this.get(C,z));return y}case"column":{for(var G=new Array(this.columns).fill(Number.NEGATIVE_INFINITY),X=0;X<this.rows;X++)for(var pe=0;pe<this.columns;pe++)this.get(X,pe)>G[pe]&&(G[pe]=this.get(X,pe));return G}case void 0:{for(var ae=this.get(0,0),Se=0;Se<this.rows;Se++)for(var Te=0;Te<this.columns;Te++)this.get(Se,Te)>ae&&(ae=this.get(Se,Te));return ae}default:throw new Error("invalid option: ".concat(R))}}},{key:"maxIndex",value:function(){Object(T.d)(this);for(var R=this.get(0,0),y=[0,0],C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.get(C,z)>R&&(R=this.get(C,z),y[0]=C,y[1]=z);return y}},{key:"min",value:function(R){if(this.isEmpty())return NaN;switch(R){case"row":{for(var y=new Array(this.rows).fill(Number.POSITIVE_INFINITY),C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.get(C,z)<y[C]&&(y[C]=this.get(C,z));return y}case"column":{for(var G=new Array(this.columns).fill(Number.POSITIVE_INFINITY),X=0;X<this.rows;X++)for(var pe=0;pe<this.columns;pe++)this.get(X,pe)<G[pe]&&(G[pe]=this.get(X,pe));return G}case void 0:{for(var ae=this.get(0,0),Se=0;Se<this.rows;Se++)for(var Te=0;Te<this.columns;Te++)this.get(Se,Te)<ae&&(ae=this.get(Se,Te));return ae}default:throw new Error("invalid option: ".concat(R))}}},{key:"minIndex",value:function(){Object(T.d)(this);for(var R=this.get(0,0),y=[0,0],C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)this.get(C,z)<R&&(R=this.get(C,z),y[0]=C,y[1]=z);return y}},{key:"maxRow",value:function(R){if(Object(T.f)(this,R),this.isEmpty())return NaN;for(var y=this.get(R,0),C=1;C<this.columns;C++)this.get(R,C)>y&&(y=this.get(R,C));return y}},{key:"maxRowIndex",value:function(R){Object(T.f)(this,R),Object(T.d)(this);for(var y=this.get(R,0),C=[R,0],z=1;z<this.columns;z++)this.get(R,z)>y&&(y=this.get(R,z),C[1]=z);return C}},{key:"minRow",value:function(R){if(Object(T.f)(this,R),this.isEmpty())return NaN;for(var y=this.get(R,0),C=1;C<this.columns;C++)this.get(R,C)<y&&(y=this.get(R,C));return y}},{key:"minRowIndex",value:function(R){Object(T.f)(this,R),Object(T.d)(this);for(var y=this.get(R,0),C=[R,0],z=1;z<this.columns;z++)this.get(R,z)<y&&(y=this.get(R,z),C[1]=z);return C}},{key:"maxColumn",value:function(R){if(Object(T.a)(this,R),this.isEmpty())return NaN;for(var y=this.get(0,R),C=1;C<this.rows;C++)this.get(C,R)>y&&(y=this.get(C,R));return y}},{key:"maxColumnIndex",value:function(R){Object(T.a)(this,R),Object(T.d)(this);for(var y=this.get(0,R),C=[0,R],z=1;z<this.rows;z++)this.get(z,R)>y&&(y=this.get(z,R),C[0]=z);return C}},{key:"minColumn",value:function(R){if(Object(T.a)(this,R),this.isEmpty())return NaN;for(var y=this.get(0,R),C=1;C<this.rows;C++)this.get(C,R)<y&&(y=this.get(C,R));return y}},{key:"minColumnIndex",value:function(R){Object(T.a)(this,R),Object(T.d)(this);for(var y=this.get(0,R),C=[0,R],z=1;z<this.rows;z++)this.get(z,R)<y&&(y=this.get(z,R),C[0]=z);return C}},{key:"diag",value:function(){for(var R=Math.min(this.rows,this.columns),y=[],C=0;C<R;C++)y.push(this.get(C,C));return y}},{key:"norm",value:function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"frobenius",y=0;if(R==="max")return this.max();if(R==="frobenius"){for(var C=0;C<this.rows;C++)for(var z=0;z<this.columns;z++)y=y+this.get(C,z)*this.get(C,z);return Math.sqrt(y)}else throw new RangeError("unknown norm type: ".concat(R))}},{key:"cumulativeSum",value:function(){for(var R=0,y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)R+=this.get(y,C),this.set(y,C,R);return this}},{key:"dot",value:function(R){ee.isMatrix(R)&&(R=R.to1DArray());var y=this.to1DArray();if(y.length!==R.length)throw new RangeError("vectors do not have the same size");for(var C=0,z=0;z<y.length;z++)C+=y[z]*R[z];return C}},{key:"mmul",value:function(R){R=Z.checkMatrix(R);for(var y=this.rows,C=this.columns,z=R.columns,G=new Z(y,z),X=new Float64Array(C),pe=0;pe<z;pe++){for(var ae=0;ae<C;ae++)X[ae]=R.get(ae,pe);for(var Se=0;Se<y;Se++){for(var Te=0,je=0;je<C;je++)Te+=this.get(Se,je)*X[je];G.set(Se,pe,Te)}}return G}},{key:"strassen2x2",value:function(R){R=Z.checkMatrix(R);var y=new Z(2,2),C=this.get(0,0),z=R.get(0,0),G=this.get(0,1),X=R.get(0,1),pe=this.get(1,0),ae=R.get(1,0),Se=this.get(1,1),Te=R.get(1,1),je=(C+Se)*(z+Te),ft=(pe+Se)*z,fe=C*(X-Te),ie=Se*(ae-z),ge=(C+G)*Te,Ve=(pe-C)*(z+X),Ee=(G-Se)*(ae+Te),Me=je+ie-ge+Ee,_e=fe+ge,Re=ft+ie,et=je-ft+fe+Ve;return y.set(0,0,Me),y.set(0,1,_e),y.set(1,0,Re),y.set(1,1,et),y}},{key:"strassen3x3",value:function(R){R=Z.checkMatrix(R);var y=new Z(3,3),C=this.get(0,0),z=this.get(0,1),G=this.get(0,2),X=this.get(1,0),pe=this.get(1,1),ae=this.get(1,2),Se=this.get(2,0),Te=this.get(2,1),je=this.get(2,2),ft=R.get(0,0),fe=R.get(0,1),ie=R.get(0,2),ge=R.get(1,0),Ve=R.get(1,1),Ee=R.get(1,2),Me=R.get(2,0),_e=R.get(2,1),Re=R.get(2,2),et=(C+z+G-X-pe-Te-je)*Ve,Xe=(C-X)*(-fe+Ve),it=pe*(-ft+fe+ge-Ve-Ee-Me+Re),bt=(-C+X+pe)*(ft-fe+Ve),Ct=(X+pe)*(-ft+fe),Bt=C*ft,qe=(-C+Se+Te)*(ft-ie+Ee),st=(-C+Se)*(ie-Ee),ut=(Se+Te)*(-ft+ie),nt=(C+z+G-pe-ae-Se-Te)*Ee,kt=Te*(-ft+ie+ge-Ve-Ee-Me+_e),Sn=(-G+Te+je)*(Ve+Me-_e),Tt=(G-je)*(Ve-_e),ht=G*Me,Rt=(Te+je)*(-Me+_e),Ft=(-G+pe+ae)*(Ee+Me-Re),nn=(G-ae)*(Ee-Re),bn=(pe+ae)*(-Me+Re),sn=z*ge,un=ae*_e,Ht=X*ie,jn=Se*fe,Ln=je*Re,Un=Bt+ht+sn,lt=et+bt+Ct+Bt+Sn+ht+Rt,Nt=Bt+qe+ut+nt+ht+Ft+bn,zt=Xe+it+bt+Bt+ht+Ft+nn,en=Xe+bt+Ct+Bt+un,tn=ht+Ft+nn+bn+Ht,wn=Bt+qe+st+kt+Sn+Tt+ht,on=Sn+Tt+ht+Rt+jn,vn=Bt+qe+st+ut+Ln;return y.set(0,0,Un),y.set(0,1,lt),y.set(0,2,Nt),y.set(1,0,zt),y.set(1,1,en),y.set(1,2,tn),y.set(2,0,wn),y.set(2,1,on),y.set(2,2,vn),y}},{key:"mmulStrassen",value:function(R){R=Z.checkMatrix(R);var y=this.clone(),C=y.rows,z=y.columns,G=R.rows,X=R.columns;z!==G&&console.warn("Multiplying ".concat(C," x ").concat(z," and ").concat(G," x ").concat(X," matrix: dimensions do not match."));function pe(je,ft,fe){var ie=je.rows,ge=je.columns;if(ie===ft&&ge===fe)return je;var Ve=ee.zeros(ft,fe);return Ve=Ve.setSubMatrix(je,0,0),Ve}var ae=Math.max(C,G),Se=Math.max(z,X);y=pe(y,ae,Se),R=pe(R,ae,Se);function Te(je,ft,fe,ie){if(fe<=512||ie<=512)return je.mmul(ft);fe%2==1&&ie%2==1?(je=pe(je,fe+1,ie+1),ft=pe(ft,fe+1,ie+1)):fe%2==1?(je=pe(je,fe+1,ie),ft=pe(ft,fe+1,ie)):ie%2==1&&(je=pe(je,fe,ie+1),ft=pe(ft,fe,ie+1));var ge=parseInt(je.rows/2,10),Ve=parseInt(je.columns/2,10),Ee=je.subMatrix(0,ge-1,0,Ve-1),Me=ft.subMatrix(0,ge-1,0,Ve-1),_e=je.subMatrix(0,ge-1,Ve,je.columns-1),Re=ft.subMatrix(0,ge-1,Ve,ft.columns-1),et=je.subMatrix(ge,je.rows-1,0,Ve-1),Xe=ft.subMatrix(ge,ft.rows-1,0,Ve-1),it=je.subMatrix(ge,je.rows-1,Ve,je.columns-1),bt=ft.subMatrix(ge,ft.rows-1,Ve,ft.columns-1),Ct=Te(ee.add(Ee,it),ee.add(Me,bt),ge,Ve),Bt=Te(ee.add(et,it),Me,ge,Ve),qe=Te(Ee,ee.sub(Re,bt),ge,Ve),st=Te(it,ee.sub(Xe,Me),ge,Ve),ut=Te(ee.add(Ee,_e),bt,ge,Ve),nt=Te(ee.sub(et,Ee),ee.add(Me,Re),ge,Ve),kt=Te(ee.sub(_e,it),ee.add(Xe,bt),ge,Ve),Sn=ee.add(Ct,st);Sn.sub(ut),Sn.add(kt);var Tt=ee.add(qe,ut),ht=ee.add(Bt,st),Rt=ee.sub(Ct,Bt);Rt.add(qe),Rt.add(nt);var Ft=ee.zeros(2*Sn.rows,2*Sn.columns);return Ft=Ft.setSubMatrix(Sn,0,0),Ft=Ft.setSubMatrix(Tt,Sn.rows,0),Ft=Ft.setSubMatrix(ht,0,Sn.columns),Ft=Ft.setSubMatrix(Rt,Sn.rows,Sn.columns),Ft.subMatrix(0,fe-1,0,ie-1)}return Te(y,R,ae,Se)}},{key:"scaleRows",value:function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof R!="object")throw new TypeError("options must be an object");var y=R.min,C=y===void 0?0:y,z=R.max,G=z===void 0?1:z;if(!Number.isFinite(C))throw new TypeError("min must be a number");if(!Number.isFinite(G))throw new TypeError("max must be a number");if(C>=G)throw new RangeError("min must be smaller than max");for(var X=new Z(this.rows,this.columns),pe=0;pe<this.rows;pe++){var ae=this.getRow(pe);ae.length>0&&v(ae,{min:C,max:G,output:ae}),X.setRow(pe,ae)}return X}},{key:"scaleColumns",value:function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof R!="object")throw new TypeError("options must be an object");var y=R.min,C=y===void 0?0:y,z=R.max,G=z===void 0?1:z;if(!Number.isFinite(C))throw new TypeError("min must be a number");if(!Number.isFinite(G))throw new TypeError("max must be a number");if(C>=G)throw new RangeError("min must be smaller than max");for(var X=new Z(this.rows,this.columns),pe=0;pe<this.columns;pe++){var ae=this.getColumn(pe);ae.length&&v(ae,{min:C,max:G,output:ae}),X.setColumn(pe,ae)}return X}},{key:"flipRows",value:function(){for(var R=Math.ceil(this.columns/2),y=0;y<this.rows;y++)for(var C=0;C<R;C++){var z=this.get(y,C),G=this.get(y,this.columns-1-C);this.set(y,C,G),this.set(y,this.columns-1-C,z)}return this}},{key:"flipColumns",value:function(){for(var R=Math.ceil(this.rows/2),y=0;y<this.columns;y++)for(var C=0;C<R;C++){var z=this.get(C,y),G=this.get(this.rows-1-C,y);this.set(C,y,G),this.set(this.rows-1-C,y,z)}return this}},{key:"kroneckerProduct",value:function(R){R=Z.checkMatrix(R);for(var y=this.rows,C=this.columns,z=R.rows,G=R.columns,X=new Z(y*z,C*G),pe=0;pe<y;pe++)for(var ae=0;ae<C;ae++)for(var Se=0;Se<z;Se++)for(var Te=0;Te<G;Te++)X.set(z*pe+Se,G*ae+Te,this.get(pe,ae)*R.get(Se,Te));return X}},{key:"kroneckerSum",value:function(R){if(R=Z.checkMatrix(R),!this.isSquare()||!R.isSquare())throw new Error("Kronecker Sum needs two Square Matrices");var y=this.rows,C=R.rows,z=this.kroneckerProduct(Z.eye(C,C)),G=Z.eye(y,y).kroneckerProduct(R);return z.add(G)}},{key:"transpose",value:function(){for(var R=new Z(this.columns,this.rows),y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)R.set(C,y,this.get(y,C));return R}},{key:"sortRows",value:function(){for(var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:se,y=0;y<this.rows;y++)this.setRow(y,this.getRow(y).sort(R));return this}},{key:"sortColumns",value:function(){for(var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:se,y=0;y<this.columns;y++)this.setColumn(y,this.getColumn(y).sort(R));return this}},{key:"subMatrix",value:function(R,y,C,z){Object(T.e)(this,R,y,C,z);for(var G=new Z(y-R+1,z-C+1),X=R;X<=y;X++)for(var pe=C;pe<=z;pe++)G.set(X-R,pe-C,this.get(X,pe));return G}},{key:"subMatrixRow",value:function(R,y,C){if(y===void 0&&(y=0),C===void 0&&(C=this.columns-1),y>C||y<0||y>=this.columns||C<0||C>=this.columns)throw new RangeError("Argument out of range");for(var z=new Z(R.length,C-y+1),G=0;G<R.length;G++)for(var X=y;X<=C;X++){if(R[G]<0||R[G]>=this.rows)throw new RangeError("Row index out of range: ".concat(R[G]));z.set(G,X-y,this.get(R[G],X))}return z}},{key:"subMatrixColumn",value:function(R,y,C){if(y===void 0&&(y=0),C===void 0&&(C=this.rows-1),y>C||y<0||y>=this.rows||C<0||C>=this.rows)throw new RangeError("Argument out of range");for(var z=new Z(C-y+1,R.length),G=0;G<R.length;G++)for(var X=y;X<=C;X++){if(R[G]<0||R[G]>=this.columns)throw new RangeError("Column index out of range: ".concat(R[G]));z.set(X-y,G,this.get(X,R[G]))}return z}},{key:"setSubMatrix",value:function(R,y,C){if(R=Z.checkMatrix(R),R.isEmpty())return this;var z=y+R.rows-1,G=C+R.columns-1;Object(T.e)(this,y,z,C,G);for(var X=0;X<R.rows;X++)for(var pe=0;pe<R.columns;pe++)this.set(y+X,C+pe,R.get(X,pe));return this}},{key:"selection",value:function(R,y){Object(T.g)(this,R),Object(T.b)(this,y);for(var C=new Z(R.length,y.length),z=0;z<R.length;z++)for(var G=R[z],X=0;X<y.length;X++){var pe=y[X];C.set(z,X,this.get(G,pe))}return C}},{key:"trace",value:function(){for(var R=Math.min(this.rows,this.columns),y=0,C=0;C<R;C++)y+=this.get(C,C);return y}},{key:"clone",value:function(){for(var R=new Z(this.rows,this.columns),y=0;y<this.rows;y++)for(var C=0;C<this.columns;C++)R.set(y,C,this.get(y,C));return R}},{key:"sum",value:function(R){switch(R){case"row":return I(this);case"column":return Y(this);case void 0:return $(this);default:throw new Error("invalid option: ".concat(R))}}},{key:"product",value:function(R){switch(R){case"row":return A(this);case"column":return g(this);case void 0:return b(this);default:throw new Error("invalid option: ".concat(R))}}},{key:"mean",value:function(R){var y=this.sum(R);switch(R){case"row":{for(var C=0;C<this.rows;C++)y[C]/=this.columns;return y}case"column":{for(var z=0;z<this.columns;z++)y[z]/=this.rows;return y}case void 0:return y/this.size;default:throw new Error("invalid option: ".concat(R))}}},{key:"variance",value:function(R){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof R=="object"&&(y=R,R=void 0),typeof y!="object")throw new TypeError("options must be an object");var C=y,z=C.unbiased,G=z===void 0?!0:z,X=C.mean,pe=X===void 0?this.mean(R):X;if(typeof G!="boolean")throw new TypeError("unbiased must be a boolean");switch(R){case"row":{if(!Object(i.a)(pe))throw new TypeError("mean must be an array");return d(this,G,pe)}case"column":{if(!Object(i.a)(pe))throw new TypeError("mean must be an array");return O(this,G,pe)}case void 0:{if(typeof pe!="number")throw new TypeError("mean must be a number");return E(this,G,pe)}default:throw new Error("invalid option: ".concat(R))}}},{key:"standardDeviation",value:function(R,y){typeof R=="object"&&(y=R,R=void 0);var C=this.variance(R,y);if(R===void 0)return Math.sqrt(C);for(var z=0;z<C.length;z++)C[z]=Math.sqrt(C[z]);return C}},{key:"center",value:function(R){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof R=="object"&&(y=R,R=void 0),typeof y!="object")throw new TypeError("options must be an object");var C=y,z=C.center,G=z===void 0?this.mean(R):z;switch(R){case"row":{if(!Object(i.a)(G))throw new TypeError("center must be an array");return D(this,G),this}case"column":{if(!Object(i.a)(G))throw new TypeError("center must be an array");return W(this,G),this}case void 0:{if(typeof G!="number")throw new TypeError("center must be a number");return te(this,G),this}default:throw new Error("invalid option: ".concat(R))}}},{key:"scale",value:function(R){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof R=="object"&&(y=R,R=void 0),typeof y!="object")throw new TypeError("options must be an object");var C=y.scale;switch(R){case"row":{if(C===void 0)C=re(this);else if(!Object(i.a)(C))throw new TypeError("scale must be an array");return ye(this,C),this}case"column":{if(C===void 0)C=q(this);else if(!Object(i.a)(C))throw new TypeError("scale must be an array");return oe(this,C),this}case void 0:{if(C===void 0)C=he(this);else if(typeof C!="number")throw new TypeError("scale must be a number");return ue(this,C),this}default:throw new Error("invalid option: ".concat(R))}}},{key:"toString",value:function(R){return l(this,R)}}],[{key:"from1DArray",value:function(R,y,C){var z=R*y;if(z!==C.length)throw new RangeError("data length does not match given dimensions");for(var G=new Z(R,y),X=0;X<R;X++)for(var pe=0;pe<y;pe++)G.set(X,pe,C[X*y+pe]);return G}},{key:"rowVector",value:function(R){for(var y=new Z(1,R.length),C=0;C<R.length;C++)y.set(0,C,R[C]);return y}},{key:"columnVector",value:function(R){for(var y=new Z(R.length,1),C=0;C<R.length;C++)y.set(C,0,R[C]);return y}},{key:"zeros",value:function(R,y){return new Z(R,y)}},{key:"ones",value:function(R,y){return new Z(R,y).fill(1)}},{key:"rand",value:function(R,y){var C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof C!="object")throw new TypeError("options must be an object");for(var z=C.random,G=z===void 0?Math.random:z,X=new Z(R,y),pe=0;pe<R;pe++)for(var ae=0;ae<y;ae++)X.set(pe,ae,G());return X}},{key:"randInt",value:function(R,y){var C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof C!="object")throw new TypeError("options must be an object");var z=C.min,G=z===void 0?0:z,X=C.max,pe=X===void 0?1e3:X,ae=C.random,Se=ae===void 0?Math.random:ae;if(!Number.isInteger(G))throw new TypeError("min must be an integer");if(!Number.isInteger(pe))throw new TypeError("max must be an integer");if(G>=pe)throw new RangeError("min must be smaller than max");for(var Te=pe-G,je=new Z(R,y),ft=0;ft<R;ft++)for(var fe=0;fe<y;fe++){var ie=G+Math.round(Se()*Te);je.set(ft,fe,ie)}return je}},{key:"eye",value:function(R,y,C){y===void 0&&(y=R),C===void 0&&(C=1);for(var z=Math.min(R,y),G=this.zeros(R,y),X=0;X<z;X++)G.set(X,X,C);return G}},{key:"diag",value:function(R,y,C){var z=R.length;y===void 0&&(y=z),C===void 0&&(C=y);for(var G=Math.min(z,y,C),X=this.zeros(y,C),pe=0;pe<G;pe++)X.set(pe,pe,R[pe]);return X}},{key:"min",value:function(R,y){R=this.checkMatrix(R),y=this.checkMatrix(y);for(var C=R.rows,z=R.columns,G=new Z(C,z),X=0;X<C;X++)for(var pe=0;pe<z;pe++)G.set(X,pe,Math.min(R.get(X,pe),y.get(X,pe)));return G}},{key:"max",value:function(R,y){R=this.checkMatrix(R),y=this.checkMatrix(y);for(var C=R.rows,z=R.columns,G=new this(C,z),X=0;X<C;X++)for(var pe=0;pe<z;pe++)G.set(X,pe,Math.max(R.get(X,pe),y.get(X,pe)));return G}},{key:"checkMatrix",value:function(R){return ee.isMatrix(R)?R:new Z(R)}},{key:"isMatrix",value:function(R){return R!=null&&R.klass==="Matrix"}}]),ee}();ne.prototype.klass="Matrix",typeof Symbol!="undefined"&&(ne.prototype[Symbol.for("nodejs.util.inspect.custom")]=t);function se(ee,ce){return ee-ce}function be(ee){return ee.every(function(ce){return typeof ce=="number"})}ne.random=ne.rand,ne.randomInt=ne.randInt,ne.diagonal=ne.diag,ne.prototype.diagonal=ne.prototype.diag,ne.identity=ne.eye,ne.prototype.negate=ne.prototype.neg,ne.prototype.tensorProduct=ne.prototype.kroneckerProduct;var Z=function(ee){Object(c.a)(R,ee);var ce=Object(r.a)(R);function R(y,C){var z;if(Object(f.a)(this,R),z=ce.call(this),R.isMatrix(y))return Object(u.a)(z,y.clone());if(Number.isInteger(y)&&y>=0)if(z.data=[],Number.isInteger(C)&&C>=0)for(var G=0;G<y;G++)z.data.push(new Float64Array(C));else throw new TypeError("nColumns must be a positive integer");else if(Object(i.a)(y)){var X=y;if(y=X.length,C=y?X[0].length:0,typeof C!="number")throw new TypeError("Data must be a 2D array with at least one element");z.data=[];for(var pe=0;pe<y;pe++){if(X[pe].length!==C)throw new RangeError("Inconsistent array dimensions");if(!be(X[pe]))throw new TypeError("Input data contains non-numeric values");z.data.push(Float64Array.from(X[pe]))}}else throw new TypeError("First argument must be a positive number or an array");return z.rows=y,z.columns=C,z}return Object(o.a)(R,[{key:"set",value:function(C,z,G){return this.data[C][z]=G,this}},{key:"get",value:function(C,z){return this.data[C][z]}},{key:"removeRow",value:function(C){return Object(T.f)(this,C),this.data.splice(C,1),this.rows-=1,this}},{key:"addRow",value:function(C,z){return z===void 0&&(z=C,C=this.rows),Object(T.f)(this,C,!0),z=Float64Array.from(Object(T.h)(this,z)),this.data.splice(C,0,z),this.rows+=1,this}},{key:"removeColumn",value:function(C){Object(T.a)(this,C);for(var z=0;z<this.rows;z++){for(var G=new Float64Array(this.columns-1),X=0;X<C;X++)G[X]=this.data[z][X];for(var pe=C+1;pe<this.columns;pe++)G[pe-1]=this.data[z][pe];this.data[z]=G}return this.columns-=1,this}},{key:"addColumn",value:function(C,z){typeof z=="undefined"&&(z=C,C=this.columns),Object(T.a)(this,C,!0),z=Object(T.c)(this,z);for(var G=0;G<this.rows;G++){for(var X=new Float64Array(this.columns+1),pe=0;pe<C;pe++)X[pe]=this.data[G][pe];for(X[pe++]=z[G];pe<this.columns+1;pe++)X[pe]=this.data[G][pe-1];this.data[G]=X}return this.columns+=1,this}}]),R}(ne);k(ne,Z)},"/4Qr":function(Ie,M,e){"use strict";e.d(M,"b",function(){return $});var u=e("Znn+"),c=e("ZTPi"),r=e("GNNt"),f=e("wEI+"),o=e("Ff2n"),i=e("VTBJ"),a=e("nKUr"),n=e.n(a),v=e("TSYQ"),m=e.n(v),h=e("Zm9Q"),t=e("Kwbf"),l=e("q1tI"),p=e.n(l),w=e("lIPi"),S=e("VzZb"),k=e.n(S),T=["tab","children"],I=["key","tab","tabKey","disabled","destroyInactiveTabPane","children","className","style","cardProps"];function Y(g){return g.filter(function(b){return b})}function $(g,b,d){if(g)return g.map(function(E){return Object(i.a)(Object(i.a)({},E),{},{children:Object(a.jsx)(w.a,Object(i.a)(Object(i.a)({},d==null?void 0:d.cardProps),{},{children:E.children}))})});Object(t.b)(!d,"Tabs.TabPane is deprecated. Please use `items` directly.");var O=Object(h.a)(b).map(function(E){if(p.a.isValidElement(E)){var D=E.key,W=E.props,te=W||{},re=te.tab,ye=te.children,q=Object(o.a)(te,T),oe=Object(i.a)(Object(i.a)({key:String(D)},q),{},{children:Object(a.jsx)(w.a,Object(i.a)(Object(i.a)({},d==null?void 0:d.cardProps),{},{children:ye})),label:re});return oe}return null});return Y(O)}var A=function(b){var d=b.key,O=b.tab,E=b.tabKey,D=b.disabled,W=b.destroyInactiveTabPane,te=b.children,re=b.className,ye=b.style,q=b.cardProps,oe=Object(o.a)(b,I),he=Object(l.useContext)(f.a.ConfigContext),ue=he.getPrefixCls,ne=ue("pro-card-tabpane"),se=m()(ne,re);return Object(a.jsx)(c.a.TabPane,Object(i.a)(Object(i.a)({tabKey:E,tab:O,className:se,style:ye,disabled:D,destroyInactiveTabPane:W},oe),{},{children:Object(a.jsx)(w.a,Object(i.a)(Object(i.a)({},q),{},{children:te}))}),d)};M.a=A},"/6w4":function(Ie,M,e){},"/FUP":function(Ie,M,e){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.ReactCSS=M.loop=M.handleActive=M.handleHover=M.hover=void 0;var u=e("W3HW"),c=l(u),r=e("lreK"),f=l(r),o=e("KfSR"),i=l(o),a=e("VYtm"),n=l(a),v=e("XQvf"),m=l(v),h=e("B5Mt"),t=l(h);function l(w){return w&&w.__esModule?w:{default:w}}M.hover=n.default,M.handleHover=n.default,M.handleActive=m.default,M.loop=t.default;var p=M.ReactCSS=function(S){for(var k=arguments.length,T=Array(k>1?k-1:0),I=1;I<k;I++)T[I-1]=arguments[I];var Y=(0,c.default)(T),$=(0,f.default)(S,Y);return(0,i.default)($)};M.default=p},"/MfK":function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="DeleteOutlined";var a=M.a=c.forwardRef(i)},"/PRe":function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("VTBJ"),c=e("U8pU"),r=function(){for(var o={},i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];for(var v=a.length,m,h=0;h<v;h+=1)for(m in a[h])a[h].hasOwnProperty(m)&&(Object(c.a)(o[m])==="object"&&Object(c.a)(a[h][m])==="object"&&o[m]!==void 0&&o[m]!==null&&!Array.isArray(o[m])&&!Array.isArray(a[h][m])?o[m]=Object(u.a)(Object(u.a)({},o[m]),a[h][m]):o[m]=a[h][m]);return o}},"/TcX":function(Ie,M,e){"use strict";e.r(M),e.d(M,"mat3",function(){return c.mat3}),e.d(M,"vec2",function(){return c.vec2}),e.d(M,"vec3",function(){return c.vec3}),e.d(M,"ext",function(){return u});var u={};e.r(u),e.d(u,"leftTranslate",function(){return r}),e.d(u,"leftRotate",function(){return f}),e.d(u,"leftScale",function(){return o}),e.d(u,"transform",function(){return a}),e.d(u,"direction",function(){return n}),e.d(u,"angleTo",function(){return v}),e.d(u,"vertical",function(){return m});var c=e("IOcx");function r(h,t,l){var p=[0,0,0,0,0,0,0,0,0];return c.mat3.fromTranslation(p,l),c.mat3.multiply(h,p,t)}function f(h,t,l){var p=[0,0,0,0,0,0,0,0,0];return c.mat3.fromRotation(p,l),c.mat3.multiply(h,p,t)}function o(h,t,l){var p=[0,0,0,0,0,0,0,0,0];return c.mat3.fromScaling(p,l),c.mat3.multiply(h,p,t)}function i(h,t,l){return c.mat3.multiply(h,l,t)}function a(h,t){for(var l=h?[].concat(h):[1,0,0,0,1,0,0,0,1],p=0,w=t.length;p<w;p++){var S=t[p];switch(S[0]){case"t":r(l,l,[S[1],S[2]]);break;case"s":o(l,l,[S[1],S[2]]);break;case"r":f(l,l,S[1]);break;case"m":i(l,l,S[1]);break;default:break}}return l}function n(h,t){return h[0]*t[1]-t[0]*h[1]}function v(h,t,l){var p=c.vec2.angle(h,t),w=n(h,t)>=0;return l?w?Math.PI*2-p:p:w?p:Math.PI*2-p}function m(h,t,l){return l?(h[0]=t[1],h[1]=-1*t[0]):(h[0]=-1*t[1],h[1]=t[0]),h}},"/UlZ":function(Ie,M,e){"use strict";e.d(M,"h",function(){return v}),e.d(M,"b",function(){return m}),e.d(M,"j",function(){return h}),e.d(M,"a",function(){return t}),e.d(M,"k",function(){return S}),e.d(M,"n",function(){return $}),e.d(M,"i",function(){return D}),e.d(M,"e",function(){return q}),e.d(M,"f",function(){return be}),e.d(M,"m",function(){return ae}),e.d(M,"c",function(){return Re}),e.d(M,"d",function(){return et}),e.d(M,"l",function(){return Xe}),e.d(M,"g",function(){return bt});var u=e("rAM+"),c=e("yKVA"),r=e("879j"),f=e("fWQN"),o=e("mtLc"),i=e("3/fG"),a=e("MNsG"),n=e("0JNc"),v=8,m=function(){function Ct(Bt){Object(f.a)(this,Ct),this._values=Bt}return Object(o.a)(Ct,[{key:"hasChanged",value:function(qe){return this._values[qe]}}]),Ct}(),h=function(){function Ct(){Object(f.a)(this,Ct),this._values=[]}return Object(o.a)(Ct,[{key:"_read",value:function(qe){return this._values[qe]}},{key:"get",value:function(qe){return this._values[qe]}},{key:"_write",value:function(qe,st){this._values[qe]=st}}]),Ct}(),t=Object(o.a)(function Ct(){Object(f.a)(this,Ct),this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}),l=function(){function Ct(Bt,qe,st,ut){Object(f.a)(this,Ct),this.id=Bt,this.name=qe,this.defaultValue=st,this.schema=ut}return Object(o.a)(Ct,[{key:"compute",value:function(qe,st,ut){return ut}}]),Ct}(),p=function(){function Ct(Bt){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Object(f.a)(this,Ct),this.schema=void 0,this.id=Bt,this.name="_never_",this.defaultValue=void 0,this.deps=qe}return Object(o.a)(Ct,[{key:"validate",value:function(qe){return this.defaultValue}}]),Ct}(),w=function(){function Ct(Bt,qe,st,ut){Object(f.a)(this,Ct),this.id=Bt,this.name=qe,this.defaultValue=st,this.schema=ut}return Object(o.a)(Ct,[{key:"validate",value:function(qe){return typeof qe=="undefined"?this.defaultValue:qe}},{key:"compute",value:function(qe,st,ut){return ut}}]),Ct}();function S(Ct,Bt){return typeof Ct=="undefined"?Bt:Ct==="false"?!1:Boolean(Ct)}var k=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(st,ut,nt){var kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:void 0;return Object(f.a)(this,qe),typeof kt!="undefined"&&(kt.type="boolean",kt.default=nt),Bt.call(this,st,ut,nt,kt)}return Object(o.a)(qe,[{key:"validate",value:function(ut){return S(ut,this.defaultValue)}}]),qe}(w),T=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(st,ut,nt,kt,Sn){var Tt,ht=arguments.length>5&&arguments[5]!==void 0?arguments[5]:void 0;return Object(f.a)(this,qe),typeof ht!="undefined"&&(ht.type="integer",ht.default=nt,ht.minimum=kt,ht.maximum=Sn),Tt=Bt.call(this,st,ut,nt,ht),Tt.minimum=kt,Tt.maximum=Sn,Tt}return Object(o.a)(qe,[{key:"validate",value:function(ut){return qe.clampedInt(ut,this.defaultValue,this.minimum,this.maximum)}}],[{key:"clampedInt",value:function(ut,nt,kt,Sn){if(typeof ut=="undefined")return nt;var Tt=parseInt(ut,10);return isNaN(Tt)?nt:(Tt=Math.max(kt,Tt),Tt=Math.min(Sn,Tt),Tt|0)}}]),qe}(w),I=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(st,ut,nt,kt,Sn){var Tt;return Object(f.a)(this,qe),typeof Sn!="undefined"&&(Sn.type="number",Sn.default=nt),Tt=Bt.call(this,st,ut,nt,Sn),Tt.validationFn=kt,Tt}return Object(o.a)(qe,[{key:"validate",value:function(ut){return this.validationFn(qe.float(ut,this.defaultValue))}}],[{key:"clamp",value:function(ut,nt,kt){return ut<nt?nt:ut>kt?kt:ut}},{key:"float",value:function(ut,nt){if(typeof ut=="number")return ut;if(typeof ut=="undefined")return nt;var kt=parseFloat(ut);return isNaN(kt)?nt:kt}}]),qe}(w),Y=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(st,ut,nt){var kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:void 0;return Object(f.a)(this,qe),typeof kt!="undefined"&&(kt.type="string",kt.default=nt),Bt.call(this,st,ut,nt,kt)}return Object(o.a)(qe,[{key:"validate",value:function(ut){return qe.string(ut,this.defaultValue)}}],[{key:"string",value:function(ut,nt){return typeof ut!="string"?nt:ut}}]),qe}(w);function $(Ct,Bt,qe){return typeof Ct!="string"||qe.indexOf(Ct)===-1?Bt:Ct}var A=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(st,ut,nt,kt){var Sn,Tt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:void 0;return Object(f.a)(this,qe),typeof Tt!="undefined"&&(Tt.type="string",Tt.enum=kt,Tt.default=nt),Sn=Bt.call(this,st,ut,nt,Tt),Sn._allowedValues=kt,Sn}return Object(o.a)(qe,[{key:"validate",value:function(ut){return $(ut,this.defaultValue,this._allowedValues)}}]),qe}(w),g=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(st,ut,nt,kt,Sn,Tt){var ht,Rt=arguments.length>6&&arguments[6]!==void 0?arguments[6]:void 0;return Object(f.a)(this,qe),typeof Rt!="undefined"&&(Rt.type="string",Rt.enum=Sn,Rt.default=kt),ht=Bt.call(this,st,ut,nt,Rt),ht._allowedValues=Sn,ht._convert=Tt,ht}return Object(o.a)(qe,[{key:"validate",value:function(ut){return typeof ut!="string"?this.defaultValue:this._allowedValues.indexOf(ut)===-1?this.defaultValue:this._convert(ut)}}]),qe}(l);function b(Ct){switch(Ct){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}var d=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,2,"accessibilitySupport",0,{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. Word wrapping will be disabled."),i.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:i.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}return Object(o.a)(qe,[{key:"validate",value:function(ut){switch(ut){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}},{key:"compute",value:function(ut,nt,kt){return kt===0?ut.accessibilitySupport:kt}}]),qe}(l),O=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st={insertSpace:!0,ignoreEmptyLines:!0};return Bt.call(this,17,"comments",st,{"editor.comments.insertSpace":{type:"boolean",default:st.insertSpace,description:i.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:st.ignoreEmptyLines,description:i.a("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut;return{insertSpace:S(nt.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:S(nt.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}]),qe}(l);function E(Ct){switch(Ct){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var D;(function(Ct){Ct[Ct.Line=1]="Line",Ct[Ct.Block=2]="Block",Ct[Ct.Underline=3]="Underline",Ct[Ct.LineThin=4]="LineThin",Ct[Ct.BlockOutline=5]="BlockOutline",Ct[Ct.UnderlineThin=6]="UnderlineThin"})(D||(D={}));function W(Ct){switch(Ct){case"line":return D.Line;case"block":return D.Block;case"underline":return D.Underline;case"line-thin":return D.LineThin;case"block-outline":return D.BlockOutline;case"underline-thin":return D.UnderlineThin}}var te=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,124,[62,31])}return Object(o.a)(qe,[{key:"compute",value:function(ut,nt,kt){var Sn=["monaco-editor"];return nt.get(31)&&Sn.push(nt.get(31)),ut.extraEditorClassName&&Sn.push(ut.extraEditorClassName),nt.get(62)==="default"?Sn.push("mouse-default"):nt.get(62)==="copy"&&Sn.push("mouse-copy"),nt.get(97)&&Sn.push("showUnused"),nt.get(122)&&Sn.push("showDeprecated"),Sn.join(" ")}}]),qe}(p),re=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,30,"emptySelectionClipboard",!0,{description:i.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}return Object(o.a)(qe,[{key:"compute",value:function(ut,nt,kt){return kt&&ut.emptySelectionClipboard}}]),qe}(k),ye=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st={cursorMoveOnType:!0,seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};return Bt.call(this,33,"find",st,{"editor.find.cursorMoveOnType":{type:"boolean",default:st.cursorMoveOnType,description:i.a("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"boolean",default:st.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:"string",enum:["never","always","multiline"],default:st.autoFindInSelection,enumDescriptions:[i.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)."),i.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically."),i.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:i.a("find.autoFindInSelection","Controls the condition for turning on find in selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:st.globalFindClipboard,description:i.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:a.f},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:st.addExtraSpaceOnTop,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.find.loop":{type:"boolean",default:st.loop,description:i.a("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut;return{cursorMoveOnType:S(nt.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:S(nt.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:typeof ut.autoFindInSelection=="boolean"?ut.autoFindInSelection?"always":"never":$(nt.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:S(nt.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:S(nt.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:S(nt.loop,this.defaultValue.loop)}}}]),qe}(l),q=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,41,"fontLigatures",qe.OFF,{anyOf:[{type:"boolean",description:i.a("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:i.a("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:i.a("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}return Object(o.a)(qe,[{key:"validate",value:function(ut){return typeof ut=="undefined"?this.defaultValue:typeof ut=="string"?ut==="false"?qe.OFF:ut==="true"?qe.ON:ut:Boolean(ut)?qe.ON:qe.OFF}}]),qe}(l);q.OFF='"liga" off, "calt" off',q.ON='"liga" on, "calt" on';var oe=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,40)}return Object(o.a)(qe,[{key:"compute",value:function(ut,nt,kt){return ut.fontInfo}}]),qe}(p),he=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,42,"fontSize",Re.fontSize,{type:"number",minimum:6,maximum:100,default:Re.fontSize,description:i.a("fontSize","Controls the font size in pixels.")})}return Object(o.a)(qe,[{key:"validate",value:function(ut){var nt=I.float(ut,this.defaultValue);return nt===0?Re.fontSize:I.clamp(nt,6,100)}},{key:"compute",value:function(ut,nt,kt){return ut.fontInfo.fontSize}}]),qe}(w),ue=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,43,"fontWeight",Re.fontWeight,{anyOf:[{type:"number",minimum:qe.MINIMUM_VALUE,maximum:qe.MAXIMUM_VALUE,errorMessage:i.a("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:qe.SUGGESTION_VALUES}],default:Re.fontWeight,description:i.a("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}return Object(o.a)(qe,[{key:"validate",value:function(ut){return ut==="normal"||ut==="bold"?ut:String(T.clampedInt(ut,Re.fontWeight,qe.MINIMUM_VALUE,qe.MAXIMUM_VALUE))}}]),qe}(l);ue.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],ue.MINIMUM_VALUE=1,ue.MAXIMUM_VALUE=1e3;var ne=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},ut={type:"string",enum:["peek","gotoAndPeek","goto"],default:st.multiple,enumDescriptions:[i.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),i.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),i.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]},nt=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];return Bt.call(this,47,"gotoLocation",st,{"editor.gotoLocation.multiple":{deprecationMessage:i.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:i.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},ut),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:i.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},ut),"editor.gotoLocation.multipleDeclarations":Object.assign({description:i.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},ut),"editor.gotoLocation.multipleImplementations":Object.assign({description:i.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},ut),"editor.gotoLocation.multipleReferences":Object.assign({description:i.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},ut),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:st.alternativeDefinitionCommand,enum:nt,description:i.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:st.alternativeTypeDefinitionCommand,enum:nt,description:i.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:st.alternativeDeclarationCommand,enum:nt,description:i.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:st.alternativeImplementationCommand,enum:nt,description:i.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:st.alternativeReferenceCommand,enum:nt,description:i.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){var nt,kt,Sn,Tt,ht;if(!ut||typeof ut!="object")return this.defaultValue;var Rt=ut;return{multiple:$(Rt.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(nt=Rt.multipleDefinitions)!==null&&nt!==void 0?nt:$(Rt.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(kt=Rt.multipleTypeDefinitions)!==null&&kt!==void 0?kt:$(Rt.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(Sn=Rt.multipleDeclarations)!==null&&Sn!==void 0?Sn:$(Rt.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(Tt=Rt.multipleImplementations)!==null&&Tt!==void 0?Tt:$(Rt.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(ht=Rt.multipleReferences)!==null&&ht!==void 0?ht:$(Rt.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:Y.string(Rt.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Y.string(Rt.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Y.string(Rt.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Y.string(Rt.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Y.string(Rt.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}]),qe}(l),se=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st={enabled:!0,delay:300,sticky:!0};return Bt.call(this,50,"hover",st,{"editor.hover.enabled":{type:"boolean",default:st.enabled,description:i.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:st.delay,description:i.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:st.sticky,description:i.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut;return{enabled:S(nt.enabled,this.defaultValue.enabled),delay:T.clampedInt(nt.delay,this.defaultValue.delay,0,1e4),sticky:S(nt.sticky,this.defaultValue.sticky)}}}]),qe}(l),be=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,127,[46,54,35,61,89,56,57,91,114,117,118,119,2])}return Object(o.a)(qe,[{key:"compute",value:function(ut,nt,kt){return qe.computeLayout(nt,{memory:ut.memory,outerWidth:ut.outerWidth,outerHeight:ut.outerHeight,isDominatedByLongLines:ut.isDominatedByLongLines,lineHeight:ut.fontInfo.lineHeight,viewLineCount:ut.viewLineCount,lineNumbersDigitCount:ut.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:ut.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:ut.fontInfo.maxDigitWidth,pixelRatio:ut.pixelRatio})}}],[{key:"computeContainedMinimapLineCount",value:function(ut){var nt=ut.height/ut.lineHeight,kt=ut.scrollBeyondLastLine?nt-1:0,Sn=(ut.viewLineCount+kt)/(ut.pixelRatio*ut.height),Tt=Math.floor(ut.viewLineCount/Sn);return{typicalViewportLineCount:nt,extraLinesBeyondLastLine:kt,desiredRatio:Sn,minimapLineCount:Tt}}},{key:"_computeMinimapLayout",value:function(ut,nt){var kt=ut.outerWidth,Sn=ut.outerHeight,Tt=ut.pixelRatio;if(!ut.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(Tt*Sn),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:Sn};var ht=nt.stableMinimapLayoutInput,Rt=ht&&ut.outerHeight===ht.outerHeight&&ut.lineHeight===ht.lineHeight&&ut.typicalHalfwidthCharacterWidth===ht.typicalHalfwidthCharacterWidth&&ut.pixelRatio===ht.pixelRatio&&ut.scrollBeyondLastLine===ht.scrollBeyondLastLine&&ut.minimap.enabled===ht.minimap.enabled&&ut.minimap.side===ht.minimap.side&&ut.minimap.size===ht.minimap.size&&ut.minimap.showSlider===ht.minimap.showSlider&&ut.minimap.renderCharacters===ht.minimap.renderCharacters&&ut.minimap.maxColumn===ht.minimap.maxColumn&&ut.minimap.scale===ht.minimap.scale&&ut.verticalScrollbarWidth===ht.verticalScrollbarWidth&&ut.isViewportWrapping===ht.isViewportWrapping,Ft=ut.lineHeight,nn=ut.typicalHalfwidthCharacterWidth,bn=ut.scrollBeyondLastLine,sn=ut.minimap.renderCharacters,un=Tt>=2?Math.round(ut.minimap.scale*2):ut.minimap.scale,Ht=ut.minimap.maxColumn,jn=ut.minimap.size,Ln=ut.minimap.side,Un=ut.verticalScrollbarWidth,lt=ut.viewLineCount,Nt=ut.remainingWidth,zt=ut.isViewportWrapping,en=sn?2:3,tn=Math.floor(Tt*Sn),wn=tn/Tt,on=!1,vn=!1,dt=en*un,ct=un/Tt,Kt=1;if(jn==="fill"||jn==="fit"){var pn=qe.computeContainedMinimapLineCount({viewLineCount:lt,scrollBeyondLastLine:bn,height:Sn,lineHeight:Ft,pixelRatio:Tt}),kn=pn.typicalViewportLineCount,Pt=pn.extraLinesBeyondLastLine,gn=pn.desiredRatio,_n=pn.minimapLineCount,Kn=lt/_n;if(Kn>1)on=!0,vn=!0,un=1,dt=1,ct=un/Tt;else{var qn=!1,rr=un+1;if(jn==="fit"){var Rn=Math.ceil((lt+Pt)*dt);zt&&Rt&&Nt<=nt.stableFitRemainingWidth?(qn=!0,rr=nt.stableFitMaxMinimapScale):(qn=Rn>tn,zt&&qn?(nt.stableMinimapLayoutInput=ut,nt.stableFitRemainingWidth=Nt):(nt.stableMinimapLayoutInput=null,nt.stableFitRemainingWidth=0))}if(jn==="fill"||qn){on=!0;var mr=un;dt=Math.min(Ft*Tt,Math.max(1,Math.floor(1/gn))),un=Math.min(rr,Math.max(1,Math.floor(dt/en))),un>mr&&(Kt=Math.min(2,un/mr)),ct=un/Tt/Kt,tn=Math.ceil(Math.max(kn,lt+Pt)*dt),zt&&qn&&(nt.stableFitMaxMinimapScale=un)}}}var ar=Math.floor(Ht*ct),sr=Math.min(ar,Math.max(0,Math.floor((Nt-Un-2)*ct/(nn+ct)))+v),yr=Math.floor(Tt*sr),br=yr/Tt;yr=Math.floor(yr*Kt);var _r=sn?1:2,li=Ln==="left"?0:kt-sr-Un;return{renderMinimap:_r,minimapLeft:li,minimapWidth:sr,minimapHeightIsEditorHeight:on,minimapIsSampling:vn,minimapScale:un,minimapLineHeight:dt,minimapCanvasInnerWidth:yr,minimapCanvasInnerHeight:tn,minimapCanvasOuterWidth:br,minimapCanvasOuterHeight:wn}}},{key:"computeLayout",value:function(ut,nt){var kt=nt.outerWidth|0,Sn=nt.outerHeight|0,Tt=nt.lineHeight|0,ht=nt.lineNumbersDigitCount|0,Rt=nt.typicalHalfwidthCharacterWidth,Ft=nt.maxDigitWidth,nn=nt.pixelRatio,bn=nt.viewLineCount,sn=ut.get(119),un=sn==="inherit"?ut.get(118):sn,Ht=un==="inherit"?ut.get(114):un,jn=ut.get(117),Ln=ut.get(2),Un=nt.isDominatedByLongLines,lt=ut.get(46),Nt=ut.get(56).renderType!==0,zt=ut.get(57),en=ut.get(91),tn=ut.get(61),wn=ut.get(89),on=wn.verticalScrollbarSize,vn=wn.verticalHasArrows,dt=wn.arrowSize,ct=wn.horizontalScrollbarSize,Kt=ut.get(54),pn=ut.get(35),kn;if(typeof Kt=="string"&&/^\d+(\.\d+)?ch$/.test(Kt)){var Pt=parseFloat(Kt.substr(0,Kt.length-2));kn=T.clampedInt(Pt*Rt,0,0,1e3)}else kn=T.clampedInt(Kt,0,0,1e3);pn&&(kn+=16);var gn=0;if(Nt){var _n=Math.max(ht,zt);gn=Math.round(_n*Ft)}var Kn=0;lt&&(Kn=Tt);var qn=0,rr=qn+Kn,Rn=rr+gn,mr=Rn+kn,ar=kt-Kn-gn-kn,sr=!1,yr=!1,br=-1;Ln!==2&&(un==="inherit"&&Un?(sr=!0,yr=!0):Ht==="on"||Ht==="bounded"?yr=!0:Ht==="wordWrapColumn"&&(br=jn));var _r=qe._computeMinimapLayout({outerWidth:kt,outerHeight:Sn,lineHeight:Tt,typicalHalfwidthCharacterWidth:Rt,pixelRatio:nn,scrollBeyondLastLine:en,minimap:tn,verticalScrollbarWidth:on,viewLineCount:bn,remainingWidth:ar,isViewportWrapping:yr},nt.memory||new t);_r.renderMinimap!==0&&_r.minimapLeft===0&&(qn+=_r.minimapWidth,rr+=_r.minimapWidth,Rn+=_r.minimapWidth,mr+=_r.minimapWidth);var li=ar-_r.minimapWidth,xi=Math.max(1,Math.floor((li-on-2)/Rt)),Mi=vn?dt:0;return yr&&(br=Math.max(1,xi),Ht==="bounded"&&(br=Math.min(br,jn))),{width:kt,height:Sn,glyphMarginLeft:qn,glyphMarginWidth:Kn,lineNumbersLeft:rr,lineNumbersWidth:gn,decorationsLeft:Rn,decorationsWidth:kn,contentLeft:mr,contentWidth:li,minimap:_r,viewportColumn:xi,isWordWrapMinified:sr,isViewportWrapping:yr,wrappingColumn:br,verticalScrollbarWidth:on,horizontalScrollbarHeight:ct,overviewRuler:{top:Mi,width:on,height:Sn-2*Mi,right:0}}}}]),qe}(p),Z=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st={enabled:!0};return Bt.call(this,53,"lightbulb",st,{"editor.lightbulb.enabled":{type:"boolean",default:st.enabled,description:i.a("codeActions","Enables the code action lightbulb in the editor.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut;return{enabled:S(nt.enabled,this.defaultValue.enabled)}}}]),qe}(l),ee=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st={enabled:!0,fontSize:0,fontFamily:Re.fontFamily};return Bt.call(this,123,"inlineHints",st,{"editor.inlineHints.enabled":{type:"boolean",default:st.enabled,description:i.a("inlineHints.enable","Enables the inline hints in the editor.")},"editor.inlineHints.fontSize":{type:"number",default:st.fontSize,description:i.a("inlineHints.fontSize","Controls font size of inline hints in the editor. When set to `0`, the 90% of `#editor.fontSize#` is used.")},"editor.inlineHints.fontFamily":{type:"string",default:st.fontFamily,description:i.a("inlineHints.fontFamily","Controls font family of inline hints in the editor.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut;return{enabled:S(nt.enabled,this.defaultValue.enabled),fontSize:T.clampedInt(nt.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Y.string(nt.fontFamily,this.defaultValue.fontFamily)}}}]),qe}(l),ce=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,55,"lineHeight",Re.lineHeight,0,150,{description:i.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})}return Object(o.a)(qe,[{key:"compute",value:function(ut,nt,kt){return ut.fontInfo.lineHeight}}]),qe}(T),R=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return Bt.call(this,61,"minimap",st,{"editor.minimap.enabled":{type:"boolean",default:st.enabled,description:i.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[i.a("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),i.a("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),i.a("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:st.size,description:i.a("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:st.side,description:i.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:st.showSlider,description:i.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:st.scale,minimum:1,maximum:3,enum:[1,2,3],description:i.a("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:st.renderCharacters,description:i.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:st.maxColumn,description:i.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut;return{enabled:S(nt.enabled,this.defaultValue.enabled),size:$(nt.size,this.defaultValue.size,["proportional","fill","fit"]),side:$(nt.side,this.defaultValue.side,["right","left"]),showSlider:$(nt.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:S(nt.renderCharacters,this.defaultValue.renderCharacters),scale:T.clampedInt(nt.scale,1,1,3),maxColumn:T.clampedInt(nt.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}]),qe}(l);function y(Ct){return Ct==="ctrlCmd"?a.f?"metaKey":"ctrlKey":"altKey"}var C=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,71,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:i.a("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:i.a("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut;return{top:T.clampedInt(nt.top,0,0,1e3),bottom:T.clampedInt(nt.bottom,0,0,1e3)}}}]),qe}(l),z=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st={enabled:!0,cycle:!1};return Bt.call(this,72,"parameterHints",st,{"editor.parameterHints.enabled":{type:"boolean",default:st.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:st.cycle,description:i.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut;return{enabled:S(nt.enabled,this.defaultValue.enabled),cycle:S(nt.cycle,this.defaultValue.cycle)}}}]),qe}(l),G=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,125)}return Object(o.a)(qe,[{key:"compute",value:function(ut,nt,kt){return ut.pixelRatio}}]),qe}(p),X=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){var st;Object(f.a)(this,qe);var ut={other:!0,comments:!1,strings:!1};return st=Bt.call(this,75,"quickSuggestions",ut,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:ut.strings,description:i.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:ut.comments,description:i.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:ut.other,description:i.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:ut,description:i.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),st.defaultValue=ut,st}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(typeof ut=="boolean")return ut;if(ut&&typeof ut=="object"){var nt=ut,kt={other:S(nt.other,this.defaultValue.other),comments:S(nt.comments,this.defaultValue.comments),strings:S(nt.strings,this.defaultValue.strings)};return kt.other&&kt.comments&&kt.strings?!0:!kt.other&&!kt.comments&&!kt.strings?!1:kt}return this.defaultValue}}]),qe}(l),pe=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,56,"lineNumbers",{renderType:1,renderFn:null},{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.")})}return Object(o.a)(qe,[{key:"validate",value:function(ut){var nt=this.defaultValue.renderType,kt=this.defaultValue.renderFn;return typeof ut!="undefined"&&(typeof ut=="function"?(nt=4,kt=ut):ut==="interval"?nt=3:ut==="relative"?nt=2:ut==="on"?nt=1:nt=0),{renderType:nt,renderFn:kt}}}]),qe}(l);function ae(Ct){var Bt=Ct.get(84);return Bt==="editable"?Ct.get(77):Bt!=="on"}var Se=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st=[],ut={type:"number",description:i.a("rulers.size","Number of monospace characters at which this editor ruler will render.")};return Bt.call(this,88,"rulers",st,{type:"array",items:{anyOf:[ut,{type:["object"],properties:{column:ut,color:{type:"string",description:i.a("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:st,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.")})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(Array.isArray(ut)){var nt=[],kt=Object(u.a)(ut),Sn;try{for(kt.s();!(Sn=kt.n()).done;){var Tt=Sn.value;if(typeof Tt=="number")nt.push({column:T.clampedInt(Tt,0,0,1e4),color:null});else if(Tt&&typeof Tt=="object"){var ht=Tt;nt.push({column:T.clampedInt(ht.column,0,0,1e4),color:ht.color})}}}catch(Rt){kt.e(Rt)}finally{kt.f()}return nt.sort(function(Rt,Ft){return Rt.column-Ft.column}),nt}return this.defaultValue}}]),qe}(l);function Te(Ct,Bt){if(typeof Ct!="string")return Bt;switch(Ct){case"hidden":return 2;case"visible":return 3;default:return 1}}var je=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,89,"scrollbar",{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut,kt=T.clampedInt(nt.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),Sn=T.clampedInt(nt.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:T.clampedInt(nt.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:Te(nt.vertical,this.defaultValue.vertical),horizontal:Te(nt.horizontal,this.defaultValue.horizontal),useShadows:S(nt.useShadows,this.defaultValue.useShadows),verticalHasArrows:S(nt.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:S(nt.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:S(nt.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:S(nt.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:kt,horizontalSliderSize:T.clampedInt(nt.horizontalSliderSize,kt,0,1e3),verticalScrollbarSize:Sn,verticalSliderSize:T.clampedInt(nt.verticalSliderSize,Sn,0,1e3),scrollByPage:S(nt.scrollByPage,this.defaultValue.scrollByPage)}}}]),qe}(l),ft=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){Object(f.a)(this,qe);var st={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};return Bt.call(this,103,"suggest",st,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[i.a("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),i.a("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:st.insertMode,description:i.a("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:st.filterGraceful,description:i.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:st.localityBonus,description:i.a("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:st.shareSuggestSelections,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:st.snippetsPreventQuickSuggestions,description:i.a("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:st.showIcons,description:i.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:st.showStatusBar,description:i.a("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.showInlineDetails":{type:"boolean",default:st.showInlineDetails,description:i.a("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:i.a("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:i.a("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:i.a("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){if(!ut||typeof ut!="object")return this.defaultValue;var nt=ut;return{insertMode:$(nt.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:S(nt.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:S(nt.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:S(nt.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:S(nt.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:S(nt.showIcons,this.defaultValue.showIcons),showStatusBar:S(nt.showStatusBar,this.defaultValue.showStatusBar),showInlineDetails:S(nt.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:S(nt.showMethods,this.defaultValue.showMethods),showFunctions:S(nt.showFunctions,this.defaultValue.showFunctions),showConstructors:S(nt.showConstructors,this.defaultValue.showConstructors),showFields:S(nt.showFields,this.defaultValue.showFields),showVariables:S(nt.showVariables,this.defaultValue.showVariables),showClasses:S(nt.showClasses,this.defaultValue.showClasses),showStructs:S(nt.showStructs,this.defaultValue.showStructs),showInterfaces:S(nt.showInterfaces,this.defaultValue.showInterfaces),showModules:S(nt.showModules,this.defaultValue.showModules),showProperties:S(nt.showProperties,this.defaultValue.showProperties),showEvents:S(nt.showEvents,this.defaultValue.showEvents),showOperators:S(nt.showOperators,this.defaultValue.showOperators),showUnits:S(nt.showUnits,this.defaultValue.showUnits),showValues:S(nt.showValues,this.defaultValue.showValues),showConstants:S(nt.showConstants,this.defaultValue.showConstants),showEnums:S(nt.showEnums,this.defaultValue.showEnums),showEnumMembers:S(nt.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:S(nt.showKeywords,this.defaultValue.showKeywords),showWords:S(nt.showWords,this.defaultValue.showWords),showColors:S(nt.showColors,this.defaultValue.showColors),showFiles:S(nt.showFiles,this.defaultValue.showFiles),showReferences:S(nt.showReferences,this.defaultValue.showReferences),showFolders:S(nt.showFolders,this.defaultValue.showFolders),showTypeParameters:S(nt.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:S(nt.showSnippets,this.defaultValue.showSnippets),showUsers:S(nt.showUsers,this.defaultValue.showUsers),showIssues:S(nt.showIssues,this.defaultValue.showIssues)}}}]),qe}(l),fe=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,99,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:i.a("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}return Object(o.a)(qe,[{key:"validate",value:function(ut){return!ut||typeof ut!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:S(ut.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}}}]),qe}(l),ie=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,126,[77])}return Object(o.a)(qe,[{key:"compute",value:function(ut,nt,kt){var Sn=nt.get(77);return Sn?!0:ut.tabFocusMode}}]),qe}(p);function ge(Ct){switch(Ct){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}var Ve=function(Ct){Object(c.a)(qe,Ct);var Bt=Object(r.a)(qe);function qe(){return Object(f.a)(this,qe),Bt.call(this,128,[127])}return Object(o.a)(qe,[{key:"compute",value:function(ut,nt,kt){var Sn=nt.get(127);return{isDominatedByLongLines:ut.isDominatedByLongLines,isWordWrapMinified:Sn.isWordWrapMinified,isViewportWrapping:Sn.isViewportWrapping,wrappingColumn:Sn.wrappingColumn}}}]),qe}(p),Ee="Consolas, 'Courier New', monospace",Me="Menlo, Monaco, 'Courier New', monospace",_e="'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",Re={fontFamily:a.f?Me:a.d?_e:Ee,fontWeight:"normal",fontSize:a.f?12:14,lineHeight:0,letterSpacing:0},et={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},Xe=[];function it(Ct){return Xe[Ct.id]=Ct,Ct}var bt={acceptSuggestionOnCommitCharacter:it(new k(0,"acceptSuggestionOnCommitCharacter",!0,{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.")})),acceptSuggestionOnEnter:it(new A(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{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.")})),accessibilitySupport:it(new d),accessibilityPageSize:it(new T(3,"accessibilityPageSize",10,1,1073741824,{description:i.a("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:it(new Y(4,"ariaLabel",i.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:it(new A(5,"autoClosingBrackets","languageDefined",["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."),""],description:i.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:it(new A(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",i.a("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:i.a("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:it(new A(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",i.a("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:i.a("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:it(new A(8,"autoClosingQuotes","languageDefined",["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."),""],description:i.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:it(new g(9,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],b,{enumDescriptions:[i.a("editor.autoIndent.none","The editor will not insert indentation automatically."),i.a("editor.autoIndent.keep","The editor will keep the current line's indentation."),i.a("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),i.a("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),i.a("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:i.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:it(new k(10,"automaticLayout",!1)),autoSurround:it(new A(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[i.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),i.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),i.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:i.a("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),stickyTabStops:it(new k(101,"stickyTabStops",!1,{description:i.a("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:it(new k(12,"codeLens",!0,{description:i.a("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:it(new Y(13,"codeLensFontFamily","",{description:i.a("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:it(new T(14,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,description:i.a("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, the 90% of `#editor.fontSize#` is used.")})),colorDecorators:it(new k(15,"colorDecorators",!0,{description:i.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:it(new k(16,"columnSelection",!1,{description:i.a("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:it(new O),contextmenu:it(new k(18,"contextmenu",!0)),copyWithSyntaxHighlighting:it(new k(19,"copyWithSyntaxHighlighting",!0,{description:i.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:it(new g(20,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],E,{description:i.a("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:it(new k(21,"cursorSmoothCaretAnimation",!1,{description:i.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:it(new g(22,"cursorStyle",D.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],W,{description:i.a("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:it(new T(23,"cursorSurroundingLines",0,0,1073741824,{description:i.a("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:it(new A(24,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[i.a("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),i.a("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:i.a("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:it(new T(25,"cursorWidth",0,0,1073741824,{markdownDescription:i.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:it(new k(26,"disableLayerHinting",!1)),disableMonospaceOptimizations:it(new k(27,"disableMonospaceOptimizations",!1)),domReadOnly:it(new k(28,"domReadOnly",!1)),dragAndDrop:it(new k(29,"dragAndDrop",!0,{description:i.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:it(new re),extraEditorClassName:it(new Y(31,"extraEditorClassName","")),fastScrollSensitivity:it(new I(32,"fastScrollSensitivity",5,function(Ct){return Ct<=0?5:Ct},{markdownDescription:i.a("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:it(new ye),fixedOverflowWidgets:it(new k(34,"fixedOverflowWidgets",!1)),folding:it(new k(35,"folding",!0,{description:i.a("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:it(new A(36,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[i.a("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),i.a("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:i.a("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:it(new k(37,"foldingHighlight",!0,{description:i.a("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),unfoldOnClickAfterEndOfLine:it(new k(38,"unfoldOnClickAfterEndOfLine",!1,{description:i.a("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:it(new Y(39,"fontFamily",Re.fontFamily,{description:i.a("fontFamily","Controls the font family.")})),fontInfo:it(new oe),fontLigatures2:it(new q),fontSize:it(new he),fontWeight:it(new ue),formatOnPaste:it(new k(44,"formatOnPaste",!1,{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.")})),formatOnType:it(new k(45,"formatOnType",!1,{description:i.a("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:it(new k(46,"glyphMargin",!0,{description:i.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:it(new ne),hideCursorInOverviewRuler:it(new k(48,"hideCursorInOverviewRuler",!1,{description:i.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:it(new k(49,"highlightActiveIndentGuide",!0,{description:i.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:it(new se),inDiffEditor:it(new k(51,"inDiffEditor",!1)),letterSpacing:it(new I(52,"letterSpacing",Re.letterSpacing,function(Ct){return I.clamp(Ct,-5,20)},{description:i.a("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:it(new Z),lineDecorationsWidth:it(new w(54,"lineDecorationsWidth",10)),lineHeight:it(new ce),lineNumbers:it(new pe),lineNumbersMinChars:it(new T(57,"lineNumbersMinChars",5,1,300)),linkedEditing:it(new k(58,"linkedEditing",!1,{description:i.a("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:it(new k(59,"links",!0,{description:i.a("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:it(new A(60,"matchBrackets","always",["always","near","never"],{description:i.a("matchBrackets","Highlight matching brackets.")})),minimap:it(new R),mouseStyle:it(new A(62,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:it(new I(63,"mouseWheelScrollSensitivity",1,function(Ct){return Ct===0?1:Ct},{markdownDescription:i.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:it(new k(64,"mouseWheelZoom",!1,{markdownDescription:i.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:it(new k(65,"multiCursorMergeOverlapping",!0,{description:i.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:it(new g(66,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],y,{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.")],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).")})),multiCursorPaste:it(new A(67,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[i.a("multiCursorPaste.spread","Each cursor pastes a single line of the text."),i.a("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:i.a("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:it(new k(68,"occurrencesHighlight",!0,{description:i.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:it(new k(69,"overviewRulerBorder",!0,{description:i.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:it(new T(70,"overviewRulerLanes",3,0,3)),padding:it(new C),parameterHints:it(new z),peekWidgetDefaultFocus:it(new A(73,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[i.a("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),i.a("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:i.a("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:it(new k(74,"definitionLinkOpensInPeek",!1,{description:i.a("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:it(new X),quickSuggestionsDelay:it(new T(76,"quickSuggestionsDelay",10,0,1073741824,{description:i.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:it(new k(77,"readOnly",!1)),renameOnType:it(new k(78,"renameOnType",!1,{description:i.a("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:i.a("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:it(new k(79,"renderControlCharacters",!1,{description:i.a("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:it(new k(80,"renderIndentGuides",!0,{description:i.a("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:it(new k(81,"renderFinalNewline",!0,{description:i.a("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:it(new A(82,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",i.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:i.a("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:it(new k(83,"renderLineHighlightOnlyWhenFocus",!1,{description:i.a("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:it(new A(84,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:it(new A(85,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",i.a("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),i.a("renderWhitespace.selection","Render whitespace characters only on selected text."),i.a("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:i.a("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:it(new T(86,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:it(new k(87,"roundedSelection",!0,{description:i.a("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:it(new Se),scrollbar:it(new je),scrollBeyondLastColumn:it(new T(90,"scrollBeyondLastColumn",5,0,1073741824,{description:i.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:it(new k(91,"scrollBeyondLastLine",!0,{description:i.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:it(new k(92,"scrollPredominantAxis",!0,{description:i.a("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:it(new k(93,"selectionClipboard",!0,{description:i.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:a.d})),selectionHighlight:it(new k(94,"selectionHighlight",!0,{description:i.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:it(new k(95,"selectOnLineNumbers",!0)),showFoldingControls:it(new A(96,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[i.a("showFoldingControls.always","Always show the folding controls."),i.a("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:i.a("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:it(new k(97,"showUnused",!0,{description:i.a("showUnused","Controls fading out of unused code.")})),showDeprecated:it(new k(122,"showDeprecated",!0,{description:i.a("showDeprecated","Controls strikethrough deprecated variables.")})),inlineHints:it(new ee),snippetSuggestions:it(new A(98,"snippetSuggestions","inline",["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.")],description:i.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:it(new fe),smoothScrolling:it(new k(100,"smoothScrolling",!1,{description:i.a("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:it(new T(102,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:it(new ft),suggestFontSize:it(new T(104,"suggestFontSize",0,0,1e3,{markdownDescription:i.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:it(new T(105,"suggestLineHeight",0,0,1e3,{markdownDescription:i.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used. The minimum value is 8.")})),suggestOnTriggerCharacters:it(new k(106,"suggestOnTriggerCharacters",!0,{description:i.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:it(new A(107,"suggestSelection","recentlyUsed",["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`.")],description:i.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:it(new A(108,"tabCompletion","off",["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.")})),tabIndex:it(new T(109,"tabIndex",0,-1,1073741824)),unusualLineTerminators:it(new A(110,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[i.a("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),i.a("unusualLineTerminators.off","Unusual line terminators are ignored."),i.a("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:i.a("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:it(new k(111,"useShadowDOM",!0)),useTabStops:it(new k(112,"useTabStops",!0,{description:i.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:it(new Y(113,"wordSeparators",n.b,{description:i.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:it(new A(114,"wordWrap","off",["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#`.")],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.")})),wordWrapBreakAfterCharacters:it(new Y(115,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:it(new Y(116,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:it(new T(117,"wordWrapColumn",80,1,1073741824,{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`.")})),wordWrapOverride1:it(new A(118,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:it(new A(119,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:it(new g(120,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],ge,{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.")],description:i.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:it(new A(121,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[i.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),i.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:i.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:it(new te),pixelRatio:it(new G),tabFocusMode:it(new ie),layoutInfo:it(new be),wrappingInfo:it(new Ve)}},"/cxE":function(Ie,M,e){"use strict";e.d(M,"e",function(){return o}),e.d(M,"f",function(){return i}),e.d(M,"g",function(){return a}),e.d(M,"d",function(){return v}),e.d(M,"a",function(){return m}),e.d(M,"b",function(){return h}),e.d(M,"c",function(){return t});var u=e("fWQN"),c=e("mtLc"),r=function(){function l(){Object(u.a)(this,l),this.listeners=[],this.unexpectedErrorHandler=function(p){setTimeout(function(){throw p.stack?new Error(p.message+`
- `+p.stack):p},0)}}return Object(c.a)(l,[{key:"emit",value:function(w){this.listeners.forEach(function(S){S(w)})}},{key:"onUnexpectedError",value:function(w){this.unexpectedErrorHandler(w),this.emit(w)}},{key:"onUnexpectedExternalError",value:function(w){this.unexpectedErrorHandler(w)}}]),l}(),f=new r;function o(l){v(l)||f.onUnexpectedError(l)}function i(l){v(l)||f.onUnexpectedExternalError(l)}function a(l){if(l instanceof Error){var p=l.name,w=l.message,S=l.stacktrace||l.stack;return{$isError:!0,name:p,message:w,stack:S}}return l}var n="Canceled";function v(l){return l instanceof Error&&l.name===n&&l.message===n}function m(){var l=new Error(n);return l.name=l.message,l}function h(l){return l?new Error("Illegal argument: ".concat(l)):new Error("Illegal argument")}function t(l){return l?new Error("Illegal state: ".concat(l)):new Error("Illegal state")}},"/ezw":function(Ie,M,e){"use strict";var u=e("rePB"),c=e("wx14"),r=e("U8pU"),f=e("TSYQ"),o=e.n(f),i=e("q1tI"),a=e("H84U"),n=e("bT9E"),v=function(ee){var ce,R,y=ee.prefixCls,C=ee.className,z=ee.style,G=ee.size,X=ee.shape,pe=o()((ce={},Object(u.a)(ce,"".concat(y,"-lg"),G==="large"),Object(u.a)(ce,"".concat(y,"-sm"),G==="small"),ce)),ae=o()((R={},Object(u.a)(R,"".concat(y,"-circle"),X==="circle"),Object(u.a)(R,"".concat(y,"-square"),X==="square"),Object(u.a)(R,"".concat(y,"-round"),X==="round"),R)),Se=i.useMemo(function(){return typeof G=="number"?{width:G,height:G,lineHeight:"".concat(G,"px")}:{}},[G]);return i.createElement("span",{className:o()(y,pe,ae,C),style:Object(c.a)(Object(c.a)({},Se),z)})},m=v,h=function(ee){var ce=ee.prefixCls,R=ee.className,y=ee.active,C=ee.shape,z=C===void 0?"circle":C,G=ee.size,X=G===void 0?"default":G,pe=i.useContext(a.b),ae=pe.getPrefixCls,Se=ae("skeleton",ce),Te=Object(n.a)(ee,["prefixCls","className"]),je=o()(Se,"".concat(Se,"-element"),Object(u.a)({},"".concat(Se,"-active"),y),R);return i.createElement("div",{className:je},i.createElement(m,Object(c.a)({prefixCls:"".concat(Se,"-avatar"),shape:z,size:X},Te)))},t=h,l=function(ee){var ce,R=ee.prefixCls,y=ee.className,C=ee.active,z=ee.block,G=z===void 0?!1:z,X=ee.size,pe=X===void 0?"default":X,ae=i.useContext(a.b),Se=ae.getPrefixCls,Te=Se("skeleton",R),je=Object(n.a)(ee,["prefixCls"]),ft=o()(Te,"".concat(Te,"-element"),(ce={},Object(u.a)(ce,"".concat(Te,"-active"),C),Object(u.a)(ce,"".concat(Te,"-block"),G),ce),y);return i.createElement("div",{className:ft},i.createElement(m,Object(c.a)({prefixCls:"".concat(Te,"-button"),size:pe},je)))},p=l,w=e("VTBJ"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},k=S,T=e("6VBw"),I=function(ee,ce){return i.createElement(T.a,Object(w.a)(Object(w.a)({},ee),{},{ref:ce,icon:k}))};I.displayName="DotChartOutlined";var Y=i.forwardRef(I),$=function(ee){var ce=ee.prefixCls,R=ee.className,y=ee.style,C=ee.active,z=ee.children,G=i.useContext(a.b),X=G.getPrefixCls,pe=X("skeleton",ce),ae=o()(pe,"".concat(pe,"-element"),Object(u.a)({},"".concat(pe,"-active"),C),R),Se=z!=null?z:i.createElement(Y,null);return i.createElement("div",{className:ae},i.createElement("div",{className:o()("".concat(pe,"-image"),R),style:y},Se))},A=$,g="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",b=function(ee){var ce=ee.prefixCls,R=ee.className,y=ee.style,C=ee.active,z=i.useContext(a.b),G=z.getPrefixCls,X=G("skeleton",ce),pe=o()(X,"".concat(X,"-element"),Object(u.a)({},"".concat(X,"-active"),C),R);return i.createElement("div",{className:pe},i.createElement("div",{className:o()("".concat(X,"-image"),R),style:y},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(X,"-image-svg")},i.createElement("path",{d:g,className:"".concat(X,"-image-path")}))))},d=b,O=function(ee){var ce,R=ee.prefixCls,y=ee.className,C=ee.active,z=ee.block,G=ee.size,X=G===void 0?"default":G,pe=i.useContext(a.b),ae=pe.getPrefixCls,Se=ae("skeleton",R),Te=Object(n.a)(ee,["prefixCls"]),je=o()(Se,"".concat(Se,"-element"),(ce={},Object(u.a)(ce,"".concat(Se,"-active"),C),Object(u.a)(ce,"".concat(Se,"-block"),z),ce),y);return i.createElement("div",{className:je},i.createElement(m,Object(c.a)({prefixCls:"".concat(Se,"-input"),size:X},Te)))},E=O,D=e("KQm4"),W=function(ee){var ce=function(pe){var ae=ee.width,Se=ee.rows,Te=Se===void 0?2:Se;if(Array.isArray(ae))return ae[pe];if(Te-1===pe)return ae},R=ee.prefixCls,y=ee.className,C=ee.style,z=ee.rows,G=Object(D.a)(Array(z)).map(function(X,pe){return i.createElement("li",{key:pe,style:{width:ce(pe)}})});return i.createElement("ul",{className:o()(R,y),style:C},G)},te=W,re=function(ee){var ce=ee.prefixCls,R=ee.className,y=ee.width,C=ee.style;return i.createElement("h3",{className:o()(ce,R),style:Object(c.a)({width:y},C)})},ye=re;function q(Z){return Z&&Object(r.a)(Z)==="object"?Z:{}}function oe(Z,ee){return Z&&!ee?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function he(Z,ee){return!Z&&ee?{width:"38%"}:Z&&ee?{width:"50%"}:{}}function ue(Z,ee){var ce={};return(!Z||!ee)&&(ce.width="61%"),!Z&&ee?ce.rows=3:ce.rows=2,ce}var ne=function(ee){var ce=ee.prefixCls,R=ee.loading,y=ee.className,C=ee.style,z=ee.children,G=ee.avatar,X=G===void 0?!1:G,pe=ee.title,ae=pe===void 0?!0:pe,Se=ee.paragraph,Te=Se===void 0?!0:Se,je=ee.active,ft=ee.round,fe=i.useContext(a.b),ie=fe.getPrefixCls,ge=fe.direction,Ve=ie("skeleton",ce);if(R||!("loading"in ee)){var Ee,Me=!!X,_e=!!ae,Re=!!Te,et;if(Me){var Xe=Object(c.a)(Object(c.a)({prefixCls:"".concat(Ve,"-avatar")},oe(_e,Re)),q(X));et=i.createElement("div",{className:"".concat(Ve,"-header")},i.createElement(m,Object(c.a)({},Xe)))}var it;if(_e||Re){var bt;if(_e){var Ct=Object(c.a)(Object(c.a)({prefixCls:"".concat(Ve,"-title")},he(Me,Re)),q(ae));bt=i.createElement(ye,Object(c.a)({},Ct))}var Bt;if(Re){var qe=Object(c.a)(Object(c.a)({prefixCls:"".concat(Ve,"-paragraph")},ue(Me,_e)),q(Te));Bt=i.createElement(te,Object(c.a)({},qe))}it=i.createElement("div",{className:"".concat(Ve,"-content")},bt,Bt)}var st=o()(Ve,(Ee={},Object(u.a)(Ee,"".concat(Ve,"-with-avatar"),Me),Object(u.a)(Ee,"".concat(Ve,"-active"),je),Object(u.a)(Ee,"".concat(Ve,"-rtl"),ge==="rtl"),Object(u.a)(Ee,"".concat(Ve,"-round"),ft),Ee),y);return i.createElement("div",{className:st,style:C},et,it)}return typeof z!="undefined"?z:null};ne.Button=p,ne.Avatar=t,ne.Input=E,ne.Image=d,ne.Node=A;var se=ne,be=M.a=se},"/kV6":function(Ie,M,e){"use strict";e.d(M,"b",function(){return n}),e.d(M,"a",function(){return v}),e.d(M,"f",function(){return m}),e.d(M,"e",function(){return t}),e.d(M,"d",function(){return p}),e.d(M,"c",function(){return w});var u=e("fWQN"),c=e("mtLc"),r=e("/cxE"),f=function(){function S(){Object(u.a)(this,S),this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return Object(c.a)(S,[{key:"define",value:function(T,I){this._keyCodeToStr[T]=I,this._strToKeyCode[I.toLowerCase()]=T}},{key:"keyCodeToStr",value:function(T){return this._keyCodeToStr[T]}},{key:"strToKeyCode",value:function(T){return this._strToKeyCode[T.toLowerCase()]||0}}]),S}(),o=new f,i=new f,a=new f;(function(){function S(k,T){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:T,Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:I;o.define(k,T),i.define(k,I),a.define(k,Y)}S(0,"unknown"),S(1,"Backspace"),S(2,"Tab"),S(3,"Enter"),S(4,"Shift"),S(5,"Ctrl"),S(6,"Alt"),S(7,"PauseBreak"),S(8,"CapsLock"),S(9,"Escape"),S(10,"Space"),S(11,"PageUp"),S(12,"PageDown"),S(13,"End"),S(14,"Home"),S(15,"LeftArrow","Left"),S(16,"UpArrow","Up"),S(17,"RightArrow","Right"),S(18,"DownArrow","Down"),S(19,"Insert"),S(20,"Delete"),S(21,"0"),S(22,"1"),S(23,"2"),S(24,"3"),S(25,"4"),S(26,"5"),S(27,"6"),S(28,"7"),S(29,"8"),S(30,"9"),S(31,"A"),S(32,"B"),S(33,"C"),S(34,"D"),S(35,"E"),S(36,"F"),S(37,"G"),S(38,"H"),S(39,"I"),S(40,"J"),S(41,"K"),S(42,"L"),S(43,"M"),S(44,"N"),S(45,"O"),S(46,"P"),S(47,"Q"),S(48,"R"),S(49,"S"),S(50,"T"),S(51,"U"),S(52,"V"),S(53,"W"),S(54,"X"),S(55,"Y"),S(56,"Z"),S(57,"Meta"),S(58,"ContextMenu"),S(59,"F1"),S(60,"F2"),S(61,"F3"),S(62,"F4"),S(63,"F5"),S(64,"F6"),S(65,"F7"),S(66,"F8"),S(67,"F9"),S(68,"F10"),S(69,"F11"),S(70,"F12"),S(71,"F13"),S(72,"F14"),S(73,"F15"),S(74,"F16"),S(75,"F17"),S(76,"F18"),S(77,"F19"),S(78,"NumLock"),S(79,"ScrollLock"),S(80,";",";","OEM_1"),S(81,"=","=","OEM_PLUS"),S(82,",",",","OEM_COMMA"),S(83,"-","-","OEM_MINUS"),S(84,".",".","OEM_PERIOD"),S(85,"/","/","OEM_2"),S(86,"`","`","OEM_3"),S(110,"ABNT_C1"),S(111,"ABNT_C2"),S(87,"[","[","OEM_4"),S(88,"\\","\\","OEM_5"),S(89,"]","]","OEM_6"),S(90,"'","'","OEM_7"),S(91,"OEM_8"),S(92,"OEM_102"),S(93,"NumPad0"),S(94,"NumPad1"),S(95,"NumPad2"),S(96,"NumPad3"),S(97,"NumPad4"),S(98,"NumPad5"),S(99,"NumPad6"),S(100,"NumPad7"),S(101,"NumPad8"),S(102,"NumPad9"),S(103,"NumPad_Multiply"),S(104,"NumPad_Add"),S(105,"NumPad_Separator"),S(106,"NumPad_Subtract"),S(107,"NumPad_Decimal"),S(108,"NumPad_Divide")})();var n;(function(S){function k(A){return o.keyCodeToStr(A)}S.toString=k;function T(A){return o.strToKeyCode(A)}S.fromString=T;function I(A){return i.keyCodeToStr(A)}S.toUserSettingsUS=I;function Y(A){return a.keyCodeToStr(A)}S.toUserSettingsGeneral=Y;function $(A){return i.strToKeyCode(A)||a.strToKeyCode(A)}S.fromUserSettings=$})(n||(n={}));function v(S,k){var T=(k&65535)<<16>>>0;return(S|T)>>>0}function m(S,k){if(S===0)return null;var T=(S&65535)>>>0,I=(S&4294901760)>>>16;return I!==0?new l([h(T,k),h(I,k)]):new l([h(T,k)])}function h(S,k){var T=!!(S&2048),I=!!(S&256),Y=k===2?I:T,$=!!(S&1024),A=!!(S&512),g=k===2?T:I,b=S&255;return new t(Y,$,A,g,b)}var t=function(){function S(k,T,I,Y,$){Object(u.a)(this,S),this.ctrlKey=k,this.shiftKey=T,this.altKey=I,this.metaKey=Y,this.keyCode=$}return Object(c.a)(S,[{key:"equals",value:function(T){return this.ctrlKey===T.ctrlKey&&this.shiftKey===T.shiftKey&&this.altKey===T.altKey&&this.metaKey===T.metaKey&&this.keyCode===T.keyCode}},{key:"isModifierKey",value:function(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}},{key:"toChord",value:function(){return new l([this])}},{key:"isDuplicateModifierCase",value:function(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}}]),S}(),l=Object(c.a)(function S(k){if(Object(u.a)(this,S),k.length===0)throw Object(r.b)("parts");this.parts=k}),p=Object(c.a)(function S(k,T,I,Y,$,A){Object(u.a)(this,S),this.ctrlKey=k,this.shiftKey=T,this.altKey=I,this.metaKey=Y,this.keyLabel=$,this.keyAriaLabel=A}),w=Object(c.a)(function S(){Object(u.a)(this,S)})},"/qDX":function(Ie,M,e){},"/s86":function(Ie,M,e){"use strict";var u=e("Ff2n"),c=e("Telt"),r=e("Tckk"),f=e("U8pU"),o=e("VTBJ"),i=e("nKUr"),a=e("LQCs"),n="valueType request plain renderFormItem render text formItemProps valueEnum",v="fieldProps isDefaultDom groupProps contentRender submitterProps submitter";function m(rt){var Fe="".concat(n," ").concat(v).split(/[\s\n]+/),Et={};return Object.keys(rt||{}).forEach(function(at){Fe.includes(at)||(Et[at]=rt[at])}),Et}var h=e("PjWh"),t=e("Kwbf"),l=e("q1tI"),p=e.n(l),w=e("6UJt"),S=e("DFOY"),k=e("ODXe"),T=e("GNNt"),I=e("wEI+"),Y=e("ye1Q"),$=e("iGn7"),A=e("TSYQ"),g=e.n(A),b=e("yeZT"),d=["radioType","renderFormItem","mode","render","label","light"],O=function(Fe,Et){var at,At=Fe.radioType,En=Fe.renderFormItem,Gn=Fe.mode,lr=Fe.render,pr=Fe.label,Gr=Fe.light,Hr=Object(u.a)(Fe,d),_i=Object(l.useContext)(I.a.ConfigContext),Gi=_i.getPrefixCls,Dt=Gi("pro-field-cascader"),ta=Object(b.e)(Hr),Ji=Object(k.a)(ta,3),la=Ji[0],Aa=Ji[1],ja=Ji[2],Ta=Object(a.d)(),io=Object(l.useRef)(),to=Object(l.useContext)(I.a.SizeContext),vo=Object(l.useState)(!1),go=Object(k.a)(vo,2),Sa=go[0],xo=go[1];Object(l.useImperativeHandle)(Et,function(){return Object(o.a)(Object(o.a)({},io.current||{}),{},{fetchData:function(){return ja()}})});var So=Object(l.useMemo)(function(){var Qo;if(Gn==="read"){var cs=((Qo=Hr.fieldProps)===null||Qo===void 0?void 0:Qo.fieldNames)||{},Ss=cs.value,ps=Ss===void 0?"value":Ss,Ks=cs.label,Gs=Ks===void 0?"label":Ks,Ms=cs.children,Zs=Ms===void 0?"children":Ms,Sl=new Map,bo=function ol(Js){if(!(Js==null?void 0:Js.length))return Sl;for(var su=Js.length,As=0;As<su;){var qs=Js[As++];Sl.set(qs[ps],qs[Gs]),ol(qs[Zs])}return Sl};return bo(Aa)}},[Gn,Aa,(at=Hr.fieldProps)===null||at===void 0?void 0:at.fieldNames]);if(Gn==="read"){var so=Object(i.jsx)(i.Fragment,{children:Object(b.c)(Hr.text,Object(b.a)(Hr.valueEnum||So))});return lr?lr(Hr.text,Object(o.a)({mode:Gn},Hr.fieldProps),so)||null:so}if(Gn==="edit"){var To,Ho=Object(i.jsx)(S.a,Object(o.a)(Object(o.a)({bordered:!Gr,ref:io,open:Sa,onDropdownVisibleChange:xo,suffixIcon:la?Object(i.jsx)(Y.a,{}):Gr?null:void 0,placeholder:Ta.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),allowClear:Gr?!1:void 0},Hr.fieldProps),{},{className:g()((To=Hr.fieldProps)===null||To===void 0?void 0:To.className,Dt),options:Aa}));if(En&&(Ho=En(Hr.text,Object(o.a)({mode:Gn},Hr.fieldProps),Ho)||null),Gr){var uo=Hr.fieldProps,$o=uo.disabled,Us=uo.allowClear,Go=uo.placeholder;return Object(i.jsx)($.a,{label:pr,disabled:$o,placeholder:Go,size:to,allowClear:Us,bordered:Hr.bordered,value:Ho,onLabelClick:function(){return xo(!Sa)},onClear:function(){var cs,Ss;return(cs=Hr.fieldProps)===null||cs===void 0||(Ss=cs.onChange)===null||Ss===void 0?void 0:Ss.call(cs,void 0,void 0,{})}})}return Ho}return null},E=p.a.forwardRef(O),D=e("sRBo"),W=e("kaz8"),te=e("DYRE"),re=e("zeV3"),ye=e("rePB"),q=e("T2oS"),oe=e("W9HT"),he=e("PdkY"),ue=["layout","renderFormItem","mode","render"],ne=function(Fe,Et){var at=Fe.layout,At=at===void 0?"horizontal":at,En=Fe.renderFormItem,Gn=Fe.mode,lr=Fe.render,pr=Object(u.a)(Fe,ue),Gr=Object(l.useContext)(I.a.ConfigContext),Hr=Gr.getPrefixCls,_i=Hr("pro-field-checkbox"),Gi=Object(b.e)(pr),Dt=Object(k.a)(Gi,3),ta=Dt[0],Ji=Dt[1],la=Dt[2],Aa=Object(l.useRef)();if(Object(l.useImperativeHandle)(Et,function(){return Object(o.a)(Object(o.a)({},Aa.current||{}),{},{fetchData:function(){return la()}})}),ta)return Object(i.jsx)(oe.a,{size:"small"});if(Gn==="read"){var ja=(Ji==null?void 0:Ji.length)?Ji==null?void 0:Ji.reduce(function(vo,go){var Sa;return Object(o.a)(Object(o.a)({},vo),{},Object(ye.a)({},(Sa=go.value)!==null&&Sa!==void 0?Sa:"",go.label))},{}):void 0,Ta=Object(b.c)(pr.text,Object(b.a)(pr.valueEnum||ja));return lr?lr(pr.text,Object(o.a)({mode:Gn},pr.fieldProps),Object(i.jsx)(i.Fragment,{children:Ta}))||null:Object(i.jsx)(re.b,{children:Ta})}if(Gn==="edit"){var io,to=Object(i.jsx)(W.a.Group,Object(o.a)(Object(o.a)({},pr.fieldProps),{},{className:g()((io=pr.fieldProps)===null||io===void 0?void 0:io.className,"".concat(_i,"-").concat(At)),options:Ji}));return En?En(pr.text,Object(o.a)({mode:Gn},pr.fieldProps),to)||null:to}return null},se=p.a.forwardRef(ne),be=e("5NDa"),Z=e("5rEg"),ee=function(Fe,Et){if(typeof Fe!="string")return Fe;try{if(Et==="json")return JSON.stringify(JSON.parse(Fe),null,2)}catch(at){}return Fe},ce=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.language,lr=Gn===void 0?"text":Gn,pr=Fe.renderFormItem,Gr=Fe.plain,Hr=Fe.fieldProps,_i=ee(at,lr);if(At==="read"){var Gi=Object(i.jsx)("pre",Object(o.a)(Object(o.a)({ref:Et},Hr),{},{style:Object(o.a)({padding:16,overflow:"auto",fontSize:"85%",lineHeight:1.45,backgroundColor:"#f6f8fa",borderRadius:3,width:"min-content"},Hr.style),children:Object(i.jsx)("code",{children:_i})}));return En?En(_i,Object(o.a)(Object(o.a)({mode:At},Hr),{},{ref:Et}),Gi):Gi}if(At==="edit"||At==="update"){var Dt=Object(i.jsx)(Z.a.TextArea,Object(o.a)(Object(o.a)({rows:5},Hr),{},{ref:Et}));return Gr&&(Dt=Object(i.jsx)(Z.a,Object(o.a)(Object(o.a)({},Hr),{},{ref:Et}))),pr?pr(_i,Object(o.a)(Object(o.a)({mode:At},Hr),{},{ref:Et}),Dt):Dt}return null},R=p.a.forwardRef(ce),y=e("Q9mQ"),C=e("diRs"),z=e("/FUP"),G=e.n(z),X=e("QkVN"),pe=e.n(X),ae=function(Fe,Et,at,At,En){var Gn=En.clientWidth,lr=En.clientHeight,pr=typeof Fe.pageX=="number"?Fe.pageX:Fe.touches[0].pageX,Gr=typeof Fe.pageY=="number"?Fe.pageY:Fe.touches[0].pageY,Hr=pr-(En.getBoundingClientRect().left+window.pageXOffset),_i=Gr-(En.getBoundingClientRect().top+window.pageYOffset);if(at==="vertical"){var Gi;if(_i<0?Gi=0:_i>lr?Gi=1:Gi=Math.round(_i*100/lr)/100,Et.a!==Gi)return{h:Et.h,s:Et.s,l:Et.l,a:Gi,source:"rgb"}}else{var Dt;if(Hr<0?Dt=0:Hr>Gn?Dt=1:Dt=Math.round(Hr*100/Gn)/100,At!==Dt)return{h:Et.h,s:Et.s,l:Et.l,a:Dt,source:"rgb"}}return null},Se={},Te=function(Fe,Et,at,At){if(typeof document=="undefined"&&!At)return null;var En=At?new At:document.createElement("canvas");En.width=at*2,En.height=at*2;var Gn=En.getContext("2d");return Gn?(Gn.fillStyle=Fe,Gn.fillRect(0,0,En.width,En.height),Gn.fillStyle=Et,Gn.fillRect(0,0,at,at),Gn.translate(at,at),Gn.fillRect(0,0,at,at),En.toDataURL()):null},je=function(Fe,Et,at,At){var En="".concat(Fe,"-").concat(Et,"-").concat(at).concat(At?"-server":"");if(Se[En])return Se[En];var Gn=Te(Fe,Et,at,At);return Se[En]=Gn,Gn};function ft(rt){return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},ft(rt)}function fe(rt,Fe){var Et=Object.keys(rt);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(rt);Fe&&(at=at.filter(function(At){return Object.getOwnPropertyDescriptor(rt,At).enumerable})),Et.push.apply(Et,at)}return Et}function ie(rt){for(var Fe=1;Fe<arguments.length;Fe++){var Et=arguments[Fe]!=null?arguments[Fe]:{};Fe%2?fe(Object(Et),!0).forEach(function(at){ge(rt,at,Et[at])}):Object.getOwnPropertyDescriptors?Object.defineProperties(rt,Object.getOwnPropertyDescriptors(Et)):fe(Object(Et)).forEach(function(at){Object.defineProperty(rt,at,Object.getOwnPropertyDescriptor(Et,at))})}return rt}function ge(rt,Fe,Et){return Fe=Ve(Fe),Fe in rt?Object.defineProperty(rt,Fe,{value:Et,enumerable:!0,configurable:!0,writable:!0}):rt[Fe]=Et,rt}function Ve(rt){var Fe=Ee(rt,"string");return ft(Fe)==="symbol"?Fe:String(Fe)}function Ee(rt,Fe){if(ft(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(ft(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}var Me=function(Fe){var Et=Fe.white,at=Fe.grey,At=Fe.size,En=Fe.renderers,Gn=Fe.borderRadius,lr=Fe.boxShadow,pr=Fe.children,Gr=G()({default:{grid:{borderRadius:Gn,boxShadow:lr,absolute:"0px 0px 0px 0px",background:"url(".concat(je(Et,at,At,En.canvas),") center left")}}});return Object(l.isValidElement)(pr)?p.a.cloneElement(pr,ie(ie({},pr.props),{},{style:ie(ie({},pr.props.style),Gr.grid)})):p.a.createElement("div",{style:Gr.grid})};Me.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var _e=Me;function Re(rt){return Re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},Re(rt)}function et(rt,Fe){var Et=Object.keys(rt);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(rt);Fe&&(at=at.filter(function(At){return Object.getOwnPropertyDescriptor(rt,At).enumerable})),Et.push.apply(Et,at)}return Et}function Xe(rt){for(var Fe=1;Fe<arguments.length;Fe++){var Et=arguments[Fe]!=null?arguments[Fe]:{};Fe%2?et(Object(Et),!0).forEach(function(at){it(rt,at,Et[at])}):Object.getOwnPropertyDescriptors?Object.defineProperties(rt,Object.getOwnPropertyDescriptors(Et)):et(Object(Et)).forEach(function(at){Object.defineProperty(rt,at,Object.getOwnPropertyDescriptor(Et,at))})}return rt}function it(rt,Fe,Et){return Fe=qe(Fe),Fe in rt?Object.defineProperty(rt,Fe,{value:Et,enumerable:!0,configurable:!0,writable:!0}):rt[Fe]=Et,rt}function bt(rt,Fe){if(!(rt instanceof Fe))throw new TypeError("Cannot call a class as a function")}function Ct(rt,Fe){for(var Et=0;Et<Fe.length;Et++){var at=Fe[Et];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(rt,qe(at.key),at)}}function Bt(rt,Fe,Et){return Fe&&Ct(rt.prototype,Fe),Et&&Ct(rt,Et),Object.defineProperty(rt,"prototype",{writable:!1}),rt}function qe(rt){var Fe=st(rt,"string");return Re(Fe)==="symbol"?Fe:String(Fe)}function st(rt,Fe){if(Re(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(Re(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}function ut(rt,Fe){if(typeof Fe!="function"&&Fe!==null)throw new TypeError("Super expression must either be null or a function");rt.prototype=Object.create(Fe&&Fe.prototype,{constructor:{value:rt,writable:!0,configurable:!0}}),Object.defineProperty(rt,"prototype",{writable:!1}),Fe&&nt(rt,Fe)}function nt(rt,Fe){return nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(at,At){return at.__proto__=At,at},nt(rt,Fe)}function kt(rt){var Fe=ht();return function(){var at=Rt(rt),At;if(Fe){var En=Rt(this).constructor;At=Reflect.construct(at,arguments,En)}else At=at.apply(this,arguments);return Sn(this,At)}}function Sn(rt,Fe){if(Fe&&(Re(Fe)==="object"||typeof Fe=="function"))return Fe;if(Fe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Tt(rt)}function Tt(rt){if(rt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return rt}function ht(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(rt){return!1}}function Rt(rt){return Rt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Et){return Et.__proto__||Object.getPrototypeOf(Et)},Rt(rt)}var Ft=function(rt){ut(Et,rt);var Fe=kt(Et);function Et(){var at;bt(this,Et);for(var At=arguments.length,En=new Array(At),Gn=0;Gn<At;Gn++)En[Gn]=arguments[Gn];return at=Fe.call.apply(Fe,[this].concat(En)),at.handleChange=function(lr){var pr=ae(lr,at.props.hsl,at.props.direction,at.props.a,at.container);pr&&typeof at.props.onChange=="function"&&at.props.onChange(pr,lr)},at.handleMouseDown=function(lr){at.handleChange(lr),window.addEventListener("mousemove",at.handleChange),window.addEventListener("mouseup",at.handleMouseUp)},at.handleMouseUp=function(){at.unbindEventListeners()},at.unbindEventListeners=function(){window.removeEventListener("mousemove",at.handleChange),window.removeEventListener("mouseup",at.handleMouseUp)},at}return Bt(Et,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var At=this,En=this.props.rgb,Gn=G()({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba(".concat(En.r,",").concat(En.g,",").concat(En.b,`, 0) 0%,
- rgba(`).concat(En.r,",").concat(En.g,",").concat(En.b,", 1) 100%)"),boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:"".concat(En.a*100,"%")},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba(".concat(En.r,",").concat(En.g,",").concat(En.b,`, 0) 0%,
- rgba(`).concat(En.r,",").concat(En.g,",").concat(En.b,", 1) 100%)")},pointer:{left:0,top:"".concat(En.a*100,"%")}},overwrite:Xe({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return p.a.createElement("div",{style:Gn.alpha},p.a.createElement("div",{style:Gn.checkboard},p.a.createElement(_e,{renderers:this.props.renderers})),p.a.createElement("div",{style:Gn.gradient}),p.a.createElement("div",{style:Gn.container,ref:function(pr){return At.container=pr},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},p.a.createElement("div",{style:Gn.pointer},this.props.pointer?p.a.createElement(this.props.pointer,this.props):p.a.createElement("div",{style:Gn.slider}))))}}]),Et}(l.PureComponent||l.Component),nn=Ft,bn=function(Fe,Et,at,At){var En=At.clientWidth,Gn=At.clientHeight,lr=typeof Fe.pageX=="number"?Fe.pageX:Fe.touches[0].pageX,pr=typeof Fe.pageY=="number"?Fe.pageY:Fe.touches[0].pageY,Gr=lr-(At.getBoundingClientRect().left+window.pageXOffset),Hr=pr-(At.getBoundingClientRect().top+window.pageYOffset);if(Et==="vertical"){var _i;if(Hr<0)_i=359;else if(Hr>Gn)_i=0;else{var Gi=-(Hr*100/Gn)+100;_i=360*Gi/100}if(at.h!==_i)return{h:_i,s:at.s,l:at.l,a:at.a,source:"hsl"}}else{var Dt;if(Gr<0)Dt=0;else if(Gr>En)Dt=359;else{var ta=Gr*100/En;Dt=360*ta/100}if(at.h!==Dt)return{h:Dt,s:at.s,l:at.l,a:at.a,source:"hsl"}}return null};function sn(rt){return sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},sn(rt)}function un(rt,Fe){if(!(rt instanceof Fe))throw new TypeError("Cannot call a class as a function")}function Ht(rt,Fe){for(var Et=0;Et<Fe.length;Et++){var at=Fe[Et];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(rt,Ln(at.key),at)}}function jn(rt,Fe,Et){return Fe&&Ht(rt.prototype,Fe),Et&&Ht(rt,Et),Object.defineProperty(rt,"prototype",{writable:!1}),rt}function Ln(rt){var Fe=Un(rt,"string");return sn(Fe)==="symbol"?Fe:String(Fe)}function Un(rt,Fe){if(sn(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(sn(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}function lt(rt,Fe){if(typeof Fe!="function"&&Fe!==null)throw new TypeError("Super expression must either be null or a function");rt.prototype=Object.create(Fe&&Fe.prototype,{constructor:{value:rt,writable:!0,configurable:!0}}),Object.defineProperty(rt,"prototype",{writable:!1}),Fe&&Nt(rt,Fe)}function Nt(rt,Fe){return Nt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(at,At){return at.__proto__=At,at},Nt(rt,Fe)}function zt(rt){var Fe=wn();return function(){var at=on(rt),At;if(Fe){var En=on(this).constructor;At=Reflect.construct(at,arguments,En)}else At=at.apply(this,arguments);return en(this,At)}}function en(rt,Fe){if(Fe&&(sn(Fe)==="object"||typeof Fe=="function"))return Fe;if(Fe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tn(rt)}function tn(rt){if(rt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return rt}function wn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(rt){return!1}}function on(rt){return on=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Et){return Et.__proto__||Object.getPrototypeOf(Et)},on(rt)}var vn=function(rt){lt(Et,rt);var Fe=zt(Et);function Et(){var at;un(this,Et);for(var At=arguments.length,En=new Array(At),Gn=0;Gn<At;Gn++)En[Gn]=arguments[Gn];return at=Fe.call.apply(Fe,[this].concat(En)),at.handleChange=function(lr){var pr=bn(lr,at.props.direction,at.props.hsl,at.container);pr&&typeof at.props.onChange=="function"&&at.props.onChange(pr,lr)},at.handleMouseDown=function(lr){at.handleChange(lr),window.addEventListener("mousemove",at.handleChange),window.addEventListener("mouseup",at.handleMouseUp)},at.handleMouseUp=function(){at.unbindEventListeners()},at}return jn(Et,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var At=this,En=this.props.direction,Gn=En===void 0?"horizontal":En,lr=G()({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:"".concat(this.props.hsl.h*100/360,"%")},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:"".concat(-(this.props.hsl.h*100/360)+100,"%")}}},{vertical:Gn==="vertical"});return p.a.createElement("div",{style:lr.hue},p.a.createElement("div",{className:"hue-".concat(Gn),style:lr.container,ref:function(Gr){return At.container=Gr},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},p.a.createElement("style",null,`
- .hue-horizontal {
- background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
- 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
- background: -webkit-linear-gradient(to right, #f00 0%, #ff0
- 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
- }
- .hue-vertical {
- background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,
- #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
- background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,
- #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
- }
- `),p.a.createElement("div",{style:lr.pointer},this.props.pointer?p.a.createElement(this.props.pointer,this.props):p.a.createElement("div",{style:lr.slider}))))}}]),Et}(l.PureComponent||l.Component),dt=vn,ct=e("DzJC"),Kt=e.n(ct),pn=function(Fe,Et,at){var At=at.getBoundingClientRect(),En=At.width,Gn=At.height,lr=typeof Fe.pageX=="number"?Fe.pageX:Fe.touches[0].pageX,pr=typeof Fe.pageY=="number"?Fe.pageY:Fe.touches[0].pageY,Gr=lr-(at.getBoundingClientRect().left+window.pageXOffset),Hr=pr-(at.getBoundingClientRect().top+window.pageYOffset);Gr<0?Gr=0:Gr>En&&(Gr=En),Hr<0?Hr=0:Hr>Gn&&(Hr=Gn);var _i=Gr/En,Gi=1-Hr/Gn;return{h:Et.h,s:_i,v:Gi,a:Et.a,source:"hsv"}};function kn(rt){return kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},kn(rt)}function Pt(rt,Fe){if(!(rt instanceof Fe))throw new TypeError("Cannot call a class as a function")}function gn(rt,Fe){for(var Et=0;Et<Fe.length;Et++){var at=Fe[Et];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(rt,Kn(at.key),at)}}function _n(rt,Fe,Et){return Fe&&gn(rt.prototype,Fe),Et&&gn(rt,Et),Object.defineProperty(rt,"prototype",{writable:!1}),rt}function Kn(rt){var Fe=qn(rt,"string");return kn(Fe)==="symbol"?Fe:String(Fe)}function qn(rt,Fe){if(kn(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(kn(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}function rr(rt,Fe){if(typeof Fe!="function"&&Fe!==null)throw new TypeError("Super expression must either be null or a function");rt.prototype=Object.create(Fe&&Fe.prototype,{constructor:{value:rt,writable:!0,configurable:!0}}),Object.defineProperty(rt,"prototype",{writable:!1}),Fe&&Rn(rt,Fe)}function Rn(rt,Fe){return Rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(at,At){return at.__proto__=At,at},Rn(rt,Fe)}function mr(rt){var Fe=yr();return function(){var at=br(rt),At;if(Fe){var En=br(this).constructor;At=Reflect.construct(at,arguments,En)}else At=at.apply(this,arguments);return ar(this,At)}}function ar(rt,Fe){if(Fe&&(kn(Fe)==="object"||typeof Fe=="function"))return Fe;if(Fe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return sr(rt)}function sr(rt){if(rt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return rt}function yr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(rt){return!1}}function br(rt){return br=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Et){return Et.__proto__||Object.getPrototypeOf(Et)},br(rt)}var _r=function(rt){rr(Et,rt);var Fe=mr(Et);function Et(at){var At;return Pt(this,Et),At=Fe.call(this,at),At.handleChange=function(En){typeof At.props.onChange=="function"&&At.throttle(At.props.onChange,pn(En,At.props.hsl,At.container),En)},At.handleMouseDown=function(En){At.handleChange(En);var Gn=At.getContainerRenderWindow();Gn.addEventListener("mousemove",At.handleChange),Gn.addEventListener("mouseup",At.handleMouseUp)},At.handleMouseUp=function(){At.unbindEventListeners()},At.throttle=Kt()(function(En,Gn,lr){En(Gn,lr)},50),At}return _n(Et,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var At=this.container,En=window;!En.document.contains(At)&&En.parent!==En;)En=En.parent;return En}},{key:"unbindEventListeners",value:function(){var At=this.getContainerRenderWindow();At.removeEventListener("mousemove",this.handleChange),At.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var At=this,En=this.props.style||{},Gn=En.color,lr=En.white,pr=En.black,Gr=En.pointer,Hr=En.circle,_i=G()({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl(".concat(this.props.hsl.h,",100%, 50%)"),borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:"".concat(-(this.props.hsv.v*100)+100,"%"),left:"".concat(this.props.hsv.s*100,"%"),cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),
- 0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:Gn,white:lr,black:pr,pointer:Gr,circle:Hr}},{custom:!!this.props.style});return p.a.createElement("div",{style:_i.color,ref:function(Dt){return At.container=Dt},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},p.a.createElement("style",null,`
- .saturation-white {
- background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
- background: linear-gradient(to right, #fff, rgba(255,255,255,0));
- }
- .saturation-black {
- background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
- background: linear-gradient(to top, #000, rgba(0,0,0,0));
- }
- `),p.a.createElement("div",{style:_i.white,className:"saturation-white"},p.a.createElement("div",{style:_i.black,className:"saturation-black"}),p.a.createElement("div",{style:_i.pointer},this.props.pointer?p.a.createElement(this.props.pointer,this.props):p.a.createElement("div",{style:_i.circle}))))}}]),Et}(l.PureComponent||l.Component),li=_r,xi=e("sEfC"),Mi=e.n(xi),Fr=e("xkGU"),ur=e.n(Fr),Ti=e("lMfh"),Xi=e.n(Ti),ca=function(Fe){var Et=["r","g","b","a","h","s","l","v"],at=0,At=0;return ur()(Et,function(En){if(Fe[En]&&(at+=1,isNaN(Fe[En])||(At+=1),En==="s"||En==="l")){var Gn=/^\d+%$/;Gn.test(Fe[En])&&(At+=1)}}),at===At?Fe:!1},Zi=function(Fe,Et){var at=Fe.hex?Xi()(Fe.hex):Xi()(Fe),At=at.toHsl(),En=at.toHsv(),Gn=at.toRgb(),lr=at.toHex();At.s===0&&(At.h=Et||0,En.h=Et||0);var pr=lr==="000000"&&Gn.a===0;return{hsl:At,hex:pr?"transparent":"#".concat(lr),rgb:Gn,hsv:En,oldHue:Fe.h||Et||At.h,source:Fe.source}},xa=function(Fe){if(Fe==="transparent")return!0;var Et=String(Fe).charAt(0)==="#"?1:0;return Fe.length!==4+Et&&Fe.length<7+Et&&Xi()(Fe).isValid()},va=function(Fe){if(!Fe)return"#fff";var Et=Zi(Fe);if(Et.hex==="transparent")return"rgba(0,0,0,0.4)";var at=(Et.rgb.r*299+Et.rgb.g*587+Et.rgb.b*114)/1e3;return at>=128?"#000":"#fff"},Ma={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},_a=function(Fe,Et){var at=Fe.replace("\xB0","");return Xi()("".concat(Et," (").concat(at,")"))._ok};function na(rt){return na=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},na(rt)}function sa(){return sa=Object.assign?Object.assign.bind():function(rt){for(var Fe=1;Fe<arguments.length;Fe++){var Et=arguments[Fe];for(var at in Et)Object.prototype.hasOwnProperty.call(Et,at)&&(rt[at]=Et[at])}return rt},sa.apply(this,arguments)}function Ai(rt,Fe){var Et=Object.keys(rt);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(rt);Fe&&(at=at.filter(function(At){return Object.getOwnPropertyDescriptor(rt,At).enumerable})),Et.push.apply(Et,at)}return Et}function ba(rt){for(var Fe=1;Fe<arguments.length;Fe++){var Et=arguments[Fe]!=null?arguments[Fe]:{};Fe%2?Ai(Object(Et),!0).forEach(function(at){ea(rt,at,Et[at])}):Object.getOwnPropertyDescriptors?Object.defineProperties(rt,Object.getOwnPropertyDescriptors(Et)):Ai(Object(Et)).forEach(function(at){Object.defineProperty(rt,at,Object.getOwnPropertyDescriptor(Et,at))})}return rt}function ea(rt,Fe,Et){return Fe=Ze(Fe),Fe in rt?Object.defineProperty(rt,Fe,{value:Et,enumerable:!0,configurable:!0,writable:!0}):rt[Fe]=Et,rt}function mn(rt,Fe){if(!(rt instanceof Fe))throw new TypeError("Cannot call a class as a function")}function It(rt,Fe){for(var Et=0;Et<Fe.length;Et++){var at=Fe[Et];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(rt,Ze(at.key),at)}}function Ue(rt,Fe,Et){return Fe&&It(rt.prototype,Fe),Et&&It(rt,Et),Object.defineProperty(rt,"prototype",{writable:!1}),rt}function Ze(rt){var Fe=Pe(rt,"string");return na(Fe)==="symbol"?Fe:String(Fe)}function Pe(rt,Fe){if(na(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(na(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}function mt(rt,Fe){if(typeof Fe!="function"&&Fe!==null)throw new TypeError("Super expression must either be null or a function");rt.prototype=Object.create(Fe&&Fe.prototype,{constructor:{value:rt,writable:!0,configurable:!0}}),Object.defineProperty(rt,"prototype",{writable:!1}),Fe&&xt(rt,Fe)}function xt(rt,Fe){return xt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(at,At){return at.__proto__=At,at},xt(rt,Fe)}function cn(rt){var Fe=Pn();return function(){var at=an(rt),At;if(Fe){var En=an(this).constructor;At=Reflect.construct(at,arguments,En)}else At=at.apply(this,arguments);return Ut(this,At)}}function Ut(rt,Fe){if(Fe&&(na(Fe)==="object"||typeof Fe=="function"))return Fe;if(Fe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wt(rt)}function wt(rt){if(rt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return rt}function Pn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(rt){return!1}}function an(rt){return an=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Et){return Et.__proto__||Object.getPrototypeOf(Et)},an(rt)}var Dn=function(Fe){var Et=function(at){mt(En,at);var At=cn(En);function En(Gn){var lr;return mn(this,En),lr=At.call(this),lr.handleChange=function(pr,Gr){var Hr=ca(pr);if(Hr){var _i=Zi(pr,pr.h||lr.state.oldHue);lr.setState(_i),lr.props.onChangeComplete&&lr.debounce(lr.props.onChangeComplete,_i,Gr),lr.props.onChange&&lr.props.onChange(_i,Gr)}},lr.handleSwatchHover=function(pr,Gr){var Hr=ca(pr);if(Hr){var _i=Zi(pr,pr.h||lr.state.oldHue);lr.props.onSwatchHover&&lr.props.onSwatchHover(_i,Gr)}},lr.state=ba({},Zi(Gn.color,0)),lr.debounce=Mi()(function(pr,Gr,Hr){pr(Gr,Hr)},100),lr}return Ue(En,[{key:"render",value:function(){var lr={};return this.props.onSwatchHover&&(lr.onSwatchHover=this.handleSwatchHover),p.a.createElement(Fe,sa({},this.props,this.state,{onChange:this.handleChange},lr))}}],[{key:"getDerivedStateFromProps",value:function(lr,pr){return ba({},Zi(lr.color,pr.oldHue))}}]),En}(l.PureComponent||l.Component);return Et.propTypes=ba({},Fe.propTypes),Et.defaultProps=ba(ba({},Fe.defaultProps),{},{color:{h:250,s:.5,l:.2,a:1}}),Et},Tn=Dn;function Zn(rt){return Zn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},Zn(rt)}function Mr(rt,Fe,Et){return Fe=dr(Fe),Fe in rt?Object.defineProperty(rt,Fe,{value:Et,enumerable:!0,configurable:!0,writable:!0}):rt[Fe]=Et,rt}function xr(rt,Fe){if(!(rt instanceof Fe))throw new TypeError("Cannot call a class as a function")}function Vr(rt,Fe){for(var Et=0;Et<Fe.length;Et++){var at=Fe[Et];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(rt,dr(at.key),at)}}function Dr(rt,Fe,Et){return Fe&&Vr(rt.prototype,Fe),Et&&Vr(rt,Et),Object.defineProperty(rt,"prototype",{writable:!1}),rt}function dr(rt){var Fe=gt(rt,"string");return Zn(Fe)==="symbol"?Fe:String(Fe)}function gt(rt,Fe){if(Zn(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(Zn(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}function Rr(rt,Fe){if(typeof Fe!="function"&&Fe!==null)throw new TypeError("Super expression must either be null or a function");rt.prototype=Object.create(Fe&&Fe.prototype,{constructor:{value:rt,writable:!0,configurable:!0}}),Object.defineProperty(rt,"prototype",{writable:!1}),Fe&&ci(rt,Fe)}function ci(rt,Fe){return ci=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(at,At){return at.__proto__=At,at},ci(rt,Fe)}function ai(rt){var Fe=Hi();return function(){var at=hi(rt),At;if(Fe){var En=hi(this).constructor;At=Reflect.construct(at,arguments,En)}else At=at.apply(this,arguments);return bi(this,At)}}function bi(rt,Fe){if(Fe&&(Zn(Fe)==="object"||typeof Fe=="function"))return Fe;if(Fe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return zr(rt)}function zr(rt){if(rt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return rt}function Hi(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(rt){return!1}}function hi(rt){return hi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Et){return Et.__proto__||Object.getPrototypeOf(Et)},hi(rt)}var Ci=1,Ii=38,Mn=40,nr=[Ii,Mn],cr=function(Fe){return nr.indexOf(Fe)>-1},Lr=function(Fe){return Number(String(Fe).replace(/%/g,""))},ei=1,ki=function(rt){Rr(Et,rt);var Fe=ai(Et);function Et(at){var At;return xr(this,Et),At=Fe.call(this),At.handleBlur=function(){At.state.blurValue&&At.setState({value:At.state.blurValue,blurValue:null})},At.handleChange=function(En){At.setUpdatedValue(En.target.value,En)},At.handleKeyDown=function(En){var Gn=Lr(En.target.value);if(!isNaN(Gn)&&cr(En.keyCode)){var lr=At.getArrowOffset(),pr=En.keyCode===Ii?Gn+lr:Gn-lr;At.setUpdatedValue(pr,En)}},At.handleDrag=function(En){if(At.props.dragLabel){var Gn=Math.round(At.props.value+En.movementX);Gn>=0&&Gn<=At.props.dragMax&&At.props.onChange&&At.props.onChange(At.getValueObjectWithLabel(Gn),En)}},At.handleMouseDown=function(En){At.props.dragLabel&&(En.preventDefault(),At.handleDrag(En),window.addEventListener("mousemove",At.handleDrag),window.addEventListener("mouseup",At.handleMouseUp))},At.handleMouseUp=function(){At.unbindEventListeners()},At.unbindEventListeners=function(){window.removeEventListener("mousemove",At.handleDrag),window.removeEventListener("mouseup",At.handleMouseUp)},At.state={value:String(at.value).toUpperCase(),blurValue:String(at.value).toUpperCase()},At.inputId="rc-editable-input-".concat(ei++),At}return Dr(Et,[{key:"componentDidUpdate",value:function(At,En){this.props.value!==this.state.value&&(At.value!==this.props.value||En.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(At){return Mr({},this.props.label,At)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||Ci}},{key:"setUpdatedValue",value:function(At,En){var Gn=this.props.label?this.getValueObjectWithLabel(At):At;this.props.onChange&&this.props.onChange(Gn,En),this.setState({value:At})}},{key:"render",value:function(){var At=this,En=G()({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return p.a.createElement("div",{style:En.wrap},p.a.createElement("input",{id:this.inputId,style:En.input,ref:function(lr){return At.input=lr},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?p.a.createElement("label",{htmlFor:this.inputId,style:En.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),Et}(l.PureComponent||l.Component),ua=ki;function Qi(rt){return Qi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},Qi(rt)}function Br(){return Br=Object.assign?Object.assign.bind():function(rt){for(var Fe=1;Fe<arguments.length;Fe++){var Et=arguments[Fe];for(var at in Et)Object.prototype.hasOwnProperty.call(Et,at)&&(rt[at]=Et[at])}return rt},Br.apply(this,arguments)}function ga(rt,Fe){if(!(rt instanceof Fe))throw new TypeError("Cannot call a class as a function")}function fa(rt,Fe){for(var Et=0;Et<Fe.length;Et++){var at=Fe[Et];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(rt,In(at.key),at)}}function Ja(rt,Fe,Et){return Fe&&fa(rt.prototype,Fe),Et&&fa(rt,Et),Object.defineProperty(rt,"prototype",{writable:!1}),rt}function In(rt){var Fe=ve(rt,"string");return Qi(Fe)==="symbol"?Fe:String(Fe)}function ve(rt,Fe){if(Qi(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(Qi(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}function x(rt,Fe){if(typeof Fe!="function"&&Fe!==null)throw new TypeError("Super expression must either be null or a function");rt.prototype=Object.create(Fe&&Fe.prototype,{constructor:{value:rt,writable:!0,configurable:!0}}),Object.defineProperty(rt,"prototype",{writable:!1}),Fe&&le(rt,Fe)}function le(rt,Fe){return le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(at,At){return at.__proto__=At,at},le(rt,Fe)}function me(rt){var Fe=pt();return function(){var at=ke(rt),At;if(Fe){var En=ke(this).constructor;At=Reflect.construct(at,arguments,En)}else At=at.apply(this,arguments);return Ae(this,At)}}function Ae(rt,Fe){if(Fe&&(Qi(Fe)==="object"||typeof Fe=="function"))return Fe;if(Fe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tt(rt)}function tt(rt){if(rt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return rt}function pt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(rt){return!1}}function ke(rt){return ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Et){return Et.__proto__||Object.getPrototypeOf(Et)},ke(rt)}var we=function(Fe){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(at){x(En,at);var At=me(En);function En(){var Gn;ga(this,En);for(var lr=arguments.length,pr=new Array(lr),Gr=0;Gr<lr;Gr++)pr[Gr]=arguments[Gr];return Gn=At.call.apply(At,[this].concat(pr)),Gn.state={focus:!1},Gn.handleFocus=function(){return Gn.setState({focus:!0})},Gn.handleBlur=function(){return Gn.setState({focus:!1})},Gn}return Ja(En,[{key:"render",value:function(){return p.a.createElement(Et,{onFocus:this.handleFocus,onBlur:this.handleBlur},p.a.createElement(Fe,Br({},this.props,this.state)))}}]),En}(p.a.Component)};function Be(rt){return Be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},Be(rt)}function Le(){return Le=Object.assign?Object.assign.bind():function(rt){for(var Fe=1;Fe<arguments.length;Fe++){var Et=arguments[Fe];for(var at in Et)Object.prototype.hasOwnProperty.call(Et,at)&&(rt[at]=Et[at])}return rt},Le.apply(this,arguments)}function J(rt,Fe){var Et=Object.keys(rt);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(rt);Fe&&(at=at.filter(function(At){return Object.getOwnPropertyDescriptor(rt,At).enumerable})),Et.push.apply(Et,at)}return Et}function Ke(rt){for(var Fe=1;Fe<arguments.length;Fe++){var Et=arguments[Fe]!=null?arguments[Fe]:{};Fe%2?J(Object(Et),!0).forEach(function(at){We(rt,at,Et[at])}):Object.getOwnPropertyDescriptors?Object.defineProperties(rt,Object.getOwnPropertyDescriptors(Et)):J(Object(Et)).forEach(function(at){Object.defineProperty(rt,at,Object.getOwnPropertyDescriptor(Et,at))})}return rt}function We(rt,Fe,Et){return Fe=Ot(Fe),Fe in rt?Object.defineProperty(rt,Fe,{value:Et,enumerable:!0,configurable:!0,writable:!0}):rt[Fe]=Et,rt}function Ot(rt){var Fe=Vt(rt,"string");return Be(Fe)==="symbol"?Fe:String(Fe)}function Vt(rt,Fe){if(Be(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(Be(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}var $t=13,Gt=function(Fe){var Et=Fe.color,at=Fe.style,At=Fe.onClick,En=At===void 0?function(){}:At,Gn=Fe.onHover,lr=Fe.title,pr=lr===void 0?Et:lr,Gr=Fe.children,Hr=Fe.focus,_i=Fe.focusStyle,Gi=_i===void 0?{}:_i,Dt=Et==="transparent",ta=G()({default:{swatch:Ke(Ke({background:Et,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},at),Hr?Gi:{})}}),Ji=function(io){return En(Et,io)},la=function(io){return io.keyCode===$t&&En(Et,io)},Aa=function(io){return Gn(Et,io)},ja={};return Gn&&(ja.onMouseOver=Aa),p.a.createElement("div",Le({style:ta.swatch,onClick:Ji,title:pr,tabIndex:0,onKeyDown:la},ja),Gr,Dt&&p.a.createElement(_e,{borderRadius:ta.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))},hn=we(Gt),$n=function(Fe){var Et=Fe.onChange,at=Fe.rgb,At=Fe.hsl,En=Fe.hex,Gn=Fe.disableAlpha,lr=G()({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:Gn}),pr=function(Hr,_i){Hr.hex?xa(Hr.hex)&&(Et==null||Et({hex:Hr.hex,source:"hex"},_i)):Hr.r||Hr.g||Hr.b?Et==null||Et({r:Hr.r||(at==null?void 0:at.r),g:Hr.g||(at==null?void 0:at.g),b:Hr.b||(at==null?void 0:at.b),a:at==null?void 0:at.a,source:"rgb"},_i):Hr.a&&(Hr.a<0?Hr.a=0:Hr.a>100&&(Hr.a=100),Hr.a/=100,Et==null||Et({h:At==null?void 0:At.h,s:At==null?void 0:At.s,l:At==null?void 0:At.l,a:Hr.a,source:"rgb"},_i))};return p.a.createElement("div",{style:lr.fields,className:"flexbox-fix"},p.a.createElement("div",{style:lr.double},p.a.createElement(ua,{style:{input:lr.input,label:lr.label},label:"hex",value:En==null?void 0:En.replace("#",""),onChange:pr})),p.a.createElement("div",{style:lr.single},p.a.createElement(ua,{style:{input:lr.input,label:lr.label},label:"r",value:at==null?void 0:at.r,onChange:pr,dragLabel:"true",dragMax:"255"})),p.a.createElement("div",{style:lr.single},p.a.createElement(ua,{style:{input:lr.input,label:lr.label},label:"g",value:at==null?void 0:at.g,onChange:pr,dragLabel:"true",dragMax:"255"})),p.a.createElement("div",{style:lr.single},p.a.createElement(ua,{style:{input:lr.input,label:lr.label},label:"b",value:at==null?void 0:at.b,onChange:pr,dragLabel:"true",dragMax:"255"})),p.a.createElement("div",{style:lr.alpha},p.a.createElement(ua,{style:{input:lr.input,label:lr.label},label:"a",value:Math.round(((at==null?void 0:at.a)||0)*100),onChange:pr,dragLabel:"true",dragMax:"100"})))},Sr=$n;function vr(rt){return vr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},vr(rt)}function zn(rt,Fe){var Et=Object.keys(rt);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(rt);Fe&&(at=at.filter(function(At){return Object.getOwnPropertyDescriptor(rt,At).enumerable})),Et.push.apply(Et,at)}return Et}function Tr(rt){for(var Fe=1;Fe<arguments.length;Fe++){var Et=arguments[Fe]!=null?arguments[Fe]:{};Fe%2?zn(Object(Et),!0).forEach(function(at){Qr(rt,at,Et[at])}):Object.getOwnPropertyDescriptors?Object.defineProperties(rt,Object.getOwnPropertyDescriptors(Et)):zn(Object(Et)).forEach(function(at){Object.defineProperty(rt,at,Object.getOwnPropertyDescriptor(Et,at))})}return rt}function Qr(rt,Fe,Et){return Fe=Qe(Fe),Fe in rt?Object.defineProperty(rt,Fe,{value:Et,enumerable:!0,configurable:!0,writable:!0}):rt[Fe]=Et,rt}function Qe(rt){var Fe=Jt(rt,"string");return vr(Fe)==="symbol"?Fe:String(Fe)}function Jt(rt,Fe){if(vr(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(vr(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}var ln=function(Fe){var Et=Fe.colors,at=Fe.onClick,At=at===void 0?function(){}:at,En=Fe.onSwatchHover,Gn={colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{msBorderRadius:"3px",MozBorderRadius:"3px",OBorderRadius:"3px",WebkitBorderRadius:"3px",borderRadius:"3px",msBoxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)",MozBoxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)",OBoxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)",WebkitBoxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},lr=function(Gr,Hr){At==null||At({hex:Gr,source:"hex"},Hr)};return p.a.createElement("div",{style:Gn.colors,className:"flexbox-fix"},Et==null?void 0:Et.map(function(pr){var Gr=typeof pr=="string"?{color:pr,title:void 0}:pr,Hr="".concat(Gr.color).concat((Gr==null?void 0:Gr.title)||"");return p.a.createElement("div",{key:Hr,style:Gn.swatchWrap},p.a.createElement(hn,Tr(Tr({},Gr),{},{style:Gn.swatch,onClick:lr,onHover:En,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px ".concat(Gr.color)}})))}))},rn=ln;function An(rt){return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},An(rt)}function fr(rt,Fe){var Et=Object.keys(rt);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(rt);Fe&&(at=at.filter(function(At){return Object.getOwnPropertyDescriptor(rt,At).enumerable})),Et.push.apply(Et,at)}return Et}function Pr(rt){for(var Fe=1;Fe<arguments.length;Fe++){var Et=arguments[Fe]!=null?arguments[Fe]:{};Fe%2?fr(Object(Et),!0).forEach(function(at){kr(rt,at,Et[at])}):Object.getOwnPropertyDescriptors?Object.defineProperties(rt,Object.getOwnPropertyDescriptors(Et)):fr(Object(Et)).forEach(function(at){Object.defineProperty(rt,at,Object.getOwnPropertyDescriptor(Et,at))})}return rt}function kr(rt,Fe,Et){return Fe=Ar(Fe),Fe in rt?Object.defineProperty(rt,Fe,{value:Et,enumerable:!0,configurable:!0,writable:!0}):rt[Fe]=Et,rt}function Ar(rt){var Fe=vi(rt,"string");return An(Fe)==="symbol"?Fe:String(Fe)}function vi(rt,Fe){if(An(rt)!=="object"||rt===null)return rt;var Et=rt[Symbol.toPrimitive];if(Et!==void 0){var at=Et.call(rt,Fe||"default");if(An(at)!=="object")return at;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(rt)}var Wi=function(Fe){var Et=Fe.width,at=Fe.rgb,At=Fe.hex,En=Fe.hsv,Gn=Fe.hsl,lr=Fe.onChange,pr=Fe.onSwatchHover,Gr=Fe.disableAlpha,Hr=Fe.presetColors,_i=Fe.renderers,Gi=Fe.styles,Dt=Gi===void 0?{}:Gi,ta=Fe.className,Ji=ta===void 0?"":ta,la=G()(pe()({default:Pr({picker:{width:Et,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba(".concat(at.r,",").concat(at.g,",").concat(at.b,",").concat(at.a,")"),boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},Dt),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},Dt),{disableAlpha:Gr});return p.a.createElement("div",{style:la.picker,className:"sketch-picker ".concat(Ji)},p.a.createElement("div",{style:la.saturation},p.a.createElement(li,{style:la.Saturation,hsl:Gn,hsv:En,onChange:lr})),p.a.createElement("div",{style:la.controls,className:"flexbox-fix"},p.a.createElement("div",{style:la.sliders},p.a.createElement("div",{style:la.hue},p.a.createElement(dt,{style:la.Hue,hsl:Gn,onChange:lr})),p.a.createElement("div",{style:la.alpha},p.a.createElement(nn,{style:la.Alpha,rgb:at,hsl:Gn,renderers:_i,onChange:lr}))),p.a.createElement("div",{style:la.color},p.a.createElement(_e,null),p.a.createElement("div",{style:la.activeColor}))),p.a.createElement(Sr,{rgb:at,hsl:Gn,hex:At,onChange:lr,disableAlpha:Gr}),p.a.createElement(rn,{colors:Hr,onClick:lr,onSwatchHover:pr}))};Wi.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};var di=Tn(Wi),ri=e("6cGi"),yi=["mode","popoverProps"],Si=["#FF9D4E","#5BD8A6","#5B8FF9","#F7664E","#FF86B7","#2B9E9D","#9270CA","#6DC8EC","#667796","#F6BD16"],zi=function(Fe){var Et=Fe.mode,at=Fe.popoverProps,At=Object(u.a)(Fe,yi),En=Object(l.useContext)(I.a.ConfigContext),Gn=En.getPrefixCls,lr=Gn("pro-field-color-picker"),pr=Object(ri.a)("#1890ff",{value:At.value,onChange:At.onChange}),Gr=Object(k.a)(pr,2),Hr=Gr[0],_i=Gr[1],Gi=Object(i.jsx)("div",{className:lr,style:{padding:5,width:48,border:"1px solid #ddd",borderRadius:"2px",cursor:"pointer"},children:Object(i.jsx)("div",{style:{backgroundColor:Hr,width:36,height:14,borderRadius:"2px"}})});return Et==="read"?Gi:Object(i.jsx)(C.a,Object(o.a)(Object(o.a)({trigger:"click",placement:"right"},at),{},{content:Object(i.jsx)("div",{style:{margin:"-12px -16px"},children:Object(i.jsx)(di,Object(o.a)(Object(o.a)({},At),{},{presetColors:At.colors||At.presetColors||Si,color:Hr,onChange:function(ta){var Ji=ta.hex,la=ta.rgb,Aa=la.r,ja=la.g,Ta=la.b,io=la.a;if(io&&io<1){_i("rgba(".concat(Aa,", ").concat(ja,", ").concat(Ta,", ").concat(io,")"));return}_i(Ji)}}))}),children:Gi}))},si=function(Fe){var Et=Fe.text,at=Fe.mode,At=Fe.render,En=Fe.renderFormItem,Gn=Fe.fieldProps;if(at==="read"){var lr=Object(i.jsx)(zi,{value:Et,mode:"read"});return At?At(Et,Object(o.a)({mode:at},Gn),lr):lr}if(at==="edit"||at==="update"){var pr=Object(i.jsx)(zi,Object(o.a)({},Gn));return En?En(Et,Object(o.a)({mode:at},Gn),pr):pr}return null},ii=si,Yi=e("ZTW2"),La=e("+L6B"),Wa=e("+BJd"),Ri=e("+eQT"),Oa=e("wd/R"),Ha=e.n(Oa),Za=e("POPG"),co=function rt(Fe,Et){return Object(Za.a)(Fe)||Ha.a.isMoment(Fe)?Fe:Array.isArray(Fe)?Fe.map(function(at){return rt(at,Et)}):typeof Fe=="number"?Ha()(Fe):Ha()(Fe,Et)},Do=co,ra=e("Z1je"),ya=function(Fe,Et){return Fe?typeof Et=="function"?Et(Ha()(Fe)):Ha()(Fe).format(Et||"YYYY-MM-DD"):"-"},Ra=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.format,Gn=Fe.label,lr=Fe.light,pr=Fe.render,Gr=Fe.renderFormItem,Hr=Fe.plain,_i=Fe.showTime,Gi=Fe.fieldProps,Dt=Fe.picker,ta=Fe.bordered,Ji=Fe.lightLabel,la=Fe.labelTrigger,Aa=Object(a.d)(),ja=Object(l.useContext)(I.a.SizeContext),Ta=Object(l.useContext)(I.a.ConfigContext),io=Ta.getPrefixCls,to=io("pro-field-date-picker"),vo=Object(l.useState)(!1),go=Object(k.a)(vo,2),Sa=go[0],xo=go[1];if(At==="read"){var So=ya(at,Gi.format||En);return pr?pr(at,Object(o.a)({mode:At},Gi),Object(i.jsx)(i.Fragment,{children:So})):Object(i.jsx)(i.Fragment,{children:So})}if(At==="edit"||At==="update"){var so,To=Gi.disabled,Ho=Gi.value,uo=Gi.onChange,$o=Gi.allowClear,Us=Gi.placeholder,Go=Us===void 0?Aa.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"):Us,Qo=Do(Ho);if(lr){var cs=Qo&&Qo.format(En)||"";so=Object(i.jsxs)("div",{className:"".concat(to,"-light"),onClick:function(ps){var Ks,Gs,Ms,Zs=Ji==null||(Ks=Ji.current)===null||Ks===void 0||(Gs=Ks.labelRef)===null||Gs===void 0||(Ms=Gs.current)===null||Ms===void 0?void 0:Ms.contains(ps.target);xo(Zs?!Sa:!0)},children:[Object(i.jsx)(Ri.a,Object(o.a)(Object(o.a)({picker:Dt,showTime:_i,format:En,ref:Et},Gi),{},{value:Qo,onChange:function(ps){uo==null||uo(ps),setTimeout(function(){xo(!1)},0)},onOpenChange:function(ps){la||xo(ps)},open:Sa})),Object(i.jsx)($.a,{label:Gn,disabled:To,placeholder:Go,size:ja,value:cs,onClear:function(){uo==null||uo(null)},allowClear:$o,bordered:ta,expanded:Sa,ref:Ji})]})}else so=Object(i.jsx)(Ri.a,Object(o.a)(Object(o.a)({picker:Dt,showTime:_i,format:En,placeholder:Go,bordered:Hr===void 0?!0:!Hr,ref:Et},Gi),{},{value:Qo}));return Gr?Gr(at,Object(o.a)({mode:At},Gi),so):so}return null},Fa=p.a.forwardRef(Ra),Ca=e("giR+"),no=e("fyUT"),No=e("BGR+"),es=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.placeholder,lr=Fe.renderFormItem,pr=Fe.fieldProps,Gr=Object(l.useCallback)(function(Ji){var la,Aa=Ji!=null?Ji:void 0;if(typeof Ji=="string"&&(Aa=Number(Aa)),typeof Aa=="number"){if(pr.precision){var ja,Ta,io;Aa=(ja=Aa)===null||ja===void 0||(Ta=ja.toFixed)===null||Ta===void 0?void 0:Ta.call(ja,(io=pr.precision)!==null&&io!==void 0?io:0)}Aa=Number(Aa)}return pr==null||(la=pr.onChange)===null||la===void 0?void 0:la.call(pr,Aa)},[pr]);if(At==="read"){var Hr,_i={};(pr==null?void 0:pr.precision)&&(_i={minimumFractionDigits:Number(pr.precision),maximumFractionDigits:Number(pr.precision)});var Gi=new Intl.NumberFormat(void 0,Object(o.a)(Object(o.a)({},_i),(pr==null?void 0:pr.intlProps)||{})).format(Number(at)),Dt=Object(i.jsx)("span",{ref:Et,children:(pr==null||(Hr=pr.formatter)===null||Hr===void 0?void 0:Hr.call(pr,Gi))||Gi});return En?En(at,Object(o.a)({mode:At},pr),Dt):Dt}if(At==="edit"||At==="update"){var ta=Object(i.jsx)(no.a,Object(o.a)(Object(o.a)({ref:Et,min:0,placeholder:Gn},Object(No.a)(pr,["onChange"])),{},{onChange:Gr}));return lr?lr(at,Object(o.a)({mode:At},pr),ta):ta}return null},ds=p.a.forwardRef(es),Yr=e("KQm4"),jr=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.placeholder,lr=Fe.renderFormItem,pr=Fe.fieldProps,Gr=Fe.separator,Hr=Gr===void 0?"~":Gr,_i=Fe.separatorWidth,Gi=_i===void 0?30:_i,Dt=pr.value,ta=pr.defaultValue,Ji=pr.onChange,la=pr.id,Aa=Object(ri.a)(function(){return ta},{value:Dt,onChange:Ji}),ja=Object(k.a)(Aa,2),Ta=ja[0],io=ja[1];if(At==="read"){var to=function(To){var Ho,uo=new Intl.NumberFormat(void 0,Object(o.a)({minimumSignificantDigits:2},(pr==null?void 0:pr.intlProps)||{})).format(Number(To));return(pr==null||(Ho=pr.formatter)===null||Ho===void 0?void 0:Ho.call(pr,uo))||uo},vo=Object(i.jsxs)("span",{ref:Et,children:[to(at[0])," ",Hr," ",to(at[1])]});return En?En(at,Object(o.a)({mode:At},pr),vo):vo}if(At==="edit"||At==="update"){var go=function(){if(Array.isArray(Ta)){var To=Object(k.a)(Ta,2),Ho=To[0],uo=To[1];typeof Ho=="number"&&typeof uo=="number"&&Ho>uo?io([uo,Ho]):Ho===void 0&&uo===void 0&&io(void 0)}},Sa=function(To,Ho){var uo=Object(Yr.a)(Ta||[]);uo[To]=Ho===null?void 0:Ho,io(uo)},xo=(pr==null?void 0:pr.placeholder)||Gn,So=Object(i.jsxs)(Z.a.Group,{compact:!0,onBlur:go,children:[Object(i.jsx)(no.a,Object(o.a)(Object(o.a)({},pr),{},{placeholder:Array.isArray(xo)?xo[0]:xo,id:la!=null?la:"".concat(la,"-0"),style:{width:"calc((100% - ".concat(Gi,"px) / 2)")},value:Ta==null?void 0:Ta[0],defaultValue:ta==null?void 0:ta[0],onChange:function(To){return Sa(0,To)}})),Object(i.jsx)(Z.a,{style:{width:Gi,textAlign:"center",borderLeft:0,borderRight:0,pointerEvents:"none",backgroundColor:"#FFF"},placeholder:Hr,disabled:!0}),Object(i.jsx)(no.a,Object(o.a)(Object(o.a)({},pr),{},{placeholder:Array.isArray(xo)?xo[1]:xo,id:la!=null?la:"".concat(la,"-1"),style:{width:"calc((100% - ".concat(Gi,"px) / 2)"),borderLeft:0},value:Ta==null?void 0:Ta[1],defaultValue:ta==null?void 0:ta[1],onChange:function(To){return Sa(1,To)}}))]});return lr?lr(at,Object(o.a)({mode:At},pr),So):So}return null},Ei=p.a.forwardRef(jr),gi=e("5Dmo"),or=e("3S7+"),Ir=function(Fe){var Et=Fe.text,at=Fe.mode,At=Fe.render,En=Fe.renderFormItem,Gn=Fe.format,lr=Fe.fieldProps,pr=Object(a.d)();if(at==="read"){var Gr=Object(i.jsx)(or.a,{title:Ha()(Et).format((lr==null?void 0:lr.format)||Gn||"YYYY-MM-DD HH:mm:ss"),children:Ha()(Et).fromNow()});return At?At(Et,Object(o.a)({mode:at},lr),Object(i.jsx)(i.Fragment,{children:Gr})):Object(i.jsx)(i.Fragment,{children:Gr})}if(at==="edit"||at==="update"){var Hr=pr.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),_i=Do(lr.value),Gi=Object(i.jsx)(Ri.a,Object(o.a)(Object(o.a)({placeholder:Hr,showTime:!0},lr),{},{value:_i}));return En?En(Et,Object(o.a)({mode:at},lr),Gi):Gi}return null},Ur=Ir,Li=e("XCrF"),oa=e("1GRj"),Ua=p.a.forwardRef(function(rt,Fe){var Et=rt.text,at=rt.mode,At=rt.render,En=rt.renderFormItem,Gn=rt.fieldProps,lr=rt.placeholder,pr=rt.width;if(at==="read"){var Gr=Object(i.jsx)(oa.a,Object(o.a)({ref:Fe,width:pr||32,src:Et},Gn));return At?At(Et,Object(o.a)({mode:at},Gn),Gr):Gr}if(at==="edit"||at==="update"){var Hr=Object(i.jsx)(Z.a,Object(o.a)({ref:Fe,placeholder:lr},Gn));return En?En(Et,Object(o.a)({mode:at},Gn),Hr):Hr}return null}),$a=Ua,Ba=e("2Zs6"),ro=["content","numberFormatOptions","numberPopoverRender"],mo=["text","mode","render","renderFormItem","fieldProps","proFieldKey","plain","valueEnum","placeholder","locale","customSymbol","numberFormatOptions","numberPopoverRender"],oo=new Intl.NumberFormat("zh-Hans-CN",{currency:"CNY",style:"currency"}),Oo={style:"currency",currency:"USD"},Yo={style:"currency",currency:"RUB"},ts={style:"currency",currency:"RSD"},Os={style:"currency",currency:"MYR"},Rs={style:"currency",currency:"BRL"},Mo={default:oo,"zh-Hans-CN":{currency:"CNY",style:"currency"},"en-US":Oo,"ru-RU":Yo,"ms-MY":Os,"sr-RS":ts,"pt-BR":Rs},Bs=function(Fe,Et,at,At){var En=Et;return typeof En=="string"&&(En=Number(En)),!En&&En!==0?"":new Intl.NumberFormat(Fe||"zh-Hans-CN",Object(o.a)(Object(o.a)({},Fe===!1?{}:Mo[Fe||"zh-Hans-CN"]||Mo["zh-Hans-CN"]),{},{maximumFractionDigits:at},At)).format(En)},ll=2,ks=p.a.forwardRef(function(rt,Fe){var Et=rt.content,at=rt.numberFormatOptions,At=rt.numberPopoverRender,En=Object(u.a)(rt,ro),Gn=Object(ri.a)(function(){return En.defaultValue},{value:En.value,onChange:En.onChange}),lr=Object(k.a)(Gn,2),pr=lr[0],Gr=lr[1],Hr=Et==null?void 0:Et(Object(o.a)(Object(o.a)({},En),{},{value:pr})),_i={visible:Hr?En.visible:!1};return Object(i.jsx)(C.a,Object(o.a)(Object(o.a)({placement:"topLeft"},_i),{},{trigger:["focus","click"],content:Hr,getPopupContainer:function(Dt){return(Dt==null?void 0:Dt.parentElement)||document.body},children:Object(i.jsx)(no.a,Object(o.a)(Object(o.a)({ref:Fe},En),{},{value:pr,onChange:Gr}))}))}),xl=function(Fe,Et){var at,At,En=Fe.text,Gn=Fe.mode,lr=Fe.render,pr=Fe.renderFormItem,Gr=Fe.fieldProps,Hr=Fe.proFieldKey,_i=Fe.plain,Gi=Fe.valueEnum,Dt=Fe.placeholder,ta=Fe.locale,Ji=ta===void 0?(at=Gr.customSymbol)!==null&&at!==void 0?at:"zh-Hans-CN":ta,la=Fe.customSymbol,Aa=la===void 0?Gr.customSymbol:la,ja=Fe.numberFormatOptions,Ta=ja===void 0?Gr==null?void 0:Gr.numberFormatOptions:ja,io=Fe.numberPopoverRender,to=io===void 0?(Gr==null?void 0:Gr.numberPopoverRender)||!1:io,vo=Object(u.a)(Fe,mo),go=(At=Gr==null?void 0:Gr.precision)!==null&&At!==void 0?At:ll,Sa=Object(a.d)();Ji&&a.c[Ji]&&(Sa=a.c[Ji]);var xo=Object(l.useMemo)(function(){if(Aa)return Aa;var Ho=Sa.getMessage("moneySymbol","\uFFE5");if(!(vo.moneySymbol===!1||Gr.moneySymbol===!1))return Ho},[Aa,Gr.moneySymbol,Sa,vo.moneySymbol]);if(Gn==="read"){var So=Object(i.jsx)("span",{ref:Et,children:Bs(xo?Ji:!1,En,go,Ta!=null?Ta:Gr.numberFormatOptions)});return lr?lr(En,Object(o.a)({mode:Gn},Gr),So):So}if(Gn==="edit"||Gn==="update"){var so=function(uo){var $o=new RegExp("\\B(?=(\\d{".concat(3+Math.max(go-ll,0),"})+(?!\\d))"),"g"),Us=String(uo).split("."),Go=Object(k.a)(Us,2),Qo=Go[0],cs=Go[1],Ss=Qo.replace($o,","),ps="";return cs&&go>0&&(ps=".".concat(cs.slice(0,go===void 0?ll:go))),"".concat(Ss).concat(ps)},To=Object(i.jsx)(ks,Object(o.a)({content:function(uo){if(to!==!1&&!!uo.value){var $o=Bs(xo?Ji:!1,"".concat(so(uo.value)),go,Object(o.a)(Object(o.a)({},Ta),{},{notation:"compact"}));return typeof to=="function"?to==null?void 0:to(uo,$o):$o}},ref:Et,precision:go,formatter:function(uo){return uo&&xo?"".concat(xo," ").concat(so(uo)):uo==null?void 0:uo.toString()},parser:function(uo){return xo&&uo?uo.replace(new RegExp("\\".concat(xo,"\\s?|(,*)"),"g"),""):uo},placeholder:Dt},Object(No.a)(Gr,["numberFormatOptions","precision","numberPopoverRender","customSymbol","moneySymbol","visible"])));return pr?pr(En,Object(o.a)({mode:Gn},Gr),To):To}return null},Pl=p.a.forwardRef(xl),Wo=function(Fe){return Fe.map(function(Et,at){return p.a.isValidElement(Et)?p.a.cloneElement(Et,Object(o.a)({key:at},Et==null?void 0:Et.props)):Object(i.jsx)(p.a.Fragment,{children:Et},at)})},yl=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.fieldProps,lr=Object(l.useContext)(I.a.ConfigContext),pr=lr.getPrefixCls,Gr=pr("pro-field-option");if(Object(l.useImperativeHandle)(Et,function(){return{}}),En){var Hr=En(at,Object(o.a)({mode:At},Gn),Object(i.jsx)(i.Fragment,{}));return!Hr||(Hr==null?void 0:Hr.length)<1||!Array.isArray(Hr)?null:Object(i.jsx)(re.b,{size:16,className:Gr,children:Wo(Hr)})}return!at||!Array.isArray(at)?p.a.isValidElement(at)?at:null:Object(i.jsx)(re.b,{size:16,className:Gr,children:Wo(at)})},Ps=p.a.forwardRef(yl),B=e("9BLJ"),Oe=e("fHMl"),St=["text","mode","render","renderFormItem","fieldProps","proFieldKey"],Qt=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.renderFormItem,lr=Fe.fieldProps,pr=Fe.proFieldKey,Gr=Object(u.a)(Fe,St),Hr=Object(a.d)(),_i=Object(ri.a)(function(){return Gr.visible||!1},{value:Gr.visible,onChange:Gr.onVisible}),Gi=Object(k.a)(_i,2),Dt=Gi[0],ta=Gi[1];if(At==="read"){var Ji=Object(i.jsx)(i.Fragment,{children:"-"});return at&&(Ji=Object(i.jsxs)(re.b,{children:[Object(i.jsx)("span",{ref:Et,children:Dt?at:"\uFF0A \uFF0A \uFF0A \uFF0A \uFF0A"}),Object(i.jsx)("a",{onClick:function(){return ta(!Dt)},children:Dt?Object(i.jsx)(B.a,{}):Object(i.jsx)(Oe.a,{})})]})),En?En(at,Object(o.a)({mode:At},lr),Ji):Ji}if(At==="edit"||At==="update"){var la=Object(i.jsx)(Z.a.Password,Object(o.a)({placeholder:Hr.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),ref:Et},lr));return Gn?Gn(at,Object(o.a)({mode:At},lr),la):la}return null},Cn=p.a.forwardRef(Qt),Nn=e("CeSn"),Bn=e.n(Nn);function Xn(rt){return rt===0?null:rt>0?"+":"-"}function Jn(rt){return rt===0?"#595959":rt>0?"#ff4d4f":"#52c41a"}function Cr(rt){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Fe>=0?rt==null?void 0:rt.toFixed(Fe):rt}var Kr=function(Fe,Et){var at=Fe.text,At=Fe.prefix,En=Fe.precision,Gn=Fe.suffix,lr=Gn===void 0?"%":Gn,pr=Fe.mode,Gr=Fe.showColor,Hr=Gr===void 0?!1:Gr,_i=Fe.render,Gi=Fe.renderFormItem,Dt=Fe.fieldProps,ta=Fe.placeholder,Ji=Fe.showSymbol,la=Object(l.useMemo)(function(){return typeof at=="string"&&at.includes("%")?Bn()(at.replace("%","")):Bn()(at)},[at]),Aa=Object(l.useMemo)(function(){return typeof Ji=="function"?Ji==null?void 0:Ji(at):Ji},[Ji,at]);if(pr==="read"){var ja=Hr?{color:Jn(la)}:{},Ta=Object(i.jsxs)("span",{style:ja,ref:Et,children:[At&&Object(i.jsx)("span",{children:At}),Aa&&Object(i.jsxs)(l.Fragment,{children:[Xn(la)," "]}),Cr(Math.abs(la),En),lr&&lr]});return _i?_i(at,Object(o.a)(Object(o.a)({mode:pr},Dt),{},{prefix:At,precision:En,showSymbol:Aa,suffix:lr}),Ta):Ta}if(pr==="edit"||pr==="update"){var io=Object(i.jsx)(no.a,Object(o.a)({ref:Et,formatter:function(vo){return vo&&At?"".concat(At," ").concat(vo).replace(/\B(?=(\d{3})+(?!\d)$)/g,","):vo},parser:function(vo){return vo?vo.replace(/.*\s|,/g,""):""},placeholder:ta},Dt));return Gi?Gi(at,Object(o.a)({mode:pr},Dt),io):io}return null},ti=p.a.forwardRef(Kr),Pi=e("MXD1"),pi=e("CFYs");function Fi(rt){return rt===100?"success":rt<0?"exception":rt<100?"active":"normal"}var ha=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.plain,lr=Fe.renderFormItem,pr=Fe.fieldProps,Gr=Fe.placeholder,Hr=Object(l.useMemo)(function(){return typeof at=="string"&&at.includes("%")?Bn()(at.replace("%","")):Bn()(at)},[at]);if(At==="read"){var _i=Object(i.jsx)(pi.a,Object(o.a)({ref:Et,size:"small",style:{minWidth:100,maxWidth:320},percent:Hr,steps:Gn?10:void 0,status:Fi(Hr)},pr));return En?En(Hr,Object(o.a)({mode:At},pr),_i):_i}if(At==="edit"||At==="update"){var Gi=Object(i.jsx)(no.a,Object(o.a)({ref:Et,placeholder:Gr},pr));return lr?lr(at,Object(o.a)({mode:At},pr),Gi):Gi}return null},$i=p.a.forwardRef(ha),wa=e("7Kak"),Lo=e("9yH6"),Co=e("nSmt"),qa=["radioType","renderFormItem","mode","render"],Va=function(Fe,Et){var at=Fe.radioType,At=Fe.renderFormItem,En=Fe.mode,Gn=Fe.render,lr=Object(u.a)(Fe,qa),pr=Object(l.useContext)(I.a.ConfigContext),Gr=pr.getPrefixCls,Hr=Gr("pro-field-radio"),_i=Object(b.e)(lr),Gi=Object(k.a)(_i,3),Dt=Gi[0],ta=Gi[1],Ji=Gi[2],la=Object(l.useRef)();if(Object(l.useImperativeHandle)(Et,function(){return Object(o.a)(Object(o.a)({},la.current||{}),{},{fetchData:function(){return Ji()}})}),Dt)return Object(i.jsx)(oe.a,{size:"small"});if(En==="read"){var Aa=(ta==null?void 0:ta.length)?ta==null?void 0:ta.reduce(function(vo,go){var Sa;return Object(o.a)(Object(o.a)({},vo),{},Object(ye.a)({},(Sa=go.value)!==null&&Sa!==void 0?Sa:"",go.label))},{}):void 0,ja=Object(i.jsx)(i.Fragment,{children:Object(b.c)(lr.text,Object(b.a)(lr.valueEnum||Aa))});return Gn?Gn(lr.text,Object(o.a)({mode:En},lr.fieldProps),ja)||null:ja}if(En==="edit"){var Ta,io=at==="button"?Lo.a.Button:Lo.a,to=Object(i.jsx)(Lo.a.Group,Object(o.a)(Object(o.a)({ref:la},lr.fieldProps),{},{className:g()((Ta=lr.fieldProps)===null||Ta===void 0?void 0:Ta.className,"".concat(Hr,"-").concat(lr.fieldProps.layout||"horizontal")),options:void 0,children:ta==null?void 0:ta.map(function(vo){return Object(i.jsx)(io,Object(o.a)(Object(o.a)({},vo),{},{children:vo.label}),vo.value)})}));return At?At(lr.text,Object(o.a)({mode:En},lr.fieldProps),to)||null:to}return null},pa=p.a.forwardRef(Va),fo=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.format,Gn=Fe.render,lr=Fe.renderFormItem,pr=Fe.plain,Gr=Fe.showTime,Hr=Fe.fieldProps,_i=Object(a.d)(),Gi=Array.isArray(at)?at:[],Dt=Object(k.a)(Gi,2),ta=Dt[0],Ji=Dt[1],la=Object(l.useCallback)(function(vo){if(typeof(Hr==null?void 0:Hr.format)=="function"){var go;return Hr==null||(go=Hr.format)===null||go===void 0?void 0:go.call(Hr,vo)}return(Hr==null?void 0:Hr.format)||En||"YYYY-MM-DD"},[Hr,En]),Aa=ta?Ha()(ta).format(la(Ha()(ta))):"",ja=Ji?Ha()(Ji).format(la(Ha()(Ji))):"";if(At==="read"){var Ta=Object(i.jsxs)("div",{ref:Et,children:[Object(i.jsx)("div",{children:Aa||"-"}),Object(i.jsx)("div",{children:ja||"-"})]});return Gn?Gn(at,Object(o.a)({mode:At},Hr),Object(i.jsx)("span",{children:Ta})):Ta}if(At==="edit"||At==="update"){var io=Do(Hr.value),to=Object(i.jsx)(Ri.a.RangePicker,Object(o.a)(Object(o.a)({ref:Et,format:En,showTime:Gr,placeholder:[_i.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),_i.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")],bordered:pr===void 0?!0:!pr},Hr),{},{value:io}));return lr?lr(at,Object(o.a)({mode:At},Hr),to):to}return null},Ao=p.a.forwardRef(fo),ko=e("EFp3"),Jo=e("xzDV"),rs=e("wx14"),Cs={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},ms=Cs,Po=e("6VBw"),rl=function(Fe,Et){return l.createElement(Po.a,Object(o.a)(Object(o.a)({},Fe),{},{ref:Et,icon:ms}))};rl.displayName="StarFilled";var Rl=l.forwardRef(rl),bl=e("1OyB"),Tl=e("vuIU"),ou=e("Ji7U"),Vu=e("LK+K"),Du=e("m+aA"),qo=e("4IlW");function Io(rt){var Fe=rt.pageXOffset,Et="scrollLeft";if(typeof Fe!="number"){var at=rt.document;Fe=at.documentElement[Et],typeof Fe!="number"&&(Fe=at.body[Et])}return Fe}function po(rt){var Fe,Et,at=rt.ownerDocument,At=at.body,En=at&&at.documentElement,Gn=rt.getBoundingClientRect();return Fe=Gn.left,Et=Gn.top,Fe-=En.clientLeft||At.clientLeft||0,Et-=En.clientTop||At.clientTop||0,{left:Fe,top:Et}}function fl(rt){var Fe=po(rt),Et=rt.ownerDocument,at=Et.defaultView||Et.parentWindow;return Fe.left+=Io(at),Fe.left}var ir=function(rt){Object(ou.a)(Et,rt);var Fe=Object(Vu.a)(Et);function Et(){var at;Object(bl.a)(this,Et);for(var At=arguments.length,En=new Array(At),Gn=0;Gn<At;Gn++)En[Gn]=arguments[Gn];return at=Fe.call.apply(Fe,[this].concat(En)),at.onHover=function(lr){var pr=at.props,Gr=pr.onHover,Hr=pr.index;Gr(lr,Hr)},at.onClick=function(lr){var pr=at.props,Gr=pr.onClick,Hr=pr.index;Gr(lr,Hr)},at.onKeyDown=function(lr){var pr=at.props,Gr=pr.onClick,Hr=pr.index;lr.keyCode===13&&Gr(lr,Hr)},at}return Object(Tl.a)(Et,[{key:"getClassName",value:function(){var At=this.props,En=At.prefixCls,Gn=At.index,lr=At.value,pr=At.allowHalf,Gr=At.focused,Hr=Gn+1,_i=En;return lr===0&&Gn===0&&Gr?_i+=" ".concat(En,"-focused"):pr&&lr+.5>=Hr&&lr<Hr?(_i+=" ".concat(En,"-half ").concat(En,"-active"),Gr&&(_i+=" ".concat(En,"-focused"))):(_i+=Hr<=lr?" ".concat(En,"-full"):" ".concat(En,"-zero"),Hr===lr&&Gr&&(_i+=" ".concat(En,"-focused"))),_i}},{key:"render",value:function(){var At=this.onHover,En=this.onClick,Gn=this.onKeyDown,lr=this.props,pr=lr.disabled,Gr=lr.prefixCls,Hr=lr.character,_i=lr.characterRender,Gi=lr.index,Dt=lr.count,ta=lr.value,Ji=typeof Hr=="function"?Hr(this.props):Hr,la=p.a.createElement("li",{className:this.getClassName()},p.a.createElement("div",{onClick:pr?null:En,onKeyDown:pr?null:Gn,onMouseMove:pr?null:At,role:"radio","aria-checked":ta>Gi?"true":"false","aria-posinset":Gi+1,"aria-setsize":Dt,tabIndex:pr?-1:0},p.a.createElement("div",{className:"".concat(Gr,"-first")},Ji),p.a.createElement("div",{className:"".concat(Gr,"-second")},Ji)));return _i&&(la=_i(la,this.props)),la}}]),Et}(p.a.Component);function Al(){}var gu=function(rt){Object(ou.a)(Et,rt);var Fe=Object(Vu.a)(Et);function Et(at){var At;Object(bl.a)(this,Et),At=Fe.call(this,at),At.stars=void 0,At.rate=void 0,At.onHover=function(Gn,lr){var pr=At.props.onHoverChange,Gr=At.getStarValue(lr,Gn.pageX),Hr=At.state.cleanedValue;Gr!==Hr&&At.setState({hoverValue:Gr,cleanedValue:null}),pr(Gr)},At.onMouseLeave=function(){var Gn=At.props.onHoverChange;At.setState({hoverValue:void 0,cleanedValue:null}),Gn(void 0)},At.onClick=function(Gn,lr){var pr=At.props.allowClear,Gr=At.state.value,Hr=At.getStarValue(lr,Gn.pageX),_i=!1;pr&&(_i=Hr===Gr),At.onMouseLeave(),At.changeValue(_i?0:Hr),At.setState({cleanedValue:_i?Hr:null})},At.onFocus=function(){var Gn=At.props.onFocus;At.setState({focused:!0}),Gn&&Gn()},At.onBlur=function(){var Gn=At.props.onBlur;At.setState({focused:!1}),Gn&&Gn()},At.onKeyDown=function(Gn){var lr=Gn.keyCode,pr=At.props,Gr=pr.count,Hr=pr.allowHalf,_i=pr.onKeyDown,Gi=pr.direction,Dt=Gi==="rtl",ta=At.state.value;lr===qo.a.RIGHT&&ta<Gr&&!Dt?(Hr?ta+=.5:ta+=1,At.changeValue(ta),Gn.preventDefault()):lr===qo.a.LEFT&&ta>0&&!Dt||lr===qo.a.RIGHT&&ta>0&&Dt?(Hr?ta-=.5:ta-=1,At.changeValue(ta),Gn.preventDefault()):lr===qo.a.LEFT&&ta<Gr&&Dt&&(Hr?ta+=.5:ta+=1,At.changeValue(ta),Gn.preventDefault()),_i&&_i(Gn)},At.saveRef=function(Gn){return function(lr){At.stars[Gn]=lr}},At.saveRate=function(Gn){At.rate=Gn};var En=at.value;return En===void 0&&(En=at.defaultValue),At.stars={},At.state={value:En,focused:!1,cleanedValue:null},At}return Object(Tl.a)(Et,[{key:"componentDidMount",value:function(){var At=this.props,En=At.autoFocus,Gn=At.disabled;En&&!Gn&&this.focus()}},{key:"getStarDOM",value:function(At){return Object(Du.a)(this.stars[At])}},{key:"getStarValue",value:function(At,En){var Gn=this.props,lr=Gn.allowHalf,pr=Gn.direction,Gr=pr==="rtl",Hr=At+1;if(lr){var _i=this.getStarDOM(At),Gi=fl(_i),Dt=_i.clientWidth;(Gr&&En-Gi>Dt/2||!Gr&&En-Gi<Dt/2)&&(Hr-=.5)}return Hr}},{key:"focus",value:function(){var At=this.props.disabled;At||this.rate.focus()}},{key:"blur",value:function(){var At=this.props.disabled;At||this.rate.blur()}},{key:"changeValue",value:function(At){var En=this.props.onChange;"value"in this.props||this.setState({value:At}),En(At)}},{key:"render",value:function(){for(var At=this.props,En=At.count,Gn=At.allowHalf,lr=At.style,pr=At.prefixCls,Gr=At.disabled,Hr=At.className,_i=At.character,Gi=At.characterRender,Dt=At.tabIndex,ta=At.direction,Ji=this.state,la=Ji.value,Aa=Ji.hoverValue,ja=Ji.focused,Ta=[],io=Gr?"".concat(pr,"-disabled"):"",to=0;to<En;to+=1)Ta.push(p.a.createElement(ir,{ref:this.saveRef(to),index:to,count:En,disabled:Gr,prefixCls:"".concat(pr,"-star"),allowHalf:Gn,value:Aa===void 0?la:Aa,onClick:this.onClick,onHover:this.onHover,key:to,character:_i,characterRender:Gi,focused:ja}));var vo=g()(pr,io,Hr,Object(ye.a)({},"".concat(pr,"-rtl"),ta==="rtl"));return p.a.createElement("ul",{className:vo,style:lr,onMouseLeave:Gr?null:this.onMouseLeave,tabIndex:Gr?-1:Dt,onFocus:Gr?null:this.onFocus,onBlur:Gr?null:this.onBlur,onKeyDown:Gr?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},Ta)}}],[{key:"getDerivedStateFromProps",value:function(At,En){return"value"in At&&At.value!==void 0?Object(o.a)(Object(o.a)({},En),{},{value:At.value}):En}}]),Et}(p.a.Component);gu.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:Al,character:"\u2605",onHoverChange:Al,tabIndex:0,direction:"ltr"};var Vl=gu,vs=Vl,nu=e("H84U"),Lt=function(rt,Fe){var Et={};for(var at in rt)Object.prototype.hasOwnProperty.call(rt,at)&&Fe.indexOf(at)<0&&(Et[at]=rt[at]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,at=Object.getOwnPropertySymbols(rt);At<at.length;At++)Fe.indexOf(at[At])<0&&Object.prototype.propertyIsEnumerable.call(rt,at[At])&&(Et[at[At]]=rt[at[At]]);return Et},He=l.forwardRef(function(rt,Fe){var Et=rt.prefixCls,at=rt.tooltips,At=rt.character,En=At===void 0?l.createElement(Rl,null):At,Gn=Lt(rt,["prefixCls","tooltips","character"]),lr=function(Dt,ta){var Ji=ta.index;return at?l.createElement(or.a,{title:at[Ji]},Dt):Dt},pr=l.useContext(nu.b),Gr=pr.getPrefixCls,Hr=pr.direction,_i=Gr("rate",Et);return l.createElement(vs,Object(rs.a)({ref:Fe,character:En,characterRender:lr},Gn,{prefixCls:_i,direction:Hr}))}),F=He,U=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.renderFormItem,lr=Fe.fieldProps;if(At==="read"){var pr=Object(i.jsx)(F,Object(o.a)(Object(o.a)({allowHalf:!0,disabled:!0,ref:Et},lr),{},{value:at}));return En?En(at,Object(o.a)({mode:At},lr),Object(i.jsx)(i.Fragment,{children:pr})):pr}if(At==="edit"||At==="update"){var Gr=Object(i.jsx)(F,Object(o.a)({allowHalf:!0,ref:Et},lr));return Gn?Gn(at,Object(o.a)({mode:At},lr),Gr):Gr}return null},s=p.a.forwardRef(U);function N(rt){var Fe="",Et=Math.floor(rt/(3600*24)),at=Math.floor(rt/3600),At=Math.floor(rt/60%60),En=Math.floor(rt%60);return Fe="".concat(En,"\u79D2"),At>0&&(Fe="".concat(At,"\u5206\u949F").concat(Fe)),at>0&&(Fe="".concat(at,"\u5C0F\u65F6").concat(Fe)),Et>0&&(Fe="".concat(Et,"\u5929").concat(Fe)),Fe}var Q=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.renderFormItem,lr=Fe.fieldProps,pr=Fe.placeholder;if(At==="read"){var Gr=N(Number(at)),Hr=Object(i.jsx)("span",{ref:Et,children:Gr});return En?En(at,Object(o.a)({mode:At},lr),Hr):Hr}if(At==="edit"||At==="update"){var _i=Object(i.jsx)(no.a,Object(o.a)({ref:Et,min:0,style:{width:"100%"},placeholder:pr},lr));return Gn?Gn(at,Object(o.a)({mode:At},lr),_i):_i}return null},xe=p.a.forwardRef(Q),Je=e("b2XM"),Ge=e("Gytx"),qt=e.n(Ge),fn=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0}),Wn=fn;function Yt(rt,Fe,Et){return(rt-Fe)/(Et-Fe)}function Yn(rt,Fe,Et,at){var At=Yt(Fe,Et,at),En={};switch(rt){case"rtl":En.right="".concat(At*100,"%"),En.transform="translateX(50%)";break;case"btt":En.bottom="".concat(At*100,"%"),En.transform="translateY(50%)";break;case"ttb":En.top="".concat(At*100,"%"),En.transform="translateY(-50%)";break;default:En.left="".concat(At*100,"%"),En.transform="translateX(-50%)";break}return En}function hr(rt,Fe){return Array.isArray(rt)?rt[Fe]:rt}var Wr=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],$r=l.forwardRef(function(rt,Fe){var Et,at,At=rt.prefixCls,En=rt.value,Gn=rt.valueIndex,lr=rt.onStartMove,pr=rt.style,Gr=rt.render,Hr=rt.dragging,_i=rt.onOffsetChange,Gi=Object(u.a)(rt,Wr),Dt=l.useContext(Wn),ta=Dt.min,Ji=Dt.max,la=Dt.direction,Aa=Dt.disabled,ja=Dt.range,Ta=Dt.tabIndex,io=Dt.ariaLabelForHandle,to=Dt.ariaLabelledByForHandle,vo=Dt.ariaValueTextFormatterForHandle,go="".concat(At,"-handle"),Sa=function(Ho){Aa||lr(Ho,Gn)},xo=function(Ho){if(!Aa){var uo=null;switch(Ho.which||Ho.keyCode){case qo.a.LEFT:uo=la==="ltr"||la==="btt"?-1:1;break;case qo.a.RIGHT:uo=la==="ltr"||la==="btt"?1:-1;break;case qo.a.UP:uo=la!=="ttb"?1:-1;break;case qo.a.DOWN:uo=la!=="ttb"?-1:1;break;case qo.a.HOME:uo="min";break;case qo.a.END:uo="max";break;case qo.a.PAGE_UP:uo=2;break;case qo.a.PAGE_DOWN:uo=-2;break}uo!==null&&(Ho.preventDefault(),_i(uo,Gn))}},So=Yn(la,En,ta,Ji),so=l.createElement("div",Object(rs.a)({ref:Fe,className:g()(go,(Et={},Object(ye.a)(Et,"".concat(go,"-").concat(Gn+1),ja),Object(ye.a)(Et,"".concat(go,"-dragging"),Hr),Et)),style:Object(o.a)(Object(o.a)({},So),pr),onMouseDown:Sa,onTouchStart:Sa,onKeyDown:xo,tabIndex:Aa?null:hr(Ta,Gn),role:"slider","aria-valuemin":ta,"aria-valuemax":Ji,"aria-valuenow":En,"aria-disabled":Aa,"aria-label":hr(io,Gn),"aria-labelledby":hr(to,Gn),"aria-valuetext":(at=hr(vo,Gn))===null||at===void 0?void 0:at(En)},Gi));return Gr&&(so=Gr(so,{index:Gn,prefixCls:At,value:En,dragging:Hr})),so}),wi=$r,fi=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],Vi=l.forwardRef(function(rt,Fe){var Et=rt.prefixCls,at=rt.style,At=rt.onStartMove,En=rt.onOffsetChange,Gn=rt.values,lr=rt.handleRender,pr=rt.draggingIndex,Gr=Object(u.a)(rt,fi),Hr=l.useRef({});return l.useImperativeHandle(Fe,function(){return{focus:function(Gi){var Dt;(Dt=Hr.current[Gi])===null||Dt===void 0||Dt.focus()}}}),l.createElement(l.Fragment,null,Gn.map(function(_i,Gi){return l.createElement(wi,Object(rs.a)({ref:function(ta){ta?Hr.current[Gi]=ta:delete Hr.current[Gi]},dragging:pr===Gi,prefixCls:Et,style:hr(at,Gi),key:Gi,value:_i,valueIndex:Gi,onStartMove:At,onOffsetChange:En,render:lr},Gr))}))}),da=Vi;function ia(rt){var Fe="touches"in rt?rt.touches[0]:rt;return{pageX:Fe.pageX,pageY:Fe.pageY}}function ma(rt,Fe,Et,at,At,En,Gn,lr,pr){var Gr=l.useState(null),Hr=Object(k.a)(Gr,2),_i=Hr[0],Gi=Hr[1],Dt=l.useState(-1),ta=Object(k.a)(Dt,2),Ji=ta[0],la=ta[1],Aa=l.useState(Et),ja=Object(k.a)(Aa,2),Ta=ja[0],io=ja[1],to=l.useState(Et),vo=Object(k.a)(to,2),go=vo[0],Sa=vo[1],xo=l.useRef(null),So=l.useRef(null);l.useEffect(function(){Ji===-1&&io(Et)},[Et,Ji]),l.useEffect(function(){return function(){document.removeEventListener("mousemove",xo.current),document.removeEventListener("mouseup",So.current),document.removeEventListener("touchmove",xo.current),document.removeEventListener("touchend",So.current)}},[]);var so=function(Go,Qo){Ta.some(function(cs,Ss){return cs!==Go[Ss]})&&(Qo!==void 0&&Gi(Qo),io(Go),Gn(Go))},To=function(Go,Qo){if(Go===-1){var cs=go[0],Ss=go[go.length-1],ps=at-cs,Ks=At-Ss,Gs=Qo*(At-at);Gs=Math.max(Gs,ps),Gs=Math.min(Gs,Ks);var Ms=En(cs+Gs);Gs=Ms-cs;var Zs=go.map(function(Js){return Js+Gs});so(Zs)}else{var Sl=(At-at)*Qo,bo=Object(Yr.a)(Ta);bo[Go]=go[Go];var ol=pr(bo,Sl,Go,"dist");so(ol.values,ol.value)}},Ho=l.useRef(To);Ho.current=To;var uo=function(Go,Qo){Go.stopPropagation();var cs=Et[Qo];la(Qo),Gi(cs),Sa(Et);var Ss=ia(Go),ps=Ss.pageX,Ks=Ss.pageY,Gs=function(Sl){Sl.preventDefault();var bo=ia(Sl),ol=bo.pageX,Js=bo.pageY,su=ol-ps,As=Js-Ks,qs=rt.current.getBoundingClientRect(),jl=qs.width,Ml=qs.height,Hs;switch(Fe){case"btt":Hs=-As/Ml;break;case"ttb":Hs=As/Ml;break;case"rtl":Hs=-su/jl;break;default:Hs=su/jl}Ho.current(Qo,Hs)},Ms=function Zs(Sl){Sl.preventDefault(),document.removeEventListener("mouseup",Zs),document.removeEventListener("mousemove",Gs),document.removeEventListener("touchend",Zs),document.removeEventListener("touchmove",Gs),xo.current=null,So.current=null,la(-1),lr()};document.addEventListener("mouseup",Ms),document.addEventListener("mousemove",Gs),document.addEventListener("touchend",Ms),document.addEventListener("touchmove",Gs),xo.current=Gs,So.current=Ms},$o=l.useMemo(function(){var Us=Object(Yr.a)(Et).sort(function(Qo,cs){return Qo-cs}),Go=Object(Yr.a)(Ta).sort(function(Qo,cs){return Qo-cs});return Us.every(function(Qo,cs){return Qo===Go[cs]})?Ta:Et},[Et,Ta]);return[Ji,_i,$o,uo]}function Ea(rt){var Fe=rt.prefixCls,Et=rt.style,at=rt.start,At=rt.end,En=rt.index,Gn=rt.onStartMove,lr=l.useContext(Wn),pr=lr.direction,Gr=lr.min,Hr=lr.max,_i=lr.disabled,Gi=lr.range,Dt="".concat(Fe,"-track"),ta=Yt(at,Gr,Hr),Ji=Yt(At,Gr,Hr),la=function(Ta){!_i&&Gn&&Gn(Ta,-1)},Aa={};switch(pr){case"rtl":Aa.right="".concat(ta*100,"%"),Aa.width="".concat(Ji*100-ta*100,"%");break;case"btt":Aa.bottom="".concat(ta*100,"%"),Aa.height="".concat(Ji*100-ta*100,"%");break;case"ttb":Aa.top="".concat(ta*100,"%"),Aa.height="".concat(Ji*100-ta*100,"%");break;default:Aa.left="".concat(ta*100,"%"),Aa.width="".concat(Ji*100-ta*100,"%")}return l.createElement("div",{className:g()(Dt,Gi&&"".concat(Dt,"-").concat(En+1)),style:Object(o.a)(Object(o.a)({},Aa),Et),onMouseDown:la,onTouchStart:la})}function Qa(rt){var Fe=rt.prefixCls,Et=rt.style,at=rt.values,At=rt.startPoint,En=rt.onStartMove,Gn=l.useContext(Wn),lr=Gn.included,pr=Gn.range,Gr=Gn.min,Hr=l.useMemo(function(){if(!pr){if(at.length===0)return[];var _i=At!=null?At:Gr,Gi=at[0];return[{start:Math.min(_i,Gi),end:Math.max(_i,Gi)}]}for(var Dt=[],ta=0;ta<at.length-1;ta+=1)Dt.push({start:at[ta],end:at[ta+1]});return Dt},[at,pr,At,Gr]);return lr?Hr.map(function(_i,Gi){var Dt=_i.start,ta=_i.end;return l.createElement(Ea,{index:Gi,prefixCls:Fe,style:hr(Et,Gi),start:Dt,end:ta,key:Gi,onStartMove:En})}):null}function eo(rt){var Fe=rt.prefixCls,Et=rt.style,at=rt.children,At=rt.value,En=rt.onClick,Gn=l.useContext(Wn),lr=Gn.min,pr=Gn.max,Gr=Gn.direction,Hr=Gn.includedStart,_i=Gn.includedEnd,Gi=Gn.included,Dt="".concat(Fe,"-text"),ta=Yn(Gr,At,lr,pr);return l.createElement("span",{className:g()(Dt,Object(ye.a)({},"".concat(Dt,"-active"),Gi&&Hr<=At&&At<=_i)),style:Object(o.a)(Object(o.a)({},ta),Et),onMouseDown:function(la){la.stopPropagation()},onClick:function(){En(At)}},at)}function lo(rt){var Fe=rt.prefixCls,Et=rt.marks,at=rt.onClick,At="".concat(Fe,"-mark");return Et.length?l.createElement("div",{className:At},Et.map(function(En){var Gn=En.value,lr=En.style,pr=En.label;return l.createElement(eo,{key:Gn,prefixCls:At,style:lr,value:Gn,onClick:at},pr)})):null}function ho(rt){var Fe=rt.prefixCls,Et=rt.value,at=rt.style,At=rt.activeStyle,En=l.useContext(Wn),Gn=En.min,lr=En.max,pr=En.direction,Gr=En.included,Hr=En.includedStart,_i=En.includedEnd,Gi="".concat(Fe,"-dot"),Dt=Gr&&Hr<=Et&&Et<=_i,ta=Object(o.a)(Object(o.a)({},Yn(pr,Et,Gn,lr)),typeof at=="function"?at(Et):at);return Dt&&(ta=Object(o.a)(Object(o.a)({},ta),typeof At=="function"?At(Et):At)),l.createElement("span",{className:g()(Gi,Object(ye.a)({},"".concat(Gi,"-active"),Dt)),style:ta})}function Eo(rt){var Fe=rt.prefixCls,Et=rt.marks,at=rt.dots,At=rt.style,En=rt.activeStyle,Gn=l.useContext(Wn),lr=Gn.min,pr=Gn.max,Gr=Gn.step,Hr=l.useMemo(function(){var _i=new Set;if(Et.forEach(function(Dt){_i.add(Dt.value)}),at&&Gr!==null)for(var Gi=lr;Gi<=pr;)_i.add(Gi),Gi+=Gr;return Array.from(_i)},[lr,pr,Gr,at,Et]);return l.createElement("div",{className:"".concat(Fe,"-step")},Hr.map(function(_i){return l.createElement(ho,{prefixCls:Fe,key:_i,value:_i,style:At,activeStyle:En})}))}function Uo(rt,Fe,Et,at,At,En){var Gn=l.useCallback(function(Dt){var ta=isFinite(Dt)?Dt:rt;return ta=Math.min(Fe,Dt),ta=Math.max(rt,ta),ta},[rt,Fe]),lr=l.useCallback(function(Dt){if(Et!==null){var ta=rt+Math.round((Gn(Dt)-rt)/Et)*Et,Ji=function(Ta){return(String(Ta).split(".")[1]||"").length},la=Math.max(Ji(Et),Ji(Fe),Ji(rt)),Aa=Number(ta.toFixed(la));return rt<=Aa&&Aa<=Fe?Aa:null}return null},[Et,rt,Fe,Gn]),pr=l.useCallback(function(Dt){var ta=Gn(Dt),Ji=at.map(function(ja){return ja.value});Et!==null&&Ji.push(lr(Dt)),Ji.push(rt,Fe);var la=Ji[0],Aa=Fe-rt;return Ji.forEach(function(ja){var Ta=Math.abs(ta-ja);Ta<=Aa&&(la=ja,Aa=Ta)}),la},[rt,Fe,at,Et,Gn,lr]),Gr=function Dt(ta,Ji,la){var Aa=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof Ji=="number"){var ja,Ta=ta[la],io=Ta+Ji,to=[];at.forEach(function(So){to.push(So.value)}),to.push(rt,Fe),to.push(lr(Ta));var vo=Ji>0?1:-1;Aa==="unit"?to.push(lr(Ta+vo*Et)):to.push(lr(io)),to=to.filter(function(So){return So!==null}).filter(function(So){return Ji<0?So<=Ta:So>=Ta}),Aa==="unit"&&(to=to.filter(function(So){return So!==Ta}));var go=Aa==="unit"?Ta:io;ja=to[0];var Sa=Math.abs(ja-go);if(to.forEach(function(So){var so=Math.abs(So-go);so<Sa&&(ja=So,Sa=so)}),ja===void 0)return Ji<0?rt:Fe;if(Aa==="dist")return ja;if(Math.abs(Ji)>1){var xo=Object(Yr.a)(ta);return xo[la]=ja,Dt(xo,Ji-vo,la,Aa)}return ja}else{if(Ji==="min")return rt;if(Ji==="max")return Fe}},Hr=function(ta,Ji,la){var Aa=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",ja=ta[la],Ta=Gr(ta,Ji,la,Aa);return{value:Ta,changed:Ta!==ja}},_i=function(ta){return En===null&&ta===0||typeof En=="number"&&ta<En},Gi=function(ta,Ji,la){var Aa=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",ja=ta.map(pr),Ta=ja[la],io=Gr(ja,Ji,la,Aa);if(ja[la]=io,At===!1){var to=En||0;la>0&&ja[la-1]!==Ta&&(ja[la]=Math.max(ja[la],ja[la-1]+to)),la<ja.length-1&&ja[la+1]!==Ta&&(ja[la]=Math.min(ja[la],ja[la+1]-to))}else if(typeof En=="number"||En===null){for(var vo=la+1;vo<ja.length;vo+=1)for(var go=!0;_i(ja[vo]-ja[vo-1])&&go;){var Sa=Hr(ja,1,vo);ja[vo]=Sa.value,go=Sa.changed}for(var xo=la;xo>0;xo-=1)for(var So=!0;_i(ja[xo]-ja[xo-1])&&So;){var so=Hr(ja,-1,xo-1);ja[xo-1]=so.value,So=so.changed}for(var To=ja.length-1;To>0;To-=1)for(var Ho=!0;_i(ja[To]-ja[To-1])&&Ho;){var uo=Hr(ja,-1,To-1);ja[To-1]=uo.value,Ho=uo.changed}for(var $o=0;$o<ja.length-1;$o+=1)for(var Us=!0;_i(ja[$o+1]-ja[$o])&&Us;){var Go=Hr(ja,1,$o+1);ja[$o+1]=Go.value,Us=Go.changed}}return{value:ja[la],values:ja}};return[pr,Gi]}var us=l.forwardRef(function(rt,Fe){var Et,at=rt.prefixCls,At=at===void 0?"rc-slider":at,En=rt.className,Gn=rt.style,lr=rt.disabled,pr=lr===void 0?!1:lr,Gr=rt.autoFocus,Hr=rt.onFocus,_i=rt.onBlur,Gi=rt.min,Dt=Gi===void 0?0:Gi,ta=rt.max,Ji=ta===void 0?100:ta,la=rt.step,Aa=la===void 0?1:la,ja=rt.value,Ta=rt.defaultValue,io=rt.range,to=rt.count,vo=rt.onChange,go=rt.onBeforeChange,Sa=rt.onAfterChange,xo=rt.allowCross,So=xo===void 0?!0:xo,so=rt.pushable,To=so===void 0?!1:so,Ho=rt.draggableTrack,uo=rt.reverse,$o=rt.vertical,Us=rt.included,Go=Us===void 0?!0:Us,Qo=rt.startPoint,cs=rt.trackStyle,Ss=rt.handleStyle,ps=rt.railStyle,Ks=rt.dotStyle,Gs=rt.activeDotStyle,Ms=rt.marks,Zs=rt.dots,Sl=rt.handleRender,bo=rt.tabIndex,ol=bo===void 0?0:bo,Js=rt.ariaLabelForHandle,su=rt.ariaLabelledByForHandle,As=rt.ariaValueTextFormatterForHandle,qs=l.useRef(),jl=l.useRef(),Ml=l.useMemo(function(){return $o?uo?"ttb":"btt":uo?"rtl":"ltr"},[uo,$o]),Hs=l.useMemo(function(){return isFinite(Dt)?Dt:0},[Dt]),Nl=l.useMemo(function(){return isFinite(Ji)?Ji:100},[Ji]),eu=l.useMemo(function(){return Aa!==null&&Aa<=0?1:Aa},[Aa]),Zu=l.useMemo(function(){return To===!0?eu:To>=0?To:!1},[To,eu]),Tu=l.useMemo(function(){var cl=Object.keys(Ms||{});return cl.map(function(Is){var fs=Ms[Is],Il={value:Number(Is)};return fs&&Object(f.a)(fs)==="object"&&!l.isValidElement(fs)&&("label"in fs||"style"in fs)?(Il.style=fs.style,Il.label=fs.label):Il.label=fs,Il}).filter(function(Is){var fs=Is.label;return fs||typeof fs=="number"}).sort(function(Is,fs){return Is.value-fs.value})},[Ms]),Ju=Uo(Hs,Nl,eu,Tu,So,Zu),Iu=Object(k.a)(Ju,2),Ru=Iu[0],yu=Iu[1],bu=Object(ri.a)(Ta,{value:ja}),Hl=Object(k.a)(bu,2),el=Hl[0],lu=Hl[1],al=l.useMemo(function(){var cl=el==null?[]:Array.isArray(el)?el:[el],Is=Object(k.a)(cl,1),fs=Is[0],Il=fs===void 0?Hs:fs,Ts=el===null?[]:[Il];if(io){if(Ts=Object(Yr.a)(cl),to||el===void 0){var zu=to>=0?to+1:2;for(Ts=Ts.slice(0,zu);Ts.length<zu;){var Eu;Ts.push((Eu=Ts[Ts.length-1])!==null&&Eu!==void 0?Eu:Hs)}}Ts.sort(function(uu,Fu){return uu-Fu})}return Ts.forEach(function(uu,Fu){Ts[Fu]=Ru(uu)}),Ts},[el,io,Hs,to,Ru]),ku=l.useRef(al);ku.current=al;var js=function(Is){return io?Is:Is[0]},qu=function(Is){var fs=Object(Yr.a)(Is).sort(function(Il,Ts){return Il-Ts});vo&&!qt()(fs,ku.current)&&vo(js(fs)),lu(fs)},Mc=function(Is){if(!pr){var fs=0,Il=Nl-Hs;al.forEach(function(zu,Eu){var uu=Math.abs(Is-zu);uu<=Il&&(Il=uu,fs=Eu)});var Ts=Object(Yr.a)(al);Ts[fs]=Is,io&&!al.length&&to===void 0&&Ts.push(Is),go==null||go(js(Ts)),qu(Ts),Sa==null||Sa(js(Ts))}},fc=function(Is){Is.preventDefault();var fs=jl.current.getBoundingClientRect(),Il=fs.width,Ts=fs.height,zu=fs.left,Eu=fs.top,uu=fs.bottom,Fu=fs.right,cu=Is.clientX,Fo=Is.clientY,Lu;switch(Ml){case"btt":Lu=(uu-Fo)/Ts;break;case"ttb":Lu=(Fo-Eu)/Ts;break;case"rtl":Lu=(Fu-cu)/Il;break;default:Lu=(cu-zu)/Il}var gl=Hs+Lu*(Nl-Hs);Mc(Ru(gl))},ec=l.useState(null),tc=Object(k.a)(ec,2),nc=tc[0],yc=tc[1],Lc=function(Is,fs){if(!pr){var Il=yu(al,Is,fs);go==null||go(js(al)),qu(Il.values),Sa==null||Sa(js(Il.values)),yc(Il.value)}};l.useEffect(function(){if(nc!==null){var cl=al.indexOf(nc);cl>=0&&qs.current.focus(cl)}yc(null)},[nc]);var Vc=l.useMemo(function(){return Ho&&eu===null?!1:Ho},[Ho,eu]),bc=function(){Sa==null||Sa(js(ku.current))},xc=ma(jl,Ml,al,Hs,Nl,Ru,qu,bc,yu),Nu=Object(k.a)(xc,4),Pc=Nu[0],Tc=Nu[1],Kc=Nu[2],Hc=Nu[3],Ou=function(Is,fs){Hc(Is,fs),go==null||go(js(ku.current))},Ic=Pc!==-1;l.useEffect(function(){if(!Ic){var cl=al.lastIndexOf(Tc);qs.current.focus(cl)}},[Ic]);var Cu=l.useMemo(function(){return Object(Yr.a)(Kc).sort(function(cl,Is){return cl-Is})},[Kc]),Oc=l.useMemo(function(){return io?[Cu[0],Cu[Cu.length-1]]:[Hs,Cu[0]]},[Cu,io,Hs]),Bl=Object(k.a)(Oc,2),Mu=Bl[0],Au=Bl[1];l.useImperativeHandle(Fe,function(){return{focus:function(){qs.current.focus(0)},blur:function(){var Is=document,fs=Is.activeElement;jl.current.contains(fs)&&(fs==null||fs.blur())}}}),l.useEffect(function(){Gr&&qs.current.focus(0)},[]);var Rc=l.useMemo(function(){return{min:Hs,max:Nl,direction:Ml,disabled:pr,step:eu,included:Go,includedStart:Mu,includedEnd:Au,range:io,tabIndex:ol,ariaLabelForHandle:Js,ariaLabelledByForHandle:su,ariaValueTextFormatterForHandle:As}},[Hs,Nl,Ml,pr,eu,Go,Mu,Au,io,ol,Js,su,As]);return l.createElement(Wn.Provider,{value:Rc},l.createElement("div",{ref:jl,className:g()(At,En,(Et={},Object(ye.a)(Et,"".concat(At,"-disabled"),pr),Object(ye.a)(Et,"".concat(At,"-vertical"),$o),Object(ye.a)(Et,"".concat(At,"-horizontal"),!$o),Object(ye.a)(Et,"".concat(At,"-with-marks"),Tu.length),Et)),style:Gn,onMouseDown:fc},l.createElement("div",{className:"".concat(At,"-rail"),style:ps}),l.createElement(Qa,{prefixCls:At,style:cs,values:Cu,startPoint:Qo,onStartMove:Vc?Ou:null}),l.createElement(Eo,{prefixCls:At,marks:Tu,dots:Zs,style:Ks,activeStyle:Gs}),l.createElement(da,{ref:qs,prefixCls:At,style:Ss,values:Kc,draggingIndex:Pc,onStartMove:Ou,onOffsetChange:Lc,onFocus:Hr,onBlur:_i,handleRender:Sl}),l.createElement(lo,{prefixCls:At,marks:Tu,onClick:Mc})))}),ns=us,is=ns,Es=e("wgJM"),ys=e("c+Xe"),il=l.forwardRef(function(rt,Fe){var Et=rt.open,at=Object(l.useRef)(null),At=Object(l.useRef)(null);function En(){Es.a.cancel(At.current),At.current=null}function Gn(){At.current=Object(Es.a)(function(){var lr;(lr=at.current)===null||lr===void 0||lr.forcePopupAlign(),At.current=null})}return l.useEffect(function(){return Et?Gn():En(),En},[Et,rt.title]),l.createElement(or.a,Object(rs.a)({ref:Object(ys.a)(at,Fe)},rt))}),Ns=il,Ol=function(rt,Fe){var Et={};for(var at in rt)Object.prototype.hasOwnProperty.call(rt,at)&&Fe.indexOf(at)<0&&(Et[at]=rt[at]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,at=Object.getOwnPropertySymbols(rt);At<at.length;At++)Fe.indexOf(at[At])<0&&Object.prototype.propertyIsEnumerable.call(rt,at[At])&&(Et[at[At]]=rt[at[At]]);return Et},Ws=l.forwardRef(function(rt,Fe){var Et=l.useContext(nu.b),at=Et.getPrefixCls,At=Et.direction,En=Et.getPopupContainer,Gn=l.useState({}),lr=Object(k.a)(Gn,2),pr=lr[0],Gr=lr[1],Hr=function(Sa,xo){Gr(function(So){return Object(rs.a)(Object(rs.a)({},So),Object(ye.a)({},Sa,xo))})},_i=function(Sa,xo){return Sa||(xo?At==="rtl"?"left":"right":"top")},Gi=rt.prefixCls,Dt=rt.range,ta=rt.className,Ji=Ol(rt,["prefixCls","range","className"]),la=at("slider",Gi),Aa=g()(ta,Object(ye.a)({},"".concat(la,"-rtl"),At==="rtl"));At==="rtl"&&!Ji.vertical&&(Ji.reverse=!Ji.reverse);var ja=l.useMemo(function(){return Dt?Object(f.a)(Dt)==="object"?[!0,Dt.draggableTrack]:[!0,!1]:[!1]},[Dt]),Ta=Object(k.a)(ja,2),io=Ta[0],to=Ta[1],vo=function(Sa,xo){var So,so=xo.index,To=xo.dragging,Ho=at(),uo=rt.tooltip,$o=uo===void 0?{}:uo,Us=rt.vertical,Go=Object(rs.a)({formatter:(So=rt.tipFormatter)!==null&&So!==void 0?So:function(bo){return typeof bo=="number"?bo.toString():""},open:rt.tooltipVisible,placement:rt.tooltipPlacement,getPopupContainer:rt.getTooltipPopupContainer},$o),Qo=Go.open,cs=Go.placement,Ss=Go.getPopupContainer,ps=Go.prefixCls,Ks=Go.formatter,Gs=Ks?pr[so]||To:!1,Ms=Qo||Qo===void 0&&Gs,Zs=Object(rs.a)(Object(rs.a)({},Sa.props),{onMouseEnter:function(){return Hr(so,!0)},onMouseLeave:function(){return Hr(so,!1)}}),Sl=at("tooltip",ps);return l.createElement(Ns,{prefixCls:Sl,title:Ks?Ks(xo.value):"",open:Ms,placement:_i(cs,Us),transitionName:"".concat(Ho,"-zoom-down"),key:so,overlayClassName:"".concat(la,"-tooltip"),getPopupContainer:Ss||En},l.cloneElement(Sa,Zs))};return l.createElement(is,Object(rs.a)({},Ji,{step:Ji.step,range:io,draggableTrack:to,className:Aa,ref:Fe,prefixCls:la,handleRender:vo}))}),Yl=Ws,hl=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.renderFormItem,lr=Fe.fieldProps;if(At==="read"){var pr=at;return En?En(at,Object(o.a)({mode:At},lr),Object(i.jsx)(i.Fragment,{children:pr})):Object(i.jsx)(i.Fragment,{children:pr})}if(At==="edit"||At==="update"){var Gr=Object(i.jsx)(Yl,Object(o.a)({ref:Et},lr));return Gn?Gn(at,Object(o.a)({mode:At},lr),Gr):Gr}return null},Xs=p.a.forwardRef(hl),Kl=e("BoS7"),ul=e("Sdc0"),wu=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.renderFormItem,lr=Fe.fieldProps,pr=Object(a.d)(),Gr=Object(l.useMemo)(function(){var Gi,Dt;return at==null||"".concat(at).length<1?"-":at?(Gi=lr==null?void 0:lr.checkedChildren)!==null&&Gi!==void 0?Gi:pr.getMessage("switch.open","\u6253\u5F00"):(Dt=lr==null?void 0:lr.unCheckedChildren)!==null&&Dt!==void 0?Dt:pr.getMessage("switch.close","\u5173\u95ED")},[lr==null?void 0:lr.checkedChildren,lr==null?void 0:lr.unCheckedChildren,at]);if(At==="read")return En?En(at,Object(o.a)({mode:At},lr),Object(i.jsx)(i.Fragment,{children:Gr})):Gr!=null?Gr:"-";if(At==="edit"||At==="update"){var Hr,_i=Object(i.jsx)(ul.a,Object(o.a)(Object(o.a)({ref:Et},Object(No.a)(lr,["value"])),{},{checked:(Hr=lr==null?void 0:lr.checked)!==null&&Hr!==void 0?Hr:lr==null?void 0:lr.value}));return Gn?Gn(at,Object(o.a)({mode:At},lr),_i):_i}return null},kl=p.a.forwardRef(wu),Fl=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.renderFormItem,lr=Fe.fieldProps,pr=Fe.emptyText,Gr=pr===void 0?"-":pr,Hr=lr||{},_i=Hr.autoFocus,Gi=Hr.prefix,Dt=Gi===void 0?"":Gi,ta=Hr.suffix,Ji=ta===void 0?"":ta,la=Object(a.d)(),Aa=Object(l.useRef)();if(Object(l.useImperativeHandle)(Et,function(){return Aa.current}),Object(l.useEffect)(function(){if(_i){var vo;(vo=Aa.current)===null||vo===void 0||vo.focus()}},[_i]),At==="read"){var ja=Object(i.jsxs)(i.Fragment,{children:[Dt,at!=null?at:Gr,Ji]});if(En){var Ta;return(Ta=En(at,Object(o.a)({mode:At},lr),ja))!==null&&Ta!==void 0?Ta:Gr}return ja}if(At==="edit"||At==="update"){var io=la.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),to=Object(i.jsx)(Z.a,Object(o.a)({ref:Aa,placeholder:io,allowClear:!0},lr));return Gn?Gn(at,Object(o.a)({mode:At},lr),to):to}return null},mu=p.a.forwardRef(Fl),Jl=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.render,Gn=Fe.renderFormItem,lr=Fe.fieldProps,pr=Object(a.d)();if(At==="read"){var Gr=Object(i.jsx)("span",{ref:Et,children:at!=null?at:"-"});return En?En(at,Object(o.a)({mode:At},lr),Gr):Gr}if(At==="edit"||At==="update"){var Hr=Object(i.jsx)(Z.a.TextArea,Object(o.a)({ref:Et,rows:3,onKeyPress:function(Gi){Gi.key==="Enter"&&Gi.stopPropagation()},placeholder:pr.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")},lr));return Gn?Gn(at,Object(o.a)({mode:At},lr),Hr):Hr}return null},pu=p.a.forwardRef(Jl),Ku=e("pL63"),uc=function(rt,Fe){var Et={};for(var at in rt)Object.prototype.hasOwnProperty.call(rt,at)&&Fe.indexOf(at)<0&&(Et[at]=rt[at]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,at=Object.getOwnPropertySymbols(rt);At<at.length;At++)Fe.indexOf(at[At])<0&&Object.prototype.propertyIsEnumerable.call(rt,at[At])&&(Et[at[At]]=rt[at[At]]);return Et},Cl=Ri.a.TimePicker,Qu=Ri.a.RangePicker,cc=l.forwardRef(function(rt,Fe){var Et=rt.dropdownClassName,at=rt.popupClassName;return l.createElement(Qu,Object(rs.a)({},rt,{dropdownClassName:Et,popupClassName:at,picker:"time",mode:void 0,ref:Fe}))}),El=l.forwardRef(function(rt,Fe){var Et=rt.addon,at=rt.renderExtraFooter,At=rt.popupClassName,En=rt.dropdownClassName,Gn=uc(rt,["addon","renderExtraFooter","popupClassName","dropdownClassName"]),lr=l.useMemo(function(){if(at)return at;if(Et)return Et},[Et,at]);return l.createElement(Cl,Object(rs.a)({dropdownClassName:En,popupClassName:At},Gn,{mode:void 0,ref:Fe,renderExtraFooter:lr}))});El.RangePicker=cc;var Hu=El,dc=function(Fe,Et){var at=Fe.text,At=Fe.mode,En=Fe.light,Gn=Fe.label,lr=Fe.format,pr=Fe.render,Gr=Fe.renderFormItem,Hr=Fe.plain,_i=Fe.fieldProps,Gi=Fe.lightLabel,Dt=Fe.labelTrigger,ta=Object(l.useState)(!1),Ji=Object(k.a)(ta,2),la=Ji[0],Aa=Ji[1],ja=Object(l.useContext)(I.a.SizeContext),Ta=Object(l.useContext)(I.a.ConfigContext),io=Ta.getPrefixCls,to=io("pro-field-date-picker"),vo=(_i==null?void 0:_i.format)||lr||"HH:mm:ss",go=Ha.a.isMoment(at)||typeof at=="number";if(At==="read"){var Sa=Object(i.jsx)("span",{ref:Et,children:at?Ha()(at,go?void 0:vo).format(vo):"-"});return pr?pr(at,Object(o.a)({mode:At},_i),Object(i.jsx)("span",{children:Sa})):Sa}if(At==="edit"||At==="update"){var xo,So=_i.disabled,so=_i.onChange,To=_i.placeholder,Ho=_i.allowClear,uo=_i.value,$o=Do(uo,vo);if(En){var Us=$o&&$o.format(vo)||"";xo=Object(i.jsxs)("div",{className:"".concat(to,"-light"),onClick:function(Qo){var cs,Ss,ps,Ks=Gi==null||(cs=Gi.current)===null||cs===void 0||(Ss=cs.labelRef)===null||Ss===void 0||(ps=Ss.current)===null||ps===void 0?void 0:ps.contains(Qo.target);Aa(Ks?!la:!0)},children:[Object(i.jsx)(Hu,Object(o.a)(Object(o.a)({value:$o,format:lr,ref:Et},_i),{},{onChange:function(Qo){so==null||so(Qo),setTimeout(function(){Aa(!1)},0)},onOpenChange:function(Qo){Dt||Aa(Qo)},open:la})),Object(i.jsx)($.a,{label:Gn,disabled:So,placeholder:To,size:ja,value:Us,allowClear:Ho,onClear:function(){return so==null?void 0:so(null)},expanded:la,ref:Gi})]})}else xo=Object(i.jsx)(Ri.a.TimePicker,Object(o.a)(Object(o.a)({ref:Et,format:lr,bordered:Hr===void 0?!0:!Hr},_i),{},{value:$o}));return Gr?Gr(at,Object(o.a)({mode:At},_i),xo):xo}return null},ql=function(Fe){var Et=Fe.text,at=Fe.mode,At=Fe.format,En=Fe.render,Gn=Fe.renderFormItem,lr=Fe.plain,pr=Fe.fieldProps,Gr=(pr==null?void 0:pr.format)||At||"HH:mm:ss",Hr=Array.isArray(Et)?Et:[],_i=Object(k.a)(Hr,2),Gi=_i[0],Dt=_i[1],ta=Ha.a.isMoment(Gi)||typeof Gi=="number",Ji=Ha.a.isMoment(Dt)||typeof Dt=="number",la=Gi?Ha()(Gi,ta?void 0:Gr).format(Gr):"",Aa=Dt?Ha()(Dt,Ji?void 0:Gr).format(Gr):"";if(at==="read"){var ja=Object(i.jsxs)("div",{children:[Object(i.jsx)("div",{children:la||"-"}),Object(i.jsx)("div",{children:Aa||"-"})]});return En?En(Et,Object(o.a)({mode:at},pr),Object(i.jsx)("span",{children:ja})):ja}if(at==="edit"||at==="update"){var Ta=pr.value,io=Do(Ta,Gr),to=Object(i.jsx)(Hu.RangePicker,Object(o.a)(Object(o.a)({format:At,bordered:lr===void 0?!0:!lr},pr),{},{value:io}));return Gn?Gn(Et,Object(o.a)({mode:at},pr),to):to}return null},pc=p.a.forwardRef(dc),vl=e("nRaC"),Xu=e("5RzL"),Pu=["radioType","renderFormItem","mode","light","label","render"],_u=["onSearch","onClear","onChange","onBlur","showSearch","autoClearSearchValue","treeData","searchValue"],Uc=function(Fe,Et){var at=Fe.radioType,At=Fe.renderFormItem,En=Fe.mode,Gn=Fe.light,lr=Fe.label,pr=Fe.render,Gr=Object(u.a)(Fe,Pu),Hr=Object(l.useContext)(I.a.ConfigContext),_i=Hr.getPrefixCls,Gi=_i("pro-field-tree-select"),Dt=Object(l.useRef)(null),ta=Object(l.useState)(!1),Ji=Object(k.a)(ta,2),la=Ji[0],Aa=Ji[1],ja=Gr.fieldProps||{},Ta=ja.onSearch,io=ja.onClear,to=ja.onChange,vo=ja.onBlur,go=ja.showSearch,Sa=ja.autoClearSearchValue,xo=ja.treeData,So=ja.searchValue,so=Object(u.a)(ja,_u),To=Object(l.useContext)(I.a.SizeContext),Ho=Object(b.e)(Object(o.a)(Object(o.a)({},Gr),{},{defaultKeyWords:So})),uo=Object(k.a)(Ho,3),$o=uo[0],Us=uo[1],Go=uo[2],Qo=Object(ri.a)("",{onChange:Ta,value:So}),cs=Object(k.a)(Qo,2),Ss=cs[0],ps=cs[1];Object(l.useImperativeHandle)(Et,function(){return Object(o.a)(Object(o.a)({},Dt.current||{}),{},{fetchData:function(){return Go()}})});var Ks=Object(l.useMemo)(function(){if(En==="read"){var As=(so==null?void 0:so.fieldNames)||{},qs=As.value,jl=qs===void 0?"value":qs,Ml=As.label,Hs=Ml===void 0?"label":Ml,Nl=As.children,eu=Nl===void 0?"children":Nl,Zu=new Map,Tu=function Ju(Iu){if(!(Iu==null?void 0:Iu.length))return Zu;for(var Ru=Iu.length,yu=0;yu<Ru;){var bu=Iu[yu++];Zu.set(bu[jl],bu[Hs]),Ju(bu[eu])}return Zu};return Tu(Us)}},[so==null?void 0:so.fieldNames,En,Us]),Gs=function(qs,jl,Ml){go&&Sa&&(Go(""),ps("")),to==null||to(qs,jl,Ml)};if(En==="read"){var Ms=Object(i.jsx)(i.Fragment,{children:Object(b.c)(Gr.text,Object(b.a)(Gr.valueEnum||Ks))});return pr?pr(Gr.text,Object(o.a)({mode:En},so),Ms)||null:Ms}if(En==="edit"){var Zs,Sl=Array.isArray(so==null?void 0:so.value)?so==null||(Zs=so.value)===null||Zs===void 0?void 0:Zs.length:0,bo=Object(i.jsx)(oe.a,{spinning:$o,children:Object(i.jsx)(Xu.a,Object(o.a)(Object(o.a)({open:la,onDropdownVisibleChange:Aa,ref:Dt,dropdownMatchSelectWidth:!Gn,tagRender:Gn?function(As){var qs;if(Sl<2)return Object(i.jsx)(i.Fragment,{children:As.label});var jl=so==null||(qs=so.value)===null||qs===void 0?void 0:qs.findIndex(function(Ml){return Ml===As.value||Ml.value===As.value});return Object(i.jsxs)(i.Fragment,{children:[As.label," ",jl<Sl-1?",":""]})}:void 0},so),{},{bordered:!Gn,treeData:Us,showSearch:go,style:Object(o.a)({minWidth:60},so.style),searchValue:Ss,autoClearSearchValue:Sa,onClear:function(){io==null||io(),Go(""),go&&ps("")},onChange:Gs,onSearch:function(qs){Go(qs),ps(qs)},onBlur:function(qs){ps(""),Go(""),vo==null||vo(qs)},className:g()(so==null?void 0:so.className,Gi)}))});if(At&&(bo=At(Gr.text,Object(o.a)({mode:En},so),bo)||null),Gn){var ol=so.disabled,Js=so.allowClear,su=so.placeholder;return Object(i.jsx)($.a,{label:lr,disabled:ol,placeholder:su,size:To,onLabelClick:function(){return Aa(!la)},allowClear:Js,bordered:Gr.bordered,value:bo,onClear:function(){return to==null?void 0:to(void 0,[],{})}})}return bo}return null},$e=p.a.forwardRef(Uc);function ot(rt){var Fe=Object(l.useState)(!1),Et=Object(k.a)(Fe,2),at=Et[0],At=Et[1],En=Object(l.useRef)(null),Gn=Object(l.useCallback)(function(Gr){var Hr,_i,Gi,Dt,ta,Ji,la=(Hr=En.current)===null||Hr===void 0||(_i=Hr.labelRef)===null||_i===void 0||(Gi=_i.current)===null||Gi===void 0?void 0:Gi.contains(Gr.target),Aa=(Dt=En.current)===null||Dt===void 0||(ta=Dt.clearRef)===null||ta===void 0||(Ji=ta.current)===null||Ji===void 0?void 0:Ji.contains(Gr.target);return la&&!Aa},[En]),lr=function(Hr){Gn(Hr)&&At(!0)},pr=function(){At(!1)};return rt.isLight?Object(i.jsx)("div",{onMouseDown:lr,onMouseUp:pr,children:p.a.cloneElement(rt.children,{labelTrigger:at,lightLabel:En})}):Object(i.jsx)(i.Fragment,{children:rt.children})}var _t=ot,dn=["text","valueType","mode","onChange","renderFormItem","value","readonly"],xn=["select","radio","radioButton","checkbook"],Hn=function(Fe,Et,at){var At=m(at.fieldProps);return Et.type==="progress"?Object(i.jsx)($i,Object(o.a)(Object(o.a)({},at),{},{text:Fe,fieldProps:Object(o.a)({status:Et.status?Et.status:void 0},At)})):Et.type==="money"?Object(i.jsx)(Pl,Object(o.a)(Object(o.a)({locale:Et.locale},at),{},{fieldProps:At,text:Fe,moneySymbol:Et.moneySymbol})):Et.type==="percent"?Object(i.jsx)(ti,Object(o.a)(Object(o.a)({},at),{},{text:Fe,showSymbol:Et.showSymbol,precision:Et.precision,fieldProps:At,showColor:Et.showColor})):Et.type==="image"?Object(i.jsx)($a,Object(o.a)(Object(o.a)({},at),{},{text:Fe,width:Et.width})):Fe},er=function(Fe,Et,at,At){var En,Gn=at.mode,lr=Gn===void 0?"read":Gn,pr=at.emptyText,Gr=pr===void 0?"-":pr;if(Gr!==!1&&lr==="read"&&Et!=="option"&&Et!=="switch"&&typeof Fe!="boolean"&&typeof Fe!="number"&&!Fe){var Hr=at.fieldProps,_i=at.render;return _i?_i(Fe,Object(o.a)({mode:lr},Hr),Object(i.jsx)(i.Fragment,{children:Gr})):Object(i.jsx)(i.Fragment,{children:Gr})}if(delete at.emptyText,Object(f.a)(Et)==="object")return Hn(Fe,Et,at);var Gi=At&&At[Et];if(Gi){if(delete at.ref,lr==="read"){var Dt;return(Dt=Gi.render)===null||Dt===void 0?void 0:Dt.call(Gi,Fe,Object(o.a)(Object(o.a)({text:Fe},at),{},{mode:lr||"read"}),Object(i.jsx)(i.Fragment,{children:Fe}))}if(lr==="update"||lr==="edit"){var ta;return(ta=Gi.renderFormItem)===null||ta===void 0?void 0:ta.call(Gi,Fe,Object(o.a)({text:Fe},at),Object(i.jsx)(i.Fragment,{children:Fe}))}}var Ji=xn.includes(Et),la=!!(at.valueEnum||at.request||at.options||((En=at.fieldProps)===null||En===void 0?void 0:En.options));return Object(t.b)(!Ji||la,"\u5982\u679C\u8BBE\u7F6E\u4E86 valueType \u4E3A ".concat(xn.join(","),"\u4E2D\u4EFB\u610F\u4E00\u4E2A\uFF0C\u5219\u9700\u8981\u914D\u7F6Eoptions\uFF0Crequest, valueEnum \u5176\u4E2D\u4E4B\u4E00\uFF0C\u5426\u5219\u65E0\u6CD5\u751F\u6210\u9009\u9879\u3002")),Object(t.b)(!Ji||la,"If you set valueType to any of ".concat(xn.join(","),", you need to configure options, request or valueEnum.")),Et==="money"?Object(i.jsx)(Pl,Object(o.a)(Object(o.a)({},at),{},{text:Fe})):Et==="date"?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(Fa,Object(o.a)({text:Fe,format:"YYYY-MM-DD"},at))}):Et==="dateWeek"?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(Fa,Object(o.a)({text:Fe,format:"YYYY-wo",picker:"week"},at))}):Et==="dateMonth"?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(Fa,Object(o.a)({text:Fe,format:"YYYY-MM",picker:"month"},at))}):Et==="dateQuarter"?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(Fa,Object(o.a)({text:Fe,format:"YYYY-\\QQ",picker:"quarter"},at))}):Et==="dateYear"?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(Fa,Object(o.a)({text:Fe,format:"YYYY",picker:"year"},at))}):Et==="dateRange"?Object(i.jsx)(Ao,Object(o.a)({text:Fe,format:"YYYY-MM-DD"},at)):Et==="dateTime"?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(Fa,Object(o.a)({text:Fe,format:"YYYY-MM-DD HH:mm:ss",showTime:!0},at))}):Et==="dateTimeRange"?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(Ao,Object(o.a)({text:Fe,format:"YYYY-MM-DD HH:mm:ss",showTime:!0},at))}):Et==="time"?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(pc,Object(o.a)({text:Fe,format:"HH:mm:ss"},at))}):Et==="timeRange"?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(ql,Object(o.a)({text:Fe,format:"HH:mm:ss"},at))}):Et==="fromNow"?Object(i.jsx)(Ur,Object(o.a)({text:Fe},at)):Et==="index"?Object(i.jsx)(Ba.a,{children:Fe+1}):Et==="indexBorder"?Object(i.jsx)(Ba.a,{border:!0,children:Fe+1}):Et==="progress"?Object(i.jsx)($i,Object(o.a)(Object(o.a)({},at),{},{text:Fe})):Et==="percent"?Object(i.jsx)(ti,Object(o.a)({text:Fe},at)):Et==="avatar"&&typeof Fe=="string"&&at.mode==="read"?Object(i.jsx)(r.a,{src:Fe,size:22,shape:"circle"}):Et==="code"?Object(i.jsx)(R,Object(o.a)({text:Fe},at)):Et==="jsonCode"?Object(i.jsx)(R,Object(o.a)({text:Fe,language:"json"},at)):Et==="textarea"?Object(i.jsx)(pu,Object(o.a)({text:Fe},at)):Et==="digit"?Object(i.jsx)(ds,Object(o.a)({text:Fe},at)):Et==="digitRange"?Object(i.jsx)(Ei,Object(o.a)({text:Fe},at)):Et==="second"?Object(i.jsx)(xe,Object(o.a)({text:Fe},at)):Et==="select"||Et==="text"&&(at.valueEnum||at.request)?Object(i.jsx)(_t,{isLight:at.light,children:Object(i.jsx)(b.b,Object(o.a)({text:Fe},at))}):Et==="checkbox"?Object(i.jsx)(se,Object(o.a)({text:Fe},at)):Et==="radio"?Object(i.jsx)(pa,Object(o.a)({text:Fe},at)):Et==="radioButton"?Object(i.jsx)(pa,Object(o.a)({radioType:"button",text:Fe},at)):Et==="rate"?Object(i.jsx)(s,Object(o.a)({text:Fe},at)):Et==="slider"?Object(i.jsx)(Xs,Object(o.a)({text:Fe},at)):Et==="switch"?Object(i.jsx)(kl,Object(o.a)({text:Fe},at)):Et==="option"?Object(i.jsx)(Ps,Object(o.a)({text:Fe},at)):Et==="password"?Object(i.jsx)(Cn,Object(o.a)({text:Fe},at)):Et==="image"?Object(i.jsx)($a,Object(o.a)({text:Fe},at)):Et==="cascader"?Object(i.jsx)(E,Object(o.a)({text:Fe},at)):Et==="treeSelect"?Object(i.jsx)($e,Object(o.a)({text:Fe},at)):Et==="color"?Object(i.jsx)(ii,Object(o.a)({text:Fe},at)):Object(i.jsx)(mu,Object(o.a)({text:Fe},at))},Nr=function(Fe,Et){var at,At,En,Gn=Fe.text,lr=Fe.valueType,pr=lr===void 0?"text":lr,Gr=Fe.mode,Hr=Gr===void 0?"read":Gr,_i=Fe.onChange,Gi=Fe.renderFormItem,Dt=Fe.value,ta=Fe.readonly,Ji=Object(u.a)(Fe,dn),la=Object(a.d)(),Aa=Object(l.useContext)(a.b),ja=(Dt!==void 0||_i||(Ji==null?void 0:Ji.fieldProps))&&Object(o.a)(Object(o.a)({value:Dt},Object(h.a)(Ji==null?void 0:Ji.fieldProps)),{},{onChange:function(){for(var io,to,vo=arguments.length,go=new Array(vo),Sa=0;Sa<vo;Sa++)go[Sa]=arguments[Sa];Ji==null||(io=Ji.fieldProps)===null||io===void 0||(to=io.onChange)===null||to===void 0||to.call.apply(to,[io].concat(go)),_i==null||_i.apply(void 0,go)}});return Object(i.jsx)(p.a.Fragment,{children:er(Hr==="edit"?(at=(At=ja==null?void 0:ja.value)!==null&&At!==void 0?At:Gn)!==null&&at!==void 0?at:"":(En=Gn!=null?Gn:ja==null?void 0:ja.value)!==null&&En!==void 0?En:"",pr||"text",Object(o.a)(Object(o.a)({ref:Et},Ji),{},{mode:ta?"read":Hr,renderFormItem:Gi?function(){var Ta=Gi.apply(void 0,arguments);return p.a.isValidElement(Ta)?p.a.cloneElement(Ta,Object(o.a)(Object(o.a)({placeholder:Ji.placeholder||la.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")},ja),Ta.props||{})):Ta}:void 0,placeholder:Ji.placeholder||la.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),fieldProps:m(ja)}),Aa.valueTypeMap)})},Zr=M.a=p.a.forwardRef(Nr)},"/wGt":function(Ie,M,e){"use strict";var u=e("wx14"),c=e("rePB"),r=e("ODXe"),f=e("4i/N"),o=e("TSYQ"),i=e.n(o),a=e("VTBJ"),n=e("q1tI"),v=e("bTyn"),m=e("TNol"),h=e("8XRh"),t=e("4IlW"),l=e("bX4T"),p=n.createContext(null),w=p,S=function(Z){var ee=Z.prefixCls,ce=Z.className,R=Z.style,y=Z.children,C=Z.containerRef,z=Z.id,G=Z.onMouseEnter,X=Z.onMouseOver,pe=Z.onMouseLeave,ae=Z.onClick,Se=Z.onKeyDown,Te=Z.onKeyUp,je={onMouseEnter:G,onMouseOver:X,onMouseLeave:pe,onClick:ae,onKeyDown:Se,onKeyUp:Te};return n.createElement(n.Fragment,null,n.createElement("div",Object(u.a)({id:z,className:i()("".concat(ee,"-content"),ce),style:Object(a.a)({},R),"aria-modal":"true",role:"dialog",ref:C},je),y))},k=S,T=e("Kwbf"),I=e("MNnm");function Y(be){return typeof be=="string"&&String(Number(be))===be?(Object(T.a)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(be)):be}function $(be){Object(T.a)(!("wrapperClassName"in be),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),Object(T.a)(Object(I.a)()||!be.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function g(be,Z){var ee,ce,R,y,C=be.prefixCls,z=be.open,G=be.placement,X=be.inline,pe=be.push,ae=be.forceRender,Se=be.autoFocus,Te=be.keyboard,je=be.rootClassName,ft=be.rootStyle,fe=be.zIndex,ie=be.className,ge=be.id,Ve=be.style,Ee=be.motion,Me=be.width,_e=be.height,Re=be.children,et=be.contentWrapperStyle,Xe=be.mask,it=be.maskClosable,bt=be.maskMotion,Ct=be.maskClassName,Bt=be.maskStyle,qe=be.afterOpenChange,st=be.onClose,ut=be.onMouseEnter,nt=be.onMouseOver,kt=be.onMouseLeave,Sn=be.onClick,Tt=be.onKeyDown,ht=be.onKeyUp,Rt=n.useRef(),Ft=n.useRef(),nn=n.useRef();n.useImperativeHandle(Z,function(){return Rt.current});var bn=function(ct){var Kt=ct.keyCode,pn=ct.shiftKey;switch(Kt){case t.a.TAB:{if(Kt===t.a.TAB){if(!pn&&document.activeElement===nn.current){var kn;(kn=Ft.current)===null||kn===void 0||kn.focus({preventScroll:!0})}else if(pn&&document.activeElement===Ft.current){var Pt;(Pt=nn.current)===null||Pt===void 0||Pt.focus({preventScroll:!0})}}break}case t.a.ESC:{st&&Te&&(ct.stopPropagation(),st(ct));break}}};n.useEffect(function(){if(z&&Se){var dt;(dt=Rt.current)===null||dt===void 0||dt.focus({preventScroll:!0})}},[z]);var sn=n.useState(!1),un=Object(r.a)(sn,2),Ht=un[0],jn=un[1],Ln=n.useContext(w),Un;pe===!1?Un={distance:0}:pe===!0?Un={}:Un=pe||{};var lt=(ee=(ce=(R=Un)===null||R===void 0?void 0:R.distance)!==null&&ce!==void 0?ce:Ln==null?void 0:Ln.pushDistance)!==null&&ee!==void 0?ee:180,Nt=n.useMemo(function(){return{pushDistance:lt,push:function(){jn(!0)},pull:function(){jn(!1)}}},[lt]);n.useEffect(function(){if(z){var dt;Ln==null||(dt=Ln.push)===null||dt===void 0||dt.call(Ln)}else{var ct;Ln==null||(ct=Ln.pull)===null||ct===void 0||ct.call(Ln)}},[z]),n.useEffect(function(){return function(){var dt;Ln==null||(dt=Ln.pull)===null||dt===void 0||dt.call(Ln)}},[]);var zt=Xe&&n.createElement(h.b,Object(u.a)({key:"mask"},bt,{visible:z}),function(dt,ct){var Kt=dt.className,pn=dt.style;return n.createElement("div",{className:i()("".concat(C,"-mask"),Kt,Ct),style:Object(a.a)(Object(a.a)({},pn),Bt),onClick:it&&z?st:void 0,ref:ct})}),en=typeof Ee=="function"?Ee(G):Ee,tn={};if(Ht&<)switch(G){case"top":tn.transform="translateY(".concat(lt,"px)");break;case"bottom":tn.transform="translateY(".concat(-lt,"px)");break;case"left":tn.transform="translateX(".concat(lt,"px)");break;default:tn.transform="translateX(".concat(-lt,"px)");break}G==="left"||G==="right"?tn.width=Y(Me):tn.height=Y(_e);var wn={onMouseEnter:ut,onMouseOver:nt,onMouseLeave:kt,onClick:Sn,onKeyDown:Tt,onKeyUp:ht},on=n.createElement(h.b,Object(u.a)({key:"panel"},en,{visible:z,forceRender:ae,onVisibleChanged:function(ct){qe==null||qe(ct)},removeOnLeave:!1,leavedClassName:"".concat(C,"-content-wrapper-hidden")}),function(dt,ct){var Kt=dt.className,pn=dt.style;return n.createElement("div",Object(u.a)({className:i()("".concat(C,"-content-wrapper"),Kt),style:Object(a.a)(Object(a.a)(Object(a.a)({},tn),pn),et)},Object(l.a)(be,{data:!0})),n.createElement(k,Object(u.a)({id:ge,containerRef:ct,prefixCls:C,className:ie,style:Ve},wn),Re))}),vn=Object(a.a)({},ft);return fe&&(vn.zIndex=fe),n.createElement(w.Provider,{value:Nt},n.createElement("div",{className:i()(C,"".concat(C,"-").concat(G),je,(y={},Object(c.a)(y,"".concat(C,"-open"),z),Object(c.a)(y,"".concat(C,"-inline"),X),y)),style:vn,tabIndex:-1,ref:Rt,onKeyDown:bn},zt,n.createElement("div",{tabIndex:0,ref:Ft,style:A,"aria-hidden":"true","data-sentinel":"start"}),on,n.createElement("div",{tabIndex:0,ref:nn,style:A,"aria-hidden":"true","data-sentinel":"end"})))}var b=n.forwardRef(g),d=b,O=function(Z){var ee=Z.open,ce=ee===void 0?!1:ee,R=Z.prefixCls,y=R===void 0?"rc-drawer":R,C=Z.placement,z=C===void 0?"right":C,G=Z.autoFocus,X=G===void 0?!0:G,pe=Z.keyboard,ae=pe===void 0?!0:pe,Se=Z.width,Te=Se===void 0?378:Se,je=Z.mask,ft=je===void 0?!0:je,fe=Z.maskClosable,ie=fe===void 0?!0:fe,ge=Z.getContainer,Ve=Z.forceRender,Ee=Z.afterOpenChange,Me=Z.destroyOnClose,_e=Z.onMouseEnter,Re=Z.onMouseOver,et=Z.onMouseLeave,Xe=Z.onClick,it=Z.onKeyDown,bt=Z.onKeyUp,Ct=n.useState(!1),Bt=Object(r.a)(Ct,2),qe=Bt[0],st=Bt[1],ut=n.useState(!1),nt=Object(r.a)(ut,2),kt=nt[0],Sn=nt[1];Object(m.a)(function(){Sn(!0)},[]);var Tt=kt?ce:!1,ht=n.useRef(),Rt=n.useRef();Object(m.a)(function(){Tt&&(Rt.current=document.activeElement)},[Tt]);var Ft=function(un){var Ht;if(st(un),Ee==null||Ee(un),!un&&Rt.current&&!((Ht=ht.current)===null||Ht===void 0?void 0:Ht.contains(Rt.current))){var jn;(jn=Rt.current)===null||jn===void 0||jn.focus({preventScroll:!0})}};if(!Ve&&!qe&&!Tt&&Me)return null;var nn={onMouseEnter:_e,onMouseOver:Re,onMouseLeave:et,onClick:Xe,onKeyDown:it,onKeyUp:bt},bn=Object(a.a)(Object(a.a)({},Z),{},{open:Tt,prefixCls:y,placement:z,autoFocus:X,keyboard:ae,width:Te,mask:ft,maskClosable:ie,inline:ge===!1,afterOpenChange:Ft,ref:ht},nn);return n.createElement(v.a,{open:Tt||Ve||qe,autoDestroy:!1,getContainer:ge,autoLock:ft&&(Tt||qe)},n.createElement(d,bn))},E=O,D=E,W=e("H84U"),te=e("ihLV"),re=e("EXcs"),ye=e("CWQg"),q=e("+f9I"),oe=function(be,Z){var ee={};for(var ce in be)Object.prototype.hasOwnProperty.call(be,ce)&&Z.indexOf(ce)<0&&(ee[ce]=be[ce]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,ce=Object.getOwnPropertySymbols(be);R<ce.length;R++)Z.indexOf(ce[R])<0&&Object.prototype.propertyIsEnumerable.call(be,ce[R])&&(ee[ce[R]]=be[ce[R]]);return ee},he=Object(ye.a)("default","large"),ue={distance:180};function ne(be){var Z=be.width,ee=be.height,ce=be.size,R=ce===void 0?"default":ce,y=be.closable,C=y===void 0?!0:y,z=be.mask,G=z===void 0?!0:z,X=be.push,pe=X===void 0?ue:X,ae=be.closeIcon,Se=ae===void 0?n.createElement(f.a,null):ae,Te=be.bodyStyle,je=be.drawerStyle,ft=be.className,fe=be.visible,ie=be.open,ge=be.children,Ve=be.style,Ee=be.title,Me=be.headerStyle,_e=be.onClose,Re=be.footer,et=be.footerStyle,Xe=be.prefixCls,it=be.getContainer,bt=be.extra,Ct=be.afterVisibleChange,Bt=be.afterOpenChange,qe=oe(be,["width","height","size","closable","mask","push","closeIcon","bodyStyle","drawerStyle","className","visible","open","children","style","title","headerStyle","onClose","footer","footerStyle","prefixCls","getContainer","extra","afterVisibleChange","afterOpenChange"]),st=n.useContext(W.b),ut=st.getPopupContainer,nt=st.getPrefixCls,kt=st.direction,Sn=nt("drawer",Xe),Tt=it===void 0&&ut?function(){return ut(document.body)}:it,ht=C&&n.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(Sn,"-close")},Se);[["visible","open"],["afterVisibleChange","afterOpenChange"]].forEach(function(jn){var Ln=Object(r.a)(jn,2),Un=Ln[0],lt=Ln[1]});function Rt(){return!Ee&&!C?null:n.createElement("div",{className:i()("".concat(Sn,"-header"),Object(c.a)({},"".concat(Sn,"-header-close-only"),C&&!Ee&&!bt)),style:Me},n.createElement("div",{className:"".concat(Sn,"-header-title")},ht,Ee&&n.createElement("div",{className:"".concat(Sn,"-title")},Ee)),bt&&n.createElement("div",{className:"".concat(Sn,"-extra")},bt))}function Ft(){if(!Re)return null;var jn="".concat(Sn,"-footer");return n.createElement("div",{className:jn,style:et},Re)}var nn=i()(Object(c.a)({"no-mask":!G},"".concat(Sn,"-rtl"),kt==="rtl"),ft),bn=n.useMemo(function(){return Z!=null?Z:R==="large"?736:378},[Z,R]),sn=n.useMemo(function(){return ee!=null?ee:R==="large"?736:378},[ee,R]),un={motionName:Object(re.c)(Sn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Ht=function(Ln){return{motionName:Object(re.c)(Sn,"panel-motion-".concat(Ln)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}};return n.createElement(q.a,null,n.createElement(te.e,{status:!0,override:!0},n.createElement(D,Object(u.a)({prefixCls:Sn,onClose:_e},qe,{open:ie!=null?ie:fe,mask:G,push:pe,width:bn,height:sn,rootClassName:nn,getContainer:Tt,afterOpenChange:function(Ln){Bt==null||Bt(Ln),Ct==null||Ct(Ln)},maskMotion:un,motion:Ht,rootStyle:Ve}),n.createElement("div",{className:"".concat(Sn,"-wrapper-body"),style:Object(u.a)({},je)},Rt(),n.createElement("div",{className:"".concat(Sn,"-body"),style:Te},ge),Ft()))))}var se=M.a=ne},"/zsF":function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("bE4E"),f=e.n(r)},"0+8E":function(Ie,M,e){"use strict";e.d(M,"b",function(){return d}),e.d(M,"a",function(){return O});var u=e("fWQN"),c=e("mtLc"),r=e("tS8v"),f=e("w4Tj"),o=e("oZsa"),i=e("yKVA"),a=e("879j"),n=e("i/Rh"),v=e("3/fG"),m=e("EffR"),h=e("Md8J"),t=e("OBOq"),l=e("WqXY"),p=e("MI8n"),w=e("G300"),S=e("zrhQ"),k=e("qj0h"),T=e("rAM+"),I=function(){function E(D){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:D.length,re=arguments.length>3&&arguments[3]!==void 0?arguments[3]:W-1;Object(u.a)(this,E),this.items=D,this.start=W,this.end=te,this.index=re}return Object(c.a)(E,[{key:"current",value:function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}},{key:"next",value:function(){return this.index=Math.min(this.index+1,this.end),this.current()}},{key:"previous",value:function(){return this.index=Math.max(this.index-1,this.start-1),this.current()}},{key:"first",value:function(){return this.index=this.start,this.current()}},{key:"last",value:function(){return this.index=this.end-1,this.current()}}]),E}(),Y=function(){function E(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10;Object(u.a)(this,E),this._initialize(D),this._limit=W,this._onChange()}return Object(c.a)(E,[{key:"add",value:function(W){this._history.delete(W),this._history.add(W),this._onChange()}},{key:"next",value:function(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}},{key:"previous",value:function(){return this._currentPosition()!==0?this._navigator.previous():null}},{key:"current",value:function(){return this._navigator.current()}},{key:"first",value:function(){return this._navigator.first()}},{key:"last",value:function(){return this._navigator.last()}},{key:"has",value:function(W){return this._history.has(W)}},{key:"_onChange",value:function(){this._reduceToLimit();var W=this._elements;this._navigator=new I(W,0,W.length,W.length)}},{key:"_reduceToLimit",value:function(){var W=this._elements;W.length>this._limit&&this._initialize(W.slice(W.length-this._limit))}},{key:"_currentPosition",value:function(){var W=this._navigator.current();return W?this._elements.indexOf(W):-1}},{key:"_initialize",value:function(W){this._history=new Set;var te=Object(T.a)(W),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value;this._history.add(ye)}}catch(q){te.e(q)}finally{te.f()}}},{key:"_elements",get:function(){var W=[];return this._history.forEach(function(te){return W.push(te)}),W}}]),E}(),$=e("GJhM"),A=e("4y0V"),g=m.$,b={inputBackground:S.a.fromHex("#3C3C3C"),inputForeground:S.a.fromHex("#CCCCCC"),inputValidationInfoBorder:S.a.fromHex("#55AAFF"),inputValidationInfoBackground:S.a.fromHex("#063B49"),inputValidationWarningBorder:S.a.fromHex("#B89500"),inputValidationWarningBackground:S.a.fromHex("#352A05"),inputValidationErrorBorder:S.a.fromHex("#BE1100"),inputValidationErrorBackground:S.a.fromHex("#5A1D1D")},d=function(E){Object(i.a)(W,E);var D=Object(a.a)(W);function W(te,re,ye){var q;Object(u.a)(this,W);var oe;q=D.call(this),q.state="idle",q.maxHeight=Number.POSITIVE_INFINITY,q._onDidChange=q._register(new p.a),q.onDidChange=q._onDidChange.event,q._onDidHeightChange=q._register(new p.a),q.onDidHeightChange=q._onDidHeightChange.event,q.contextViewProvider=re,q.options=ye||Object.create(null),Object(k.f)(q.options,b,!1),q.message=null,q.placeholder=q.options.placeholder||"",q.tooltip=(oe=q.options.tooltip)!==null&&oe!==void 0?oe:q.placeholder||"",q.ariaLabel=q.options.ariaLabel||"",q.inputBackground=q.options.inputBackground,q.inputForeground=q.options.inputForeground,q.inputBorder=q.options.inputBorder,q.inputValidationInfoBorder=q.options.inputValidationInfoBorder,q.inputValidationInfoBackground=q.options.inputValidationInfoBackground,q.inputValidationInfoForeground=q.options.inputValidationInfoForeground,q.inputValidationWarningBorder=q.options.inputValidationWarningBorder,q.inputValidationWarningBackground=q.options.inputValidationWarningBackground,q.inputValidationWarningForeground=q.options.inputValidationWarningForeground,q.inputValidationErrorBorder=q.options.inputValidationErrorBorder,q.inputValidationErrorBackground=q.options.inputValidationErrorBackground,q.inputValidationErrorForeground=q.options.inputValidationErrorForeground,q.options.validationOptions&&(q.validation=q.options.validationOptions.validation),q.element=m.append(te,g(".monaco-inputbox.idle"));var he=q.options.flexibleHeight?"textarea":"input",ue=m.append(q.element,g(".ibwrapper"));if(q.input=m.append(ue,g(he+".input.empty")),q.input.setAttribute("autocorrect","off"),q.input.setAttribute("autocapitalize","off"),q.input.setAttribute("spellcheck","false"),q.onfocus(q.input,function(){return q.element.classList.add("synthetic-focus")}),q.onblur(q.input,function(){return q.element.classList.remove("synthetic-focus")}),q.options.flexibleHeight){q.maxHeight=typeof q.options.flexibleMaxHeight=="number"?q.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,q.mirror=m.append(ue,g("div.mirror")),q.mirror.innerText="\xA0",q.scrollableElement=new $.b(q.element,{vertical:1}),q.options.flexibleWidth&&(q.input.setAttribute("wrap","off"),q.mirror.style.whiteSpace="pre",q.mirror.style.wordWrap="initial"),m.append(te,q.scrollableElement.getDomNode()),q._register(q.scrollableElement),q._register(q.scrollableElement.onScroll(function(se){return q.input.scrollTop=se.scrollTop}));var ne=p.b.filter(Object(A.a)(document,"selectionchange"),function(){var se=document.getSelection();return(se==null?void 0:se.anchorNode)===ue});q._register(ne(q.updateScrollDimensions,Object(r.a)(q))),q._register(q.onDidHeightChange(q.updateScrollDimensions,Object(r.a)(q)))}else q.input.type=q.options.type||"text",q.input.setAttribute("wrap","off");return q.ariaLabel&&q.input.setAttribute("aria-label",q.ariaLabel),q.placeholder&&q.setPlaceHolder(q.placeholder),q.tooltip&&q.setTooltip(q.tooltip),q.oninput(q.input,function(){return q.onValueChange()}),q.onblur(q.input,function(){return q.onBlur()}),q.onfocus(q.input,function(){return q.onFocus()}),q.ignoreGesture(q.input),setTimeout(function(){return q.updateMirror()},0),q.options.actions&&(q.actionbar=q._register(new l.a(q.element)),q.actionbar.push(q.options.actions,{icon:!0,label:!1})),q.applyStyles(),q}return Object(c.a)(W,[{key:"onBlur",value:function(){this._hideMessage()}},{key:"onFocus",value:function(){this._showMessage()}},{key:"setPlaceHolder",value:function(re){this.placeholder=re,this.input.setAttribute("placeholder",re)}},{key:"setTooltip",value:function(re){this.tooltip=re,this.input.title=re}},{key:"setAriaLabel",value:function(re){this.ariaLabel=re,re?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}},{key:"getAriaLabel",value:function(){return this.ariaLabel}},{key:"inputElement",get:function(){return this.input}},{key:"value",get:function(){return this.input.value},set:function(re){this.input.value!==re&&(this.input.value=re,this.onValueChange())}},{key:"height",get:function(){return typeof this.cachedHeight=="number"?this.cachedHeight:m.getTotalHeight(this.element)}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"hasFocus",value:function(){return document.activeElement===this.input}},{key:"select",value:function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this.input.select(),re&&(this.input.setSelectionRange(re.start,re.end),re.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}},{key:"isSelectionAtEnd",value:function(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}},{key:"enable",value:function(){this.input.removeAttribute("disabled")}},{key:"disable",value:function(){this.blur(),this.input.disabled=!0,this._hideMessage()}},{key:"width",get:function(){return m.getTotalWidth(this.input)},set:function(re){if(this.options.flexibleHeight&&this.options.flexibleWidth){var ye=0;if(this.mirror){var q=parseFloat(this.mirror.style.paddingLeft||"")||0,oe=parseFloat(this.mirror.style.paddingRight||"")||0;ye=q+oe}this.input.style.width=re-ye+"px"}else this.input.style.width=re+"px";this.mirror&&(this.mirror.style.width=re+"px")}},{key:"paddingRight",set:function(re){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width="calc(100% - ".concat(re,"px)"):this.input.style.paddingRight=re+"px",this.mirror&&(this.mirror.style.paddingRight=re+"px")}},{key:"updateScrollDimensions",value:function(){if(!(typeof this.cachedContentHeight!="number"||typeof this.cachedHeight!="number"||!this.scrollableElement)){var re=this.cachedContentHeight,ye=this.cachedHeight,q=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:re,height:ye}),this.scrollableElement.setScrollPosition({scrollTop:q})}}},{key:"showMessage",value:function(re,ye){this.message=re,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(re.type));var q=this.stylesForType(this.message.type);this.element.style.border=q.border?"1px solid ".concat(q.border):"",(this.hasFocus()||ye)&&this._showMessage()}},{key:"hideMessage",value:function(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}},{key:"validate",value:function(){var re=null;return this.validation&&(re=this.validation(this.value),re?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(re)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),re==null?void 0:re.type}},{key:"stylesForType",value:function(re){switch(re){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}},{key:"classForType",value:function(re){switch(re){case 1:return"info";case 2:return"warning";default:return"error"}}},{key:"_showMessage",value:function(){var re=this;if(!(!this.contextViewProvider||!this.message)){var ye,q=function(){return ye.style.width=m.getTotalWidth(re.element)+"px"};this.contextViewProvider.showContextView({getAnchor:function(){return re.element},anchorAlignment:1,render:function(ue){if(!re.message)return null;ye=m.append(ue,g(".monaco-inputbox-container")),q();var ne={inline:!0,className:"monaco-inputbox-message"},se=re.message.formatContent?Object(h.b)(re.message.content,ne):Object(h.c)(re.message.content,ne);se.classList.add(re.classForType(re.message.type));var be=re.stylesForType(re.message.type);return se.style.backgroundColor=be.background?be.background.toString():"",se.style.color=be.foreground?be.foreground.toString():"",se.style.border=be.border?"1px solid ".concat(be.border):"",m.append(ye,se),null},onHide:function(){re.state="closed"},layout:q});var oe;this.message.type===3?oe=v.a("alertErrorMessage","Error: {0}",this.message.content):this.message.type===2?oe=v.a("alertWarningMessage","Warning: {0}",this.message.content):oe=v.a("alertInfoMessage","Info: {0}",this.message.content),t.a(oe),this.state="open"}}},{key:"_hideMessage",value:function(){!this.contextViewProvider||(this.state==="open"&&this.contextViewProvider.hideContextView(),this.state="idle")}},{key:"onValueChange",value:function(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),this.state==="open"&&this.contextViewProvider&&this.contextViewProvider.layout()}},{key:"updateMirror",value:function(){if(!!this.mirror){var re=this.value,ye=re.charCodeAt(re.length-1),q=ye===10?" ":"",oe=re+q;oe?this.mirror.textContent=re+q:this.mirror.innerText="\xA0",this.layout()}}},{key:"style",value:function(re){this.inputBackground=re.inputBackground,this.inputForeground=re.inputForeground,this.inputBorder=re.inputBorder,this.inputValidationInfoBackground=re.inputValidationInfoBackground,this.inputValidationInfoForeground=re.inputValidationInfoForeground,this.inputValidationInfoBorder=re.inputValidationInfoBorder,this.inputValidationWarningBackground=re.inputValidationWarningBackground,this.inputValidationWarningForeground=re.inputValidationWarningForeground,this.inputValidationWarningBorder=re.inputValidationWarningBorder,this.inputValidationErrorBackground=re.inputValidationErrorBackground,this.inputValidationErrorForeground=re.inputValidationErrorForeground,this.inputValidationErrorBorder=re.inputValidationErrorBorder,this.applyStyles()}},{key:"applyStyles",value:function(){var re=this.inputBackground?this.inputBackground.toString():"",ye=this.inputForeground?this.inputForeground.toString():"",q=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=re,this.element.style.color=ye,this.input.style.backgroundColor="inherit",this.input.style.color=ye,this.element.style.borderWidth=q?"1px":"",this.element.style.borderStyle=q?"solid":"",this.element.style.borderColor=q}},{key:"layout",value:function(){if(!!this.mirror){var re=this.cachedContentHeight;this.cachedContentHeight=m.getTotalHeight(this.mirror),re!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}}},{key:"insertAtCursor",value:function(re){var ye=this.inputElement,q=ye.selectionStart,oe=ye.selectionEnd,he=ye.value;q!==null&&oe!==null&&(this.value=he.substr(0,q)+re+he.substr(oe),ye.setSelectionRange(q+1,q+1),this.layout())}},{key:"dispose",value:function(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),Object(f.a)(Object(o.a)(W.prototype),"dispose",this).call(this)}}]),W}(w.a),O=function(E){Object(i.a)(W,E);var D=Object(a.a)(W);function W(te,re,ye){var q;return Object(u.a)(this,W),q=D.call(this,te,re,ye),q.history=new Y(ye.history,100),q}return Object(c.a)(W,[{key:"addToHistory",value:function(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}},{key:"showNextValue",value:function(){this.history.has(this.value)||this.addToHistory();var re=this.getNextValue();re&&(re=re===this.value?this.getNextValue():re),re&&(this.value=re,t.c(this.value))}},{key:"showPreviousValue",value:function(){this.history.has(this.value)||this.addToHistory();var re=this.getPreviousValue();re&&(re=re===this.value?this.getPreviousValue():re),re&&(this.value=re,t.c(this.value))}},{key:"getCurrentValue",value:function(){var re=this.history.current();return re||(re=this.history.last(),this.history.next()),re}},{key:"getPreviousValue",value:function(){return this.history.previous()||this.history.first()}},{key:"getNextValue",value:function(){return this.history.next()||this.history.last()}}]),W}(d)},"0/Sa":function(Ie,M,e){"use strict";e.d(M,"a",function(){return f});var u=e("fWQN"),c=e("mtLc"),r=e("aokT"),f=function(){function o(){Object(u.a)(this,o)}return Object(c.a)(o,null,[{key:"insert",value:function(a,n){return{range:new r.a(a.lineNumber,a.column,a.lineNumber,a.column),text:n,forceMoveMarkers:!0}}},{key:"delete",value:function(a){return{range:a,text:null}}},{key:"replace",value:function(a,n){return{range:a,text:n}}},{key:"replaceMove",value:function(a,n){return{range:a,text:n,forceMoveMarkers:!0}}}]),o}()},"03A+":function(Ie,M,e){var u=e("JTzB"),c=e("ExA7"),r=Object.prototype,f=r.hasOwnProperty,o=r.propertyIsEnumerable,i=u(function(){return arguments}())?u:function(a){return c(a)&&f.call(a,"callee")&&!o.call(a,"callee")};Ie.exports=i},"08ff":function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("q1tI"),c=e.n(u),r=c.a.createContext({mode:"edit"})},"09fa":function(Ie,M,e){"use strict";e.d(M,"b",function(){return n}),e.d(M,"c",function(){return v}),e.d(M,"a",function(){return t}),e.d(M,"d",function(){return l});var u=e("fWQN"),c=e("mtLc"),r=e("yKVA"),f=e("879j"),o=e("Cg/j"),i=e("pmY6"),a=e("MI8n"),n=Object(o.c)("logService"),v;(function(p){p[p.Trace=0]="Trace",p[p.Debug=1]="Debug",p[p.Info=2]="Info",p[p.Warning=3]="Warning",p[p.Error=4]="Error",p[p.Critical=5]="Critical",p[p.Off=6]="Off"})(v||(v={}));var m=v.Info,h=function(p){Object(r.a)(S,p);var w=Object(f.a)(S);function S(){var k;return Object(u.a)(this,S),k=w.apply(this,arguments),k.level=m,k._onDidChangeLogLevel=k._register(new a.a),k}return Object(c.a)(S,[{key:"setLevel",value:function(T){this.level!==T&&(this.level=T,this._onDidChangeLogLevel.fire(this.level))}},{key:"getLevel",value:function(){return this.level}}]),S}(i.a),t=function(p){Object(r.a)(S,p);var w=Object(f.a)(S);function S(){var k,T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m;return Object(u.a)(this,S),k=w.call(this),k.setLevel(T),k}return Object(c.a)(S,[{key:"trace",value:function(T){if(this.getLevel()<=v.Trace){for(var I,Y=arguments.length,$=new Array(Y>1?Y-1:0),A=1;A<Y;A++)$[A-1]=arguments[A];(I=console).log.apply(I,["%cTRACE","color: #888",T].concat($))}}},{key:"debug",value:function(T){if(this.getLevel()<=v.Debug){for(var I,Y=arguments.length,$=new Array(Y>1?Y-1:0),A=1;A<Y;A++)$[A-1]=arguments[A];(I=console).log.apply(I,["%cDEBUG","background: #eee; color: #888",T].concat($))}}},{key:"info",value:function(T){if(this.getLevel()<=v.Info){for(var I,Y=arguments.length,$=new Array(Y>1?Y-1:0),A=1;A<Y;A++)$[A-1]=arguments[A];(I=console).log.apply(I,["%c INFO","color: #33f",T].concat($))}}},{key:"error",value:function(T){if(this.getLevel()<=v.Error){for(var I,Y=arguments.length,$=new Array(Y>1?Y-1:0),A=1;A<Y;A++)$[A-1]=arguments[A];(I=console).log.apply(I,["%c ERR","color: #f33",T].concat($))}}},{key:"dispose",value:function(){}}]),S}(h),l=function(p){Object(r.a)(S,p);var w=Object(f.a)(S);function S(k){var T;return Object(u.a)(this,S),T=w.call(this),T.logger=k,T._register(k),T}return Object(c.a)(S,[{key:"getLevel",value:function(){return this.logger.getLevel()}},{key:"trace",value:function(T){for(var I,Y=arguments.length,$=new Array(Y>1?Y-1:0),A=1;A<Y;A++)$[A-1]=arguments[A];(I=this.logger).trace.apply(I,[T].concat($))}},{key:"debug",value:function(T){for(var I,Y=arguments.length,$=new Array(Y>1?Y-1:0),A=1;A<Y;A++)$[A-1]=arguments[A];(I=this.logger).debug.apply(I,[T].concat($))}},{key:"info",value:function(T){for(var I,Y=arguments.length,$=new Array(Y>1?Y-1:0),A=1;A<Y;A++)$[A-1]=arguments[A];(I=this.logger).info.apply(I,[T].concat($))}},{key:"error",value:function(T){for(var I,Y=arguments.length,$=new Array(Y>1?Y-1:0),A=1;A<Y;A++)$[A-1]=arguments[A];(I=this.logger).error.apply(I,[T].concat($))}}]),S}(i.a)},"0Cz8":function(Ie,M,e){var u=e("Xi7e"),c=e("ebwN"),r=e("e4Nc"),f=200;function o(i,a){var n=this.__data__;if(n instanceof u){var v=n.__data__;if(!c||v.length<f-1)return v.push([i,a]),this.size=++n.size,this;n=this.__data__=new r(v)}return n.set(i,a),this.size=n.size,this}Ie.exports=o},"0JNc":function(Ie,M,e){"use strict";e.d(M,"b",function(){return c}),e.d(M,"a",function(){return f}),e.d(M,"c",function(){return o}),e.d(M,"d",function(){return a});var u=e("rAM+"),c="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function r(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",m="(-?\\d*\\.\\d\\w*)|([^",h=Object(u.a)(c),t;try{for(h.s();!(t=h.n()).done;){var l=t.value;v.indexOf(l)>=0||(m+="\\"+l)}}catch(p){h.e(p)}finally{h.f()}return m+="\\s]+)",new RegExp(m,"g")}var f=r();function o(v){var m=f;if(v&&v instanceof RegExp)if(v.global)m=v;else{var h="g";v.ignoreCase&&(h+="i"),v.multiline&&(h+="m"),v.unicode&&(h+="u"),m=new RegExp(v.source,h)}return m.lastIndex=0,m}var i={maxLen:1e3,windowSize:15,timeBudget:150};function a(v,m,h,t){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:i;if(h.length>l.maxLen){var p=v-l.maxLen/2;return p<0?p=0:t+=p,h=h.substring(p,v+l.maxLen/2),a(v,m,h,t,l)}for(var w=Date.now(),S=v-1-t,k=-1,T=null,I=1;!(Date.now()-w>=l.timeBudget);I++){var Y=S-l.windowSize*I;m.lastIndex=Math.max(0,Y);var $=n(m,h,S,k);if(!$&&T||(T=$,Y<=0))break;k=Y}if(T){var A={word:T[0],startColumn:t+1+T.index,endColumn:t+1+T.index+T[0].length};return m.lastIndex=0,A}return null}function n(v,m,h,t){for(var l;l=v.exec(m);){var p=l.index||0;if(p<=h&&v.lastIndex>=h)return l;if(t>0&&p>t)return null}return null}},"0LFD":function(Ie,M,e){"use strict";M.a=function(u,c){var r,f=1;u==null&&(u=0),c==null&&(c=0);function o(){var i,a=r.length,n,v=0,m=0;for(i=0;i<a;++i)n=r[i],v+=n.x,m+=n.y;for(v=(v/a-u)*f,m=(m/a-c)*f,i=0;i<a;++i)n=r[i],n.x-=v,n.y-=m}return o.initialize=function(i){r=i},o.x=function(i){return arguments.length?(u=+i,o):u},o.y=function(i){return arguments.length?(c=+i,o):c},o.strength=function(i){return arguments.length?(f=+i,o):f},o}},"0Lb2":function(Ie,M,e){"use strict";e.d(M,"a",function(){return l});var u=e("fWQN"),c=e("mtLc"),r=e("w4Tj"),f=e("oZsa"),o=e("yKVA"),i=e("879j"),a=e("FWmy"),n=e("MI8n"),v=e("pmY6"),m=e("qj0h"),h=e("aokT"),t={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0},l=function(p){Object(o.a)(S,p);var w=Object(i.a)(S);function S(k){var T,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object(u.a)(this,S),T=w.call(this),T._onDidUpdate=T._register(new n.a),T._editor=k,T._options=m.f(I,t,!1),T.disposed=!1,T.nextIdx=-1,T.ranges=[],T.ignoreSelectionChange=!1,T.revealFirst=Boolean(T._options.alwaysRevealFirst),T._register(T._editor.onDidDispose(function(){return T.dispose()})),T._register(T._editor.onDidUpdateDiff(function(){return T._onDiffUpdated()})),T._options.followsCaret&&T._register(T._editor.getModifiedEditor().onDidChangeCursorPosition(function(Y){T.ignoreSelectionChange||(T.nextIdx=-1)})),T._options.alwaysRevealFirst&&T._register(T._editor.getModifiedEditor().onDidChangeModel(function(Y){T.revealFirst=!0})),T._init(),T}return Object(c.a)(S,[{key:"_init",value:function(){var T=this._editor.getLineChanges()}},{key:"_onDiffUpdated",value:function(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&this._editor.getLineChanges()!==null&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}},{key:"_compute",value:function(T){var I=this;this.ranges=[],T&&T.forEach(function(Y){!I._options.ignoreCharChanges&&Y.charChanges?Y.charChanges.forEach(function($){I.ranges.push({rhs:!0,range:new h.a($.modifiedStartLineNumber,$.modifiedStartColumn,$.modifiedEndLineNumber,$.modifiedEndColumn)})}):I.ranges.push({rhs:!0,range:new h.a(Y.modifiedStartLineNumber,1,Y.modifiedStartLineNumber,1)})}),this.ranges.sort(function(Y,$){return Y.range.getStartPosition().isBeforeOrEqual($.range.getStartPosition())?-1:$.range.getStartPosition().isBeforeOrEqual(Y.range.getStartPosition())?1:0}),this._onDidUpdate.fire(this)}},{key:"_initIdx",value:function(T){var I=!1,Y=this._editor.getPosition();if(!Y){this.nextIdx=0;return}for(var $=0,A=this.ranges.length;$<A&&!I;$++){var g=this.ranges[$].range;Y.isBeforeOrEqual(g.getStartPosition())&&(this.nextIdx=$+(T?0:-1),I=!0)}I||(this.nextIdx=T?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}},{key:"_move",value:function(T,I){if(a.a(!this.disposed,"Illegal State - diff navigator has been disposed"),!!this.canNavigate()){this.nextIdx===-1?this._initIdx(T):T?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var Y=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var $=Y.range.getStartPosition();this._editor.setPosition($),this._editor.revealPositionInCenter($,I)}finally{this.ignoreSelectionChange=!1}}}},{key:"canNavigate",value:function(){return this.ranges&&this.ranges.length>0}},{key:"next",value:function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this._move(!0,T)}},{key:"previous",value:function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this._move(!1,T)}},{key:"dispose",value:function(){Object(r.a)(Object(f.a)(S.prototype),"dispose",this).call(this),this.ranges=[],this.disposed=!0}}]),S}(v.a)},"0af2":function(Ie,M,e){"use strict";e.d(M,"a",function(){return ne}),e.d(M,"b",function(){return se}),e.d(M,"c",function(){return be});var u=e("w4Tj"),c=e("oZsa"),r=e("rAM+"),f=e("tS8v"),o=e("yKVA"),i=e("879j"),a=e("fWQN"),n=e("mtLc"),v=e("MI8n"),m=e("pmY6"),h=e("MNsG"),t=e("/cxE"),l=e("/UlZ"),p=e("tX9W"),w=e("twdY"),S=e("MqQJ"),k=e("e0rL"),T=e("+7oY"),I=e("X+cX"),Y=e("JQT/"),$=e("t9D7"),A=e("09fa"),g=e("OAO6"),b=e("7afs"),d=e("oFSf"),O=e("tYmi"),E=e("JS/N"),D=e("dM5B"),W=function(y,C,z,G){var X=arguments.length,pe=X<3?C:G===null?G=Object.getOwnPropertyDescriptor(C,z):G,ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")pe=Reflect.decorate(y,C,z,G);else for(var Se=y.length-1;Se>=0;Se--)(ae=y[Se])&&(pe=(X<3?ae(pe):X>3?ae(C,z,pe):ae(C,z))||pe);return X>3&&pe&&Object.defineProperty(C,z,pe),pe},te=function(y,C){return function(z,G){C(z,G,y)}};function re(y){return y.toString()}function ye(y){for(var C=new b.a,z=y.createSnapshot(),G;G=z.read();)C.update(G);return C.digest()}var q=function(){function y(C,z,G){Object(a.a)(this,y),this._modelEventListeners=new m.b,this.model=C,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(C.onWillDispose(function(){return z(C)})),this._modelEventListeners.add(C.onDidChangeLanguage(function(X){return G(C,X)}))}return Object(n.a)(y,[{key:"_disposeLanguageSelection",value:function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null)}},{key:"dispose",value:function(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}},{key:"setLanguage",value:function(z){var G=this;this._disposeLanguageSelection(),this._languageSelection=z,this._languageSelectionListener=this._languageSelection.onDidChange(function(){return G.model.setMode(z.languageIdentifier)}),this.model.setMode(z.languageIdentifier)}}]),y}(),oe=h.d||h.f?1:2,he=Object(n.a)(function y(C,z,G,X,pe,ae,Se,Te){Object(a.a)(this,y),this.uri=C,this.initialUndoRedoSnapshot=z,this.time=G,this.sharesUndoRedoStack=X,this.heapSize=pe,this.sha1=ae,this.versionId=Se,this.alternativeVersionId=Te});function ue(y){return y.scheme===O.c.file||y.scheme===O.c.vscodeRemote||y.scheme===O.c.userData||y.scheme==="fake-fs"}var ne=function(y){Object(o.a)(z,y);var C=Object(i.a)(z);function z(G,X,pe,ae,Se){var Te;return Object(a.a)(this,z),Te=C.call(this),Te._configurationService=G,Te._resourcePropertiesService=X,Te._themeService=pe,Te._logService=ae,Te._undoRedoService=Se,Te._onModelAdded=Te._register(new v.a),Te.onModelAdded=Te._onModelAdded.event,Te._onModelRemoved=Te._register(new v.a),Te.onModelRemoved=Te._onModelRemoved.event,Te._onModelModeChanged=Te._register(new v.a),Te.onModelModeChanged=Te._onModelModeChanged.event,Te._modelCreationOptionsByLanguageAndResource=Object.create(null),Te._models={},Te._disposedModels=new Map,Te._disposedModelsHeapSize=0,Te._semanticStyling=Te._register(new ee(Te._themeService,Te._logService)),Te._register(Te._configurationService.onDidChangeConfiguration(function(){return Te._updateModelOptions()})),Te._updateModelOptions(),Te._register(new Z(Object(f.a)(Te),Te._themeService,Te._configurationService,Te._semanticStyling)),Te}return Object(n.a)(z,[{key:"_getEOL",value:function(X,pe){if(X)return this._resourcePropertiesService.getEOL(X,pe);var ae=this._configurationService.getValue("files.eol",{overrideIdentifier:pe});return ae&&ae!=="auto"?ae:h.a===3||h.a===2?`
- `:`\r
- `}},{key:"_shouldRestoreUndoStack",value:function(){var X=this._configurationService.getValue("files.restoreUndoStack");return typeof X=="boolean"?X:!0}},{key:"getCreationOptions",value:function(X,pe,ae){var Se=this._modelCreationOptionsByLanguageAndResource[X+pe];if(!Se){var Te=this._configurationService.getValue("editor",{overrideIdentifier:X,resource:pe}),je=this._getEOL(pe,X);Se=z._readModelOptions({editor:Te,eol:je},ae),this._modelCreationOptionsByLanguageAndResource[X+pe]=Se}return Se}},{key:"_updateModelOptions",value:function(){var X=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var pe=Object.keys(this._models),ae=0,Se=pe.length;ae<Se;ae++){var Te=pe[ae],je=this._models[Te],ft=je.model.getLanguageIdentifier().language,fe=je.model.uri,ie=X[ft+fe],ge=this.getCreationOptions(ft,fe,je.model.isForSimpleWidget);z._setModelOptionsForModel(je.model,ge,ie)}}},{key:"_insertDisposedModel",value:function(X){this._disposedModels.set(re(X.uri),X),this._disposedModelsHeapSize+=X.heapSize}},{key:"_removeDisposedModel",value:function(X){var pe=this._disposedModels.get(re(X));return pe&&(this._disposedModelsHeapSize-=pe.heapSize),this._disposedModels.delete(re(X)),pe}},{key:"_ensureDisposedModelsHeapSize",value:function(X){if(this._disposedModelsHeapSize>X){var pe=[];for(this._disposedModels.forEach(function(Se){Se.sharesUndoRedoStack||pe.push(Se)}),pe.sort(function(Se,Te){return Se.time-Te.time});pe.length>0&&this._disposedModelsHeapSize>X;){var ae=pe.shift();this._removeDisposedModel(ae.uri),ae.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(ae.initialUndoRedoSnapshot)}}}},{key:"_createModelData",value:function(X,pe,ae,Se){var Te=this,je=this.getCreationOptions(pe.language,ae,Se),ft=new p.b(X,je,pe,ae,this._undoRedoService);if(ae&&this._disposedModels.has(re(ae))){var fe=this._removeDisposedModel(ae),ie=this._undoRedoService.getElements(ae),ge=ye(ft)===fe.sha1;if(ge||fe.sharesUndoRedoStack){var Ve=Object(r.a)(ie.past),Ee;try{for(Ve.s();!(Ee=Ve.n()).done;){var Me=Ee.value;Object(d.b)(Me)&&Me.matchesResource(ae)&&Me.setModel(ft)}}catch(bt){Ve.e(bt)}finally{Ve.f()}var _e=Object(r.a)(ie.future),Re;try{for(_e.s();!(Re=_e.n()).done;){var et=Re.value;Object(d.b)(et)&&et.matchesResource(ae)&&et.setModel(ft)}}catch(bt){_e.e(bt)}finally{_e.f()}this._undoRedoService.setElementsValidFlag(ae,!0,function(bt){return Object(d.b)(bt)&&bt.matchesResource(ae)}),ge&&(ft._overwriteVersionId(fe.versionId),ft._overwriteAlternativeVersionId(fe.alternativeVersionId),ft._overwriteInitialUndoRedoSnapshot(fe.initialUndoRedoSnapshot))}else fe.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(fe.initialUndoRedoSnapshot)}var Xe=re(ft.uri);if(this._models[Xe])throw new Error("ModelService: Cannot add model because it already exists!");var it=new q(ft,function(bt){return Te._onWillDispose(bt)},function(bt,Ct){return Te._onDidChangeLanguage(bt,Ct)});return this._models[Xe]=it,it}},{key:"createModel",value:function(X,pe,ae){var Se=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Te;return pe?(Te=this._createModelData(X,pe.languageIdentifier,ae,Se),this.setMode(Te.model,pe)):Te=this._createModelData(X,S.b,ae,Se),this._onModelAdded.fire(Te.model),Te.model}},{key:"setMode",value:function(X,pe){if(!!pe){var ae=this._models[re(X.uri)];!ae||ae.setLanguage(pe)}}},{key:"getModels",value:function(){for(var X=[],pe=Object.keys(this._models),ae=0,Se=pe.length;ae<Se;ae++){var Te=pe[ae];X.push(this._models[Te].model)}return X}},{key:"getModel",value:function(X){var pe=re(X),ae=this._models[pe];return ae?ae.model:null}},{key:"getSemanticTokensProviderStyling",value:function(X){return this._semanticStyling.get(X)}},{key:"_onWillDispose",value:function(X){var pe=re(X.uri),ae=this._models[pe],Se=this._undoRedoService.getUriComparisonKey(X.uri)!==X.uri.toString(),Te=!1,je=0;if(Se||this._shouldRestoreUndoStack()&&ue(X.uri)){var ft=this._undoRedoService.getElements(X.uri);if(ft.past.length>0||ft.future.length>0){var fe=Object(r.a)(ft.past),ie;try{for(fe.s();!(ie=fe.n()).done;){var ge=ie.value;Object(d.b)(ge)&&ge.matchesResource(X.uri)&&(Te=!0,je+=ge.heapSize(X.uri),ge.setModel(X.uri))}}catch(Xe){fe.e(Xe)}finally{fe.f()}var Ve=Object(r.a)(ft.future),Ee;try{for(Ve.s();!(Ee=Ve.n()).done;){var Me=Ee.value;Object(d.b)(Me)&&Me.matchesResource(X.uri)&&(Te=!0,je+=Me.heapSize(X.uri),Me.setModel(X.uri))}}catch(Xe){Ve.e(Xe)}finally{Ve.f()}}}var _e=z.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK;if(Te)if(!Se&&je>_e){var et=ae.model.getInitialUndoRedoSnapshot();et!==null&&this._undoRedoService.restoreSnapshot(et)}else this._ensureDisposedModelsHeapSize(_e-je),this._undoRedoService.setElementsValidFlag(X.uri,!1,function(Xe){return Object(d.b)(Xe)&&Xe.matchesResource(X.uri)}),this._insertDisposedModel(new he(X.uri,ae.model.getInitialUndoRedoSnapshot(),Date.now(),Se,je,ye(X),X.getVersionId(),X.getAlternativeVersionId()));else if(!Se){var Re=ae.model.getInitialUndoRedoSnapshot();Re!==null&&this._undoRedoService.restoreSnapshot(Re)}delete this._models[pe],ae.dispose(),delete this._modelCreationOptionsByLanguageAndResource[X.getLanguageIdentifier().language+X.uri],this._onModelRemoved.fire(X)}},{key:"_onDidChangeLanguage",value:function(X,pe){var ae=pe.oldLanguage,Se=X.getLanguageIdentifier().language,Te=this.getCreationOptions(ae,X.uri,X.isForSimpleWidget),je=this.getCreationOptions(Se,X.uri,X.isForSimpleWidget);z._setModelOptionsForModel(X,je,Te),this._onModelModeChanged.fire({model:X,oldModeId:ae})}}],[{key:"_readModelOptions",value:function(X,pe){var ae=l.d.tabSize;if(X.editor&&typeof X.editor.tabSize!="undefined"){var Se=parseInt(X.editor.tabSize,10);isNaN(Se)||(ae=Se),ae<1&&(ae=1)}var Te=ae;if(X.editor&&typeof X.editor.indentSize!="undefined"&&X.editor.indentSize!=="tabSize"){var je=parseInt(X.editor.indentSize,10);isNaN(je)||(Te=je),Te<1&&(Te=1)}var ft=l.d.insertSpaces;X.editor&&typeof X.editor.insertSpaces!="undefined"&&(ft=X.editor.insertSpaces==="false"?!1:Boolean(X.editor.insertSpaces));var fe=oe,ie=X.eol;ie===`\r
- `?fe=2:ie===`
- `&&(fe=1);var ge=l.d.trimAutoWhitespace;X.editor&&typeof X.editor.trimAutoWhitespace!="undefined"&&(ge=X.editor.trimAutoWhitespace==="false"?!1:Boolean(X.editor.trimAutoWhitespace));var Ve=l.d.detectIndentation;X.editor&&typeof X.editor.detectIndentation!="undefined"&&(Ve=X.editor.detectIndentation==="false"?!1:Boolean(X.editor.detectIndentation));var Ee=l.d.largeFileOptimizations;return X.editor&&typeof X.editor.largeFileOptimizations!="undefined"&&(Ee=X.editor.largeFileOptimizations==="false"?!1:Boolean(X.editor.largeFileOptimizations)),{isForSimpleWidget:pe,tabSize:ae,indentSize:Te,insertSpaces:ft,detectIndentation:Ve,defaultEOL:fe,trimAutoWhitespace:ge,largeFileOptimizations:Ee}}},{key:"_setModelOptionsForModel",value:function(X,pe,ae){ae&&ae.defaultEOL!==pe.defaultEOL&&X.getLineCount()===1&&X.setEOL(pe.defaultEOL===1?0:1),!(ae&&ae.detectIndentation===pe.detectIndentation&&ae.insertSpaces===pe.insertSpaces&&ae.tabSize===pe.tabSize&&ae.indentSize===pe.indentSize&&ae.trimAutoWhitespace===pe.trimAutoWhitespace)&&(pe.detectIndentation?(X.detectIndentation(pe.insertSpaces,pe.tabSize),X.updateOptions({trimAutoWhitespace:pe.trimAutoWhitespace})):X.updateOptions({insertSpaces:pe.insertSpaces,tabSize:pe.tabSize,indentSize:pe.indentSize,trimAutoWhitespace:pe.trimAutoWhitespace}))}}]),z}(m.a);ne.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20*1024*1024,ne=W([te(0,T.a),te(1,k.b),te(2,$.b),te(3,A.b),te(4,g.a)],ne);var se="editor.semanticHighlighting";function be(y,C,z){var G,X=(G=z.getValue(se,{overrideIdentifier:y.getLanguageIdentifier().language,resource:y.uri}))===null||G===void 0?void 0:G.enabled;return typeof X=="boolean"?X:C.getColorTheme().semanticHighlighting}var Z=function(y){Object(o.a)(z,y);var C=Object(i.a)(z);function z(G,X,pe,ae){var Se;Object(a.a)(this,z),Se=C.call(this),Se._watchers=Object.create(null),Se._semanticStyling=ae;var Te=function(ie){Se._watchers[ie.uri.toString()]=new R(ie,X,Se._semanticStyling)},je=function(ie,ge){ge.dispose(),delete Se._watchers[ie.uri.toString()]},ft=function(){var ie=Object(r.a)(G.getModels()),ge;try{for(ie.s();!(ge=ie.n()).done;){var Ve=ge.value,Ee=Se._watchers[Ve.uri.toString()];be(Ve,X,pe)?Ee||Te(Ve):Ee&&je(Ve,Ee)}}catch(Me){ie.e(Me)}finally{ie.f()}};return Se._register(G.onModelAdded(function(fe){be(fe,X,pe)&&Te(fe)})),Se._register(G.onModelRemoved(function(fe){var ie=Se._watchers[fe.uri.toString()];ie&&je(fe,ie)})),Se._register(pe.onDidChangeConfiguration(function(fe){fe.affectsConfiguration(se)&&ft()})),Se._register(X.onDidColorThemeChange(ft)),Se}return Object(n.a)(z)}(m.a),ee=function(y){Object(o.a)(z,y);var C=Object(i.a)(z);function z(G,X){var pe;return Object(a.a)(this,z),pe=C.call(this),pe._themeService=G,pe._logService=X,pe._caches=new WeakMap,pe._register(pe._themeService.onDidColorThemeChange(function(){pe._caches=new WeakMap})),pe}return Object(n.a)(z,[{key:"get",value:function(X){return this._caches.has(X)||this._caches.set(X,new E.a(X.getLegend(),this._themeService,this._logService)),this._caches.get(X)}}]),z}(m.a),ce=function(){function y(C,z,G){Object(a.a)(this,y),this._provider=C,this.resultId=z,this.data=G}return Object(n.a)(y,[{key:"dispose",value:function(){this._provider.releaseDocumentSemanticTokens(this.resultId)}}]),y}(),R=function(y){Object(o.a)(z,y);var C=Object(i.a)(z);function z(G,X,pe){var ae;Object(a.a)(this,z),ae=C.call(this),ae._isDisposed=!1,ae._model=G,ae._semanticStyling=pe,ae._fetchDocumentSemanticTokens=ae._register(new I.e(function(){return ae._fetchDocumentSemanticTokensNow()},z.FETCH_DOCUMENT_SEMANTIC_TOKENS_DELAY)),ae._currentDocumentResponse=null,ae._currentDocumentRequestCancellationTokenSource=null,ae._documentProvidersChangeListeners=[],ae._register(ae._model.onDidChangeContent(function(){ae._fetchDocumentSemanticTokens.isScheduled()||ae._fetchDocumentSemanticTokens.schedule()})),ae._register(ae._model.onDidChangeLanguage(function(){ae._currentDocumentResponse&&(ae._currentDocumentResponse.dispose(),ae._currentDocumentResponse=null),ae._currentDocumentRequestCancellationTokenSource&&(ae._currentDocumentRequestCancellationTokenSource.cancel(),ae._currentDocumentRequestCancellationTokenSource=null),ae._setDocumentSemanticTokens(null,null,null,[]),ae._fetchDocumentSemanticTokens.schedule(0)}));var Se=function(){Object(m.f)(ae._documentProvidersChangeListeners),ae._documentProvidersChangeListeners=[];var je=Object(r.a)(w.l.all(G)),ft;try{for(je.s();!(ft=je.n()).done;){var fe=ft.value;typeof fe.onDidChange=="function"&&ae._documentProvidersChangeListeners.push(fe.onDidChange(function(){return ae._fetchDocumentSemanticTokens.schedule(0)}))}}catch(ie){je.e(ie)}finally{je.f()}};return Se(),ae._register(w.l.onDidChange(function(){Se(),ae._fetchDocumentSemanticTokens.schedule()})),ae._register(X.onDidColorThemeChange(function(Te){ae._setDocumentSemanticTokens(null,null,null,[]),ae._fetchDocumentSemanticTokens.schedule()})),ae._fetchDocumentSemanticTokens.schedule(0),ae}return Object(n.a)(z,[{key:"dispose",value:function(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,Object(u.a)(Object(c.a)(z.prototype),"dispose",this).call(this)}},{key:"_fetchDocumentSemanticTokensNow",value:function(){var X=this;if(!this._currentDocumentRequestCancellationTokenSource){var pe=new Y.b,ae=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,Se=Object(D.b)(this._model,ae,pe.token);if(!Se){this._currentDocumentResponse&&this._model.setSemanticTokens(null,!1);return}var Te=Se.provider,je=Se.request;this._currentDocumentRequestCancellationTokenSource=pe;var ft=[],fe=this._model.onDidChangeContent(function(ge){ft.push(ge)}),ie=this._semanticStyling.get(Te);je.then(function(ge){X._currentDocumentRequestCancellationTokenSource=null,fe.dispose(),X._setDocumentSemanticTokens(Te,ge||null,ie,ft)},function(ge){var Ve=ge&&(t.d(ge)||typeof ge.message=="string"&&ge.message.indexOf("busy")!==-1);Ve||t.e(ge),X._currentDocumentRequestCancellationTokenSource=null,fe.dispose(),ft.length>0&&(X._fetchDocumentSemanticTokens.isScheduled()||X._fetchDocumentSemanticTokens.schedule())})}}},{key:"_setDocumentSemanticTokens",value:function(X,pe,ae,Se){var Te=this,je=this._currentDocumentResponse,ft=function(){Se.length>0&&!Te._fetchDocumentSemanticTokens.isScheduled()&&Te._fetchDocumentSemanticTokens.schedule()};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed){X&&pe&&X.releaseDocumentSemanticTokens(pe.resultId);return}if(!X||!ae){this._model.setSemanticTokens(null,!1);return}if(!pe){this._model.setSemanticTokens(null,!0),ft();return}if(Object(D.d)(pe)){if(!je){this._model.setSemanticTokens(null,!0);return}if(pe.edits.length===0)pe={resultId:pe.resultId,data:je.data};else{var fe=0,ie=Object(r.a)(pe.edits),ge;try{for(ie.s();!(ge=ie.n()).done;){var Ve=ge.value;fe+=(Ve.data?Ve.data.length:0)-Ve.deleteCount}}catch(ht){ie.e(ht)}finally{ie.f()}for(var Ee=je.data,Me=new Uint32Array(Ee.length+fe),_e=Ee.length,Re=Me.length,et=pe.edits.length-1;et>=0;et--){var Xe=pe.edits[et],it=_e-(Xe.start+Xe.deleteCount);it>0&&(z._copy(Ee,_e-it,Me,Re-it,it),Re-=it),Xe.data&&(z._copy(Xe.data,0,Me,Re-Xe.data.length,Xe.data.length),Re-=Xe.data.length),_e=Xe.start}_e>0&&z._copy(Ee,0,Me,0,_e),pe={resultId:pe.resultId,data:Me}}}if(Object(D.c)(pe)){this._currentDocumentResponse=new ce(X,pe.resultId,pe.data);var bt=Object(E.b)(pe,ae,this._model.getLanguageIdentifier());if(Se.length>0){var Ct=Object(r.a)(Se),Bt;try{for(Ct.s();!(Bt=Ct.n()).done;){var qe=Bt.value,st=Object(r.a)(bt),ut;try{for(st.s();!(ut=st.n()).done;){var nt=ut.value,kt=Object(r.a)(qe.changes),Sn;try{for(kt.s();!(Sn=kt.n()).done;){var Tt=Sn.value;nt.applyEdit(Tt.range,Tt.text)}}catch(ht){kt.e(ht)}finally{kt.f()}}}catch(ht){st.e(ht)}finally{st.f()}}}catch(ht){Ct.e(ht)}finally{Ct.f()}}this._model.setSemanticTokens(bt,!0)}else this._model.setSemanticTokens(null,!0);ft()}}],[{key:"_copy",value:function(X,pe,ae,Se,Te){for(var je=0;je<Te;je++)ae[Se+je]=X[pe+je]}}]),z}(m.a);R.FETCH_DOCUMENT_SEMANTIC_TOKENS_DELAY=300},"0fbx":function(Ie,M,e){},"0rNn":function(Ie,M,e){"use strict";var u=e("nXVj");M.a=function(c){var r=Object(u.a)(.1),f,o,i;typeof c!="function"&&(c=Object(u.a)(c==null?0:+c));function a(v){for(var m=0,h=f.length,t;m<h;++m)t=f[m],t.vy+=(i[m]-t.y)*o[m]*v}function n(){if(!!f){var v,m=f.length;for(o=new Array(m),i=new Array(m),v=0;v<m;++v)o[v]=isNaN(i[v]=+c(f[v],v,f))?0:+r(f[v],v,f)}}return a.initialize=function(v){f=v,n()},a.strength=function(v){return arguments.length?(r=typeof v=="function"?v:Object(u.a)(+v),n(),a):r},a.y=function(v){return arguments.length?(c=typeof v=="function"?v:Object(u.a)(+v),n(),a):c},a}},"0xIU":function(Ie,M,e){var u=e("pHPU"),c=e("M96O");Ie.exports=r;function r(f,o,i){return c.transform(f.nodes(),function(a,n){a[n]=u(f,n,o,i)},{})}},"0ycA":function(Ie,M){function e(){return[]}Ie.exports=e},"1+5i":function(Ie,M,e){var u=e("w/wX"),c=e("sEf8"),r=e("mdPL"),f=r&&r.isSet,o=f?c(f):u;Ie.exports=o},"14Cm":function(Ie,M,e){"use strict";var u=e("b5wT");Ie.exports=c;function c(f,o){for(var i=0,a=1;a<o.length;++a)i+=r(f,o[a-1],o[a]);return i}function r(f,o,i){for(var a=u.zipObject(i,u.map(i,function(l,p){return p})),n=u.flatten(u.map(o,function(l){return u.sortBy(u.map(f.outEdges(l),function(p){return{pos:a[p.w],weight:f.edge(p).weight}}),"pos")}),!0),v=1;v<i.length;)v<<=1;var m=2*v-1;v-=1;var h=u.map(new Array(m),function(){return 0}),t=0;return u.forEach(n.forEach(function(l){var p=l.pos+v;h[p]+=l.weight;for(var w=0;p>0;)p%2&&(w+=h[p+1]),p=p-1>>1,h[p]+=l.weight;t+=l.weight*w})),t}},"14J3":function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("1GLa")},"15/o":function(Ie,M,e){},"1GRj":function(Ie,M,e){"use strict";var u=e("wx14"),c=e("U8pU"),r=e("9BLJ"),f=e("VTBJ"),o=e("rePB"),i=e("ODXe"),a=e("Ff2n"),n=e("q1tI"),v=e.n(n),m=e("TSYQ"),h=e.n(m),t=e("y0+3"),l=e("6cGi"),p=e("hzQT"),w=e("zT1h"),S=e("4IlW"),k=e("Kwbf"),T=["visible","onVisibleChange","getContainer","current","countRender"],I=n.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),Y=I.Provider,$=function(st){var ut=st.previewPrefixCls,nt=ut===void 0?"rc-image-preview":ut,kt=st.children,Sn=st.icons,Tt=Sn===void 0?{}:Sn,ht=st.preview,Rt=Object(c.a)(ht)==="object"?ht:{},Ft=Rt.visible,nn=Ft===void 0?void 0:Ft,bn=Rt.onVisibleChange,sn=bn===void 0?void 0:bn,un=Rt.getContainer,Ht=un===void 0?void 0:un,jn=Rt.current,Ln=jn===void 0?0:jn,Un=Rt.countRender,lt=Un===void 0?void 0:Un,Nt=Object(a.a)(Rt,T),zt=Object(n.useState)(new Map),en=Object(i.a)(zt,2),tn=en[0],wn=en[1],on=Object(n.useState)(),vn=Object(i.a)(on,2),dt=vn[0],ct=vn[1],Kt=Object(l.a)(!!nn,{value:nn,onChange:sn}),pn=Object(i.a)(Kt,2),kn=pn[0],Pt=pn[1],gn=Object(n.useState)(null),_n=Object(i.a)(gn,2),Kn=_n[0],qn=_n[1],rr=nn!==void 0,Rn=Array.from(tn.keys()),mr=Rn[Ln],ar=new Map(Array.from(tn).filter(function(br){var _r=Object(i.a)(br,2),li=_r[1].canPreview;return!!li}).map(function(br){var _r=Object(i.a)(br,2),li=_r[0],xi=_r[1].url;return[li,xi]})),sr=function(_r,li){var xi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Mi=function(){wn(function(ur){var Ti=new Map(ur),Xi=Ti.delete(_r);return Xi?Ti:ur})};return wn(function(Fr){return new Map(Fr).set(_r,{url:li,canPreview:xi})}),Mi},yr=function(_r){_r.stopPropagation(),Pt(!1),qn(null)};return n.useEffect(function(){ct(mr)},[mr]),n.useEffect(function(){!kn&&rr&&ct(mr)},[mr,rr,kn]),n.createElement(Y,{value:{isPreviewGroup:!0,previewUrls:ar,setPreviewUrls:wn,current:dt,setCurrent:ct,setShowPreview:Pt,setMousePosition:qn,registerImage:sr}},kt,n.createElement(se,Object(u.a)({"aria-hidden":!kn,visible:kn,prefixCls:nt,onClose:yr,mousePosition:Kn,src:ar.get(dt),icons:Tt,getContainer:Ht,countRender:lt},Nt)))},A=$,g=e("8XRh"),b=e("bTyn"),d=1,O=50,E=1,D=.2,W=function(st){var ut,nt=st.visible,kt=st.maskTransitionName,Sn=st.getContainer,Tt=st.prefixCls,ht=st.rootClassName,Rt=st.icons,Ft=st.countRender,nn=st.showSwitch,bn=st.showProgress,sn=st.current,un=st.count,Ht=st.scale,jn=st.onSwitchLeft,Ln=st.onSwitchRight,Un=st.onClose,lt=st.onZoomIn,Nt=st.onZoomOut,zt=st.onRotateRight,en=st.onRotateLeft,tn=Rt.rotateLeft,wn=Rt.rotateRight,on=Rt.zoomIn,vn=Rt.zoomOut,dt=Rt.close,ct=Rt.left,Kt=Rt.right,pn="".concat(Tt,"-operations-operation"),kn="".concat(Tt,"-operations-icon"),Pt=[{icon:dt,onClick:Un,type:"close"},{icon:on,onClick:lt,type:"zoomIn",disabled:Ht===O},{icon:vn,onClick:Nt,type:"zoomOut",disabled:Ht===d},{icon:wn,onClick:zt,type:"rotateRight"},{icon:tn,onClick:en,type:"rotateLeft"}],gn=n.createElement(n.Fragment,null,nn&&n.createElement(n.Fragment,null,n.createElement("div",{className:h()("".concat(Tt,"-switch-left"),Object(o.a)({},"".concat(Tt,"-switch-left-disabled"),sn===0)),onClick:jn},ct),n.createElement("div",{className:h()("".concat(Tt,"-switch-right"),Object(o.a)({},"".concat(Tt,"-switch-right-disabled"),sn===un-1)),onClick:Ln},Kt)),n.createElement("ul",{className:"".concat(Tt,"-operations")},bn&&n.createElement("li",{className:"".concat(Tt,"-operations-progress")},(ut=Ft==null?void 0:Ft(sn+1,un))!==null&&ut!==void 0?ut:"".concat(sn+1," / ").concat(un)),Pt.map(function(_n){var Kn,qn=_n.icon,rr=_n.onClick,Rn=_n.type,mr=_n.disabled;return n.createElement("li",{className:h()(pn,(Kn={},Object(o.a)(Kn,"".concat(Tt,"-operations-operation-").concat(Rn),!0),Object(o.a)(Kn,"".concat(Tt,"-operations-operation-disabled"),!!mr),Kn)),onClick:rr,key:Rn},n.isValidElement(qn)?n.cloneElement(qn,{className:kn}):qn)})));return n.createElement(g.b,{visible:nt,motionName:kt},function(_n){var Kn=_n.className,qn=_n.style;return n.createElement(b.a,{open:!0,getContainer:Sn!=null?Sn:document.body},n.createElement("div",{className:h()("".concat(Tt,"-operations-wrapper"),Kn,ht),style:qn},gn))})},te=W,re=e("wgJM"),ye={x:0,y:0,rotate:0,scale:1};function q(qe){var st=Object(n.useRef)(null),ut=Object(n.useRef)([]),nt=Object(n.useState)(ye),kt=Object(i.a)(nt,2),Sn=kt[0],Tt=kt[1],ht=function(){Tt(ye)},Rt=function(bn){st.current===null&&(ut.current=[],st.current=Object(re.a)(function(){Tt(function(sn){var un=sn;return ut.current.forEach(function(Ht){un=Object(f.a)(Object(f.a)({},un),Ht)}),st.current=null,un})})),ut.current.push(Object(f.a)(Object(f.a)({},Sn),bn))},Ft=function(bn,sn,un){var Ht=qe.current,jn=Ht.width,Ln=Ht.height,Un=Ht.offsetWidth,lt=Ht.offsetHeight,Nt=Ht.offsetLeft,zt=Ht.offsetTop,en=bn,tn=Sn.scale*bn;tn>O?(en=O/Sn.scale,tn=O):tn<d&&(en=d/Sn.scale,tn=d);var wn=sn!=null?sn:innerWidth/2,on=un!=null?un:innerHeight/2,vn=en-1,dt=vn*jn*.5,ct=vn*Ln*.5,Kt=vn*(wn-Sn.x-Nt),pn=vn*(on-Sn.y-zt),kn=Sn.x-(Kt-dt),Pt=Sn.y-(pn-ct);if(bn<1&&tn===1){var gn=Un*tn,_n=lt*tn,Kn=Object(t.a)(),qn=Kn.width,rr=Kn.height;gn<=qn&&_n<=rr&&(kn=0,Pt=0)}Rt({x:kn,y:Pt,scale:tn})};return{transform:Sn,resetTransform:ht,updateTransform:Rt,dispatchZoonChange:Ft}}function oe(qe,st,ut,nt){var kt=st+ut,Sn=(ut-nt)/2;if(ut>nt){if(st>0)return Object(o.a)({},qe,Sn);if(st<0&&kt<nt)return Object(o.a)({},qe,-Sn)}else if(st<0||kt>nt)return Object(o.a)({},qe,st<0?Sn:-Sn);return{}}function he(qe,st,ut,nt){var kt=Object(t.a)(),Sn=kt.width,Tt=kt.height,ht=null;return qe<=Sn&&st<=Tt?ht={x:0,y:0}:(qe>Sn||st>Tt)&&(ht=Object(f.a)(Object(f.a)({},oe("x",ut,qe,Sn)),oe("y",nt,st,Tt))),ht}var ue=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","getContainer","countRender","scaleStep","transitionName","maskTransitionName"],ne=function(st){var ut=st.prefixCls,nt=st.src,kt=st.alt,Sn=st.onClose,Tt=st.afterClose,ht=st.visible,Rt=st.icons,Ft=Rt===void 0?{}:Rt,nn=st.rootClassName,bn=st.getContainer,sn=st.countRender,un=st.scaleStep,Ht=un===void 0?.5:un,jn=st.transitionName,Ln=jn===void 0?"zoom":jn,Un=st.maskTransitionName,lt=Un===void 0?"fade":Un,Nt=Object(a.a)(st,ue),zt=Object(n.useRef)(),en=Object(n.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),tn=Object(n.useState)(!1),wn=Object(i.a)(tn,2),on=wn[0],vn=wn[1],dt=Object(n.useContext)(I),ct=dt.previewUrls,Kt=dt.current,pn=dt.isPreviewGroup,kn=dt.setCurrent,Pt=ct.size,gn=Array.from(ct.keys()),_n=gn.indexOf(Kt),Kn=pn?ct.get(Kt):nt,qn=pn&&Pt>1,rr=pn&&Pt>=1,Rn=q(zt),mr=Rn.transform,ar=Rn.resetTransform,sr=Rn.updateTransform,yr=Rn.dispatchZoonChange,br=mr.rotate,_r=mr.scale,li=h()(Object(o.a)({},"".concat(ut,"-moving"),on)),xi=function(){ar()},Mi=function(){yr(E+Ht)},Fr=function(){yr(E-Ht)},ur=function(){sr({rotate:br+90})},Ti=function(){sr({rotate:br-90})},Xi=function(Ai){Ai.preventDefault(),Ai.stopPropagation(),_n>0&&kn(gn[_n-1])},ca=function(Ai){Ai.preventDefault(),Ai.stopPropagation(),_n<Pt-1&&kn(gn[_n+1])},Zi=function(){if(ht&&on){vn(!1);var Ai=en.current,ba=Ai.transformX,ea=Ai.transformY,mn=mr.x!==ba&&mr.y!==ea;if(!mn)return;var It=zt.current.offsetWidth*_r,Ue=zt.current.offsetHeight*_r,Ze=zt.current.getBoundingClientRect(),Pe=Ze.left,mt=Ze.top,xt=br%180!=0,cn=he(xt?Ue:It,xt?It:Ue,Pe,mt);cn&&sr(Object(f.a)({},cn))}},xa=function(Ai){Ai.button===0&&(Ai.preventDefault(),Ai.stopPropagation(),en.current={deltaX:Ai.pageX-mr.x,deltaY:Ai.pageY-mr.y,transformX:mr.x,transformY:mr.y},vn(!0))},va=function(Ai){ht&&on&&sr({x:Ai.pageX-en.current.deltaX,y:Ai.pageY-en.current.deltaY})},Ma=function(Ai){if(!(!ht||Ai.deltaY==0)){var ba=Math.abs(Ai.deltaY/100),ea=Math.min(ba,D),mn=E+ea*Ht;Ai.deltaY>0&&(mn=E/mn),yr(mn,Ai.clientX,Ai.clientY)}},_a=Object(n.useCallback)(function(sa){!ht||!qn||(sa.keyCode===S.a.LEFT?_n>0&&kn(gn[_n-1]):sa.keyCode===S.a.RIGHT&&_n<Pt-1&&kn(gn[_n+1]))},[_n,Pt,gn,kn,qn,ht]),na=function(Ai){ht&&(_r!==1?sr({x:0,y:0,scale:1}):yr(E+Ht,Ai.clientX,Ai.clientY))};return Object(n.useEffect)(function(){var sa,Ai,ba=Object(w.a)(window,"mouseup",Zi,!1),ea=Object(w.a)(window,"mousemove",va,!1),mn=Object(w.a)(window,"keydown",_a,!1);try{window.top!==window.self&&(sa=Object(w.a)(window.top,"mouseup",Zi,!1),Ai=Object(w.a)(window.top,"mousemove",va,!1))}catch(It){Object(k.c)(!1,"[rc-image] ".concat(It))}return function(){var It,Ue;ba.remove(),ea.remove(),mn.remove(),(It=sa)===null||It===void 0||It.remove(),(Ue=Ai)===null||Ue===void 0||Ue.remove()}},[ht,on,_a]),v.a.createElement(v.a.Fragment,null,v.a.createElement(p.a,Object(u.a)({transitionName:Ln,maskTransitionName:lt,closable:!1,keyboard:!0,prefixCls:ut,onClose:Sn,afterClose:xi,visible:ht,wrapClassName:li,rootClassName:nn,getContainer:bn},Nt),v.a.createElement("div",{className:"".concat(ut,"-img-wrapper")},v.a.createElement("img",{width:st.width,height:st.height,onWheel:Ma,onMouseDown:xa,onDoubleClick:na,ref:zt,className:"".concat(ut,"-img"),src:Kn,alt:kt,style:{transform:"translate3d(".concat(mr.x,"px, ").concat(mr.y,"px, 0) scale3d(").concat(_r,", ").concat(_r,", 1) rotate(").concat(br,"deg)")}}))),v.a.createElement(te,{visible:ht,maskTransitionName:lt,getContainer:bn,prefixCls:ut,rootClassName:nn,icons:Ft,countRender:sn,showSwitch:qn,showProgress:rr,current:_n,count:Pt,scale:_r,onSwitchLeft:Xi,onSwitchRight:ca,onZoomIn:Mi,onZoomOut:Fr,onRotateRight:ur,onRotateLeft:Ti,onClose:Sn}))},se=ne,be=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","useMap","draggable"],Z=["src","visible","onVisibleChange","getContainer","mask","maskClassName","icons","scaleStep"],ee=0,ce=function(st){var ut,nt=st.src,kt=st.alt,Sn=st.onPreviewClose,Tt=st.prefixCls,ht=Tt===void 0?"rc-image":Tt,Rt=st.previewPrefixCls,Ft=Rt===void 0?"".concat(ht,"-preview"):Rt,nn=st.placeholder,bn=st.fallback,sn=st.width,un=st.height,Ht=st.style,jn=st.preview,Ln=jn===void 0?!0:jn,Un=st.className,lt=st.onClick,Nt=st.onError,zt=st.wrapperClassName,en=st.wrapperStyle,tn=st.rootClassName,wn=st.crossOrigin,on=st.decoding,vn=st.loading,dt=st.referrerPolicy,ct=st.sizes,Kt=st.srcSet,pn=st.useMap,kn=st.draggable,Pt=Object(a.a)(st,be),gn=nn&&nn!==!0,_n=Object(c.a)(Ln)==="object"?Ln:{},Kn=_n.src,qn=_n.visible,rr=qn===void 0?void 0:qn,Rn=_n.onVisibleChange,mr=Rn===void 0?Sn:Rn,ar=_n.getContainer,sr=ar===void 0?void 0:ar,yr=_n.mask,br=_n.maskClassName,_r=_n.icons,li=_n.scaleStep,xi=Object(a.a)(_n,Z),Mi=Kn!=null?Kn:nt,Fr=rr!==void 0,ur=Object(l.a)(!!rr,{value:rr,onChange:mr}),Ti=Object(i.a)(ur,2),Xi=Ti[0],ca=Ti[1],Zi=Object(n.useState)(gn?"loading":"normal"),xa=Object(i.a)(Zi,2),va=xa[0],Ma=xa[1],_a=Object(n.useState)(null),na=Object(i.a)(_a,2),sa=na[0],Ai=na[1],ba=va==="error",ea=n.useContext(I),mn=ea.isPreviewGroup,It=ea.setCurrent,Ue=ea.setShowPreview,Ze=ea.setMousePosition,Pe=ea.registerImage,mt=n.useState(function(){return ee+=1,ee}),xt=Object(i.a)(mt,1),cn=xt[0],Ut=!!Ln,wt=n.useRef(!1),Pn=function(){Ma("normal")},an=function(dr){Nt&&Nt(dr),Ma("error")},Dn=function(dr){if(!Fr){var gt=Object(t.b)(dr.target),Rr=gt.left,ci=gt.top;mn?(It(cn),Ze({x:Rr,y:ci})):Ai({x:Rr,y:ci})}mn?Ue(!0):ca(!0),lt&<(dr)},Tn=function(dr){dr.stopPropagation(),ca(!1),Fr||Ai(null)},Zn=function(dr){wt.current=!1,va==="loading"&&dr!=null&&dr.complete&&(dr.naturalWidth||dr.naturalHeight)&&(wt.current=!0,Pn())};n.useEffect(function(){var Dr=Pe(cn,Mi);return Dr},[]),n.useEffect(function(){Pe(cn,Mi,Ut)},[Mi,Ut]),n.useEffect(function(){ba&&Ma("normal"),gn&&!wt.current&&Ma("loading")},[nt]);var Mr=h()(ht,zt,tn,Object(o.a)({},"".concat(ht,"-error"),ba)),xr=ba&&bn?bn:Mi,Vr={crossOrigin:wn,decoding:on,draggable:kn,loading:vn,referrerPolicy:dt,sizes:ct,srcSet:Kt,useMap:pn,alt:kt,className:h()("".concat(ht,"-img"),Object(o.a)({},"".concat(ht,"-img-placeholder"),nn===!0),Un),style:Object(f.a)({height:un},Ht)};return n.createElement(n.Fragment,null,n.createElement("div",Object(u.a)({},Pt,{className:Mr,onClick:Ut?Dn:lt,style:Object(f.a)({width:sn,height:un},en)}),n.createElement("img",Object(u.a)({},Vr,{ref:Zn},ba&&bn?{src:bn}:{onLoad:Pn,onError:an,src:nt},{width:sn,height:un})),va==="loading"&&n.createElement("div",{"aria-hidden":"true",className:"".concat(ht,"-placeholder")},nn),yr&&Ut&&n.createElement("div",{className:h()("".concat(ht,"-mask"),br),style:{display:((ut=Vr.style)===null||ut===void 0?void 0:ut.display)==="none"?"none":void 0}},yr)),!mn&&Ut&&n.createElement(se,Object(u.a)({"aria-hidden":!Xi,visible:Xi,prefixCls:Ft,onClose:Tn,mousePosition:sa,src:xr,alt:kt,getContainer:sr,icons:_r,scaleStep:li,rootClassName:tn},xi)))};ce.PreviewGroup=A,ce.displayName="Image";var R=ce,y=R,C=e("H84U"),z=e("D7Yy"),G=e("EXcs"),X=e("4i/N"),pe=e("5bA4"),ae=e("UESt"),Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Te=Se,je=e("6VBw"),ft=function(st,ut){return n.createElement(je.a,Object(f.a)(Object(f.a)({},st),{},{ref:ut,icon:Te}))};ft.displayName="RotateLeftOutlined";var fe=n.forwardRef(ft),ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},ge=ie,Ve=function(st,ut){return n.createElement(je.a,Object(f.a)(Object(f.a)({},st),{},{ref:ut,icon:ge}))};Ve.displayName="RotateRightOutlined";var Ee=n.forwardRef(Ve),Me=e("C/nq"),_e=e("CqGu"),Re=function(qe,st){var ut={};for(var nt in qe)Object.prototype.hasOwnProperty.call(qe,nt)&&st.indexOf(nt)<0&&(ut[nt]=qe[nt]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,nt=Object.getOwnPropertySymbols(qe);kt<nt.length;kt++)st.indexOf(nt[kt])<0&&Object.prototype.propertyIsEnumerable.call(qe,nt[kt])&&(ut[nt[kt]]=qe[nt[kt]]);return ut},et={rotateLeft:n.createElement(fe,null),rotateRight:n.createElement(Ee,null),zoomIn:n.createElement(Me.a,null),zoomOut:n.createElement(_e.a,null),close:n.createElement(X.a,null),left:n.createElement(pe.a,null),right:n.createElement(ae.a,null)},Xe=function(st){var ut=st.previewPrefixCls,nt=st.preview,kt=Re(st,["previewPrefixCls","preview"]),Sn=n.useContext(C.b),Tt=Sn.getPrefixCls,ht=Tt("image-preview",ut),Rt=Tt(),Ft=n.useMemo(function(){if(nt===!1)return nt;var nn=Object(c.a)(nt)==="object"?nt:{};return Object(u.a)(Object(u.a)({},nn),{transitionName:Object(G.c)(Rt,"zoom",nn.transitionName),maskTransitionName:Object(G.c)(Rt,"fade",nn.maskTransitionName)})},[nt]);return n.createElement(y.PreviewGroup,Object(u.a)({preview:Ft,previewPrefixCls:ht,icons:et},kt))},it=Xe,bt=function(qe,st){var ut={};for(var nt in qe)Object.prototype.hasOwnProperty.call(qe,nt)&&st.indexOf(nt)<0&&(ut[nt]=qe[nt]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,nt=Object.getOwnPropertySymbols(qe);kt<nt.length;kt++)st.indexOf(nt[kt])<0&&Object.prototype.propertyIsEnumerable.call(qe,nt[kt])&&(ut[nt[kt]]=qe[nt[kt]]);return ut},Ct=function(st){var ut=st.prefixCls,nt=st.preview,kt=bt(st,["prefixCls","preview"]),Sn=Object(n.useContext)(C.b),Tt=Sn.getPrefixCls,ht=Sn.locale,Rt=ht===void 0?z.a:ht,Ft=Sn.getPopupContainer,nn=Tt("image",ut),bn=Tt(),sn=Rt.Image||z.a.Image,un=n.useMemo(function(){if(nt===!1)return nt;var Ht=Object(c.a)(nt)==="object"?nt:{},jn=Ht.getContainer,Ln=bt(Ht,["getContainer"]);return Object(u.a)(Object(u.a)({mask:n.createElement("div",{className:"".concat(nn,"-mask-info")},n.createElement(r.a,null),sn==null?void 0:sn.preview),icons:et},Ln),{getContainer:jn||Ft,transitionName:Object(G.c)(bn,"zoom",Ht.transitionName),maskTransitionName:Object(G.c)(bn,"fade",Ht.maskTransitionName)})},[nt,sn]);return n.createElement(y,Object(u.a)({prefixCls:nn,preview:un},kt))};Ct.PreviewGroup=it;var Bt=M.a=Ct},"1I1M":function(Ie,M,e){"use strict";e.d(M,"a",function(){return h}),e.d(M,"b",function(){return t});var u=e("yKVA"),c=e("879j"),r=e("fWQN"),f=e("mtLc"),o=e("N0LK"),i=e("Ll0s"),a=e("snIX"),n=e("5v8Y"),v=e("cGHE"),m=e("aokT"),h=function(){function p(){Object(r.a)(this,p)}return Object(f.a)(p,null,[{key:"_createWord",value:function(S,k,T,I,Y){return{start:I,end:Y,wordType:k,nextCharClass:T}}},{key:"_findPreviousWordOnLine",value:function(S,k,T){var I=k.getLineContent(T.lineNumber);return this._doFindPreviousWordOnLine(I,S,T)}},{key:"_doFindPreviousWordOnLine",value:function(S,k,T){for(var I=0,Y=T.column-2;Y>=0;Y--){var $=S.charCodeAt(Y),A=k.get($);if(A===0){if(I===2)return this._createWord(S,I,A,Y+1,this._findEndOfWord(S,k,I,Y+1));I=1}else if(A===2){if(I===1)return this._createWord(S,I,A,Y+1,this._findEndOfWord(S,k,I,Y+1));I=2}else if(A===1&&I!==0)return this._createWord(S,I,A,Y+1,this._findEndOfWord(S,k,I,Y+1))}return I!==0?this._createWord(S,I,1,0,this._findEndOfWord(S,k,I,0)):null}},{key:"_findEndOfWord",value:function(S,k,T,I){for(var Y=S.length,$=I;$<Y;$++){var A=S.charCodeAt($),g=k.get(A);if(g===1||T===1&&g===2||T===2&&g===0)return $}return Y}},{key:"_findNextWordOnLine",value:function(S,k,T){var I=k.getLineContent(T.lineNumber);return this._doFindNextWordOnLine(I,S,T)}},{key:"_doFindNextWordOnLine",value:function(S,k,T){for(var I=0,Y=S.length,$=T.column-1;$<Y;$++){var A=S.charCodeAt($),g=k.get(A);if(g===0){if(I===2)return this._createWord(S,I,g,this._findStartOfWord(S,k,I,$-1),$);I=1}else if(g===2){if(I===1)return this._createWord(S,I,g,this._findStartOfWord(S,k,I,$-1),$);I=2}else if(g===1&&I!==0)return this._createWord(S,I,g,this._findStartOfWord(S,k,I,$-1),$)}return I!==0?this._createWord(S,I,1,this._findStartOfWord(S,k,I,Y-1),Y):null}},{key:"_findStartOfWord",value:function(S,k,T,I){for(var Y=I;Y>=0;Y--){var $=S.charCodeAt(Y),A=k.get($);if(A===1||T===1&&A===2||T===2&&A===0)return Y+1}return 0}},{key:"moveWordLeft",value:function(S,k,T,I){var Y=T.lineNumber,$=T.column;$===1&&Y>1&&(Y=Y-1,$=k.getLineMaxColumn(Y));var A=p._findPreviousWordOnLine(S,k,new v.a(Y,$));if(I===0)return new v.a(Y,A?A.start+1:1);if(I===1)return A&&A.wordType===2&&A.end-A.start==1&&A.nextCharClass===0&&(A=p._findPreviousWordOnLine(S,k,new v.a(Y,A.start+1))),new v.a(Y,A?A.start+1:1);if(I===3){for(;A&&A.wordType===2;)A=p._findPreviousWordOnLine(S,k,new v.a(Y,A.start+1));return new v.a(Y,A?A.start+1:1)}return A&&$<=A.end+1&&(A=p._findPreviousWordOnLine(S,k,new v.a(Y,A.start+1))),new v.a(Y,A?A.end+1:1)}},{key:"_moveWordPartLeft",value:function(S,k){var T=k.lineNumber,I=S.getLineMaxColumn(T);if(k.column===1)return T>1?new v.a(T-1,S.getLineMaxColumn(T-1)):k;for(var Y=S.getLineContent(T),$=k.column-1;$>1;$--){var A=Y.charCodeAt($-2),g=Y.charCodeAt($-1);if(A===95&&g!==95)return new v.a(T,$);if(o.G(A)&&o.H(g))return new v.a(T,$);if(o.H(A)&&o.H(g)&&$+1<I){var b=Y.charCodeAt($);if(o.G(b))return new v.a(T,$)}}return new v.a(T,1)}},{key:"moveWordRight",value:function(S,k,T,I){var Y=T.lineNumber,$=T.column,A=!1;$===k.getLineMaxColumn(Y)&&Y<k.getLineCount()&&(A=!0,Y=Y+1,$=1);var g=p._findNextWordOnLine(S,k,new v.a(Y,$));if(I===2)g&&g.wordType===2&&g.end-g.start==1&&g.nextCharClass===0&&(g=p._findNextWordOnLine(S,k,new v.a(Y,g.end+1))),g?$=g.end+1:$=k.getLineMaxColumn(Y);else if(I===3){for(A&&($=0);g&&(g.wordType===2||g.start+1<=$);)g=p._findNextWordOnLine(S,k,new v.a(Y,g.end+1));g?$=g.start+1:$=k.getLineMaxColumn(Y)}else g&&!A&&$>=g.start+1&&(g=p._findNextWordOnLine(S,k,new v.a(Y,g.end+1))),g?$=g.start+1:$=k.getLineMaxColumn(Y);return new v.a(Y,$)}},{key:"_moveWordPartRight",value:function(S,k){var T=k.lineNumber,I=S.getLineMaxColumn(T);if(k.column===I)return T<S.getLineCount()?new v.a(T+1,1):k;for(var Y=S.getLineContent(T),$=k.column+1;$<I;$++){var A=Y.charCodeAt($-2),g=Y.charCodeAt($-1);if(A!==95&&g===95)return new v.a(T,$);if(o.G(A)&&o.H(g))return new v.a(T,$);if(o.H(A)&&o.H(g)&&$+1<I){var b=Y.charCodeAt($);if(o.G(b))return new v.a(T,$)}}return new v.a(T,I)}},{key:"_deleteWordLeftWhitespace",value:function(S,k){var T=S.getLineContent(k.lineNumber),I=k.column-2,Y=o.I(T,I);return Y+1<I?new m.a(k.lineNumber,Y+2,k.lineNumber,k.column):null}},{key:"deleteWordLeft",value:function(S,k){var T=S.wordSeparators,I=S.model,Y=S.selection,$=S.whitespaceHeuristics;if(!Y.isEmpty())return Y;if(a.a.isAutoClosingPairDelete(S.autoClosingDelete,S.autoClosingBrackets,S.autoClosingQuotes,S.autoClosingPairs.autoClosingPairsOpenByEnd,S.model,[S.selection],S.autoClosedCharacters)){var A=S.selection.getPosition();return new m.a(A.lineNumber,A.column-1,A.lineNumber,A.column+1)}var g=new v.a(Y.positionLineNumber,Y.positionColumn),b=g.lineNumber,d=g.column;if(b===1&&d===1)return null;if($){var O=this._deleteWordLeftWhitespace(I,g);if(O)return O}var E=p._findPreviousWordOnLine(T,I,g);return k===0?E?d=E.start+1:d>1?d=1:(b--,d=I.getLineMaxColumn(b)):(E&&d<=E.end+1&&(E=p._findPreviousWordOnLine(T,I,new v.a(b,E.start+1))),E?d=E.end+1:d>1?d=1:(b--,d=I.getLineMaxColumn(b))),new m.a(b,d,g.lineNumber,g.column)}},{key:"deleteInsideWord",value:function(S,k,T){if(!T.isEmpty())return T;var I=new v.a(T.positionLineNumber,T.positionColumn),Y=this._deleteInsideWordWhitespace(k,I);return Y||this._deleteInsideWordDetermineDeleteRange(S,k,I)}},{key:"_charAtIsWhitespace",value:function(S,k){var T=S.charCodeAt(k);return T===32||T===9}},{key:"_deleteInsideWordWhitespace",value:function(S,k){var T=S.getLineContent(k.lineNumber),I=T.length;if(I===0)return null;var Y=Math.max(k.column-2,0);if(!this._charAtIsWhitespace(T,Y))return null;var $=Math.min(k.column-1,I-1);if(!this._charAtIsWhitespace(T,$))return null;for(;Y>0&&this._charAtIsWhitespace(T,Y-1);)Y--;for(;$+1<I&&this._charAtIsWhitespace(T,$+1);)$++;return new m.a(k.lineNumber,Y+1,k.lineNumber,$+2)}},{key:"_deleteInsideWordDetermineDeleteRange",value:function(S,k,T){var I=this,Y=k.getLineContent(T.lineNumber),$=Y.length;if($===0)return T.lineNumber>1?new m.a(T.lineNumber-1,k.getLineMaxColumn(T.lineNumber-1),T.lineNumber,1):T.lineNumber<k.getLineCount()?new m.a(T.lineNumber,1,T.lineNumber+1,1):new m.a(T.lineNumber,1,T.lineNumber,1);var A=function(D){return D.start+1<=T.column&&T.column<=D.end+1},g=function(D,W){return D=Math.min(D,T.column),W=Math.max(W,T.column),new m.a(T.lineNumber,D,T.lineNumber,W)},b=function(D){for(var W=D.start+1,te=D.end+1,re=!1;te-1<$&&I._charAtIsWhitespace(Y,te-1);)re=!0,te++;if(!re)for(;W>1&&I._charAtIsWhitespace(Y,W-2);)W--;return g(W,te)},d=p._findPreviousWordOnLine(S,k,T);if(d&&A(d))return b(d);var O=p._findNextWordOnLine(S,k,T);return O&&A(O)?b(O):d&&O?g(d.end+1,O.start+1):d?g(d.start+1,d.end+1):O?g(O.start+1,O.end+1):g(1,$+1)}},{key:"_deleteWordPartLeft",value:function(S,k){if(!k.isEmpty())return k;var T=k.getPosition(),I=p._moveWordPartLeft(S,T);return new m.a(T.lineNumber,T.column,I.lineNumber,I.column)}},{key:"_findFirstNonWhitespaceChar",value:function(S,k){for(var T=S.length,I=k;I<T;I++){var Y=S.charAt(I);if(Y!==" "&&Y!==" ")return I}return T}},{key:"_deleteWordRightWhitespace",value:function(S,k){var T=S.getLineContent(k.lineNumber),I=k.column-1,Y=this._findFirstNonWhitespaceChar(T,I);return I+1<Y?new m.a(k.lineNumber,k.column,k.lineNumber,Y+1):null}},{key:"deleteWordRight",value:function(S,k){var T=S.wordSeparators,I=S.model,Y=S.selection,$=S.whitespaceHeuristics;if(!Y.isEmpty())return Y;var A=new v.a(Y.positionLineNumber,Y.positionColumn),g=A.lineNumber,b=A.column,d=I.getLineCount(),O=I.getLineMaxColumn(g);if(g===d&&b===O)return null;if($){var E=this._deleteWordRightWhitespace(I,A);if(E)return E}var D=p._findNextWordOnLine(T,I,A);return k===2?D?b=D.end+1:b<O||g===d?b=O:(g++,D=p._findNextWordOnLine(T,I,new v.a(g,1)),D?b=D.start+1:b=I.getLineMaxColumn(g)):(D&&b>=D.start+1&&(D=p._findNextWordOnLine(T,I,new v.a(g,D.end+1))),D?b=D.start+1:b<O||g===d?b=O:(g++,D=p._findNextWordOnLine(T,I,new v.a(g,1)),D?b=D.start+1:b=I.getLineMaxColumn(g))),new m.a(g,b,A.lineNumber,A.column)}},{key:"_deleteWordPartRight",value:function(S,k){if(!k.isEmpty())return k;var T=k.getPosition(),I=p._moveWordPartRight(S,T);return new m.a(T.lineNumber,T.column,I.lineNumber,I.column)}},{key:"_createWordAtPosition",value:function(S,k,T){var I=new m.a(k,T.start+1,k,T.end+1);return{word:S.getValueInRange(I),startColumn:I.startColumn,endColumn:I.endColumn}}},{key:"getWordAtPosition",value:function(S,k,T){var I=Object(n.a)(k),Y=p._findPreviousWordOnLine(I,S,T);if(Y&&Y.wordType===1&&Y.start<=T.column-1&&T.column-1<=Y.end)return p._createWordAtPosition(S,T.lineNumber,Y);var $=p._findNextWordOnLine(I,S,T);return $&&$.wordType===1&&$.start<=T.column-1&&T.column-1<=$.end?p._createWordAtPosition(S,T.lineNumber,$):null}},{key:"word",value:function(S,k,T,I,Y){var $=Object(n.a)(S.wordSeparators),A=p._findPreviousWordOnLine($,k,Y),g=p._findNextWordOnLine($,k,Y);if(!I){var b,d;return A&&A.wordType===1&&A.start<=Y.column-1&&Y.column-1<=A.end?(b=A.start+1,d=A.end+1):g&&g.wordType===1&&g.start<=Y.column-1&&Y.column-1<=g.end?(b=g.start+1,d=g.end+1):(A?b=A.end+1:b=1,g?d=g.start+1:d=k.getLineMaxColumn(Y.lineNumber)),new i.f(new m.a(Y.lineNumber,b,Y.lineNumber,d),0,new v.a(Y.lineNumber,d),0)}var O,E;A&&A.wordType===1&&A.start<Y.column-1&&Y.column-1<A.end?(O=A.start+1,E=A.end+1):g&&g.wordType===1&&g.start<Y.column-1&&Y.column-1<g.end?(O=g.start+1,E=g.end+1):(O=Y.column,E=Y.column);var D=Y.lineNumber,W;if(T.selectionStart.containsPosition(Y))W=T.selectionStart.endColumn;else if(Y.isBeforeOrEqual(T.selectionStart.getStartPosition())){W=O;var te=new v.a(D,W);T.selectionStart.containsPosition(te)&&(W=T.selectionStart.endColumn)}else{W=E;var re=new v.a(D,W);T.selectionStart.containsPosition(re)&&(W=T.selectionStart.startColumn)}return T.move(!0,D,W,0)}}]),p}(),t=function(p){Object(u.a)(S,p);var w=Object(c.a)(S);function S(){return Object(r.a)(this,S),w.apply(this,arguments)}return Object(f.a)(S,null,[{key:"deleteWordPartLeft",value:function(T){var I=l([h.deleteWordLeft(T,0),h.deleteWordLeft(T,2),h._deleteWordPartLeft(T.model,T.selection)]);return I.sort(m.a.compareRangesUsingEnds),I[2]}},{key:"deleteWordPartRight",value:function(T){var I=l([h.deleteWordRight(T,0),h.deleteWordRight(T,2),h._deleteWordPartRight(T.model,T.selection)]);return I.sort(m.a.compareRangesUsingStarts),I[0]}},{key:"moveWordPartLeft",value:function(T,I,Y){var $=l([h.moveWordLeft(T,I,Y,0),h.moveWordLeft(T,I,Y,2),h._moveWordPartLeft(I,Y)]);return $.sort(v.a.compare),$[2]}},{key:"moveWordPartRight",value:function(T,I,Y){var $=l([h.moveWordRight(T,I,Y,0),h.moveWordRight(T,I,Y,2),h._moveWordPartRight(I,Y)]);return $.sort(v.a.compare),$[0]}}]),S}(h);function l(p){return p.filter(function(w){return Boolean(w)})}},"1LK5":function(Ie,M){function e(u,c){var r=u.length;for(u.sort(c);r--;)u[r]=u[r].value;return u}Ie.exports=e},"1O3P":function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("U8pU"),c=e("wd/R"),r=e.n(c),f=e("ub+h"),o=e("POPG"),i={time:"HH:mm:ss",timeRange:"HH:mm:ss",date:"YYYY-MM-DD",dateWeek:"YYYY-wo",dateMonth:"YYYY-MM",dateQuarter:"YYYY-\\QQ",dateYear:"YYYY",dateRange:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",dateTimeRange:"YYYY-MM-DD HH:mm:ss"};function a(h){return Object.prototype.toString.call(h)==="[object Object]"}function n(h){if(a(h)===!1)return!1;var t=h.constructor;if(t===void 0)return!0;var l=t.prototype;return!(a(l)===!1||l.hasOwnProperty("isPrototypeOf")===!1)}var v=function(t,l,p){if(!l)return t;if(r.a.isMoment(t)){if(l==="number")return t.valueOf();if(l==="string")return t.format(i[p]||"YYYY-MM-DD HH:mm:ss");if(typeof l=="string"&&l!=="string")return t.format(l);if(typeof l=="function")return l(t,p)}return t},m=function h(t,l,p,w,S){var k={};return typeof window=="undefined"||Object(u.a)(t)!=="object"||Object(o.a)(t)||t instanceof Blob||Array.isArray(t)?t:(Object.keys(t).forEach(function(T){var I=S?[S,T].flat(1):[T],Y=Object(f.a)(p,I)||"text",$="text",A;typeof Y=="string"?$=Y:Y&&($=Y.valueType,A=Y.dateFormat);var g=t[T];if(!(Object(o.a)(g)&&w)){if(n(g)&&!Array.isArray(g)&&!r.a.isMoment(g)){k[T]=h(g,l,p,w,[T]);return}if(Array.isArray(g)){k[T]=g.map(function(b,d){return r.a.isMoment(b)?v(b,A||l,$):h(b,l,p,w,[T,"".concat(d)])});return}k[T]=v(g,A||l,$)}}),k)};M.b=m},"1PPP":function(Ie,M,e){var u=e("b5wT");Ie.exports=c;function c(r,f,o){var i={},a;u.forEach(o,function(n){for(var v=r.parent(n),m,h;v;){if(m=r.parent(v),m?(h=i[m],i[m]=v):(h=a,a=v),h&&h!==v){f.setEdge(h,v);return}v=m}})}},"1YUG":function(Ie,M,e){"use strict";e.d(M,"b",function(){return E}),e.d(M,"a",function(){return re});var u=e("tJVT"),c=e("fWQN"),r=e("mtLc"),f=e("yKVA"),o=e("879j"),i=e("3/fG"),a=e("D3Dy"),n=e("746U"),v=e("OBOq"),m=e("sswD"),h=e("Vxe3"),t=e("Ll0s"),l=e("cGHE"),p=e("aokT"),w=function(){function oe(){Object(c.a)(this,oe)}return Object(r.a)(oe,null,[{key:"columnSelect",value:function(ue,ne,se,be,Z,ee){for(var ce=Math.abs(Z-se)+1,R=se>Z,y=be>ee,C=be<ee,z=[],G=0;G<ce;G++){var X=se+(R?-G:G),pe=t.a.columnFromVisibleColumn2(ue,ne,X,be),ae=t.a.columnFromVisibleColumn2(ue,ne,X,ee),Se=t.a.visibleColumnFromColumn2(ue,ne,new l.a(X,pe)),Te=t.a.visibleColumnFromColumn2(ue,ne,new l.a(X,ae));C&&(Se>ee||Te<be)||y&&(Te>be||Se<ee)||z.push(new t.f(new p.a(X,pe,X,pe),0,new l.a(X,ae),0))}if(z.length===0)for(var je=0;je<ce;je++){var ft=se+(R?-je:je),fe=ne.getLineMaxColumn(ft);z.push(new t.f(new p.a(ft,fe,ft,fe),0,new l.a(ft,fe),0))}return{viewStates:z,reversed:R,fromLineNumber:se,fromVisualColumn:be,toLineNumber:Z,toVisualColumn:ee}}},{key:"columnSelectLeft",value:function(ue,ne,se){var be=se.toViewVisualColumn;return be>0&&be--,oe.columnSelect(ue,ne,se.fromViewLineNumber,se.fromViewVisualColumn,se.toViewLineNumber,be)}},{key:"columnSelectRight",value:function(ue,ne,se){for(var be=0,Z=Math.min(se.fromViewLineNumber,se.toViewLineNumber),ee=Math.max(se.fromViewLineNumber,se.toViewLineNumber),ce=Z;ce<=ee;ce++){var R=ne.getLineMaxColumn(ce),y=t.a.visibleColumnFromColumn2(ue,ne,new l.a(ce,R));be=Math.max(be,y)}var C=se.toViewVisualColumn;return C<be&&C++,this.columnSelect(ue,ne,se.fromViewLineNumber,se.fromViewVisualColumn,se.toViewLineNumber,C)}},{key:"columnSelectUp",value:function(ue,ne,se,be){var Z=be?ue.pageSize:1,ee=Math.max(1,se.toViewLineNumber-Z);return this.columnSelect(ue,ne,se.fromViewLineNumber,se.fromViewVisualColumn,ee,se.toViewVisualColumn)}},{key:"columnSelectDown",value:function(ue,ne,se,be){var Z=be?ue.pageSize:1,ee=Math.min(ne.getLineCount(),se.toViewLineNumber+Z);return this.columnSelect(ue,ne,se.fromViewLineNumber,se.fromViewVisualColumn,ee,se.toViewVisualColumn)}}]),oe}(),S=e("snIX"),k=e("oAeH"),T=e("GR/f"),I=e("wQH0"),Y=e("T8No"),$=e("nrhi"),A=0,g=function(oe){Object(f.a)(ue,oe);var he=Object(o.a)(ue);function ue(){return Object(c.a)(this,ue),he.apply(this,arguments)}return Object(r.a)(ue,[{key:"runEditorCommand",value:function(se,be,Z){var ee=be._getViewModel();!ee||this.runCoreEditorCommand(ee,Z||{})}}]),ue}(m.c),b;(function(oe){var he=function(se){if(!n.i(se))return!1;var be=se;return!(!n.j(be.to)||!n.k(be.by)&&!n.j(be.by)||!n.k(be.value)&&!n.h(be.value)||!n.k(be.revealCursor)&&!n.f(be.revealCursor))};oe.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 * 'to': A mandatory direction value.\n ```\n 'up', 'down'\n ```\n * 'by': Unit to move. Default is computed based on 'to' value.\n ```\n 'line', 'wrappedLine', 'page', 'halfPage'\n ```\n * 'value': Number of units to move. Default is '1'.\n * 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n ",constraint:he,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"}}}}]},oe.RawDirection={Up:"up",Down:"down"},oe.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"};function ue(ne){var se;switch(ne.to){case oe.RawDirection.Up:se=1;break;case oe.RawDirection.Down:se=2;break;default:return null}var be;switch(ne.by){case oe.RawUnit.Line:be=1;break;case oe.RawUnit.WrappedLine:be=2;break;case oe.RawUnit.Page:be=3;break;case oe.RawUnit.HalfPage:be=4;break;default:be=2}var Z=Math.floor(ne.value||1),ee=!!ne.revealCursor;return{direction:se,unit:be,value:Z,revealCursor:ee,select:!!ne.select}}oe.parse=ue})(b||(b={}));var d;(function(oe){var he=function(ne){if(!n.i(ne))return!1;var se=ne;return!(!n.h(se.lineNumber)&&!n.j(se.lineNumber)||!n.k(se.at)&&!n.j(se.at))};oe.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 * 'lineNumber': A mandatory line number value.\n * 'at': Logical position at which line has to be revealed.\n ```\n 'top', 'center', 'bottom'\n ```\n ",constraint:he,schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:["number","string"]},at:{type:"string",enum:["top","center","bottom"]}}}}]},oe.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"}})(d||(d={}));var O=function(){function oe(he){var ue=this;Object(c.a)(this,oe),he.addImplementation(1e4,"code-editor",function(ne,se){var be=ne.get(h.a).getFocusedCodeEditor();return be&&be.hasTextFocus()?ue._runEditorCommand(ne,be,se):!1}),he.addImplementation(1e3,"generic-dom-input-textarea",function(ne,se){var be=document.activeElement;return be&&["input","textarea"].indexOf(be.tagName.toLowerCase())>=0?(ue.runDOMCommand(),!0):!1}),he.addImplementation(0,"generic-dom",function(ne,se){var be=ne.get(h.a).getActiveCodeEditor();return be?(be.focus(),ue._runEditorCommand(ne,be,se)):!1})}return Object(r.a)(oe,[{key:"_runEditorCommand",value:function(ue,ne,se){var be=this.runEditorCommand(ue,ne,se);return be||!0}}]),oe}(),E;(function(oe){var he=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,[k.b.moveTo(fe,fe.getPrimaryCursorState(),this._inSelectionMode,ie.position,ie.viewPosition)]),fe.revealPrimaryCursor(ie.source,!0)}}]),je}(g);oe.MoveTo=Object(m.k)(new he({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),oe.MoveToSelect=Object(m.k)(new he({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));var ue=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.apply(this,arguments)}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement();var ge=this._getColumnSelectResult(fe,fe.getPrimaryCursorState(),fe.getCursorColumnSelectData(),ie);fe.setCursorStates(ie.source,3,ge.viewStates.map(function(Ve){return t.d.fromViewState(Ve)})),fe.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:ge.fromLineNumber,fromViewVisualColumn:ge.fromVisualColumn,toViewLineNumber:ge.toLineNumber,toViewVisualColumn:ge.toVisualColumn}),ge.reversed?fe.revealTopMostCursor(ie.source):fe.revealBottomMostCursor(ie.source)}}]),je}(g);oe.ColumnSelect=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"columnSelect",precondition:void 0})}return Object(r.a)(je,[{key:"_getColumnSelectResult",value:function(fe,ie,ge,Ve){var Ee=fe.model.validatePosition(Ve.position),Me=fe.coordinatesConverter.validateViewPosition(new l.a(Ve.viewPosition.lineNumber,Ve.viewPosition.column),Ee),_e=Ve.doColumnSelect?ge.fromViewLineNumber:Me.lineNumber,Re=Ve.doColumnSelect?ge.fromViewVisualColumn:Ve.mouseColumn-1;return w.columnSelect(fe.cursorConfig,fe,_e,Re,Me.lineNumber,Ve.mouseColumn-1)}}]),je}(ue))),oe.CursorColumnSelectLeft=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|1024|512|15,linux:{primary:0}}})}return Object(r.a)(je,[{key:"_getColumnSelectResult",value:function(fe,ie,ge,Ve){return w.columnSelectLeft(fe.cursorConfig,fe,ge)}}]),je}(ue))),oe.CursorColumnSelectRight=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|1024|512|17,linux:{primary:0}}})}return Object(r.a)(je,[{key:"_getColumnSelectResult",value:function(fe,ie,ge,Ve){return w.columnSelectRight(fe.cursorConfig,fe,ge)}}]),je}(ue)));var ne=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._isPaged=ft.isPaged,fe}return Object(r.a)(je,[{key:"_getColumnSelectResult",value:function(fe,ie,ge,Ve){return w.columnSelectUp(fe.cursorConfig,fe,ge,this._isPaged)}}]),je}(ue);oe.CursorColumnSelectUp=Object(m.k)(new ne({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|1024|512|16,linux:{primary:0}}})),oe.CursorColumnSelectPageUp=Object(m.k)(new ne({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|1024|512|11,linux:{primary:0}}}));var se=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._isPaged=ft.isPaged,fe}return Object(r.a)(je,[{key:"_getColumnSelectResult",value:function(fe,ie,ge,Ve){return w.columnSelectDown(fe.cursorConfig,fe,ge,this._isPaged)}}]),je}(ue);oe.CursorColumnSelectDown=Object(m.k)(new se({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|1024|512|18,linux:{primary:0}}})),oe.CursorColumnSelectPageDown=Object(m.k)(new se({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|1024|512|12,linux:{primary:0}}}));var be=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"cursorMove",precondition:void 0,description:k.a.description})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){var ge=k.a.parse(ie);!ge||this._runCursorMove(fe,ie.source,ge)}},{key:"_runCursorMove",value:function(fe,ie,ge){fe.model.pushStackElement(),fe.setCursorStates(ie,3,je._move(fe,fe.getCursorStates(),ge)),fe.revealPrimaryCursor(ie,!0)}}],[{key:"_move",value:function(fe,ie,ge){var Ve=ge.select,Ee=ge.value;switch(ge.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return k.b.simpleMove(fe,ie,ge.direction,Ve,Ee,ge.unit);case 11:case 13:case 12:case 14:return k.b.viewportMove(fe,ie,ge.direction,Ve,Ee);default:return null}}}]),je}(g);oe.CursorMoveImpl=be,oe.CursorMove=Object(m.k)(new be);var Z=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._staticArgs=ft.args,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){var ge=this._staticArgs;this._staticArgs.value===-1&&(ge={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:fe.cursorConfig.pageSize}),fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,k.b.simpleMove(fe,fe.getCursorStates(),ge.direction,ge.select,ge.value,ge.unit)),fe.revealPrimaryCursor(ie.source,!0)}}]),je}(g);oe.CursorLeft=Object(m.k)(new Z({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:15,mac:{primary:15,secondary:[256|32]}}})),oe.CursorLeftSelect=Object(m.k)(new Z({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:1024|15}})),oe.CursorRight=Object(m.k)(new Z({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:17,mac:{primary:17,secondary:[256|36]}}})),oe.CursorRightSelect=Object(m.k)(new Z({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:1024|17}})),oe.CursorUp=Object(m.k)(new Z({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:16,mac:{primary:16,secondary:[256|46]}}})),oe.CursorUpSelect=Object(m.k)(new Z({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:1024|16,secondary:[2048|1024|16],mac:{primary:1024|16},linux:{primary:1024|16}}})),oe.CursorPageUp=Object(m.k)(new Z({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:11}})),oe.CursorPageUpSelect=Object(m.k)(new Z({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:1024|11}})),oe.CursorDown=Object(m.k)(new Z({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:18,mac:{primary:18,secondary:[256|44]}}})),oe.CursorDownSelect=Object(m.k)(new Z({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:1024|18,secondary:[2048|1024|18],mac:{primary:1024|18},linux:{primary:1024|18}}})),oe.CursorPageDown=Object(m.k)(new Z({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:12}})),oe.CursorPageDownSelect=Object(m.k)(new Z({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:1024|12}})),oe.CreateCursor=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"createCursor",precondition:void 0})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){var ge;ie.wholeLine?ge=k.b.line(fe,fe.getPrimaryCursorState(),!1,ie.position,ie.viewPosition):ge=k.b.moveTo(fe,fe.getPrimaryCursorState(),!1,ie.position,ie.viewPosition);var Ve=fe.getCursorStates();if(Ve.length>1)for(var Ee=ge.modelState?ge.modelState.position:null,Me=ge.viewState?ge.viewState.position:null,_e=0,Re=Ve.length;_e<Re;_e++){var et=Ve[_e];if(!(Ee&&!et.modelState.selection.containsPosition(Ee))&&!(Me&&!et.viewState.selection.containsPosition(Me))){Ve.splice(_e,1),fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,Ve);return}}Ve.push(ge),fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,Ve)}}]),je}(g))),oe.LastCursorMoveToSelect=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"_lastCursorMoveToSelect",precondition:void 0})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){var ge=fe.getLastAddedCursorIndex(),Ve=fe.getCursorStates(),Ee=Ve.slice(0);Ee[ge]=k.b.moveTo(fe,Ve[ge],!0,ie.position,ie.viewPosition),fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,Ee)}}]),je}(g)));var ee=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,k.b.moveToBeginningOfLine(fe,fe.getCursorStates(),this._inSelectionMode)),fe.revealPrimaryCursor(ie.source,!0)}}]),je}(g);oe.CursorHome=Object(m.k)(new ee({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:14,mac:{primary:14,secondary:[2048|15]}}})),oe.CursorHomeSelect=Object(m.k)(new ee({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:1024|14,mac:{primary:1024|14,secondary:[2048|1024|15]}}}));var ce=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,this._exec(fe.getCursorStates())),fe.revealPrimaryCursor(ie.source,!0)}},{key:"_exec",value:function(fe){for(var ie=[],ge=0,Ve=fe.length;ge<Ve;ge++){var Ee=fe[ge],Me=Ee.modelState.position.lineNumber;ie[ge]=t.d.fromModelState(Ee.modelState.move(this._inSelectionMode,Me,1,0))}return ie}}]),je}(g);oe.CursorLineStart=Object(m.k)(new ce({inSelectionMode:!1,id:"cursorLineStart",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:0,mac:{primary:256|31}}})),oe.CursorLineStartSelect=Object(m.k)(new ce({inSelectionMode:!0,id:"cursorLineStartSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:0,mac:{primary:256|1024|31}}}));var R=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,k.b.moveToEndOfLine(fe,fe.getCursorStates(),this._inSelectionMode,ie.sticky||!1)),fe.revealPrimaryCursor(ie.source,!0)}}]),je}(g);oe.CursorEnd=Object(m.k)(new R({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{args:{sticky:!1},weight:A,kbExpr:I.a.textInputFocus,primary:13,mac:{primary:13,secondary:[2048|17]}},description:{description:"Go to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:i.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}})),oe.CursorEndSelect=Object(m.k)(new R({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{args:{sticky:!1},weight:A,kbExpr:I.a.textInputFocus,primary:1024|13,mac:{primary:1024|13,secondary:[2048|1024|17]}},description:{description:"Select to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:i.a("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}}));var y=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,this._exec(fe,fe.getCursorStates())),fe.revealPrimaryCursor(ie.source,!0)}},{key:"_exec",value:function(fe,ie){for(var ge=[],Ve=0,Ee=ie.length;Ve<Ee;Ve++){var Me=ie[Ve],_e=Me.modelState.position.lineNumber,Re=fe.model.getLineMaxColumn(_e);ge[Ve]=t.d.fromModelState(Me.modelState.move(this._inSelectionMode,_e,Re,0))}return ge}}]),je}(g);oe.CursorLineEnd=Object(m.k)(new y({inSelectionMode:!1,id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:0,mac:{primary:256|35}}})),oe.CursorLineEndSelect=Object(m.k)(new y({inSelectionMode:!0,id:"cursorLineEndSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:0,mac:{primary:256|1024|35}}}));var C=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,k.b.moveToBeginningOfBuffer(fe,fe.getCursorStates(),this._inSelectionMode)),fe.revealPrimaryCursor(ie.source,!0)}}]),je}(g);oe.CursorTop=Object(m.k)(new C({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|14,mac:{primary:2048|16}}})),oe.CursorTopSelect=Object(m.k)(new C({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|1024|14,mac:{primary:2048|1024|16}}}));var z=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,k.b.moveToEndOfBuffer(fe,fe.getCursorStates(),this._inSelectionMode)),fe.revealPrimaryCursor(ie.source,!0)}}]),je}(g);oe.CursorBottom=Object(m.k)(new z({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|13,mac:{primary:2048|18}}})),oe.CursorBottomSelect=Object(m.k)(new z({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|1024|13,mac:{primary:2048|1024|18}}}));var G=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"editorScroll",precondition:void 0,description:b.description})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){var ge=b.parse(ie);!ge||this._runEditorScroll(fe,ie.source,ge)}},{key:"_runEditorScroll",value:function(fe,ie,ge){var Ve=this._computeDesiredScrollTop(fe,ge);if(ge.revealCursor){var Ee=fe.getCompletelyVisibleViewRangeAtScrollTop(Ve);fe.setCursorStates(ie,3,[k.b.findPositionInViewportIfOutside(fe,fe.getPrimaryCursorState(),Ee,ge.select)])}fe.setScrollTop(Ve,0)}},{key:"_computeDesiredScrollTop",value:function(fe,ie){if(ie.unit===1){var ge=fe.getCompletelyVisibleViewRange(),Ve=fe.coordinatesConverter.convertViewRangeToModelRange(ge),Ee;ie.direction===1?Ee=Math.max(1,Ve.startLineNumber-ie.value):Ee=Math.min(fe.model.getLineCount(),Ve.startLineNumber+ie.value);var Me=fe.coordinatesConverter.convertModelPositionToViewPosition(new l.a(Ee,1));return fe.getVerticalOffsetForLineNumber(Me.lineNumber)}var _e;ie.unit===3?_e=fe.cursorConfig.pageSize*ie.value:ie.unit===4?_e=Math.round(fe.cursorConfig.pageSize/2)*ie.value:_e=ie.value;var Re=(ie.direction===1?-1:1)*_e;return fe.getScrollTop()+Re*fe.cursorConfig.lineHeight}}]),je}(g);oe.EditorScrollImpl=G,oe.EditorScroll=Object(m.k)(new G),oe.ScrollLineUp=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"scrollLineUp",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|16,mac:{primary:256|11}}})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){oe.EditorScroll._runEditorScroll(fe,ie.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})}}]),je}(g))),oe.ScrollPageUp=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"scrollPageUp",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|11,win:{primary:512|11},linux:{primary:512|11}}})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){oe.EditorScroll._runEditorScroll(fe,ie.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})}}]),je}(g))),oe.ScrollLineDown=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"scrollLineDown",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|18,mac:{primary:256|12}}})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){oe.EditorScroll._runEditorScroll(fe,ie.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})}}]),je}(g))),oe.ScrollPageDown=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"scrollPageDown",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|12,win:{primary:512|12},linux:{primary:512|12}}})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){oe.EditorScroll._runEditorScroll(fe,ie.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})}}]),je}(g)));var X=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,[k.b.word(fe,fe.getPrimaryCursorState(),this._inSelectionMode,ie.position)]),fe.revealPrimaryCursor(ie.source,!0)}}]),je}(g);oe.WordSelect=Object(m.k)(new X({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),oe.WordSelectDrag=Object(m.k)(new X({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),oe.LastCursorWordSelect=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"lastCursorWordSelect",precondition:void 0})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){var ge=fe.getLastAddedCursorIndex(),Ve=fe.getCursorStates(),Ee=Ve.slice(0),Me=Ve[ge];Ee[ge]=k.b.word(fe,Me,Me.modelState.hasSelection(),ie.position),fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,Ee)}}]),je}(g)));var pe=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,[k.b.line(fe,fe.getPrimaryCursorState(),this._inSelectionMode,ie.position,ie.viewPosition)]),fe.revealPrimaryCursor(ie.source,!1)}}]),je}(g);oe.LineSelect=Object(m.k)(new pe({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),oe.LineSelectDrag=Object(m.k)(new pe({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));var ae=function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(ft){var fe;return Object(c.a)(this,je),fe=Te.call(this,ft),fe._inSelectionMode=ft.inSelectionMode,fe}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){var ge=fe.getLastAddedCursorIndex(),Ve=fe.getCursorStates(),Ee=Ve.slice(0);Ee[ge]=k.b.line(fe,Ve[ge],this._inSelectionMode,ie.position,ie.viewPosition),fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,Ee)}}]),je}(g);oe.LastCursorLineSelect=Object(m.k)(new ae({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),oe.LastCursorLineSelectDrag=Object(m.k)(new ae({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),oe.ExpandLineSelection=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"expandLineSelection",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:2048|42}})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,k.b.expandLineSelection(fe,fe.getCursorStates())),fe.revealPrimaryCursor(ie.source,!0)}}]),je}(g))),oe.CancelSelection=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"cancelSelection",precondition:I.a.hasNonEmptySelection,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:9,secondary:[1024|9]}})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,[k.b.cancelSelection(fe,fe.getPrimaryCursorState())]),fe.revealPrimaryCursor(ie.source,!0)}}]),je}(g))),oe.RemoveSecondaryCursors=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"removeSecondaryCursors",precondition:I.a.hasMultipleSelections,kbOpts:{weight:A+1,kbExpr:I.a.textInputFocus,primary:9,secondary:[1024|9]}})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,[fe.getPrimaryCursorState()]),fe.revealPrimaryCursor(ie.source,!0),Object(v.c)(i.a("removedCursor","Removed secondary cursors"))}}]),je}(g))),oe.RevealLine=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"revealLine",precondition:void 0,description:d.description})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){var ge=ie,Ve=ge.lineNumber||0,Ee=typeof Ve=="number"?Ve+1:parseInt(Ve)+1;Ee<1&&(Ee=1);var Me=fe.model.getLineCount();Ee>Me&&(Ee=Me);var _e=new p.a(Ee,1,Ee,fe.model.getLineMaxColumn(Ee)),Re=0;if(ge.at)switch(ge.at){case d.RawAtArgument.Top:Re=3;break;case d.RawAtArgument.Center:Re=1;break;case d.RawAtArgument.Bottom:Re=4;break;default:break}var et=fe.coordinatesConverter.convertModelRangeToViewRange(_e);fe.revealRange(ie.source,!1,et,Re,0)}}]),je}(g))),oe.SelectAll=new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,m.h)}return Object(r.a)(je,[{key:"runDOMCommand",value:function(){a.g&&(document.activeElement.focus(),document.activeElement.select()),document.execCommand("selectAll")}},{key:"runEditorCommand",value:function(fe,ie,ge){var Ve=ie._getViewModel();!Ve||this.runCoreEditorCommand(Ve,ge)}},{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates("keyboard",3,[k.b.selectAll(fe,fe.getPrimaryCursorState())])}}]),je}(O)),oe.SetSelection=Object(m.k)(new(function(Se){Object(f.a)(je,Se);var Te=Object(o.a)(je);function je(){return Object(c.a)(this,je),Te.call(this,{id:"setSelection",precondition:void 0})}return Object(r.a)(je,[{key:"runCoreEditorCommand",value:function(fe,ie){fe.model.pushStackElement(),fe.setCursorStates(ie.source,3,[t.d.fromModelSelection(ie.selection)])}}]),je}(g)))})(E||(E={}));var D=Y.a.and(I.a.textInputFocus,I.a.columnSelection);function W(oe,he){$.a.registerKeybindingRule({id:oe,primary:he,when:D,weight:A+1})}W(E.CursorColumnSelectLeft.id,1024|15),W(E.CursorColumnSelectRight.id,1024|17),W(E.CursorColumnSelectUp.id,1024|16),W(E.CursorColumnSelectPageUp.id,1024|11),W(E.CursorColumnSelectDown.id,1024|18),W(E.CursorColumnSelectPageDown.id,1024|12);function te(oe){return oe.register(),oe}var re;(function(oe){var he=function(ue){Object(f.a)(se,ue);var ne=Object(o.a)(se);function se(){return Object(c.a)(this,se),ne.apply(this,arguments)}return Object(r.a)(se,[{key:"runEditorCommand",value:function(Z,ee,ce){var R=ee._getViewModel();!R||this.runCoreEditingCommand(ee,R,ce||{})}}]),se}(m.c);oe.CoreEditingCommand=he,oe.LineBreakInsert=Object(m.k)(new(function(ue){Object(f.a)(se,ue);var ne=Object(o.a)(se);function se(){return Object(c.a)(this,se),ne.call(this,{id:"lineBreakInsert",precondition:I.a.writable,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:0,mac:{primary:256|45}}})}return Object(r.a)(se,[{key:"runCoreEditingCommand",value:function(Z,ee,ce){Z.pushUndoStop(),Z.executeCommands(this.id,T.a.lineBreakInsert(ee.cursorConfig,ee.model,ee.getCursorStates().map(function(R){return R.modelState.selection})))}}]),se}(he))),oe.Outdent=Object(m.k)(new(function(ue){Object(f.a)(se,ue);var ne=Object(o.a)(se);function se(){return Object(c.a)(this,se),ne.call(this,{id:"outdent",precondition:I.a.writable,kbOpts:{weight:A,kbExpr:Y.a.and(I.a.editorTextFocus,I.a.tabDoesNotMoveFocus),primary:1024|2}})}return Object(r.a)(se,[{key:"runCoreEditingCommand",value:function(Z,ee,ce){Z.pushUndoStop(),Z.executeCommands(this.id,T.a.outdent(ee.cursorConfig,ee.model,ee.getCursorStates().map(function(R){return R.modelState.selection}))),Z.pushUndoStop()}}]),se}(he))),oe.Tab=Object(m.k)(new(function(ue){Object(f.a)(se,ue);var ne=Object(o.a)(se);function se(){return Object(c.a)(this,se),ne.call(this,{id:"tab",precondition:I.a.writable,kbOpts:{weight:A,kbExpr:Y.a.and(I.a.editorTextFocus,I.a.tabDoesNotMoveFocus),primary:2}})}return Object(r.a)(se,[{key:"runCoreEditingCommand",value:function(Z,ee,ce){Z.pushUndoStop(),Z.executeCommands(this.id,T.a.tab(ee.cursorConfig,ee.model,ee.getCursorStates().map(function(R){return R.modelState.selection}))),Z.pushUndoStop()}}]),se}(he))),oe.DeleteLeft=Object(m.k)(new(function(ue){Object(f.a)(se,ue);var ne=Object(o.a)(se);function se(){return Object(c.a)(this,se),ne.call(this,{id:"deleteLeft",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:1,secondary:[1024|1],mac:{primary:1,secondary:[1024|1,256|38,256|1]}}})}return Object(r.a)(se,[{key:"runCoreEditingCommand",value:function(Z,ee,ce){var R=S.a.deleteLeft(ee.getPrevEditOperationType(),ee.cursorConfig,ee.model,ee.getCursorStates().map(function(G){return G.modelState.selection}),ee.getCursorAutoClosedCharacters()),y=Object(u.a)(R,2),C=y[0],z=y[1];C&&Z.pushUndoStop(),Z.executeCommands(this.id,z),ee.setPrevEditOperationType(2)}}]),se}(he))),oe.DeleteRight=Object(m.k)(new(function(ue){Object(f.a)(se,ue);var ne=Object(o.a)(se);function se(){return Object(c.a)(this,se),ne.call(this,{id:"deleteRight",precondition:void 0,kbOpts:{weight:A,kbExpr:I.a.textInputFocus,primary:20,mac:{primary:20,secondary:[256|34,256|20]}}})}return Object(r.a)(se,[{key:"runCoreEditingCommand",value:function(Z,ee,ce){var R=S.a.deleteRight(ee.getPrevEditOperationType(),ee.cursorConfig,ee.model,ee.getCursorStates().map(function(G){return G.modelState.selection})),y=Object(u.a)(R,2),C=y[0],z=y[1];C&&Z.pushUndoStop(),Z.executeCommands(this.id,z),ee.setPrevEditOperationType(3)}}]),se}(he))),oe.Undo=new(function(ue){Object(f.a)(se,ue);var ne=Object(o.a)(se);function se(){return Object(c.a)(this,se),ne.call(this,m.i)}return Object(r.a)(se,[{key:"runDOMCommand",value:function(){document.execCommand("undo")}},{key:"runEditorCommand",value:function(Z,ee,ce){if(!(!ee.hasModel()||ee.getOption(77)===!0))return ee.getModel().undo()}}]),se}(O)),oe.Redo=new(function(ue){Object(f.a)(se,ue);var ne=Object(o.a)(se);function se(){return Object(c.a)(this,se),ne.call(this,m.g)}return Object(r.a)(se,[{key:"runDOMCommand",value:function(){document.execCommand("redo")}},{key:"runEditorCommand",value:function(Z,ee,ce){if(!(!ee.hasModel()||ee.getOption(77)===!0))return ee.getModel().redo()}}]),se}(O))})(re||(re={}));var ye=function(oe){Object(f.a)(ue,oe);var he=Object(o.a)(ue);function ue(ne,se,be){var Z;return Object(c.a)(this,ue),Z=he.call(this,{id:ne,precondition:void 0,description:be}),Z._handlerId=se,Z}return Object(r.a)(ue,[{key:"runCommand",value:function(se,be){var Z=se.get(h.a).getFocusedCodeEditor();!Z||Z.trigger("keyboard",this._handlerId,be)}}]),ue}(m.a);function q(oe,he){te(new ye("default:"+oe,oe)),te(new ye(oe,oe,he))}q("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),q("replacePreviousChar"),q("compositionType"),q("compositionStart"),q("compositionEnd"),q("paste"),q("cut")},"1hJj":function(Ie,M,e){var u=e("e4Nc"),c=e("ftKO"),r=e("3A9y");function f(o){var i=-1,a=o==null?0:o.length;for(this.__data__=new u;++i<a;)this.add(o[i])}f.prototype.add=f.prototype.push=c,f.prototype.has=r,Ie.exports=f},"1iNE":function(Ie,M,e){var u=e("A90E"),c=e("QqLw"),r=e("MMmD"),f=e("4qC0"),o=e("Z1HP"),i="[object Map]",a="[object Set]";function n(v){if(v==null)return 0;if(r(v))return f(v)?o(v):v.length;var m=c(v);return m==i||m==a?v.size:u(v).length}Ie.exports=n},"1w02":function(Ie,M){function e(u,c,r){for(var f=-1,o=u.length,i=c.length,a={};++f<o;){var n=f<i?c[f]:void 0;r(a,u[f],n)}return a}Ie.exports=e},"24hK":function(Ie,M,e){"use strict";e.d(M,"a",function(){return o});var u=e("qLMh"),c=e("mtLc"),r=e("fWQN"),f=Object(c.a)(function i(a){Object(r.a)(this,i),this.element=a,this.next=i.Undefined,this.prev=i.Undefined});f.Undefined=new f(void 0);var o=function(i){function a(){Object(r.a)(this,a),this._first=f.Undefined,this._last=f.Undefined,this._size=0}return Object(c.a)(a,[{key:"size",get:function(){return this._size}},{key:"isEmpty",value:function(){return this._first===f.Undefined}},{key:"clear",value:function(){this._first=f.Undefined,this._last=f.Undefined,this._size=0}},{key:"unshift",value:function(v){return this._insert(v,!1)}},{key:"push",value:function(v){return this._insert(v,!0)}},{key:"_insert",value:function(v,m){var h=this,t=new f(v);if(this._first===f.Undefined)this._first=t,this._last=t;else if(m){var l=this._last;this._last=t,t.prev=l,l.next=t}else{var p=this._first;this._first=t,t.next=p,p.prev=t}this._size+=1;var w=!1;return function(){w||(w=!0,h._remove(t))}}},{key:"shift",value:function(){if(this._first!==f.Undefined){var v=this._first.element;return this._remove(this._first),v}}},{key:"pop",value:function(){if(this._last!==f.Undefined){var v=this._last.element;return this._remove(this._last),v}}},{key:"_remove",value:function(v){if(v.prev!==f.Undefined&&v.next!==f.Undefined){var m=v.prev;m.next=v.next,v.next.prev=m}else v.prev===f.Undefined&&v.next===f.Undefined?(this._first=f.Undefined,this._last=f.Undefined):v.next===f.Undefined?(this._last=this._last.prev,this._last.next=f.Undefined):v.prev===f.Undefined&&(this._first=this._first.next,this._first.prev=f.Undefined);this._size-=1}},{key:i,value:Object(u.a)().mark(function n(){var v;return Object(u.a)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:v=this._first;case 1:if(v===f.Undefined){h.next=7;break}return h.next=4,v.element;case 4:v=v.next,h.next=1;break;case 7:case"end":return h.stop()}},n,this)})}]),a}(Symbol.iterator)},"2J+T":function(Ie,M,e){Ie.exports={components:e("5EqP"),dijkstra:e("pHPU"),dijkstraAll:e("0xIU"),findCycles:e("3azA"),floydWarshall:e("ZzYp"),isAcyclic:e("Q+g8"),postorder:e("Txda"),preorder:e("qvmO"),prim:e("Yen4"),tarjan:e("z6cq"),topsort:e("gYXE")}},"2MPD":function(Ie,M,e){},"2Tsy":function(Ie,M,e){},"2V9f":function(Ie,M,e){},"2XLT":function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="CalendarOutlined";var a=M.a=c.forwardRef(i)},"2Zs6":function(Ie,M,e){"use strict";var u=e("rePB"),c=e("GNNt"),r=e("wEI+"),f=e("nKUr"),o=e.n(f),i=e("TSYQ"),a=e.n(i),n=e("q1tI"),v=e.n(n),m=e("75XV"),h=e.n(m),t=function(p,w){var S,k=p.border,T=k===void 0?!1:k,I=p.children,Y=Object(n.useContext)(r.a.ConfigContext),$=Y.getPrefixCls,A=$("pro-field-index-column");return Object(f.jsx)("div",{ref:w,className:a()(A,(S={},Object(u.a)(S,"".concat(A,"-border"),T),Object(u.a)(S,"top-three",I>3),S)),children:I})};M.a=v.a.forwardRef(t)},"2ajD":function(Ie,M){function e(u){return u!==u}Ie.exports=e},"2fNS":function(Ie,M,e){"use strict";var u=e("b5wT");Ie.exports=c;function c(o,i){var a={};u.forEach(o,function(v,m){var h=a[v.v]={indegree:0,in:[],out:[],vs:[v.v],i:m};u.isUndefined(v.barycenter)||(h.barycenter=v.barycenter,h.weight=v.weight)}),u.forEach(i.edges(),function(v){var m=a[v.v],h=a[v.w];!u.isUndefined(m)&&!u.isUndefined(h)&&(h.indegree++,m.out.push(a[v.w]))});var n=u.filter(a,function(v){return!v.indegree});return r(n)}function r(o){var i=[];function a(m){return function(h){h.merged||(u.isUndefined(h.barycenter)||u.isUndefined(m.barycenter)||h.barycenter>=m.barycenter)&&f(m,h)}}function n(m){return function(h){h.in.push(m),--h.indegree==0&&o.push(h)}}for(;o.length;){var v=o.pop();i.push(v),u.forEach(v.in.reverse(),a(v)),u.forEach(v.out,n(v))}return u.map(u.filter(i,function(m){return!m.merged}),function(m){return u.pick(m,["vs","i","barycenter","weight"])})}function f(o,i){var a=0,n=0;o.weight&&(a+=o.barycenter*o.weight,n+=o.weight),i.weight&&(a+=i.barycenter*i.weight,n+=i.weight),o.vs=i.vs.concat(o.vs),o.barycenter=a/n,o.weight=n,o.i=Math.min(i.i,o.i),i.merged=!0}},"2gN3":function(Ie,M,e){var u=e("Kz5y"),c=u["__core-js_shared__"];Ie.exports=c},"2jpz":function(Ie,M,e){"use strict";e.d(M,"a",function(){return S});var u=e("U8pU"),c=e("VTBJ"),r=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},o=f,i=e("6VBw"),a=function(T,I){return r.createElement(i.a,Object(c.a)(Object(c.a)({},T),{},{ref:I,icon:o}))};a.displayName="CaretDownFilled";var n=r.forwardRef(a),v=e("9jjd"),m=e("ye1Q"),h=e("gUdW"),t=e("xGfz"),l=e("TSYQ"),p=e.n(l),w=e("0n0R");function S(k,T,I,Y){var $=Y.isLeaf,A=Y.expanded,g=Y.loading;if(g)return r.createElement(m.a,{className:"".concat(k,"-switcher-loading-icon")});var b;if(I&&Object(u.a)(I)==="object"&&(b=I.showLeafIcon),$){if(!I)return null;if(typeof b!="boolean"&&!!b){var d=typeof b=="function"?b(Y):b,O="".concat(k,"-switcher-line-custom-icon");return Object(w.c)(d)?Object(w.a)(d,{className:p()(d.props.className||"",O)}):d}return b?r.createElement(v.a,{className:"".concat(k,"-switcher-line-icon")}):r.createElement("span",{className:"".concat(k,"-switcher-leaf-line")})}var E="".concat(k,"-switcher-icon"),D=typeof T=="function"?T(Y):T;return Object(w.c)(D)?Object(w.a)(D,{className:p()(D.props.className||"",E)}):D||(I?A?r.createElement(h.a,{className:"".concat(k,"-switcher-line-icon")}):r.createElement(t.a,{className:"".concat(k,"-switcher-line-icon")}):r.createElement(n,{className:E}))}},"2oH+":function(Ie,M,e){(function(u,c){var r=200,f="__lodash_hash_undefined__",o=800,i=16,a=9007199254740991,n="[object Arguments]",v="[object Array]",m="[object AsyncFunction]",h="[object Boolean]",t="[object Date]",l="[object Error]",p="[object Function]",w="[object GeneratorFunction]",S="[object Map]",k="[object Number]",T="[object Null]",I="[object Object]",Y="[object Proxy]",$="[object RegExp]",A="[object Set]",g="[object String]",b="[object Undefined]",d="[object WeakMap]",O="[object ArrayBuffer]",E="[object DataView]",D="[object Float32Array]",W="[object Float64Array]",te="[object Int8Array]",re="[object Int16Array]",ye="[object Int32Array]",q="[object Uint8Array]",oe="[object Uint8ClampedArray]",he="[object Uint16Array]",ue="[object Uint32Array]",ne=/[\\^$.*+?()[\]{}|]/g,se=/^\[object .+?Constructor\]$/,be=/^(?:0|[1-9]\d*)$/,Z={};Z[D]=Z[W]=Z[te]=Z[re]=Z[ye]=Z[q]=Z[oe]=Z[he]=Z[ue]=!0,Z[n]=Z[v]=Z[O]=Z[h]=Z[E]=Z[t]=Z[l]=Z[p]=Z[S]=Z[k]=Z[I]=Z[$]=Z[A]=Z[g]=Z[d]=!1;var ee=typeof u=="object"&&u&&u.Object===Object&&u,ce=typeof self=="object"&&self&&self.Object===Object&&self,R=ee||ce||Function("return this")(),y=M&&!M.nodeType&&M,C=y&&typeof c=="object"&&c&&!c.nodeType&&c,z=C&&C.exports===y,G=z&&ee.process,X=function(){try{var Mn=C&&C.require&&C.require("util").types;return Mn||G&&G.binding&&G.binding("util")}catch(nr){}}(),pe=X&&X.isTypedArray;function ae(Mn,nr,cr){switch(cr.length){case 0:return Mn.call(nr);case 1:return Mn.call(nr,cr[0]);case 2:return Mn.call(nr,cr[0],cr[1]);case 3:return Mn.call(nr,cr[0],cr[1],cr[2])}return Mn.apply(nr,cr)}function Se(Mn,nr){for(var cr=-1,Lr=Array(Mn);++cr<Mn;)Lr[cr]=nr(cr);return Lr}function Te(Mn){return function(nr){return Mn(nr)}}function je(Mn,nr){return Mn==null?void 0:Mn[nr]}function ft(Mn,nr){return function(cr){return Mn(nr(cr))}}var fe=Array.prototype,ie=Function.prototype,ge=Object.prototype,Ve=R["__core-js_shared__"],Ee=ie.toString,Me=ge.hasOwnProperty,_e=function(){var Mn=/[^.]+$/.exec(Ve&&Ve.keys&&Ve.keys.IE_PROTO||"");return Mn?"Symbol(src)_1."+Mn:""}(),Re=ge.toString,et=Ee.call(Object),Xe=RegExp("^"+Ee.call(Me).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),it=z?R.Buffer:void 0,bt=R.Symbol,Ct=R.Uint8Array,Bt=it?it.allocUnsafe:void 0,qe=ft(Object.getPrototypeOf,Object),st=Object.create,ut=ge.propertyIsEnumerable,nt=fe.splice,kt=bt?bt.toStringTag:void 0,Sn=function(){try{var Mn=Ai(Object,"defineProperty");return Mn({},"",{}),Mn}catch(nr){}}(),Tt=it?it.isBuffer:void 0,ht=Math.max,Rt=Date.now,Ft=Ai(R,"Map"),nn=Ai(Object,"create"),bn=function(){function Mn(){}return function(nr){if(!gt(nr))return{};if(st)return st(nr);Mn.prototype=nr;var cr=new Mn;return Mn.prototype=void 0,cr}}();function sn(Mn){var nr=-1,cr=Mn==null?0:Mn.length;for(this.clear();++nr<cr;){var Lr=Mn[nr];this.set(Lr[0],Lr[1])}}function un(){this.__data__=nn?nn(null):{},this.size=0}function Ht(Mn){var nr=this.has(Mn)&&delete this.__data__[Mn];return this.size-=nr?1:0,nr}function jn(Mn){var nr=this.__data__;if(nn){var cr=nr[Mn];return cr===f?void 0:cr}return Me.call(nr,Mn)?nr[Mn]:void 0}function Ln(Mn){var nr=this.__data__;return nn?nr[Mn]!==void 0:Me.call(nr,Mn)}function Un(Mn,nr){var cr=this.__data__;return this.size+=this.has(Mn)?0:1,cr[Mn]=nn&&nr===void 0?f:nr,this}sn.prototype.clear=un,sn.prototype.delete=Ht,sn.prototype.get=jn,sn.prototype.has=Ln,sn.prototype.set=Un;function lt(Mn){var nr=-1,cr=Mn==null?0:Mn.length;for(this.clear();++nr<cr;){var Lr=Mn[nr];this.set(Lr[0],Lr[1])}}function Nt(){this.__data__=[],this.size=0}function zt(Mn){var nr=this.__data__,cr=ar(nr,Mn);if(cr<0)return!1;var Lr=nr.length-1;return cr==Lr?nr.pop():nt.call(nr,cr,1),--this.size,!0}function en(Mn){var nr=this.__data__,cr=ar(nr,Mn);return cr<0?void 0:nr[cr][1]}function tn(Mn){return ar(this.__data__,Mn)>-1}function wn(Mn,nr){var cr=this.__data__,Lr=ar(cr,Mn);return Lr<0?(++this.size,cr.push([Mn,nr])):cr[Lr][1]=nr,this}lt.prototype.clear=Nt,lt.prototype.delete=zt,lt.prototype.get=en,lt.prototype.has=tn,lt.prototype.set=wn;function on(Mn){var nr=-1,cr=Mn==null?0:Mn.length;for(this.clear();++nr<cr;){var Lr=Mn[nr];this.set(Lr[0],Lr[1])}}function vn(){this.size=0,this.__data__={hash:new sn,map:new(Ft||lt),string:new sn}}function dt(Mn){var nr=sa(this,Mn).delete(Mn);return this.size-=nr?1:0,nr}function ct(Mn){return sa(this,Mn).get(Mn)}function Kt(Mn){return sa(this,Mn).has(Mn)}function pn(Mn,nr){var cr=sa(this,Mn),Lr=cr.size;return cr.set(Mn,nr),this.size+=cr.size==Lr?0:1,this}on.prototype.clear=vn,on.prototype.delete=dt,on.prototype.get=ct,on.prototype.has=Kt,on.prototype.set=pn;function kn(Mn){var nr=this.__data__=new lt(Mn);this.size=nr.size}function Pt(){this.__data__=new lt,this.size=0}function gn(Mn){var nr=this.__data__,cr=nr.delete(Mn);return this.size=nr.size,cr}function _n(Mn){return this.__data__.get(Mn)}function Kn(Mn){return this.__data__.has(Mn)}function qn(Mn,nr){var cr=this.__data__;if(cr instanceof lt){var Lr=cr.__data__;if(!Ft||Lr.length<r-1)return Lr.push([Mn,nr]),this.size=++cr.size,this;cr=this.__data__=new on(Lr)}return cr.set(Mn,nr),this.size=cr.size,this}kn.prototype.clear=Pt,kn.prototype.delete=gn,kn.prototype.get=_n,kn.prototype.has=Kn,kn.prototype.set=qn;function rr(Mn,nr){var cr=Zn(Mn),Lr=!cr&&Tn(Mn),ei=!cr&&!Lr&&Vr(Mn),ki=!cr&&!Lr&&!ei&&ai(Mn),ua=cr||Lr||ei||ki,Qi=ua?Se(Mn.length,String):[],Br=Qi.length;for(var ga in Mn)(nr||Me.call(Mn,ga))&&!(ua&&(ga=="length"||ei&&(ga=="offset"||ga=="parent")||ki&&(ga=="buffer"||ga=="byteLength"||ga=="byteOffset")||mn(ga,Br)))&&Qi.push(ga);return Qi}function Rn(Mn,nr,cr){(cr!==void 0&&!Dn(Mn[nr],cr)||cr===void 0&&!(nr in Mn))&&sr(Mn,nr,cr)}function mr(Mn,nr,cr){var Lr=Mn[nr];(!(Me.call(Mn,nr)&&Dn(Lr,cr))||cr===void 0&&!(nr in Mn))&&sr(Mn,nr,cr)}function ar(Mn,nr){for(var cr=Mn.length;cr--;)if(Dn(Mn[cr][0],nr))return cr;return-1}function sr(Mn,nr,cr){nr=="__proto__"&&Sn?Sn(Mn,nr,{configurable:!0,enumerable:!0,value:cr,writable:!0}):Mn[nr]=cr}var yr=na();function br(Mn){return Mn==null?Mn===void 0?b:T:kt&&kt in Object(Mn)?ba(Mn):xt(Mn)}function _r(Mn){return Rr(Mn)&&br(Mn)==n}function li(Mn){if(!gt(Mn)||Ze(Mn))return!1;var nr=Dr(Mn)?Xe:se;return nr.test(an(Mn))}function xi(Mn){return Rr(Mn)&&dr(Mn.length)&&!!Z[br(Mn)]}function Mi(Mn){if(!gt(Mn))return mt(Mn);var nr=Pe(Mn),cr=[];for(var Lr in Mn)Lr=="constructor"&&(nr||!Me.call(Mn,Lr))||cr.push(Lr);return cr}function Fr(Mn,nr,cr,Lr,ei){Mn!==nr&&yr(nr,function(ki,ua){if(ei||(ei=new kn),gt(ki))ur(Mn,nr,ua,cr,Fr,Lr,ei);else{var Qi=Lr?Lr(Ut(Mn,ua),ki,ua+"",Mn,nr,ei):void 0;Qi===void 0&&(Qi=ki),Rn(Mn,ua,Qi)}},zr)}function ur(Mn,nr,cr,Lr,ei,ki,ua){var Qi=Ut(Mn,cr),Br=Ut(nr,cr),ga=ua.get(Br);if(ga){Rn(Mn,cr,ga);return}var fa=ki?ki(Qi,Br,cr+"",Mn,nr,ua):void 0,Ja=fa===void 0;if(Ja){var In=Zn(Br),ve=!In&&Vr(Br),x=!In&&!ve&&ai(Br);fa=Br,In||ve||x?Zn(Qi)?fa=Qi:xr(Qi)?fa=va(Qi):ve?(Ja=!1,fa=ca(Br,!0)):x?(Ja=!1,fa=xa(Br,!0)):fa=[]:ci(Br)||Tn(Br)?(fa=Qi,Tn(Qi)?fa=bi(Qi):(!gt(Qi)||Dr(Qi))&&(fa=ea(Br))):Ja=!1}Ja&&(ua.set(Br,fa),ei(fa,Br,Lr,ki,ua),ua.delete(Br)),Rn(Mn,cr,fa)}function Ti(Mn,nr){return wt(cn(Mn,nr,Ci),Mn+"")}var Xi=Sn?function(Mn,nr){return Sn(Mn,"toString",{configurable:!0,enumerable:!1,value:hi(nr),writable:!0})}:Ci;function ca(Mn,nr){if(nr)return Mn.slice();var cr=Mn.length,Lr=Bt?Bt(cr):new Mn.constructor(cr);return Mn.copy(Lr),Lr}function Zi(Mn){var nr=new Mn.constructor(Mn.byteLength);return new Ct(nr).set(new Ct(Mn)),nr}function xa(Mn,nr){var cr=nr?Zi(Mn.buffer):Mn.buffer;return new Mn.constructor(cr,Mn.byteOffset,Mn.length)}function va(Mn,nr){var cr=-1,Lr=Mn.length;for(nr||(nr=Array(Lr));++cr<Lr;)nr[cr]=Mn[cr];return nr}function Ma(Mn,nr,cr,Lr){var ei=!cr;cr||(cr={});for(var ki=-1,ua=nr.length;++ki<ua;){var Qi=nr[ki],Br=Lr?Lr(cr[Qi],Mn[Qi],Qi,cr,Mn):void 0;Br===void 0&&(Br=Mn[Qi]),ei?sr(cr,Qi,Br):mr(cr,Qi,Br)}return cr}function _a(Mn){return Ti(function(nr,cr){var Lr=-1,ei=cr.length,ki=ei>1?cr[ei-1]:void 0,ua=ei>2?cr[2]:void 0;for(ki=Mn.length>3&&typeof ki=="function"?(ei--,ki):void 0,ua&&It(cr[0],cr[1],ua)&&(ki=ei<3?void 0:ki,ei=1),nr=Object(nr);++Lr<ei;){var Qi=cr[Lr];Qi&&Mn(nr,Qi,Lr,ki)}return nr})}function na(Mn){return function(nr,cr,Lr){for(var ei=-1,ki=Object(nr),ua=Lr(nr),Qi=ua.length;Qi--;){var Br=ua[Mn?Qi:++ei];if(cr(ki[Br],Br,ki)===!1)break}return nr}}function sa(Mn,nr){var cr=Mn.__data__;return Ue(nr)?cr[typeof nr=="string"?"string":"hash"]:cr.map}function Ai(Mn,nr){var cr=je(Mn,nr);return li(cr)?cr:void 0}function ba(Mn){var nr=Me.call(Mn,kt),cr=Mn[kt];try{Mn[kt]=void 0;var Lr=!0}catch(ki){}var ei=Re.call(Mn);return Lr&&(nr?Mn[kt]=cr:delete Mn[kt]),ei}function ea(Mn){return typeof Mn.constructor=="function"&&!Pe(Mn)?bn(qe(Mn)):{}}function mn(Mn,nr){var cr=typeof Mn;return nr=nr==null?a:nr,!!nr&&(cr=="number"||cr!="symbol"&&be.test(Mn))&&Mn>-1&&Mn%1==0&&Mn<nr}function It(Mn,nr,cr){if(!gt(cr))return!1;var Lr=typeof nr;return(Lr=="number"?Mr(cr)&&mn(nr,cr.length):Lr=="string"&&nr in cr)?Dn(cr[nr],Mn):!1}function Ue(Mn){var nr=typeof Mn;return nr=="string"||nr=="number"||nr=="symbol"||nr=="boolean"?Mn!=="__proto__":Mn===null}function Ze(Mn){return!!_e&&_e in Mn}function Pe(Mn){var nr=Mn&&Mn.constructor,cr=typeof nr=="function"&&nr.prototype||ge;return Mn===cr}function mt(Mn){var nr=[];if(Mn!=null)for(var cr in Object(Mn))nr.push(cr);return nr}function xt(Mn){return Re.call(Mn)}function cn(Mn,nr,cr){return nr=ht(nr===void 0?Mn.length-1:nr,0),function(){for(var Lr=arguments,ei=-1,ki=ht(Lr.length-nr,0),ua=Array(ki);++ei<ki;)ua[ei]=Lr[nr+ei];ei=-1;for(var Qi=Array(nr+1);++ei<nr;)Qi[ei]=Lr[ei];return Qi[nr]=cr(ua),ae(Mn,this,Qi)}}function Ut(Mn,nr){if(!(nr==="constructor"&&typeof Mn[nr]=="function")&&nr!="__proto__")return Mn[nr]}var wt=Pn(Xi);function Pn(Mn){var nr=0,cr=0;return function(){var Lr=Rt(),ei=i-(Lr-cr);if(cr=Lr,ei>0){if(++nr>=o)return arguments[0]}else nr=0;return Mn.apply(void 0,arguments)}}function an(Mn){if(Mn!=null){try{return Ee.call(Mn)}catch(nr){}try{return Mn+""}catch(nr){}}return""}function Dn(Mn,nr){return Mn===nr||Mn!==Mn&&nr!==nr}var Tn=_r(function(){return arguments}())?_r:function(Mn){return Rr(Mn)&&Me.call(Mn,"callee")&&!ut.call(Mn,"callee")},Zn=Array.isArray;function Mr(Mn){return Mn!=null&&dr(Mn.length)&&!Dr(Mn)}function xr(Mn){return Rr(Mn)&&Mr(Mn)}var Vr=Tt||Ii;function Dr(Mn){if(!gt(Mn))return!1;var nr=br(Mn);return nr==p||nr==w||nr==m||nr==Y}function dr(Mn){return typeof Mn=="number"&&Mn>-1&&Mn%1==0&&Mn<=a}function gt(Mn){var nr=typeof Mn;return Mn!=null&&(nr=="object"||nr=="function")}function Rr(Mn){return Mn!=null&&typeof Mn=="object"}function ci(Mn){if(!Rr(Mn)||br(Mn)!=I)return!1;var nr=qe(Mn);if(nr===null)return!0;var cr=Me.call(nr,"constructor")&&nr.constructor;return typeof cr=="function"&&cr instanceof cr&&Ee.call(cr)==et}var ai=pe?Te(pe):xi;function bi(Mn){return Ma(Mn,zr(Mn))}function zr(Mn){return Mr(Mn)?rr(Mn,!0):Mi(Mn)}var Hi=_a(function(Mn,nr,cr){Fr(Mn,nr,cr)});function hi(Mn){return function(){return Mn}}function Ci(Mn){return Mn}function Ii(){return!1}c.exports=Hi}).call(this,e("IyRk"),e("hOG+")(Ie))},"2qc2":function(Ie,M,e){"use strict";(function(u){e.d(M,"a",function(){return _u});var c=e("q1tI"),r=e.n(c),f=e("LvDl"),o=e.n(f),i=e("17x9"),a=e.n(i),n=e("mq2a"),v=e("uM7l"),m=e.n(v),h=e("cvCv"),t=e.n(h),l=e("xkGU"),p=e.n(l),w=e("k4Da"),S=e.n(w),k=e("OFL0"),T=e.n(k),I=e("Z0cm"),Y=e.n(I),$=e("E+oP"),A=e.n($),g=e("lSCD"),b=e.n(g),d=e("TP7S"),O=e.n(d),E=e("7GkX"),D=e.n(E),W=e("3WF5"),te=e.n(W),re=e("xaJk"),ye=e.n(re),q=e("1iNE"),oe=e.n(q),he=e("UMpK"),ue=e.n(he),ne=e("v8eK"),se=e.n(ne),be=e("P/G1"),Z=e.n(be),ee=e("BkRI"),ce=e.n(ee),R=e("la6v"),y=e.n(R),C=e("J2m7"),z=e.n(C),G=e("TYy9"),X=e.n(G),pe=e("bNQv"),ae=e.n(pe),Se=e("mUg4"),Te=e.n(Se),je=e("RBan"),ft=e.n(je),fe=e("noZS"),ie=e.n(fe),ge=e("q92V"),Ve=e.n(ge),Ee=e("QkVN"),Me=e.n(Ee),_e=e("AE40"),Re=e.n(_e),et=e("gPaA"),Xe=e.n(et),it=e("QIyF"),bt=e.n(it),Ct=e("JZM8"),Bt=e.n(Ct),qe=e("WjpJ"),st=e.n(qe),ut=e("xweI"),nt=e.n(ut),kt=e("mNz5"),Sn=e.n(kt),Tt=e("VJLA"),ht=e.n(Tt),Rt=e("TSYQ"),Ft=e.n(Rt),nn=e("3S7+");function bn($e,ot){var _t=Object.keys($e);if(Object.getOwnPropertySymbols){var dn=Object.getOwnPropertySymbols($e);ot&&(dn=dn.filter(function(xn){return Object.getOwnPropertyDescriptor($e,xn).enumerable})),_t.push.apply(_t,dn)}return _t}function sn($e){for(var ot=1;ot<arguments.length;ot++){var _t=arguments[ot]!=null?arguments[ot]:{};ot%2?bn(Object(_t),!0).forEach(function(dn){Ht($e,dn,_t[dn])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(_t)):bn(Object(_t)).forEach(function(dn){Object.defineProperty($e,dn,Object.getOwnPropertyDescriptor(_t,dn))})}return $e}function un($e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?un=function(_t){return typeof _t}:un=function(_t){return _t&&typeof Symbol=="function"&&_t.constructor===Symbol&&_t!==Symbol.prototype?"symbol":typeof _t},un($e)}function Ht($e,ot,_t){return ot in $e?Object.defineProperty($e,ot,{value:_t,enumerable:!0,configurable:!0,writable:!0}):$e[ot]=_t,$e}function jn($e,ot){return Ln($e)||Un($e,ot)||lt($e,ot)||zt()}function Ln($e){if(Array.isArray($e))return $e}function Un($e,ot){var _t=$e==null?null:typeof Symbol!="undefined"&&$e[Symbol.iterator]||$e["@@iterator"];if(_t!=null){var dn=[],xn=!0,Hn=!1,er,Nr;try{for(_t=_t.call($e);!(xn=(er=_t.next()).done)&&(dn.push(er.value),!(ot&&dn.length===ot));xn=!0);}catch(Zr){Hn=!0,Nr=Zr}finally{try{!xn&&_t.return!=null&&_t.return()}finally{if(Hn)throw Nr}}return dn}}function lt($e,ot){if(!!$e){if(typeof $e=="string")return Nt($e,ot);var _t=Object.prototype.toString.call($e).slice(8,-1);if(_t==="Object"&&$e.constructor&&(_t=$e.constructor.name),_t==="Map"||_t==="Set")return Array.from($e);if(_t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_t))return Nt($e,ot)}}function Nt($e,ot){(ot==null||ot>$e.length)&&(ot=$e.length);for(var _t=0,dn=new Array(ot);_t<ot;_t++)dn[_t]=$e[_t];return dn}function zt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function en($e,ot){var _t=typeof Symbol!="undefined"&&$e[Symbol.iterator]||$e["@@iterator"];if(!_t){if(Array.isArray($e)||(_t=lt($e))||ot&&$e&&typeof $e.length=="number"){_t&&($e=_t);var dn=0,xn=function(){};return{s:xn,n:function(){return dn>=$e.length?{done:!0}:{done:!1,value:$e[dn++]}},e:function(rt){throw rt},f:xn}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Hn=!0,er=!1,Nr;return{s:function(){_t=_t.call($e)},n:function(){var rt=_t.next();return Hn=rt.done,rt},e:function(rt){er=!0,Nr=rt},f:function(){try{!Hn&&_t.return!=null&&_t.return()}finally{if(er)throw Nr}}}}var tn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof u!="undefined"?u:typeof self!="undefined"?self:{};function wn($e){var ot={exports:{}};return $e(ot,ot.exports),ot.exports}function on($e){throw new Error('Could not dynamically require "'+$e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}var vn=wn(function($e){(function(ot,_t){$e.exports=ot.document?_t(ot,!0):function(dn){if(!dn.document)throw new Error("jQuery requires a window with a document");return _t(dn)}})(typeof window!="undefined"?window:tn,function(ot,_t){var dn=[],xn=Object.getPrototypeOf,Hn=dn.slice,er=function(Ne){return dn.concat.apply([],Ne)},Nr=dn.push,Zr=dn.indexOf,rt={},Fe=rt.toString,Et=rt.hasOwnProperty,at=Et.toString,At=at.call(Object),En={},Gn=function(Ne){return typeof Ne=="function"&&typeof Ne.nodeType!="number"&&typeof Ne.item!="function"},lr=function(Ne){return Ne!=null&&Ne===Ne.window},pr=ot.document,Gr={type:!0,src:!0,nonce:!0,noModule:!0};function Hr(jt,Ne,vt){vt=vt||pr;var Mt,On,Fn=vt.createElement("script");if(Fn.text=jt,Ne)for(Mt in Gr)On=Ne[Mt]||Ne.getAttribute&&Ne.getAttribute(Mt),On&&Fn.setAttribute(Mt,On);vt.head.appendChild(Fn).parentNode.removeChild(Fn)}function _i(jt){return jt==null?jt+"":un(jt)==="object"||typeof jt=="function"?rt[Fe.call(jt)]||"object":un(jt)}var Gi="3.6.0",Dt=function jt(Ne,vt){return new jt.fn.init(Ne,vt)};Dt.fn=Dt.prototype={jquery:Gi,constructor:Dt,length:0,toArray:function(){return Hn.call(this)},get:function(Ne){return Ne==null?Hn.call(this):Ne<0?this[Ne+this.length]:this[Ne]},pushStack:function(Ne){var vt=Dt.merge(this.constructor(),Ne);return vt.prevObject=this,vt},each:function(Ne){return Dt.each(this,Ne)},map:function(Ne){return this.pushStack(Dt.map(this,function(vt,Mt){return Ne.call(vt,Mt,vt)}))},slice:function(){return this.pushStack(Hn.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Dt.grep(this,function(Ne,vt){return(vt+1)%2}))},odd:function(){return this.pushStack(Dt.grep(this,function(Ne,vt){return vt%2}))},eq:function(Ne){var vt=this.length,Mt=+Ne+(Ne<0?vt:0);return this.pushStack(Mt>=0&&Mt<vt?[this[Mt]]:[])},end:function(){return this.prevObject||this.constructor()},push:Nr,sort:dn.sort,splice:dn.splice},Dt.extend=Dt.fn.extend=function(){var jt,Ne,vt,Mt,On,Fn,Qn=arguments[0]||{},gr=1,Xr=arguments.length,mi=!1;for(typeof Qn=="boolean"&&(mi=Qn,Qn=arguments[gr]||{},gr++),un(Qn)!=="object"&&!Gn(Qn)&&(Qn={}),gr===Xr&&(Qn=this,gr--);gr<Xr;gr++)if((jt=arguments[gr])!=null)for(Ne in jt)Mt=jt[Ne],!(Ne==="__proto__"||Qn===Mt)&&(mi&&Mt&&(Dt.isPlainObject(Mt)||(On=Array.isArray(Mt)))?(vt=Qn[Ne],On&&!Array.isArray(vt)?Fn=[]:!On&&!Dt.isPlainObject(vt)?Fn={}:Fn=vt,On=!1,Qn[Ne]=Dt.extend(mi,Fn,Mt)):Mt!==void 0&&(Qn[Ne]=Mt));return Qn},Dt.extend({expando:"jQuery"+(Gi+Math.random()).replace(/\D/g,""),isReady:!0,error:function(Ne){throw new Error(Ne)},noop:function(){},isPlainObject:function(Ne){var vt,Mt;return!Ne||Fe.call(Ne)!=="[object Object]"?!1:(vt=xn(Ne),vt?(Mt=Et.call(vt,"constructor")&&vt.constructor,typeof Mt=="function"&&at.call(Mt)===At):!0)},isEmptyObject:function(Ne){var vt;for(vt in Ne)return!1;return!0},globalEval:function(Ne,vt,Mt){Hr(Ne,{nonce:vt&&vt.nonce},Mt)},each:function(Ne,vt){var Mt,On=0;if(ta(Ne))for(Mt=Ne.length;On<Mt&&vt.call(Ne[On],On,Ne[On])!==!1;On++);else for(On in Ne)if(vt.call(Ne[On],On,Ne[On])===!1)break;return Ne},makeArray:function(Ne,vt){var Mt=vt||[];return Ne!=null&&(ta(Object(Ne))?Dt.merge(Mt,typeof Ne=="string"?[Ne]:Ne):Nr.call(Mt,Ne)),Mt},inArray:function(Ne,vt,Mt){return vt==null?-1:Zr.call(vt,Ne,Mt)},merge:function(Ne,vt){for(var Mt=+vt.length,On=0,Fn=Ne.length;On<Mt;On++)Ne[Fn++]=vt[On];return Ne.length=Fn,Ne},grep:function(Ne,vt,Mt){for(var On,Fn=[],Qn=0,gr=Ne.length,Xr=!Mt;Qn<gr;Qn++)On=!vt(Ne[Qn],Qn),On!==Xr&&Fn.push(Ne[Qn]);return Fn},map:function(Ne,vt,Mt){var On,Fn,Qn=0,gr=[];if(ta(Ne))for(On=Ne.length;Qn<On;Qn++)Fn=vt(Ne[Qn],Qn,Mt),Fn!=null&&gr.push(Fn);else for(Qn in Ne)Fn=vt(Ne[Qn],Qn,Mt),Fn!=null&&gr.push(Fn);return er(gr)},guid:1,support:En}),typeof Symbol=="function"&&(Dt.fn[Symbol.iterator]=dn[Symbol.iterator]),Dt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(jt,Ne){rt["[object "+Ne+"]"]=Ne.toLowerCase()});function ta(jt){var Ne=!!jt&&"length"in jt&&jt.length,vt=_i(jt);return Gn(jt)||lr(jt)?!1:vt==="array"||Ne===0||typeof Ne=="number"&&Ne>0&&Ne-1 in jt}var Ji=function(jt){var Ne,vt,Mt,On,Fn,Qn,gr,Xr,mi,qi,Ka,Xa,Ni,Ia,zo,Bo,Ys,iu,ju,Vs="sizzle"+1*new Date,ml=jt.document,as=0,hc=0,Dl=ui(),Ll=ui(),wl=ui(),Bc=ui(),xu=function(wr,Di){return wr===Di&&(Ka=!0),0},Ec={}.hasOwnProperty,tl=[],vc=tl.pop,gc=tl.push,Wl=tl.push,Pd=tl.slice,Sc=function(wr,Di){for(var aa=0,Ki=wr.length;aa<Ki;aa++)if(wr[aa]===Di)return aa;return-1},md="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Qs="[\\x20\\t\\r\\n\\f]",jc="(?:\\\\[\\da-fA-F]{1,6}"+Qs+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Td="\\["+Qs+"*("+jc+")(?:"+Qs+"*([*^$|!~]?=)"+Qs+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+jc+"))|)"+Qs+"*\\]",pd=":("+jc+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Td+")*)|.*)\\)|)",$d=new RegExp(Qs+"+","g"),ad=new RegExp("^"+Qs+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Qs+"+$","g"),Gd=new RegExp("^"+Qs+"*,"+Qs+"*"),od=new RegExp("^"+Qs+"*([>+~]|"+Qs+")"+Qs+"*"),V=new RegExp(Qs+"|>"),De=new RegExp(pd),L=new RegExp("^"+jc+"$"),P={ID:new RegExp("^#("+jc+")"),CLASS:new RegExp("^\\.("+jc+")"),TAG:new RegExp("^("+jc+"|[*])"),ATTR:new RegExp("^"+Td),PSEUDO:new RegExp("^"+pd),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Qs+"*(even|odd|(([+-]|)(\\d*)n|)"+Qs+"*(?:([+-]|)"+Qs+"*(\\d+)|))"+Qs+"*\\)|)","i"),bool:new RegExp("^(?:"+md+")$","i"),needsContext:new RegExp("^"+Qs+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Qs+"*((?:-\\d)?\\d*)"+Qs+"*\\)|)(?=[^-]|$)","i")},j=/HTML$/i,H=/^(?:input|select|textarea|button)$/i,Ce=/^h\d$/i,ze=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Zt=/[+~]/,Wt=new RegExp("\\\\[\\da-fA-F]{1,6}"+Qs+"?|\\\\([^\\r\\n\\f])","g"),yn=function(wr,Di){var aa="0x"+wr.slice(1)-65536;return Di||(aa<0?String.fromCharCode(aa+65536):String.fromCharCode(aa>>10|55296,aa&1023|56320))},tr=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Er=function(wr,Di){return Di?wr==="\0"?"\uFFFD":wr.slice(0,-1)+"\\"+wr.charCodeAt(wr.length-1).toString(16)+" ":"\\"+wr},ni=function(){Xa()},Oi=Wu(function(Jr){return Jr.disabled===!0&&Jr.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Wl.apply(tl=Pd.call(ml.childNodes),ml.childNodes),tl[ml.childNodes.length].nodeType}catch(Jr){Wl={apply:tl.length?function(wr,Di){gc.apply(wr,Pd.call(Di))}:function(wr,Di){for(var aa=wr.length,Ki=0;wr[aa++]=Di[Ki++];);wr.length=aa-1}}}function oi(Jr,wr,Di,aa){var Ki,Da,Ga,ao,_o,Ro,Zo,os=wr&&wr.ownerDocument,Ls=wr?wr.nodeType:9;if(Di=Di||[],typeof Jr!="string"||!Jr||Ls!==1&&Ls!==9&&Ls!==11)return Di;if(!aa&&(Xa(wr),wr=wr||Ni,zo)){if(Ls!==11&&(_o=yt.exec(Jr)))if(Ki=_o[1]){if(Ls===9)if(Ga=wr.getElementById(Ki)){if(Ga.id===Ki)return Di.push(Ga),Di}else return Di;else if(os&&(Ga=os.getElementById(Ki))&&ju(wr,Ga)&&Ga.id===Ki)return Di.push(Ga),Di}else{if(_o[2])return Wl.apply(Di,wr.getElementsByTagName(Jr)),Di;if((Ki=_o[3])&&vt.getElementsByClassName&&wr.getElementsByClassName)return Wl.apply(Di,wr.getElementsByClassName(Ki)),Di}if(vt.qsa&&!Bc[Jr+" "]&&(!Bo||!Bo.test(Jr))&&(Ls!==1||wr.nodeName.toLowerCase()!=="object")){if(Zo=Jr,os=wr,Ls===1&&(V.test(Jr)||od.test(Jr))){for(os=Zt.test(Jr)&&nl(wr.parentNode)||wr,(os!==wr||!vt.scope)&&((ao=wr.getAttribute("id"))?ao=ao.replace(tr,Er):wr.setAttribute("id",ao=Vs)),Ro=Qn(Jr),Da=Ro.length;Da--;)Ro[Da]=(ao?"#"+ao:":scope")+" "+tu(Ro[Da]);Zo=Ro.join(",")}try{return Wl.apply(Di,os.querySelectorAll(Zo)),Di}catch(pl){Bc(Jr,!0)}finally{ao===Vs&&wr.removeAttribute("id")}}}return Xr(Jr.replace(ad,"$1"),wr,Di,aa)}function ui(){var Jr=[];function wr(Di,aa){return Jr.push(Di+" ")>Mt.cacheLength&&delete wr[Jr.shift()],wr[Di+" "]=aa}return wr}function Bi(Jr){return Jr[Vs]=!0,Jr}function Pa(Jr){var wr=Ni.createElement("fieldset");try{return!!Jr(wr)}catch(Di){return!1}finally{wr.parentNode&&wr.parentNode.removeChild(wr),wr=null}}function za(Jr,wr){for(var Di=Jr.split("|"),aa=Di.length;aa--;)Mt.attrHandle[Di[aa]]=wr}function wo(Jr,wr){var Di=wr&&Jr,aa=Di&&Jr.nodeType===1&&wr.nodeType===1&&Jr.sourceIndex-wr.sourceIndex;if(aa)return aa;if(Di){for(;Di=Di.nextSibling;)if(Di===wr)return-1}return Jr?1:-1}function yo(Jr){return function(wr){var Di=wr.nodeName.toLowerCase();return Di==="input"&&wr.type===Jr}}function bs(Jr){return function(wr){var Di=wr.nodeName.toLowerCase();return(Di==="input"||Di==="button")&&wr.type===Jr}}function Xo(Jr){return function(wr){return"form"in wr?wr.parentNode&&wr.disabled===!1?"label"in wr?"label"in wr.parentNode?wr.parentNode.disabled===Jr:wr.disabled===Jr:wr.isDisabled===Jr||wr.isDisabled!==!Jr&&Oi(wr)===Jr:wr.disabled===Jr:"label"in wr?wr.disabled===Jr:!1}}function zs(Jr){return Bi(function(wr){return wr=+wr,Bi(function(Di,aa){for(var Ki,Da=Jr([],Di.length,wr),Ga=Da.length;Ga--;)Di[Ki=Da[Ga]]&&(Di[Ki]=!(aa[Ki]=Di[Ki]))})})}function nl(Jr){return Jr&&typeof Jr.getElementsByTagName!="undefined"&&Jr}vt=oi.support={},Fn=oi.isXML=function(Jr){var wr=Jr&&Jr.namespaceURI,Di=Jr&&(Jr.ownerDocument||Jr).documentElement;return!j.test(wr||Di&&Di.nodeName||"HTML")},Xa=oi.setDocument=function(Jr){var wr,Di,aa=Jr?Jr.ownerDocument||Jr:ml;return aa==Ni||aa.nodeType!==9||!aa.documentElement||(Ni=aa,Ia=Ni.documentElement,zo=!Fn(Ni),ml!=Ni&&(Di=Ni.defaultView)&&Di.top!==Di&&(Di.addEventListener?Di.addEventListener("unload",ni,!1):Di.attachEvent&&Di.attachEvent("onunload",ni)),vt.scope=Pa(function(Ki){return Ia.appendChild(Ki).appendChild(Ni.createElement("div")),typeof Ki.querySelectorAll!="undefined"&&!Ki.querySelectorAll(":scope fieldset div").length}),vt.attributes=Pa(function(Ki){return Ki.className="i",!Ki.getAttribute("className")}),vt.getElementsByTagName=Pa(function(Ki){return Ki.appendChild(Ni.createComment("")),!Ki.getElementsByTagName("*").length}),vt.getElementsByClassName=ze.test(Ni.getElementsByClassName),vt.getById=Pa(function(Ki){return Ia.appendChild(Ki).id=Vs,!Ni.getElementsByName||!Ni.getElementsByName(Vs).length}),vt.getById?(Mt.filter.ID=function(Ki){var Da=Ki.replace(Wt,yn);return function(Ga){return Ga.getAttribute("id")===Da}},Mt.find.ID=function(Ki,Da){if(typeof Da.getElementById!="undefined"&&zo){var Ga=Da.getElementById(Ki);return Ga?[Ga]:[]}}):(Mt.filter.ID=function(Ki){var Da=Ki.replace(Wt,yn);return function(Ga){var ao=typeof Ga.getAttributeNode!="undefined"&&Ga.getAttributeNode("id");return ao&&ao.value===Da}},Mt.find.ID=function(Ki,Da){if(typeof Da.getElementById!="undefined"&&zo){var Ga,ao,_o,Ro=Da.getElementById(Ki);if(Ro){if(Ga=Ro.getAttributeNode("id"),Ga&&Ga.value===Ki)return[Ro];for(_o=Da.getElementsByName(Ki),ao=0;Ro=_o[ao++];)if(Ga=Ro.getAttributeNode("id"),Ga&&Ga.value===Ki)return[Ro]}return[]}}),Mt.find.TAG=vt.getElementsByTagName?function(Ki,Da){if(typeof Da.getElementsByTagName!="undefined")return Da.getElementsByTagName(Ki);if(vt.qsa)return Da.querySelectorAll(Ki)}:function(Ki,Da){var Ga,ao=[],_o=0,Ro=Da.getElementsByTagName(Ki);if(Ki==="*"){for(;Ga=Ro[_o++];)Ga.nodeType===1&&ao.push(Ga);return ao}return Ro},Mt.find.CLASS=vt.getElementsByClassName&&function(Ki,Da){if(typeof Da.getElementsByClassName!="undefined"&&zo)return Da.getElementsByClassName(Ki)},Ys=[],Bo=[],(vt.qsa=ze.test(Ni.querySelectorAll))&&(Pa(function(Ki){var Da;Ia.appendChild(Ki).innerHTML="<a id='"+Vs+"'></a><select id='"+Vs+"-\r\\' msallowcapture=''><option selected=''></option></select>",Ki.querySelectorAll("[msallowcapture^='']").length&&Bo.push("[*^$]="+Qs+`*(?:''|"")`),Ki.querySelectorAll("[selected]").length||Bo.push("\\["+Qs+"*(?:value|"+md+")"),Ki.querySelectorAll("[id~="+Vs+"-]").length||Bo.push("~="),Da=Ni.createElement("input"),Da.setAttribute("name",""),Ki.appendChild(Da),Ki.querySelectorAll("[name='']").length||Bo.push("\\["+Qs+"*name"+Qs+"*="+Qs+`*(?:''|"")`),Ki.querySelectorAll(":checked").length||Bo.push(":checked"),Ki.querySelectorAll("a#"+Vs+"+*").length||Bo.push(".#.+[+~]"),Ki.querySelectorAll("\\\f"),Bo.push("[\\r\\n\\f]")}),Pa(function(Ki){Ki.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var Da=Ni.createElement("input");Da.setAttribute("type","hidden"),Ki.appendChild(Da).setAttribute("name","D"),Ki.querySelectorAll("[name=d]").length&&Bo.push("name"+Qs+"*[*^$|!~]?="),Ki.querySelectorAll(":enabled").length!==2&&Bo.push(":enabled",":disabled"),Ia.appendChild(Ki).disabled=!0,Ki.querySelectorAll(":disabled").length!==2&&Bo.push(":enabled",":disabled"),Ki.querySelectorAll("*,:x"),Bo.push(",.*:")})),(vt.matchesSelector=ze.test(iu=Ia.matches||Ia.webkitMatchesSelector||Ia.mozMatchesSelector||Ia.oMatchesSelector||Ia.msMatchesSelector))&&Pa(function(Ki){vt.disconnectedMatch=iu.call(Ki,"*"),iu.call(Ki,"[s!='']:x"),Ys.push("!=",pd)}),Bo=Bo.length&&new RegExp(Bo.join("|")),Ys=Ys.length&&new RegExp(Ys.join("|")),wr=ze.test(Ia.compareDocumentPosition),ju=wr||ze.test(Ia.contains)?function(Ki,Da){var Ga=Ki.nodeType===9?Ki.documentElement:Ki,ao=Da&&Da.parentNode;return Ki===ao||!!(ao&&ao.nodeType===1&&(Ga.contains?Ga.contains(ao):Ki.compareDocumentPosition&&Ki.compareDocumentPosition(ao)&16))}:function(Ki,Da){if(Da){for(;Da=Da.parentNode;)if(Da===Ki)return!0}return!1},xu=wr?function(Ki,Da){if(Ki===Da)return Ka=!0,0;var Ga=!Ki.compareDocumentPosition-!Da.compareDocumentPosition;return Ga||(Ga=(Ki.ownerDocument||Ki)==(Da.ownerDocument||Da)?Ki.compareDocumentPosition(Da):1,Ga&1||!vt.sortDetached&&Da.compareDocumentPosition(Ki)===Ga?Ki==Ni||Ki.ownerDocument==ml&&ju(ml,Ki)?-1:Da==Ni||Da.ownerDocument==ml&&ju(ml,Da)?1:qi?Sc(qi,Ki)-Sc(qi,Da):0:Ga&4?-1:1)}:function(Ki,Da){if(Ki===Da)return Ka=!0,0;var Ga,ao=0,_o=Ki.parentNode,Ro=Da.parentNode,Zo=[Ki],os=[Da];if(!_o||!Ro)return Ki==Ni?-1:Da==Ni?1:_o?-1:Ro?1:qi?Sc(qi,Ki)-Sc(qi,Da):0;if(_o===Ro)return wo(Ki,Da);for(Ga=Ki;Ga=Ga.parentNode;)Zo.unshift(Ga);for(Ga=Da;Ga=Ga.parentNode;)os.unshift(Ga);for(;Zo[ao]===os[ao];)ao++;return ao?wo(Zo[ao],os[ao]):Zo[ao]==ml?-1:os[ao]==ml?1:0}),Ni},oi.matches=function(Jr,wr){return oi(Jr,null,null,wr)},oi.matchesSelector=function(Jr,wr){if(Xa(Jr),vt.matchesSelector&&zo&&!Bc[wr+" "]&&(!Ys||!Ys.test(wr))&&(!Bo||!Bo.test(wr)))try{var Di=iu.call(Jr,wr);if(Di||vt.disconnectedMatch||Jr.document&&Jr.document.nodeType!==11)return Di}catch(aa){Bc(wr,!0)}return oi(wr,Ni,null,[Jr]).length>0},oi.contains=function(Jr,wr){return(Jr.ownerDocument||Jr)!=Ni&&Xa(Jr),ju(Jr,wr)},oi.attr=function(Jr,wr){(Jr.ownerDocument||Jr)!=Ni&&Xa(Jr);var Di=Mt.attrHandle[wr.toLowerCase()],aa=Di&&Ec.call(Mt.attrHandle,wr.toLowerCase())?Di(Jr,wr,!zo):void 0;return aa!==void 0?aa:vt.attributes||!zo?Jr.getAttribute(wr):(aa=Jr.getAttributeNode(wr))&&aa.specified?aa.value:null},oi.escape=function(Jr){return(Jr+"").replace(tr,Er)},oi.error=function(Jr){throw new Error("Syntax error, unrecognized expression: "+Jr)},oi.uniqueSort=function(Jr){var wr,Di=[],aa=0,Ki=0;if(Ka=!vt.detectDuplicates,qi=!vt.sortStable&&Jr.slice(0),Jr.sort(xu),Ka){for(;wr=Jr[Ki++];)wr===Jr[Ki]&&(aa=Di.push(Ki));for(;aa--;)Jr.splice(Di[aa],1)}return qi=null,Jr},On=oi.getText=function(Jr){var wr,Di="",aa=0,Ki=Jr.nodeType;if(Ki){if(Ki===1||Ki===9||Ki===11){if(typeof Jr.textContent=="string")return Jr.textContent;for(Jr=Jr.firstChild;Jr;Jr=Jr.nextSibling)Di+=On(Jr)}else if(Ki===3||Ki===4)return Jr.nodeValue}else for(;wr=Jr[aa++];)Di+=On(wr);return Di},Mt=oi.selectors={cacheLength:50,createPseudo:Bi,match:P,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(wr){return wr[1]=wr[1].replace(Wt,yn),wr[3]=(wr[3]||wr[4]||wr[5]||"").replace(Wt,yn),wr[2]==="~="&&(wr[3]=" "+wr[3]+" "),wr.slice(0,4)},CHILD:function(wr){return wr[1]=wr[1].toLowerCase(),wr[1].slice(0,3)==="nth"?(wr[3]||oi.error(wr[0]),wr[4]=+(wr[4]?wr[5]+(wr[6]||1):2*(wr[3]==="even"||wr[3]==="odd")),wr[5]=+(wr[7]+wr[8]||wr[3]==="odd")):wr[3]&&oi.error(wr[0]),wr},PSEUDO:function(wr){var Di,aa=!wr[6]&&wr[2];return P.CHILD.test(wr[0])?null:(wr[3]?wr[2]=wr[4]||wr[5]||"":aa&&De.test(aa)&&(Di=Qn(aa,!0))&&(Di=aa.indexOf(")",aa.length-Di)-aa.length)&&(wr[0]=wr[0].slice(0,Di),wr[2]=aa.slice(0,Di)),wr.slice(0,3))}},filter:{TAG:function(wr){var Di=wr.replace(Wt,yn).toLowerCase();return wr==="*"?function(){return!0}:function(aa){return aa.nodeName&&aa.nodeName.toLowerCase()===Di}},CLASS:function(wr){var Di=Dl[wr+" "];return Di||(Di=new RegExp("(^|"+Qs+")"+wr+"("+Qs+"|$)"))&&Dl(wr,function(aa){return Di.test(typeof aa.className=="string"&&aa.className||typeof aa.getAttribute!="undefined"&&aa.getAttribute("class")||"")})},ATTR:function(wr,Di,aa){return function(Ki){var Da=oi.attr(Ki,wr);return Da==null?Di==="!=":Di?(Da+="",Di==="="?Da===aa:Di==="!="?Da!==aa:Di==="^="?aa&&Da.indexOf(aa)===0:Di==="*="?aa&&Da.indexOf(aa)>-1:Di==="$="?aa&&Da.slice(-aa.length)===aa:Di==="~="?(" "+Da.replace($d," ")+" ").indexOf(aa)>-1:Di==="|="?Da===aa||Da.slice(0,aa.length+1)===aa+"-":!1):!0}},CHILD:function(wr,Di,aa,Ki,Da){var Ga=wr.slice(0,3)!=="nth",ao=wr.slice(-4)!=="last",_o=Di==="of-type";return Ki===1&&Da===0?function(Ro){return!!Ro.parentNode}:function(Ro,Zo,os){var Ls,pl,dl,gs,$l,Ql,_l=Ga!==ao?"nextSibling":"previousSibling",Wc=Ro.parentNode,yd=_o&&Ro.nodeName.toLowerCase(),bd=!os&&!_o,hu=!1;if(Wc){if(Ga){for(;_l;){for(gs=Ro;gs=gs[_l];)if(_o?gs.nodeName.toLowerCase()===yd:gs.nodeType===1)return!1;Ql=_l=wr==="only"&&!Ql&&"nextSibling"}return!0}if(Ql=[ao?Wc.firstChild:Wc.lastChild],ao&&bd){for(gs=Wc,dl=gs[Vs]||(gs[Vs]={}),pl=dl[gs.uniqueID]||(dl[gs.uniqueID]={}),Ls=pl[wr]||[],$l=Ls[0]===as&&Ls[1],hu=$l&&Ls[2],gs=$l&&Wc.childNodes[$l];gs=++$l&&gs&&gs[_l]||(hu=$l=0)||Ql.pop();)if(gs.nodeType===1&&++hu&&gs===Ro){pl[wr]=[as,$l,hu];break}}else if(bd&&(gs=Ro,dl=gs[Vs]||(gs[Vs]={}),pl=dl[gs.uniqueID]||(dl[gs.uniqueID]={}),Ls=pl[wr]||[],$l=Ls[0]===as&&Ls[1],hu=$l),hu===!1)for(;(gs=++$l&&gs&&gs[_l]||(hu=$l=0)||Ql.pop())&&!((_o?gs.nodeName.toLowerCase()===yd:gs.nodeType===1)&&++hu&&(bd&&(dl=gs[Vs]||(gs[Vs]={}),pl=dl[gs.uniqueID]||(dl[gs.uniqueID]={}),pl[wr]=[as,hu]),gs===Ro)););return hu-=Da,hu===Ki||hu%Ki==0&&hu/Ki>=0}}},PSEUDO:function(wr,Di){var aa,Ki=Mt.pseudos[wr]||Mt.setFilters[wr.toLowerCase()]||oi.error("unsupported pseudo: "+wr);return Ki[Vs]?Ki(Di):Ki.length>1?(aa=[wr,wr,"",Di],Mt.setFilters.hasOwnProperty(wr.toLowerCase())?Bi(function(Da,Ga){for(var ao,_o=Ki(Da,Di),Ro=_o.length;Ro--;)ao=Sc(Da,_o[Ro]),Da[ao]=!(Ga[ao]=_o[Ro])}):function(Da){return Ki(Da,0,aa)}):Ki}},pseudos:{not:Bi(function(Jr){var wr=[],Di=[],aa=gr(Jr.replace(ad,"$1"));return aa[Vs]?Bi(function(Ki,Da,Ga,ao){for(var _o,Ro=aa(Ki,null,ao,[]),Zo=Ki.length;Zo--;)(_o=Ro[Zo])&&(Ki[Zo]=!(Da[Zo]=_o))}):function(Ki,Da,Ga){return wr[0]=Ki,aa(wr,null,Ga,Di),wr[0]=null,!Di.pop()}}),has:Bi(function(Jr){return function(wr){return oi(Jr,wr).length>0}}),contains:Bi(function(Jr){return Jr=Jr.replace(Wt,yn),function(wr){return(wr.textContent||On(wr)).indexOf(Jr)>-1}}),lang:Bi(function(Jr){return L.test(Jr||"")||oi.error("unsupported lang: "+Jr),Jr=Jr.replace(Wt,yn).toLowerCase(),function(wr){var Di;do if(Di=zo?wr.lang:wr.getAttribute("xml:lang")||wr.getAttribute("lang"))return Di=Di.toLowerCase(),Di===Jr||Di.indexOf(Jr+"-")===0;while((wr=wr.parentNode)&&wr.nodeType===1);return!1}}),target:function(wr){var Di=jt.location&&jt.location.hash;return Di&&Di.slice(1)===wr.id},root:function(wr){return wr===Ia},focus:function(wr){return wr===Ni.activeElement&&(!Ni.hasFocus||Ni.hasFocus())&&!!(wr.type||wr.href||~wr.tabIndex)},enabled:Xo(!1),disabled:Xo(!0),checked:function(wr){var Di=wr.nodeName.toLowerCase();return Di==="input"&&!!wr.checked||Di==="option"&&!!wr.selected},selected:function(wr){return wr.parentNode&&wr.parentNode.selectedIndex,wr.selected===!0},empty:function(wr){for(wr=wr.firstChild;wr;wr=wr.nextSibling)if(wr.nodeType<6)return!1;return!0},parent:function(wr){return!Mt.pseudos.empty(wr)},header:function(wr){return Ce.test(wr.nodeName)},input:function(wr){return H.test(wr.nodeName)},button:function(wr){var Di=wr.nodeName.toLowerCase();return Di==="input"&&wr.type==="button"||Di==="button"},text:function(wr){var Di;return wr.nodeName.toLowerCase()==="input"&&wr.type==="text"&&((Di=wr.getAttribute("type"))==null||Di.toLowerCase()==="text")},first:zs(function(){return[0]}),last:zs(function(Jr,wr){return[wr-1]}),eq:zs(function(Jr,wr,Di){return[Di<0?Di+wr:Di]}),even:zs(function(Jr,wr){for(var Di=0;Di<wr;Di+=2)Jr.push(Di);return Jr}),odd:zs(function(Jr,wr){for(var Di=1;Di<wr;Di+=2)Jr.push(Di);return Jr}),lt:zs(function(Jr,wr,Di){for(var aa=Di<0?Di+wr:Di>wr?wr:Di;--aa>=0;)Jr.push(aa);return Jr}),gt:zs(function(Jr,wr,Di){for(var aa=Di<0?Di+wr:Di;++aa<wr;)Jr.push(aa);return Jr})}},Mt.pseudos.nth=Mt.pseudos.eq;for(Ne in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})Mt.pseudos[Ne]=yo(Ne);for(Ne in{submit:!0,reset:!0})Mt.pseudos[Ne]=bs(Ne);function zl(){}zl.prototype=Mt.filters=Mt.pseudos,Mt.setFilters=new zl,Qn=oi.tokenize=function(Jr,wr){var Di,aa,Ki,Da,Ga,ao,_o,Ro=Ll[Jr+" "];if(Ro)return wr?0:Ro.slice(0);for(Ga=Jr,ao=[],_o=Mt.preFilter;Ga;){(!Di||(aa=Gd.exec(Ga)))&&(aa&&(Ga=Ga.slice(aa[0].length)||Ga),ao.push(Ki=[])),Di=!1,(aa=od.exec(Ga))&&(Di=aa.shift(),Ki.push({value:Di,type:aa[0].replace(ad," ")}),Ga=Ga.slice(Di.length));for(Da in Mt.filter)(aa=P[Da].exec(Ga))&&(!_o[Da]||(aa=_o[Da](aa)))&&(Di=aa.shift(),Ki.push({value:Di,type:Da,matches:aa}),Ga=Ga.slice(Di.length));if(!Di)break}return wr?Ga.length:Ga?oi.error(Jr):Ll(Jr,ao).slice(0)};function tu(Jr){for(var wr=0,Di=Jr.length,aa="";wr<Di;wr++)aa+=Jr[wr].value;return aa}function Wu(Jr,wr,Di){var aa=wr.dir,Ki=wr.next,Da=Ki||aa,Ga=Di&&Da==="parentNode",ao=hc++;return wr.first?function(_o,Ro,Zo){for(;_o=_o[aa];)if(_o.nodeType===1||Ga)return Jr(_o,Ro,Zo);return!1}:function(_o,Ro,Zo){var os,Ls,pl,dl=[as,ao];if(Zo){for(;_o=_o[aa];)if((_o.nodeType===1||Ga)&&Jr(_o,Ro,Zo))return!0}else for(;_o=_o[aa];)if(_o.nodeType===1||Ga)if(pl=_o[Vs]||(_o[Vs]={}),Ls=pl[_o.uniqueID]||(pl[_o.uniqueID]={}),Ki&&Ki===_o.nodeName.toLowerCase())_o=_o[aa]||_o;else{if((os=Ls[Da])&&os[0]===as&&os[1]===ao)return dl[2]=os[2];if(Ls[Da]=dl,dl[2]=Jr(_o,Ro,Zo))return!0}return!1}}function hs(Jr){return Jr.length>1?function(wr,Di,aa){for(var Ki=Jr.length;Ki--;)if(!Jr[Ki](wr,Di,aa))return!1;return!0}:Jr[0]}function ws(Jr,wr,Di){for(var aa=0,Ki=wr.length;aa<Ki;aa++)oi(Jr,wr[aa],Di);return Di}function fu(Jr,wr,Di,aa,Ki){for(var Da,Ga=[],ao=0,_o=Jr.length,Ro=wr!=null;ao<_o;ao++)(Da=Jr[ao])&&(!Di||Di(Da,aa,Ki))&&(Ga.push(Da),Ro&&wr.push(ao));return Ga}function au(Jr,wr,Di,aa,Ki,Da){return aa&&!aa[Vs]&&(aa=au(aa)),Ki&&!Ki[Vs]&&(Ki=au(Ki,Da)),Bi(function(Ga,ao,_o,Ro){var Zo,os,Ls,pl=[],dl=[],gs=ao.length,$l=Ga||ws(wr||"*",_o.nodeType?[_o]:_o,[]),Ql=Jr&&(Ga||!wr)?fu($l,pl,Jr,_o,Ro):$l,_l=Di?Ki||(Ga?Jr:gs||aa)?[]:ao:Ql;if(Di&&Di(Ql,_l,_o,Ro),aa)for(Zo=fu(_l,dl),aa(Zo,[],_o,Ro),os=Zo.length;os--;)(Ls=Zo[os])&&(_l[dl[os]]=!(Ql[dl[os]]=Ls));if(Ga){if(Ki||Jr){if(Ki){for(Zo=[],os=_l.length;os--;)(Ls=_l[os])&&Zo.push(Ql[os]=Ls);Ki(null,_l=[],Zo,Ro)}for(os=_l.length;os--;)(Ls=_l[os])&&(Zo=Ki?Sc(Ga,Ls):pl[os])>-1&&(Ga[Zo]=!(ao[Zo]=Ls))}}else _l=fu(_l===ao?_l.splice(gs,_l.length):_l),Ki?Ki(null,ao,_l,Ro):Wl.apply(ao,_l)})}function Dc(Jr){for(var wr,Di,aa,Ki=Jr.length,Da=Mt.relative[Jr[0].type],Ga=Da||Mt.relative[" "],ao=Da?1:0,_o=Wu(function(os){return os===wr},Ga,!0),Ro=Wu(function(os){return Sc(wr,os)>-1},Ga,!0),Zo=[function(os,Ls,pl){var dl=!Da&&(pl||Ls!==mi)||((wr=Ls).nodeType?_o(os,Ls,pl):Ro(os,Ls,pl));return wr=null,dl}];ao<Ki;ao++)if(Di=Mt.relative[Jr[ao].type])Zo=[Wu(hs(Zo),Di)];else{if(Di=Mt.filter[Jr[ao].type].apply(null,Jr[ao].matches),Di[Vs]){for(aa=++ao;aa<Ki&&!Mt.relative[Jr[aa].type];aa++);return au(ao>1&&hs(Zo),ao>1&&tu(Jr.slice(0,ao-1).concat({value:Jr[ao-2].type===" "?"*":""})).replace(ad,"$1"),Di,ao<aa&&Dc(Jr.slice(ao,aa)),aa<Ki&&Dc(Jr=Jr.slice(aa)),aa<Ki&&tu(Jr))}Zo.push(Di)}return hs(Zo)}function Id(Jr,wr){var Di=wr.length>0,aa=Jr.length>0,Ki=function(Ga,ao,_o,Ro,Zo){var os,Ls,pl,dl=0,gs="0",$l=Ga&&[],Ql=[],_l=mi,Wc=Ga||aa&&Mt.find.TAG("*",Zo),yd=as+=_l==null?1:Math.random()||.1,bd=Wc.length;for(Zo&&(mi=ao==Ni||ao||Zo);gs!==bd&&(os=Wc[gs])!=null;gs++){if(aa&&os){for(Ls=0,!ao&&os.ownerDocument!=Ni&&(Xa(os),_o=!zo);pl=Jr[Ls++];)if(pl(os,ao||Ni,_o)){Ro.push(os);break}Zo&&(as=yd)}Di&&((os=!pl&&os)&&dl--,Ga&&$l.push(os))}if(dl+=gs,Di&&gs!==dl){for(Ls=0;pl=wr[Ls++];)pl($l,Ql,ao,_o);if(Ga){if(dl>0)for(;gs--;)$l[gs]||Ql[gs]||(Ql[gs]=vc.call(Ro));Ql=fu(Ql)}Wl.apply(Ro,Ql),Zo&&!Ga&&Ql.length>0&&dl+wr.length>1&&oi.uniqueSort(Ro)}return Zo&&(as=yd,mi=_l),$l};return Di?Bi(Ki):Ki}return gr=oi.compile=function(Jr,wr){var Di,aa=[],Ki=[],Da=wl[Jr+" "];if(!Da){for(wr||(wr=Qn(Jr)),Di=wr.length;Di--;)Da=Dc(wr[Di]),Da[Vs]?aa.push(Da):Ki.push(Da);Da=wl(Jr,Id(Ki,aa)),Da.selector=Jr}return Da},Xr=oi.select=function(Jr,wr,Di,aa){var Ki,Da,Ga,ao,_o,Ro=typeof Jr=="function"&&Jr,Zo=!aa&&Qn(Jr=Ro.selector||Jr);if(Di=Di||[],Zo.length===1){if(Da=Zo[0]=Zo[0].slice(0),Da.length>2&&(Ga=Da[0]).type==="ID"&&wr.nodeType===9&&zo&&Mt.relative[Da[1].type]){if(wr=(Mt.find.ID(Ga.matches[0].replace(Wt,yn),wr)||[])[0],wr)Ro&&(wr=wr.parentNode);else return Di;Jr=Jr.slice(Da.shift().value.length)}for(Ki=P.needsContext.test(Jr)?0:Da.length;Ki--&&(Ga=Da[Ki],!Mt.relative[ao=Ga.type]);)if((_o=Mt.find[ao])&&(aa=_o(Ga.matches[0].replace(Wt,yn),Zt.test(Da[0].type)&&nl(wr.parentNode)||wr))){if(Da.splice(Ki,1),Jr=aa.length&&tu(Da),!Jr)return Wl.apply(Di,aa),Di;break}}return(Ro||gr(Jr,Zo))(aa,wr,!zo,Di,!wr||Zt.test(Jr)&&nl(wr.parentNode)||wr),Di},vt.sortStable=Vs.split("").sort(xu).join("")===Vs,vt.detectDuplicates=!!Ka,Xa(),vt.sortDetached=Pa(function(Jr){return Jr.compareDocumentPosition(Ni.createElement("fieldset"))&1}),Pa(function(Jr){return Jr.innerHTML="<a href='#'></a>",Jr.firstChild.getAttribute("href")==="#"})||za("type|href|height|width",function(Jr,wr,Di){if(!Di)return Jr.getAttribute(wr,wr.toLowerCase()==="type"?1:2)}),(!vt.attributes||!Pa(function(Jr){return Jr.innerHTML="<input/>",Jr.firstChild.setAttribute("value",""),Jr.firstChild.getAttribute("value")===""}))&&za("value",function(Jr,wr,Di){if(!Di&&Jr.nodeName.toLowerCase()==="input")return Jr.defaultValue}),Pa(function(Jr){return Jr.getAttribute("disabled")==null})||za(md,function(Jr,wr,Di){var aa;if(!Di)return Jr[wr]===!0?wr.toLowerCase():(aa=Jr.getAttributeNode(wr))&&aa.specified?aa.value:null}),oi}(ot);Dt.find=Ji,Dt.expr=Ji.selectors,Dt.expr[":"]=Dt.expr.pseudos,Dt.uniqueSort=Dt.unique=Ji.uniqueSort,Dt.text=Ji.getText,Dt.isXMLDoc=Ji.isXML,Dt.contains=Ji.contains,Dt.escapeSelector=Ji.escape;var la=function(Ne,vt,Mt){for(var On=[],Fn=Mt!==void 0;(Ne=Ne[vt])&&Ne.nodeType!==9;)if(Ne.nodeType===1){if(Fn&&Dt(Ne).is(Mt))break;On.push(Ne)}return On},Aa=function(Ne,vt){for(var Mt=[];Ne;Ne=Ne.nextSibling)Ne.nodeType===1&&Ne!==vt&&Mt.push(Ne);return Mt},ja=Dt.expr.match.needsContext;function Ta(jt,Ne){return jt.nodeName&&jt.nodeName.toLowerCase()===Ne.toLowerCase()}var io=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function to(jt,Ne,vt){return Gn(Ne)?Dt.grep(jt,function(Mt,On){return!!Ne.call(Mt,On,Mt)!==vt}):Ne.nodeType?Dt.grep(jt,function(Mt){return Mt===Ne!==vt}):typeof Ne!="string"?Dt.grep(jt,function(Mt){return Zr.call(Ne,Mt)>-1!==vt}):Dt.filter(Ne,jt,vt)}Dt.filter=function(jt,Ne,vt){var Mt=Ne[0];return vt&&(jt=":not("+jt+")"),Ne.length===1&&Mt.nodeType===1?Dt.find.matchesSelector(Mt,jt)?[Mt]:[]:Dt.find.matches(jt,Dt.grep(Ne,function(On){return On.nodeType===1}))},Dt.fn.extend({find:function(Ne){var vt,Mt,On=this.length,Fn=this;if(typeof Ne!="string")return this.pushStack(Dt(Ne).filter(function(){for(vt=0;vt<On;vt++)if(Dt.contains(Fn[vt],this))return!0}));for(Mt=this.pushStack([]),vt=0;vt<On;vt++)Dt.find(Ne,Fn[vt],Mt);return On>1?Dt.uniqueSort(Mt):Mt},filter:function(Ne){return this.pushStack(to(this,Ne||[],!1))},not:function(Ne){return this.pushStack(to(this,Ne||[],!0))},is:function(Ne){return!!to(this,typeof Ne=="string"&&ja.test(Ne)?Dt(Ne):Ne||[],!1).length}});var vo,go=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Sa=Dt.fn.init=function(jt,Ne,vt){var Mt,On;if(!jt)return this;if(vt=vt||vo,typeof jt=="string")if(jt[0]==="<"&&jt[jt.length-1]===">"&&jt.length>=3?Mt=[null,jt,null]:Mt=go.exec(jt),Mt&&(Mt[1]||!Ne))if(Mt[1]){if(Ne=Ne instanceof Dt?Ne[0]:Ne,Dt.merge(this,Dt.parseHTML(Mt[1],Ne&&Ne.nodeType?Ne.ownerDocument||Ne:pr,!0)),io.test(Mt[1])&&Dt.isPlainObject(Ne))for(Mt in Ne)Gn(this[Mt])?this[Mt](Ne[Mt]):this.attr(Mt,Ne[Mt]);return this}else return On=pr.getElementById(Mt[2]),On&&(this[0]=On,this.length=1),this;else return!Ne||Ne.jquery?(Ne||vt).find(jt):this.constructor(Ne).find(jt);else{if(jt.nodeType)return this[0]=jt,this.length=1,this;if(Gn(jt))return vt.ready!==void 0?vt.ready(jt):jt(Dt)}return Dt.makeArray(jt,this)};Sa.prototype=Dt.fn,vo=Dt(pr);var xo=/^(?:parents|prev(?:Until|All))/,So={children:!0,contents:!0,next:!0,prev:!0};Dt.fn.extend({has:function(Ne){var vt=Dt(Ne,this),Mt=vt.length;return this.filter(function(){for(var On=0;On<Mt;On++)if(Dt.contains(this,vt[On]))return!0})},closest:function(Ne,vt){var Mt,On=0,Fn=this.length,Qn=[],gr=typeof Ne!="string"&&Dt(Ne);if(!ja.test(Ne)){for(;On<Fn;On++)for(Mt=this[On];Mt&&Mt!==vt;Mt=Mt.parentNode)if(Mt.nodeType<11&&(gr?gr.index(Mt)>-1:Mt.nodeType===1&&Dt.find.matchesSelector(Mt,Ne))){Qn.push(Mt);break}}return this.pushStack(Qn.length>1?Dt.uniqueSort(Qn):Qn)},index:function(Ne){return Ne?typeof Ne=="string"?Zr.call(Dt(Ne),this[0]):Zr.call(this,Ne.jquery?Ne[0]:Ne):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(Ne,vt){return this.pushStack(Dt.uniqueSort(Dt.merge(this.get(),Dt(Ne,vt))))},addBack:function(Ne){return this.add(Ne==null?this.prevObject:this.prevObject.filter(Ne))}});function so(jt,Ne){for(;(jt=jt[Ne])&&jt.nodeType!==1;);return jt}Dt.each({parent:function(Ne){var vt=Ne.parentNode;return vt&&vt.nodeType!==11?vt:null},parents:function(Ne){return la(Ne,"parentNode")},parentsUntil:function(Ne,vt,Mt){return la(Ne,"parentNode",Mt)},next:function(Ne){return so(Ne,"nextSibling")},prev:function(Ne){return so(Ne,"previousSibling")},nextAll:function(Ne){return la(Ne,"nextSibling")},prevAll:function(Ne){return la(Ne,"previousSibling")},nextUntil:function(Ne,vt,Mt){return la(Ne,"nextSibling",Mt)},prevUntil:function(Ne,vt,Mt){return la(Ne,"previousSibling",Mt)},siblings:function(Ne){return Aa((Ne.parentNode||{}).firstChild,Ne)},children:function(Ne){return Aa(Ne.firstChild)},contents:function(Ne){return Ne.contentDocument!=null&&xn(Ne.contentDocument)?Ne.contentDocument:(Ta(Ne,"template")&&(Ne=Ne.content||Ne),Dt.merge([],Ne.childNodes))}},function(jt,Ne){Dt.fn[jt]=function(vt,Mt){var On=Dt.map(this,Ne,vt);return jt.slice(-5)!=="Until"&&(Mt=vt),Mt&&typeof Mt=="string"&&(On=Dt.filter(Mt,On)),this.length>1&&(So[jt]||Dt.uniqueSort(On),xo.test(jt)&&On.reverse()),this.pushStack(On)}});var To=/[^\x20\t\r\n\f]+/g;function Ho(jt){var Ne={};return Dt.each(jt.match(To)||[],function(vt,Mt){Ne[Mt]=!0}),Ne}Dt.Callbacks=function(jt){jt=typeof jt=="string"?Ho(jt):Dt.extend({},jt);var Ne,vt,Mt,On,Fn=[],Qn=[],gr=-1,Xr=function(){for(On=On||jt.once,Mt=Ne=!0;Qn.length;gr=-1)for(vt=Qn.shift();++gr<Fn.length;)Fn[gr].apply(vt[0],vt[1])===!1&&jt.stopOnFalse&&(gr=Fn.length,vt=!1);jt.memory||(vt=!1),Ne=!1,On&&(vt?Fn=[]:Fn="")},mi={add:function(){return Fn&&(vt&&!Ne&&(gr=Fn.length-1,Qn.push(vt)),function Ka(Xa){Dt.each(Xa,function(Ni,Ia){Gn(Ia)?(!jt.unique||!mi.has(Ia))&&Fn.push(Ia):Ia&&Ia.length&&_i(Ia)!=="string"&&Ka(Ia)})}(arguments),vt&&!Ne&&Xr()),this},remove:function(){return Dt.each(arguments,function(Ka,Xa){for(var Ni;(Ni=Dt.inArray(Xa,Fn,Ni))>-1;)Fn.splice(Ni,1),Ni<=gr&&gr--}),this},has:function(Ka){return Ka?Dt.inArray(Ka,Fn)>-1:Fn.length>0},empty:function(){return Fn&&(Fn=[]),this},disable:function(){return On=Qn=[],Fn=vt="",this},disabled:function(){return!Fn},lock:function(){return On=Qn=[],!vt&&!Ne&&(Fn=vt=""),this},locked:function(){return!!On},fireWith:function(Ka,Xa){return On||(Xa=Xa||[],Xa=[Ka,Xa.slice?Xa.slice():Xa],Qn.push(Xa),Ne||Xr()),this},fire:function(){return mi.fireWith(this,arguments),this},fired:function(){return!!Mt}};return mi};function uo(jt){return jt}function $o(jt){throw jt}function Us(jt,Ne,vt,Mt){var On;try{jt&&Gn(On=jt.promise)?On.call(jt).done(Ne).fail(vt):jt&&Gn(On=jt.then)?On.call(jt,Ne,vt):Ne.apply(void 0,[jt].slice(Mt))}catch(Fn){vt.apply(void 0,[Fn])}}Dt.extend({Deferred:function(Ne){var vt=[["notify","progress",Dt.Callbacks("memory"),Dt.Callbacks("memory"),2],["resolve","done",Dt.Callbacks("once memory"),Dt.Callbacks("once memory"),0,"resolved"],["reject","fail",Dt.Callbacks("once memory"),Dt.Callbacks("once memory"),1,"rejected"]],Mt="pending",On={state:function(){return Mt},always:function(){return Fn.done(arguments).fail(arguments),this},catch:function(gr){return On.then(null,gr)},pipe:function(){var gr=arguments;return Dt.Deferred(function(Xr){Dt.each(vt,function(mi,qi){var Ka=Gn(gr[qi[4]])&&gr[qi[4]];Fn[qi[1]](function(){var Xa=Ka&&Ka.apply(this,arguments);Xa&&Gn(Xa.promise)?Xa.promise().progress(Xr.notify).done(Xr.resolve).fail(Xr.reject):Xr[qi[0]+"With"](this,Ka?[Xa]:arguments)})}),gr=null}).promise()},then:function(gr,Xr,mi){var qi=0;function Ka(Xa,Ni,Ia,zo){return function(){var Bo=this,Ys=arguments,iu=function(){var ml,as;if(!(Xa<qi)){if(ml=Ia.apply(Bo,Ys),ml===Ni.promise())throw new TypeError("Thenable self-resolution");as=ml&&(un(ml)==="object"||typeof ml=="function")&&ml.then,Gn(as)?zo?as.call(ml,Ka(qi,Ni,uo,zo),Ka(qi,Ni,$o,zo)):(qi++,as.call(ml,Ka(qi,Ni,uo,zo),Ka(qi,Ni,$o,zo),Ka(qi,Ni,uo,Ni.notifyWith))):(Ia!==uo&&(Bo=void 0,Ys=[ml]),(zo||Ni.resolveWith)(Bo,Ys))}},ju=zo?iu:function(){try{iu()}catch(Vs){Dt.Deferred.exceptionHook&&Dt.Deferred.exceptionHook(Vs,ju.stackTrace),Xa+1>=qi&&(Ia!==$o&&(Bo=void 0,Ys=[Vs]),Ni.rejectWith(Bo,Ys))}};Xa?ju():(Dt.Deferred.getStackHook&&(ju.stackTrace=Dt.Deferred.getStackHook()),ot.setTimeout(ju))}}return Dt.Deferred(function(Xa){vt[0][3].add(Ka(0,Xa,Gn(mi)?mi:uo,Xa.notifyWith)),vt[1][3].add(Ka(0,Xa,Gn(gr)?gr:uo)),vt[2][3].add(Ka(0,Xa,Gn(Xr)?Xr:$o))}).promise()},promise:function(gr){return gr!=null?Dt.extend(gr,On):On}},Fn={};return Dt.each(vt,function(Qn,gr){var Xr=gr[2],mi=gr[5];On[gr[1]]=Xr.add,mi&&Xr.add(function(){Mt=mi},vt[3-Qn][2].disable,vt[3-Qn][3].disable,vt[0][2].lock,vt[0][3].lock),Xr.add(gr[3].fire),Fn[gr[0]]=function(){return Fn[gr[0]+"With"](this===Fn?void 0:this,arguments),this},Fn[gr[0]+"With"]=Xr.fireWith}),On.promise(Fn),Ne&&Ne.call(Fn,Fn),Fn},when:function(Ne){var vt=arguments.length,Mt=vt,On=Array(Mt),Fn=Hn.call(arguments),Qn=Dt.Deferred(),gr=function(mi){return function(qi){On[mi]=this,Fn[mi]=arguments.length>1?Hn.call(arguments):qi,--vt||Qn.resolveWith(On,Fn)}};if(vt<=1&&(Us(Ne,Qn.done(gr(Mt)).resolve,Qn.reject,!vt),Qn.state()==="pending"||Gn(Fn[Mt]&&Fn[Mt].then)))return Qn.then();for(;Mt--;)Us(Fn[Mt],gr(Mt),Qn.reject);return Qn.promise()}});var Go=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Dt.Deferred.exceptionHook=function(jt,Ne){ot.console&&ot.console.warn&&jt&&Go.test(jt.name)&&ot.console.warn("jQuery.Deferred exception: "+jt.message,jt.stack,Ne)},Dt.readyException=function(jt){ot.setTimeout(function(){throw jt})};var Qo=Dt.Deferred();Dt.fn.ready=function(jt){return Qo.then(jt).catch(function(Ne){Dt.readyException(Ne)}),this},Dt.extend({isReady:!1,readyWait:1,ready:function(Ne){(Ne===!0?--Dt.readyWait:Dt.isReady)||(Dt.isReady=!0,!(Ne!==!0&&--Dt.readyWait>0)&&Qo.resolveWith(pr,[Dt]))}}),Dt.ready.then=Qo.then;function cs(){pr.removeEventListener("DOMContentLoaded",cs),ot.removeEventListener("load",cs),Dt.ready()}pr.readyState==="complete"||pr.readyState!=="loading"&&!pr.documentElement.doScroll?ot.setTimeout(Dt.ready):(pr.addEventListener("DOMContentLoaded",cs),ot.addEventListener("load",cs));var Ss=function jt(Ne,vt,Mt,On,Fn,Qn,gr){var Xr=0,mi=Ne.length,qi=Mt==null;if(_i(Mt)==="object"){Fn=!0;for(Xr in Mt)jt(Ne,vt,Xr,Mt[Xr],!0,Qn,gr)}else if(On!==void 0&&(Fn=!0,Gn(On)||(gr=!0),qi&&(gr?(vt.call(Ne,On),vt=null):(qi=vt,vt=function(Xa,Ni,Ia){return qi.call(Dt(Xa),Ia)})),vt))for(;Xr<mi;Xr++)vt(Ne[Xr],Mt,gr?On:On.call(Ne[Xr],Xr,vt(Ne[Xr],Mt)));return Fn?Ne:qi?vt.call(Ne):mi?vt(Ne[0],Mt):Qn},ps=/^-ms-/,Ks=/-([a-z])/g;function Gs(jt,Ne){return Ne.toUpperCase()}function Ms(jt){return jt.replace(ps,"ms-").replace(Ks,Gs)}var Zs=function(Ne){return Ne.nodeType===1||Ne.nodeType===9||!+Ne.nodeType};function Sl(){this.expando=Dt.expando+Sl.uid++}Sl.uid=1,Sl.prototype={cache:function(Ne){var vt=Ne[this.expando];return vt||(vt={},Zs(Ne)&&(Ne.nodeType?Ne[this.expando]=vt:Object.defineProperty(Ne,this.expando,{value:vt,configurable:!0}))),vt},set:function(Ne,vt,Mt){var On,Fn=this.cache(Ne);if(typeof vt=="string")Fn[Ms(vt)]=Mt;else for(On in vt)Fn[Ms(On)]=vt[On];return Fn},get:function(Ne,vt){return vt===void 0?this.cache(Ne):Ne[this.expando]&&Ne[this.expando][Ms(vt)]},access:function(Ne,vt,Mt){return vt===void 0||vt&&typeof vt=="string"&&Mt===void 0?this.get(Ne,vt):(this.set(Ne,vt,Mt),Mt!==void 0?Mt:vt)},remove:function(Ne,vt){var Mt,On=Ne[this.expando];if(On!==void 0){if(vt!==void 0)for(Array.isArray(vt)?vt=vt.map(Ms):(vt=Ms(vt),vt=vt in On?[vt]:vt.match(To)||[]),Mt=vt.length;Mt--;)delete On[vt[Mt]];(vt===void 0||Dt.isEmptyObject(On))&&(Ne.nodeType?Ne[this.expando]=void 0:delete Ne[this.expando])}},hasData:function(Ne){var vt=Ne[this.expando];return vt!==void 0&&!Dt.isEmptyObject(vt)}};var bo=new Sl,ol=new Sl,Js=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,su=/[A-Z]/g;function As(jt){return jt==="true"?!0:jt==="false"?!1:jt==="null"?null:jt===+jt+""?+jt:Js.test(jt)?JSON.parse(jt):jt}function qs(jt,Ne,vt){var Mt;if(vt===void 0&&jt.nodeType===1)if(Mt="data-"+Ne.replace(su,"-$&").toLowerCase(),vt=jt.getAttribute(Mt),typeof vt=="string"){try{vt=As(vt)}catch(On){}ol.set(jt,Ne,vt)}else vt=void 0;return vt}Dt.extend({hasData:function(Ne){return ol.hasData(Ne)||bo.hasData(Ne)},data:function(Ne,vt,Mt){return ol.access(Ne,vt,Mt)},removeData:function(Ne,vt){ol.remove(Ne,vt)},_data:function(Ne,vt,Mt){return bo.access(Ne,vt,Mt)},_removeData:function(Ne,vt){bo.remove(Ne,vt)}}),Dt.fn.extend({data:function(Ne,vt){var Mt,On,Fn,Qn=this[0],gr=Qn&&Qn.attributes;if(Ne===void 0){if(this.length&&(Fn=ol.get(Qn),Qn.nodeType===1&&!bo.get(Qn,"hasDataAttrs"))){for(Mt=gr.length;Mt--;)gr[Mt]&&(On=gr[Mt].name,On.indexOf("data-")===0&&(On=Ms(On.slice(5)),qs(Qn,On,Fn[On])));bo.set(Qn,"hasDataAttrs",!0)}return Fn}return un(Ne)==="object"?this.each(function(){ol.set(this,Ne)}):Ss(this,function(Xr){var mi;if(Qn&&Xr===void 0)return mi=ol.get(Qn,Ne),mi!==void 0||(mi=qs(Qn,Ne),mi!==void 0)?mi:void 0;this.each(function(){ol.set(this,Ne,Xr)})},null,vt,arguments.length>1,null,!0)},removeData:function(Ne){return this.each(function(){ol.remove(this,Ne)})}}),Dt.extend({queue:function(Ne,vt,Mt){var On;if(Ne)return vt=(vt||"fx")+"queue",On=bo.get(Ne,vt),Mt&&(!On||Array.isArray(Mt)?On=bo.access(Ne,vt,Dt.makeArray(Mt)):On.push(Mt)),On||[]},dequeue:function(Ne,vt){vt=vt||"fx";var Mt=Dt.queue(Ne,vt),On=Mt.length,Fn=Mt.shift(),Qn=Dt._queueHooks(Ne,vt),gr=function(){Dt.dequeue(Ne,vt)};Fn==="inprogress"&&(Fn=Mt.shift(),On--),Fn&&(vt==="fx"&&Mt.unshift("inprogress"),delete Qn.stop,Fn.call(Ne,gr,Qn)),!On&&Qn&&Qn.empty.fire()},_queueHooks:function(Ne,vt){var Mt=vt+"queueHooks";return bo.get(Ne,Mt)||bo.access(Ne,Mt,{empty:Dt.Callbacks("once memory").add(function(){bo.remove(Ne,[vt+"queue",Mt])})})}}),Dt.fn.extend({queue:function(Ne,vt){var Mt=2;return typeof Ne!="string"&&(vt=Ne,Ne="fx",Mt--),arguments.length<Mt?Dt.queue(this[0],Ne):vt===void 0?this:this.each(function(){var On=Dt.queue(this,Ne,vt);Dt._queueHooks(this,Ne),Ne==="fx"&&On[0]!=="inprogress"&&Dt.dequeue(this,Ne)})},dequeue:function(Ne){return this.each(function(){Dt.dequeue(this,Ne)})},clearQueue:function(Ne){return this.queue(Ne||"fx",[])},promise:function(Ne,vt){var Mt,On=1,Fn=Dt.Deferred(),Qn=this,gr=this.length,Xr=function(){--On||Fn.resolveWith(Qn,[Qn])};for(typeof Ne!="string"&&(vt=Ne,Ne=void 0),Ne=Ne||"fx";gr--;)Mt=bo.get(Qn[gr],Ne+"queueHooks"),Mt&&Mt.empty&&(On++,Mt.empty.add(Xr));return Xr(),Fn.promise(vt)}});var jl=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ml=new RegExp("^(?:([+-])=|)("+jl+")([a-z%]*)$","i"),Hs=["Top","Right","Bottom","Left"],Nl=pr.documentElement,eu=function(Ne){return Dt.contains(Ne.ownerDocument,Ne)},Zu={composed:!0};Nl.getRootNode&&(eu=function(Ne){return Dt.contains(Ne.ownerDocument,Ne)||Ne.getRootNode(Zu)===Ne.ownerDocument});var Tu=function(Ne,vt){return Ne=vt||Ne,Ne.style.display==="none"||Ne.style.display===""&&eu(Ne)&&Dt.css(Ne,"display")==="none"};function Ju(jt,Ne,vt,Mt){var On,Fn,Qn=20,gr=Mt?function(){return Mt.cur()}:function(){return Dt.css(jt,Ne,"")},Xr=gr(),mi=vt&&vt[3]||(Dt.cssNumber[Ne]?"":"px"),qi=jt.nodeType&&(Dt.cssNumber[Ne]||mi!=="px"&&+Xr)&&Ml.exec(Dt.css(jt,Ne));if(qi&&qi[3]!==mi){for(Xr=Xr/2,mi=mi||qi[3],qi=+Xr||1;Qn--;)Dt.style(jt,Ne,qi+mi),(1-Fn)*(1-(Fn=gr()/Xr||.5))<=0&&(Qn=0),qi=qi/Fn;qi=qi*2,Dt.style(jt,Ne,qi+mi),vt=vt||[]}return vt&&(qi=+qi||+Xr||0,On=vt[1]?qi+(vt[1]+1)*vt[2]:+vt[2],Mt&&(Mt.unit=mi,Mt.start=qi,Mt.end=On)),On}var Iu={};function Ru(jt){var Ne,vt=jt.ownerDocument,Mt=jt.nodeName,On=Iu[Mt];return On||(Ne=vt.body.appendChild(vt.createElement(Mt)),On=Dt.css(Ne,"display"),Ne.parentNode.removeChild(Ne),On==="none"&&(On="block"),Iu[Mt]=On,On)}function yu(jt,Ne){for(var vt,Mt,On=[],Fn=0,Qn=jt.length;Fn<Qn;Fn++)Mt=jt[Fn],!!Mt.style&&(vt=Mt.style.display,Ne?(vt==="none"&&(On[Fn]=bo.get(Mt,"display")||null,On[Fn]||(Mt.style.display="")),Mt.style.display===""&&Tu(Mt)&&(On[Fn]=Ru(Mt))):vt!=="none"&&(On[Fn]="none",bo.set(Mt,"display",vt)));for(Fn=0;Fn<Qn;Fn++)On[Fn]!=null&&(jt[Fn].style.display=On[Fn]);return jt}Dt.fn.extend({show:function(){return yu(this,!0)},hide:function(){return yu(this)},toggle:function(Ne){return typeof Ne=="boolean"?Ne?this.show():this.hide():this.each(function(){Tu(this)?Dt(this).show():Dt(this).hide()})}});var bu=/^(?:checkbox|radio)$/i,Hl=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,el=/^$|^module$|\/(?:java|ecma)script/i;(function(){var jt=pr.createDocumentFragment(),Ne=jt.appendChild(pr.createElement("div")),vt=pr.createElement("input");vt.setAttribute("type","radio"),vt.setAttribute("checked","checked"),vt.setAttribute("name","t"),Ne.appendChild(vt),En.checkClone=Ne.cloneNode(!0).cloneNode(!0).lastChild.checked,Ne.innerHTML="<textarea>x</textarea>",En.noCloneChecked=!!Ne.cloneNode(!0).lastChild.defaultValue,Ne.innerHTML="<option></option>",En.option=!!Ne.lastChild})();var lu={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};lu.tbody=lu.tfoot=lu.colgroup=lu.caption=lu.thead,lu.th=lu.td,En.option||(lu.optgroup=lu.option=[1,"<select multiple='multiple'>","</select>"]);function al(jt,Ne){var vt;return typeof jt.getElementsByTagName!="undefined"?vt=jt.getElementsByTagName(Ne||"*"):typeof jt.querySelectorAll!="undefined"?vt=jt.querySelectorAll(Ne||"*"):vt=[],Ne===void 0||Ne&&Ta(jt,Ne)?Dt.merge([jt],vt):vt}function ku(jt,Ne){for(var vt=0,Mt=jt.length;vt<Mt;vt++)bo.set(jt[vt],"globalEval",!Ne||bo.get(Ne[vt],"globalEval"))}var js=/<|&#?\w+;/;function qu(jt,Ne,vt,Mt,On){for(var Fn,Qn,gr,Xr,mi,qi,Ka=Ne.createDocumentFragment(),Xa=[],Ni=0,Ia=jt.length;Ni<Ia;Ni++)if(Fn=jt[Ni],Fn||Fn===0)if(_i(Fn)==="object")Dt.merge(Xa,Fn.nodeType?[Fn]:Fn);else if(!js.test(Fn))Xa.push(Ne.createTextNode(Fn));else{for(Qn=Qn||Ka.appendChild(Ne.createElement("div")),gr=(Hl.exec(Fn)||["",""])[1].toLowerCase(),Xr=lu[gr]||lu._default,Qn.innerHTML=Xr[1]+Dt.htmlPrefilter(Fn)+Xr[2],qi=Xr[0];qi--;)Qn=Qn.lastChild;Dt.merge(Xa,Qn.childNodes),Qn=Ka.firstChild,Qn.textContent=""}for(Ka.textContent="",Ni=0;Fn=Xa[Ni++];){if(Mt&&Dt.inArray(Fn,Mt)>-1){On&&On.push(Fn);continue}if(mi=eu(Fn),Qn=al(Ka.appendChild(Fn),"script"),mi&&ku(Qn),vt)for(qi=0;Fn=Qn[qi++];)el.test(Fn.type||"")&&vt.push(Fn)}return Ka}var Mc=/^([^.]*)(?:\.(.+)|)/;function fc(){return!0}function ec(){return!1}function tc(jt,Ne){return jt===nc()==(Ne==="focus")}function nc(){try{return pr.activeElement}catch(jt){}}function yc(jt,Ne,vt,Mt,On,Fn){var Qn,gr;if(un(Ne)==="object"){typeof vt!="string"&&(Mt=Mt||vt,vt=void 0);for(gr in Ne)yc(jt,gr,vt,Mt,Ne[gr],Fn);return jt}if(Mt==null&&On==null?(On=vt,Mt=vt=void 0):On==null&&(typeof vt=="string"?(On=Mt,Mt=void 0):(On=Mt,Mt=vt,vt=void 0)),On===!1)On=ec;else if(!On)return jt;return Fn===1&&(Qn=On,On=function(mi){return Dt().off(mi),Qn.apply(this,arguments)},On.guid=Qn.guid||(Qn.guid=Dt.guid++)),jt.each(function(){Dt.event.add(this,Ne,On,Mt,vt)})}Dt.event={global:{},add:function(Ne,vt,Mt,On,Fn){var Qn,gr,Xr,mi,qi,Ka,Xa,Ni,Ia,zo,Bo,Ys=bo.get(Ne);if(!!Zs(Ne))for(Mt.handler&&(Qn=Mt,Mt=Qn.handler,Fn=Qn.selector),Fn&&Dt.find.matchesSelector(Nl,Fn),Mt.guid||(Mt.guid=Dt.guid++),(mi=Ys.events)||(mi=Ys.events=Object.create(null)),(gr=Ys.handle)||(gr=Ys.handle=function(iu){return typeof Dt!="undefined"&&Dt.event.triggered!==iu.type?Dt.event.dispatch.apply(Ne,arguments):void 0}),vt=(vt||"").match(To)||[""],qi=vt.length;qi--;)Xr=Mc.exec(vt[qi])||[],Ia=Bo=Xr[1],zo=(Xr[2]||"").split(".").sort(),!!Ia&&(Xa=Dt.event.special[Ia]||{},Ia=(Fn?Xa.delegateType:Xa.bindType)||Ia,Xa=Dt.event.special[Ia]||{},Ka=Dt.extend({type:Ia,origType:Bo,data:On,handler:Mt,guid:Mt.guid,selector:Fn,needsContext:Fn&&Dt.expr.match.needsContext.test(Fn),namespace:zo.join(".")},Qn),(Ni=mi[Ia])||(Ni=mi[Ia]=[],Ni.delegateCount=0,(!Xa.setup||Xa.setup.call(Ne,On,zo,gr)===!1)&&Ne.addEventListener&&Ne.addEventListener(Ia,gr)),Xa.add&&(Xa.add.call(Ne,Ka),Ka.handler.guid||(Ka.handler.guid=Mt.guid)),Fn?Ni.splice(Ni.delegateCount++,0,Ka):Ni.push(Ka),Dt.event.global[Ia]=!0)},remove:function(Ne,vt,Mt,On,Fn){var Qn,gr,Xr,mi,qi,Ka,Xa,Ni,Ia,zo,Bo,Ys=bo.hasData(Ne)&&bo.get(Ne);if(!(!Ys||!(mi=Ys.events))){for(vt=(vt||"").match(To)||[""],qi=vt.length;qi--;){if(Xr=Mc.exec(vt[qi])||[],Ia=Bo=Xr[1],zo=(Xr[2]||"").split(".").sort(),!Ia){for(Ia in mi)Dt.event.remove(Ne,Ia+vt[qi],Mt,On,!0);continue}for(Xa=Dt.event.special[Ia]||{},Ia=(On?Xa.delegateType:Xa.bindType)||Ia,Ni=mi[Ia]||[],Xr=Xr[2]&&new RegExp("(^|\\.)"+zo.join("\\.(?:.*\\.|)")+"(\\.|$)"),gr=Qn=Ni.length;Qn--;)Ka=Ni[Qn],(Fn||Bo===Ka.origType)&&(!Mt||Mt.guid===Ka.guid)&&(!Xr||Xr.test(Ka.namespace))&&(!On||On===Ka.selector||On==="**"&&Ka.selector)&&(Ni.splice(Qn,1),Ka.selector&&Ni.delegateCount--,Xa.remove&&Xa.remove.call(Ne,Ka));gr&&!Ni.length&&((!Xa.teardown||Xa.teardown.call(Ne,zo,Ys.handle)===!1)&&Dt.removeEvent(Ne,Ia,Ys.handle),delete mi[Ia])}Dt.isEmptyObject(mi)&&bo.remove(Ne,"handle events")}},dispatch:function(Ne){var vt,Mt,On,Fn,Qn,gr,Xr=new Array(arguments.length),mi=Dt.event.fix(Ne),qi=(bo.get(this,"events")||Object.create(null))[mi.type]||[],Ka=Dt.event.special[mi.type]||{};for(Xr[0]=mi,vt=1;vt<arguments.length;vt++)Xr[vt]=arguments[vt];if(mi.delegateTarget=this,!(Ka.preDispatch&&Ka.preDispatch.call(this,mi)===!1)){for(gr=Dt.event.handlers.call(this,mi,qi),vt=0;(Fn=gr[vt++])&&!mi.isPropagationStopped();)for(mi.currentTarget=Fn.elem,Mt=0;(Qn=Fn.handlers[Mt++])&&!mi.isImmediatePropagationStopped();)(!mi.rnamespace||Qn.namespace===!1||mi.rnamespace.test(Qn.namespace))&&(mi.handleObj=Qn,mi.data=Qn.data,On=((Dt.event.special[Qn.origType]||{}).handle||Qn.handler).apply(Fn.elem,Xr),On!==void 0&&(mi.result=On)===!1&&(mi.preventDefault(),mi.stopPropagation()));return Ka.postDispatch&&Ka.postDispatch.call(this,mi),mi.result}},handlers:function(Ne,vt){var Mt,On,Fn,Qn,gr,Xr=[],mi=vt.delegateCount,qi=Ne.target;if(mi&&qi.nodeType&&!(Ne.type==="click"&&Ne.button>=1)){for(;qi!==this;qi=qi.parentNode||this)if(qi.nodeType===1&&!(Ne.type==="click"&&qi.disabled===!0)){for(Qn=[],gr={},Mt=0;Mt<mi;Mt++)On=vt[Mt],Fn=On.selector+" ",gr[Fn]===void 0&&(gr[Fn]=On.needsContext?Dt(Fn,this).index(qi)>-1:Dt.find(Fn,this,null,[qi]).length),gr[Fn]&&Qn.push(On);Qn.length&&Xr.push({elem:qi,handlers:Qn})}}return qi=this,mi<vt.length&&Xr.push({elem:qi,handlers:vt.slice(mi)}),Xr},addProp:function(Ne,vt){Object.defineProperty(Dt.Event.prototype,Ne,{enumerable:!0,configurable:!0,get:Gn(vt)?function(){if(this.originalEvent)return vt(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[Ne]},set:function(On){Object.defineProperty(this,Ne,{enumerable:!0,configurable:!0,writable:!0,value:On})}})},fix:function(Ne){return Ne[Dt.expando]?Ne:new Dt.Event(Ne)},special:{load:{noBubble:!0},click:{setup:function(Ne){var vt=this||Ne;return bu.test(vt.type)&&vt.click&&Ta(vt,"input")&&Lc(vt,"click",fc),!1},trigger:function(Ne){var vt=this||Ne;return bu.test(vt.type)&&vt.click&&Ta(vt,"input")&&Lc(vt,"click"),!0},_default:function(Ne){var vt=Ne.target;return bu.test(vt.type)&&vt.click&&Ta(vt,"input")&&bo.get(vt,"click")||Ta(vt,"a")}},beforeunload:{postDispatch:function(Ne){Ne.result!==void 0&&Ne.originalEvent&&(Ne.originalEvent.returnValue=Ne.result)}}}};function Lc(jt,Ne,vt){if(!vt){bo.get(jt,Ne)===void 0&&Dt.event.add(jt,Ne,fc);return}bo.set(jt,Ne,!1),Dt.event.add(jt,Ne,{namespace:!1,handler:function(On){var Fn,Qn,gr=bo.get(this,Ne);if(On.isTrigger&1&&this[Ne]){if(gr.length)(Dt.event.special[Ne]||{}).delegateType&&On.stopPropagation();else if(gr=Hn.call(arguments),bo.set(this,Ne,gr),Fn=vt(this,Ne),this[Ne](),Qn=bo.get(this,Ne),gr!==Qn||Fn?bo.set(this,Ne,!1):Qn={},gr!==Qn)return On.stopImmediatePropagation(),On.preventDefault(),Qn&&Qn.value}else gr.length&&(bo.set(this,Ne,{value:Dt.event.trigger(Dt.extend(gr[0],Dt.Event.prototype),gr.slice(1),this)}),On.stopImmediatePropagation())}})}Dt.removeEvent=function(jt,Ne,vt){jt.removeEventListener&&jt.removeEventListener(Ne,vt)},Dt.Event=function(jt,Ne){if(!(this instanceof Dt.Event))return new Dt.Event(jt,Ne);jt&&jt.type?(this.originalEvent=jt,this.type=jt.type,this.isDefaultPrevented=jt.defaultPrevented||jt.defaultPrevented===void 0&&jt.returnValue===!1?fc:ec,this.target=jt.target&&jt.target.nodeType===3?jt.target.parentNode:jt.target,this.currentTarget=jt.currentTarget,this.relatedTarget=jt.relatedTarget):this.type=jt,Ne&&Dt.extend(this,Ne),this.timeStamp=jt&&jt.timeStamp||Date.now(),this[Dt.expando]=!0},Dt.Event.prototype={constructor:Dt.Event,isDefaultPrevented:ec,isPropagationStopped:ec,isImmediatePropagationStopped:ec,isSimulated:!1,preventDefault:function(){var Ne=this.originalEvent;this.isDefaultPrevented=fc,Ne&&!this.isSimulated&&Ne.preventDefault()},stopPropagation:function(){var Ne=this.originalEvent;this.isPropagationStopped=fc,Ne&&!this.isSimulated&&Ne.stopPropagation()},stopImmediatePropagation:function(){var Ne=this.originalEvent;this.isImmediatePropagationStopped=fc,Ne&&!this.isSimulated&&Ne.stopImmediatePropagation(),this.stopPropagation()}},Dt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},Dt.event.addProp),Dt.each({focus:"focusin",blur:"focusout"},function(jt,Ne){Dt.event.special[jt]={setup:function(){return Lc(this,jt,tc),!1},trigger:function(){return Lc(this,jt),!0},_default:function(){return!0},delegateType:Ne}}),Dt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(jt,Ne){Dt.event.special[jt]={delegateType:Ne,bindType:Ne,handle:function(Mt){var On,Fn=this,Qn=Mt.relatedTarget,gr=Mt.handleObj;return(!Qn||Qn!==Fn&&!Dt.contains(Fn,Qn))&&(Mt.type=gr.origType,On=gr.handler.apply(this,arguments),Mt.type=Ne),On}}}),Dt.fn.extend({on:function(Ne,vt,Mt,On){return yc(this,Ne,vt,Mt,On)},one:function(Ne,vt,Mt,On){return yc(this,Ne,vt,Mt,On,1)},off:function(Ne,vt,Mt){var On,Fn;if(Ne&&Ne.preventDefault&&Ne.handleObj)return On=Ne.handleObj,Dt(Ne.delegateTarget).off(On.namespace?On.origType+"."+On.namespace:On.origType,On.selector,On.handler),this;if(un(Ne)==="object"){for(Fn in Ne)this.off(Fn,vt,Ne[Fn]);return this}return(vt===!1||typeof vt=="function")&&(Mt=vt,vt=void 0),Mt===!1&&(Mt=ec),this.each(function(){Dt.event.remove(this,Ne,Mt,vt)})}});var Vc=/<script|<style|<link/i,bc=/checked\s*(?:[^=]|=\s*.checked.)/i,xc=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Nu(jt,Ne){return Ta(jt,"table")&&Ta(Ne.nodeType!==11?Ne:Ne.firstChild,"tr")&&Dt(jt).children("tbody")[0]||jt}function Pc(jt){return jt.type=(jt.getAttribute("type")!==null)+"/"+jt.type,jt}function Tc(jt){return(jt.type||"").slice(0,5)==="true/"?jt.type=jt.type.slice(5):jt.removeAttribute("type"),jt}function Kc(jt,Ne){var vt,Mt,On,Fn,Qn,gr,Xr;if(Ne.nodeType===1){if(bo.hasData(jt)&&(Fn=bo.get(jt),Xr=Fn.events,Xr)){bo.remove(Ne,"handle events");for(On in Xr)for(vt=0,Mt=Xr[On].length;vt<Mt;vt++)Dt.event.add(Ne,On,Xr[On][vt])}ol.hasData(jt)&&(Qn=ol.access(jt),gr=Dt.extend({},Qn),ol.set(Ne,gr))}}function Hc(jt,Ne){var vt=Ne.nodeName.toLowerCase();vt==="input"&&bu.test(jt.type)?Ne.checked=jt.checked:(vt==="input"||vt==="textarea")&&(Ne.defaultValue=jt.defaultValue)}function Ou(jt,Ne,vt,Mt){Ne=er(Ne);var On,Fn,Qn,gr,Xr,mi,qi=0,Ka=jt.length,Xa=Ka-1,Ni=Ne[0],Ia=Gn(Ni);if(Ia||Ka>1&&typeof Ni=="string"&&!En.checkClone&&bc.test(Ni))return jt.each(function(zo){var Bo=jt.eq(zo);Ia&&(Ne[0]=Ni.call(this,zo,Bo.html())),Ou(Bo,Ne,vt,Mt)});if(Ka&&(On=qu(Ne,jt[0].ownerDocument,!1,jt,Mt),Fn=On.firstChild,On.childNodes.length===1&&(On=Fn),Fn||Mt)){for(Qn=Dt.map(al(On,"script"),Pc),gr=Qn.length;qi<Ka;qi++)Xr=On,qi!==Xa&&(Xr=Dt.clone(Xr,!0,!0),gr&&Dt.merge(Qn,al(Xr,"script"))),vt.call(jt[qi],Xr,qi);if(gr)for(mi=Qn[Qn.length-1].ownerDocument,Dt.map(Qn,Tc),qi=0;qi<gr;qi++)Xr=Qn[qi],el.test(Xr.type||"")&&!bo.access(Xr,"globalEval")&&Dt.contains(mi,Xr)&&(Xr.src&&(Xr.type||"").toLowerCase()!=="module"?Dt._evalUrl&&!Xr.noModule&&Dt._evalUrl(Xr.src,{nonce:Xr.nonce||Xr.getAttribute("nonce")},mi):Hr(Xr.textContent.replace(xc,""),Xr,mi))}return jt}function Ic(jt,Ne,vt){for(var Mt,On=Ne?Dt.filter(Ne,jt):jt,Fn=0;(Mt=On[Fn])!=null;Fn++)!vt&&Mt.nodeType===1&&Dt.cleanData(al(Mt)),Mt.parentNode&&(vt&&eu(Mt)&&ku(al(Mt,"script")),Mt.parentNode.removeChild(Mt));return jt}Dt.extend({htmlPrefilter:function(Ne){return Ne},clone:function(Ne,vt,Mt){var On,Fn,Qn,gr,Xr=Ne.cloneNode(!0),mi=eu(Ne);if(!En.noCloneChecked&&(Ne.nodeType===1||Ne.nodeType===11)&&!Dt.isXMLDoc(Ne))for(gr=al(Xr),Qn=al(Ne),On=0,Fn=Qn.length;On<Fn;On++)Hc(Qn[On],gr[On]);if(vt)if(Mt)for(Qn=Qn||al(Ne),gr=gr||al(Xr),On=0,Fn=Qn.length;On<Fn;On++)Kc(Qn[On],gr[On]);else Kc(Ne,Xr);return gr=al(Xr,"script"),gr.length>0&&ku(gr,!mi&&al(Ne,"script")),Xr},cleanData:function(Ne){for(var vt,Mt,On,Fn=Dt.event.special,Qn=0;(Mt=Ne[Qn])!==void 0;Qn++)if(Zs(Mt)){if(vt=Mt[bo.expando]){if(vt.events)for(On in vt.events)Fn[On]?Dt.event.remove(Mt,On):Dt.removeEvent(Mt,On,vt.handle);Mt[bo.expando]=void 0}Mt[ol.expando]&&(Mt[ol.expando]=void 0)}}}),Dt.fn.extend({detach:function(Ne){return Ic(this,Ne,!0)},remove:function(Ne){return Ic(this,Ne)},text:function(Ne){return Ss(this,function(vt){return vt===void 0?Dt.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=vt)})},null,Ne,arguments.length)},append:function(){return Ou(this,arguments,function(Ne){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var vt=Nu(this,Ne);vt.appendChild(Ne)}})},prepend:function(){return Ou(this,arguments,function(Ne){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var vt=Nu(this,Ne);vt.insertBefore(Ne,vt.firstChild)}})},before:function(){return Ou(this,arguments,function(Ne){this.parentNode&&this.parentNode.insertBefore(Ne,this)})},after:function(){return Ou(this,arguments,function(Ne){this.parentNode&&this.parentNode.insertBefore(Ne,this.nextSibling)})},empty:function(){for(var Ne,vt=0;(Ne=this[vt])!=null;vt++)Ne.nodeType===1&&(Dt.cleanData(al(Ne,!1)),Ne.textContent="");return this},clone:function(Ne,vt){return Ne=Ne==null?!1:Ne,vt=vt==null?Ne:vt,this.map(function(){return Dt.clone(this,Ne,vt)})},html:function(Ne){return Ss(this,function(vt){var Mt=this[0]||{},On=0,Fn=this.length;if(vt===void 0&&Mt.nodeType===1)return Mt.innerHTML;if(typeof vt=="string"&&!Vc.test(vt)&&!lu[(Hl.exec(vt)||["",""])[1].toLowerCase()]){vt=Dt.htmlPrefilter(vt);try{for(;On<Fn;On++)Mt=this[On]||{},Mt.nodeType===1&&(Dt.cleanData(al(Mt,!1)),Mt.innerHTML=vt);Mt=0}catch(Qn){}}Mt&&this.empty().append(vt)},null,Ne,arguments.length)},replaceWith:function(){var Ne=[];return Ou(this,arguments,function(vt){var Mt=this.parentNode;Dt.inArray(this,Ne)<0&&(Dt.cleanData(al(this)),Mt&&Mt.replaceChild(vt,this))},Ne)}}),Dt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(jt,Ne){Dt.fn[jt]=function(vt){for(var Mt,On=[],Fn=Dt(vt),Qn=Fn.length-1,gr=0;gr<=Qn;gr++)Mt=gr===Qn?this:this.clone(!0),Dt(Fn[gr])[Ne](Mt),Nr.apply(On,Mt.get());return this.pushStack(On)}});var Cu=new RegExp("^("+jl+")(?!px)[a-z%]+$","i"),Oc=function(Ne){var vt=Ne.ownerDocument.defaultView;return(!vt||!vt.opener)&&(vt=ot),vt.getComputedStyle(Ne)},Bl=function(Ne,vt,Mt){var On,Fn,Qn={};for(Fn in vt)Qn[Fn]=Ne.style[Fn],Ne.style[Fn]=vt[Fn];On=Mt.call(Ne);for(Fn in vt)Ne.style[Fn]=Qn[Fn];return On},Mu=new RegExp(Hs.join("|"),"i");(function(){function jt(){if(!!mi){Xr.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",mi.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Nl.appendChild(Xr).appendChild(mi);var qi=ot.getComputedStyle(mi);vt=qi.top!=="1%",gr=Ne(qi.marginLeft)===12,mi.style.right="60%",Fn=Ne(qi.right)===36,Mt=Ne(qi.width)===36,mi.style.position="absolute",On=Ne(mi.offsetWidth/3)===12,Nl.removeChild(Xr),mi=null}}function Ne(qi){return Math.round(parseFloat(qi))}var vt,Mt,On,Fn,Qn,gr,Xr=pr.createElement("div"),mi=pr.createElement("div");!mi.style||(mi.style.backgroundClip="content-box",mi.cloneNode(!0).style.backgroundClip="",En.clearCloneStyle=mi.style.backgroundClip==="content-box",Dt.extend(En,{boxSizingReliable:function(){return jt(),Mt},pixelBoxStyles:function(){return jt(),Fn},pixelPosition:function(){return jt(),vt},reliableMarginLeft:function(){return jt(),gr},scrollboxSize:function(){return jt(),On},reliableTrDimensions:function(){var Ka,Xa,Ni,Ia;return Qn==null&&(Ka=pr.createElement("table"),Xa=pr.createElement("tr"),Ni=pr.createElement("div"),Ka.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Xa.style.cssText="border:1px solid",Xa.style.height="1px",Ni.style.height="9px",Ni.style.display="block",Nl.appendChild(Ka).appendChild(Xa).appendChild(Ni),Ia=ot.getComputedStyle(Xa),Qn=parseInt(Ia.height,10)+parseInt(Ia.borderTopWidth,10)+parseInt(Ia.borderBottomWidth,10)===Xa.offsetHeight,Nl.removeChild(Ka)),Qn}}))})();function Au(jt,Ne,vt){var Mt,On,Fn,Qn,gr=jt.style;return vt=vt||Oc(jt),vt&&(Qn=vt.getPropertyValue(Ne)||vt[Ne],Qn===""&&!eu(jt)&&(Qn=Dt.style(jt,Ne)),!En.pixelBoxStyles()&&Cu.test(Qn)&&Mu.test(Ne)&&(Mt=gr.width,On=gr.minWidth,Fn=gr.maxWidth,gr.minWidth=gr.maxWidth=gr.width=Qn,Qn=vt.width,gr.width=Mt,gr.minWidth=On,gr.maxWidth=Fn)),Qn!==void 0?Qn+"":Qn}function Rc(jt,Ne){return{get:function(){if(jt()){delete this.get;return}return(this.get=Ne).apply(this,arguments)}}}var cl=["Webkit","Moz","ms"],Is=pr.createElement("div").style,fs={};function Il(jt){for(var Ne=jt[0].toUpperCase()+jt.slice(1),vt=cl.length;vt--;)if(jt=cl[vt]+Ne,jt in Is)return jt}function Ts(jt){var Ne=Dt.cssProps[jt]||fs[jt];return Ne||(jt in Is?jt:fs[jt]=Il(jt)||jt)}var zu=/^(none|table(?!-c[ea]).+)/,Eu=/^--/,uu={position:"absolute",visibility:"hidden",display:"block"},Fu={letterSpacing:"0",fontWeight:"400"};function cu(jt,Ne,vt){var Mt=Ml.exec(Ne);return Mt?Math.max(0,Mt[2]-(vt||0))+(Mt[3]||"px"):Ne}function Fo(jt,Ne,vt,Mt,On,Fn){var Qn=Ne==="width"?1:0,gr=0,Xr=0;if(vt===(Mt?"border":"content"))return 0;for(;Qn<4;Qn+=2)vt==="margin"&&(Xr+=Dt.css(jt,vt+Hs[Qn],!0,On)),Mt?(vt==="content"&&(Xr-=Dt.css(jt,"padding"+Hs[Qn],!0,On)),vt!=="margin"&&(Xr-=Dt.css(jt,"border"+Hs[Qn]+"Width",!0,On))):(Xr+=Dt.css(jt,"padding"+Hs[Qn],!0,On),vt!=="padding"?Xr+=Dt.css(jt,"border"+Hs[Qn]+"Width",!0,On):gr+=Dt.css(jt,"border"+Hs[Qn]+"Width",!0,On));return!Mt&&Fn>=0&&(Xr+=Math.max(0,Math.ceil(jt["offset"+Ne[0].toUpperCase()+Ne.slice(1)]-Fn-Xr-gr-.5))||0),Xr}function Lu(jt,Ne,vt){var Mt=Oc(jt),On=!En.boxSizingReliable()||vt,Fn=On&&Dt.css(jt,"boxSizing",!1,Mt)==="border-box",Qn=Fn,gr=Au(jt,Ne,Mt),Xr="offset"+Ne[0].toUpperCase()+Ne.slice(1);if(Cu.test(gr)){if(!vt)return gr;gr="auto"}return(!En.boxSizingReliable()&&Fn||!En.reliableTrDimensions()&&Ta(jt,"tr")||gr==="auto"||!parseFloat(gr)&&Dt.css(jt,"display",!1,Mt)==="inline")&&jt.getClientRects().length&&(Fn=Dt.css(jt,"boxSizing",!1,Mt)==="border-box",Qn=Xr in jt,Qn&&(gr=jt[Xr])),gr=parseFloat(gr)||0,gr+Fo(jt,Ne,vt||(Fn?"border":"content"),Qn,Mt,gr)+"px"}Dt.extend({cssHooks:{opacity:{get:function(Ne,vt){if(vt){var Mt=Au(Ne,"opacity");return Mt===""?"1":Mt}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(Ne,vt,Mt,On){if(!(!Ne||Ne.nodeType===3||Ne.nodeType===8||!Ne.style)){var Fn,Qn,gr,Xr=Ms(vt),mi=Eu.test(vt),qi=Ne.style;if(mi||(vt=Ts(Xr)),gr=Dt.cssHooks[vt]||Dt.cssHooks[Xr],Mt!==void 0){if(Qn=un(Mt),Qn==="string"&&(Fn=Ml.exec(Mt))&&Fn[1]&&(Mt=Ju(Ne,vt,Fn),Qn="number"),Mt==null||Mt!==Mt)return;Qn==="number"&&!mi&&(Mt+=Fn&&Fn[3]||(Dt.cssNumber[Xr]?"":"px")),!En.clearCloneStyle&&Mt===""&&vt.indexOf("background")===0&&(qi[vt]="inherit"),(!gr||!("set"in gr)||(Mt=gr.set(Ne,Mt,On))!==void 0)&&(mi?qi.setProperty(vt,Mt):qi[vt]=Mt)}else return gr&&"get"in gr&&(Fn=gr.get(Ne,!1,On))!==void 0?Fn:qi[vt]}},css:function(Ne,vt,Mt,On){var Fn,Qn,gr,Xr=Ms(vt),mi=Eu.test(vt);return mi||(vt=Ts(Xr)),gr=Dt.cssHooks[vt]||Dt.cssHooks[Xr],gr&&"get"in gr&&(Fn=gr.get(Ne,!0,Mt)),Fn===void 0&&(Fn=Au(Ne,vt,On)),Fn==="normal"&&vt in Fu&&(Fn=Fu[vt]),Mt===""||Mt?(Qn=parseFloat(Fn),Mt===!0||isFinite(Qn)?Qn||0:Fn):Fn}}),Dt.each(["height","width"],function(jt,Ne){Dt.cssHooks[Ne]={get:function(Mt,On,Fn){if(On)return zu.test(Dt.css(Mt,"display"))&&(!Mt.getClientRects().length||!Mt.getBoundingClientRect().width)?Bl(Mt,uu,function(){return Lu(Mt,Ne,Fn)}):Lu(Mt,Ne,Fn)},set:function(Mt,On,Fn){var Qn,gr=Oc(Mt),Xr=!En.scrollboxSize()&&gr.position==="absolute",mi=Xr||Fn,qi=mi&&Dt.css(Mt,"boxSizing",!1,gr)==="border-box",Ka=Fn?Fo(Mt,Ne,Fn,qi,gr):0;return qi&&Xr&&(Ka-=Math.ceil(Mt["offset"+Ne[0].toUpperCase()+Ne.slice(1)]-parseFloat(gr[Ne])-Fo(Mt,Ne,"border",!1,gr)-.5)),Ka&&(Qn=Ml.exec(On))&&(Qn[3]||"px")!=="px"&&(Mt.style[Ne]=On,On=Dt.css(Mt,Ne)),cu(Mt,On,Ka)}}}),Dt.cssHooks.marginLeft=Rc(En.reliableMarginLeft,function(jt,Ne){if(Ne)return(parseFloat(Au(jt,"marginLeft"))||jt.getBoundingClientRect().left-Bl(jt,{marginLeft:0},function(){return jt.getBoundingClientRect().left}))+"px"}),Dt.each({margin:"",padding:"",border:"Width"},function(jt,Ne){Dt.cssHooks[jt+Ne]={expand:function(Mt){for(var On=0,Fn={},Qn=typeof Mt=="string"?Mt.split(" "):[Mt];On<4;On++)Fn[jt+Hs[On]+Ne]=Qn[On]||Qn[On-2]||Qn[0];return Fn}},jt!=="margin"&&(Dt.cssHooks[jt+Ne].set=cu)}),Dt.fn.extend({css:function(Ne,vt){return Ss(this,function(Mt,On,Fn){var Qn,gr,Xr={},mi=0;if(Array.isArray(On)){for(Qn=Oc(Mt),gr=On.length;mi<gr;mi++)Xr[On[mi]]=Dt.css(Mt,On[mi],!1,Qn);return Xr}return Fn!==void 0?Dt.style(Mt,On,Fn):Dt.css(Mt,On)},Ne,vt,arguments.length>1)}});function gl(jt,Ne,vt,Mt,On){return new gl.prototype.init(jt,Ne,vt,Mt,On)}Dt.Tween=gl,gl.prototype={constructor:gl,init:function(Ne,vt,Mt,On,Fn,Qn){this.elem=Ne,this.prop=Mt,this.easing=Fn||Dt.easing._default,this.options=vt,this.start=this.now=this.cur(),this.end=On,this.unit=Qn||(Dt.cssNumber[Mt]?"":"px")},cur:function(){var Ne=gl.propHooks[this.prop];return Ne&&Ne.get?Ne.get(this):gl.propHooks._default.get(this)},run:function(Ne){var vt,Mt=gl.propHooks[this.prop];return this.options.duration?this.pos=vt=Dt.easing[this.easing](Ne,this.options.duration*Ne,0,1,this.options.duration):this.pos=vt=Ne,this.now=(this.end-this.start)*vt+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),Mt&&Mt.set?Mt.set(this):gl.propHooks._default.set(this),this}},gl.prototype.init.prototype=gl.prototype,gl.propHooks={_default:{get:function(Ne){var vt;return Ne.elem.nodeType!==1||Ne.elem[Ne.prop]!=null&&Ne.elem.style[Ne.prop]==null?Ne.elem[Ne.prop]:(vt=Dt.css(Ne.elem,Ne.prop,""),!vt||vt==="auto"?0:vt)},set:function(Ne){Dt.fx.step[Ne.prop]?Dt.fx.step[Ne.prop](Ne):Ne.elem.nodeType===1&&(Dt.cssHooks[Ne.prop]||Ne.elem.style[Ts(Ne.prop)]!=null)?Dt.style(Ne.elem,Ne.prop,Ne.now+Ne.unit):Ne.elem[Ne.prop]=Ne.now}}},gl.propHooks.scrollTop=gl.propHooks.scrollLeft={set:function(Ne){Ne.elem.nodeType&&Ne.elem.parentNode&&(Ne.elem[Ne.prop]=Ne.now)}},Dt.easing={linear:function(Ne){return Ne},swing:function(Ne){return .5-Math.cos(Ne*Math.PI)/2},_default:"swing"},Dt.fx=gl.prototype.init,Dt.fx.step={};var du,kc,Nc=/^(?:toggle|show|hide)$/,ld=/queueHooks$/;function Vo(){kc&&(pr.hidden===!1&&ot.requestAnimationFrame?ot.requestAnimationFrame(Vo):ot.setTimeout(Vo,Dt.fx.interval),Dt.fx.tick())}function Cd(){return ot.setTimeout(function(){du=void 0}),du=Date.now()}function nd(jt,Ne){var vt,Mt=0,On={height:jt};for(Ne=Ne?1:0;Mt<4;Mt+=2-Ne)vt=Hs[Mt],On["margin"+vt]=On["padding"+vt]=jt;return Ne&&(On.opacity=On.width=jt),On}function rd(jt,Ne,vt){for(var Mt,On=(Bu.tweeners[Ne]||[]).concat(Bu.tweeners["*"]),Fn=0,Qn=On.length;Fn<Qn;Fn++)if(Mt=On[Fn].call(vt,Ne,jt))return Mt}function Nd(jt,Ne,vt){var Mt,On,Fn,Qn,gr,Xr,mi,qi,Ka="width"in Ne||"height"in Ne,Xa=this,Ni={},Ia=jt.style,zo=jt.nodeType&&Tu(jt),Bo=bo.get(jt,"fxshow");vt.queue||(Qn=Dt._queueHooks(jt,"fx"),Qn.unqueued==null&&(Qn.unqueued=0,gr=Qn.empty.fire,Qn.empty.fire=function(){Qn.unqueued||gr()}),Qn.unqueued++,Xa.always(function(){Xa.always(function(){Qn.unqueued--,Dt.queue(jt,"fx").length||Qn.empty.fire()})}));for(Mt in Ne)if(On=Ne[Mt],Nc.test(On)){if(delete Ne[Mt],Fn=Fn||On==="toggle",On===(zo?"hide":"show"))if(On==="show"&&Bo&&Bo[Mt]!==void 0)zo=!0;else continue;Ni[Mt]=Bo&&Bo[Mt]||Dt.style(jt,Mt)}if(Xr=!Dt.isEmptyObject(Ne),!(!Xr&&Dt.isEmptyObject(Ni))){Ka&&jt.nodeType===1&&(vt.overflow=[Ia.overflow,Ia.overflowX,Ia.overflowY],mi=Bo&&Bo.display,mi==null&&(mi=bo.get(jt,"display")),qi=Dt.css(jt,"display"),qi==="none"&&(mi?qi=mi:(yu([jt],!0),mi=jt.style.display||mi,qi=Dt.css(jt,"display"),yu([jt]))),(qi==="inline"||qi==="inline-block"&&mi!=null)&&Dt.css(jt,"float")==="none"&&(Xr||(Xa.done(function(){Ia.display=mi}),mi==null&&(qi=Ia.display,mi=qi==="none"?"":qi)),Ia.display="inline-block")),vt.overflow&&(Ia.overflow="hidden",Xa.always(function(){Ia.overflow=vt.overflow[0],Ia.overflowX=vt.overflow[1],Ia.overflowY=vt.overflow[2]})),Xr=!1;for(Mt in Ni)Xr||(Bo?"hidden"in Bo&&(zo=Bo.hidden):Bo=bo.access(jt,"fxshow",{display:mi}),Fn&&(Bo.hidden=!zo),zo&&yu([jt],!0),Xa.done(function(){zo||yu([jt]),bo.remove(jt,"fxshow");for(Mt in Ni)Dt.style(jt,Mt,Ni[Mt])})),Xr=rd(zo?Bo[Mt]:0,Mt,Xa),Mt in Bo||(Bo[Mt]=Xr.start,zo&&(Xr.end=Xr.start,Xr.start=0))}}function Ed(jt,Ne){var vt,Mt,On,Fn,Qn;for(vt in jt)if(Mt=Ms(vt),On=Ne[Mt],Fn=jt[vt],Array.isArray(Fn)&&(On=Fn[1],Fn=jt[vt]=Fn[0]),vt!==Mt&&(jt[Mt]=Fn,delete jt[vt]),Qn=Dt.cssHooks[Mt],Qn&&"expand"in Qn){Fn=Qn.expand(Fn),delete jt[Mt];for(vt in Fn)vt in jt||(jt[vt]=Fn[vt],Ne[vt]=On)}else Ne[Mt]=On}function Bu(jt,Ne,vt){var Mt,On,Fn=0,Qn=Bu.prefilters.length,gr=Dt.Deferred().always(function(){delete Xr.elem}),Xr=function(){if(On)return!1;for(var Xa=du||Cd(),Ni=Math.max(0,mi.startTime+mi.duration-Xa),Ia=Ni/mi.duration||0,zo=1-Ia,Bo=0,Ys=mi.tweens.length;Bo<Ys;Bo++)mi.tweens[Bo].run(zo);return gr.notifyWith(jt,[mi,zo,Ni]),zo<1&&Ys?Ni:(Ys||gr.notifyWith(jt,[mi,1,0]),gr.resolveWith(jt,[mi]),!1)},mi=gr.promise({elem:jt,props:Dt.extend({},Ne),opts:Dt.extend(!0,{specialEasing:{},easing:Dt.easing._default},vt),originalProperties:Ne,originalOptions:vt,startTime:du||Cd(),duration:vt.duration,tweens:[],createTween:function(Xa,Ni){var Ia=Dt.Tween(jt,mi.opts,Xa,Ni,mi.opts.specialEasing[Xa]||mi.opts.easing);return mi.tweens.push(Ia),Ia},stop:function(Xa){var Ni=0,Ia=Xa?mi.tweens.length:0;if(On)return this;for(On=!0;Ni<Ia;Ni++)mi.tweens[Ni].run(1);return Xa?(gr.notifyWith(jt,[mi,1,0]),gr.resolveWith(jt,[mi,Xa])):gr.rejectWith(jt,[mi,Xa]),this}}),qi=mi.props;for(Ed(qi,mi.opts.specialEasing);Fn<Qn;Fn++)if(Mt=Bu.prefilters[Fn].call(mi,jt,qi,mi.opts),Mt)return Gn(Mt.stop)&&(Dt._queueHooks(mi.elem,mi.opts.queue).stop=Mt.stop.bind(Mt)),Mt;return Dt.map(qi,rd,mi),Gn(mi.opts.start)&&mi.opts.start.call(jt,mi),mi.progress(mi.opts.progress).done(mi.opts.done,mi.opts.complete).fail(mi.opts.fail).always(mi.opts.always),Dt.fx.timer(Dt.extend(Xr,{elem:jt,anim:mi,queue:mi.opts.queue})),mi}Dt.Animation=Dt.extend(Bu,{tweeners:{"*":[function(jt,Ne){var vt=this.createTween(jt,Ne);return Ju(vt.elem,jt,Ml.exec(Ne),vt),vt}]},tweener:function(Ne,vt){Gn(Ne)?(vt=Ne,Ne=["*"]):Ne=Ne.match(To);for(var Mt,On=0,Fn=Ne.length;On<Fn;On++)Mt=Ne[On],Bu.tweeners[Mt]=Bu.tweeners[Mt]||[],Bu.tweeners[Mt].unshift(vt)},prefilters:[Nd],prefilter:function(Ne,vt){vt?Bu.prefilters.unshift(Ne):Bu.prefilters.push(Ne)}}),Dt.speed=function(jt,Ne,vt){var Mt=jt&&un(jt)==="object"?Dt.extend({},jt):{complete:vt||!vt&&Ne||Gn(jt)&&jt,duration:jt,easing:vt&&Ne||Ne&&!Gn(Ne)&&Ne};return Dt.fx.off?Mt.duration=0:typeof Mt.duration!="number"&&(Mt.duration in Dt.fx.speeds?Mt.duration=Dt.fx.speeds[Mt.duration]:Mt.duration=Dt.fx.speeds._default),(Mt.queue==null||Mt.queue===!0)&&(Mt.queue="fx"),Mt.old=Mt.complete,Mt.complete=function(){Gn(Mt.old)&&Mt.old.call(this),Mt.queue&&Dt.dequeue(this,Mt.queue)},Mt},Dt.fn.extend({fadeTo:function(Ne,vt,Mt,On){return this.filter(Tu).css("opacity",0).show().end().animate({opacity:vt},Ne,Mt,On)},animate:function(Ne,vt,Mt,On){var Fn=Dt.isEmptyObject(Ne),Qn=Dt.speed(vt,Mt,On),gr=function(){var mi=Bu(this,Dt.extend({},Ne),Qn);(Fn||bo.get(this,"finish"))&&mi.stop(!0)};return gr.finish=gr,Fn||Qn.queue===!1?this.each(gr):this.queue(Qn.queue,gr)},stop:function(Ne,vt,Mt){var On=function(Qn){var gr=Qn.stop;delete Qn.stop,gr(Mt)};return typeof Ne!="string"&&(Mt=vt,vt=Ne,Ne=void 0),vt&&this.queue(Ne||"fx",[]),this.each(function(){var Fn=!0,Qn=Ne!=null&&Ne+"queueHooks",gr=Dt.timers,Xr=bo.get(this);if(Qn)Xr[Qn]&&Xr[Qn].stop&&On(Xr[Qn]);else for(Qn in Xr)Xr[Qn]&&Xr[Qn].stop&&ld.test(Qn)&&On(Xr[Qn]);for(Qn=gr.length;Qn--;)gr[Qn].elem===this&&(Ne==null||gr[Qn].queue===Ne)&&(gr[Qn].anim.stop(Mt),Fn=!1,gr.splice(Qn,1));(Fn||!Mt)&&Dt.dequeue(this,Ne)})},finish:function(Ne){return Ne!==!1&&(Ne=Ne||"fx"),this.each(function(){var vt,Mt=bo.get(this),On=Mt[Ne+"queue"],Fn=Mt[Ne+"queueHooks"],Qn=Dt.timers,gr=On?On.length:0;for(Mt.finish=!0,Dt.queue(this,Ne,[]),Fn&&Fn.stop&&Fn.stop.call(this,!0),vt=Qn.length;vt--;)Qn[vt].elem===this&&Qn[vt].queue===Ne&&(Qn[vt].anim.stop(!0),Qn.splice(vt,1));for(vt=0;vt<gr;vt++)On[vt]&&On[vt].finish&&On[vt].finish.call(this);delete Mt.finish})}}),Dt.each(["toggle","show","hide"],function(jt,Ne){var vt=Dt.fn[Ne];Dt.fn[Ne]=function(Mt,On,Fn){return Mt==null||typeof Mt=="boolean"?vt.apply(this,arguments):this.animate(nd(Ne,!0),Mt,On,Fn)}}),Dt.each({slideDown:nd("show"),slideUp:nd("hide"),slideToggle:nd("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(jt,Ne){Dt.fn[jt]=function(vt,Mt,On){return this.animate(Ne,vt,Mt,On)}}),Dt.timers=[],Dt.fx.tick=function(){var jt,Ne=0,vt=Dt.timers;for(du=Date.now();Ne<vt.length;Ne++)jt=vt[Ne],!jt()&&vt[Ne]===jt&&vt.splice(Ne--,1);vt.length||Dt.fx.stop(),du=void 0},Dt.fx.timer=function(jt){Dt.timers.push(jt),Dt.fx.start()},Dt.fx.interval=13,Dt.fx.start=function(){kc||(kc=!0,Vo())},Dt.fx.stop=function(){kc=null},Dt.fx.speeds={slow:600,fast:200,_default:400},Dt.fn.delay=function(jt,Ne){return jt=Dt.fx&&Dt.fx.speeds[jt]||jt,Ne=Ne||"fx",this.queue(Ne,function(vt,Mt){var On=ot.setTimeout(vt,jt);Mt.stop=function(){ot.clearTimeout(On)}})},function(){var jt=pr.createElement("input"),Ne=pr.createElement("select"),vt=Ne.appendChild(pr.createElement("option"));jt.type="checkbox",En.checkOn=jt.value!=="",En.optSelected=vt.selected,jt=pr.createElement("input"),jt.value="t",jt.type="radio",En.radioValue=jt.value==="t"}();var Sd,zc=Dt.expr.attrHandle;Dt.fn.extend({attr:function(Ne,vt){return Ss(this,Dt.attr,Ne,vt,arguments.length>1)},removeAttr:function(Ne){return this.each(function(){Dt.removeAttr(this,Ne)})}}),Dt.extend({attr:function(Ne,vt,Mt){var On,Fn,Qn=Ne.nodeType;if(!(Qn===3||Qn===8||Qn===2)){if(typeof Ne.getAttribute=="undefined")return Dt.prop(Ne,vt,Mt);if((Qn!==1||!Dt.isXMLDoc(Ne))&&(Fn=Dt.attrHooks[vt.toLowerCase()]||(Dt.expr.match.bool.test(vt)?Sd:void 0)),Mt!==void 0){if(Mt===null){Dt.removeAttr(Ne,vt);return}return Fn&&"set"in Fn&&(On=Fn.set(Ne,Mt,vt))!==void 0?On:(Ne.setAttribute(vt,Mt+""),Mt)}return Fn&&"get"in Fn&&(On=Fn.get(Ne,vt))!==null?On:(On=Dt.find.attr(Ne,vt),On==null?void 0:On)}},attrHooks:{type:{set:function(Ne,vt){if(!En.radioValue&&vt==="radio"&&Ta(Ne,"input")){var Mt=Ne.value;return Ne.setAttribute("type",vt),Mt&&(Ne.value=Mt),vt}}}},removeAttr:function(Ne,vt){var Mt,On=0,Fn=vt&&vt.match(To);if(Fn&&Ne.nodeType===1)for(;Mt=Fn[On++];)Ne.removeAttribute(Mt)}}),Sd={set:function(Ne,vt,Mt){return vt===!1?Dt.removeAttr(Ne,Mt):Ne.setAttribute(Mt,Mt),Mt}},Dt.each(Dt.expr.match.bool.source.match(/\w+/g),function(jt,Ne){var vt=zc[Ne]||Dt.find.attr;zc[Ne]=function(Mt,On,Fn){var Qn,gr,Xr=On.toLowerCase();return Fn||(gr=zc[Xr],zc[Xr]=Qn,Qn=vt(Mt,On,Fn)!=null?Xr:null,zc[Xr]=gr),Qn}});var rc=/^(?:input|select|textarea|button)$/i,ru=/^(?:a|area)$/i;Dt.fn.extend({prop:function(Ne,vt){return Ss(this,Dt.prop,Ne,vt,arguments.length>1)},removeProp:function(Ne){return this.each(function(){delete this[Dt.propFix[Ne]||Ne]})}}),Dt.extend({prop:function(Ne,vt,Mt){var On,Fn,Qn=Ne.nodeType;if(!(Qn===3||Qn===8||Qn===2))return(Qn!==1||!Dt.isXMLDoc(Ne))&&(vt=Dt.propFix[vt]||vt,Fn=Dt.propHooks[vt]),Mt!==void 0?Fn&&"set"in Fn&&(On=Fn.set(Ne,Mt,vt))!==void 0?On:Ne[vt]=Mt:Fn&&"get"in Fn&&(On=Fn.get(Ne,vt))!==null?On:Ne[vt]},propHooks:{tabIndex:{get:function(Ne){var vt=Dt.find.attr(Ne,"tabindex");return vt?parseInt(vt,10):rc.test(Ne.nodeName)||ru.test(Ne.nodeName)&&Ne.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),En.optSelected||(Dt.propHooks.selected={get:function(Ne){var vt=Ne.parentNode;return vt&&vt.parentNode&&vt.parentNode.selectedIndex,null},set:function(Ne){var vt=Ne.parentNode;vt&&(vt.selectedIndex,vt.parentNode&&vt.parentNode.selectedIndex)}}),Dt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Dt.propFix[this.toLowerCase()]=this});function ic(jt){var Ne=jt.match(To)||[];return Ne.join(" ")}function Cc(jt){return jt.getAttribute&&jt.getAttribute("class")||""}function $c(jt){return Array.isArray(jt)?jt:typeof jt=="string"?jt.match(To)||[]:[]}Dt.fn.extend({addClass:function(Ne){var vt,Mt,On,Fn,Qn,gr,Xr,mi=0;if(Gn(Ne))return this.each(function(qi){Dt(this).addClass(Ne.call(this,qi,Cc(this)))});if(vt=$c(Ne),vt.length){for(;Mt=this[mi++];)if(Fn=Cc(Mt),On=Mt.nodeType===1&&" "+ic(Fn)+" ",On){for(gr=0;Qn=vt[gr++];)On.indexOf(" "+Qn+" ")<0&&(On+=Qn+" ");Xr=ic(On),Fn!==Xr&&Mt.setAttribute("class",Xr)}}return this},removeClass:function(Ne){var vt,Mt,On,Fn,Qn,gr,Xr,mi=0;if(Gn(Ne))return this.each(function(qi){Dt(this).removeClass(Ne.call(this,qi,Cc(this)))});if(!arguments.length)return this.attr("class","");if(vt=$c(Ne),vt.length){for(;Mt=this[mi++];)if(Fn=Cc(Mt),On=Mt.nodeType===1&&" "+ic(Fn)+" ",On){for(gr=0;Qn=vt[gr++];)for(;On.indexOf(" "+Qn+" ")>-1;)On=On.replace(" "+Qn+" "," ");Xr=ic(On),Fn!==Xr&&Mt.setAttribute("class",Xr)}}return this},toggleClass:function(Ne,vt){var Mt=un(Ne),On=Mt==="string"||Array.isArray(Ne);return typeof vt=="boolean"&&On?vt?this.addClass(Ne):this.removeClass(Ne):Gn(Ne)?this.each(function(Fn){Dt(this).toggleClass(Ne.call(this,Fn,Cc(this),vt),vt)}):this.each(function(){var Fn,Qn,gr,Xr;if(On)for(Qn=0,gr=Dt(this),Xr=$c(Ne);Fn=Xr[Qn++];)gr.hasClass(Fn)?gr.removeClass(Fn):gr.addClass(Fn);else(Ne===void 0||Mt==="boolean")&&(Fn=Cc(this),Fn&&bo.set(this,"__className__",Fn),this.setAttribute&&this.setAttribute("class",Fn||Ne===!1?"":bo.get(this,"__className__")||""))})},hasClass:function(Ne){var vt,Mt,On=0;for(vt=" "+Ne+" ";Mt=this[On++];)if(Mt.nodeType===1&&(" "+ic(Cc(Mt))+" ").indexOf(vt)>-1)return!0;return!1}});var Ad=/\r/g;Dt.fn.extend({val:function(Ne){var vt,Mt,On,Fn=this[0];return arguments.length?(On=Gn(Ne),this.each(function(Qn){var gr;this.nodeType===1&&(On?gr=Ne.call(this,Qn,Dt(this).val()):gr=Ne,gr==null?gr="":typeof gr=="number"?gr+="":Array.isArray(gr)&&(gr=Dt.map(gr,function(Xr){return Xr==null?"":Xr+""})),vt=Dt.valHooks[this.type]||Dt.valHooks[this.nodeName.toLowerCase()],(!vt||!("set"in vt)||vt.set(this,gr,"value")===void 0)&&(this.value=gr))})):Fn?(vt=Dt.valHooks[Fn.type]||Dt.valHooks[Fn.nodeName.toLowerCase()],vt&&"get"in vt&&(Mt=vt.get(Fn,"value"))!==void 0?Mt:(Mt=Fn.value,typeof Mt=="string"?Mt.replace(Ad,""):Mt==null?"":Mt)):void 0}}),Dt.extend({valHooks:{option:{get:function(Ne){var vt=Dt.find.attr(Ne,"value");return vt!=null?vt:ic(Dt.text(Ne))}},select:{get:function(Ne){var vt,Mt,On,Fn=Ne.options,Qn=Ne.selectedIndex,gr=Ne.type==="select-one",Xr=gr?null:[],mi=gr?Qn+1:Fn.length;for(Qn<0?On=mi:On=gr?Qn:0;On<mi;On++)if(Mt=Fn[On],(Mt.selected||On===Qn)&&!Mt.disabled&&(!Mt.parentNode.disabled||!Ta(Mt.parentNode,"optgroup"))){if(vt=Dt(Mt).val(),gr)return vt;Xr.push(vt)}return Xr},set:function(Ne,vt){for(var Mt,On,Fn=Ne.options,Qn=Dt.makeArray(vt),gr=Fn.length;gr--;)On=Fn[gr],(On.selected=Dt.inArray(Dt.valHooks.option.get(On),Qn)>-1)&&(Mt=!0);return Mt||(Ne.selectedIndex=-1),Qn}}}}),Dt.each(["radio","checkbox"],function(){Dt.valHooks[this]={set:function(Ne,vt){if(Array.isArray(vt))return Ne.checked=Dt.inArray(Dt(Ne).val(),vt)>-1}},En.checkOn||(Dt.valHooks[this].get=function(jt){return jt.getAttribute("value")===null?"on":jt.value})}),En.focusin="onfocusin"in ot;var jd=/^(?:focusinfocus|focusoutblur)$/,Ac=function(Ne){Ne.stopPropagation()};Dt.extend(Dt.event,{trigger:function(Ne,vt,Mt,On){var Fn,Qn,gr,Xr,mi,qi,Ka,Xa,Ni=[Mt||pr],Ia=Et.call(Ne,"type")?Ne.type:Ne,zo=Et.call(Ne,"namespace")?Ne.namespace.split("."):[];if(Qn=Xa=gr=Mt=Mt||pr,!(Mt.nodeType===3||Mt.nodeType===8)&&!jd.test(Ia+Dt.event.triggered)&&(Ia.indexOf(".")>-1&&(zo=Ia.split("."),Ia=zo.shift(),zo.sort()),mi=Ia.indexOf(":")<0&&"on"+Ia,Ne=Ne[Dt.expando]?Ne:new Dt.Event(Ia,un(Ne)==="object"&&Ne),Ne.isTrigger=On?2:3,Ne.namespace=zo.join("."),Ne.rnamespace=Ne.namespace?new RegExp("(^|\\.)"+zo.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,Ne.result=void 0,Ne.target||(Ne.target=Mt),vt=vt==null?[Ne]:Dt.makeArray(vt,[Ne]),Ka=Dt.event.special[Ia]||{},!(!On&&Ka.trigger&&Ka.trigger.apply(Mt,vt)===!1))){if(!On&&!Ka.noBubble&&!lr(Mt)){for(Xr=Ka.delegateType||Ia,jd.test(Xr+Ia)||(Qn=Qn.parentNode);Qn;Qn=Qn.parentNode)Ni.push(Qn),gr=Qn;gr===(Mt.ownerDocument||pr)&&Ni.push(gr.defaultView||gr.parentWindow||ot)}for(Fn=0;(Qn=Ni[Fn++])&&!Ne.isPropagationStopped();)Xa=Qn,Ne.type=Fn>1?Xr:Ka.bindType||Ia,qi=(bo.get(Qn,"events")||Object.create(null))[Ne.type]&&bo.get(Qn,"handle"),qi&&qi.apply(Qn,vt),qi=mi&&Qn[mi],qi&&qi.apply&&Zs(Qn)&&(Ne.result=qi.apply(Qn,vt),Ne.result===!1&&Ne.preventDefault());return Ne.type=Ia,!On&&!Ne.isDefaultPrevented()&&(!Ka._default||Ka._default.apply(Ni.pop(),vt)===!1)&&Zs(Mt)&&mi&&Gn(Mt[Ia])&&!lr(Mt)&&(gr=Mt[mi],gr&&(Mt[mi]=null),Dt.event.triggered=Ia,Ne.isPropagationStopped()&&Xa.addEventListener(Ia,Ac),Mt[Ia](),Ne.isPropagationStopped()&&Xa.removeEventListener(Ia,Ac),Dt.event.triggered=void 0,gr&&(Mt[mi]=gr)),Ne.result}},simulate:function(Ne,vt,Mt){var On=Dt.extend(new Dt.Event,Mt,{type:Ne,isSimulated:!0});Dt.event.trigger(On,null,vt)}}),Dt.fn.extend({trigger:function(Ne,vt){return this.each(function(){Dt.event.trigger(Ne,vt,this)})},triggerHandler:function(Ne,vt){var Mt=this[0];if(Mt)return Dt.event.trigger(Ne,vt,Mt,!0)}}),En.focusin||Dt.each({focus:"focusin",blur:"focusout"},function(jt,Ne){var vt=function(On){Dt.event.simulate(Ne,On.target,Dt.event.fix(On))};Dt.event.special[Ne]={setup:function(){var On=this.ownerDocument||this.document||this,Fn=bo.access(On,Ne);Fn||On.addEventListener(jt,vt,!0),bo.access(On,Ne,(Fn||0)+1)},teardown:function(){var On=this.ownerDocument||this.document||this,Fn=bo.access(On,Ne)-1;Fn?bo.access(On,Ne,Fn):(On.removeEventListener(jt,vt,!0),bo.remove(On,Ne))}}});var Fc=ot.location,ud={guid:Date.now()},cd=/\?/;Dt.parseXML=function(jt){var Ne,vt;if(!jt||typeof jt!="string")return null;try{Ne=new ot.DOMParser().parseFromString(jt,"text/xml")}catch(Mt){}return vt=Ne&&Ne.getElementsByTagName("parsererror")[0],(!Ne||vt)&&Dt.error("Invalid XML: "+(vt?Dt.map(vt.childNodes,function(Mt){return Mt.textContent}).join(`
- `):jt)),Ne};var Fd=/\[\]$/,Dd=/\r?\n/g,Bd=/^(?:submit|button|image|reset|file)$/i,wd=/^(?:input|select|textarea|keygen)/i;function id(jt,Ne,vt,Mt){var On;if(Array.isArray(Ne))Dt.each(Ne,function(Fn,Qn){vt||Fd.test(jt)?Mt(jt,Qn):id(jt+"["+(un(Qn)==="object"&&Qn!=null?Fn:"")+"]",Qn,vt,Mt)});else if(!vt&&_i(Ne)==="object")for(On in Ne)id(jt+"["+On+"]",Ne[On],vt,Mt);else Mt(jt,Ne)}Dt.param=function(jt,Ne){var vt,Mt=[],On=function(Qn,gr){var Xr=Gn(gr)?gr():gr;Mt[Mt.length]=encodeURIComponent(Qn)+"="+encodeURIComponent(Xr==null?"":Xr)};if(jt==null)return"";if(Array.isArray(jt)||jt.jquery&&!Dt.isPlainObject(jt))Dt.each(jt,function(){On(this.name,this.value)});else for(vt in jt)id(vt,jt[vt],Ne,On);return Mt.join("&")},Dt.fn.extend({serialize:function(){return Dt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var Ne=Dt.prop(this,"elements");return Ne?Dt.makeArray(Ne):this}).filter(function(){var Ne=this.type;return this.name&&!Dt(this).is(":disabled")&&wd.test(this.nodeName)&&!Bd.test(Ne)&&(this.checked||!bu.test(Ne))}).map(function(Ne,vt){var Mt=Dt(this).val();return Mt==null?null:Array.isArray(Mt)?Dt.map(Mt,function(On){return{name:vt.name,value:On.replace(Dd,`\r
- `)}}):{name:vt.name,value:Mt.replace(Dd,`\r
- `)}}).get()}});var Wd=/%20/g,dd=/#.*$/,_d=/([?&])_=[^&]*/,Gc=/^(.*?):[ \t]*([^\r\n]*)$/mg,fd=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Yc=/^(?:GET|HEAD)$/,hd=/^\/\//,Qc={},Xc={},Su="*/".concat("*"),ac=pr.createElement("a");ac.href=Fc.href;function Md(jt){return function(Ne,vt){typeof Ne!="string"&&(vt=Ne,Ne="*");var Mt,On=0,Fn=Ne.toLowerCase().match(To)||[];if(Gn(vt))for(;Mt=Fn[On++];)Mt[0]==="+"?(Mt=Mt.slice(1)||"*",(jt[Mt]=jt[Mt]||[]).unshift(vt)):(jt[Mt]=jt[Mt]||[]).push(vt)}}function Zc(jt,Ne,vt,Mt){var On={},Fn=jt===Xc;function Qn(gr){var Xr;return On[gr]=!0,Dt.each(jt[gr]||[],function(mi,qi){var Ka=qi(Ne,vt,Mt);if(typeof Ka=="string"&&!Fn&&!On[Ka])return Ne.dataTypes.unshift(Ka),Qn(Ka),!1;if(Fn)return!(Xr=Ka)}),Xr}return Qn(Ne.dataTypes[0])||!On["*"]&&Qn("*")}function vd(jt,Ne){var vt,Mt,On=Dt.ajaxSettings.flatOptions||{};for(vt in Ne)Ne[vt]!==void 0&&((On[vt]?jt:Mt||(Mt={}))[vt]=Ne[vt]);return Mt&&Dt.extend(!0,jt,Mt),jt}function Ud(jt,Ne,vt){for(var Mt,On,Fn,Qn,gr=jt.contents,Xr=jt.dataTypes;Xr[0]==="*";)Xr.shift(),Mt===void 0&&(Mt=jt.mimeType||Ne.getResponseHeader("Content-Type"));if(Mt){for(On in gr)if(gr[On]&&gr[On].test(Mt)){Xr.unshift(On);break}}if(Xr[0]in vt)Fn=Xr[0];else{for(On in vt){if(!Xr[0]||jt.converters[On+" "+Xr[0]]){Fn=On;break}Qn||(Qn=On)}Fn=Fn||Qn}if(Fn)return Fn!==Xr[0]&&Xr.unshift(Fn),vt[Fn]}function Vd(jt,Ne,vt,Mt){var On,Fn,Qn,gr,Xr,mi={},qi=jt.dataTypes.slice();if(qi[1])for(Qn in jt.converters)mi[Qn.toLowerCase()]=jt.converters[Qn];for(Fn=qi.shift();Fn;)if(jt.responseFields[Fn]&&(vt[jt.responseFields[Fn]]=Ne),!Xr&&Mt&&jt.dataFilter&&(Ne=jt.dataFilter(Ne,jt.dataType)),Xr=Fn,Fn=qi.shift(),Fn){if(Fn==="*")Fn=Xr;else if(Xr!=="*"&&Xr!==Fn){if(Qn=mi[Xr+" "+Fn]||mi["* "+Fn],!Qn){for(On in mi)if(gr=On.split(" "),gr[1]===Fn&&(Qn=mi[Xr+" "+gr[0]]||mi["* "+gr[0]],Qn)){Qn===!0?Qn=mi[On]:mi[On]!==!0&&(Fn=gr[0],qi.unshift(gr[1]));break}}if(Qn!==!0)if(Qn&&jt.throws)Ne=Qn(Ne);else try{Ne=Qn(Ne)}catch(Ka){return{state:"parsererror",error:Qn?Ka:"No conversion from "+Xr+" to "+Fn}}}}return{state:"success",data:Ne}}Dt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Fc.href,type:"GET",isLocal:fd.test(Fc.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Su,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Dt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(Ne,vt){return vt?vd(vd(Ne,Dt.ajaxSettings),vt):vd(Dt.ajaxSettings,Ne)},ajaxPrefilter:Md(Qc),ajaxTransport:Md(Xc),ajax:function(Ne,vt){un(Ne)==="object"&&(vt=Ne,Ne=void 0),vt=vt||{};var Mt,On,Fn,Qn,gr,Xr,mi,qi,Ka,Xa,Ni=Dt.ajaxSetup({},vt),Ia=Ni.context||Ni,zo=Ni.context&&(Ia.nodeType||Ia.jquery)?Dt(Ia):Dt.event,Bo=Dt.Deferred(),Ys=Dt.Callbacks("once memory"),iu=Ni.statusCode||{},ju={},Vs={},ml="canceled",as={readyState:0,getResponseHeader:function(Ll){var wl;if(mi){if(!Qn)for(Qn={};wl=Gc.exec(Fn);)Qn[wl[1].toLowerCase()+" "]=(Qn[wl[1].toLowerCase()+" "]||[]).concat(wl[2]);wl=Qn[Ll.toLowerCase()+" "]}return wl==null?null:wl.join(", ")},getAllResponseHeaders:function(){return mi?Fn:null},setRequestHeader:function(Ll,wl){return mi==null&&(Ll=Vs[Ll.toLowerCase()]=Vs[Ll.toLowerCase()]||Ll,ju[Ll]=wl),this},overrideMimeType:function(Ll){return mi==null&&(Ni.mimeType=Ll),this},statusCode:function(Ll){var wl;if(Ll)if(mi)as.always(Ll[as.status]);else for(wl in Ll)iu[wl]=[iu[wl],Ll[wl]];return this},abort:function(Ll){var wl=Ll||ml;return Mt&&Mt.abort(wl),hc(0,wl),this}};if(Bo.promise(as),Ni.url=((Ne||Ni.url||Fc.href)+"").replace(hd,Fc.protocol+"//"),Ni.type=vt.method||vt.type||Ni.method||Ni.type,Ni.dataTypes=(Ni.dataType||"*").toLowerCase().match(To)||[""],Ni.crossDomain==null){Xr=pr.createElement("a");try{Xr.href=Ni.url,Xr.href=Xr.href,Ni.crossDomain=ac.protocol+"//"+ac.host!=Xr.protocol+"//"+Xr.host}catch(Dl){Ni.crossDomain=!0}}if(Ni.data&&Ni.processData&&typeof Ni.data!="string"&&(Ni.data=Dt.param(Ni.data,Ni.traditional)),Zc(Qc,Ni,vt,as),mi)return as;qi=Dt.event&&Ni.global,qi&&Dt.active++==0&&Dt.event.trigger("ajaxStart"),Ni.type=Ni.type.toUpperCase(),Ni.hasContent=!Yc.test(Ni.type),On=Ni.url.replace(dd,""),Ni.hasContent?Ni.data&&Ni.processData&&(Ni.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Ni.data=Ni.data.replace(Wd,"+")):(Xa=Ni.url.slice(On.length),Ni.data&&(Ni.processData||typeof Ni.data=="string")&&(On+=(cd.test(On)?"&":"?")+Ni.data,delete Ni.data),Ni.cache===!1&&(On=On.replace(_d,"$1"),Xa=(cd.test(On)?"&":"?")+"_="+ud.guid+++Xa),Ni.url=On+Xa),Ni.ifModified&&(Dt.lastModified[On]&&as.setRequestHeader("If-Modified-Since",Dt.lastModified[On]),Dt.etag[On]&&as.setRequestHeader("If-None-Match",Dt.etag[On])),(Ni.data&&Ni.hasContent&&Ni.contentType!==!1||vt.contentType)&&as.setRequestHeader("Content-Type",Ni.contentType),as.setRequestHeader("Accept",Ni.dataTypes[0]&&Ni.accepts[Ni.dataTypes[0]]?Ni.accepts[Ni.dataTypes[0]]+(Ni.dataTypes[0]!=="*"?", "+Su+"; q=0.01":""):Ni.accepts["*"]);for(Ka in Ni.headers)as.setRequestHeader(Ka,Ni.headers[Ka]);if(Ni.beforeSend&&(Ni.beforeSend.call(Ia,as,Ni)===!1||mi))return as.abort();if(ml="abort",Ys.add(Ni.complete),as.done(Ni.success),as.fail(Ni.error),Mt=Zc(Xc,Ni,vt,as),!Mt)hc(-1,"No Transport");else{if(as.readyState=1,qi&&zo.trigger("ajaxSend",[as,Ni]),mi)return as;Ni.async&&Ni.timeout>0&&(gr=ot.setTimeout(function(){as.abort("timeout")},Ni.timeout));try{mi=!1,Mt.send(ju,hc)}catch(Dl){if(mi)throw Dl;hc(-1,Dl)}}function hc(Dl,Ll,wl,Bc){var xu,Ec,tl,vc,gc,Wl=Ll;mi||(mi=!0,gr&&ot.clearTimeout(gr),Mt=void 0,Fn=Bc||"",as.readyState=Dl>0?4:0,xu=Dl>=200&&Dl<300||Dl===304,wl&&(vc=Ud(Ni,as,wl)),!xu&&Dt.inArray("script",Ni.dataTypes)>-1&&Dt.inArray("json",Ni.dataTypes)<0&&(Ni.converters["text script"]=function(){}),vc=Vd(Ni,vc,as,xu),xu?(Ni.ifModified&&(gc=as.getResponseHeader("Last-Modified"),gc&&(Dt.lastModified[On]=gc),gc=as.getResponseHeader("etag"),gc&&(Dt.etag[On]=gc)),Dl===204||Ni.type==="HEAD"?Wl="nocontent":Dl===304?Wl="notmodified":(Wl=vc.state,Ec=vc.data,tl=vc.error,xu=!tl)):(tl=Wl,(Dl||!Wl)&&(Wl="error",Dl<0&&(Dl=0))),as.status=Dl,as.statusText=(Ll||Wl)+"",xu?Bo.resolveWith(Ia,[Ec,Wl,as]):Bo.rejectWith(Ia,[as,Wl,tl]),as.statusCode(iu),iu=void 0,qi&&zo.trigger(xu?"ajaxSuccess":"ajaxError",[as,Ni,xu?Ec:tl]),Ys.fireWith(Ia,[as,Wl]),qi&&(zo.trigger("ajaxComplete",[as,Ni]),--Dt.active||Dt.event.trigger("ajaxStop")))}return as},getJSON:function(Ne,vt,Mt){return Dt.get(Ne,vt,Mt,"json")},getScript:function(Ne,vt){return Dt.get(Ne,void 0,vt,"script")}}),Dt.each(["get","post"],function(jt,Ne){Dt[Ne]=function(vt,Mt,On,Fn){return Gn(Mt)&&(Fn=Fn||On,On=Mt,Mt=void 0),Dt.ajax(Dt.extend({url:vt,type:Ne,dataType:Fn,data:Mt,success:On},Dt.isPlainObject(vt)&&vt))}}),Dt.ajaxPrefilter(function(jt){var Ne;for(Ne in jt.headers)Ne.toLowerCase()==="content-type"&&(jt.contentType=jt.headers[Ne]||"")}),Dt._evalUrl=function(jt,Ne,vt){return Dt.ajax({url:jt,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(On){Dt.globalEval(On,Ne,vt)}})},Dt.fn.extend({wrapAll:function(Ne){var vt;return this[0]&&(Gn(Ne)&&(Ne=Ne.call(this[0])),vt=Dt(Ne,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&vt.insertBefore(this[0]),vt.map(function(){for(var Mt=this;Mt.firstElementChild;)Mt=Mt.firstElementChild;return Mt}).append(this)),this},wrapInner:function(Ne){return Gn(Ne)?this.each(function(vt){Dt(this).wrapInner(Ne.call(this,vt))}):this.each(function(){var vt=Dt(this),Mt=vt.contents();Mt.length?Mt.wrapAll(Ne):vt.append(Ne)})},wrap:function(Ne){var vt=Gn(Ne);return this.each(function(Mt){Dt(this).wrapAll(vt?Ne.call(this,Mt):Ne)})},unwrap:function(Ne){return this.parent(Ne).not("body").each(function(){Dt(this).replaceWith(this.childNodes)}),this}}),Dt.expr.pseudos.hidden=function(jt){return!Dt.expr.pseudos.visible(jt)},Dt.expr.pseudos.visible=function(jt){return!!(jt.offsetWidth||jt.offsetHeight||jt.getClientRects().length)},Dt.ajaxSettings.xhr=function(){try{return new ot.XMLHttpRequest}catch(jt){}};var Kd={0:200,1223:204},Jc=Dt.ajaxSettings.xhr();En.cors=!!Jc&&"withCredentials"in Jc,En.ajax=Jc=!!Jc,Dt.ajaxTransport(function(jt){var Ne,vt;if(En.cors||Jc&&!jt.crossDomain)return{send:function(On,Fn){var Qn,gr=jt.xhr();if(gr.open(jt.type,jt.url,jt.async,jt.username,jt.password),jt.xhrFields)for(Qn in jt.xhrFields)gr[Qn]=jt.xhrFields[Qn];jt.mimeType&&gr.overrideMimeType&&gr.overrideMimeType(jt.mimeType),!jt.crossDomain&&!On["X-Requested-With"]&&(On["X-Requested-With"]="XMLHttpRequest");for(Qn in On)gr.setRequestHeader(Qn,On[Qn]);Ne=function(mi){return function(){Ne&&(Ne=vt=gr.onload=gr.onerror=gr.onabort=gr.ontimeout=gr.onreadystatechange=null,mi==="abort"?gr.abort():mi==="error"?typeof gr.status!="number"?Fn(0,"error"):Fn(gr.status,gr.statusText):Fn(Kd[gr.status]||gr.status,gr.statusText,(gr.responseType||"text")!=="text"||typeof gr.responseText!="string"?{binary:gr.response}:{text:gr.responseText},gr.getAllResponseHeaders()))}},gr.onload=Ne(),vt=gr.onerror=gr.ontimeout=Ne("error"),gr.onabort!==void 0?gr.onabort=vt:gr.onreadystatechange=function(){gr.readyState===4&&ot.setTimeout(function(){Ne&&vt()})},Ne=Ne("abort");try{gr.send(jt.hasContent&&jt.data||null)}catch(Xr){if(Ne)throw Xr}},abort:function(){Ne&&Ne()}}}),Dt.ajaxPrefilter(function(jt){jt.crossDomain&&(jt.contents.script=!1)}),Dt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(Ne){return Dt.globalEval(Ne),Ne}}}),Dt.ajaxPrefilter("script",function(jt){jt.cache===void 0&&(jt.cache=!1),jt.crossDomain&&(jt.type="GET")}),Dt.ajaxTransport("script",function(jt){if(jt.crossDomain||jt.scriptAttrs){var Ne,vt;return{send:function(On,Fn){Ne=Dt("<script>").attr(jt.scriptAttrs||{}).prop({charset:jt.scriptCharset,src:jt.url}).on("load error",vt=function(gr){Ne.remove(),vt=null,gr&&Fn(gr.type==="error"?404:200,gr.type)}),pr.head.appendChild(Ne[0])},abort:function(){vt&&vt()}}}});var Ld=[],gd=/(=)\?(?=&|$)|\?\?/;Dt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var Ne=Ld.pop()||Dt.expando+"_"+ud.guid++;return this[Ne]=!0,Ne}}),Dt.ajaxPrefilter("json jsonp",function(jt,Ne,vt){var Mt,On,Fn,Qn=jt.jsonp!==!1&&(gd.test(jt.url)?"url":typeof jt.data=="string"&&(jt.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&gd.test(jt.data)&&"data");if(Qn||jt.dataTypes[0]==="jsonp")return Mt=jt.jsonpCallback=Gn(jt.jsonpCallback)?jt.jsonpCallback():jt.jsonpCallback,Qn?jt[Qn]=jt[Qn].replace(gd,"$1"+Mt):jt.jsonp!==!1&&(jt.url+=(cd.test(jt.url)?"&":"?")+jt.jsonp+"="+Mt),jt.converters["script json"]=function(){return Fn||Dt.error(Mt+" was not called"),Fn[0]},jt.dataTypes[0]="json",On=ot[Mt],ot[Mt]=function(){Fn=arguments},vt.always(function(){On===void 0?Dt(ot).removeProp(Mt):ot[Mt]=On,jt[Mt]&&(jt.jsonpCallback=Ne.jsonpCallback,Ld.push(Mt)),Fn&&Gn(On)&&On(Fn[0]),Fn=On=void 0}),"script"}),En.createHTMLDocument=function(){var jt=pr.implementation.createHTMLDocument("").body;return jt.innerHTML="<form></form><form></form>",jt.childNodes.length===2}(),Dt.parseHTML=function(jt,Ne,vt){if(typeof jt!="string")return[];typeof Ne=="boolean"&&(vt=Ne,Ne=!1);var Mt,On,Fn;return Ne||(En.createHTMLDocument?(Ne=pr.implementation.createHTMLDocument(""),Mt=Ne.createElement("base"),Mt.href=pr.location.href,Ne.head.appendChild(Mt)):Ne=pr),On=io.exec(jt),Fn=!vt&&[],On?[Ne.createElement(On[1])]:(On=qu([jt],Ne,Fn),Fn&&Fn.length&&Dt(Fn).remove(),Dt.merge([],On.childNodes))},Dt.fn.load=function(jt,Ne,vt){var Mt,On,Fn,Qn=this,gr=jt.indexOf(" ");return gr>-1&&(Mt=ic(jt.slice(gr)),jt=jt.slice(0,gr)),Gn(Ne)?(vt=Ne,Ne=void 0):Ne&&un(Ne)==="object"&&(On="POST"),Qn.length>0&&Dt.ajax({url:jt,type:On||"GET",dataType:"html",data:Ne}).done(function(Xr){Fn=arguments,Qn.html(Mt?Dt("<div>").append(Dt.parseHTML(Xr)).find(Mt):Xr)}).always(vt&&function(Xr,mi){Qn.each(function(){vt.apply(this,Fn||[Xr.responseText,mi,Xr])})}),this},Dt.expr.pseudos.animated=function(jt){return Dt.grep(Dt.timers,function(Ne){return jt===Ne.elem}).length},Dt.offset={setOffset:function(Ne,vt,Mt){var On,Fn,Qn,gr,Xr,mi,qi,Ka=Dt.css(Ne,"position"),Xa=Dt(Ne),Ni={};Ka==="static"&&(Ne.style.position="relative"),Xr=Xa.offset(),Qn=Dt.css(Ne,"top"),mi=Dt.css(Ne,"left"),qi=(Ka==="absolute"||Ka==="fixed")&&(Qn+mi).indexOf("auto")>-1,qi?(On=Xa.position(),gr=On.top,Fn=On.left):(gr=parseFloat(Qn)||0,Fn=parseFloat(mi)||0),Gn(vt)&&(vt=vt.call(Ne,Mt,Dt.extend({},Xr))),vt.top!=null&&(Ni.top=vt.top-Xr.top+gr),vt.left!=null&&(Ni.left=vt.left-Xr.left+Fn),"using"in vt?vt.using.call(Ne,Ni):Xa.css(Ni)}},Dt.fn.extend({offset:function(Ne){if(arguments.length)return Ne===void 0?this:this.each(function(Fn){Dt.offset.setOffset(this,Ne,Fn)});var vt,Mt,On=this[0];if(!!On)return On.getClientRects().length?(vt=On.getBoundingClientRect(),Mt=On.ownerDocument.defaultView,{top:vt.top+Mt.pageYOffset,left:vt.left+Mt.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var Ne,vt,Mt,On=this[0],Fn={top:0,left:0};if(Dt.css(On,"position")==="fixed")vt=On.getBoundingClientRect();else{for(vt=this.offset(),Mt=On.ownerDocument,Ne=On.offsetParent||Mt.documentElement;Ne&&(Ne===Mt.body||Ne===Mt.documentElement)&&Dt.css(Ne,"position")==="static";)Ne=Ne.parentNode;Ne&&Ne!==On&&Ne.nodeType===1&&(Fn=Dt(Ne).offset(),Fn.top+=Dt.css(Ne,"borderTopWidth",!0),Fn.left+=Dt.css(Ne,"borderLeftWidth",!0))}return{top:vt.top-Fn.top-Dt.css(On,"marginTop",!0),left:vt.left-Fn.left-Dt.css(On,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var Ne=this.offsetParent;Ne&&Dt.css(Ne,"position")==="static";)Ne=Ne.offsetParent;return Ne||Nl})}}),Dt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(jt,Ne){var vt=Ne==="pageYOffset";Dt.fn[jt]=function(Mt){return Ss(this,function(On,Fn,Qn){var gr;if(lr(On)?gr=On:On.nodeType===9&&(gr=On.defaultView),Qn===void 0)return gr?gr[Ne]:On[Fn];gr?gr.scrollTo(vt?gr.pageXOffset:Qn,vt?Qn:gr.pageYOffset):On[Fn]=Qn},jt,Mt,arguments.length)}}),Dt.each(["top","left"],function(jt,Ne){Dt.cssHooks[Ne]=Rc(En.pixelPosition,function(vt,Mt){if(Mt)return Mt=Au(vt,Ne),Cu.test(Mt)?Dt(vt).position()[Ne]+"px":Mt})}),Dt.each({Height:"height",Width:"width"},function(jt,Ne){Dt.each({padding:"inner"+jt,content:Ne,"":"outer"+jt},function(vt,Mt){Dt.fn[Mt]=function(On,Fn){var Qn=arguments.length&&(vt||typeof On!="boolean"),gr=vt||(On===!0||Fn===!0?"margin":"border");return Ss(this,function(Xr,mi,qi){var Ka;return lr(Xr)?Mt.indexOf("outer")===0?Xr["inner"+jt]:Xr.document.documentElement["client"+jt]:Xr.nodeType===9?(Ka=Xr.documentElement,Math.max(Xr.body["scroll"+jt],Ka["scroll"+jt],Xr.body["offset"+jt],Ka["offset"+jt],Ka["client"+jt])):qi===void 0?Dt.css(Xr,mi,gr):Dt.style(Xr,mi,qi,gr)},Ne,Qn?On:void 0,Qn)}})}),Dt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(jt,Ne){Dt.fn[Ne]=function(vt){return this.on(Ne,vt)}}),Dt.fn.extend({bind:function(Ne,vt,Mt){return this.on(Ne,null,vt,Mt)},unbind:function(Ne,vt){return this.off(Ne,null,vt)},delegate:function(Ne,vt,Mt,On){return this.on(vt,Ne,Mt,On)},undelegate:function(Ne,vt,Mt){return arguments.length===1?this.off(Ne,"**"):this.off(vt,Ne||"**",Mt)},hover:function(Ne,vt){return this.mouseenter(Ne).mouseleave(vt||Ne)}}),Dt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(jt,Ne){Dt.fn[Ne]=function(vt,Mt){return arguments.length>0?this.on(Ne,null,vt,Mt):this.trigger(Ne)}});var Hd=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Dt.proxy=function(jt,Ne){var vt,Mt,On;if(typeof Ne=="string"&&(vt=jt[Ne],Ne=jt,jt=vt),!!Gn(jt))return Mt=Hn.call(arguments,2),On=function(){return jt.apply(Ne||this,Mt.concat(Hn.call(arguments)))},On.guid=jt.guid=jt.guid||Dt.guid++,On},Dt.holdReady=function(jt){jt?Dt.readyWait++:Dt.ready(!0)},Dt.isArray=Array.isArray,Dt.parseJSON=JSON.parse,Dt.nodeName=Ta,Dt.isFunction=Gn,Dt.isWindow=lr,Dt.camelCase=Ms,Dt.type=_i,Dt.now=Date.now,Dt.isNumeric=function(jt){var Ne=Dt.type(jt);return(Ne==="number"||Ne==="string")&&!isNaN(jt-parseFloat(jt))},Dt.trim=function(jt){return jt==null?"":(jt+"").replace(Hd,"")};var xd=ot.jQuery,zd=ot.$;return Dt.noConflict=function(jt){return ot.$===Dt&&(ot.$=zd),jt&&ot.jQuery===Dt&&(ot.jQuery=xd),Dt},typeof _t=="undefined"&&(ot.jQuery=ot.$=Dt),Dt})}),dt;if(typeof on=="function")try{dt={clone:m.a,constant:t.a,each:p.a,filter:S.a,has:T.a,isArray:Y.a,isEmpty:A.a,isFunction:b.a,isUndefined:O.a,keys:D.a,map:te.a,reduce:ye.a,size:oe.a,transform:ue.a,union:se.a,values:Z.a}}catch($e){}dt||(dt=window._);var ct=dt,Kt=gn,pn="\0",kn="\0",Pt="";function gn($e){this._isDirected=ct.has($e,"directed")?$e.directed:!0,this._isMultigraph=ct.has($e,"multigraph")?$e.multigraph:!1,this._isCompound=ct.has($e,"compound")?$e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=ct.constant(void 0),this._defaultEdgeLabelFn=ct.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[kn]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}gn.prototype._nodeCount=0,gn.prototype._edgeCount=0,gn.prototype.isDirected=function(){return this._isDirected},gn.prototype.isMultigraph=function(){return this._isMultigraph},gn.prototype.isCompound=function(){return this._isCompound},gn.prototype.setGraph=function($e){return this._label=$e,this},gn.prototype.graph=function(){return this._label},gn.prototype.setDefaultNodeLabel=function($e){return ct.isFunction($e)||($e=ct.constant($e)),this._defaultNodeLabelFn=$e,this},gn.prototype.nodeCount=function(){return this._nodeCount},gn.prototype.nodes=function(){return ct.keys(this._nodes)},gn.prototype.sources=function(){var $e=this;return ct.filter(this.nodes(),function(ot){return ct.isEmpty($e._in[ot])})},gn.prototype.sinks=function(){var $e=this;return ct.filter(this.nodes(),function(ot){return ct.isEmpty($e._out[ot])})},gn.prototype.setNodes=function($e,ot){var _t=arguments,dn=this;return ct.each($e,function(xn){_t.length>1?dn.setNode(xn,ot):dn.setNode(xn)}),this},gn.prototype.setNode=function($e,ot){return ct.has(this._nodes,$e)?(arguments.length>1&&(this._nodes[$e]=ot),this):(this._nodes[$e]=arguments.length>1?ot:this._defaultNodeLabelFn($e),this._isCompound&&(this._parent[$e]=kn,this._children[$e]={},this._children[kn][$e]=!0),this._in[$e]={},this._preds[$e]={},this._out[$e]={},this._sucs[$e]={},++this._nodeCount,this)},gn.prototype.node=function($e){return this._nodes[$e]},gn.prototype.hasNode=function($e){return ct.has(this._nodes,$e)},gn.prototype.removeNode=function($e){var ot=this;if(ct.has(this._nodes,$e)){var _t=function(xn){ot.removeEdge(ot._edgeObjs[xn])};delete this._nodes[$e],this._isCompound&&(this._removeFromParentsChildList($e),delete this._parent[$e],ct.each(this.children($e),function(dn){ot.setParent(dn)}),delete this._children[$e]),ct.each(ct.keys(this._in[$e]),_t),delete this._in[$e],delete this._preds[$e],ct.each(ct.keys(this._out[$e]),_t),delete this._out[$e],delete this._sucs[$e],--this._nodeCount}return this},gn.prototype.setParent=function($e,ot){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(ct.isUndefined(ot))ot=kn;else{ot+="";for(var _t=ot;!ct.isUndefined(_t);_t=this.parent(_t))if(_t===$e)throw new Error("Setting "+ot+" as parent of "+$e+" would create a cycle");this.setNode(ot)}return this.setNode($e),this._removeFromParentsChildList($e),this._parent[$e]=ot,this._children[ot][$e]=!0,this},gn.prototype._removeFromParentsChildList=function($e){delete this._children[this._parent[$e]][$e]},gn.prototype.parent=function($e){if(this._isCompound){var ot=this._parent[$e];if(ot!==kn)return ot}},gn.prototype.children=function($e){if(ct.isUndefined($e)&&($e=kn),this._isCompound){var ot=this._children[$e];if(ot)return ct.keys(ot)}else{if($e===kn)return this.nodes();if(this.hasNode($e))return[]}},gn.prototype.predecessors=function($e){var ot=this._preds[$e];if(ot)return ct.keys(ot)},gn.prototype.successors=function($e){var ot=this._sucs[$e];if(ot)return ct.keys(ot)},gn.prototype.neighbors=function($e){var ot=this.predecessors($e);if(ot)return ct.union(ot,this.successors($e))},gn.prototype.isLeaf=function($e){var ot;return this.isDirected()?ot=this.successors($e):ot=this.neighbors($e),ot.length===0},gn.prototype.filterNodes=function($e){var ot=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});ot.setGraph(this.graph());var _t=this;ct.each(this._nodes,function(Hn,er){$e(er)&&ot.setNode(er,Hn)}),ct.each(this._edgeObjs,function(Hn){ot.hasNode(Hn.v)&&ot.hasNode(Hn.w)&&ot.setEdge(Hn,_t.edge(Hn))});var dn={};function xn(Hn){var er=_t.parent(Hn);return er===void 0||ot.hasNode(er)?(dn[Hn]=er,er):er in dn?dn[er]:xn(er)}return this._isCompound&&ct.each(ot.nodes(),function(Hn){ot.setParent(Hn,xn(Hn))}),ot},gn.prototype.setDefaultEdgeLabel=function($e){return ct.isFunction($e)||($e=ct.constant($e)),this._defaultEdgeLabelFn=$e,this},gn.prototype.edgeCount=function(){return this._edgeCount},gn.prototype.edges=function(){return ct.values(this._edgeObjs)},gn.prototype.setPath=function($e,ot){var _t=this,dn=arguments;return ct.reduce($e,function(xn,Hn){return dn.length>1?_t.setEdge(xn,Hn,ot):_t.setEdge(xn,Hn),Hn}),this},gn.prototype.setEdge=function(){var $e,ot,_t,dn,xn=!1,Hn=arguments[0];un(Hn)==="object"&&Hn!==null&&"v"in Hn?($e=Hn.v,ot=Hn.w,_t=Hn.name,arguments.length===2&&(dn=arguments[1],xn=!0)):($e=Hn,ot=arguments[1],_t=arguments[3],arguments.length>2&&(dn=arguments[2],xn=!0)),$e=""+$e,ot=""+ot,ct.isUndefined(_t)||(_t=""+_t);var er=qn(this._isDirected,$e,ot,_t);if(ct.has(this._edgeLabels,er))return xn&&(this._edgeLabels[er]=dn),this;if(!ct.isUndefined(_t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode($e),this.setNode(ot),this._edgeLabels[er]=xn?dn:this._defaultEdgeLabelFn($e,ot,_t);var Nr=rr(this._isDirected,$e,ot,_t);return $e=Nr.v,ot=Nr.w,Object.freeze(Nr),this._edgeObjs[er]=Nr,_n(this._preds[ot],$e),_n(this._sucs[$e],ot),this._in[ot][er]=Nr,this._out[$e][er]=Nr,this._edgeCount++,this},gn.prototype.edge=function($e,ot,_t){var dn=arguments.length===1?Rn(this._isDirected,arguments[0]):qn(this._isDirected,$e,ot,_t);return this._edgeLabels[dn]},gn.prototype.hasEdge=function($e,ot,_t){var dn=arguments.length===1?Rn(this._isDirected,arguments[0]):qn(this._isDirected,$e,ot,_t);return ct.has(this._edgeLabels,dn)},gn.prototype.removeEdge=function($e,ot,_t){var dn=arguments.length===1?Rn(this._isDirected,arguments[0]):qn(this._isDirected,$e,ot,_t),xn=this._edgeObjs[dn];return xn&&($e=xn.v,ot=xn.w,delete this._edgeLabels[dn],delete this._edgeObjs[dn],Kn(this._preds[ot],$e),Kn(this._sucs[$e],ot),delete this._in[ot][dn],delete this._out[$e][dn],this._edgeCount--),this},gn.prototype.inEdges=function($e,ot){var _t=this._in[$e];if(_t){var dn=ct.values(_t);return ot?ct.filter(dn,function(xn){return xn.v===ot}):dn}},gn.prototype.outEdges=function($e,ot){var _t=this._out[$e];if(_t){var dn=ct.values(_t);return ot?ct.filter(dn,function(xn){return xn.w===ot}):dn}},gn.prototype.nodeEdges=function($e,ot){var _t=this.inEdges($e,ot);if(_t)return _t.concat(this.outEdges($e,ot))};function _n($e,ot){$e[ot]?$e[ot]++:$e[ot]=1}function Kn($e,ot){--$e[ot]||delete $e[ot]}function qn($e,ot,_t,dn){var xn=""+ot,Hn=""+_t;if(!$e&&xn>Hn){var er=xn;xn=Hn,Hn=er}return xn+Pt+Hn+Pt+(ct.isUndefined(dn)?pn:dn)}function rr($e,ot,_t,dn){var xn=""+ot,Hn=""+_t;if(!$e&&xn>Hn){var er=xn;xn=Hn,Hn=er}var Nr={v:xn,w:Hn};return dn&&(Nr.name=dn),Nr}function Rn($e,ot){return qn($e,ot.v,ot.w,ot.name)}var mr="2.1.8",ar={Graph:Kt,version:mr},sr={write:yr,read:li};function yr($e){var ot={options:{directed:$e.isDirected(),multigraph:$e.isMultigraph(),compound:$e.isCompound()},nodes:br($e),edges:_r($e)};return ct.isUndefined($e.graph())||(ot.value=ct.clone($e.graph())),ot}function br($e){return ct.map($e.nodes(),function(ot){var _t=$e.node(ot),dn=$e.parent(ot),xn={v:ot};return ct.isUndefined(_t)||(xn.value=_t),ct.isUndefined(dn)||(xn.parent=dn),xn})}function _r($e){return ct.map($e.edges(),function(ot){var _t=$e.edge(ot),dn={v:ot.v,w:ot.w};return ct.isUndefined(ot.name)||(dn.name=ot.name),ct.isUndefined(_t)||(dn.value=_t),dn})}function li($e){var ot=new Kt($e.options).setGraph($e.value);return ct.each($e.nodes,function(_t){ot.setNode(_t.v,_t.value),_t.parent&&ot.setParent(_t.v,_t.parent)}),ct.each($e.edges,function(_t){ot.setEdge({v:_t.v,w:_t.w,name:_t.name},_t.value)}),ot}var xi=Mi;function Mi($e){var ot={},_t=[],dn;function xn(Hn){ct.has(ot,Hn)||(ot[Hn]=!0,dn.push(Hn),ct.each($e.successors(Hn),xn),ct.each($e.predecessors(Hn),xn))}return ct.each($e.nodes(),function(Hn){dn=[],xn(Hn),dn.length&&_t.push(dn)}),_t}var Fr=ur;function ur(){this._arr=[],this._keyIndices={}}ur.prototype.size=function(){return this._arr.length},ur.prototype.keys=function(){return this._arr.map(function($e){return $e.key})},ur.prototype.has=function($e){return ct.has(this._keyIndices,$e)},ur.prototype.priority=function($e){var ot=this._keyIndices[$e];if(ot!==void 0)return this._arr[ot].priority},ur.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key},ur.prototype.add=function($e,ot){var _t=this._keyIndices;if($e=String($e),!ct.has(_t,$e)){var dn=this._arr,xn=dn.length;return _t[$e]=xn,dn.push({key:$e,priority:ot}),this._decrease(xn),!0}return!1},ur.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var $e=this._arr.pop();return delete this._keyIndices[$e.key],this._heapify(0),$e.key},ur.prototype.decrease=function($e,ot){var _t=this._keyIndices[$e];if(ot>this._arr[_t].priority)throw new Error("New priority is greater than current priority. Key: "+$e+" Old: "+this._arr[_t].priority+" New: "+ot);this._arr[_t].priority=ot,this._decrease(_t)},ur.prototype._heapify=function($e){var ot=this._arr,_t=2*$e,dn=_t+1,xn=$e;_t<ot.length&&(xn=ot[_t].priority<ot[xn].priority?_t:xn,dn<ot.length&&(xn=ot[dn].priority<ot[xn].priority?dn:xn),xn!==$e&&(this._swap($e,xn),this._heapify(xn)))},ur.prototype._decrease=function($e){for(var ot=this._arr,_t=ot[$e].priority,dn;$e!==0&&(dn=$e>>1,!(ot[dn].priority<_t));)this._swap($e,dn),$e=dn},ur.prototype._swap=function($e,ot){var _t=this._arr,dn=this._keyIndices,xn=_t[$e],Hn=_t[ot];_t[$e]=Hn,_t[ot]=xn,dn[Hn.key]=$e,dn[xn.key]=ot};var Ti=ca,Xi=ct.constant(1);function ca($e,ot,_t,dn){return Zi($e,String(ot),_t||Xi,dn||function(xn){return $e.outEdges(xn)})}function Zi($e,ot,_t,dn){var xn={},Hn=new Fr,er,Nr,Zr=function(Fe){var Et=Fe.v!==er?Fe.v:Fe.w,at=xn[Et],At=_t(Fe),En=Nr.distance+At;if(At<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+Fe+" Weight: "+At);En<at.distance&&(at.distance=En,at.predecessor=er,Hn.decrease(Et,En))};for($e.nodes().forEach(function(rt){var Fe=rt===ot?0:Number.POSITIVE_INFINITY;xn[rt]={distance:Fe},Hn.add(rt,Fe)});Hn.size()>0&&(er=Hn.removeMin(),Nr=xn[er],Nr.distance!==Number.POSITIVE_INFINITY);)dn(er).forEach(Zr);return xn}var xa=va;function va($e,ot,_t){return ct.transform($e.nodes(),function(dn,xn){dn[xn]=Ti($e,xn,ot,_t)},{})}var Ma=_a;function _a($e){var ot=0,_t=[],dn={},xn=[];function Hn(er){var Nr=dn[er]={onStack:!0,lowlink:ot,index:ot++};if(_t.push(er),$e.successors(er).forEach(function(Fe){ct.has(dn,Fe)?dn[Fe].onStack&&(Nr.lowlink=Math.min(Nr.lowlink,dn[Fe].index)):(Hn(Fe),Nr.lowlink=Math.min(Nr.lowlink,dn[Fe].lowlink))}),Nr.lowlink===Nr.index){var Zr=[],rt;do rt=_t.pop(),dn[rt].onStack=!1,Zr.push(rt);while(er!==rt);xn.push(Zr)}}return $e.nodes().forEach(function(er){ct.has(dn,er)||Hn(er)}),xn}var na=sa;function sa($e){return ct.filter(Ma($e),function(ot){return ot.length>1||ot.length===1&&$e.hasEdge(ot[0],ot[0])})}var Ai=ea,ba=ct.constant(1);function ea($e,ot,_t){return mn($e,ot||ba,_t||function(dn){return $e.outEdges(dn)})}function mn($e,ot,_t){var dn={},xn=$e.nodes();return xn.forEach(function(Hn){dn[Hn]={},dn[Hn][Hn]={distance:0},xn.forEach(function(er){Hn!==er&&(dn[Hn][er]={distance:Number.POSITIVE_INFINITY})}),_t(Hn).forEach(function(er){var Nr=er.v===Hn?er.w:er.v,Zr=ot(er);dn[Hn][Nr]={distance:Zr,predecessor:Hn}})}),xn.forEach(function(Hn){var er=dn[Hn];xn.forEach(function(Nr){var Zr=dn[Nr];xn.forEach(function(rt){var Fe=Zr[Hn],Et=er[rt],at=Zr[rt],At=Fe.distance+Et.distance;At<at.distance&&(at.distance=At,at.predecessor=Et.predecessor)})})}),dn}var It=Ue;Ue.CycleException=Ze;function Ue($e){var ot={},_t={},dn=[];function xn(Hn){if(ct.has(_t,Hn))throw new Ze;ct.has(ot,Hn)||(_t[Hn]=!0,ot[Hn]=!0,ct.each($e.predecessors(Hn),xn),delete _t[Hn],dn.push(Hn))}if(ct.each($e.sinks(),xn),ct.size(ot)!==$e.nodeCount())throw new Ze;return dn}function Ze(){}Ze.prototype=new Error;var Pe=mt;function mt($e){try{It($e)}catch(ot){if(ot instanceof It.CycleException)return!1;throw ot}return!0}var xt=cn;function cn($e,ot,_t){ct.isArray(ot)||(ot=[ot]);var dn=($e.isDirected()?$e.successors:$e.neighbors).bind($e),xn=[],Hn={};return ct.each(ot,function(er){if(!$e.hasNode(er))throw new Error("Graph does not have node: "+er);Ut($e,er,_t==="post",Hn,dn,xn)}),xn}function Ut($e,ot,_t,dn,xn,Hn){ct.has(dn,ot)||(dn[ot]=!0,_t||Hn.push(ot),ct.each(xn(ot),function(er){Ut($e,er,_t,dn,xn,Hn)}),_t&&Hn.push(ot))}var wt=Pn;function Pn($e,ot){return xt($e,ot,"post")}var an=Dn;function Dn($e,ot){return xt($e,ot,"pre")}var Tn=Zn;function Zn($e,ot){var _t=new Kt,dn={},xn=new Fr,Hn;function er(Zr){var rt=Zr.v===Hn?Zr.w:Zr.v,Fe=xn.priority(rt);if(Fe!==void 0){var Et=ot(Zr);Et<Fe&&(dn[rt]=Hn,xn.decrease(rt,Et))}}if($e.nodeCount()===0)return _t;ct.each($e.nodes(),function(Zr){xn.add(Zr,Number.POSITIVE_INFINITY),_t.setNode(Zr)}),xn.decrease($e.nodes()[0],0);for(var Nr=!1;xn.size()>0;){if(Hn=xn.removeMin(),ct.has(dn,Hn))_t.setEdge(Hn,dn[Hn]);else{if(Nr)throw new Error("Input graph is not connected: "+$e);Nr=!0}$e.nodeEdges(Hn).forEach(er)}return _t}var Mr={components:xi,dijkstra:Ti,dijkstraAll:xa,findCycles:na,floydWarshall:Ai,isAcyclic:Pe,postorder:wt,preorder:an,prim:Tn,tarjan:Ma,topsort:It},xr={Graph:ar.Graph,json:sr,alg:Mr,version:ar.version},Vr;if(typeof on=="function")try{Vr=xr}catch($e){}Vr||(Vr=window.graphlib);var Dr=Vr,dr;if(typeof on=="function")try{dr={cloneDeep:ce.a,constant:t.a,defaults:y.a,each:p.a,filter:S.a,find:z.a,flatten:X.a,forEach:ae.a,forIn:Te.a,has:T.a,isUndefined:O.a,last:ft.a,map:te.a,mapValues:ie.a,max:Ve.a,merge:Me.a,min:Re.a,minBy:Xe.a,now:bt.a,pick:Bt.a,range:st.a,reduce:ye.a,sortBy:nt.a,uniqueId:Sn.a,values:Z.a,zipObject:ht.a}}catch($e){}dr||(dr=window._);var gt=dr,Rr=ci;function ci(){var $e={};$e._next=$e._prev=$e,this._sentinel=$e}ci.prototype.dequeue=function(){var $e=this._sentinel,ot=$e._prev;if(ot!==$e)return ai(ot),ot},ci.prototype.enqueue=function($e){var ot=this._sentinel;$e._prev&&$e._next&&ai($e),$e._next=ot._next,ot._next._prev=$e,ot._next=$e,$e._prev=ot},ci.prototype.toString=function(){for(var $e=[],ot=this._sentinel,_t=ot._prev;_t!==ot;)$e.push(JSON.stringify(_t,bi)),_t=_t._prev;return"["+$e.join(", ")+"]"};function ai($e){$e._prev._next=$e._next,$e._next._prev=$e._prev,delete $e._next,delete $e._prev}function bi($e,ot){if($e!=="_next"&&$e!=="_prev")return ot}var zr=Dr.Graph,Hi=Ci,hi=gt.constant(1);function Ci($e,ot){if($e.nodeCount()<=1)return[];var _t=nr($e,ot||hi),dn=Ii(_t.graph,_t.buckets,_t.zeroIdx);return gt.flatten(gt.map(dn,function(xn){return $e.outEdges(xn.v,xn.w)}),!0)}function Ii($e,ot,_t){for(var dn=[],xn=ot[ot.length-1],Hn=ot[0],er;$e.nodeCount();){for(;er=Hn.dequeue();)Mn($e,ot,_t,er);for(;er=xn.dequeue();)Mn($e,ot,_t,er);if($e.nodeCount()){for(var Nr=ot.length-2;Nr>0;--Nr)if(er=ot[Nr].dequeue(),er){dn=dn.concat(Mn($e,ot,_t,er,!0));break}}}return dn}function Mn($e,ot,_t,dn,xn){var Hn=xn?[]:void 0;return gt.forEach($e.inEdges(dn.v),function(er){var Nr=$e.edge(er),Zr=$e.node(er.v);xn&&Hn.push({v:er.v,w:er.w}),Zr.out-=Nr,cr(ot,_t,Zr)}),gt.forEach($e.outEdges(dn.v),function(er){var Nr=$e.edge(er),Zr=er.w,rt=$e.node(Zr);rt.in-=Nr,cr(ot,_t,rt)}),$e.removeNode(dn.v),Hn}function nr($e,ot){var _t=new zr,dn=0,xn=0;gt.forEach($e.nodes(),function(Nr){_t.setNode(Nr,{v:Nr,in:0,out:0})}),gt.forEach($e.edges(),function(Nr){var Zr=_t.edge(Nr.v,Nr.w)||0,rt=ot(Nr),Fe=Zr+rt;_t.setEdge(Nr.v,Nr.w,Fe),xn=Math.max(xn,_t.node(Nr.v).out+=rt),dn=Math.max(dn,_t.node(Nr.w).in+=rt)});var Hn=gt.range(xn+dn+3).map(function(){return new Rr}),er=dn+1;return gt.forEach(_t.nodes(),function(Nr){cr(Hn,er,_t.node(Nr))}),{graph:_t,buckets:Hn,zeroIdx:er}}function cr($e,ot,_t){_t.out?_t.in?$e[_t.out-_t.in+ot].enqueue(_t):$e[$e.length-1].enqueue(_t):$e[0].enqueue(_t)}var Lr={run:ei,undo:ua};function ei($e){var ot=$e.graph().acyclicer==="greedy"?Hi($e,_t($e)):ki($e);gt.forEach(ot,function(dn){var xn=$e.edge(dn);$e.removeEdge(dn),xn.forwardName=dn.name,xn.reversed=!0,$e.setEdge(dn.w,dn.v,xn,gt.uniqueId("rev"))});function _t(dn){return function(xn){return dn.edge(xn).weight}}}function ki($e){var ot=[],_t={},dn={};function xn(Hn){gt.has(dn,Hn)||(dn[Hn]=!0,_t[Hn]=!0,gt.forEach($e.outEdges(Hn),function(er){gt.has(_t,er.w)?ot.push(er):xn(er.w)}),delete _t[Hn])}return gt.forEach($e.nodes(),xn),ot}function ua($e){gt.forEach($e.edges(),function(ot){var _t=$e.edge(ot);if(_t.reversed){$e.removeEdge(ot);var dn=_t.forwardName;delete _t.reversed,delete _t.forwardName,$e.setEdge(ot.w,ot.v,_t,dn)}})}var Qi=Dr.Graph,Br={addDummyNode:ga,simplify:fa,asNonCompoundGraph:Ja,successorWeights:In,predecessorWeights:ve,intersectRect:x,buildLayerMatrix:le,normalizeRanks:me,removeEmptyRanks:Ae,addBorderNode:tt,maxRank:pt,partition:ke,time:we,notime:Be};function ga($e,ot,_t,dn){var xn;do xn=gt.uniqueId(dn);while($e.hasNode(xn));return _t.dummy=ot,$e.setNode(xn,_t),xn}function fa($e){var ot=new Qi().setGraph($e.graph());return gt.forEach($e.nodes(),function(_t){ot.setNode(_t,$e.node(_t))}),gt.forEach($e.edges(),function(_t){var dn=ot.edge(_t.v,_t.w)||{weight:0,minlen:1},xn=$e.edge(_t);ot.setEdge(_t.v,_t.w,{weight:dn.weight+xn.weight,minlen:Math.max(dn.minlen,xn.minlen)})}),ot}function Ja($e){var ot=new Qi({multigraph:$e.isMultigraph()}).setGraph($e.graph());return gt.forEach($e.nodes(),function(_t){$e.children(_t).length||ot.setNode(_t,$e.node(_t))}),gt.forEach($e.edges(),function(_t){ot.setEdge(_t,$e.edge(_t))}),ot}function In($e){var ot=gt.map($e.nodes(),function(_t){var dn={};return gt.forEach($e.outEdges(_t),function(xn){dn[xn.w]=(dn[xn.w]||0)+$e.edge(xn).weight}),dn});return gt.zipObject($e.nodes(),ot)}function ve($e){var ot=gt.map($e.nodes(),function(_t){var dn={};return gt.forEach($e.inEdges(_t),function(xn){dn[xn.v]=(dn[xn.v]||0)+$e.edge(xn).weight}),dn});return gt.zipObject($e.nodes(),ot)}function x($e,ot){var _t=$e.x,dn=$e.y,xn=ot.x-_t,Hn=ot.y-dn,er=$e.width/2,Nr=$e.height/2;if(!xn&&!Hn)throw new Error("Not possible to find intersection inside of the rectangle");var Zr,rt;return Math.abs(Hn)*er>Math.abs(xn)*Nr?(Hn<0&&(Nr=-Nr),Zr=Nr*xn/Hn,rt=Nr):(xn<0&&(er=-er),Zr=er,rt=er*Hn/xn),{x:_t+Zr,y:dn+rt}}function le($e){var ot=gt.map(gt.range(pt($e)+1),function(){return[]});return gt.forEach($e.nodes(),function(_t){var dn=$e.node(_t),xn=dn.rank;gt.isUndefined(xn)||(ot[xn][dn.order]=_t)}),ot}function me($e){var ot=gt.min(gt.map($e.nodes(),function(_t){return $e.node(_t).rank}));gt.forEach($e.nodes(),function(_t){var dn=$e.node(_t);gt.has(dn,"rank")&&(dn.rank-=ot)})}function Ae($e){var ot=gt.min(gt.map($e.nodes(),function(Hn){return $e.node(Hn).rank})),_t=[];gt.forEach($e.nodes(),function(Hn){var er=$e.node(Hn).rank-ot;_t[er]||(_t[er]=[]),_t[er].push(Hn)});var dn=0,xn=$e.graph().nodeRankFactor;gt.forEach(_t,function(Hn,er){gt.isUndefined(Hn)&&er%xn!=0?--dn:dn&>.forEach(Hn,function(Nr){$e.node(Nr).rank+=dn})})}function tt($e,ot,_t,dn){var xn={width:0,height:0};return arguments.length>=4&&(xn.rank=_t,xn.order=dn),ga($e,"border",xn,ot)}function pt($e){return gt.max(gt.map($e.nodes(),function(ot){var _t=$e.node(ot).rank;if(!gt.isUndefined(_t))return _t}))}function ke($e,ot){var _t={lhs:[],rhs:[]};return gt.forEach($e,function(dn){ot(dn)?_t.lhs.push(dn):_t.rhs.push(dn)}),_t}function we($e,ot){var _t=gt.now();try{return ot()}finally{console.log($e+" time: "+(gt.now()-_t)+"ms")}}function Be($e,ot){return ot()}var Le={run:J,undo:We};function J($e){$e.graph().dummyChains=[],gt.forEach($e.edges(),function(ot){Ke($e,ot)})}function Ke($e,ot){var _t=ot.v,dn=$e.node(_t).rank,xn=ot.w,Hn=$e.node(xn).rank,er=ot.name,Nr=$e.edge(ot),Zr=Nr.labelRank;if(Hn!==dn+1){$e.removeEdge(ot);var rt,Fe,Et;for(Et=0,++dn;dn<Hn;++Et,++dn)Nr.points=[],Fe={width:0,height:0,edgeLabel:Nr,edgeObj:ot,rank:dn},rt=Br.addDummyNode($e,"edge",Fe,"_d"),dn===Zr&&(Fe.width=Nr.width,Fe.height=Nr.height,Fe.dummy="edge-label",Fe.labelpos=Nr.labelpos),$e.setEdge(_t,rt,{weight:Nr.weight},er),Et===0&&$e.graph().dummyChains.push(rt),_t=rt;$e.setEdge(_t,xn,{weight:Nr.weight},er)}}function We($e){gt.forEach($e.graph().dummyChains,function(ot){var _t=$e.node(ot),dn=_t.edgeLabel,xn;for($e.setEdge(_t.edgeObj,dn);_t.dummy;)xn=$e.successors(ot)[0],$e.removeNode(ot),dn.points.push({x:_t.x,y:_t.y}),_t.dummy==="edge-label"&&(dn.x=_t.x,dn.y=_t.y,dn.width=_t.width,dn.height=_t.height),ot=xn,_t=$e.node(ot)})}var Ot={longestPath:Vt,slack:$t};function Vt($e){var ot={};function _t(dn){var xn=$e.node(dn);if(gt.has(ot,dn))return xn.rank;ot[dn]=!0;var Hn=gt.min(gt.map($e.outEdges(dn),function(er){return _t(er.w)-$e.edge(er).minlen}));return(Hn===Number.POSITIVE_INFINITY||Hn===void 0||Hn===null)&&(Hn=0),xn.rank=Hn}gt.forEach($e.sources(),_t)}function $t($e,ot){return $e.node(ot.w).rank-$e.node(ot.v).rank-$e.edge(ot).minlen}var Gt=Dr.Graph,hn=Ot.slack,$n=Sr;function Sr($e){var ot=new Gt({directed:!1}),_t=$e.nodes()[0],dn=$e.nodeCount();ot.setNode(_t,{});for(var xn,Hn;vr(ot,$e)<dn;)xn=zn(ot,$e),Hn=ot.hasNode(xn.v)?hn($e,xn):-hn($e,xn),Tr(ot,$e,Hn);return ot}function vr($e,ot){function _t(dn){gt.forEach(ot.nodeEdges(dn),function(xn){var Hn=xn.v,er=dn===Hn?xn.w:Hn;!$e.hasNode(er)&&!hn(ot,xn)&&($e.setNode(er,{}),$e.setEdge(dn,er,{}),_t(er))})}return gt.forEach($e.nodes(),_t),$e.nodeCount()}function zn($e,ot){return gt.minBy(ot.edges(),function(_t){if($e.hasNode(_t.v)!==$e.hasNode(_t.w))return hn(ot,_t)})}function Tr($e,ot,_t){gt.forEach($e.nodes(),function(dn){ot.node(dn).rank+=_t})}var Qr=Ot.slack,Qe=Ot.longestPath,Jt=Dr.alg.preorder,ln=Dr.alg.postorder,rn=Br.simplify,An=fr;fr.initLowLimValues=vi,fr.initCutValues=Pr,fr.calcCutValue=Ar,fr.leaveEdge=di,fr.enterEdge=ri,fr.exchangeEdges=yi;function fr($e){$e=rn($e),Qe($e);var ot=$n($e);vi(ot),Pr(ot,$e);for(var _t,dn;_t=di(ot);)dn=ri(ot,$e,_t),yi(ot,$e,_t,dn)}function Pr($e,ot){var _t=ln($e,$e.nodes());_t=_t.slice(0,_t.length-1),gt.forEach(_t,function(dn){kr($e,ot,dn)})}function kr($e,ot,_t){var dn=$e.node(_t),xn=dn.parent;$e.edge(_t,xn).cutvalue=Ar($e,ot,_t)}function Ar($e,ot,_t){var dn=$e.node(_t),xn=dn.parent,Hn=!0,er=ot.edge(_t,xn),Nr=0;return er||(Hn=!1,er=ot.edge(xn,_t)),Nr=er.weight,gt.forEach(ot.nodeEdges(_t),function(Zr){var rt=Zr.v===_t,Fe=rt?Zr.w:Zr.v;if(Fe!==xn){var Et=rt===Hn,at=ot.edge(Zr).weight;if(Nr+=Et?at:-at,zi($e,_t,Fe)){var At=$e.edge(_t,Fe).cutvalue;Nr+=Et?-At:At}}}),Nr}function vi($e,ot){arguments.length<2&&(ot=$e.nodes()[0]),Wi($e,{},1,ot)}function Wi($e,ot,_t,dn,xn){var Hn=_t,er=$e.node(dn);return ot[dn]=!0,gt.forEach($e.neighbors(dn),function(Nr){gt.has(ot,Nr)||(_t=Wi($e,ot,_t,Nr,dn))}),er.low=Hn,er.lim=_t++,xn?er.parent=xn:delete er.parent,_t}function di($e){return gt.find($e.edges(),function(ot){return $e.edge(ot).cutvalue<0})}function ri($e,ot,_t){var dn=_t.v,xn=_t.w;ot.hasEdge(dn,xn)||(dn=_t.w,xn=_t.v);var Hn=$e.node(dn),er=$e.node(xn),Nr=Hn,Zr=!1;Hn.lim>er.lim&&(Nr=er,Zr=!0);var rt=gt.filter(ot.edges(),function(Fe){return Zr===si($e,$e.node(Fe.v),Nr)&&Zr!==si($e,$e.node(Fe.w),Nr)});return gt.minBy(rt,function(Fe){return Qr(ot,Fe)})}function yi($e,ot,_t,dn){var xn=_t.v,Hn=_t.w;$e.removeEdge(xn,Hn),$e.setEdge(dn.v,dn.w,{}),vi($e),Pr($e,ot),Si($e,ot)}function Si($e,ot){var _t=gt.find($e.nodes(),function(xn){return!ot.node(xn).parent}),dn=Jt($e,_t);dn=dn.slice(1),gt.forEach(dn,function(xn){var Hn=$e.node(xn).parent,er=ot.edge(xn,Hn),Nr=!1;er||(er=ot.edge(Hn,xn),Nr=!0),ot.node(xn).rank=ot.node(Hn).rank+(Nr?er.minlen:-er.minlen)})}function zi($e,ot,_t){return $e.hasEdge(ot,_t)}function si($e,ot,_t){return _t.low<=ot.lim&&ot.lim<=_t.lim}var ii=Ot.longestPath,Yi=La;function La($e){switch($e.graph().ranker){case"network-simplex":Oa($e);break;case"tight-tree":Ri($e);break;case"longest-path":Wa($e);break;default:Oa($e)}}var Wa=ii;function Ri($e){ii($e),$n($e)}function Oa($e){An($e)}var Ha=Za;function Za($e){var ot=Do($e);gt.forEach($e.graph().dummyChains,function(_t){for(var dn=$e.node(_t),xn=dn.edgeObj,Hn=co($e,ot,xn.v,xn.w),er=Hn.path,Nr=Hn.lca,Zr=0,rt=er[Zr],Fe=!0;_t!==xn.w;){if(dn=$e.node(_t),Fe){for(;(rt=er[Zr])!==Nr&&$e.node(rt).maxRank<dn.rank;)Zr++;rt===Nr&&(Fe=!1)}if(!Fe){for(;Zr<er.length-1&&$e.node(rt=er[Zr+1]).minRank<=dn.rank;)Zr++;rt=er[Zr]}$e.setParent(_t,rt),_t=$e.successors(_t)[0]}})}function co($e,ot,_t,dn){var xn=[],Hn=[],er=Math.min(ot[_t].low,ot[dn].low),Nr=Math.max(ot[_t].lim,ot[dn].lim),Zr,rt;Zr=_t;do Zr=$e.parent(Zr),xn.push(Zr);while(Zr&&(ot[Zr].low>er||Nr>ot[Zr].lim));for(rt=Zr,Zr=dn;(Zr=$e.parent(Zr))!==rt;)Hn.push(Zr);return{path:xn.concat(Hn.reverse()),lca:rt}}function Do($e){var ot={},_t=0;function dn(xn){var Hn=_t;gt.forEach($e.children(xn),dn),ot[xn]={low:Hn,lim:_t++}}return gt.forEach($e.children(),dn),ot}var ra={run:ya,cleanup:no};function ya($e){var ot=Br.addDummyNode($e,"root",{},"_root"),_t=Fa($e),dn=gt.max(gt.values(_t))-1,xn=2*dn+1;$e.graph().nestingRoot=ot,gt.forEach($e.edges(),function(er){$e.edge(er).minlen*=xn});var Hn=Ca($e)+1;gt.forEach($e.children(),function(er){Ra($e,ot,xn,Hn,dn,_t,er)}),$e.graph().nodeRankFactor=xn}function Ra($e,ot,_t,dn,xn,Hn,er){var Nr=$e.children(er);if(!Nr.length){er!==ot&&$e.setEdge(ot,er,{weight:0,minlen:_t});return}var Zr=Br.addBorderNode($e,"_bt"),rt=Br.addBorderNode($e,"_bb"),Fe=$e.node(er);$e.setParent(Zr,er),Fe.borderTop=Zr,$e.setParent(rt,er),Fe.borderBottom=rt,gt.forEach(Nr,function(Et){Ra($e,ot,_t,dn,xn,Hn,Et);var at=$e.node(Et),At=at.borderTop?at.borderTop:Et,En=at.borderBottom?at.borderBottom:Et,Gn=at.borderTop?dn:2*dn,lr=At!==En?1:xn-Hn[er]+1;$e.setEdge(Zr,At,{weight:Gn,minlen:lr,nestingEdge:!0}),$e.setEdge(En,rt,{weight:Gn,minlen:lr,nestingEdge:!0})}),$e.parent(er)||$e.setEdge(ot,Zr,{weight:0,minlen:xn+Hn[er]})}function Fa($e){var ot={};function _t(dn,xn){var Hn=$e.children(dn);Hn&&Hn.length&>.forEach(Hn,function(er){_t(er,xn+1)}),ot[dn]=xn}return gt.forEach($e.children(),function(dn){_t(dn,1)}),ot}function Ca($e){return gt.reduce($e.edges(),function(ot,_t){return ot+$e.edge(_t).weight},0)}function no($e){var ot=$e.graph();$e.removeNode(ot.nestingRoot),delete ot.nestingRoot,gt.forEach($e.edges(),function(_t){var dn=$e.edge(_t);dn.nestingEdge&&$e.removeEdge(_t)})}var No=es;function es($e){function ot(_t){var dn=$e.children(_t),xn=$e.node(_t);if(dn.length&>.forEach(dn,ot),gt.has(xn,"minRank")){xn.borderLeft=[],xn.borderRight=[];for(var Hn=xn.minRank,er=xn.maxRank+1;Hn<er;++Hn)ds($e,"borderLeft","_bl",_t,xn,Hn),ds($e,"borderRight","_br",_t,xn,Hn)}}gt.forEach($e.children(),ot)}function ds($e,ot,_t,dn,xn,Hn){var er={width:0,height:0,rank:Hn,borderType:ot},Nr=xn[ot][Hn-1],Zr=Br.addDummyNode($e,"border",er,_t);xn[ot][Hn]=Zr,$e.setParent(Zr,dn),Nr&&$e.setEdge(Nr,Zr,{weight:1})}var Yr={adjust:jr,undo:Ei};function jr($e){var ot=$e.graph().rankdir.toLowerCase();(ot==="lr"||ot==="rl")&&gi($e)}function Ei($e){var ot=$e.graph().rankdir.toLowerCase();(ot==="bt"||ot==="rl")&&Ir($e),(ot==="lr"||ot==="rl")&&(Li($e),gi($e))}function gi($e){gt.forEach($e.nodes(),function(ot){or($e.node(ot))}),gt.forEach($e.edges(),function(ot){or($e.edge(ot))})}function or($e){var ot=$e.width;$e.width=$e.height,$e.height=ot}function Ir($e){gt.forEach($e.nodes(),function(ot){Ur($e.node(ot))}),gt.forEach($e.edges(),function(ot){var _t=$e.edge(ot);gt.forEach(_t.points,Ur),gt.has(_t,"y")&&Ur(_t)})}function Ur($e){$e.y=-$e.y}function Li($e){gt.forEach($e.nodes(),function(ot){oa($e.node(ot))}),gt.forEach($e.edges(),function(ot){var _t=$e.edge(ot);gt.forEach(_t.points,oa),gt.has(_t,"x")&&oa(_t)})}function oa($e){var ot=$e.x;$e.x=$e.y,$e.y=ot}var Ua=$a;function $a($e){var ot={},_t=gt.filter($e.nodes(),function(Nr){return!$e.children(Nr).length}),dn=gt.max(gt.map(_t,function(Nr){return $e.node(Nr).rank})),xn=gt.map(gt.range(dn+1),function(){return[]});function Hn(Nr){if(!gt.has(ot,Nr)){ot[Nr]=!0;var Zr=$e.node(Nr);xn[Zr.rank].push(Nr),gt.forEach($e.successors(Nr),Hn)}}var er=gt.sortBy(_t,function(Nr){return $e.node(Nr).rank});return gt.forEach(er,Hn),xn}var Ba=ro;function ro($e,ot){for(var _t=0,dn=1;dn<ot.length;++dn)_t+=mo($e,ot[dn-1],ot[dn]);return _t}function mo($e,ot,_t){for(var dn=gt.zipObject(_t,gt.map(_t,function(rt,Fe){return Fe})),xn=gt.flatten(gt.map(ot,function(rt){return gt.sortBy(gt.map($e.outEdges(rt),function(Fe){return{pos:dn[Fe.w],weight:$e.edge(Fe).weight}}),"pos")}),!0),Hn=1;Hn<_t.length;)Hn<<=1;var er=2*Hn-1;Hn-=1;var Nr=gt.map(new Array(er),function(){return 0}),Zr=0;return gt.forEach(xn.forEach(function(rt){var Fe=rt.pos+Hn;Nr[Fe]+=rt.weight;for(var Et=0;Fe>0;)Fe%2&&(Et+=Nr[Fe+1]),Fe=Fe-1>>1,Nr[Fe]+=rt.weight;Zr+=rt.weight*Et})),Zr}var oo=Oo;function Oo($e,ot){return gt.map(ot,function(_t){var dn=$e.inEdges(_t);if(dn.length){var xn=gt.reduce(dn,function(Hn,er){var Nr=$e.edge(er),Zr=$e.node(er.v);return{sum:Hn.sum+Nr.weight*Zr.order,weight:Hn.weight+Nr.weight}},{sum:0,weight:0});return{v:_t,barycenter:xn.sum/xn.weight,weight:xn.weight}}else return{v:_t}})}var Yo=ts;function ts($e,ot){var _t={};gt.forEach($e,function(xn,Hn){var er=_t[xn.v]={indegree:0,in:[],out:[],vs:[xn.v],i:Hn};gt.isUndefined(xn.barycenter)||(er.barycenter=xn.barycenter,er.weight=xn.weight)}),gt.forEach(ot.edges(),function(xn){var Hn=_t[xn.v],er=_t[xn.w];!gt.isUndefined(Hn)&&!gt.isUndefined(er)&&(er.indegree++,Hn.out.push(_t[xn.w]))});var dn=gt.filter(_t,function(xn){return!xn.indegree});return Os(dn)}function Os($e){var ot=[];function _t(Hn){return function(er){er.merged||(gt.isUndefined(er.barycenter)||gt.isUndefined(Hn.barycenter)||er.barycenter>=Hn.barycenter)&&Rs(Hn,er)}}function dn(Hn){return function(er){er.in.push(Hn),--er.indegree==0&&$e.push(er)}}for(;$e.length;){var xn=$e.pop();ot.push(xn),gt.forEach(xn.in.reverse(),_t(xn)),gt.forEach(xn.out,dn(xn))}return gt.map(gt.filter(ot,function(Hn){return!Hn.merged}),function(Hn){return gt.pick(Hn,["vs","i","barycenter","weight"])})}function Rs($e,ot){var _t=0,dn=0;$e.weight&&(_t+=$e.barycenter*$e.weight,dn+=$e.weight),ot.weight&&(_t+=ot.barycenter*ot.weight,dn+=ot.weight),$e.vs=ot.vs.concat($e.vs),$e.barycenter=_t/dn,$e.weight=dn,$e.i=Math.min(ot.i,$e.i),ot.merged=!0}var Mo=Bs;function Bs($e,ot){var _t=Br.partition($e,function(Fe){return gt.has(Fe,"barycenter")}),dn=_t.lhs,xn=gt.sortBy(_t.rhs,function(Fe){return-Fe.i}),Hn=[],er=0,Nr=0,Zr=0;dn.sort(ks(!!ot)),Zr=ll(Hn,xn,Zr),gt.forEach(dn,function(Fe){Zr+=Fe.vs.length,Hn.push(Fe.vs),er+=Fe.barycenter*Fe.weight,Nr+=Fe.weight,Zr=ll(Hn,xn,Zr)});var rt={vs:gt.flatten(Hn,!0)};return Nr&&(rt.barycenter=er/Nr,rt.weight=Nr),rt}function ll($e,ot,_t){for(var dn;ot.length&&(dn=gt.last(ot)).i<=_t;)ot.pop(),$e.push(dn.vs),_t++;return _t}function ks($e){return function(ot,_t){return ot.barycenter<_t.barycenter?-1:ot.barycenter>_t.barycenter?1:$e?_t.i-ot.i:ot.i-_t.i}}var xl=Pl;function Pl($e,ot,_t,dn){var xn=$e.children(ot),Hn=$e.node(ot),er=Hn?Hn.borderLeft:void 0,Nr=Hn?Hn.borderRight:void 0,Zr={};er&&(xn=gt.filter(xn,function(En){return En!==er&&En!==Nr}));var rt=oo($e,xn);gt.forEach(rt,function(En){if($e.children(En.v).length){var Gn=Pl($e,En.v,_t,dn);Zr[En.v]=Gn,gt.has(Gn,"barycenter")&&yl(En,Gn)}});var Fe=Yo(rt,_t);Wo(Fe,Zr);var Et=Mo(Fe,dn);if(er&&(Et.vs=gt.flatten([er,Et.vs,Nr],!0),$e.predecessors(er).length)){var at=$e.node($e.predecessors(er)[0]),At=$e.node($e.predecessors(Nr)[0]);gt.has(Et,"barycenter")||(Et.barycenter=0,Et.weight=0),Et.barycenter=(Et.barycenter*Et.weight+at.order+At.order)/(Et.weight+2),Et.weight+=2}return Et}function Wo($e,ot){gt.forEach($e,function(_t){_t.vs=gt.flatten(_t.vs.map(function(dn){return ot[dn]?ot[dn].vs:dn}),!0)})}function yl($e,ot){gt.isUndefined($e.barycenter)?($e.barycenter=ot.barycenter,$e.weight=ot.weight):($e.barycenter=($e.barycenter*$e.weight+ot.barycenter*ot.weight)/($e.weight+ot.weight),$e.weight+=ot.weight)}var Ps=Dr.Graph,B=Oe;function Oe($e,ot,_t){var dn=St($e),xn=new Ps({compound:!0}).setGraph({root:dn}).setDefaultNodeLabel(function(Hn){return $e.node(Hn)});return gt.forEach($e.nodes(),function(Hn){var er=$e.node(Hn),Nr=$e.parent(Hn);(er.rank===ot||er.minRank<=ot&&ot<=er.maxRank)&&(xn.setNode(Hn),xn.setParent(Hn,Nr||dn),gt.forEach($e[_t](Hn),function(Zr){var rt=Zr.v===Hn?Zr.w:Zr.v,Fe=xn.edge(rt,Hn),Et=gt.isUndefined(Fe)?0:Fe.weight;xn.setEdge(rt,Hn,{weight:$e.edge(Zr).weight+Et})}),gt.has(er,"minRank")&&xn.setNode(Hn,{borderLeft:er.borderLeft[ot],borderRight:er.borderRight[ot]}))}),xn}function St($e){for(var ot;$e.hasNode(ot=gt.uniqueId("_root")););return ot}var Qt=Cn;function Cn($e,ot,_t){var dn={},xn;gt.forEach(_t,function(Hn){for(var er=$e.parent(Hn),Nr,Zr;er;){if(Nr=$e.parent(er),Nr?(Zr=dn[Nr],dn[Nr]=er):(Zr=xn,xn=er),Zr&&Zr!==er){ot.setEdge(Zr,er);return}er=Nr}})}var Nn=Dr.Graph,Bn=Xn;function Xn($e){var ot=Br.maxRank($e),_t=Jn($e,gt.range(1,ot+1),"inEdges"),dn=Jn($e,gt.range(ot-1,-1,-1),"outEdges"),xn=Ua($e);Kr($e,xn);for(var Hn=Number.POSITIVE_INFINITY,er,Nr=0,Zr=0;Zr<4;++Nr,++Zr){Cr(Nr%2?_t:dn,Nr%4>=2),xn=Br.buildLayerMatrix($e);var rt=Ba($e,xn);rt<Hn&&(Zr=0,er=gt.cloneDeep(xn),Hn=rt)}Kr($e,er)}function Jn($e,ot,_t){return gt.map(ot,function(dn){return B($e,dn,_t)})}function Cr($e,ot){var _t=new Nn;gt.forEach($e,function(dn){var xn=dn.graph().root,Hn=xl(dn,xn,_t,ot);gt.forEach(Hn.vs,function(er,Nr){dn.node(er).order=Nr}),Qt(dn,_t,Hn.vs)})}function Kr($e,ot){gt.forEach(ot,function(_t){gt.forEach(_t,function(dn,xn){$e.node(dn).order=xn})})}var ti=Dr.Graph,Pi={positionX:Ao,findType1Conflicts:pi,findType2Conflicts:Fi,addConflict:$i,hasConflict:wa,verticalAlignment:Lo,horizontalCompaction:Co,alignCoordinates:pa,findSmallestWidthAlignment:Va,balance:fo};function pi($e,ot){var _t={};function dn(xn,Hn){var er=0,Nr=0,Zr=xn.length,rt=gt.last(Hn);return gt.forEach(Hn,function(Fe,Et){var at=ha($e,Fe),At=at?$e.node(at).order:Zr;(at||Fe===rt)&&(gt.forEach(Hn.slice(Nr,Et+1),function(En){gt.forEach($e.predecessors(En),function(Gn){var lr=$e.node(Gn),pr=lr.order;(pr<er||At<pr)&&!(lr.dummy&&$e.node(En).dummy)&&$i(_t,Gn,En)})}),Nr=Et+1,er=At)}),Hn}return gt.reduce(ot,dn),_t}function Fi($e,ot){var _t={};function dn(Hn,er,Nr,Zr,rt){var Fe;gt.forEach(gt.range(er,Nr),function(Et){Fe=Hn[Et],$e.node(Fe).dummy&>.forEach($e.predecessors(Fe),function(at){var At=$e.node(at);At.dummy&&(At.order<Zr||At.order>rt)&&$i(_t,at,Fe)})})}function xn(Hn,er){var Nr=-1,Zr,rt=0;return gt.forEach(er,function(Fe,Et){if($e.node(Fe).dummy==="border"){var at=$e.predecessors(Fe);at.length&&(Zr=$e.node(at[0]).order,dn(er,rt,Et,Nr,Zr),rt=Et,Nr=Zr)}dn(er,rt,er.length,Zr,Hn.length)}),er}return gt.reduce(ot,xn),_t}function ha($e,ot){if($e.node(ot).dummy)return gt.find($e.predecessors(ot),function(_t){return $e.node(_t).dummy})}function $i($e,ot,_t){if(ot>_t){var dn=ot;ot=_t,_t=dn}var xn=$e[ot];xn||($e[ot]=xn={}),xn[_t]=!0}function wa($e,ot,_t){if(ot>_t){var dn=ot;ot=_t,_t=dn}return gt.has($e[ot],_t)}function Lo($e,ot,_t,dn){var xn={},Hn={},er={};return gt.forEach(ot,function(Nr){gt.forEach(Nr,function(Zr,rt){xn[Zr]=Zr,Hn[Zr]=Zr,er[Zr]=rt})}),gt.forEach(ot,function(Nr){var Zr=-1;gt.forEach(Nr,function(rt){var Fe=dn(rt);if(Fe.length){Fe=gt.sortBy(Fe,function(Gn){return er[Gn]});for(var Et=(Fe.length-1)/2,at=Math.floor(Et),At=Math.ceil(Et);at<=At;++at){var En=Fe[at];Hn[rt]===rt&&Zr<er[En]&&!wa(_t,rt,En)&&(Hn[En]=rt,Hn[rt]=xn[rt]=xn[En],Zr=er[En])}}})}),{root:xn,align:Hn}}function Co($e,ot,_t,dn,xn){var Hn={},er=qa($e,ot,_t,xn),Nr=xn?"borderLeft":"borderRight";function Zr(Et,at){for(var At=er.nodes(),En=At.pop(),Gn={};En;)Gn[En]?Et(En):(Gn[En]=!0,At.push(En),At=At.concat(at(En))),En=At.pop()}function rt(Et){Hn[Et]=er.inEdges(Et).reduce(function(at,At){return Math.max(at,Hn[At.v]+er.edge(At))},0)}function Fe(Et){var at=er.outEdges(Et).reduce(function(En,Gn){return Math.min(En,Hn[Gn.w]-er.edge(Gn))},Number.POSITIVE_INFINITY),At=$e.node(Et);at!==Number.POSITIVE_INFINITY&&At.borderType!==Nr&&(Hn[Et]=Math.max(Hn[Et],at))}return Zr(rt,er.predecessors.bind(er)),Zr(Fe,er.successors.bind(er)),gt.forEach(dn,function(Et){Hn[Et]=Hn[_t[Et]]}),Hn}function qa($e,ot,_t,dn){var xn=new ti,Hn=$e.graph(),er=ko(Hn.nodesep,Hn.edgesep,dn);return gt.forEach(ot,function(Nr){var Zr;gt.forEach(Nr,function(rt){var Fe=_t[rt];if(xn.setNode(Fe),Zr){var Et=_t[Zr],at=xn.edge(Et,Fe);xn.setEdge(Et,Fe,Math.max(er($e,rt,Zr),at||0))}Zr=rt})}),xn}function Va($e,ot){return gt.minBy(gt.values(ot),function(_t){var dn=Number.NEGATIVE_INFINITY,xn=Number.POSITIVE_INFINITY;return gt.forIn(_t,function(Hn,er){var Nr=Jo($e,er)/2;dn=Math.max(Hn+Nr,dn),xn=Math.min(Hn-Nr,xn)}),dn-xn})}function pa($e,ot){var _t=gt.values(ot),dn=gt.min(_t),xn=gt.max(_t);gt.forEach(["u","d"],function(Hn){gt.forEach(["l","r"],function(er){var Nr=Hn+er,Zr=$e[Nr],rt;if(Zr!==ot){var Fe=gt.values(Zr);rt=er==="l"?dn-gt.min(Fe):xn-gt.max(Fe),rt&&($e[Nr]=gt.mapValues(Zr,function(Et){return Et+rt}))}})})}function fo($e,ot){return gt.mapValues($e.ul,function(_t,dn){if(ot)return $e[ot.toLowerCase()][dn];var xn=gt.sortBy(gt.map($e,dn));return(xn[1]+xn[2])/2})}function Ao($e){var ot=Br.buildLayerMatrix($e),_t=gt.merge(pi($e,ot),Fi($e,ot)),dn={},xn;gt.forEach(["u","d"],function(er){xn=er==="u"?ot:gt.values(ot).reverse(),gt.forEach(["l","r"],function(Nr){Nr==="r"&&(xn=gt.map(xn,function(Et){return gt.values(Et).reverse()}));var Zr=(er==="u"?$e.predecessors:$e.successors).bind($e),rt=Lo($e,xn,_t,Zr),Fe=Co($e,xn,rt.root,rt.align,Nr==="r");Nr==="r"&&(Fe=gt.mapValues(Fe,function(Et){return-Et})),dn[er+Nr]=Fe})});var Hn=Va($e,dn);return pa(dn,Hn),fo(dn,$e.graph().align)}function ko($e,ot,_t){return function(dn,xn,Hn){var er=dn.node(xn),Nr=dn.node(Hn),Zr=0,rt;if(Zr+=er.width/2,gt.has(er,"labelpos"))switch(er.labelpos.toLowerCase()){case"l":rt=-er.width/2;break;case"r":rt=er.width/2;break}if(rt&&(Zr+=_t?rt:-rt),rt=0,Zr+=(er.dummy?ot:$e)/2,Zr+=(Nr.dummy?ot:$e)/2,Zr+=Nr.width/2,gt.has(Nr,"labelpos"))switch(Nr.labelpos.toLowerCase()){case"l":rt=Nr.width/2;break;case"r":rt=-Nr.width/2;break}return rt&&(Zr+=_t?rt:-rt),rt=0,Zr}}function Jo($e,ot){return $e.node(ot).width}var rs=Pi.positionX,Cs=ms;function ms($e){$e=Br.asNonCompoundGraph($e),Po($e),gt.forEach(rs($e),function(ot,_t){$e.node(_t).x=ot})}function Po($e){var ot=Br.buildLayerMatrix($e),_t=$e.graph().ranksep,dn=0;gt.forEach(ot,function(xn){var Hn=gt.max(gt.map(xn,function(er){return $e.node(er).height}));gt.forEach(xn,function(er){$e.node(er).y=dn+Hn/2}),dn+=Hn+_t})}var rl=Br.normalizeRanks,Rl=Br.removeEmptyRanks,bl=Dr.Graph,Tl=ou;function ou($e,ot){var _t=ot&&ot.debugTiming?Br.time:Br.notime;_t("layout",function(){var dn=_t(" buildLayoutGraph",function(){return vs($e)});_t(" runLayout",function(){Vu(dn,_t)}),_t(" updateInputGraph",function(){Du($e,dn)})})}function Vu($e,ot){ot(" makeSpaceForEdgeLabels",function(){nu($e)}),ot(" removeSelfEdges",function(){Je($e)}),ot(" acyclic",function(){Lr.run($e)}),ot(" nestingGraph.run",function(){ra.run($e)}),ot(" rank",function(){Yi(Br.asNonCompoundGraph($e))}),ot(" injectEdgeLabelProxies",function(){Lt($e)}),ot(" removeEmptyRanks",function(){Rl($e)}),ot(" nestingGraph.cleanup",function(){ra.cleanup($e)}),ot(" normalizeRanks",function(){rl($e)}),ot(" assignRankMinMax",function(){He($e)}),ot(" removeEdgeLabelProxies",function(){F($e)}),ot(" normalize.run",function(){Le.run($e)}),ot(" parentDummyChains",function(){Ha($e)}),ot(" addBorderSegments",function(){No($e)}),ot(" order",function(){Bn($e)}),ot(" insertSelfEdges",function(){Ge($e)}),ot(" adjustCoordinateSystem",function(){Yr.adjust($e)}),ot(" position",function(){Cs($e)}),ot(" positionSelfEdges",function(){qt($e)}),ot(" removeBorderNodes",function(){xe($e)}),ot(" normalize.undo",function(){Le.undo($e)}),ot(" fixupEdgeLabelCoords",function(){N($e)}),ot(" undoCoordinateSystem",function(){Yr.undo($e)}),ot(" translateGraph",function(){U($e)}),ot(" assignNodeIntersects",function(){s($e)}),ot(" reversePoints",function(){Q($e)}),ot(" acyclic.undo",function(){Lr.undo($e)})}function Du($e,ot){gt.forEach($e.nodes(),function(_t){var dn=$e.node(_t),xn=ot.node(_t);dn&&(dn.x=xn.x,dn.y=xn.y,ot.children(_t).length&&(dn.width=xn.width,dn.height=xn.height))}),gt.forEach($e.edges(),function(_t){var dn=$e.edge(_t),xn=ot.edge(_t);dn.points=xn.points,gt.has(xn,"x")&&(dn.x=xn.x,dn.y=xn.y)}),$e.graph().width=ot.graph().width,$e.graph().height=ot.graph().height}var qo=["nodesep","edgesep","ranksep","marginx","marginy"],Io={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},po=["acyclicer","ranker","rankdir","align"],fl=["width","height"],ir={width:0,height:0},Al=["minlen","weight","width","height","labeloffset"],gu={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Vl=["labelpos"];function vs($e){var ot=new bl({multigraph:!0,compound:!0}),_t=Wn($e.graph());return ot.setGraph(gt.merge({},Io,fn(_t,qo),gt.pick(_t,po))),gt.forEach($e.nodes(),function(dn){var xn=Wn($e.node(dn));ot.setNode(dn,gt.defaults(fn(xn,fl),ir)),ot.setParent(dn,$e.parent(dn))}),gt.forEach($e.edges(),function(dn){var xn=Wn($e.edge(dn));ot.setEdge(dn,gt.merge({},gu,fn(xn,Al),gt.pick(xn,Vl)))}),ot}function nu($e){var ot=$e.graph();ot.ranksep/=2,gt.forEach($e.edges(),function(_t){var dn=$e.edge(_t);dn.minlen*=2,dn.labelpos.toLowerCase()!=="c"&&(ot.rankdir==="TB"||ot.rankdir==="BT"?dn.width+=dn.labeloffset:dn.height+=dn.labeloffset)})}function Lt($e){gt.forEach($e.edges(),function(ot){var _t=$e.edge(ot);if(_t.width&&_t.height){var dn=$e.node(ot.v),xn=$e.node(ot.w),Hn={rank:(xn.rank-dn.rank)/2+dn.rank,e:ot};Br.addDummyNode($e,"edge-proxy",Hn,"_ep")}})}function He($e){var ot=0;gt.forEach($e.nodes(),function(_t){var dn=$e.node(_t);dn.borderTop&&(dn.minRank=$e.node(dn.borderTop).rank,dn.maxRank=$e.node(dn.borderBottom).rank,ot=gt.max(ot,dn.maxRank))}),$e.graph().maxRank=ot}function F($e){gt.forEach($e.nodes(),function(ot){var _t=$e.node(ot);_t.dummy==="edge-proxy"&&($e.edge(_t.e).labelRank=_t.rank,$e.removeNode(ot))})}function U($e){var ot=Number.POSITIVE_INFINITY,_t=0,dn=Number.POSITIVE_INFINITY,xn=0,Hn=$e.graph(),er=Hn.marginx||0,Nr=Hn.marginy||0;function Zr(rt){var Fe=rt.x,Et=rt.y,at=rt.width,At=rt.height;ot=Math.min(ot,Fe-at/2),_t=Math.max(_t,Fe+at/2),dn=Math.min(dn,Et-At/2),xn=Math.max(xn,Et+At/2)}gt.forEach($e.nodes(),function(rt){Zr($e.node(rt))}),gt.forEach($e.edges(),function(rt){var Fe=$e.edge(rt);gt.has(Fe,"x")&&Zr(Fe)}),ot-=er,dn-=Nr,gt.forEach($e.nodes(),function(rt){var Fe=$e.node(rt);Fe.x-=ot,Fe.y-=dn}),gt.forEach($e.edges(),function(rt){var Fe=$e.edge(rt);gt.forEach(Fe.points,function(Et){Et.x-=ot,Et.y-=dn}),gt.has(Fe,"x")&&(Fe.x-=ot),gt.has(Fe,"y")&&(Fe.y-=dn)}),Hn.width=_t-ot+er,Hn.height=xn-dn+Nr}function s($e){gt.forEach($e.edges(),function(ot){var _t=$e.edge(ot),dn=$e.node(ot.v),xn=$e.node(ot.w),Hn,er;_t.points?(Hn=_t.points[0],er=_t.points[_t.points.length-1]):(_t.points=[],Hn=xn,er=dn),_t.points.unshift(Br.intersectRect(dn,Hn)),_t.points.push(Br.intersectRect(xn,er))})}function N($e){gt.forEach($e.edges(),function(ot){var _t=$e.edge(ot);if(gt.has(_t,"x"))switch((_t.labelpos==="l"||_t.labelpos==="r")&&(_t.width-=_t.labeloffset),_t.labelpos){case"l":_t.x-=_t.width/2+_t.labeloffset;break;case"r":_t.x+=_t.width/2+_t.labeloffset;break}})}function Q($e){gt.forEach($e.edges(),function(ot){var _t=$e.edge(ot);_t.reversed&&_t.points.reverse()})}function xe($e){gt.forEach($e.nodes(),function(ot){if($e.children(ot).length){var _t=$e.node(ot),dn=$e.node(_t.borderTop),xn=$e.node(_t.borderBottom),Hn=$e.node(gt.last(_t.borderLeft)),er=$e.node(gt.last(_t.borderRight));_t.width=Math.abs(er.x-Hn.x),_t.height=Math.abs(xn.y-dn.y),_t.x=Hn.x+_t.width/2,_t.y=dn.y+_t.height/2}}),gt.forEach($e.nodes(),function(ot){$e.node(ot).dummy==="border"&&$e.removeNode(ot)})}function Je($e){gt.forEach($e.edges(),function(ot){if(ot.v===ot.w){var _t=$e.node(ot.v);_t.selfEdges||(_t.selfEdges=[]),_t.selfEdges.push({e:ot,label:$e.edge(ot)}),$e.removeEdge(ot)}})}function Ge($e){var ot=Br.buildLayerMatrix($e);gt.forEach(ot,function(_t){var dn=0;gt.forEach(_t,function(xn,Hn){var er=$e.node(xn);er.order=Hn+dn,gt.forEach(er.selfEdges,function(Nr){Br.addDummyNode($e,"selfedge",{width:Nr.label.width,height:Nr.label.height,rank:er.rank,order:Hn+ ++dn,e:Nr.e,label:Nr.label},"_se")}),delete er.selfEdges})})}function qt($e){gt.forEach($e.nodes(),function(ot){var _t=$e.node(ot);if(_t.dummy==="selfedge"){var dn=$e.node(_t.e.v),xn=dn.x+dn.width/2,Hn=dn.y,er=_t.x-xn,Nr=dn.height/2;$e.setEdge(_t.e,_t.label),$e.removeNode(ot),_t.label.points=[{x:xn+2*er/3,y:Hn-Nr},{x:xn+5*er/6,y:Hn-Nr},{x:xn+er,y:Hn},{x:xn+5*er/6,y:Hn+Nr},{x:xn+2*er/3,y:Hn+Nr}],_t.label.x=_t.x,_t.label.y=_t.y}})}function fn($e,ot){return gt.mapValues(gt.pick($e,ot),Number)}function Wn($e){var ot={};return gt.forEach($e,function(_t,dn){ot[dn.toLowerCase()]=_t}),ot}var Yt=Dr.Graph,Yn={debugOrdering:hr};function hr($e){var ot=Br.buildLayerMatrix($e),_t=new Yt({compound:!0,multigraph:!0}).setGraph({});return gt.forEach($e.nodes(),function(dn){_t.setNode(dn,{label:dn}),_t.setParent(dn,"layer"+$e.node(dn).rank)}),gt.forEach($e.edges(),function(dn){_t.setEdge(dn.v,dn.w,{},dn.name)}),gt.forEach(ot,function(dn,xn){var Hn="layer"+xn;_t.setNode(Hn,{rank:"same"}),gt.reduce(dn,function(er,Nr){return _t.setEdge(er,Nr,{style:"invis"}),Nr})}),_t}var Wr="0.8.5",$r={graphlib:Dr,layout:Tl,debug:Yn,util:{time:Br.time,notime:Br.notime},version:Wr},wi={rankdir:"LR",ranksep:150,graph:"tight-tree",height:1e4,width:1e4},fi=50,Vi=function(ot,_t){var dn=[],xn={},Hn={};Object.keys(ot).forEach(function(rt){dn.push(sn({id:rt},ot[rt]))});for(var er=0,Nr=dn;er<Nr.length;er++){var Zr=Nr[er];xn[Zr.x]||(xn[Zr.x]=[]),xn[Zr.x].push(Zr)}return Object.keys(xn).forEach(function(rt){var Fe=xn[rt],Et=Fe.sort(function(at,At){return at.y-At.y}).map(function(at){return[at.x,at.y]});Fe=Fe.sort(function(at,At){return at.order-At.order}),xn[rt].forEach(function(at,At){at.x=Et[At][0],at.y=Et[At][1]})}),Object.keys(xn).forEach(function(rt){var Fe=xn[rt];if(Fe.length!==1){Fe=Fe.sort(function(En,Gn){return En.y-Gn.y});for(var Et=0;Et<Fe.length-1;Et++){var at=Fe[Et],At=Fe[Et+1];at.y+at.height>=At.y&&(At.y=at.y+at.height+_t),at.y+at.height+_t<At.y&&(At.y=at.y+at.height+_t)}}}),Object.keys(xn).forEach(function(rt){var Fe=xn[rt];Fe.forEach(function(Et){Hn[Et.id]=Et})}),Hn},da=function(ot){return function(_t){var dn=_t.height,xn=_t.width,Hn=_t.data,er=ot.nodesep,Nr=er===void 0?fi:er,Zr=Object.assign({},wi,{ranksep:ot.ranksep||150});Zr.center=[xn/2,dn/2];var rt=Hn.edges,Fe=Hn.nodes,Et=Fe.map(function(En){return{id:En.id,top:En.top,left:En.left,size:En.dom?[vn(En.dom).width(),vn(En.dom).height()]:[40,40]}});if(!!Et){var at=new $r.graphlib.Graph;Et.forEach(function(En,Gn){var lr=En.size,pr=lr[0],Gr=lr[1];at.setNode(En.id,{width:pr,height:Gr,x:En.left,y:En.top,order:Gn})}),rt.forEach(function(En){at.setEdge(En.sourceNode.id,En.targetNode.id,{weight:En.weight||1})}),at.setGraph(Zr),$r.layout(at);var At;at._nodes=Vi(at._nodes,Nr),at.nodes().forEach(function(En){if(At=at.node(En),!!At){var Gn=Et.findIndex(function(lr){return lr.id===En});Et[Gn].left=At.x,Et[Gn].top=At.y}}),Et.forEach(function(En,Gn){Fe[Gn].left=En.left,Fe[Gn].top=En.top})}}},ia=function(ot,_t,dn){if(!!ot){var xn=vn(dn.root),Hn=[xn.height(),xn.width()],er=xn.offset(),Nr=[er.left+Hn[1]/2,er.top+Hn[0]/2];Nr=dn.terminal2canvas(Nr);var Zr=[ot.left-Nr[0],ot.top-Nr[1]];dn.nodes.forEach(function(rt){rt.moveTo(rt.left-Zr[0],rt.top-Zr[1])}),dn.recalc()}},ma=a.a.shape({id:a.a.string,icon:a.a.string,isHide:a.a.bool,isUnRelItemHidden:a.a.bool,title:a.a.string,nodeItems:a.a.arrayOf(a.a.shape({id:a.a.string,level:a.a.number,icon:a.a.string,title:a.a.string,onClick:a.a.func})),operators:a.a.arrayOf(a.a.shape({compnent:a.a.element}))}),Ea=a.a.shape({srcNodeItemId:a.a.string,tgtNodeItemId:a.a.string,id:a.a.string}),Qa="Left",eo="Right",lo="Top",ho="Bottom",Eo=20,Uo=.1,us=.01,ns=15,is=function(ot,_t){this.x=ot,this.y=_t};function Es($e,ot,_t,dn,xn){ot.x=ot.x||0,ot.y=ot.y||0,dn.x=dn.x||0,dn.y=dn.y||0;var Hn=ot.x-dn.x,er=ot.y-dn.y,Nr,Zr,rt;if($e.push(new is(ot.x,ot.y)),Hn*Hn<us&&er*er<us){$e.push(new is(dn.x,dn.y));return}_t===Qa?Hn>0&&er*er<Uo&&xn===eo?(Nr=dn,Zr=xn):(Hn<0?Nr=new is(ot.x-Eo,ot.y):er>0&&xn===ho||er<0&&xn===lo?Nr=new is(dn.x,ot.y):_t===xn?(rt=Math.min(ot.x,dn.x)-Eo,Nr=new is(rt,ot.y)):Nr=new is(ot.x-Hn/2,ot.y),er>0?Zr=lo:Zr=ho):_t===eo?Hn<0&&er*er<Uo&&xn===Qa?(Nr=dn,Zr=xn):(Hn>0?Nr=new is(ot.x+Eo,ot.y):er>0&&xn===ho||er<0&&xn===lo?Nr=new is(dn.x,ot.y):_t===xn?(rt=Math.max(ot.x,dn.x)+Eo,Nr=new is(rt,ot.y)):Nr=new is(ot.x-Hn/2,ot.y),er>0?Zr=lo:Zr=ho):_t===ho?Hn*Hn<Uo&&er<0&&xn===lo?(Nr=dn,Zr=xn):(er>0?Nr=new is(ot.x,ot.y+Eo):Hn>0&&xn===eo||Hn<0&&xn===Qa?Nr=new is(ot.x,dn.y):_t===xn?(rt=Math.max(ot.y,dn.y)+Eo,Nr=new is(ot.x,rt)):Nr=new is(ot.x,ot.y-er/2),Hn>0?Zr=Qa:Zr=eo):_t===lo&&(Hn*Hn<Uo&&er>0&&xn===ho?(Nr=dn,Zr=xn):(er<0?Nr=new is(ot.x,ot.y-Eo):Hn>0&&xn===eo||Hn<0&&xn===Qa?Nr=new is(ot.x,dn.y):_t===xn?(rt=Math.min(ot.y,dn.y)-Eo,Nr=new is(ot.x,rt)):Nr=new is(ot.x,ot.y-er/2),Hn>0?Zr=Qa:Zr=eo)),Es($e,Nr,Zr,dn,xn)}var ys=function(ot){return ot.reduce(function(_t,dn){return _t.push(["L",dn.x,dn.y].join(" ")),_t},[["M",ot[0].x,ot[0].y].join(" ")]).join(" ")};function il($e,ot,_t,dn,xn){var Hn=function(Et){if(xn){for(var at=function(lr){var pr=o.a.some(xn,function(Gr){return Gr===Et[lr]});if(pr)return{v:Et[lr]}},At=0;At<Et.length;At++){var En=at(At);if(un(En)==="object")return En.v}return Et[0]}else return Et[0]},er=_t-$e,Nr=dn-ot,Zr=null,rt=Math.abs(Nr/er);switch(er===0||Nr===0?(er===0&&(Zr=Nr>=0?Hn(["Top","Left","Right","Bottom"]):Zr,Zr=Nr<0?Hn(["Bottom","Left","Right","Top"]):Zr),Nr===0&&(Zr=er>=0?Hn(["Right","Top","Bottom","Left"]):Zr,Zr=er<0?Hn(["Left","Top","Bottom","Right"]):Zr)):er>0&&Nr>0?rt>1?Zr=Hn(["Top","Left","Right","Bottom"]):Zr=Hn(["Left","Top","Bottom","Right"]):er<0&&Nr>0?rt>1?Zr=Hn(["Top","Right","Left","Bottom"]):Zr=Hn(["Right","Top","Bottom","Left"]):er<0&&Nr<0?rt>1?Zr=Hn(["Bottom","Right","Left","Top"]):Zr=Hn(["Right","Bottom","Top","Left"]):rt>1?Zr=Hn(["Bottom","Left","Right","Top"]):Zr=Hn(["Left","Bottom","Top","Right"]),Zr){case"Left":return[-1,0];case"Right":return[1,0];case"Top":return[0,-1];case"Bottom":return[0,1]}}var Ns=function(ot,_t,dn){var xn=new is;return["x","y"].forEach(function(Hn){ot[Hn]>_t[Hn]?xn[Hn]=_t[Hn]+dn:ot[Hn]<_t[Hn]?xn[Hn]=_t[Hn]-dn:xn[Hn]=ot[Hn]}),xn},Ol=function(ot,_t,dn,xn){var Hn=Ns(ot,_t,xn),er=Ns(dn,_t,xn),Nr=0,Zr=new is((ot.x+dn.x)/2,(ot.y+dn.y)/2);return _t.y<Zr.y?Nr=1:Nr=0,[ot,Hn,er,Nr]};function Ws($e,ot){$e.orientation||($e.orientation=il(ot.pos[0],ot.pos[1],$e.pos[0],$e.pos[1])),ot.orientation||(ot.orientation=il($e.pos[0],$e.pos[1],ot.pos[0],ot.pos[1]));var _t=[],dn={x:$e.pos[0],y:$e.pos[1]},xn={x:ot.pos[0],y:ot.pos[1]},Hn={"-10":Qa,10:eo,"0-1":lo,"01":ho};if(Es(_t,dn,Hn[$e.orientation.join("")],xn,Hn[ot.orientation.join("")]),_t.length<2)return"";if(_t.length===2)return"M ".concat(_t[0].x," ").concat(_t[0].y," L ").concat(_t[1].x," ").concat(_t[1].y);var er=ns;if(_t.pop(),_t.length!==4)return ys(_t);var Nr=_t,Zr=jn(Nr,4),rt=Zr[0],Fe=Zr[1],Et=Zr[2],at=Zr[3];if(Math.abs(rt.y-at.y)<2*ns&&(er=Math.abs(rt.y-at.y)/2),o.a.first(_t).x===o.a.last(_t).x||o.a.first(_t).y===o.a.last(_t).y)return["M",o.a.first(_t).x,o.a.first(_t).y,"L",o.a.last(_t).x,o.a.last(_t).y].join(" ");o.a.first(_t).x>o.a.last(_t).x&&(_t=_t.reverse());var At=Ol(rt,Fe,Et,er),En=Ol(Fe,Et,at,er);return["M",At[0].x,At[0].y,"L",At[1].x,At[1].y,"A",er,er,90,0,At[3],At[2].x,At[2].y,"L",En[1].x,En[1].y,"M",En[1].x,En[1].y,"A",er,er,90,0,En[3],En[2].x,En[2].y,"L",at.x,at.y].join(" ")}var Yl=function(){return r.a.createElement("span",{className:"icon-table"},r.a.createElement("svg",{t:"1613907444108",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"13010",width:"128",height:"128"},r.a.createElement("path",{d:"M905.75 62H118.25C87.2 62 62 90.8 62 126.28571416v771.42857168c0 35.48571416 25.2 64.28571416 56.25 64.28571416h787.5c31.05 0 56.25-28.8 56.25-64.28571416V126.28571416c0-35.48571416-25.2-64.28571416-56.25-64.28571416z m-562.5 835.71428584h-225V640.57142832h225v257.14285752z m0-321.42857168h-225V319.14285752h225v257.14285664z m281.31428584 321.42857168H399.43571416V640.57142832h225v257.14285752h0.12857168z m0-321.42857168H399.43571416V319.14285752h225v257.14285664h0.12857168z m281.18571416 321.42857168h-225V640.57142832h225v257.14285752z m0-578.57142832v257.14285664h-225V319.14285752h225z m1.41428584-192.85714336v128.57142832H118.25V126.28571416h788.91428584z",fill:"#5B6478","p-id":"13011"})))},hl=function(){return r.a.createElement("div",{className:"icon-column"},r.a.createElement("svg",{t:"1613907626847",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"30796",width:"128",height:"128"},r.a.createElement("path",{d:"M0 0h1024v1024H0V0z m73.356 72.937V953.25h881.43V72.937H73.357z","p-id":"30797"}),r.a.createElement("path",{d:"M206.522 186.228l-20.34 162.91h20.34c0-57.019 44.823-101.795 101.842-101.795h142.661V766.51c0 28.485-22.434 50.92-50.967 50.92h-50.92v20.387h325.818v-20.387h-50.921a50.409 50.409 0 0 1-50.92-50.92V247.296h142.568c56.972 0 101.841 44.823 101.841 101.795h20.294l-20.294-162.91H206.522v0.047z","p-id":"30798"})))};function Xs($e,ot){ot===void 0&&(ot={});var _t=ot.insertAt;if(!(!$e||typeof document=="undefined")){var dn=document.head||document.getElementsByTagName("head")[0],xn=document.createElement("style");xn.type="text/css",_t==="top"&&dn.firstChild?dn.insertBefore(xn,dn.firstChild):dn.appendChild(xn),xn.styleSheet?xn.styleSheet.cssText=$e:xn.appendChild(document.createTextNode($e))}}var Kl=`.icon-table {
- width: 20px;
- height: 20px;
- background: #ff6a00;
- color: white;
- border-radius: 2px;
- display: block;
- }
- .icon-table svg {
- height: 100%;
- width: 100%;
- stroke: white;
- fill: white;
- padding: 3px;
- left: 0;
- top: 0;
- margin: 0;
- padding-top: 0px;
- }
- .icon-table svg path {
- stroke: white;
- fill: white;
- }
- .icon-column {
- height: 12.5px;
- width: 12.5px;
- }
- .icon-column svg {
- height: 100%;
- width: 100%;
- }
- .icon-column svg path {
- fill: #9B9B9B;
- }
- `;Xs(Kl);var ul={Table:Yl,Column:hl},wu=`.component {
- height: fit-content;
- text-align: center;
- background: #fff;
- box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.15);
- border-radius: 4px;
- background: transparent;
- }
- .component .node-icon {
- width: 20px;
- height: 20px;
- margin-right: 8px;
- }
- .component .filed-title-name {
- width: 70%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .component .operators {
- margin-left: 10px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .component .operators .op-item {
- margin: 0 2px;
- cursor: pointer;
- background: #EBECEC;
- width: 20px;
- height: 20px;
- display: inline-block;
- border-radius: 20px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .component .field {
- min-width: 280px;
- }
- .component .field .field-item {
- border-radius: 4px;
- margin-top: 2px;
- margin-bottom: 4px;
- font-size: 12px;
- text-align: left;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- position: relative;
- padding: 0 13px;
- }
- .component .field .field-item:hover .item-endpoint {
- border-color: #ff6a00;
- background: #ff6a00;
- }
- .component .field .field-item .item-endpoint {
- display: inline-block;
- width: 10px;
- height: 10px;
- background: #D9D9D9;
- border-radius: 50%;
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- opacity: 0;
- border: 2px solid #D9D9D9;
- }
- .component .field .field-item .item-endpoint.visible {
- opacity: 1;
- }
- .component .field .field-item .item-endpoint span {
- display: block;
- height: 100%;
- width: 100%;
- }
- .component .field .field-item .item-endpoint-left {
- left: 2px;
- }
- .component .field .field-item .item-endpoint-right {
- right: 2px;
- }
- .component .field .field-item .field-item-content {
- flex: 1;
- display: flex;
- padding: 2px 0;
- }
- .component .field .field-item .field-item-content:hover {
- background: #fef0e5;
- border-radius: 5px;
- }
- .component .field .field-item .field-item-content .field-item-icon {
- width: 20px;
- text-align: center;
- font-size: 12px;
- }
- .component .field .field-item .field-item-content .field-item-title {
- flex: 1;
- text-align: left;
- margin-left: 7px;
- color: #000;
- display: flex;
- align-items: center;
- }
- .component .field .field-item .field-item-content .field-item-title .item-icon {
- height: 12.5px;
- width: 12.5px;
- display: inline-block;
- margin-right: 10px;
- margin-left: 4.25px;
- }
- .component .field .field-item .field-item-content .component-operator-comtainer {
- margin-left: 20px;
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- .component .field .field-item-active .field-item-content {
- background: #fef0e5 !important;
- border-radius: 4px;
- }
- .component .field .field-item-active .item-endpoint {
- border-color: #ff6a00;
- background: #ff6a00;
- }
- .component .field .field-title {
- border-bottom: 1px solid #ededed;
- height: 36px;
- line-height: 36px;
- background: #fefefe;
- justify-content: left;
- padding: 8px 20px;
- }
- `;Xs(wu);var kl=function(){return null},Fl=function(ot,_t,dn){var xn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Hn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"",er=arguments.length>5&&arguments[5]!==void 0?arguments[5]:kl;return r.a.createElement("span",{className:Ft()("item-endpoint","item-endpoint-".concat(dn),{visible:xn},"".concat(Hn)),onClick:function(){return xn&&er(ot,dn)}},r.a.createElement(n.a,{nodeId:ot,id:_t+"-".concat(dn),orientation:dn==="left"?[-1,0]:[1,0]}))},mu=function(ot){var _t=ot.node,dn=ot.onItemActive,xn=ot.activeNodeItemIds,Hn=xn===void 0?[]:xn,er=ot.isHidden,Nr=er===void 0?!1:er,Zr=ot.onNodeClick,rt=Zr===void 0?kl:Zr,Fe=ot.onItemClick,Et=Fe===void 0?kl:Fe,at=ot.onNodeDoubleClick,At=at===void 0?kl:at,En=ot.endpointEdge,Gn=En===void 0?{}:En;ot.isUnRelItemHidden;var lr=ot.onNodeItemDoubleClick,pr=lr===void 0?kl:lr,Gr=ot.onEndpointClick,Hr=Gr===void 0?kl:Gr,_i=_t.nodeIcon,Gi=_i===void 0?r.a.createElement(ul.Table,null):_i,Dt=_t.nodeItems,ta=_t.title,Ji=_t.id,la=_t.operators,Aa=la===void 0?[]:la,ja=_t.isHideEndpoint,Ta=ja===void 0?!1:ja,io=_t.endpointClassName,to=io===void 0?"":io,vo=_t.nodeClassName,go=vo===void 0?"":vo;return r.a.createElement("div",{className:"component ".concat(go),key:Ji},r.a.createElement("div",{className:"field"},r.a.createElement("div",{className:"field-title field-item",onClick:function(){return rt(Ji)},onDoubleClick:function(){return At(Ji)}},r.a.createElement("div",{className:"node-icon"},Gi),r.a.createElement("div",{className:"filed-title-name"},r.a.createElement(nn.a,{title:ta},ta)),Fl(Ji,Ji,"left",Ta,to,Hr),Fl(Ji,Ji,"right",Ta,to,Hr),r.a.createElement("div",{className:"operators"},Aa.map(function(Sa,xo){var So=Sa.component;return r.a.createElement("span",{className:"op-item",key:xo},So)}))),!Nr&&Dt.map(function(Sa){var xo=Sa.icon,So=xo===void 0?r.a.createElement(ul.Column,null):xo,so=Hn.includes(Sa.id)||Sa.isActive;return r.a.createElement("div",{className:Ft()("field-item",{"field-item-active":so}),key:Sa.id,onMouseEnter:function(){return dn(Sa.id)},onMouseLeave:function(){return dn()},onClick:function(){return Et(Sa.id)},onDoubleClick:function(){return pr(Sa.id)}},Fl(Ji,Sa.id,"left",Gn["".concat(Sa.id,"-left")]||Sa.isHideEndpoint,to,Hr),Fl(Ji,Sa.id,"right",Gn["".concat(Sa.id,"-right")]||Sa.isHideEndpoint,to,Hr),r.a.createElement("div",{className:"field-item-content"},r.a.createElement("div",{className:"field-item-title"},r.a.createElement("div",{className:"item-icon"},So),Sa.title)))})))};mu.propTypes={node:ma,onItemActive:a.a.func,activeNodeItemIds:a.a.arrayOf(a.a.string),isHidden:a.a.bool,onNodeClick:a.a.func,onItemClick:a.a.func,onNodeDoubleClick:a.a.func,onNodeItemDoubleClick:a.a.func,isActive:a.a.bool,endpointEdge:a.a.object,isUnRelItemHidden:a.a.bool,onEndpointClick:a.a.func};var Jl=function(){return null},pu=function(ot){var _t={},dn=en(ot),xn;try{for(dn.s();!(xn=dn.n()).done;){var Hn=xn.value,er=Hn.srcNodeItemId,Nr=Hn.tgtNodeItemId;_t["".concat(er,"-right")]=!0,_t["".concat(Nr,"-left")]=!0}}catch(Zr){dn.e(Zr)}finally{dn.f()}return _t},Ku=function(ot){var _t=ot.nodes,dn=ot.activeNodeItemIds,xn=dn===void 0?[]:dn,Hn=ot.onItemActive,er=Hn===void 0?Jl:Hn,Nr=ot.onNodeClick,Zr=Nr===void 0?Jl:Nr,rt=ot.onNodeDoubleClick,Fe=rt===void 0?Jl:rt,Et=ot.onNodeItemDoubleClick,at=Et===void 0?Jl:Et,At=ot.edges,En=At===void 0?[]:At,Gn=ot.onEndpointClick,lr=Gn===void 0?Jl:Gn;if(!_t||_t.length===0)return[];var pr=[],Gr=pu(En);return a.a.checkPropTypes(ma,_t[0]),_t.forEach(function(Hr){var _i=Hr.nodeItems,Gi=Hr.id,Dt=Gi;Dt||(Dt=_i[0].info.id),!(!_i||_i.length===0)&&pr.push({id:Dt,render:function(){return r.a.createElement(mu,{node:Hr,isUnRelItemHidden:Hr.isUnRelItemHidden,onMouseMethod:this.onMouseMethod,onDoubleClick:this.onNodeDoubleClick,activeNodeItemIds:xn,onItemActive:er,isHidden:Hr.isHide,onNodeClick:Zr,onNodeDoubleClick:Fe,onNodeItemDoubleClick:at,endpointEdge:Gr,onEndpointClick:lr})}})}),pr},uc=function(ot){if(!ot)return{};var _t={},dn=en(ot),xn;try{for(dn.s();!(xn=dn.n()).done;){var Hn=xn.value,er=Hn.id,Nr=Hn.nodeItems;if(!(!Nr||Nr.length===0)){var Zr=en(Nr),rt;try{for(Zr.s();!(rt=Zr.n()).done;){var Fe=rt.value;_t[Fe.id]=er}}catch(Et){Zr.e(Et)}finally{Zr.f()}}}}catch(Et){dn.e(Et)}finally{dn.f()}return _t},Cl=function(ot){var _t={},dn=en(ot),xn;try{for(dn.s();!(xn=dn.n()).done;){var Hn=xn.value;_t[Hn.id]=Hn}}catch(er){dn.e(er)}finally{dn.f()}return _t},Qu=function(ot){var _t=ot.edges,dn=ot.nodes,xn=ot.activeEdgeIds,Hn=xn===void 0?[]:xn;if(!_t||_t.length===0)return[];var er=[],Nr=uc(dn),Zr=Cl(dn);return a.a.checkPropTypes(Ea,_t[0]),_t.forEach(function(rt){var Fe=rt.srcNodeItemId,Et=rt.tgtNodeItemId,at=rt.isHide,At=Nr[Fe],En=Nr[Et];rt.id||(rt.id="".concat(Fe,"@@").concat(Et));var Gn=Zr[At],lr=Zr[En];if(!En||!At){console.warn("\u8FB9(".concat(Fe,"->").concat(En,")\u627E\u4E0D\u5230\u5BF9\u5E94\u8282\u70B9\uFF0C\u65E0\u6CD5\u6E32\u67D3\uFF01"));return}Gn.isHide&&(Fe=At),lr.isHide&&(Et=En);var pr=Hn.includes(rt.id)||rt.isActive,Gr={id:Fe+Et,sourceNode:At,targetNode:En,source:Fe+"-right",target:Et+"-left",isActive:pr,type:"endpoint",calcPath:Ws,className:Ft()({"lineage-edge-hover-active":pr,"lineage-edge-content":!!pr,"lineage-edge-hide":at}),labelRender:function(){return null}};er.push(Gr)}),er},cc=function(ot){var _t=ot.edges,dn=ot.activeItemId,xn=[dn],Hn=[];if(!dn)return{activeNodeItemIds:[],activeEdgeIds:Hn};var er=function Zr(rt){var Fe=en(_t),Et;try{for(Fe.s();!(Et=Fe.n()).done;){var at=Et.value;at.tgtNodeItemId===rt&&(xn.push(at.srcNodeItemId),Hn.push(at.id),Zr(at.srcNodeItemId))}}catch(At){Fe.e(At)}finally{Fe.f()}},Nr=function Zr(rt){var Fe=en(_t),Et;try{for(Fe.s();!(Et=Fe.n()).done;){var at=Et.value;at.srcNodeItemId===rt&&(xn.push(at.tgtNodeItemId),Hn.push(at.id),Zr(at.tgtNodeItemId))}}catch(At){Fe.e(At)}finally{Fe.f()}};return er(dn),Nr(dn),{activeNodeItemIds:xn,activeEdgeIds:Hn}},El=`.lineage_dag {
- height: 100%;
- }
- .lineage_dag .lineage-edge-content {
- stroke: #BFBFBF;
- }
- .lineage_dag .lineage-edge-content:hover {
- stroke: #ff6a00;
- stroke-width: 2px;
- }
- .lineage_dag .lineage-edge-hover-active {
- stroke: #ff6a00;
- stroke-width: 2px;
- }
- .lineage_dag .lineage-edge-hide {
- stroke: transparent;
- }
- `;Xs(El);var Hu={theme:{edge:{arrow:!1}}},dc={disLinkable:!1,linkable:!1,draggable:!1,zoomable:!0,moveable:!0,ranker:"tight-tree"},ql=function(){return null},pc=10,vl=function(ot){var _t=ot.nodes,dn=_t===void 0?[]:_t,xn=ot.edges,Hn=xn===void 0?[]:xn,er=ot.onNodeDoubleClick,Nr=er===void 0?ql:er,Zr=ot.onNodeItemDoubleClick,rt=Zr===void 0?ql:Zr,Fe=ot.onLoaded,Et=Fe===void 0?ql:Fe,at=ot.layout,At=at===void 0?{}:at,En=ot.onEndpointClick,Gn=En===void 0?ql:En,lr=Object(c.useRef)(null),pr=Object(c.useState)([]),Gr=jn(pr,2),Hr=Gr[0],_i=Gr[1],Gi=Object(c.useState)([]),Dt=jn(Gi,2),ta=Dt[0],Ji=Dt[1],la=Object(c.useState)(!1),Aa=jn(la,2),ja=Aa[0],Ta=Aa[1],io=o.a.merge({},Hu,ot.options,dc,{layout:da({ranksep:At.ranksep,nodesep:At.nodesep})}),to=function(So){lr.current=So,Et(So),So.focusNode=function(so,To){var Ho=So.getNode(so);ia(Ho,To,So)},setTimeout(function(){So.relayout(),So.focusCenterWithAnimate()},100)},vo=o.a.debounce(function(xo){var So=lr.current,so=cc({edges:Hn,activeItemId:xo}),To=so.activeEdgeIds,Ho=so.activeNodeItemIds;Ji(Ku(sn(sn({},go),{},{activeNodeItemIds:Ho,onEndpointClick:Gn})));var uo=Qu(sn(sn({},Sa),{},{activeEdgeIds:To})),$o=[];uo.forEach(function(Us){var Go=Us.id;if(Us.isActive){var Qo=So.getEdge(Go);Qo&&$o.push(Qo)}}),So.setEdgeZIndex($o,pc),pc++,_i(uo)},100),go={nodes:dn,edges:Hn,onItemActive:vo,onNodeDoubleClick:Nr,onNodeItemDoubleClick:rt,onEndpointClick:Gn},Sa={edges:Hn,nodes:dn};return Object(c.useEffect)(function(){dn.length!==0&&(Ji(Ku(go)),_i(Qu(Sa)))},[dn,Hn,dn.length,Hn.length]),Object(c.useEffect)(function(){!lr.current||Ta(!0)},[dn.length]),dn.length===0||ta.length===0?null:r.a.createElement("div",{className:"lineage_dag"},r.a.createElement(n.b,{nodes:ta,edges:Hr,options:io,onLoaded:to,onEachFrame:function(){ja&&(lr.current.relayout(),Ta(!1)),ot.onEachFrame()}}))};vl.propTypes={options:a.a.object,layout:{ranksep:a.a.number,radius:a.a.number},nodes:a.a.arrayOf(ma),edges:a.a.arrayOf(Ea),onNodeDoubleClick:a.a.func,onNodeItemDoubleClick:a.a.func,onLoaded:a.a.func,onEachFrame:a.a.func,onEndpointClick:a.a.func};var Xu=function(ot){return sn(sn({},ot),{},{nodes:o.a.get(ot,"tables",[]).map(function(_t){return sn(sn({},_t),{},{title:_t.name,isHide:_t.isFold,isUnRelItemHidden:_t.isUnRelColHide,nodeItems:_t.columns.map(function(dn){return sn(sn({},dn),{},{id:[_t.id,dn.name].join("@")})})})}),edges:o.a.get(ot,"relations",[]).map(function(_t){var dn=_t.srcTableId,xn=_t.srcTableColName,Hn=_t.tgtTableId,er=_t.tgtTableColName;return sn(sn({},_t),{},{id:_t.id||[dn,xn,Hn,er].join("@"),srcNodeItemId:[dn,xn].join("@"),tgtNodeItemId:[Hn,er].join("@")})})})},Pu=function(ot){var _t=Xu(ot);return r.a.createElement(vl,_t)};Pu.propTypes={options:a.a.object,layout:{ranksep:a.a.number,nodesep:a.a.number},tables:a.a.arrayOf(a.a.shape({id:a.a.string,icon:a.a.any,name:a.a.string,isFold:a.a.bool,isUnRelColHidden:a.a.bool,columns:a.a.arrayOf(a.a.shape({name:a.a.string,icon:a.a.string,title:a.a.string,onClick:a.a.func})),operators:a.a.arrayOf(a.a.shape({component:a.a.element}))})),relations:a.a.arrayOf(a.a.shape({id:a.a.string,srcTableId:a.a.string,tgtTableId:a.a.string,srcTableColName:a.a.string,tgtTableColName:a.a.string})),onTableDoubleClick:a.a.func,onLoaded:a.a.func,onEachFrame:a.a.func};var _u=Pu,Uc=vl}).call(this,e("IyRk"))},"3/fG":function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});function u(r,f){var o;return f.length===0?o=r:o=r.replace(/\{(\d+)\}/g,function(i,a){var n=a[0];return typeof f[n]!="undefined"?f[n]:i}),o}function c(r,f){for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return u(f,i)}},"3A9y":function(Ie,M){function e(u){return this.__data__.has(u)}Ie.exports=e},"3Fdi":function(Ie,M){var e=Function.prototype,u=e.toString;function c(r){if(r!=null){try{return u.call(r)}catch(f){}try{return r+""}catch(f){}}return""}Ie.exports=c},"3JDX":function(Ie,M,e){var u=e("R5yR").default;function c(r){o.debug=o,o.default=o,o.coerce=h,o.disable=n,o.enable=a,o.enabled=v,o.humanize=e("k2N2"),o.destroy=t,Object.keys(r).forEach(function(l){o[l]=r[l]}),o.names=[],o.skips=[],o.formatters={};function f(l){for(var p=0,w=0;w<l.length;w++)p=(p<<5)-p+l.charCodeAt(w),p|=0;return o.colors[Math.abs(p)%o.colors.length]}o.selectColor=f;function o(l){var p,w=null,S,k;function T(){for(var I=arguments.length,Y=new Array(I),$=0;$<I;$++)Y[$]=arguments[$];if(!!T.enabled){var A=T,g=Number(new Date),b=g-(p||g);A.diff=b,A.prev=p,A.curr=g,p=g,Y[0]=o.coerce(Y[0]),typeof Y[0]!="string"&&Y.unshift("%O");var d=0;Y[0]=Y[0].replace(/%([a-zA-Z%])/g,function(E,D){if(E==="%%")return"%";d++;var W=o.formatters[D];if(typeof W=="function"){var te=Y[d];E=W.call(A,te),Y.splice(d,1),d--}return E}),o.formatArgs.call(A,Y);var O=A.log||o.log;O.apply(A,Y)}}return T.namespace=l,T.useColors=o.useColors(),T.color=o.selectColor(l),T.extend=i,T.destroy=o.destroy,Object.defineProperty(T,"enabled",{enumerable:!0,configurable:!1,get:function(){return w!==null?w:(S!==o.namespaces&&(S=o.namespaces,k=o.enabled(l)),k)},set:function(Y){w=Y}}),typeof o.init=="function"&&o.init(T),T}function i(l,p){var w=o(this.namespace+(typeof p=="undefined"?":":p)+l);return w.log=this.log,w}function a(l){o.save(l),o.namespaces=l,o.names=[],o.skips=[];var p,w=(typeof l=="string"?l:"").split(/[\s,]+/),S=w.length;for(p=0;p<S;p++)!w[p]||(l=w[p].replace(/\*/g,".*?"),l[0]==="-"?o.skips.push(new RegExp("^"+l.slice(1)+"$")):o.names.push(new RegExp("^"+l+"$")))}function n(){var l=[].concat(u(o.names.map(m)),u(o.skips.map(m).map(function(p){return"-"+p}))).join(",");return o.enable(""),l}function v(l){if(l[l.length-1]==="*")return!0;var p,w;for(p=0,w=o.skips.length;p<w;p++)if(o.skips[p].test(l))return!1;for(p=0,w=o.names.length;p<w;p++)if(o.names[p].test(l))return!0;return!1}function m(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}function h(l){return l instanceof Error?l.stack||l.message:l}function t(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o.enable(o.load()),o}Ie.exports=c},"3L66":function(Ie,M,e){var u=e("MMmD"),c=e("ExA7");function r(f){return c(f)&&u(f)}Ie.exports=r},"3R4v":function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="FullscreenOutlined";var a=M.a=c.forwardRef(i)},"3Rsk":function(Ie,M,e){"use strict";e.d(M,"a",function(){return o});var u=e("fWQN"),c=e("mtLc"),r=e("ic2d"),f=e("MI8n"),o={JSONContribution:"base.contributions.json"};function i(v){return v.length>0&&v.charAt(v.length-1)==="#"?v.substring(0,v.length-1):v}var a=function(){function v(){Object(u.a)(this,v),this._onDidChangeSchema=new f.a,this.schemasById={}}return Object(c.a)(v,[{key:"registerSchema",value:function(h,t){this.schemasById[i(h)]=t,this._onDidChangeSchema.fire(h)}},{key:"notifySchemaChanged",value:function(h){this._onDidChangeSchema.fire(h)}}]),v}(),n=new a;r.a.add(o.JSONContribution,n)},"3U59":function(Ie,M,e){"use strict";var u=e("q1tI"),c=e.n(u),r=u.createContext({});M.a=r},"3WF5":function(Ie,M,e){var u=e("eUgh"),c=e("ut/Y"),r=e("l9OW"),f=e("Z0cm");function o(i,a){var n=f(i)?u:r;return n(i,c(a,3))}Ie.exports=o},"3azA":function(Ie,M,e){var u=e("M96O"),c=e("z6cq");Ie.exports=r;function r(f){return u.filter(c(f),function(o){return o.length>1||o.length===1&&f.hasEdge(o[0],o[0])})}},"3j9d":function(Ie,M,e){"use strict";var u=e("J+/v"),c=e("MoRW"),r=e("1OyB"),f=e("vuIU"),o=e("Ji7U"),i=e("LK+K"),a=e("nKUr"),n=e.n(a),v=e("q1tI"),m=e.n(v),h=function(t){Object(o.a)(p,t);var l=Object(i.a)(p);function p(){var w;Object(r.a)(this,p);for(var S=arguments.length,k=new Array(S),T=0;T<S;T++)k[T]=arguments[T];return w=l.call.apply(l,[this].concat(k)),w.state={hasError:!1,errorInfo:""},w}return Object(f.a)(p,[{key:"componentDidCatch",value:function(S,k){console.log(S,k)}},{key:"render",value:function(){return this.state.hasError?Object(a.jsx)(c.a,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(S){return{hasError:!0,errorInfo:S.message}}}]),p}(m.a.Component);M.a=h},"3y7U":function(Ie,M,e){var u=e("M96O");Ie.exports=c;function c(f,o,i){u.isArray(o)||(o=[o]);var a=(f.isDirected()?f.successors:f.neighbors).bind(f),n=[],v={};return u.each(o,function(m){if(!f.hasNode(m))throw new Error("Graph does not have node: "+m);r(f,m,i==="post",v,a,n)}),n}function r(f,o,i,a,n,v){u.has(a,o)||(a[o]=!0,i||v.push(o),u.each(n(o),function(m){r(f,m,i,a,n,v)}),i&&v.push(o))}},"4/ic":function(Ie,M,e){var u=e("ZWtO");function c(r){return function(f){return u(f,r)}}Ie.exports=c},"409L":function(Ie,M,e){Ie.exports={graphlib:e("F9We"),layout:e("epwv"),debug:e("4JAw"),util:{time:e("tQ6r").time,notime:e("tQ6r").notime},version:e("khRU")}},"40U4":function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="FireOutlined";var a=M.a=c.forwardRef(i)},"44Ds":function(Ie,M,e){var u=e("e4Nc"),c="Expected a function";function r(f,o){if(typeof f!="function"||o!=null&&typeof o!="function")throw new TypeError(c);var i=function(){var a=arguments,n=o?o.apply(this,a):a[0],v=i.cache;if(v.has(n))return v.get(n);var m=f.apply(this,a);return i.cache=v.set(n,m)||v,m};return i.cache=new(r.Cache||u),i}r.Cache=u,Ie.exports=r},"44XX":function(Ie,M,e){"use strict";e.d(M,"a",function(){return E}),e.d(M,"b",function(){return D});var u=e("oBTY"),c=e("rAM+"),r=e("w4Tj"),f=e("oZsa"),o=e("yKVA"),i=e("879j"),a=e("fWQN"),n=e("mtLc"),v=e("51B1"),m=e.n(v),h=e("pmY6"),t=e("MI8n"),l=e("746U"),p=e("Sdnv"),w=e("6OMU"),S=e("cMOf"),k=e("zrhQ"),T=e("4y0V"),I=e("EffR"),Y=e("GJhM"),$=e("QuOb"),A={separatorBorder:k.a.transparent},g=function(){function W(te,re,ye,q){Object(a.a)(this,W),this.container=te,this.view=re,this.disposable=q,this._cachedVisibleSize=void 0,typeof ye=="number"?(this._size=ye,this._cachedVisibleSize=void 0,te.classList.add("visible")):(this._size=0,this._cachedVisibleSize=ye.cachedVisibleSize)}return Object(n.a)(W,[{key:"size",get:function(){return this._size},set:function(re){this._size=re}},{key:"visible",get:function(){return typeof this._cachedVisibleSize=="undefined"}},{key:"setVisible",value:function(re,ye){re!==this.visible&&(re?(this.size=Object(p.b)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof ye=="number"?ye:this.size,this.size=0),this.container.classList.toggle("visible",re),this.view.setVisible&&this.view.setVisible(re))}},{key:"minimumSize",get:function(){return this.visible?this.view.minimumSize:0}},{key:"viewMinimumSize",get:function(){return this.view.minimumSize}},{key:"maximumSize",get:function(){return this.visible?this.view.maximumSize:0}},{key:"viewMaximumSize",get:function(){return this.view.maximumSize}},{key:"priority",get:function(){return this.view.priority}},{key:"snap",get:function(){return!!this.view.snap}},{key:"enabled",set:function(re){this.container.style.pointerEvents=re?"":"none"}},{key:"layout",value:function(re,ye){this.layoutContainer(re),this.view.layout(this.size,re,ye)}},{key:"dispose",value:function(){return this.disposable.dispose(),this.view}}]),W}(),b=function(W){Object(o.a)(re,W);var te=Object(i.a)(re);function re(){return Object(a.a)(this,re),te.apply(this,arguments)}return Object(n.a)(re,[{key:"layoutContainer",value:function(q){this.container.style.top="".concat(q,"px"),this.container.style.height="".concat(this.size,"px")}}]),re}(g),d=function(W){Object(o.a)(re,W);var te=Object(i.a)(re);function re(){return Object(a.a)(this,re),te.apply(this,arguments)}return Object(n.a)(re,[{key:"layoutContainer",value:function(q){this.container.style.left="".concat(q,"px"),this.container.style.width="".concat(this.size,"px")}}]),re}(g),O;(function(W){W[W.Idle=0]="Idle",W[W.Busy=1]="Busy"})(O||(O={}));var E;(function(W){W.Distribute={type:"distribute"};function te(ye){return{type:"split",index:ye}}W.Split=te;function re(ye){return{type:"invisible",cachedVisibleSize:ye}}W.Invisible=re})(E||(E={}));var D=function(W){Object(o.a)(re,W);var te=Object(i.a)(re);function re(ye){var q,oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Object(a.a)(this,re);var he,ue;return q=te.call(this),q.size=0,q.contentSize=0,q.proportions=void 0,q.viewItems=[],q.sashItems=[],q.state=O.Idle,q._onDidSashChange=q._register(new t.a),q.onDidSashChange=q._onDidSashChange.event,q._onDidSashReset=q._register(new t.a),q._startSnappingEnabled=!0,q._endSnappingEnabled=!0,q.orientation=l.k(oe.orientation)?0:oe.orientation,q.inverseAltBehavior=!!oe.inverseAltBehavior,q.proportionalLayout=l.k(oe.proportionalLayout)?!0:!!oe.proportionalLayout,q.getSashOrthogonalSize=oe.getSashOrthogonalSize,q.el=document.createElement("div"),q.el.classList.add("monaco-split-view2"),q.el.classList.add(q.orientation===0?"vertical":"horizontal"),ye.appendChild(q.el),q.sashContainer=Object(I.append)(q.el,Object(I.$)(".sash-container")),q.viewContainer=Object(I.$)(".split-view-container"),q.scrollable=new $.a(125,I.scheduleAtNextAnimationFrame),q.scrollableElement=q._register(new Y.c(q.viewContainer,{vertical:q.orientation===0?(he=oe.scrollbarVisibility)!==null&&he!==void 0?he:1:2,horizontal:q.orientation===1?(ue=oe.scrollbarVisibility)!==null&&ue!==void 0?ue:1:2},q.scrollable)),q._register(q.scrollableElement.onScroll(function(ne){q.viewContainer.scrollTop=ne.scrollTop,q.viewContainer.scrollLeft=ne.scrollLeft})),Object(I.append)(q.el,q.scrollableElement.getDomNode()),q.style(oe.styles||A),oe.descriptor&&(q.size=oe.descriptor.size,oe.descriptor.views.forEach(function(ne,se){var be=l.k(ne.visible)||ne.visible?ne.size:{type:"invisible",cachedVisibleSize:ne.size},Z=ne.view;q.doAddView(Z,be,se,!0)}),q.contentSize=q.viewItems.reduce(function(ne,se){return ne+se.size},0),q.saveProportions()),q}return Object(n.a)(re,[{key:"orthogonalStartSash",get:function(){return this._orthogonalStartSash},set:function(q){var oe=Object(c.a)(this.sashItems),he;try{for(oe.s();!(he=oe.n()).done;){var ue=he.value;ue.sash.orthogonalStartSash=q}}catch(ne){oe.e(ne)}finally{oe.f()}this._orthogonalStartSash=q}},{key:"orthogonalEndSash",get:function(){return this._orthogonalEndSash},set:function(q){var oe=Object(c.a)(this.sashItems),he;try{for(oe.s();!(he=oe.n()).done;){var ue=he.value;ue.sash.orthogonalEndSash=q}}catch(ne){oe.e(ne)}finally{oe.f()}this._orthogonalEndSash=q}},{key:"startSnappingEnabled",get:function(){return this._startSnappingEnabled},set:function(q){this._startSnappingEnabled!==q&&(this._startSnappingEnabled=q,this.updateSashEnablement())}},{key:"endSnappingEnabled",get:function(){return this._endSnappingEnabled},set:function(q){this._endSnappingEnabled!==q&&(this._endSnappingEnabled=q,this.updateSashEnablement())}},{key:"style",value:function(q){q.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",q.separatorBorder.toString()))}},{key:"addView",value:function(q,oe){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.viewItems.length,ue=arguments.length>3?arguments[3]:void 0;this.doAddView(q,oe,he,ue)}},{key:"layout",value:function(q,oe){var he=this,ue=Math.max(this.size,this.contentSize);if(this.size=q,this.layoutContext=oe,this.proportions)for(var Z=0;Z<this.viewItems.length;Z++){var ee=this.viewItems[Z];ee.size=Object(p.b)(Math.round(this.proportions[Z]*q),ee.minimumSize,ee.maximumSize)}else{var ne=Object(w.q)(this.viewItems.length),se=ne.filter(function(ce){return he.viewItems[ce].priority===1}),be=ne.filter(function(ce){return he.viewItems[ce].priority===2});this.resize(this.viewItems.length-1,q-ue,void 0,se,be)}this.distributeEmptySpace(),this.layoutViews()}},{key:"saveProportions",value:function(){var q=this;this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(function(oe){return oe.size/q.contentSize}))}},{key:"onSashStart",value:function(q){var oe=this,he=q.sash,ue=q.start,ne=q.alt,se=Object(c.a)(this.viewItems),be;try{for(se.s();!(be=se.n()).done;){var Z=be.value;Z.enabled=!1}}catch(y){se.e(y)}finally{se.f()}var ee=this.sashItems.findIndex(function(y){return y.sash===he}),ce=Object(h.e)(Object(T.a)(document.body,"keydown")(function(y){return R(oe.sashDragState.current,y.altKey)}),Object(T.a)(document.body,"keyup")(function(){return R(oe.sashDragState.current,!1)})),R=function(C,z){var G=oe.viewItems.map(function(qe){return qe.size}),X=Number.NEGATIVE_INFINITY,pe=Number.POSITIVE_INFINITY;if(oe.inverseAltBehavior&&(z=!z),z){var ae=ee===oe.sashItems.length-1;if(ae){var Se=oe.viewItems[ee];X=(Se.minimumSize-Se.size)/2,pe=(Se.maximumSize-Se.size)/2}else{var Te=oe.viewItems[ee+1];X=(Te.size-Te.maximumSize)/2,pe=(Te.size-Te.minimumSize)/2}}var je,ft;if(!z){var fe=Object(w.q)(ee,-1),ie=Object(w.q)(ee+1,oe.viewItems.length),ge=fe.reduce(function(qe,st){return qe+(oe.viewItems[st].minimumSize-G[st])},0),Ve=fe.reduce(function(qe,st){return qe+(oe.viewItems[st].viewMaximumSize-G[st])},0),Ee=ie.length===0?Number.POSITIVE_INFINITY:ie.reduce(function(qe,st){return qe+(G[st]-oe.viewItems[st].minimumSize)},0),Me=ie.length===0?Number.NEGATIVE_INFINITY:ie.reduce(function(qe,st){return qe+(G[st]-oe.viewItems[st].viewMaximumSize)},0),_e=Math.max(ge,Me),Re=Math.min(Ee,Ve),et=oe.findFirstSnapIndex(fe),Xe=oe.findFirstSnapIndex(ie);if(typeof et=="number"){var it=oe.viewItems[et],bt=Math.floor(it.viewMinimumSize/2);je={index:et,limitDelta:it.visible?_e-bt:_e+bt,size:it.size}}if(typeof Xe=="number"){var Ct=oe.viewItems[Xe],Bt=Math.floor(Ct.viewMinimumSize/2);ft={index:Xe,limitDelta:Ct.visible?Re+Bt:Re-Bt,size:Ct.size}}}oe.sashDragState={start:C,current:C,index:ee,sizes:G,minDelta:X,maxDelta:pe,alt:z,snapBefore:je,snapAfter:ft,disposable:ce}};R(ue,ne)}},{key:"onSashChange",value:function(q){var oe=q.current,he=this.sashDragState,ue=he.index,ne=he.start,se=he.sizes,be=he.alt,Z=he.minDelta,ee=he.maxDelta,ce=he.snapBefore,R=he.snapAfter;this.sashDragState.current=oe;var y=oe-ne,C=this.resize(ue,y,se,void 0,void 0,Z,ee,ce,R);if(be){var z=ue===this.sashItems.length-1,G=this.viewItems.map(function(je){return je.size}),X=z?ue:ue+1,pe=this.viewItems[X],ae=pe.size-pe.maximumSize,Se=pe.size-pe.minimumSize,Te=z?ue-1:ue+1;this.resize(Te,-C,G,void 0,void 0,ae,Se)}this.distributeEmptySpace(),this.layoutViews()}},{key:"onSashEnd",value:function(q){this._onDidSashChange.fire(q),this.sashDragState.disposable.dispose(),this.saveProportions();var oe=Object(c.a)(this.viewItems),he;try{for(oe.s();!(he=oe.n()).done;){var ue=he.value;ue.enabled=!0}}catch(ne){oe.e(ne)}finally{oe.f()}}},{key:"onViewChange",value:function(q,oe){var he=this.viewItems.indexOf(q);he<0||he>=this.viewItems.length||(oe=typeof oe=="number"?oe:q.size,oe=Object(p.b)(oe,q.minimumSize,q.maximumSize),this.inverseAltBehavior&&he>0?(this.resize(he-1,Math.floor((q.size-oe)/2)),this.distributeEmptySpace(),this.layoutViews()):(q.size=oe,this.relayout([he],void 0)))}},{key:"resizeView",value:function(q,oe){var he=this;if(this.state!==O.Idle)throw new Error("Cant modify splitview");if(this.state=O.Busy,!(q<0||q>=this.viewItems.length)){var ue=Object(w.q)(this.viewItems.length).filter(function(Z){return Z!==q}),ne=[].concat(Object(u.a)(ue.filter(function(Z){return he.viewItems[Z].priority===1})),[q]),se=ue.filter(function(Z){return he.viewItems[Z].priority===2}),be=this.viewItems[q];oe=Math.round(oe),oe=Object(p.b)(oe,be.minimumSize,Math.min(be.maximumSize,this.size)),be.size=oe,this.relayout(ne,se),this.state=O.Idle}}},{key:"distributeViewSizes",value:function(){var q=this,oe=[],he=0,ue=Object(c.a)(this.viewItems),ne;try{for(ue.s();!(ne=ue.n()).done;){var se=ne.value;se.maximumSize-se.minimumSize>0&&(oe.push(se),he+=se.size)}}catch(z){ue.e(z)}finally{ue.f()}for(var be=Math.floor(he/oe.length),Z=0,ee=oe;Z<ee.length;Z++){var ce=ee[Z];ce.size=Object(p.b)(be,ce.minimumSize,ce.maximumSize)}var R=Object(w.q)(this.viewItems.length),y=R.filter(function(z){return q.viewItems[z].priority===1}),C=R.filter(function(z){return q.viewItems[z].priority===2});this.relayout(y,C)}},{key:"getViewSize",value:function(q){return q<0||q>=this.viewItems.length?-1:this.viewItems[q].size}},{key:"doAddView",value:function(q,oe){var he=this,ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.viewItems.length,ne=arguments.length>3?arguments[3]:void 0;if(this.state!==O.Idle)throw new Error("Cant modify splitview");this.state=O.Busy;var se=Object(I.$)(".split-view-view");ue===this.viewItems.length?this.viewContainer.appendChild(se):this.viewContainer.insertBefore(se,this.viewContainer.children.item(ue));var be=q.onDidChange(function(ge){return he.onViewChange(R,ge)}),Z=Object(h.h)(function(){return he.viewContainer.removeChild(se)}),ee=Object(h.e)(be,Z),ce;typeof oe=="number"?ce=oe:oe.type==="split"?ce=this.getViewSize(oe.index)/2:oe.type==="invisible"?ce={cachedVisibleSize:oe.cachedVisibleSize}:ce=q.minimumSize;var R=this.orientation===0?new b(se,q,ce,ee):new d(se,q,ce,ee);if(this.viewItems.splice(ue,0,R),this.viewItems.length>1){var y={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash},C=this.orientation===0?new S.b(this.sashContainer,{getHorizontalSashTop:function(Ve){return he.getSashPosition(Ve)},getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},y),{orientation:1})):new S.b(this.sashContainer,{getVerticalSashLeft:function(Ve){return he.getSashPosition(Ve)},getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},y),{orientation:0})),z=this.orientation===0?function(ge){return{sash:C,start:ge.startY,current:ge.currentY,alt:ge.altKey}}:function(ge){return{sash:C,start:ge.startX,current:ge.currentX,alt:ge.altKey}},G=t.b.map(C.onDidStart,z),X=G(this.onSashStart,this),pe=t.b.map(C.onDidChange,z),ae=pe(this.onSashChange,this),Se=t.b.map(C.onDidEnd,function(){return he.sashItems.findIndex(function(ge){return ge.sash===C})}),Te=Se(this.onSashEnd,this),je=C.onDidReset(function(){var ge=he.sashItems.findIndex(function(Re){return Re.sash===C}),Ve=Object(w.q)(ge,-1),Ee=Object(w.q)(ge+1,he.viewItems.length),Me=he.findFirstSnapIndex(Ve),_e=he.findFirstSnapIndex(Ee);typeof Me=="number"&&!he.viewItems[Me].visible||typeof _e=="number"&&!he.viewItems[_e].visible||he._onDidSashReset.fire(ge)}),ft=Object(h.e)(X,ae,Te,je,C),fe={sash:C,disposable:ft};this.sashItems.splice(ue-1,0,fe)}se.appendChild(q.element);var ie;typeof oe!="number"&&oe.type==="split"&&(ie=[oe.index]),ne||this.relayout([ue],ie),this.state=O.Idle,!ne&&typeof oe!="number"&&oe.type==="distribute"&&this.distributeViewSizes()}},{key:"relayout",value:function(q,oe){var he=this.viewItems.reduce(function(ue,ne){return ue+ne.size},0);this.resize(this.viewItems.length-1,this.size-he,void 0,q,oe),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}},{key:"resize",value:function(q,oe){var he=this,ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.viewItems.map(function(ht){return ht.size}),ne=arguments.length>3?arguments[3]:void 0,se=arguments.length>4?arguments[4]:void 0,be=arguments.length>5&&arguments[5]!==void 0?arguments[5]:Number.NEGATIVE_INFINITY,Z=arguments.length>6&&arguments[6]!==void 0?arguments[6]:Number.POSITIVE_INFINITY,ee=arguments.length>7?arguments[7]:void 0,ce=arguments.length>8?arguments[8]:void 0;if(q<0||q>=this.viewItems.length)return 0;var R=Object(w.q)(q,-1),y=Object(w.q)(q+1,this.viewItems.length);if(se){var C=Object(c.a)(se),z;try{for(C.s();!(z=C.n()).done;){var G=z.value;Object(w.o)(R,G),Object(w.o)(y,G)}}catch(ht){C.e(ht)}finally{C.f()}}if(ne){var X=Object(c.a)(ne),pe;try{for(X.s();!(pe=X.n()).done;){var ae=pe.value;Object(w.n)(R,ae),Object(w.n)(y,ae)}}catch(ht){X.e(ht)}finally{X.f()}}var Se=R.map(function(ht){return he.viewItems[ht]}),Te=R.map(function(ht){return ue[ht]}),je=y.map(function(ht){return he.viewItems[ht]}),ft=y.map(function(ht){return ue[ht]}),fe=R.reduce(function(ht,Rt){return ht+(he.viewItems[Rt].minimumSize-ue[Rt])},0),ie=R.reduce(function(ht,Rt){return ht+(he.viewItems[Rt].maximumSize-ue[Rt])},0),ge=y.length===0?Number.POSITIVE_INFINITY:y.reduce(function(ht,Rt){return ht+(ue[Rt]-he.viewItems[Rt].minimumSize)},0),Ve=y.length===0?Number.NEGATIVE_INFINITY:y.reduce(function(ht,Rt){return ht+(ue[Rt]-he.viewItems[Rt].maximumSize)},0),Ee=Math.max(fe,Ve,be),Me=Math.min(ge,ie,Z),_e=!1;if(ee){var Re=this.viewItems[ee.index],et=oe>=ee.limitDelta;_e=et!==Re.visible,Re.setVisible(et,ee.size)}if(!_e&&ce){var Xe=this.viewItems[ce.index],it=oe<ce.limitDelta;_e=it!==Xe.visible,Xe.setVisible(it,ce.size)}if(_e)return this.resize(q,oe,ue,ne,se,be,Z);oe=Object(p.b)(oe,Ee,Me);for(var bt=0,Ct=oe;bt<Se.length;bt++){var Bt=Se[bt],qe=Object(p.b)(Te[bt]+Ct,Bt.minimumSize,Bt.maximumSize),st=qe-Te[bt];Ct-=st,Bt.size=qe}for(var ut=0,nt=oe;ut<je.length;ut++){var kt=je[ut],Sn=Object(p.b)(ft[ut]-nt,kt.minimumSize,kt.maximumSize),Tt=Sn-ft[ut];nt+=Tt,kt.size=Sn}return oe}},{key:"distributeEmptySpace",value:function(q){var oe=this,he=this.viewItems.reduce(function(ae,Se){return ae+Se.size},0),ue=this.size-he,ne=Object(w.q)(this.viewItems.length-1,-1),se=ne.filter(function(ae){return oe.viewItems[ae].priority===1}),be=ne.filter(function(ae){return oe.viewItems[ae].priority===2}),Z=Object(c.a)(be),ee;try{for(Z.s();!(ee=Z.n()).done;){var ce=ee.value;Object(w.o)(ne,ce)}}catch(ae){Z.e(ae)}finally{Z.f()}var R=Object(c.a)(se),y;try{for(R.s();!(y=R.n()).done;){var C=y.value;Object(w.n)(ne,C)}}catch(ae){R.e(ae)}finally{R.f()}typeof q=="number"&&Object(w.n)(ne,q);for(var z=0;ue!==0&&z<ne.length;z++){var G=this.viewItems[ne[z]],X=Object(p.b)(G.size+ue,G.minimumSize,G.maximumSize),pe=X-G.size;ue-=pe,G.size=X}}},{key:"layoutViews",value:function(){this.contentSize=this.viewItems.reduce(function(ne,se){return ne+se.size},0);var q=0,oe=Object(c.a)(this.viewItems),he;try{for(oe.s();!(he=oe.n()).done;){var ue=he.value;ue.layout(q,this.layoutContext),q+=ue.size}}catch(ne){oe.e(ne)}finally{oe.f()}this.sashItems.forEach(function(ne){return ne.sash.layout()}),this.updateSashEnablement(),this.updateScrollableElement()}},{key:"updateScrollableElement",value:function(){this.orientation===0?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this.contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this.contentSize})}},{key:"updateSashEnablement",value:function(){var q=!1,oe=this.viewItems.map(function(Se){return q=Se.size-Se.minimumSize>0||q});q=!1;var he=this.viewItems.map(function(Se){return q=Se.maximumSize-Se.size>0||q}),ue=Object(u.a)(this.viewItems).reverse();q=!1;var ne=ue.map(function(Se){return q=Se.size-Se.minimumSize>0||q}).reverse();q=!1;for(var se=ue.map(function(Se){return q=Se.maximumSize-Se.size>0||q}).reverse(),be=0,Z=0;Z<this.sashItems.length;Z++){var ee=this.sashItems[Z].sash,ce=this.viewItems[Z];be+=ce.size;var R=!(oe[Z]&&se[Z+1]),y=!(he[Z]&&ne[Z+1]);if(R&&y){var C=Object(w.q)(Z,-1),z=Object(w.q)(Z+1,this.viewItems.length),G=this.findFirstSnapIndex(C),X=this.findFirstSnapIndex(z),pe=typeof G=="number"&&!this.viewItems[G].visible,ae=typeof X=="number"&&!this.viewItems[X].visible;pe&&ne[Z]&&(be>0||this.startSnappingEnabled)?ee.state=1:ae&&oe[Z]&&(be<this.contentSize||this.endSnappingEnabled)?ee.state=2:ee.state=0}else R&&!y?ee.state=1:!R&&y?ee.state=2:ee.state=3}}},{key:"getSashPosition",value:function(q){for(var oe=0,he=0;he<this.sashItems.length;he++)if(oe+=this.viewItems[he].size,this.sashItems[he].sash===q)return oe;return 0}},{key:"findFirstSnapIndex",value:function(q){var oe=Object(c.a)(q),he;try{for(oe.s();!(he=oe.n()).done;){var ue=he.value,ne=this.viewItems[ue];if(!!ne.visible&&ne.snap)return ue}}catch(ce){oe.e(ce)}finally{oe.f()}var se=Object(c.a)(q),be;try{for(se.s();!(be=se.n()).done;){var Z=be.value,ee=this.viewItems[Z];if(ee.visible&&ee.maximumSize-ee.minimumSize>0)return;if(!ee.visible&&ee.snap)return Z}}catch(ce){se.e(ce)}finally{se.f()}}},{key:"dispose",value:function(){Object(r.a)(Object(f.a)(re.prototype),"dispose",this).call(this),this.viewItems.forEach(function(q){return q.dispose()}),this.viewItems=[],this.sashItems.forEach(function(q){return q.disposable.dispose()}),this.sashItems=[]}}]),re}(h.a)},"4Ai+":function(Ie,M,e){var u=e("Ac7g");Ie.exports={Graph:u.Graph,json:e("GbLa"),alg:e("2J+T"),version:u.version}},"4JAw":function(Ie,M,e){var u=e("b5wT"),c=e("tQ6r"),r=e("F9We").Graph;Ie.exports={debugOrdering:f};function f(o){var i=c.buildLayerMatrix(o),a=new r({compound:!0,multigraph:!0}).setGraph({});return u.forEach(o.nodes(),function(n){a.setNode(n,{label:n}),a.setParent(n,"layer"+o.node(n).rank)}),u.forEach(o.edges(),function(n){a.setEdge(n.v,n.w,{},n.name)}),u.forEach(i,function(n,v){var m="layer"+v;a.setNode(m,{rank:"same"}),u.reduce(n,function(h,t){return a.setEdge(h,t,{style:"invis"}),t})}),a}},"4bUh":function(Ie,M,e){"use strict";e.d(M,"a",function(){return f});var u=e("fWQN"),c=e("mtLc"),r=e("twdY"),f=function(){function i(a,n){Object(u.a)(this,i),this._tokens=a,this._tokensCount=this._tokens.length>>>1,this._text=n}return Object(c.a)(i,[{key:"equals",value:function(n){return n instanceof i?this.slicedEquals(n,0,this._tokensCount):!1}},{key:"slicedEquals",value:function(n,v,m){if(this._text!==n._text||this._tokensCount!==n._tokensCount)return!1;for(var h=v<<1,t=h+(m<<1),l=h;l<t;l++)if(this._tokens[l]!==n._tokens[l])return!1;return!0}},{key:"getLineContent",value:function(){return this._text}},{key:"getCount",value:function(){return this._tokensCount}},{key:"getStartOffset",value:function(n){return n>0?this._tokens[n-1<<1]:0}},{key:"getMetadata",value:function(n){var v=this._tokens[(n<<1)+1];return v}},{key:"getLanguageId",value:function(n){var v=this._tokens[(n<<1)+1];return r.C.getLanguageId(v)}},{key:"getStandardTokenType",value:function(n){var v=this._tokens[(n<<1)+1];return r.C.getTokenType(v)}},{key:"getForeground",value:function(n){var v=this._tokens[(n<<1)+1];return r.C.getForeground(v)}},{key:"getClassName",value:function(n){var v=this._tokens[(n<<1)+1];return r.C.getClassNameFromMetadata(v)}},{key:"getInlineStyle",value:function(n,v){var m=this._tokens[(n<<1)+1];return r.C.getInlineStyleFromMetadata(m,v)}},{key:"getEndOffset",value:function(n){return this._tokens[n<<1]}},{key:"findTokenIndexAtOffset",value:function(n){return i.findIndexInTokensArray(this._tokens,n)}},{key:"inflate",value:function(){return this}},{key:"sliceAndInflate",value:function(n,v,m){return new o(this,n,v,m)}}],[{key:"convertToEndOffset",value:function(n,v){for(var m=n.length>>>1,h=m-1,t=0;t<h;t++)n[t<<1]=n[t+1<<1];n[h<<1]=v}},{key:"findIndexInTokensArray",value:function(n,v){if(n.length<=2)return 0;for(var m=0,h=(n.length>>>1)-1;m<h;){var t=m+Math.floor((h-m)/2),l=n[t<<1];if(l===v)return t+1;l<v?m=t+1:l>v&&(h=t)}return m}}]),i}(),o=function(){function i(a,n,v,m){Object(u.a)(this,i),this._source=a,this._startOffset=n,this._endOffset=v,this._deltaOffset=m,this._firstTokenIndex=a.findTokenIndexAtOffset(n),this._tokensCount=0;for(var h=this._firstTokenIndex,t=a.getCount();h<t;h++){var l=a.getStartOffset(h);if(l>=v)break;this._tokensCount++}}return Object(c.a)(i,[{key:"equals",value:function(n){return n instanceof i?this._startOffset===n._startOffset&&this._endOffset===n._endOffset&&this._deltaOffset===n._deltaOffset&&this._source.slicedEquals(n._source,this._firstTokenIndex,this._tokensCount):!1}},{key:"getCount",value:function(){return this._tokensCount}},{key:"getForeground",value:function(n){return this._source.getForeground(this._firstTokenIndex+n)}},{key:"getEndOffset",value:function(n){var v=this._source.getEndOffset(this._firstTokenIndex+n);return Math.min(this._endOffset,v)-this._startOffset+this._deltaOffset}},{key:"getClassName",value:function(n){return this._source.getClassName(this._firstTokenIndex+n)}},{key:"getInlineStyle",value:function(n,v){return this._source.getInlineStyle(this._firstTokenIndex+n,v)}},{key:"findTokenIndexAtOffset",value:function(n){return this._source.findTokenIndexAtOffset(n+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}]),i}()},"4kuk":function(Ie,M,e){var u=e("SfRM"),c=e("Hvzi"),r=e("u8Dt"),f=e("ekgI"),o=e("JSQU");function i(a){var n=-1,v=a==null?0:a.length;for(this.clear();++n<v;){var m=a[n];this.set(m[0],m[1])}}i.prototype.clear=u,i.prototype.delete=c,i.prototype.get=r,i.prototype.has=f,i.prototype.set=o,Ie.exports=i},"4qC0":function(Ie,M,e){var u=e("NykK"),c=e("Z0cm"),r=e("ExA7"),f="[object String]";function o(i){return typeof i=="string"||!c(i)&&r(i)&&u(i)==f}Ie.exports=o},"4rho":function(Ie,M,e){},"4sDh":function(Ie,M,e){var u=e("4uTw"),c=e("03A+"),r=e("Z0cm"),f=e("wJg7"),o=e("shjB"),i=e("9Nap");function a(n,v,m){v=u(v,n);for(var h=-1,t=v.length,l=!1;++h<t;){var p=i(v[h]);if(!(l=n!=null&&m(n,p)))break;n=n[p]}return l||++h!=t?l:(t=n==null?0:n.length,!!t&&o(t)&&f(p,t)&&(r(n)||c(n)))}Ie.exports=a},"4uTw":function(Ie,M,e){var u=e("Z0cm"),c=e("9ggG"),r=e("GNiM"),f=e("dt0z");function o(i,a){return u(i)?i:c(i,a)?[i]:r(f(i))}Ie.exports=o},"4y0V":function(Ie,M,e){"use strict";e.d(M,"a",function(){return c}),e.d(M,"c",function(){return r}),e.d(M,"b",function(){return f});var u=e("MI8n"),c=function(i,a,n){var v=function(t){return m.fire(t)},m=new u.a({onFirstListenerAdd:function(){i.addEventListener(a,v,n)},onLastListenerRemove:function(){i.removeEventListener(a,v,n)}});return m.event};function r(o){return o.preventDefault(),o.stopPropagation(),o}function f(o){return u.b.map(o,r)}},"51B1":function(Ie,M,e){},"51f4":function(Ie,M,e){"use strict";e.d(M,"a",function(){return a});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=!1,o=null;function i(n){if(!n.parent||n.parent===n)return null;try{var v=n.location,m=n.parent.location;if(v.origin!=="null"&&m.origin!=="null"&&(v.protocol!==m.protocol||v.hostname!==m.hostname||v.port!==m.port))return f=!0,null}catch(h){return f=!0,null}return n.parent}var a=function(){function n(){Object(c.a)(this,n)}return Object(r.a)(n,null,[{key:"getSameOriginWindowChain",value:function(){if(!o){o=[];var m=window,h;do h=i(m),h?o.push({window:m,iframeElement:m.frameElement||null}):o.push({window:m,iframeElement:null}),m=h;while(m)}return o.slice(0)}},{key:"hasDifferentOriginAncestor",value:function(){return o||this.getSameOriginWindowChain(),f}},{key:"getPositionOfChildWindowRelativeToAncestorWindow",value:function(m,h){if(!h||m===h)return{top:0,left:0};var t=0,l=0,p=this.getSameOriginWindowChain(),w=Object(u.a)(p),S;try{for(w.s();!(S=w.n()).done;){var k=S.value;if(t+=k.window.scrollY,l+=k.window.scrollX,k.window===h||!k.iframeElement)break;var T=k.iframeElement.getBoundingClientRect();t+=T.top,l+=T.left}}catch(I){w.e(I)}finally{w.f()}return{top:t,left:l}}}]),n}()},"51su":function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("8LL/"),c=e.n(u),r="monaco-mouse-cursor-text"},"5EqP":function(Ie,M,e){var u=e("M96O");Ie.exports=c;function c(r){var f={},o=[],i;function a(n){u.has(f,n)||(f[n]=!0,i.push(n),u.each(r.successors(n),a),u.each(r.predecessors(n),a))}return u.each(r.nodes(),function(n){i=[],a(n),i.length&&o.push(i)}),o}},"5RzL":function(Ie,M,e){"use strict";var u=e("wx14"),c=e("rePB"),r=e("TSYQ"),f=e.n(r),o=e("KQm4"),i=e("VTBJ"),a=e("ODXe"),n=e("Ff2n"),v=e("U8pU"),m=e("q1tI"),h=e("LdHM"),t=e("NvD2"),l=e("18yb"),p=e("6cGi"),w=e("4IlW"),S=e("YrtM"),k=e("fAei"),T=m.createContext(null),I=T,Y=m.createContext(null),$=Y;function A(Tt){return Array.isArray(Tt)?Tt:Tt!==void 0?[Tt]:[]}function g(Tt){var ht=Tt||{},Rt=ht.label,Ft=ht.value,nn=ht.children,bn=Ft||"value";return{_title:Rt?[Rt]:["title","label"],value:bn,key:bn,children:nn||"children"}}function b(Tt){return!Tt||Tt.disabled||Tt.disableCheckbox||Tt.checkable===!1}function d(Tt,ht){var Rt=[];function Ft(nn){nn.forEach(function(bn){var sn=bn[ht.children];sn&&(Rt.push(bn[ht.value]),Ft(sn))})}return Ft(Tt),Rt}function O(Tt){return Tt==null}var E={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},D=function(ht,Rt){var Ft=Object(h.e)(),nn=Ft.prefixCls,bn=Ft.multiple,sn=Ft.searchValue,un=Ft.toggleOpen,Ht=Ft.open,jn=Ft.notFoundContent,Ln=m.useContext($),Un=Ln.virtual,lt=Ln.listHeight,Nt=Ln.listItemHeight,zt=Ln.treeData,en=Ln.fieldNames,tn=Ln.onSelect,wn=Ln.dropdownMatchSelectWidth,on=Ln.treeExpandAction,vn=m.useContext(I),dt=vn.checkable,ct=vn.checkedKeys,Kt=vn.halfCheckedKeys,pn=vn.treeExpandedKeys,kn=vn.treeDefaultExpandAll,Pt=vn.treeDefaultExpandedKeys,gn=vn.onTreeExpand,_n=vn.treeIcon,Kn=vn.showTreeIcon,qn=vn.switcherIcon,rr=vn.treeLine,Rn=vn.treeNodeFilterProp,mr=vn.loadData,ar=vn.treeLoadedKeys,sr=vn.treeMotion,yr=vn.onTreeLoad,br=vn.keyEntities,_r=m.useRef(),li=Object(S.a)(function(){return zt},[Ht,zt],function(Pe,mt){return mt[0]&&Pe[1]!==mt[1]}),xi=m.useMemo(function(){return dt?{checked:ct,halfChecked:Kt}:null},[dt,ct,Kt]);m.useEffect(function(){if(Ht&&!bn&&ct.length){var Pe;(Pe=_r.current)===null||Pe===void 0||Pe.scrollTo({key:ct[0]})}},[Ht]);var Mi=String(sn).toLowerCase(),Fr=function(mt){return Mi?String(mt[Rn]).toLowerCase().includes(Mi):!1},ur=m.useState(Pt),Ti=Object(a.a)(ur,2),Xi=Ti[0],ca=Ti[1],Zi=m.useState(null),xa=Object(a.a)(Zi,2),va=xa[0],Ma=xa[1],_a=m.useMemo(function(){return pn?Object(o.a)(pn):sn?va:Xi},[Xi,va,pn,sn]);m.useEffect(function(){sn&&Ma(d(zt,en))},[sn]);var na=function(mt){ca(mt),Ma(mt),gn&&gn(mt)},sa=function(mt){mt.preventDefault()},Ai=function(mt,xt){var cn=xt.node;dt&&b(cn)||(tn(cn.key,{selected:!ct.includes(cn.key)}),bn||un(!1))},ba=m.useState(null),ea=Object(a.a)(ba,2),mn=ea[0],It=ea[1],Ue=br[mn];if(m.useImperativeHandle(Rt,function(){var Pe;return{scrollTo:(Pe=_r.current)===null||Pe===void 0?void 0:Pe.scrollTo,onKeyDown:function(xt){var cn,Ut=xt.which;switch(Ut){case w.a.UP:case w.a.DOWN:case w.a.LEFT:case w.a.RIGHT:(cn=_r.current)===null||cn===void 0||cn.onKeyDown(xt);break;case w.a.ENTER:{if(Ue){var wt=(Ue==null?void 0:Ue.node)||{},Pn=wt.selectable,an=wt.value;Pn!==!1&&Ai(null,{node:{key:mn},selected:!ct.includes(an)})}break}case w.a.ESC:un(!1)}},onKeyUp:function(){}}}),li.length===0)return m.createElement("div",{role:"listbox",className:"".concat(nn,"-empty"),onMouseDown:sa},jn);var Ze={fieldNames:en};return ar&&(Ze.loadedKeys=ar),_a&&(Ze.expandedKeys=_a),m.createElement("div",{onMouseDown:sa},Ue&&Ht&&m.createElement("span",{style:E,"aria-live":"assertive"},Ue.node.value),m.createElement(k.b,Object(u.a)({ref:_r,focusable:!1,prefixCls:"".concat(nn,"-tree"),treeData:li,height:lt,itemHeight:Nt,virtual:Un!==!1&&wn!==!1,multiple:bn,icon:_n,showIcon:Kn,switcherIcon:qn,showLine:rr,loadData:sn?null:mr,motion:sr,activeKey:mn,checkable:dt,checkStrictly:!0,checkedKeys:xi,selectedKeys:dt?[]:ct,defaultExpandAll:kn},Ze,{onActiveChange:It,onSelect:Ai,onCheck:Ai,onExpand:na,onLoad:yr,filterTreeNode:Fr,expandAction:on})))},W=m.forwardRef(D);W.displayName="OptionList";var te=W,re=function(){return null},ye=re,q="SHOW_ALL",oe="SHOW_PARENT",he="SHOW_CHILD";function ue(Tt,ht,Rt,Ft){var nn=new Set(Tt);return ht===he?Tt.filter(function(bn){var sn=Rt[bn];return!(sn&&sn.children&&sn.children.some(function(un){var Ht=un.node;return nn.has(Ht[Ft.value])})&&sn.children.every(function(un){var Ht=un.node;return b(Ht)||nn.has(Ht[Ft.value])}))}):ht===oe?Tt.filter(function(bn){var sn=Rt[bn],un=sn?sn.parent:null;return!(un&&!b(un.node)&&nn.has(un.key))}):Tt}var ne=e("Zm9Q"),se=e("Kwbf"),be=["children","value"];function Z(Tt){return Object(ne.a)(Tt).map(function(ht){if(!m.isValidElement(ht)||!ht.type)return null;var Rt=ht,Ft=Rt.key,nn=Rt.props,bn=nn.children,sn=nn.value,un=Object(n.a)(nn,be),Ht=Object(i.a)({key:Ft,value:sn},un),jn=Z(bn);return jn.length&&(Ht.children=jn),Ht}).filter(function(ht){return ht})}function ee(Tt){if(!Tt)return Tt;var ht=Object(i.a)({},Tt);return"props"in ht||Object.defineProperty(ht,"props",{get:function(){return Object(se.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),ht}}),ht}function ce(Tt,ht,Rt,Ft,nn,bn){var sn=null,un=null;function Ht(){function jn(Ln){var Un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ln.map(function(Nt,zt){var en="".concat(Un,"-").concat(zt),tn=Nt[bn.value],wn=Rt.includes(tn),on=jn(Nt[bn.children]||[],en,wn),vn=m.createElement(ye,Nt,on.map(function(ct){return ct.node}));if(ht===tn&&(sn=vn),wn){var dt={pos:en,node:vn,children:on};return lt||un.push(dt),dt}return null}).filter(function(Nt){return Nt})}un||(un=[],jn(Ft),un.sort(function(Ln,Un){var lt=Ln.node.props.value,Nt=Un.node.props.value,zt=Rt.indexOf(lt),en=Rt.indexOf(Nt);return zt-en}))}Object.defineProperty(Tt,"triggerNode",{get:function(){return Object(se.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Ht(),sn}}),Object.defineProperty(Tt,"allCheckedNodes",{get:function(){return Object(se.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Ht(),nn?un:un.map(function(Ln){var Un=Ln.node;return Un})}})}function R(Tt,ht){var Rt=ht.id,Ft=ht.pId,nn=ht.rootPId,bn={},sn=[],un=Tt.map(function(Ht){var jn=Object(i.a)({},Ht),Ln=jn[Rt];return bn[Ln]=jn,jn.key=jn.key||Ln,jn});return un.forEach(function(Ht){var jn=Ht[Ft],Ln=bn[jn];Ln&&(Ln.children=Ln.children||[],Ln.children.push(Ht)),(jn===nn||!Ln&&nn===null)&&sn.push(Ht)}),sn}function y(Tt,ht,Rt){return m.useMemo(function(){return Tt?Rt?R(Tt,Object(i.a)({id:"id",pId:"pId",rootPId:null},Rt!==!0?Rt:{})):Tt:Z(ht)},[ht,Rt,Tt])}var C=function(Tt){var ht=m.useRef({valueLabels:new Map});return m.useMemo(function(){var Rt=ht.current.valueLabels,Ft=new Map,nn=Tt.map(function(bn){var sn,un=bn.value,Ht=(sn=bn.label)!==null&&sn!==void 0?sn:Rt.get(un);return Ft.set(un,Ht),Object(i.a)(Object(i.a)({},bn),{},{label:Ht})});return ht.current.valueLabels=Ft,[nn]},[Tt])};function z(Tt){var ht=m.useRef();ht.current=Tt;var Rt=m.useCallback(function(){return ht.current.apply(ht,arguments)},[]);return Rt}var G=e("815F"),X=function(Tt,ht){return m.useMemo(function(){var Rt=Object(G.a)(Tt,{fieldNames:ht,initWrapper:function(nn){return Object(i.a)(Object(i.a)({},nn),{},{valueEntities:new Map})},processEntity:function(nn,bn){var sn=nn.node[ht.value];if(!1)var un;bn.valueEntities.set(sn,nn)}});return Rt},[Tt,ht])},pe=function(Tt,ht,Rt,Ft){return m.useMemo(function(){var nn=Tt.map(function(Ht){var jn=Ht.value;return jn}),bn=ht.map(function(Ht){var jn=Ht.value;return jn}),sn=nn.filter(function(Ht){return!Ft[Ht]});if(Rt){var un=Object(t.a)(nn,!0,Ft);nn=un.checkedKeys,bn=un.halfCheckedKeys}return[Array.from(new Set([].concat(Object(o.a)(sn),Object(o.a)(nn)))),bn]},[Tt,ht,Rt,Ft])},ae=function(Tt,ht,Rt){var Ft=Rt.treeNodeFilterProp,nn=Rt.filterTreeNode,bn=Rt.fieldNames,sn=bn.children;return m.useMemo(function(){if(!ht||nn===!1)return Tt;var un;if(typeof nn=="function")un=nn;else{var Ht=ht.toUpperCase();un=function(Un,lt){var Nt=lt[Ft];return String(Nt).toUpperCase().includes(Ht)}}function jn(Ln){var Un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ln.map(function(lt){var Nt=lt[sn],zt=Un||un(ht,ee(lt)),en=jn(Nt||[],zt);return zt||en.length?Object(i.a)(Object(i.a)({},lt),{},Object(c.a)({isLeaf:void 0},sn,en)):null}).filter(function(lt){return lt})}return jn(Tt)},[Tt,ht,sn,Ft,nn])};function Se(Tt){var ht=Tt.searchPlaceholder,Rt=Tt.treeCheckStrictly,Ft=Tt.treeCheckable,nn=Tt.labelInValue,bn=Tt.value,sn=Tt.multiple;Object(se.a)(!ht,"`searchPlaceholder` has been removed."),Rt&&nn===!1&&Object(se.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(nn||Rt)&&Object(se.a)(A(bn).every(function(un){return un&&Object(v.a)(un)==="object"&&"value"in un}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Rt||sn||Ft?Object(se.a)(!bn||Array.isArray(bn),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(se.a)(!Array.isArray(bn),"`value` should not be array when `TreeSelect` is single mode.")}var Te=Se,je=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function ft(Tt){return!Tt||Object(v.a)(Tt)!=="object"}var fe=m.forwardRef(function(Tt,ht){var Rt=Tt.id,Ft=Tt.prefixCls,nn=Ft===void 0?"rc-tree-select":Ft,bn=Tt.value,sn=Tt.defaultValue,un=Tt.onChange,Ht=Tt.onSelect,jn=Tt.onDeselect,Ln=Tt.searchValue,Un=Tt.inputValue,lt=Tt.onSearch,Nt=Tt.autoClearSearchValue,zt=Nt===void 0?!0:Nt,en=Tt.filterTreeNode,tn=Tt.treeNodeFilterProp,wn=tn===void 0?"value":tn,on=Tt.showCheckedStrategy,vn=on===void 0?he:on,dt=Tt.treeNodeLabelProp,ct=Tt.multiple,Kt=Tt.treeCheckable,pn=Tt.treeCheckStrictly,kn=Tt.labelInValue,Pt=Tt.fieldNames,gn=Tt.treeDataSimpleMode,_n=Tt.treeData,Kn=Tt.children,qn=Tt.loadData,rr=Tt.treeLoadedKeys,Rn=Tt.onTreeLoad,mr=Tt.treeDefaultExpandAll,ar=Tt.treeExpandedKeys,sr=Tt.treeDefaultExpandedKeys,yr=Tt.onTreeExpand,br=Tt.treeExpandAction,_r=Tt.virtual,li=Tt.listHeight,xi=li===void 0?200:li,Mi=Tt.listItemHeight,Fr=Mi===void 0?20:Mi,ur=Tt.onDropdownVisibleChange,Ti=Tt.dropdownMatchSelectWidth,Xi=Ti===void 0?!0:Ti,ca=Tt.treeLine,Zi=Tt.treeIcon,xa=Tt.showTreeIcon,va=Tt.switcherIcon,Ma=Tt.treeMotion,_a=Object(n.a)(Tt,je),na=Object(l.a)(Rt),sa=Kt&&!pn,Ai=Kt||pn,ba=pn||kn,ea=Ai||ct,mn=Object(p.a)(sn,{value:bn}),It=Object(a.a)(mn,2),Ue=It[0],Ze=It[1],Pe=m.useMemo(function(){return g(Pt)},[JSON.stringify(Pt)]),mt=Object(p.a)("",{value:Ln!==void 0?Ln:Un,postState:function(fa){return fa||""}}),xt=Object(a.a)(mt,2),cn=xt[0],Ut=xt[1],wt=function(fa){Ut(fa),lt==null||lt(fa)},Pn=y(_n,Kn,gn),an=X(Pn,Pe),Dn=an.keyEntities,Tn=an.valueEntities,Zn=m.useCallback(function(ga){var fa=[],Ja=[];return ga.forEach(function(In){Tn.has(In)?Ja.push(In):fa.push(In)}),{missingRawValues:fa,existRawValues:Ja}},[Tn]),Mr=ae(Pn,cn,{fieldNames:Pe,treeNodeFilterProp:wn,filterTreeNode:en}),xr=m.useCallback(function(ga){if(ga){if(dt)return ga[dt];for(var fa=Pe._title,Ja=0;Ja<fa.length;Ja+=1){var In=ga[fa[Ja]];if(In!==void 0)return In}}},[Pe,dt]),Vr=m.useCallback(function(ga){var fa=A(ga);return fa.map(function(Ja){return ft(Ja)?{value:Ja}:Ja})},[]),Dr=m.useCallback(function(ga){var fa=Vr(ga);return fa.map(function(Ja){var In=Ja.label,ve=Ja.value,x=Ja.halfChecked,le,me=Tn.get(ve);if(me){var Ae;In=(Ae=In)!==null&&Ae!==void 0?Ae:xr(me.node),le=me.node.disabled}else if(In===void 0){var tt=Vr(Ue).find(function(pt){return pt.value===ve});In=tt.label}return{label:In,value:ve,halfChecked:x,disabled:le}})},[Tn,xr,Vr,Ue]),dr=m.useMemo(function(){return Vr(Ue)},[Vr,Ue]),gt=m.useMemo(function(){var ga=[],fa=[];return dr.forEach(function(Ja){Ja.halfChecked?fa.push(Ja):ga.push(Ja)}),[ga,fa]},[dr]),Rr=Object(a.a)(gt,2),ci=Rr[0],ai=Rr[1],bi=m.useMemo(function(){return ci.map(function(ga){return ga.value})},[ci]),zr=pe(ci,ai,sa,Dn),Hi=Object(a.a)(zr,2),hi=Hi[0],Ci=Hi[1],Ii=m.useMemo(function(){var ga=ue(hi,vn,Dn,Pe),fa=ga.map(function(x){var le,me,Ae;return(le=(me=Dn[x])===null||me===void 0||(Ae=me.node)===null||Ae===void 0?void 0:Ae[Pe.value])!==null&&le!==void 0?le:x}),Ja=fa.map(function(x){var le=ci.find(function(me){return me.value===x});return{value:x,label:le==null?void 0:le.label}}),In=Dr(Ja),ve=In[0];return!ea&&ve&&O(ve.value)&&O(ve.label)?[]:In.map(function(x){var le;return Object(i.a)(Object(i.a)({},x),{},{label:(le=x.label)!==null&&le!==void 0?le:x.value})})},[Pe,ea,hi,ci,Dr,vn,Dn]),Mn=C(Ii),nr=Object(a.a)(Mn,1),cr=nr[0],Lr=z(function(ga,fa,Ja){var In=Dr(ga);if(Ze(In),zt&&Ut(""),un){var ve=ga;if(sa){var x=ue(ga,vn,Dn,Pe);ve=x.map(function(J){var Ke=Tn.get(J);return Ke?Ke.node[Pe.value]:J})}var le=fa||{triggerValue:void 0,selected:void 0},me=le.triggerValue,Ae=le.selected,tt=ve;if(pn){var pt=ai.filter(function(J){return!ve.includes(J.value)});tt=[].concat(Object(o.a)(tt),Object(o.a)(pt))}var ke=Dr(tt),we={preValue:ci,triggerValue:me},Be=!0;(pn||Ja==="selection"&&!Ae)&&(Be=!1),ce(we,me,ga,Pn,Be,Pe),Ai?we.checked=Ae:we.selected=Ae;var Le=ba?ke:ke.map(function(J){return J.value});un(ea?Le:Le[0],ba?null:ke.map(function(J){return J.label}),we)}}),ei=m.useCallback(function(ga,fa){var Ja,In=fa.selected,ve=fa.source,x=Dn[ga],le=x==null?void 0:x.node,me=(Ja=le==null?void 0:le[Pe.value])!==null&&Ja!==void 0?Ja:ga;if(!ea)Lr([me],{selected:!0,triggerValue:me},"option");else{var Ae=In?[].concat(Object(o.a)(bi),[me]):hi.filter(function(Ke){return Ke!==me});if(sa){var tt=Zn(Ae),pt=tt.missingRawValues,ke=tt.existRawValues,we=ke.map(function(Ke){return Tn.get(Ke).key}),Be;if(In){var Le=Object(t.a)(we,!0,Dn);Be=Le.checkedKeys}else{var J=Object(t.a)(we,{checked:!1,halfCheckedKeys:Ci},Dn);Be=J.checkedKeys}Ae=[].concat(Object(o.a)(pt),Object(o.a)(Be.map(function(Ke){return Dn[Ke].node[Pe.value]})))}Lr(Ae,{selected:In,triggerValue:me},ve||"option")}In||!ea?Ht==null||Ht(me,ee(le)):jn==null||jn(me,ee(le))},[Zn,Tn,Dn,Pe,ea,bi,Lr,sa,Ht,jn,hi,Ci]),ki=m.useCallback(function(ga){if(ur){var fa={};Object.defineProperty(fa,"documentClickClose",{get:function(){return Object(se.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),ur(ga,fa)}},[ur]),ua=z(function(ga,fa){var Ja=ga.map(function(In){return In.value});if(fa.type==="clear"){Lr(Ja,{},"selection");return}fa.values.length&&ei(fa.values[0].value,{selected:!1,source:"selection"})}),Qi=m.useMemo(function(){return{virtual:_r,dropdownMatchSelectWidth:Xi,listHeight:xi,listItemHeight:Fr,treeData:Mr,fieldNames:Pe,onSelect:ei,treeExpandAction:br}},[_r,Xi,xi,Fr,Mr,Pe,ei,br]),Br=m.useMemo(function(){return{checkable:Ai,loadData:qn,treeLoadedKeys:rr,onTreeLoad:Rn,checkedKeys:hi,halfCheckedKeys:Ci,treeDefaultExpandAll:mr,treeExpandedKeys:ar,treeDefaultExpandedKeys:sr,onTreeExpand:yr,treeIcon:Zi,treeMotion:Ma,showTreeIcon:xa,switcherIcon:va,treeLine:ca,treeNodeFilterProp:wn,keyEntities:Dn}},[Ai,qn,rr,Rn,hi,Ci,mr,ar,sr,yr,Zi,Ma,xa,va,ca,wn,Dn]);return m.createElement($.Provider,{value:Qi},m.createElement(I.Provider,{value:Br},m.createElement(h.a,Object(u.a)({ref:ht},_a,{id:na,prefixCls:nn,mode:ea?"multiple":void 0,displayValues:cr,onDisplayValuesChange:ua,searchValue:cn,onSearch:wt,OptionList:te,emptyOptions:!Pn.length,onDropdownVisibleChange:ki,dropdownMatchSelectWidth:Xi}))))}),ie=fe;ie.TreeNode=ye,ie.SHOW_ALL=q,ie.SHOW_PARENT=oe,ie.SHOW_CHILD=he;var ge=ie,Ve=ge,Ee=e("bT9E"),Me=e("H84U"),_e=e("XI05"),Re=e("caoh"),et=e("3Nzz"),Xe=e("ihLV"),it=e("1vzs"),bt=e("2jpz"),Ct=e("EXcs"),Bt=e("ATYA"),qe=e("+f9I"),st=function(Tt,ht){var Rt={};for(var Ft in Tt)Object.prototype.hasOwnProperty.call(Tt,Ft)&&ht.indexOf(Ft)<0&&(Rt[Ft]=Tt[Ft]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,Ft=Object.getOwnPropertySymbols(Tt);nn<Ft.length;nn++)ht.indexOf(Ft[nn])<0&&Object.prototype.propertyIsEnumerable.call(Tt,Ft[nn])&&(Rt[Ft[nn]]=Tt[Ft[nn]]);return Rt},ut=function(ht,Rt){var Ft,nn=ht.prefixCls,bn=ht.size,sn=ht.disabled,un=ht.bordered,Ht=un===void 0?!0:un,jn=ht.className,Ln=ht.treeCheckable,Un=ht.multiple,lt=ht.listHeight,Nt=lt===void 0?256:lt,zt=ht.listItemHeight,en=zt===void 0?26:zt,tn=ht.placement,wn=ht.notFoundContent,on=ht.switcherIcon,vn=ht.treeLine,dt=ht.getPopupContainer,ct=ht.dropdownClassName,Kt=ht.popupClassName,pn=ht.treeIcon,kn=pn===void 0?!1:pn,Pt=ht.transitionName,gn=ht.choiceTransitionName,_n=gn===void 0?"":gn,Kn=ht.status,qn=ht.showArrow,rr=ht.treeExpandAction,Rn=st(ht,["prefixCls","size","disabled","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","popupClassName","treeIcon","transitionName","choiceTransitionName","status","showArrow","treeExpandAction"]),mr=m.useContext(Me.b),ar=mr.getPopupContainer,sr=mr.getPrefixCls,yr=mr.renderEmpty,br=mr.direction,_r=mr.virtual,li=mr.dropdownMatchSelectWidth,xi=m.useContext(et.b),Mi=sr("select",nn),Fr=sr("select-tree",nn),ur=sr("tree-select",nn),Ti=Object(qe.c)(Mi,br),Xi=Ti.compactSize,ca=Ti.compactItemClassnames,Zi=f()(Kt||ct,"".concat(ur,"-dropdown"),Object(c.a)({},"".concat(ur,"-dropdown-rtl"),br==="rtl")),xa=!!(Ln||Un),va=qn!==void 0?qn:Rn.loading||!xa,Ma=Object(m.useContext)(Xe.b),_a=Ma.status,na=Ma.hasFeedback,sa=Ma.isFormItemInput,Ai=Ma.feedbackIcon,ba=Object(Bt.a)(_a,Kn),ea=Object(it.a)(Object(u.a)(Object(u.a)({},Rn),{multiple:xa,showArrow:va,hasFeedback:na,feedbackIcon:Ai,prefixCls:Mi})),mn=ea.suffixIcon,It=ea.removeIcon,Ue=ea.clearIcon,Ze;wn!==void 0?Ze=wn:Ze=(yr||_e.a)("Select");var Pe=Object(Ee.a)(Rn,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),mt=function(){return tn!==void 0?tn:br==="rtl"?"bottomRight":"bottomLeft"},xt=Xi||bn||xi,cn=m.useContext(Re.b),Ut=sn!=null?sn:cn,wt=f()(!nn&&ur,(Ft={},Object(c.a)(Ft,"".concat(Mi,"-lg"),xt==="large"),Object(c.a)(Ft,"".concat(Mi,"-sm"),xt==="small"),Object(c.a)(Ft,"".concat(Mi,"-rtl"),br==="rtl"),Object(c.a)(Ft,"".concat(Mi,"-borderless"),!Ht),Object(c.a)(Ft,"".concat(Mi,"-in-form-item"),sa),Ft),Object(Bt.b)(Mi,ba,na),ca,jn),Pn=sr();return m.createElement(Ve,Object(u.a)({virtual:_r,dropdownMatchSelectWidth:li,disabled:Ut},Pe,{ref:Rt,prefixCls:Mi,className:wt,listHeight:Nt,listItemHeight:en,treeCheckable:Ln&&m.createElement("span",{className:"".concat(Mi,"-tree-checkbox-inner")}),treeLine:!!vn,inputIcon:mn,multiple:Un,placement:mt(),removeIcon:It,clearIcon:Ue,switcherIcon:function(Dn){return Object(bt.a)(Fr,on,vn,Dn)},showTreeIcon:kn,notFoundContent:Ze,getPopupContainer:dt||ar,treeMotion:null,dropdownClassName:Zi,choiceTransitionName:Object(Ct.c)(Pn,"",_n),transitionName:Object(Ct.c)(Pn,Object(Ct.b)(tn),Pt),showArrow:na||qn,treeExpandAction:rr}))},nt=m.forwardRef(ut),kt=nt;kt.TreeNode=ye,kt.SHOW_ALL=q,kt.SHOW_PARENT=oe,kt.SHOW_CHILD=he;var Sn=M.a=kt},"5Tg0":function(Ie,M,e){(function(u){var c=e("Kz5y"),r=M&&!M.nodeType&&M,f=r&&typeof u=="object"&&u&&!u.nodeType&&u,o=f&&f.exports===r,i=o?c.Buffer:void 0,a=i?i.allocUnsafe:void 0;function n(v,m){if(m)return v.slice();var h=v.length,t=a?a(h):new v.constructor(h);return v.copy(t),t}u.exports=n}).call(this,e("hOG+")(Ie))},"5TxY":function(Ie,M,e){"use strict";e.d(M,"d",function(){return T}),e.d(M,"a",function(){return I}),e.d(M,"b",function(){return Y}),e.d(M,"c",function(){return $});var u=e("tJVT"),c=e("w4Tj"),r=e("oZsa"),f=e("yKVA"),o=e("879j"),i=e("fWQN"),a=e("mtLc"),n=e("D3Dy"),v=e("EffR"),m=e("X+cX"),h=e("MI8n"),t=e("pmY6"),l=e("MNsG"),p=e("N0LK"),w=e("Comh"),S=e("cGHE"),k=e("gCVg"),T;(function(b){b.Tap="-monaco-textarea-synthetic-tap"})(T||(T={}));var I={forceCopyWithSyntaxHighlighting:!1},Y=function(){function b(){Object(i.a)(this,b),this._lastState=null}return Object(a.a)(b,[{key:"set",value:function(O,E){this._lastState={lastCopiedValue:O,data:E}}},{key:"get",value:function(O){return this._lastState&&this._lastState.lastCopiedValue===O?this._lastState.data:(this._lastState=null,null)}}]),b}();Y.INSTANCE=new Y;var $=function(b){Object(f.a)(O,b);var d=Object(o.a)(O);function O(E,D){var W;Object(i.a)(this,O),W=d.call(this),W.textArea=D,W._onFocus=W._register(new h.a),W.onFocus=W._onFocus.event,W._onBlur=W._register(new h.a),W.onBlur=W._onBlur.event,W._onKeyDown=W._register(new h.a),W.onKeyDown=W._onKeyDown.event,W._onKeyUp=W._register(new h.a),W.onKeyUp=W._onKeyUp.event,W._onCut=W._register(new h.a),W.onCut=W._onCut.event,W._onPaste=W._register(new h.a),W.onPaste=W._onPaste.event,W._onType=W._register(new h.a),W.onType=W._onType.event,W._onCompositionStart=W._register(new h.a),W.onCompositionStart=W._onCompositionStart.event,W._onCompositionUpdate=W._register(new h.a),W.onCompositionUpdate=W._onCompositionUpdate.event,W._onCompositionEnd=W._register(new h.a),W.onCompositionEnd=W._onCompositionEnd.event,W._onSelectionChangeRequest=W._register(new h.a),W.onSelectionChangeRequest=W._onSelectionChangeRequest.event,W._host=E,W._textArea=W._register(new g(D)),W._asyncTriggerCut=W._register(new m.e(function(){return W._onCut.fire()},0)),W._asyncFocusGainWriteScreenReaderContent=W._register(new m.e(function(){return W.writeScreenReaderContent("asyncFocusGain")},0)),W._textAreaState=w.b.EMPTY,W._selectionChangeListener=null,W.writeScreenReaderContent("ctor"),W._hasFocus=!1,W._isDoingComposition=!1,W._nextCommand=0;var te=null;W._register(v.addStandardDisposableListener(D.domNode,"keydown",function(oe){(oe.keyCode===109||W._isDoingComposition&&oe.keyCode===1)&&oe.stopPropagation(),oe.equals(9)&&oe.preventDefault(),te=oe,W._onKeyDown.fire(oe)})),W._register(v.addStandardDisposableListener(D.domNode,"keyup",function(oe){W._onKeyUp.fire(oe)})),W._register(v.addDisposableListener(D.domNode,"compositionstart",function(oe){if(w.c&&console.log("[compositionstart]",oe),!W._isDoingComposition){if(W._isDoingComposition=!0,l.f&&W._textAreaState.selectionStart===W._textAreaState.selectionEnd&&W._textAreaState.selectionStart>0&&W._textAreaState.value.substr(W._textAreaState.selectionStart-1,1)===oe.data){var he=te&&te.equals(109)&&(te.code==="ArrowRight"||te.code==="ArrowLeft");if(he||n.g){w.c&&console.log("[compositionstart] Handling long press case on macOS + arrow key or Firefox",oe),W._textAreaState=new w.b(W._textAreaState.value,W._textAreaState.selectionStart-1,W._textAreaState.selectionEnd,W._textAreaState.selectionStartPosition?new S.a(W._textAreaState.selectionStartPosition.lineNumber,W._textAreaState.selectionStartPosition.column-1):null,W._textAreaState.selectionEndPosition),W._onCompositionStart.fire({revealDeltaColumns:-1});return}}if(n.e){W._onCompositionStart.fire({revealDeltaColumns:-W._textAreaState.selectionStart});return}W._setAndWriteTextAreaState("compositionstart",w.b.EMPTY),W._onCompositionStart.fire({revealDeltaColumns:0})}}));var re=function(he){var ue=W._textAreaState,ne=w.b.readFromTextArea(W._textArea);return[ne,w.b.deduceInput(ue,ne,he)]},ye=function(){var he=W._textAreaState,ue=w.b.readFromTextArea(W._textArea);return[ue,w.b.deduceAndroidCompositionInput(he,ue)]},q=function(he){var ue=W._textAreaState,ne=w.b.selectedText(he),se={text:ne.value,replacePrevCharCnt:ue.selectionEnd-ue.selectionStart,replaceNextCharCnt:0,positionDelta:0};return[ne,se]};return W._register(v.addDisposableListener(D.domNode,"compositionupdate",function(oe){if(w.c&&console.log("[compositionupdate]",oe),n.e){var he=ye(),ue=Object(u.a)(he,2),ne=ue[0],se=ue[1];W._textAreaState=ne,W._onType.fire(se),W._onCompositionUpdate.fire(oe);return}var be=q(oe.data||""),Z=Object(u.a)(be,2),ee=Z[0],ce=Z[1];W._textAreaState=ee,W._onType.fire(ce),W._onCompositionUpdate.fire(oe)})),W._register(v.addDisposableListener(D.domNode,"compositionend",function(oe){if(w.c&&console.log("[compositionend]",oe),!!W._isDoingComposition){if(W._isDoingComposition=!1,n.e){var he=ye(),ue=Object(u.a)(he,2),ne=ue[0],se=ue[1];W._textAreaState=ne,W._onType.fire(se),W._onCompositionEnd.fire();return}var be=q(oe.data||""),Z=Object(u.a)(be,2),ee=Z[0],ce=Z[1];W._textAreaState=ee,W._onType.fire(ce),(n.f||n.g)&&(W._textAreaState=w.b.readFromTextArea(W._textArea)),W._onCompositionEnd.fire()}})),W._register(v.addDisposableListener(D.domNode,"input",function(){if(W._textArea.setIgnoreSelectionChangeTime("received input event"),!W._isDoingComposition){var oe=re(l.f),he=Object(u.a)(oe,2),ue=he[0],ne=he[1];ne.replacePrevCharCnt===0&&ne.text.length===1&&p.E(ne.text.charCodeAt(0))||(W._textAreaState=ue,W._nextCommand===0?(ne.text!==""||ne.replacePrevCharCnt!==0)&&W._onType.fire(ne):((ne.text!==""||ne.replacePrevCharCnt!==0)&&W._firePaste(ne.text,null),W._nextCommand=0))}})),W._register(v.addDisposableListener(D.domNode,"cut",function(oe){W._textArea.setIgnoreSelectionChangeTime("received cut event"),W._ensureClipboardGetsEditorSelection(oe),W._asyncTriggerCut.schedule()})),W._register(v.addDisposableListener(D.domNode,"copy",function(oe){W._ensureClipboardGetsEditorSelection(oe)})),W._register(v.addDisposableListener(D.domNode,"paste",function(oe){if(W._textArea.setIgnoreSelectionChangeTime("received paste event"),A.canUseTextData(oe)){var he=A.getTextData(oe),ue=Object(u.a)(he,2),ne=ue[0],se=ue[1];ne!==""&&W._firePaste(ne,se)}else W._textArea.getSelectionStart()!==W._textArea.getSelectionEnd()&&W._setAndWriteTextAreaState("paste",w.b.EMPTY),W._nextCommand=1})),W._register(v.addDisposableListener(D.domNode,"focus",function(){var oe=W._hasFocus;W._setHasFocus(!0),n.i&&!oe&&W._hasFocus&&W._asyncFocusGainWriteScreenReaderContent.schedule()})),W._register(v.addDisposableListener(D.domNode,"blur",function(){W._isDoingComposition&&(W._isDoingComposition=!1,W.writeScreenReaderContent("blurWithoutCompositionEnd"),W._onCompositionEnd.fire()),W._setHasFocus(!1)})),W._register(v.addDisposableListener(D.domNode,T.Tap,function(){n.e&&W._isDoingComposition&&(W._isDoingComposition=!1,W.writeScreenReaderContent("tapWithoutCompositionEnd"),W._onCompositionEnd.fire())})),W}return Object(a.a)(O,[{key:"_installSelectionChangeListener",value:function(){var D=this,W=0;return v.addDisposableListener(document,"selectionchange",function(te){if(!!D._hasFocus&&!D._isDoingComposition&&!!n.f){var re=Date.now(),ye=re-W;if(W=re,!(ye<5)){var q=re-D._textArea.getIgnoreSelectionChangeTime();if(D._textArea.resetSelectionChangeTime(),!(q<100)&&!(!D._textAreaState.selectionStartPosition||!D._textAreaState.selectionEndPosition)){var oe=D._textArea.getValue();if(D._textAreaState.value===oe){var he=D._textArea.getSelectionStart(),ue=D._textArea.getSelectionEnd();if(!(D._textAreaState.selectionStart===he&&D._textAreaState.selectionEnd===ue)){var ne=D._textAreaState.deduceEditorPosition(he),se=D._host.deduceModelPosition(ne[0],ne[1],ne[2]),be=D._textAreaState.deduceEditorPosition(ue),Z=D._host.deduceModelPosition(be[0],be[1],be[2]),ee=new k.a(se.lineNumber,se.column,Z.lineNumber,Z.column);D._onSelectionChangeRequest.fire(ee)}}}}}})}},{key:"dispose",value:function(){Object(c.a)(Object(r.a)(O.prototype),"dispose",this).call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}},{key:"focusTextArea",value:function(){this._setHasFocus(!0),this.refreshFocusState()}},{key:"isFocused",value:function(){return this._hasFocus}},{key:"refreshFocusState",value:function(){var D=v.getShadowRoot(this.textArea.domNode);D?this._setHasFocus(D.activeElement===this.textArea.domNode):v.isInDOM(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)}},{key:"_setHasFocus",value:function(D){this._hasFocus!==D&&(this._hasFocus=D,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeScreenReaderContent("focusgain"),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}},{key:"_setAndWriteTextAreaState",value:function(D,W){this._hasFocus||(W=W.collapseSelection()),W.writeToTextArea(D,this._textArea,this._hasFocus),this._textAreaState=W}},{key:"writeScreenReaderContent",value:function(D){this._isDoingComposition||this._setAndWriteTextAreaState(D,this._host.getScreenReaderContent(this._textAreaState))}},{key:"_ensureClipboardGetsEditorSelection",value:function(D){var W=this._host.getDataToCopy(A.canUseTextData(D)),te={version:1,isFromEmptySelection:W.isFromEmptySelection,multicursorText:W.multicursorText,mode:W.mode};if(Y.INSTANCE.set(n.g?W.text.replace(/\r\n/g,`
- `):W.text,te),!A.canUseTextData(D)){this._setAndWriteTextAreaState("copy or cut",w.b.selectedText(W.text));return}A.setTextData(D,W.text,W.html,te)}},{key:"_firePaste",value:function(D,W){W||(W=Y.INSTANCE.get(D)),this._onPaste.fire({text:D,metadata:W})}}]),O}(t.a),A=function(){function b(){Object(i.a)(this,b)}return Object(a.a)(b,null,[{key:"canUseTextData",value:function(O){return!!(O.clipboardData||window.clipboardData)}},{key:"getTextData",value:function(O){if(O.clipboardData){O.preventDefault();var E=O.clipboardData.getData("text/plain"),D=null,W=O.clipboardData.getData("vscode-editor-data");if(typeof W=="string")try{D=JSON.parse(W),D.version!==1&&(D=null)}catch(re){}return[E,D]}if(window.clipboardData){O.preventDefault();var te=window.clipboardData.getData("Text");return[te,null]}throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")}},{key:"setTextData",value:function(O,E,D,W){if(O.clipboardData){O.clipboardData.setData("text/plain",E),typeof D=="string"&&O.clipboardData.setData("text/html",D),O.clipboardData.setData("vscode-editor-data",JSON.stringify(W)),O.preventDefault();return}if(window.clipboardData){window.clipboardData.setData("Text",E),O.preventDefault();return}throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")}}]),b}(),g=function(b){Object(f.a)(O,b);var d=Object(o.a)(O);function O(E){var D;return Object(i.a)(this,O),D=d.call(this),D._actual=E,D._ignoreSelectionChangeTime=0,D}return Object(a.a)(O,[{key:"setIgnoreSelectionChangeTime",value:function(D){this._ignoreSelectionChangeTime=Date.now()}},{key:"getIgnoreSelectionChangeTime",value:function(){return this._ignoreSelectionChangeTime}},{key:"resetSelectionChangeTime",value:function(){this._ignoreSelectionChangeTime=0}},{key:"getValue",value:function(){return this._actual.domNode.value}},{key:"setValue",value:function(D,W){var te=this._actual.domNode;te.value!==W&&(this.setIgnoreSelectionChangeTime("setValue"),te.value=W)}},{key:"getSelectionStart",value:function(){return this._actual.domNode.selectionDirection==="backward"?this._actual.domNode.selectionEnd:this._actual.domNode.selectionStart}},{key:"getSelectionEnd",value:function(){return this._actual.domNode.selectionDirection==="backward"?this._actual.domNode.selectionStart:this._actual.domNode.selectionEnd}},{key:"setSelectionRange",value:function(D,W,te){var re=this._actual.domNode,ye=null,q=v.getShadowRoot(re);q?ye=q.activeElement:ye=document.activeElement;var oe=ye===re,he=re.selectionStart,ue=re.selectionEnd;if(oe&&he===W&&ue===te){n.g&&window.parent!==window&&re.focus();return}if(oe){this.setIgnoreSelectionChangeTime("setSelectionRange"),re.setSelectionRange(W,te),n.g&&window.parent!==window&&re.focus();return}try{var ne=v.saveParentsScrollTop(re);this.setIgnoreSelectionChangeTime("setSelectionRange"),re.focus(),re.setSelectionRange(W,te),v.restoreParentsScrollTop(re,ne)}catch(se){}}}]),O}(t.a)},"5Y4S":function(Ie,M,e){"use strict";e.d(M,"a",function(){return o});var u=e("fWQN"),c=e("mtLc"),r=e("MNsG"),f=r.b.performance&&typeof r.b.performance.now=="function",o=function(){function i(a){Object(u.a)(this,i),this._highResolution=f&&a,this._startTime=this._now(),this._stopTime=-1}return Object(c.a)(i,[{key:"stop",value:function(){this._stopTime=this._now()}},{key:"elapsed",value:function(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}},{key:"_now",value:function(){return this._highResolution?r.b.performance.now():Date.now()}}],[{key:"create",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return new i(n)}}]),i}()},"5jIi":function(Ie,M,e){"use strict";var u=e("b5wT");Ie.exports=c;function c(r){var f={},o=u.filter(r.nodes(),function(m){return!r.children(m).length}),i=u.max(u.map(o,function(m){return r.node(m).rank})),a=u.map(u.range(i+1),function(){return[]});function n(m){if(!u.has(f,m)){f[m]=!0;var h=r.node(m);a[h.rank].push(m),u.forEach(r.successors(m),n)}}var v=u.sortBy(o,function(m){return r.node(m).rank});return u.forEach(v,n),a}},"5nk5":function(Ie,M,e){"use strict";e.d(M,"a",function(){return a}),e.d(M,"b",function(){return n});var u=e("tJVT"),c=e("fWQN"),r=e("mtLc"),f=e("HpOR"),o=e("erNZ");function i(m){return m.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}var a=function(){function m(h,t,l,p){Object(c.a)(this,m),this.oldPosition=h,this.oldText=t,this.newPosition=l,this.newText=p}return Object(r.a)(m,[{key:"oldLength",get:function(){return this.oldText.length}},{key:"oldEnd",get:function(){return this.oldPosition+this.oldText.length}},{key:"newLength",get:function(){return this.newText.length}},{key:"newEnd",get:function(){return this.newPosition+this.newText.length}},{key:"toString",value:function(){return this.oldText.length===0?"(insert@".concat(this.oldPosition,' "').concat(i(this.newText),'")'):this.newText.length===0?"(delete@".concat(this.oldPosition,' "').concat(i(this.oldText),'")'):"(replace@".concat(this.oldPosition,' "').concat(i(this.oldText),'" with "').concat(i(this.newText),'")')}},{key:"writeSize",value:function(){return 4+4+m._writeStringSize(this.oldText)+m._writeStringSize(this.newText)}},{key:"write",value:function(t,l){return f.f(t,this.oldPosition,l),l+=4,f.f(t,this.newPosition,l),l+=4,l=m._writeString(t,this.oldText,l),l=m._writeString(t,this.newText,l),l}}],[{key:"_writeStringSize",value:function(t){return 4+2*t.length}},{key:"_writeString",value:function(t,l,p){var w=l.length;f.f(t,w,p),p+=4;for(var S=0;S<w;S++)f.e(t,l.charCodeAt(S),p),p+=2;return p}},{key:"_readString",value:function(t,l){var p=f.c(t,l);return l+=4,Object(o.b)(t,l,p)}},{key:"read",value:function(t,l,p){var w=f.c(t,l);l+=4;var S=f.c(t,l);l+=4;var k=m._readString(t,l);l+=m._writeStringSize(k);var T=m._readString(t,l);return l+=m._writeStringSize(T),p.push(new m(w,k,S,T)),l}}]),m}();function n(m,h){if(m===null||m.length===0)return h;var t=new v(m,h);return t.compress()}var v=function(){function m(h,t){Object(c.a)(this,m),this._prevEdits=h,this._currEdits=t,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}return Object(r.a)(m,[{key:"compress",value:function(){for(var t=0,l=0,p=this._getPrev(t),w=this._getCurr(l);t<this._prevLen||l<this._currLen;){if(p===null){this._acceptCurr(w),w=this._getCurr(++l);continue}if(w===null){this._acceptPrev(p),p=this._getPrev(++t);continue}if(w.oldEnd<=p.newPosition){this._acceptCurr(w),w=this._getCurr(++l);continue}if(p.newEnd<=w.oldPosition){this._acceptPrev(p),p=this._getPrev(++t);continue}if(w.oldPosition<p.newPosition){var S=m._splitCurr(w,p.newPosition-w.oldPosition),k=Object(u.a)(S,2),T=k[0],I=k[1];this._acceptCurr(T),w=I;continue}if(p.newPosition<w.oldPosition){var Y=m._splitPrev(p,w.oldPosition-p.newPosition),$=Object(u.a)(Y,2),A=$[0],g=$[1];this._acceptPrev(A),p=g;continue}var b=void 0,d=void 0;if(w.oldEnd===p.newEnd)b=p,d=w,p=this._getPrev(++t),w=this._getCurr(++l);else if(w.oldEnd<p.newEnd){var O=m._splitPrev(p,w.oldLength),E=Object(u.a)(O,2),D=E[0],W=E[1];b=D,d=w,p=W,w=this._getCurr(++l)}else{var te=m._splitCurr(w,p.newLength),re=Object(u.a)(te,2),ye=re[0],q=re[1];b=p,d=ye,p=this._getPrev(++t),w=q}this._result[this._resultLen++]=new a(b.oldPosition,b.oldText,d.newPosition,d.newText),this._prevDeltaOffset+=b.newLength-b.oldLength,this._currDeltaOffset+=d.newLength-d.oldLength}var oe=m._merge(this._result),he=m._removeNoOps(oe);return he}},{key:"_acceptCurr",value:function(t){this._result[this._resultLen++]=m._rebaseCurr(this._prevDeltaOffset,t),this._currDeltaOffset+=t.newLength-t.oldLength}},{key:"_getCurr",value:function(t){return t<this._currLen?this._currEdits[t]:null}},{key:"_acceptPrev",value:function(t){this._result[this._resultLen++]=m._rebasePrev(this._currDeltaOffset,t),this._prevDeltaOffset+=t.newLength-t.oldLength}},{key:"_getPrev",value:function(t){return t<this._prevLen?this._prevEdits[t]:null}}],[{key:"_rebaseCurr",value:function(t,l){return new a(l.oldPosition-t,l.oldText,l.newPosition,l.newText)}},{key:"_rebasePrev",value:function(t,l){return new a(l.oldPosition,l.oldText,l.newPosition+t,l.newText)}},{key:"_splitPrev",value:function(t,l){var p=t.newText.substr(0,l),w=t.newText.substr(l);return[new a(t.oldPosition,t.oldText,t.newPosition,p),new a(t.oldEnd,"",t.newPosition+l,w)]}},{key:"_splitCurr",value:function(t,l){var p=t.oldText.substr(0,l),w=t.oldText.substr(l);return[new a(t.oldPosition,p,t.newPosition,t.newText),new a(t.oldPosition+l,w,t.newEnd,"")]}},{key:"_merge",value:function(t){if(t.length===0)return t;for(var l=[],p=0,w=t[0],S=1;S<t.length;S++){var k=t[S];w.oldEnd===k.oldPosition?w=new a(w.oldPosition,w.oldText+k.oldText,w.newPosition,w.newText+k.newText):(l[p++]=w,w=k)}return l[p++]=w,l}},{key:"_removeNoOps",value:function(t){if(t.length===0)return t;for(var l=[],p=0,w=0;w<t.length;w++){var S=t[w];S.oldText!==S.newText&&(l[p++]=S)}return l}}]),m}()},"5v8Y":function(Ie,M,e){"use strict";e.d(M,"a",function(){return n});var u=e("mtLc"),c=e("fWQN"),r=e("yKVA"),f=e("879j"),o=e("MXAL"),i=function(v){Object(r.a)(h,v);var m=Object(f.a)(h);function h(t){var l;Object(c.a)(this,h),l=m.call(this,0);for(var p=0,w=t.length;p<w;p++)l.set(t.charCodeAt(p),2);return l.set(32,1),l.set(9,1),l}return Object(u.a)(h)}(o.a);function a(v){var m={};return function(h){return m.hasOwnProperty(h)||(m[h]=v(h)),m[h]}}var n=a(function(v){return new i(v)})},"6Ekc":function(Ie,M,e){"use strict";var u=e("b5wT");Ie.exports={longestPath:c,slack:r};function c(f){var o={};function i(a){var n=f.node(a);if(u.has(o,a))return n.rank;o[a]=!0;var v=u.min(u.map(f.outEdges(a),function(m){return i(m.w)-f.edge(m).minlen}));return(v===Number.POSITIVE_INFINITY||v===void 0||v===null)&&(v=0),n.rank=v}u.forEach(f.sources(),i)}function r(f,o){return f.node(o.w).rank-f.node(o.v).rank-f.edge(o).minlen}},"6MrE":function(Ie,M,e){},"6OMU":function(Ie,M,e){"use strict";e.d(M,"r",function(){return r}),e.d(M,"s",function(){return f}),e.d(M,"g",function(){return o}),e.d(M,"c",function(){return i}),e.d(M,"h",function(){return a}),e.d(M,"p",function(){return n}),e.d(M,"k",function(){return v}),e.d(M,"d",function(){return m}),e.d(M,"l",function(){return h}),e.d(M,"m",function(){return t}),e.d(M,"e",function(){return l}),e.d(M,"f",function(){return p}),e.d(M,"i",function(){return w}),e.d(M,"j",function(){return S}),e.d(M,"q",function(){return k}),e.d(M,"a",function(){return T}),e.d(M,"o",function(){return I}),e.d(M,"n",function(){return Y}),e.d(M,"b",function(){return $});var u=e("oBTY"),c=e("rAM+");function r(A){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return A[A.length-(1+g)]}function f(A){if(A.length===0)throw new Error("Invalid tail call");return[A.slice(0,A.length-1),A[A.length-1]]}function o(A,g){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(E,D){return E===D};if(A===g)return!0;if(!A||!g||A.length!==g.length)return!1;for(var d=0,O=A.length;d<O;d++)if(!b(A[d],g[d]))return!1;return!0}function i(A,g,b){for(var d=0,O=A.length-1;d<=O;){var E=(d+O)/2|0,D=b(A[E],g);if(D<0)d=E+1;else if(D>0)O=E-1;else return E}return-(d+1)}function a(A,g){var b=0,d=A.length;if(d===0)return 0;for(;b<d;){var O=Math.floor((b+d)/2);g(A[O])?d=O:b=O+1}return b}function n(A,g,b){if(A=A|0,A>=g.length)throw new TypeError("invalid index");var d=g[Math.floor(g.length*Math.random())],O=[],E=[],D=[],W=Object(c.a)(g),te;try{for(W.s();!(te=W.n()).done;){var re=te.value,ye=b(re,d);ye<0?O.push(re):ye>0?E.push(re):D.push(re)}}catch(q){W.e(q)}finally{W.f()}return A<O.length?n(A,O,b):A<O.length+D.length?D[0]:n(A-(O.length+D.length),E,b)}function v(A,g){var b=[],d=void 0,O=Object(c.a)(A.slice(0).sort(g)),E;try{for(O.s();!(E=O.n()).done;){var D=E.value;!d||g(d[0],D)!==0?(d=[D],b.push(d)):d.push(D)}}catch(W){O.e(W)}finally{O.f()}return b}function m(A){return A.filter(function(g){return!!g})}function h(A){return!Array.isArray(A)||A.length===0}function t(A){return Array.isArray(A)&&A.length>0}function l(A,g){if(!g)return A.filter(function(d,O){return A.indexOf(d)===O});var b=Object.create(null);return A.filter(function(d){var O=g(d);return b[O]?!1:(b[O]=!0,!0)})}function p(A){var g=new Set;return A.filter(function(b){return g.has(b)?!1:(g.add(b),!0)})}function w(A,g){return A.length>0?A[0]:g}function S(A){var g;return(g=[]).concat.apply(g,Object(u.a)(A))}function k(A,g){var b=typeof g=="number"?A:0;typeof g=="number"?b=A:(b=0,g=A);var d=[];if(b<=g)for(var O=b;O<g;O++)d.push(O);else for(var E=b;E>g;E--)d.push(E);return d}function T(A,g,b){var d=A.slice(0,g),O=A.slice(g);return d.concat(b,O)}function I(A,g){var b=A.indexOf(g);b>-1&&(A.splice(b,1),A.unshift(g))}function Y(A,g){var b=A.indexOf(g);b>-1&&(A.splice(b,1),A.push(g))}function $(A){return Array.isArray(A)?A:[A]}},"6RRn":function(Ie,M,e){"use strict";var u=e("wCXF"),c=e("n6Qo");e.d(M,"b",function(){return c.a});var r=e("IBYe"),f=e("6eGT"),o=e("hW8S");e.d(M,"a",function(){return o.a}),M.c=u.b},"6UJt":function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("v56E"),f=e.n(r),o=e("R9oj"),i=e("OaEy")},"6eGT":function(Ie,M,e){"use strict";function u(c){return null}M.a=u},"6sVZ":function(Ie,M){var e=Object.prototype;function u(c){var r=c&&c.constructor,f=typeof r=="function"&&r.prototype||e;return c===f}Ie.exports=u},"6ss+":function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});function u(c,r){var f=0;return Math.abs(c)>Math.abs(r)?(f=r/c,Math.abs(c)*Math.sqrt(1+f*f)):r!==0?(f=c/r,Math.abs(r)*Math.sqrt(1+f*f)):0}},"6vuP":function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("dialogService")},"7/Ik":function(Ie,M,e){"use strict";e.d(M,"b",function(){return Y}),e.d(M,"a",function(){return $});var u=e("oBTY"),c=e("fWQN"),r=e("mtLc"),f=e("tS8v"),o=e("w4Tj"),i=e("oZsa"),a=e("yKVA"),n=e("879j"),v=e("yEoX"),m=e.n(v),h=e("MNsG"),t=e("3/fG"),l=e("pmY6"),p=e("8HAY"),w=e("746U"),S=e("pg8w"),k=e("ZQ78"),T=e("D3Dy"),I=e("EffR"),Y=function(A){Object(a.a)(b,A);var g=Object(n.a)(b);function b(d,O){var E,D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object(c.a)(this,b),E=g.call(this),E.options=D,E._context=d||Object(f.a)(E),E._action=O,O instanceof p.a&&E._register(O.onDidChange(function(W){!E.element||E.handleActionChangeEvent(W)})),E}return Object(r.a)(b,[{key:"handleActionChangeEvent",value:function(O){O.enabled!==void 0&&this.updateEnabled(),O.checked!==void 0&&this.updateChecked(),O.class!==void 0&&this.updateClass(),O.label!==void 0&&(this.updateLabel(),this.updateTooltip()),O.tooltip!==void 0&&this.updateTooltip()}},{key:"actionRunner",get:function(){return this._actionRunner||(this._actionRunner=this._register(new p.b)),this._actionRunner},set:function(O){this._actionRunner=O}},{key:"getAction",value:function(){return this._action}},{key:"isEnabled",value:function(){return this._action.enabled}},{key:"setActionContext",value:function(O){this._context=O}},{key:"render",value:function(O){var E=this,D=this.element=O;this._register(S.b.addTarget(O));var W=this.options&&this.options.draggable;W&&(O.draggable=!0,T.g&&this._register(Object(I.addDisposableListener)(O,I.EventType.DRAG_START,function(te){var re;return(re=te.dataTransfer)===null||re===void 0?void 0:re.setData(k.a.TEXT,E._action.label)}))),this._register(Object(I.addDisposableListener)(D,S.a.Tap,function(te){return E.onClick(te)})),this._register(Object(I.addDisposableListener)(D,I.EventType.MOUSE_DOWN,function(te){W||I.EventHelper.stop(te,!0),E._action.enabled&&te.button===0&&D.classList.add("active")})),h.f&&this._register(Object(I.addDisposableListener)(D,I.EventType.CONTEXT_MENU,function(te){te.button===0&&te.ctrlKey===!0&&E.onClick(te)})),this._register(Object(I.addDisposableListener)(D,I.EventType.CLICK,function(te){I.EventHelper.stop(te,!0),E.options&&E.options.isMenu||h.k(function(){return E.onClick(te)})})),this._register(Object(I.addDisposableListener)(D,I.EventType.DBLCLICK,function(te){I.EventHelper.stop(te,!0)})),[I.EventType.MOUSE_UP,I.EventType.MOUSE_OUT].forEach(function(te){E._register(Object(I.addDisposableListener)(D,te,function(re){I.EventHelper.stop(re),D.classList.remove("active")}))})}},{key:"onClick",value:function(O){var E;I.EventHelper.stop(O,!0);var D=w.l(this._context)?((E=this.options)===null||E===void 0?void 0:E.useEventAsContext)?O:void 0:this._context;this.actionRunner.run(this._action,D)}},{key:"focus",value:function(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}},{key:"blur",value:function(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}},{key:"setFocusable",value:function(O){this.element&&(this.element.tabIndex=O?0:-1)}},{key:"trapsArrowNavigation",get:function(){return!1}},{key:"updateEnabled",value:function(){}},{key:"updateLabel",value:function(){}},{key:"updateTooltip",value:function(){}},{key:"updateClass",value:function(){}},{key:"updateChecked",value:function(){}},{key:"dispose",value:function(){this.element&&(this.element.remove(),this.element=void 0),Object(o.a)(Object(i.a)(b.prototype),"dispose",this).call(this)}}]),b}(l.a),$=function(A){Object(a.a)(b,A);var g=Object(n.a)(b);function b(d,O){var E,D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object(c.a)(this,b),E=g.call(this,d,O,D),E.options=D,E.options.icon=D.icon!==void 0?D.icon:!1,E.options.label=D.label!==void 0?D.label:!0,E.cssClass="",E}return Object(r.a)(b,[{key:"render",value:function(O){Object(o.a)(Object(i.a)(b.prototype),"render",this).call(this,O),this.element&&(this.label=Object(I.append)(this.element,Object(I.$)("a.action-label"))),this.label&&(this._action.id===p.d.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&&(Object(I.append)(this.element,Object(I.$)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}},{key:"focus",value:function(){this.label&&(this.label.tabIndex=0,this.label.focus())}},{key:"blur",value:function(){this.label&&(this.label.tabIndex=-1)}},{key:"setFocusable",value:function(O){this.label&&(this.label.tabIndex=O?0:-1)}},{key:"updateLabel",value:function(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}},{key:"updateTooltip",value:function(){var O=null;this.getAction().tooltip?O=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(O=this.getAction().label,this.options.keybinding&&(O=t.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",O,this.options.keybinding))),O&&this.label&&(this.label.title=O)}},{key:"updateClass",value:function(){if(this.cssClass&&this.label){var O;(O=this.label.classList).remove.apply(O,Object(u.a)(this.cssClass.split(" ")))}if(this.options.icon){if(this.cssClass=this.getAction().class,this.label&&(this.label.classList.add("codicon"),this.cssClass)){var E;(E=this.label.classList).add.apply(E,Object(u.a)(this.cssClass.split(" ")))}this.updateEnabled()}else this.label&&this.label.classList.remove("codicon")}},{key:"updateEnabled",value:function(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),this.element&&this.element.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),this.element&&this.element.classList.add("disabled"))}},{key:"updateChecked",value:function(){this.label&&(this.getAction().checked?this.label.classList.add("checked"):this.label.classList.remove("checked"))}}]),b}(Y)},"711d":function(Ie,M){function e(u){return function(c){return c==null?void 0:c[u]}}Ie.exports=e},"746U":function(Ie,M,e){"use strict";e.d(M,"e",function(){return c}),e.d(M,"j",function(){return r}),e.d(M,"i",function(){return f}),e.d(M,"h",function(){return o}),e.d(M,"f",function(){return i}),e.d(M,"k",function(){return a}),e.d(M,"l",function(){return n}),e.d(M,"b",function(){return v}),e.d(M,"a",function(){return m}),e.d(M,"g",function(){return h}),e.d(M,"m",function(){return t}),e.d(M,"d",function(){return w}),e.d(M,"c",function(){return S}),e.d(M,"n",function(){return k});var u=e("rAM+");function c(T){return Array.isArray(T)}function r(T){return typeof T=="string"}function f(T){return typeof T=="object"&&T!==null&&!Array.isArray(T)&&!(T instanceof RegExp)&&!(T instanceof Date)}function o(T){return typeof T=="number"&&!isNaN(T)}function i(T){return T===!0||T===!1}function a(T){return typeof T=="undefined"}function n(T){return a(T)||T===null}function v(T,I){if(!T)throw new Error(I?"Unexpected type, expected '".concat(I,"'"):"Unexpected type")}function m(T){if(n(T))throw new Error("Assertion Failed: argument is undefined or null");return T}function h(T){return typeof T=="function"}function t(T,I){for(var Y=Math.min(T.length,I.length),$=0;$<Y;$++)l(T[$],I[$])}function l(T,I){if(r(I)){if(typeof T!==I)throw new Error("argument does not match constraint: typeof ".concat(I))}else if(h(I)){try{if(T instanceof I)return}catch(Y){}if(!n(T)&&T.constructor===I||I.length===1&&I.call(void 0,T)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function p(T){for(var I=[],Y=Object.getPrototypeOf(T);Object.prototype!==Y;)I=I.concat(Object.getOwnPropertyNames(Y)),Y=Object.getPrototypeOf(Y);return I}function w(T){var I=[],Y=Object(u.a)(p(T)),$;try{for(Y.s();!($=Y.n()).done;){var A=$.value;typeof T[A]=="function"&&I.push(A)}}catch(g){Y.e(g)}finally{Y.f()}return I}function S(T,I){var Y=function(O){return function(){var E=Array.prototype.slice.call(arguments,0);return I(O,E)}},$={},A=Object(u.a)(T),g;try{for(A.s();!(g=A.n()).done;){var b=g.value;$[b]=Y(b)}}catch(d){A.e(d)}finally{A.f()}return $}function k(T){return T===null?void 0:T}},"75XV":function(Ie,M,e){},"77Zs":function(Ie,M,e){var u=e("Xi7e");function c(){this.__data__=new u,this.size=0}Ie.exports=c},"79sc":function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("markerDecorationsService")},"7GBL":function(Ie,M,e){},"7GkX":function(Ie,M,e){var u=e("b80T"),c=e("A90E"),r=e("MMmD");function f(o){return r(o)?u(o):c(o)}Ie.exports=f},"7Ix3":function(Ie,M){function e(u){var c=[];if(u!=null)for(var r in Object(u))c.push(r);return c}Ie.exports=e},"7Kak":function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("KPFz"),f=e.n(r)},"7OuD":function(Ie,M,e){"use strict";e.d(M,"f",function(){return c}),e.d(M,"a",function(){return r}),e.d(M,"h",function(){return f}),e.d(M,"c",function(){return o}),e.d(M,"g",function(){return i}),e.d(M,"b",function(){return a}),e.d(M,"e",function(){return n}),e.d(M,"i",function(){return v}),e.d(M,"d",function(){return h});var u=e("sK0q");function c(t,l,p){var w=p?t.rows:t.rows-1;if(l<0||l>w)throw new RangeError("Row index out of range")}function r(t,l,p){var w=p?t.columns:t.columns-1;if(l<0||l>w)throw new RangeError("Column index out of range")}function f(t,l){if(l.to1DArray&&(l=l.to1DArray()),l.length!==t.columns)throw new RangeError("vector size must be the same as the number of columns");return l}function o(t,l){if(l.to1DArray&&(l=l.to1DArray()),l.length!==t.rows)throw new RangeError("vector size must be the same as the number of rows");return l}function i(t,l){if(!Object(u.a)(l))throw new TypeError("row indices must be an array");for(var p=0;p<l.length;p++)if(l[p]<0||l[p]>=t.rows)throw new RangeError("row indices are out of range")}function a(t,l){if(!Object(u.a)(l))throw new TypeError("column indices must be an array");for(var p=0;p<l.length;p++)if(l[p]<0||l[p]>=t.columns)throw new RangeError("column indices are out of range")}function n(t,l,p,w,S){if(arguments.length!==5)throw new RangeError("expected 4 arguments");if(m("startRow",l),m("endRow",p),m("startColumn",w),m("endColumn",S),l>p||w>S||l<0||l>=t.rows||p<0||p>=t.rows||w<0||w>=t.columns||S<0||S>=t.columns)throw new RangeError("Submatrix indices are out of range")}function v(t){for(var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,p=[],w=0;w<t;w++)p.push(l);return p}function m(t,l){if(typeof l!="number")throw new TypeError("".concat(t," must be a number"))}function h(t){if(t.isEmpty())throw new Error("Empty matrix has no elements to index")}},"7afs":function(Ie,M,e){"use strict";e.d(M,"b",function(){return f}),e.d(M,"c",function(){return n}),e.d(M,"a",function(){return w});var u=e("fWQN"),c=e("mtLc"),r=e("N0LK");function f(S){return o(S,0)}function o(S,k){switch(typeof S){case"object":return S===null?i(349,k):Array.isArray(S)?v(S,k):m(S,k);case"string":return n(S,k);case"boolean":return a(S,k);case"number":return i(S,k);case"undefined":return i(937,k);default:return i(617,k)}}function i(S,k){return(k<<5)-k+S|0}function a(S,k){return i(S?433:863,k)}function n(S,k){k=i(149417,k);for(var T=0,I=S.length;T<I;T++)k=i(S.charCodeAt(T),k);return k}function v(S,k){return k=i(104579,k),S.reduce(function(T,I){return o(I,T)},k)}function m(S,k){return k=i(181387,k),Object.keys(S).sort().reduce(function(T,I){return T=n(I,T),o(S[I],T)},k)}function h(S,k){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:32,I=T-k,Y=~((1<<I)-1);return(S<<k|(Y&S)>>>I)>>>0}function t(S){for(var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:S.byteLength,I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,Y=0;Y<T;Y++)S[k+Y]=I}function l(S,k){for(var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";S.length<k;)S=T+S;return S}function p(S){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:32;return S instanceof ArrayBuffer?Array.from(new Uint8Array(S)).map(function(T){return T.toString(16).padStart(2,"0")}).join(""):l((S>>>0).toString(16),k/4)}var w=function(){function S(){Object(u.a)(this,S),this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}return Object(c.a)(S,[{key:"update",value:function(T){var I=T.length;if(I!==0){var Y=this._buff,$=this._buffLen,A=this._leftoverHighSurrogate,g,b;for(A!==0?(g=A,b=-1,A=0):(g=T.charCodeAt(0),b=0);;){var d=g;if(r.E(g))if(b+1<I){var O=T.charCodeAt(b+1);r.F(O)?(b++,d=r.j(g,O)):d=65533}else{A=g;break}else r.F(g)&&(d=65533);if($=this._push(Y,$,d),b++,b<I)g=T.charCodeAt(b);else break}this._buffLen=$,this._leftoverHighSurrogate=A}}},{key:"_push",value:function(T,I,Y){return Y<128?T[I++]=Y:Y<2048?(T[I++]=192|(Y&1984)>>>6,T[I++]=128|(Y&63)>>>0):Y<65536?(T[I++]=224|(Y&61440)>>>12,T[I++]=128|(Y&4032)>>>6,T[I++]=128|(Y&63)>>>0):(T[I++]=240|(Y&1835008)>>>18,T[I++]=128|(Y&258048)>>>12,T[I++]=128|(Y&4032)>>>6,T[I++]=128|(Y&63)>>>0),I>=64&&(this._step(),I-=64,this._totalLen+=64,T[0]=T[64+0],T[1]=T[64+1],T[2]=T[64+2]),I}},{key:"digest",value:function(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),p(this._h0)+p(this._h1)+p(this._h2)+p(this._h3)+p(this._h4)}},{key:"_wrapUp",value:function(){this._buff[this._buffLen++]=128,t(this._buff,this._buffLen),this._buffLen>56&&(this._step(),t(this._buff));var T=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(T/4294967296),!1),this._buffDV.setUint32(60,T%4294967296,!1),this._step()}},{key:"_step",value:function(){for(var T=S._bigBlock32,I=this._buffDV,Y=0;Y<64;Y+=4)T.setUint32(Y,I.getUint32(Y,!1),!1);for(var $=64;$<320;$+=4)T.setUint32($,h(T.getUint32($-12,!1)^T.getUint32($-32,!1)^T.getUint32($-56,!1)^T.getUint32($-64,!1),1),!1);for(var A=this._h0,g=this._h1,b=this._h2,d=this._h3,O=this._h4,E,D,W,te=0;te<80;te++)te<20?(E=g&b|~g&d,D=1518500249):te<40?(E=g^b^d,D=1859775393):te<60?(E=g&b|g&d|b&d,D=2400959708):(E=g^b^d,D=3395469782),W=h(A,5)+E+O+D+T.getUint32(te*4,!1)&4294967295,O=d,d=b,b=h(g,30),g=A,A=W;this._h0=this._h0+A&4294967295,this._h1=this._h1+g&4294967295,this._h2=this._h2+b&4294967295,this._h3=this._h3+d&4294967295,this._h4=this._h4+O&4294967295}}]),S}();w._bigBlock32=new DataView(new ArrayBuffer(320))},"7fqy":function(Ie,M){function e(u){var c=-1,r=Array(u.size);return u.forEach(function(f,o){r[++c]=[o,f]}),r}Ie.exports=e},"7lZ/":function(Ie,M,e){"use strict";e.d(M,"a",function(){return n});var u=e("oBTY"),c=e("rAM+"),r=e("fWQN"),f=e("mtLc"),o=e("qj0h"),i=e("EffR"),a=e("fdyd"),n=function(){function v(m,h){Object(r.a)(this,v),this.supportIcons=h,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",m.appendChild(this.domNode)}return Object(f.a)(v,[{key:"element",get:function(){return this.domNode}},{key:"set",value:function(h){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",p=arguments.length>3?arguments[3]:void 0;h||(h=""),p&&(h=v.escapeNewLines(h,t)),!(this.didEverRender&&this.text===h&&this.title===l&&o.d(this.highlights,t))&&(this.text=h,this.title=l,this.highlights=t,this.render())}},{key:"render",value:function(){var h=[],t=0,l=Object(c.a)(this.highlights),p;try{for(l.s();!(p=l.n()).done;){var w=p.value;if(w.end!==w.start){if(t<w.start){var S=this.text.substring(t,w.start);h.push(i.$.apply(i,["span",void 0].concat(Object(u.a)(this.supportIcons?Object(a.a)(S):[S])))),t=w.end}var k=this.text.substring(w.start,w.end),T=i.$.apply(i,["span.highlight",void 0].concat(Object(u.a)(this.supportIcons?Object(a.a)(k):[k])));w.extraClasses&&T.classList.add(w.extraClasses),h.push(T),t=w.end}}}catch(Y){l.e(Y)}finally{l.f()}if(t<this.text.length){var I=this.text.substring(t);h.push(i.$.apply(i,["span",void 0].concat(Object(u.a)(this.supportIcons?Object(a.a)(I):[I]))))}i.reset.apply(i,[this.domNode].concat(h)),this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0}}],[{key:"escapeNewLines",value:function(h,t){var l=0,p=0;return h.replace(/\r\n|\r|\n/g,function(w,S){p=w===`\r
- `?-1:0,S+=l;var k=Object(c.a)(t),T;try{for(k.s();!(T=k.n()).done;){var I=T.value;I.end<=S||(I.start>=S&&(I.start+=p),I.end>=S&&(I.end+=p))}}catch(Y){k.e(Y)}finally{k.f()}return l+=p,"\u23CE"})}}]),v}()},"7z/i":function(Ie,M,e){"use strict";(function(u){var c=typeof u!="undefined"&&u.versions!=null&&u.versions.node!=null,r=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.matchMedia!="undefined"&&!c};M.a=r}).call(this,e("Q2Ig"))},"7zd4":function(Ie,M,e){},"815F":function(Ie,M,e){"use strict";e.d(M,"f",function(){return h}),e.d(M,"d",function(){return t}),e.d(M,"c",function(){return p}),e.d(M,"e",function(){return w}),e.d(M,"a",function(){return k}),e.d(M,"g",function(){return T}),e.d(M,"b",function(){return I});var u=e("U8pU"),c=e("KQm4"),r=e("VTBJ"),f=e("Ff2n"),o=e("Zm9Q"),i=e("bT9E"),a=e("Kwbf"),n=["children"];function v(Y,$){return"".concat(Y,"-").concat($)}function m(Y){return Y&&Y.type&&Y.type.isTreeNode}function h(Y,$){return Y!=null?Y:$}function t(Y){var $=Y||{},A=$.title,g=$._title,b=$.key,d=$.children,O=A||"title";return{title:O,_title:g||[O],key:b||"key",children:d||"children"}}function l(Y,$){var A=new Map;function g(b){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(b||[]).forEach(function(O){var E=O[$.key],D=O[$.children];Object(a.a)(E!=null,"Tree node must have a certain key: [".concat(d).concat(E,"]"));var W=String(E);Object(a.a)(!A.has(W)||E===null||E===void 0,"Same 'key' exist in the Tree: ".concat(W)),A.set(W,!0),g(D,"".concat(d).concat(W," > "))})}g(Y)}function p(Y){function $(A){var g=Object(o.a)(A);return g.map(function(b){if(!m(b))return Object(a.a)(!b,"Tree/TreeNode can only accept TreeNode as children."),null;var d=b.key,O=b.props,E=O.children,D=Object(f.a)(O,n),W=Object(r.a)({key:d},D),te=$(E);return te.length&&(W.children=te),W}).filter(function(b){return b})}return $(Y)}function w(Y,$,A){var g=t(A),b=g._title,d=g.key,O=g.children,E=new Set($===!0?[]:$),D=[];function W(te){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return te.map(function(ye,q){for(var oe=v(re?re.pos:"0",q),he=h(ye[d],oe),ue,ne=0;ne<b.length;ne+=1){var se=b[ne];if(ye[se]!==void 0){ue=ye[se];break}}var be=Object(r.a)(Object(r.a)({},Object(i.a)(ye,[].concat(Object(c.a)(b),[d,O]))),{},{title:ue,key:he,parent:re,pos:oe,children:null,data:ye,isStart:[].concat(Object(c.a)(re?re.isStart:[]),[q===0]),isEnd:[].concat(Object(c.a)(re?re.isEnd:[]),[q===te.length-1])});return D.push(be),$===!0||E.has(he)?be.children=W(ye[O]||[],be):be.children=[],be})}return W(Y),D}function S(Y,$,A){var g={};Object(u.a)(A)==="object"?g=A:g={externalGetKey:A},g=g||{};var b=g,d=b.childrenPropName,O=b.externalGetKey,E=b.fieldNames,D=t(E),W=D.key,te=D.children,re=d||te,ye;O?typeof O=="string"?ye=function(he){return he[O]}:typeof O=="function"&&(ye=function(he){return O(he)}):ye=function(he,ue){return h(he[W],ue)};function q(oe,he,ue,ne){var se=oe?oe[re]:Y,be=oe?v(ue.pos,he):"0",Z=oe?[].concat(Object(c.a)(ne),[oe]):[];if(oe){var ee=ye(oe,be),ce={node:oe,index:he,pos:be,key:ee,parentPos:ue.node?ue.pos:null,level:ue.level+1,nodes:Z};$(ce)}se&&se.forEach(function(R,y){q(R,y,{node:oe,pos:be,level:ue?ue.level+1:-1},Z)})}q(null)}function k(Y){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=$.initWrapper,g=$.processEntity,b=$.onProcessFinished,d=$.externalGetKey,O=$.childrenPropName,E=$.fieldNames,D=arguments.length>2?arguments[2]:void 0,W=d||D,te={},re={},ye={posEntities:te,keyEntities:re};return A&&(ye=A(ye)||ye),S(Y,function(q){var oe=q.node,he=q.index,ue=q.pos,ne=q.key,se=q.parentPos,be=q.level,Z=q.nodes,ee={node:oe,nodes:Z,index:he,key:ne,pos:ue,level:be},ce=h(ne,ue);te[ue]=ee,re[ce]=ee,ee.parent=te[se],ee.parent&&(ee.parent.children=ee.parent.children||[],ee.parent.children.push(ee)),g&&g(ee,ye)},{externalGetKey:W,childrenPropName:O,fieldNames:E}),b&&b(ye),ye}function T(Y,$){var A=$.expandedKeys,g=$.selectedKeys,b=$.loadedKeys,d=$.loadingKeys,O=$.checkedKeys,E=$.halfCheckedKeys,D=$.dragOverNodeKey,W=$.dropPosition,te=$.keyEntities,re=te[Y],ye={eventKey:Y,expanded:A.indexOf(Y)!==-1,selected:g.indexOf(Y)!==-1,loaded:b.indexOf(Y)!==-1,loading:d.indexOf(Y)!==-1,checked:O.indexOf(Y)!==-1,halfChecked:E.indexOf(Y)!==-1,pos:String(re?re.pos:""),dragOver:D===Y&&W===0,dragOverGapTop:D===Y&&W===-1,dragOverGapBottom:D===Y&&W===1};return ye}function I(Y){var $=Y.data,A=Y.expanded,g=Y.selected,b=Y.checked,d=Y.loaded,O=Y.loading,E=Y.halfChecked,D=Y.dragOver,W=Y.dragOverGapTop,te=Y.dragOverGapBottom,re=Y.pos,ye=Y.active,q=Y.eventKey,oe=Object(r.a)(Object(r.a)({},$),{},{expanded:A,selected:g,checked:b,loaded:d,loading:O,halfChecked:E,dragOver:D,dragOverGapTop:W,dragOverGapBottom:te,pos:re,active:ye,key:q});return"props"in oe||Object.defineProperty(oe,"props",{get:function(){return Object(a.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Y}}),oe}},"81LO":function(Ie,M,e){var u=e("b5wT"),c=e("tQ6r");Ie.exports=r;function r(i,a){var n=c.partition(i,function(S){return u.has(S,"barycenter")}),v=n.lhs,m=u.sortBy(n.rhs,function(S){return-S.i}),h=[],t=0,l=0,p=0;v.sort(o(!!a)),p=f(h,m,p),u.forEach(v,function(S){p+=S.vs.length,h.push(S.vs),t+=S.barycenter*S.weight,l+=S.weight,p=f(h,m,p)});var w={vs:u.flatten(h,!0)};return l&&(w.barycenter=t/l,w.weight=l),w}function f(i,a,n){for(var v;a.length&&(v=u.last(a)).i<=n;)a.pop(),i.push(v.vs),n++;return n}function o(i){return function(a,n){return a.barycenter<n.barycenter?-1:a.barycenter>n.barycenter?1:i?n.i-a.i:a.i-n.i}}},"82A9":function(Ie,M,e){},"88Gu":function(Ie,M){var e=800,u=16,c=Date.now;function r(f){var o=0,i=0;return function(){var a=c(),n=u-(a-i);if(i=a,n>0){if(++o>=e)return arguments[0]}else o=0;return f.apply(void 0,arguments)}}Ie.exports=r},"89eD":function(Ie,M,e){"use strict";var u=e("nXVj"),c=e("QupR");function r(o){return o.index}function f(o,i){var a=o.get(i);if(!a)throw new Error("node not found: "+i);return a}M.a=function(o){var i=r,a=S,n,v=Object(u.a)(30),m,h,t,l,p,w=1;o==null&&(o=[]);function S($){return 1/Math.min(t[$.source.index],t[$.target.index])}function k($){for(var A=0,g=o.length;A<w;++A)for(var b=0,d,O,E,D,W,te,re;b<g;++b)d=o[b],O=d.source,E=d.target,D=E.x+E.vx-O.x-O.vx||Object(c.a)(p),W=E.y+E.vy-O.y-O.vy||Object(c.a)(p),te=Math.sqrt(D*D+W*W),te=(te-m[b])/te*$*n[b],D*=te,W*=te,E.vx-=D*(re=l[b]),E.vy-=W*re,O.vx+=D*(re=1-re),O.vy+=W*re}function T(){if(!!h){var $,A=h.length,g=o.length,b=new Map(h.map(function(O,E){return[i(O,E,h),O]})),d;for($=0,t=new Array(A);$<g;++$)d=o[$],d.index=$,typeof d.source!="object"&&(d.source=f(b,d.source)),typeof d.target!="object"&&(d.target=f(b,d.target)),t[d.source.index]=(t[d.source.index]||0)+1,t[d.target.index]=(t[d.target.index]||0)+1;for($=0,l=new Array(g);$<g;++$)d=o[$],l[$]=t[d.source.index]/(t[d.source.index]+t[d.target.index]);n=new Array(g),I(),m=new Array(g),Y()}}function I(){if(!!h)for(var $=0,A=o.length;$<A;++$)n[$]=+a(o[$],$,o)}function Y(){if(!!h)for(var $=0,A=o.length;$<A;++$)m[$]=+v(o[$],$,o)}return k.initialize=function($,A){h=$,p=A,T()},k.links=function($){return arguments.length?(o=$,T(),k):o},k.id=function($){return arguments.length?(i=$,k):i},k.iterations=function($){return arguments.length?(w=+$,k):w},k.strength=function($){return arguments.length?(a=typeof $=="function"?$:Object(u.a)(+$),I(),k):a},k.distance=function($){return arguments.length?(v=typeof $=="function"?$:Object(u.a)(+$),Y(),k):v},k}},"8HAY":function(Ie,M,e){"use strict";e.d(M,"a",function(){return m}),e.d(M,"b",function(){return h}),e.d(M,"d",function(){return t}),e.d(M,"e",function(){return l}),e.d(M,"c",function(){return p});var u=e("qLMh"),c=e("fWQN"),r=e("mtLc"),f=e("yKVA"),o=e("879j"),i=e("3/fG"),a=e("pmY6"),n=e("MI8n"),v=function(w,S,k,T){function I(Y){return Y instanceof k?Y:new k(function($){$(Y)})}return new(k||(k=Promise))(function(Y,$){function A(d){try{b(T.next(d))}catch(O){$(O)}}function g(d){try{b(T.throw(d))}catch(O){$(O)}}function b(d){d.done?Y(d.value):I(d.value).then(A,g)}b((T=T.apply(w,S||[])).next())})},m=function(w){Object(f.a)(k,w);var S=Object(o.a)(k);function k(T){var I,Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",$=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,g=arguments.length>4?arguments[4]:void 0;return Object(c.a)(this,k),I=S.call(this),I._onDidChange=I._register(new n.a),I.onDidChange=I._onDidChange.event,I._enabled=!0,I._checked=!1,I._id=T,I._label=Y,I._cssClass=$,I._enabled=A,I._actionCallback=g,I}return Object(r.a)(k,[{key:"id",get:function(){return this._id}},{key:"label",get:function(){return this._label},set:function(I){this._setLabel(I)}},{key:"_setLabel",value:function(I){this._label!==I&&(this._label=I,this._onDidChange.fire({label:I}))}},{key:"tooltip",get:function(){return this._tooltip||""},set:function(I){this._setTooltip(I)}},{key:"_setTooltip",value:function(I){this._tooltip!==I&&(this._tooltip=I,this._onDidChange.fire({tooltip:I}))}},{key:"class",get:function(){return this._cssClass},set:function(I){this._setClass(I)}},{key:"_setClass",value:function(I){this._cssClass!==I&&(this._cssClass=I,this._onDidChange.fire({class:I}))}},{key:"enabled",get:function(){return this._enabled},set:function(I){this._setEnabled(I)}},{key:"_setEnabled",value:function(I){this._enabled!==I&&(this._enabled=I,this._onDidChange.fire({enabled:I}))}},{key:"checked",get:function(){return this._checked},set:function(I){this._setChecked(I)}},{key:"_setChecked",value:function(I){this._checked!==I&&(this._checked=I,this._onDidChange.fire({checked:I}))}},{key:"run",value:function(I,Y){return v(this,void 0,void 0,Object(u.a)().mark(function $(){return Object(u.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(!this._actionCallback){g.next=3;break}return g.next=3,this._actionCallback(I);case 3:case"end":return g.stop()}},$,this)}))}}]),k}(a.a),h=function(w){Object(f.a)(k,w);var S=Object(o.a)(k);function k(){var T;return Object(c.a)(this,k),T=S.apply(this,arguments),T._onBeforeRun=T._register(new n.a),T.onBeforeRun=T._onBeforeRun.event,T._onDidRun=T._register(new n.a),T.onDidRun=T._onDidRun.event,T}return Object(r.a)(k,[{key:"run",value:function(I,Y){return v(this,void 0,void 0,Object(u.a)().mark(function $(){var A;return Object(u.a)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(I.enabled){b.next=2;break}return b.abrupt("return");case 2:return this._onBeforeRun.fire({action:I}),A=void 0,b.prev=4,b.next=7,this.runAction(I,Y);case 7:b.next=12;break;case 9:b.prev=9,b.t0=b.catch(4),A=b.t0;case 12:this._onDidRun.fire({action:I,error:A});case 13:case"end":return b.stop()}},$,this,[[4,9]])}))}},{key:"runAction",value:function(I,Y){return v(this,void 0,void 0,Object(u.a)().mark(function $(){return Object(u.a)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,I.run(Y);case 2:case"end":return g.stop()}},$)}))}}]),k}(a.a),t=function(w){Object(f.a)(k,w);var S=Object(o.a)(k);function k(T){var I;return Object(c.a)(this,k),I=S.call(this,k.ID,T,T?"separator text":"separator"),I.checked=!1,I.enabled=!1,I}return Object(r.a)(k)}(m);t.ID="vs.actions.separator";var l=function(){function w(S,k,T,I){Object(c.a)(this,w),this.tooltip="",this.enabled=!0,this.checked=!1,this.id=S,this.label=k,this.class=I,this._actions=T}return Object(r.a)(w,[{key:"actions",get:function(){return this._actions}},{key:"dispose",value:function(){}},{key:"run",value:function(){return v(this,void 0,void 0,Object(u.a)().mark(function k(){return Object(u.a)().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:case"end":return I.stop()}},k)}))}}]),w}(),p=function(w){Object(f.a)(k,w);var S=Object(o.a)(k);function k(){return Object(c.a)(this,k),S.call(this,k.ID,i.a("submenu.empty","(empty)"),void 0,!1)}return Object(r.a)(k)}(m);p.ID="vs.actions.empty"},"8HsV":function(Ie,M,e){"use strict";e.d(M,"a",function(){return f});var u=e("tJVT"),c=e("fWQN"),r=e("mtLc"),f=function(){function o(){Object(c.a)(this,o),this._entries=new Map;for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];for(var v=0,m=a;v<m.length;v++){var h=m[v],t=Object(u.a)(h,2),l=t[0],p=t[1];this.set(l,p)}}return Object(r.a)(o,[{key:"set",value:function(a,n){var v=this._entries.get(a);return this._entries.set(a,n),v}},{key:"has",value:function(a){return this._entries.has(a)}},{key:"get",value:function(a){return this._entries.get(a)}}]),o}()},"8LL/":function(Ie,M,e){},"8c2E":function(Ie,M,e){var u=e("b5wT");Ie.exports=c;function c(o){var i=f(o);u.forEach(o.graph().dummyChains,function(a){for(var n=o.node(a),v=n.edgeObj,m=r(o,i,v.v,v.w),h=m.path,t=m.lca,l=0,p=h[l],w=!0;a!==v.w;){if(n=o.node(a),w){for(;(p=h[l])!==t&&o.node(p).maxRank<n.rank;)l++;p===t&&(w=!1)}if(!w){for(;l<h.length-1&&o.node(p=h[l+1]).minRank<=n.rank;)l++;p=h[l]}o.setParent(a,p),a=o.successors(a)[0]}})}function r(o,i,a,n){var v=[],m=[],h=Math.min(i[a].low,i[n].low),t=Math.max(i[a].lim,i[n].lim),l,p;l=a;do l=o.parent(l),v.push(l);while(l&&(i[l].low>h||t>i[l].lim));for(p=l,l=n;(l=o.parent(l))!==p;)m.push(l);return{path:v.concat(m.reverse()),lca:p}}function f(o){var i={},a=0;function n(v){var m=a;u.forEach(o.children(v),n),i[v]={low:m,lim:a++}}return u.forEach(o.children(),n),i}},"8gvo":function(Ie,M,e){},"8tI9":function(Ie,M,e){},"8txm":function(Ie,M,e){},"8ub7":function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("rePB"),r=e("Ff2n"),f=e("q1tI"),o=e.n(f),i=e("TSYQ"),a=e.n(i),n=e("Pw59"),v=e("Qi1f"),m=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],h=f.forwardRef(function(t,l){var p=t.className,w=t.component,S=t.viewBox,k=t.spin,T=t.rotate,I=t.tabIndex,Y=t.onClick,$=t.children,A=Object(r.a)(t,m);Object(v.g)(Boolean(w||$),"Should have `component` prop or `children`."),Object(v.f)();var g=f.useContext(n.a),b=g.prefixCls,d=b===void 0?"anticon":b,O=g.rootClassName,E=a()(O,d,p),D=a()(Object(c.a)({},"".concat(d,"-spin"),!!k)),W=T?{msTransform:"rotate(".concat(T,"deg)"),transform:"rotate(".concat(T,"deg)")}:void 0,te=Object(u.a)(Object(u.a)({},v.e),{},{className:D,style:W,viewBox:S});S||delete te.viewBox;var re=function(){return w?f.createElement(w,Object(u.a)({},te),$):$?(Object(v.g)(Boolean(S)||f.Children.count($)===1&&f.isValidElement($)&&f.Children.only($).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),f.createElement("svg",Object(u.a)(Object(u.a)({},te),{},{viewBox:S}),$)):null},ye=I;return ye===void 0&&Y&&(ye=-1),f.createElement("span",Object(u.a)(Object(u.a)({role:"img"},A),{},{ref:l,tabIndex:ye,onClick:Y,className:E}),re())});h.displayName="AntdIcon",M.a=h},"8z58":function(Ie,M,e){"use strict";e.r(M),e.d(M,"CancellationTokenSource",function(){return vc}),e.d(M,"Emitter",function(){return gc}),e.d(M,"KeyCode",function(){return Wl}),e.d(M,"KeyMod",function(){return Pd}),e.d(M,"Position",function(){return Sc}),e.d(M,"Range",function(){return md}),e.d(M,"Selection",function(){return Qs}),e.d(M,"SelectionDirection",function(){return jc}),e.d(M,"MarkerSeverity",function(){return Td}),e.d(M,"MarkerTag",function(){return pd}),e.d(M,"Uri",function(){return $d}),e.d(M,"Token",function(){return ad}),e.d(M,"editor",function(){return Gd}),e.d(M,"languages",function(){return od});var u=e("/UlZ"),c=e("fWQN"),r=e("mtLc"),f=e("JQT/"),o=e("MI8n"),i=e("/kV6"),a=e("bY76"),n=e("cGHE"),v=e("aokT"),m=e("gCVg"),h=e("Tcc1"),t;(function(V){V[V.Unknown=0]="Unknown",V[V.Disabled=1]="Disabled",V[V.Enabled=2]="Enabled"})(t||(t={}));var l;(function(V){V[V.KeepWhitespace=1]="KeepWhitespace",V[V.InsertAsSnippet=4]="InsertAsSnippet"})(l||(l={}));var p;(function(V){V[V.Method=0]="Method",V[V.Function=1]="Function",V[V.Constructor=2]="Constructor",V[V.Field=3]="Field",V[V.Variable=4]="Variable",V[V.Class=5]="Class",V[V.Struct=6]="Struct",V[V.Interface=7]="Interface",V[V.Module=8]="Module",V[V.Property=9]="Property",V[V.Event=10]="Event",V[V.Operator=11]="Operator",V[V.Unit=12]="Unit",V[V.Value=13]="Value",V[V.Constant=14]="Constant",V[V.Enum=15]="Enum",V[V.EnumMember=16]="EnumMember",V[V.Keyword=17]="Keyword",V[V.Text=18]="Text",V[V.Color=19]="Color",V[V.File=20]="File",V[V.Reference=21]="Reference",V[V.Customcolor=22]="Customcolor",V[V.Folder=23]="Folder",V[V.TypeParameter=24]="TypeParameter",V[V.User=25]="User",V[V.Issue=26]="Issue",V[V.Snippet=27]="Snippet"})(p||(p={}));var w;(function(V){V[V.Deprecated=1]="Deprecated"})(w||(w={}));var S;(function(V){V[V.Invoke=0]="Invoke",V[V.TriggerCharacter=1]="TriggerCharacter",V[V.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(S||(S={}));var k;(function(V){V[V.EXACT=0]="EXACT",V[V.ABOVE=1]="ABOVE",V[V.BELOW=2]="BELOW"})(k||(k={}));var T;(function(V){V[V.NotSet=0]="NotSet",V[V.ContentFlush=1]="ContentFlush",V[V.RecoverFromMarkers=2]="RecoverFromMarkers",V[V.Explicit=3]="Explicit",V[V.Paste=4]="Paste",V[V.Undo=5]="Undo",V[V.Redo=6]="Redo"})(T||(T={}));var I;(function(V){V[V.LF=1]="LF",V[V.CRLF=2]="CRLF"})(I||(I={}));var Y;(function(V){V[V.Text=0]="Text",V[V.Read=1]="Read",V[V.Write=2]="Write"})(Y||(Y={}));var $;(function(V){V[V.None=0]="None",V[V.Keep=1]="Keep",V[V.Brackets=2]="Brackets",V[V.Advanced=3]="Advanced",V[V.Full=4]="Full"})($||($={}));var A;(function(V){V[V.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",V[V.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",V[V.accessibilitySupport=2]="accessibilitySupport",V[V.accessibilityPageSize=3]="accessibilityPageSize",V[V.ariaLabel=4]="ariaLabel",V[V.autoClosingBrackets=5]="autoClosingBrackets",V[V.autoClosingDelete=6]="autoClosingDelete",V[V.autoClosingOvertype=7]="autoClosingOvertype",V[V.autoClosingQuotes=8]="autoClosingQuotes",V[V.autoIndent=9]="autoIndent",V[V.automaticLayout=10]="automaticLayout",V[V.autoSurround=11]="autoSurround",V[V.codeLens=12]="codeLens",V[V.codeLensFontFamily=13]="codeLensFontFamily",V[V.codeLensFontSize=14]="codeLensFontSize",V[V.colorDecorators=15]="colorDecorators",V[V.columnSelection=16]="columnSelection",V[V.comments=17]="comments",V[V.contextmenu=18]="contextmenu",V[V.copyWithSyntaxHighlighting=19]="copyWithSyntaxHighlighting",V[V.cursorBlinking=20]="cursorBlinking",V[V.cursorSmoothCaretAnimation=21]="cursorSmoothCaretAnimation",V[V.cursorStyle=22]="cursorStyle",V[V.cursorSurroundingLines=23]="cursorSurroundingLines",V[V.cursorSurroundingLinesStyle=24]="cursorSurroundingLinesStyle",V[V.cursorWidth=25]="cursorWidth",V[V.disableLayerHinting=26]="disableLayerHinting",V[V.disableMonospaceOptimizations=27]="disableMonospaceOptimizations",V[V.domReadOnly=28]="domReadOnly",V[V.dragAndDrop=29]="dragAndDrop",V[V.emptySelectionClipboard=30]="emptySelectionClipboard",V[V.extraEditorClassName=31]="extraEditorClassName",V[V.fastScrollSensitivity=32]="fastScrollSensitivity",V[V.find=33]="find",V[V.fixedOverflowWidgets=34]="fixedOverflowWidgets",V[V.folding=35]="folding",V[V.foldingStrategy=36]="foldingStrategy",V[V.foldingHighlight=37]="foldingHighlight",V[V.unfoldOnClickAfterEndOfLine=38]="unfoldOnClickAfterEndOfLine",V[V.fontFamily=39]="fontFamily",V[V.fontInfo=40]="fontInfo",V[V.fontLigatures=41]="fontLigatures",V[V.fontSize=42]="fontSize",V[V.fontWeight=43]="fontWeight",V[V.formatOnPaste=44]="formatOnPaste",V[V.formatOnType=45]="formatOnType",V[V.glyphMargin=46]="glyphMargin",V[V.gotoLocation=47]="gotoLocation",V[V.hideCursorInOverviewRuler=48]="hideCursorInOverviewRuler",V[V.highlightActiveIndentGuide=49]="highlightActiveIndentGuide",V[V.hover=50]="hover",V[V.inDiffEditor=51]="inDiffEditor",V[V.letterSpacing=52]="letterSpacing",V[V.lightbulb=53]="lightbulb",V[V.lineDecorationsWidth=54]="lineDecorationsWidth",V[V.lineHeight=55]="lineHeight",V[V.lineNumbers=56]="lineNumbers",V[V.lineNumbersMinChars=57]="lineNumbersMinChars",V[V.linkedEditing=58]="linkedEditing",V[V.links=59]="links",V[V.matchBrackets=60]="matchBrackets",V[V.minimap=61]="minimap",V[V.mouseStyle=62]="mouseStyle",V[V.mouseWheelScrollSensitivity=63]="mouseWheelScrollSensitivity",V[V.mouseWheelZoom=64]="mouseWheelZoom",V[V.multiCursorMergeOverlapping=65]="multiCursorMergeOverlapping",V[V.multiCursorModifier=66]="multiCursorModifier",V[V.multiCursorPaste=67]="multiCursorPaste",V[V.occurrencesHighlight=68]="occurrencesHighlight",V[V.overviewRulerBorder=69]="overviewRulerBorder",V[V.overviewRulerLanes=70]="overviewRulerLanes",V[V.padding=71]="padding",V[V.parameterHints=72]="parameterHints",V[V.peekWidgetDefaultFocus=73]="peekWidgetDefaultFocus",V[V.definitionLinkOpensInPeek=74]="definitionLinkOpensInPeek",V[V.quickSuggestions=75]="quickSuggestions",V[V.quickSuggestionsDelay=76]="quickSuggestionsDelay",V[V.readOnly=77]="readOnly",V[V.renameOnType=78]="renameOnType",V[V.renderControlCharacters=79]="renderControlCharacters",V[V.renderIndentGuides=80]="renderIndentGuides",V[V.renderFinalNewline=81]="renderFinalNewline",V[V.renderLineHighlight=82]="renderLineHighlight",V[V.renderLineHighlightOnlyWhenFocus=83]="renderLineHighlightOnlyWhenFocus",V[V.renderValidationDecorations=84]="renderValidationDecorations",V[V.renderWhitespace=85]="renderWhitespace",V[V.revealHorizontalRightPadding=86]="revealHorizontalRightPadding",V[V.roundedSelection=87]="roundedSelection",V[V.rulers=88]="rulers",V[V.scrollbar=89]="scrollbar",V[V.scrollBeyondLastColumn=90]="scrollBeyondLastColumn",V[V.scrollBeyondLastLine=91]="scrollBeyondLastLine",V[V.scrollPredominantAxis=92]="scrollPredominantAxis",V[V.selectionClipboard=93]="selectionClipboard",V[V.selectionHighlight=94]="selectionHighlight",V[V.selectOnLineNumbers=95]="selectOnLineNumbers",V[V.showFoldingControls=96]="showFoldingControls",V[V.showUnused=97]="showUnused",V[V.snippetSuggestions=98]="snippetSuggestions",V[V.smartSelect=99]="smartSelect",V[V.smoothScrolling=100]="smoothScrolling",V[V.stickyTabStops=101]="stickyTabStops",V[V.stopRenderingLineAfter=102]="stopRenderingLineAfter",V[V.suggest=103]="suggest",V[V.suggestFontSize=104]="suggestFontSize",V[V.suggestLineHeight=105]="suggestLineHeight",V[V.suggestOnTriggerCharacters=106]="suggestOnTriggerCharacters",V[V.suggestSelection=107]="suggestSelection",V[V.tabCompletion=108]="tabCompletion",V[V.tabIndex=109]="tabIndex",V[V.unusualLineTerminators=110]="unusualLineTerminators",V[V.useShadowDOM=111]="useShadowDOM",V[V.useTabStops=112]="useTabStops",V[V.wordSeparators=113]="wordSeparators",V[V.wordWrap=114]="wordWrap",V[V.wordWrapBreakAfterCharacters=115]="wordWrapBreakAfterCharacters",V[V.wordWrapBreakBeforeCharacters=116]="wordWrapBreakBeforeCharacters",V[V.wordWrapColumn=117]="wordWrapColumn",V[V.wordWrapOverride1=118]="wordWrapOverride1",V[V.wordWrapOverride2=119]="wordWrapOverride2",V[V.wrappingIndent=120]="wrappingIndent",V[V.wrappingStrategy=121]="wrappingStrategy",V[V.showDeprecated=122]="showDeprecated",V[V.inlineHints=123]="inlineHints",V[V.editorClassName=124]="editorClassName",V[V.pixelRatio=125]="pixelRatio",V[V.tabFocusMode=126]="tabFocusMode",V[V.layoutInfo=127]="layoutInfo",V[V.wrappingInfo=128]="wrappingInfo"})(A||(A={}));var g;(function(V){V[V.TextDefined=0]="TextDefined",V[V.LF=1]="LF",V[V.CRLF=2]="CRLF"})(g||(g={}));var b;(function(V){V[V.LF=0]="LF",V[V.CRLF=1]="CRLF"})(b||(b={}));var d;(function(V){V[V.None=0]="None",V[V.Indent=1]="Indent",V[V.IndentOutdent=2]="IndentOutdent",V[V.Outdent=3]="Outdent"})(d||(d={}));var O;(function(V){V[V.Other=0]="Other",V[V.Type=1]="Type",V[V.Parameter=2]="Parameter"})(O||(O={}));var E;(function(V){V[V.DependsOnKbLayout=-1]="DependsOnKbLayout",V[V.Unknown=0]="Unknown",V[V.Backspace=1]="Backspace",V[V.Tab=2]="Tab",V[V.Enter=3]="Enter",V[V.Shift=4]="Shift",V[V.Ctrl=5]="Ctrl",V[V.Alt=6]="Alt",V[V.PauseBreak=7]="PauseBreak",V[V.CapsLock=8]="CapsLock",V[V.Escape=9]="Escape",V[V.Space=10]="Space",V[V.PageUp=11]="PageUp",V[V.PageDown=12]="PageDown",V[V.End=13]="End",V[V.Home=14]="Home",V[V.LeftArrow=15]="LeftArrow",V[V.UpArrow=16]="UpArrow",V[V.RightArrow=17]="RightArrow",V[V.DownArrow=18]="DownArrow",V[V.Insert=19]="Insert",V[V.Delete=20]="Delete",V[V.KEY_0=21]="KEY_0",V[V.KEY_1=22]="KEY_1",V[V.KEY_2=23]="KEY_2",V[V.KEY_3=24]="KEY_3",V[V.KEY_4=25]="KEY_4",V[V.KEY_5=26]="KEY_5",V[V.KEY_6=27]="KEY_6",V[V.KEY_7=28]="KEY_7",V[V.KEY_8=29]="KEY_8",V[V.KEY_9=30]="KEY_9",V[V.KEY_A=31]="KEY_A",V[V.KEY_B=32]="KEY_B",V[V.KEY_C=33]="KEY_C",V[V.KEY_D=34]="KEY_D",V[V.KEY_E=35]="KEY_E",V[V.KEY_F=36]="KEY_F",V[V.KEY_G=37]="KEY_G",V[V.KEY_H=38]="KEY_H",V[V.KEY_I=39]="KEY_I",V[V.KEY_J=40]="KEY_J",V[V.KEY_K=41]="KEY_K",V[V.KEY_L=42]="KEY_L",V[V.KEY_M=43]="KEY_M",V[V.KEY_N=44]="KEY_N",V[V.KEY_O=45]="KEY_O",V[V.KEY_P=46]="KEY_P",V[V.KEY_Q=47]="KEY_Q",V[V.KEY_R=48]="KEY_R",V[V.KEY_S=49]="KEY_S",V[V.KEY_T=50]="KEY_T",V[V.KEY_U=51]="KEY_U",V[V.KEY_V=52]="KEY_V",V[V.KEY_W=53]="KEY_W",V[V.KEY_X=54]="KEY_X",V[V.KEY_Y=55]="KEY_Y",V[V.KEY_Z=56]="KEY_Z",V[V.Meta=57]="Meta",V[V.ContextMenu=58]="ContextMenu",V[V.F1=59]="F1",V[V.F2=60]="F2",V[V.F3=61]="F3",V[V.F4=62]="F4",V[V.F5=63]="F5",V[V.F6=64]="F6",V[V.F7=65]="F7",V[V.F8=66]="F8",V[V.F9=67]="F9",V[V.F10=68]="F10",V[V.F11=69]="F11",V[V.F12=70]="F12",V[V.F13=71]="F13",V[V.F14=72]="F14",V[V.F15=73]="F15",V[V.F16=74]="F16",V[V.F17=75]="F17",V[V.F18=76]="F18",V[V.F19=77]="F19",V[V.NumLock=78]="NumLock",V[V.ScrollLock=79]="ScrollLock",V[V.US_SEMICOLON=80]="US_SEMICOLON",V[V.US_EQUAL=81]="US_EQUAL",V[V.US_COMMA=82]="US_COMMA",V[V.US_MINUS=83]="US_MINUS",V[V.US_DOT=84]="US_DOT",V[V.US_SLASH=85]="US_SLASH",V[V.US_BACKTICK=86]="US_BACKTICK",V[V.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",V[V.US_BACKSLASH=88]="US_BACKSLASH",V[V.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",V[V.US_QUOTE=90]="US_QUOTE",V[V.OEM_8=91]="OEM_8",V[V.OEM_102=92]="OEM_102",V[V.NUMPAD_0=93]="NUMPAD_0",V[V.NUMPAD_1=94]="NUMPAD_1",V[V.NUMPAD_2=95]="NUMPAD_2",V[V.NUMPAD_3=96]="NUMPAD_3",V[V.NUMPAD_4=97]="NUMPAD_4",V[V.NUMPAD_5=98]="NUMPAD_5",V[V.NUMPAD_6=99]="NUMPAD_6",V[V.NUMPAD_7=100]="NUMPAD_7",V[V.NUMPAD_8=101]="NUMPAD_8",V[V.NUMPAD_9=102]="NUMPAD_9",V[V.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",V[V.NUMPAD_ADD=104]="NUMPAD_ADD",V[V.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",V[V.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",V[V.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",V[V.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",V[V.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",V[V.ABNT_C1=110]="ABNT_C1",V[V.ABNT_C2=111]="ABNT_C2",V[V.MAX_VALUE=112]="MAX_VALUE"})(E||(E={}));var D;(function(V){V[V.Hint=1]="Hint",V[V.Info=2]="Info",V[V.Warning=4]="Warning",V[V.Error=8]="Error"})(D||(D={}));var W;(function(V){V[V.Unnecessary=1]="Unnecessary",V[V.Deprecated=2]="Deprecated"})(W||(W={}));var te;(function(V){V[V.Inline=1]="Inline",V[V.Gutter=2]="Gutter"})(te||(te={}));var re;(function(V){V[V.UNKNOWN=0]="UNKNOWN",V[V.TEXTAREA=1]="TEXTAREA",V[V.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",V[V.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",V[V.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",V[V.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",V[V.CONTENT_TEXT=6]="CONTENT_TEXT",V[V.CONTENT_EMPTY=7]="CONTENT_EMPTY",V[V.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",V[V.CONTENT_WIDGET=9]="CONTENT_WIDGET",V[V.OVERVIEW_RULER=10]="OVERVIEW_RULER",V[V.SCROLLBAR=11]="SCROLLBAR",V[V.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",V[V.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(re||(re={}));var ye;(function(V){V[V.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",V[V.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",V[V.TOP_CENTER=2]="TOP_CENTER"})(ye||(ye={}));var q;(function(V){V[V.Left=1]="Left",V[V.Center=2]="Center",V[V.Right=4]="Right",V[V.Full=7]="Full"})(q||(q={}));var oe;(function(V){V[V.Off=0]="Off",V[V.On=1]="On",V[V.Relative=2]="Relative",V[V.Interval=3]="Interval",V[V.Custom=4]="Custom"})(oe||(oe={}));var he;(function(V){V[V.None=0]="None",V[V.Text=1]="Text",V[V.Blocks=2]="Blocks"})(he||(he={}));var ue;(function(V){V[V.Smooth=0]="Smooth",V[V.Immediate=1]="Immediate"})(ue||(ue={}));var ne;(function(V){V[V.Auto=1]="Auto",V[V.Hidden=2]="Hidden",V[V.Visible=3]="Visible"})(ne||(ne={}));var se;(function(V){V[V.LTR=0]="LTR",V[V.RTL=1]="RTL"})(se||(se={}));var be;(function(V){V[V.Invoke=1]="Invoke",V[V.TriggerCharacter=2]="TriggerCharacter",V[V.ContentChange=3]="ContentChange"})(be||(be={}));var Z;(function(V){V[V.File=0]="File",V[V.Module=1]="Module",V[V.Namespace=2]="Namespace",V[V.Package=3]="Package",V[V.Class=4]="Class",V[V.Method=5]="Method",V[V.Property=6]="Property",V[V.Field=7]="Field",V[V.Constructor=8]="Constructor",V[V.Enum=9]="Enum",V[V.Interface=10]="Interface",V[V.Function=11]="Function",V[V.Variable=12]="Variable",V[V.Constant=13]="Constant",V[V.String=14]="String",V[V.Number=15]="Number",V[V.Boolean=16]="Boolean",V[V.Array=17]="Array",V[V.Object=18]="Object",V[V.Key=19]="Key",V[V.Null=20]="Null",V[V.EnumMember=21]="EnumMember",V[V.Struct=22]="Struct",V[V.Event=23]="Event",V[V.Operator=24]="Operator",V[V.TypeParameter=25]="TypeParameter"})(Z||(Z={}));var ee;(function(V){V[V.Deprecated=1]="Deprecated"})(ee||(ee={}));var ce;(function(V){V[V.Hidden=0]="Hidden",V[V.Blink=1]="Blink",V[V.Smooth=2]="Smooth",V[V.Phase=3]="Phase",V[V.Expand=4]="Expand",V[V.Solid=5]="Solid"})(ce||(ce={}));var R;(function(V){V[V.Line=1]="Line",V[V.Block=2]="Block",V[V.Underline=3]="Underline",V[V.LineThin=4]="LineThin",V[V.BlockOutline=5]="BlockOutline",V[V.UnderlineThin=6]="UnderlineThin"})(R||(R={}));var y;(function(V){V[V.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",V[V.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",V[V.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",V[V.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(y||(y={}));var C;(function(V){V[V.None=0]="None",V[V.Same=1]="Same",V[V.Indent=2]="Indent",V[V.DeepIndent=3]="DeepIndent"})(C||(C={}));var z=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,null,[{key:"chord",value:function(L,P){return Object(i.a)(L,P)}}]),V}();z.CtrlCmd=2048,z.Shift=1024,z.Alt=512,z.WinCtrl=256;function G(){return{editor:void 0,languages:void 0,CancellationTokenSource:f.b,Emitter:o.a,KeyCode:E,KeyMod:z,Position:n.a,Range:v.a,Selection:m.a,SelectionDirection:se,MarkerSeverity:D,MarkerTag:W,Uri:a.a,Token:h.a}}var X=e("siPX"),pe=e("Vxe3"),ae=e("rAM+"),Se=e("qLMh"),Te=e("oBTY"),je=e("EffR"),ft=e("24hK"),fe=e("QDVR"),ie=e("Q4rV"),ge=e("tYmi"),Ve=e("gslv"),Ee=e("nnTU"),Me;(function(V){V[V.API=0]="API",V[V.USER=1]="USER"})(Me||(Me={}));var _e=e("W9cx"),Re=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},et=function(V,De){return function(L,P){De(L,P,V)}},Xe=function(V,De,L,P){function j(H){return H instanceof L?H:new L(function(Ce){Ce(H)})}return new(L||(L=Promise))(function(H,Ce){function ze(Wt){try{Zt(P.next(Wt))}catch(yn){Ce(yn)}}function yt(Wt){try{Zt(P.throw(Wt))}catch(yn){Ce(yn)}}function Zt(Wt){Wt.done?H(Wt.value):j(Wt.value).then(ze,yt)}Zt((P=P.apply(V,De||[])).next())})},it=function(){function V(De){Object(c.a)(this,V),this._commandService=De}return Object(r.a)(V,[{key:"open",value:function(L,P){return Xe(this,void 0,void 0,Object(Se.a)().mark(function j(){var H,Ce;return Object(Se.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:if(Object(_e.c)(L,ge.c.command)){yt.next=2;break}return yt.abrupt("return",!1);case 2:if(P==null?void 0:P.allowCommands){yt.next=4;break}return yt.abrupt("return",!0);case 4:typeof L=="string"&&(L=a.a.parse(L)),Ce=[];try{Ce=Object(ie.a)(decodeURIComponent(L.query))}catch(Zt){try{Ce=Object(ie.a)(L.query)}catch(Wt){}}return Array.isArray(Ce)||(Ce=[Ce]),yt.next=10,(H=this._commandService).executeCommand.apply(H,[L.path].concat(Object(Te.a)(Ce)));case 10:return yt.abrupt("return",!0);case 11:case"end":return yt.stop()}},j,this)}))}}]),V}();it=Re([et(0,Ee.b)],it);var bt=function(){function V(De){Object(c.a)(this,V),this._editorService=De}return Object(r.a)(V,[{key:"open",value:function(L,P){return Xe(this,void 0,void 0,Object(Se.a)().mark(function j(){var H,Ce;return Object(Se.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return typeof L=="string"&&(L=a.a.parse(L)),H=void 0,Ce=/^L?(\d+)(?:,(\d+))?/.exec(L.fragment),Ce&&(H={startLineNumber:parseInt(Ce[1]),startColumn:Ce[2]?parseInt(Ce[2]):1},L=L.with({fragment:""})),L.scheme===ge.c.file&&(L=Object(Ve.h)(L)),yt.next=7,this._editorService.openCodeEditor({resource:L,options:Object.assign({selection:H,context:(P==null?void 0:P.fromUserGesture)?Me.USER:Me.API},P==null?void 0:P.editorOptions)},this._editorService.getFocusedCodeEditor(),P==null?void 0:P.openToSide);case 7:return yt.abrupt("return",!0);case 8:case"end":return yt.stop()}},j,this)}))}}]),V}();bt=Re([et(0,pe.a)],bt);var Ct=function(){function V(De,L){var P=this;Object(c.a)(this,V),this._openers=new ft.a,this._validators=new ft.a,this._resolvers=new ft.a,this._resolvedUriTargets=new fe.b(function(j){return j.with({path:null,fragment:null,query:null}).toString()}),this._externalOpeners=new ft.a,this._defaultExternalOpener={openExternal:function(H){return Xe(P,void 0,void 0,Object(Se.a)().mark(function Ce(){return Object(Se.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return Object(_e.c)(H,ge.c.http)||Object(_e.c)(H,ge.c.https)?je.windowOpenNoOpener(H):window.location.href=H,yt.abrupt("return",!0);case 2:case"end":return yt.stop()}},Ce)}))}},this._openers.push({open:function(H,Ce){return Xe(P,void 0,void 0,Object(Se.a)().mark(function ze(){return Object(Se.a)().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:if(!((Ce==null?void 0:Ce.openExternal)||Object(_e.c)(H,ge.c.mailto)||Object(_e.c)(H,ge.c.http)||Object(_e.c)(H,ge.c.https))){Zt.next=4;break}return Zt.next=3,this._doOpenExternal(H,Ce);case 3:return Zt.abrupt("return",!0);case 4:return Zt.abrupt("return",!1);case 5:case"end":return Zt.stop()}},ze,this)}))}}),this._openers.push(new it(L)),this._openers.push(new bt(De))}return Object(r.a)(V,[{key:"registerOpener",value:function(L){var P=this._openers.unshift(L);return{dispose:P}}},{key:"registerValidator",value:function(L){var P=this._validators.push(L);return{dispose:P}}},{key:"registerExternalUriResolver",value:function(L){var P=this._resolvers.push(L);return{dispose:P}}},{key:"setDefaultExternalOpener",value:function(L){this._defaultExternalOpener=L}},{key:"registerExternalOpener",value:function(L){var P=this._externalOpeners.push(L);return{dispose:P}}},{key:"open",value:function(L,P){var j;return Xe(this,void 0,void 0,Object(Se.a)().mark(function H(){var Ce,ze,yt,Zt,Wt,yn,tr,Er,ni;return Object(Se.a)().wrap(function(oi){for(;;)switch(oi.prev=oi.next){case 0:Ce=typeof L=="string"?a.a.parse(L):L,ze=(j=this._resolvedUriTargets.get(Ce))!==null&&j!==void 0?j:L,yt=Object(ae.a)(this._validators),oi.prev=3,yt.s();case 5:if((Zt=yt.n()).done){oi.next=13;break}return Wt=Zt.value,oi.next=9,Wt.shouldOpen(ze);case 9:if(oi.sent){oi.next=11;break}return oi.abrupt("return",!1);case 11:oi.next=5;break;case 13:oi.next=18;break;case 15:oi.prev=15,oi.t0=oi.catch(3),yt.e(oi.t0);case 18:return oi.prev=18,yt.f(),oi.finish(18);case 21:yn=Object(ae.a)(this._openers),oi.prev=22,yn.s();case 24:if((tr=yn.n()).done){oi.next=33;break}return Er=tr.value,oi.next=28,Er.open(L,P);case 28:if(ni=oi.sent,!ni){oi.next=31;break}return oi.abrupt("return",!0);case 31:oi.next=24;break;case 33:oi.next=38;break;case 35:oi.prev=35,oi.t1=oi.catch(22),yn.e(oi.t1);case 38:return oi.prev=38,yn.f(),oi.finish(38);case 41:return oi.abrupt("return",!1);case 42:case"end":return oi.stop()}},H,this,[[3,15,18,21],[22,35,38,41]])}))}},{key:"resolveExternalUri",value:function(L,P){return Xe(this,void 0,void 0,Object(Se.a)().mark(function j(){var H,Ce,ze,yt;return Object(Se.a)().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:H=Object(ae.a)(this._resolvers),Wt.prev=1,H.s();case 3:if((Ce=H.n()).done){Wt.next=13;break}return ze=Ce.value,Wt.next=7,ze.resolveExternalUri(L,P);case 7:if(yt=Wt.sent,!yt){Wt.next=11;break}return this._resolvedUriTargets.has(yt.resolved)||this._resolvedUriTargets.set(yt.resolved,L),Wt.abrupt("return",yt);case 11:Wt.next=3;break;case 13:Wt.next=18;break;case 15:Wt.prev=15,Wt.t0=Wt.catch(1),H.e(Wt.t0);case 18:return Wt.prev=18,H.f(),Wt.finish(18);case 21:return Wt.abrupt("return",{resolved:L,dispose:function(){}});case 22:case"end":return Wt.stop()}},j,this,[[1,15,18,21]])}))}},{key:"_doOpenExternal",value:function(L,P){return Xe(this,void 0,void 0,Object(Se.a)().mark(function j(){var H,Ce,ze,yt,Zt,Wt,yn,tr,Er;return Object(Se.a)().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:return H=typeof L=="string"?a.a.parse(L):L,Oi.next=3,this.resolveExternalUri(H,P);case 3:if(Ce=Oi.sent,ze=Ce.resolved,typeof L=="string"&&H.toString()===ze.toString()?yt=L:yt=encodeURI(ze.toString(!0)),!(P==null?void 0:P.allowContributedOpeners)){Oi.next=28;break}Zt=typeof(P==null?void 0:P.allowContributedOpeners)=="string"?P==null?void 0:P.allowContributedOpeners:void 0,Wt=Object(ae.a)(this._externalOpeners),Oi.prev=9,Wt.s();case 11:if((yn=Wt.n()).done){Oi.next=20;break}return tr=yn.value,Oi.next=15,tr.openExternal(yt,{sourceUri:H,preferredOpenerId:Zt},f.a.None);case 15:if(Er=Oi.sent,!Er){Oi.next=18;break}return Oi.abrupt("return",!0);case 18:Oi.next=11;break;case 20:Oi.next=25;break;case 22:Oi.prev=22,Oi.t0=Oi.catch(9),Wt.e(Oi.t0);case 25:return Oi.prev=25,Wt.f(),Oi.finish(25);case 28:return Oi.abrupt("return",this._defaultExternalOpener.openExternal(yt,{sourceUri:H},f.a.None));case 29:case"end":return Oi.stop()}},j,this,[[9,22,25,28]])}))}},{key:"dispose",value:function(){this._validators.clear()}}]),V}();Ct=Re([et(0,pe.a),et(1,Ee.b)],Ct);var Bt=e("0Lb2"),qe=e("+3Gp"),st=e("iuje"),ut=e("M1Kb"),nt=e("twdY"),kt=e("i/Ef"),Sn=e("pAvP"),Tt=e("WBhO"),ht=e("t49l"),Rt=e("yKVA"),Ft=e("879j"),nn=e("w4Tj"),bn=e("oZsa"),sn=e("X+cX"),un=e("pmY6"),Ht=e("/cxE"),jn=e("MNsG"),Ln=e("746U"),Un="$initialize",lt=!1;function Nt(V){!jn.i||(lt||(lt=!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(V.message))}var zt=function(){function V(De){Object(c.a)(this,V),this._workerId=-1,this._handler=De,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return Object(r.a)(V,[{key:"setWorkerId",value:function(L){this._workerId=L}},{key:"sendMessage",value:function(L,P){var j=this,H=String(++this._lastSentReq);return new Promise(function(Ce,ze){j._pendingReplies[H]={resolve:Ce,reject:ze},j._send({vsWorker:j._workerId,req:H,method:L,args:P})})}},{key:"handleMessage",value:function(L){!L||!L.vsWorker||this._workerId!==-1&&L.vsWorker!==this._workerId||this._handleMessage(L)}},{key:"_handleMessage",value:function(L){var P=this;if(L.seq){var j=L;if(!this._pendingReplies[j.seq]){console.warn("Got reply to unknown seq");return}var H=this._pendingReplies[j.seq];if(delete this._pendingReplies[j.seq],j.err){var Ce=j.err;j.err.$isError&&(Ce=new Error,Ce.name=j.err.name,Ce.message=j.err.message,Ce.stack=j.err.stack),H.reject(Ce);return}H.resolve(j.res);return}var ze=L,yt=ze.req,Zt=this._handler.handleMessage(ze.method,ze.args);Zt.then(function(Wt){P._send({vsWorker:P._workerId,seq:yt,res:Wt,err:void 0})},function(Wt){Wt.detail instanceof Error&&(Wt.detail=Object(Ht.g)(Wt.detail)),P._send({vsWorker:P._workerId,seq:yt,res:void 0,err:Object(Ht.g)(Wt)})})}},{key:"_send",value:function(L){var P=[];if(L.req)for(var j=L,H=0;H<j.args.length;H++)j.args[H]instanceof ArrayBuffer&&P.push(j.args[H]);else{var Ce=L;Ce.res instanceof ArrayBuffer&&P.push(Ce.res)}this._handler.sendMessage(L,P)}}]),V}(),en=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H){var Ce;Object(c.a)(this,L),Ce=De.call(this);var ze=null;Ce._worker=Ce._register(P.create("vs/base/common/worker/simpleWorker",function(yn){Ce._protocol.handleMessage(yn)},function(yn){ze&&ze(yn)})),Ce._protocol=new zt({sendMessage:function(tr,Er){Ce._worker.postMessage(tr,Er)},handleMessage:function(tr,Er){if(typeof H[tr]!="function")return Promise.reject(new Error("Missing method "+tr+" on main thread host."));try{return Promise.resolve(H[tr].apply(H,Er))}catch(ni){return Promise.reject(ni)}}}),Ce._protocol.setWorkerId(Ce._worker.getId());var yt=null;typeof self.require!="undefined"&&typeof self.require.getConfig=="function"?yt=self.require.getConfig():typeof self.requirejs!="undefined"&&(yt=self.requirejs.s.contexts._.config);var Zt=Ln.d(H);Ce._onModuleLoaded=Ce._protocol.sendMessage(Un,[Ce._worker.getId(),JSON.parse(JSON.stringify(yt)),j,Zt]);var Wt=function(tr,Er){return Ce._request(tr,Er)};return Ce._lazyProxy=new Promise(function(yn,tr){ze=tr,Ce._onModuleLoaded.then(function(Er){yn(Ln.c(Er,Wt))},function(Er){tr(Er),Ce._onError("Worker failed to load "+j,Er)})}),Ce}return Object(r.a)(L,[{key:"getProxyObject",value:function(){return this._lazyProxy}},{key:"_request",value:function(j,H){var Ce=this;return new Promise(function(ze,yt){Ce._onModuleLoaded.then(function(){Ce._protocol.sendMessage(j,H).then(ze,yt)},yt)})}},{key:"_onError",value:function(j,H){console.error(j),console.info(H)}}]),L}(un.a),tn=function(){function V(De,L){var P=this;Object(c.a)(this,V),this._requestHandlerFactory=L,this._requestHandler=null,this._protocol=new zt({sendMessage:function(H,Ce){De(H,Ce)},handleMessage:function(H,Ce){return P._handleMessage(H,Ce)}})}return Object(r.a)(V,[{key:"onmessage",value:function(L){this._protocol.handleMessage(L)}},{key:"_handleMessage",value:function(L,P){if(L===Un)return this.initialize(P[0],P[1],P[2],P[3]);if(!this._requestHandler||typeof this._requestHandler[L]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+L));try{return Promise.resolve(this._requestHandler[L].apply(this._requestHandler,P))}catch(j){return Promise.reject(j)}}},{key:"initialize",value:function(L,P,j,H){var Ce=this;this._protocol.setWorkerId(L);var ze=function(Wt,yn){return Ce._protocol.sendMessage(Wt,yn)},yt=Ln.c(H,ze);return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(yt),Promise.resolve(Ln.d(this._requestHandler))):(P&&(typeof P.baseUrl!="undefined"&&delete P.baseUrl,typeof P.paths!="undefined"&&typeof P.paths.vs!="undefined"&&delete P.paths.vs,typeof P.trustedTypesPolicy!==void 0&&delete P.trustedTypesPolicy,P.catchError=!0,self.require.config(P)),new Promise(function(Zt,Wt){self.require([j],function(yn){if(Ce._requestHandler=yn.create(yt),!Ce._requestHandler){Wt(new Error("No RequestHandler!"));return}Zt(Ln.d(Ce._requestHandler))},Wt)}))}}]),V}();function wn(V){return new tn(V,null)}var on,vn=(on=window.trustedTypes)===null||on===void 0?void 0:on.createPolicy("defaultWorkerFactory",{createScriptURL:function(De){return De}});function dt(V,De){if(jn.b.MonacoEnvironment){if(typeof jn.b.MonacoEnvironment.getWorker=="function")return jn.b.MonacoEnvironment.getWorker(V,De);if(typeof jn.b.MonacoEnvironment.getWorkerUrl=="function"){var L=jn.b.MonacoEnvironment.getWorkerUrl(V,De);return new Worker(vn?vn.createScriptURL(L):L,{name:De})}}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function ct(V){return typeof V.then=="function"}var Kt=function(){function V(De,L,P,j,H){Object(c.a)(this,V),this.id=L;var Ce=dt("workerMain.js",P);ct(Ce)?this.worker=Ce:this.worker=Promise.resolve(Ce),this.postMessage(De,[]),this.worker.then(function(ze){ze.onmessage=function(yt){j(yt.data)},ze.onmessageerror=H,typeof ze.addEventListener=="function"&&ze.addEventListener("error",H)})}return Object(r.a)(V,[{key:"getId",value:function(){return this.id}},{key:"postMessage",value:function(L,P){this.worker&&this.worker.then(function(j){return j.postMessage(L,P)})}},{key:"dispose",value:function(){this.worker&&this.worker.then(function(L){return L.terminate()}),this.worker=null}}]),V}(),pn=function(){function V(De){Object(c.a)(this,V),this._label=De,this._webWorkerFailedBeforeError=!1}return Object(r.a)(V,[{key:"create",value:function(L,P,j){var H=this,Ce=++V.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new Kt(L,Ce,this._label||"anonymous"+Ce,P,function(ze){Nt(ze),H._webWorkerFailedBeforeError=ze,j(ze)})}}]),V}();pn.LAST_WORKER_ID=0;var kn=e("cMvZ"),Pt=e("jrin"),gn=e("Gw4z"),_n=e("N0LK"),Kn=3;function qn(V,De,L,P){var j=new gn.a(V,De,L);return j.ComputeDiff(P)}var rr=function(){function V(De){Object(c.a)(this,V);for(var L=[],P=[],j=0,H=De.length;j<H;j++)L[j]=br(De[j],1),P[j]=_r(De[j],1);this.lines=De,this._startColumns=L,this._endColumns=P}return Object(r.a)(V,[{key:"getElements",value:function(){for(var L=[],P=0,j=this.lines.length;P<j;P++)L[P]=this.lines[P].substring(this._startColumns[P]-1,this._endColumns[P]-1);return L}},{key:"getStartLineNumber",value:function(L){return L+1}},{key:"getEndLineNumber",value:function(L){return L+1}},{key:"createCharSequence",value:function(L,P,j){for(var H=[],Ce=[],ze=[],yt=0,Zt=P;Zt<=j;Zt++)for(var Wt=this.lines[Zt],yn=L?this._startColumns[Zt]:1,tr=L?this._endColumns[Zt]:Wt.length+1,Er=yn;Er<tr;Er++)H[yt]=Wt.charCodeAt(Er-1),Ce[yt]=Zt+1,ze[yt]=Er,yt++;return new Rn(H,Ce,ze)}}]),V}(),Rn=function(){function V(De,L,P){Object(c.a)(this,V),this._charCodes=De,this._lineNumbers=L,this._columns=P}return Object(r.a)(V,[{key:"getElements",value:function(){return this._charCodes}},{key:"getStartLineNumber",value:function(L){return this._lineNumbers[L]}},{key:"getStartColumn",value:function(L){return this._columns[L]}},{key:"getEndLineNumber",value:function(L){return this._lineNumbers[L]}},{key:"getEndColumn",value:function(L){return this._columns[L]+1}}]),V}(),mr=function(){function V(De,L,P,j,H,Ce,ze,yt){Object(c.a)(this,V),this.originalStartLineNumber=De,this.originalStartColumn=L,this.originalEndLineNumber=P,this.originalEndColumn=j,this.modifiedStartLineNumber=H,this.modifiedStartColumn=Ce,this.modifiedEndLineNumber=ze,this.modifiedEndColumn=yt}return Object(r.a)(V,null,[{key:"createFromDiffChange",value:function(L,P,j){var H,Ce,ze,yt,Zt,Wt,yn,tr;return L.originalLength===0?(H=0,Ce=0,ze=0,yt=0):(H=P.getStartLineNumber(L.originalStart),Ce=P.getStartColumn(L.originalStart),ze=P.getEndLineNumber(L.originalStart+L.originalLength-1),yt=P.getEndColumn(L.originalStart+L.originalLength-1)),L.modifiedLength===0?(Zt=0,Wt=0,yn=0,tr=0):(Zt=j.getStartLineNumber(L.modifiedStart),Wt=j.getStartColumn(L.modifiedStart),yn=j.getEndLineNumber(L.modifiedStart+L.modifiedLength-1),tr=j.getEndColumn(L.modifiedStart+L.modifiedLength-1)),new V(H,Ce,ze,yt,Zt,Wt,yn,tr)}}]),V}();function ar(V){if(V.length<=1)return V;for(var De=[V[0]],L=De[0],P=1,j=V.length;P<j;P++){var H=V[P],Ce=H.originalStart-(L.originalStart+L.originalLength),ze=H.modifiedStart-(L.modifiedStart+L.modifiedLength),yt=Math.min(Ce,ze);yt<Kn?(L.originalLength=H.originalStart+H.originalLength-L.originalStart,L.modifiedLength=H.modifiedStart+H.modifiedLength-L.modifiedStart):(De.push(H),L=H)}return De}var sr=function(){function V(De,L,P,j,H){Object(c.a)(this,V),this.originalStartLineNumber=De,this.originalEndLineNumber=L,this.modifiedStartLineNumber=P,this.modifiedEndLineNumber=j,this.charChanges=H}return Object(r.a)(V,null,[{key:"createFromDiffResult",value:function(L,P,j,H,Ce,ze,yt){var Zt,Wt,yn,tr,Er=void 0;if(P.originalLength===0?(Zt=j.getStartLineNumber(P.originalStart)-1,Wt=0):(Zt=j.getStartLineNumber(P.originalStart),Wt=j.getEndLineNumber(P.originalStart+P.originalLength-1)),P.modifiedLength===0?(yn=H.getStartLineNumber(P.modifiedStart)-1,tr=0):(yn=H.getStartLineNumber(P.modifiedStart),tr=H.getEndLineNumber(P.modifiedStart+P.modifiedLength-1)),ze&&P.originalLength>0&&P.originalLength<20&&P.modifiedLength>0&&P.modifiedLength<20&&Ce()){var ni=j.createCharSequence(L,P.originalStart,P.originalStart+P.originalLength-1),Oi=H.createCharSequence(L,P.modifiedStart,P.modifiedStart+P.modifiedLength-1),oi=qn(ni,Oi,Ce,!0).changes;yt&&(oi=ar(oi)),Er=[];for(var ui=0,Bi=oi.length;ui<Bi;ui++)Er.push(mr.createFromDiffChange(oi[ui],ni,Oi))}return new V(Zt,Wt,yn,tr,Er)}}]),V}(),yr=function(){function V(De,L,P){Object(c.a)(this,V),this.shouldComputeCharChanges=P.shouldComputeCharChanges,this.shouldPostProcessCharChanges=P.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=P.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=P.shouldMakePrettyDiff,this.originalLines=De,this.modifiedLines=L,this.original=new rr(De),this.modified=new rr(L),this.continueLineDiff=li(P.maxComputationTime),this.continueCharDiff=li(P.maxComputationTime===0?0:Math.min(P.maxComputationTime,5e3))}return Object(r.a)(V,[{key:"computeDiff",value:function(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};var L=qn(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),P=L.changes,j=L.quitEarly;if(this.shouldIgnoreTrimWhitespace){for(var H=[],Ce=0,ze=P.length;Ce<ze;Ce++)H.push(sr.createFromDiffResult(this.shouldIgnoreTrimWhitespace,P[Ce],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:j,changes:H}}for(var yt=[],Zt=0,Wt=0,yn=-1,tr=P.length;yn<tr;yn++){for(var Er=yn+1<tr?P[yn+1]:null,ni=Er?Er.originalStart:this.originalLines.length,Oi=Er?Er.modifiedStart:this.modifiedLines.length;Zt<ni&&Wt<Oi;){var oi=this.originalLines[Zt],ui=this.modifiedLines[Wt];if(oi!==ui){{for(var Bi=br(oi,1),Pa=br(ui,1);Bi>1&&Pa>1;){var za=oi.charCodeAt(Bi-2),wo=ui.charCodeAt(Pa-2);if(za!==wo)break;Bi--,Pa--}(Bi>1||Pa>1)&&this._pushTrimWhitespaceCharChange(yt,Zt+1,1,Bi,Wt+1,1,Pa)}{for(var yo=_r(oi,1),bs=_r(ui,1),Xo=oi.length+1,zs=ui.length+1;yo<Xo&&bs<zs;){var nl=oi.charCodeAt(yo-1),zl=oi.charCodeAt(bs-1);if(nl!==zl)break;yo++,bs++}(yo<Xo||bs<zs)&&this._pushTrimWhitespaceCharChange(yt,Zt+1,yo,Xo,Wt+1,bs,zs)}}Zt++,Wt++}Er&&(yt.push(sr.createFromDiffResult(this.shouldIgnoreTrimWhitespace,Er,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),Zt+=Er.originalLength,Wt+=Er.modifiedLength)}return{quitEarly:j,changes:yt}}},{key:"_pushTrimWhitespaceCharChange",value:function(L,P,j,H,Ce,ze,yt){if(!this._mergeTrimWhitespaceCharChange(L,P,j,H,Ce,ze,yt)){var Zt=void 0;this.shouldComputeCharChanges&&(Zt=[new mr(P,j,P,H,Ce,ze,Ce,yt)]),L.push(new sr(P,P,Ce,Ce,Zt))}}},{key:"_mergeTrimWhitespaceCharChange",value:function(L,P,j,H,Ce,ze,yt){var Zt=L.length;if(Zt===0)return!1;var Wt=L[Zt-1];return Wt.originalEndLineNumber===0||Wt.modifiedEndLineNumber===0?!1:Wt.originalEndLineNumber+1===P&&Wt.modifiedEndLineNumber+1===Ce?(Wt.originalEndLineNumber=P,Wt.modifiedEndLineNumber=Ce,this.shouldComputeCharChanges&&Wt.charChanges&&Wt.charChanges.push(new mr(P,j,P,H,Ce,ze,Ce,yt)),!0):!1}}]),V}();function br(V,De){var L=_n.v(V);return L===-1?De:L+1}function _r(V,De){var L=_n.I(V);return L===-1?De:L+2}function li(V){if(V===0)return function(){return!0};var De=Date.now();return function(){return Date.now()-De<V}}var xi=e("LeU+"),Mi=function(){function V(De,L,P,j){Object(c.a)(this,V),this._uri=De,this._lines=L,this._eol=P,this._versionId=j,this._lineStarts=null,this._cachedTextValue=null}return Object(r.a)(V,[{key:"dispose",value:function(){this._lines.length=0}},{key:"version",get:function(){return this._versionId}},{key:"getText",value:function(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}},{key:"onEvents",value:function(L){L.eol&&L.eol!==this._eol&&(this._eol=L.eol,this._lineStarts=null);var P=L.changes,j=Object(ae.a)(P),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;this._acceptDeleteRange(Ce.range),this._acceptInsertText(new n.a(Ce.range.startLineNumber,Ce.range.startColumn),Ce.text)}}catch(ze){j.e(ze)}finally{j.f()}this._versionId=L.versionId,this._cachedTextValue=null}},{key:"_ensureLineStarts",value:function(){if(!this._lineStarts){for(var L=this._eol.length,P=this._lines.length,j=new Uint32Array(P),H=0;H<P;H++)j[H]=this._lines[H].length+L;this._lineStarts=new xi.a(j)}}},{key:"_setLineText",value:function(L,P){this._lines[L]=P,this._lineStarts&&this._lineStarts.changeValue(L,this._lines[L].length+this._eol.length)}},{key:"_acceptDeleteRange",value:function(L){if(L.startLineNumber===L.endLineNumber){if(L.startColumn===L.endColumn)return;this._setLineText(L.startLineNumber-1,this._lines[L.startLineNumber-1].substring(0,L.startColumn-1)+this._lines[L.startLineNumber-1].substring(L.endColumn-1));return}this._setLineText(L.startLineNumber-1,this._lines[L.startLineNumber-1].substring(0,L.startColumn-1)+this._lines[L.endLineNumber-1].substring(L.endColumn-1)),this._lines.splice(L.startLineNumber,L.endLineNumber-L.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(L.startLineNumber,L.endLineNumber-L.startLineNumber)}},{key:"_acceptInsertText",value:function(L,P){if(P.length!==0){var j=Object(_n.Q)(P);if(j.length===1){this._setLineText(L.lineNumber-1,this._lines[L.lineNumber-1].substring(0,L.column-1)+j[0]+this._lines[L.lineNumber-1].substring(L.column-1));return}j[j.length-1]+=this._lines[L.lineNumber-1].substring(L.column-1),this._setLineText(L.lineNumber-1,this._lines[L.lineNumber-1].substring(0,L.column-1)+j[0]);for(var H=new Uint32Array(j.length-1),Ce=1;Ce<j.length;Ce++)this._lines.splice(L.lineNumber+Ce-1,0,j[Ce]),H[Ce-1]=j[Ce].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(L.lineNumber,H)}}}]),V}(),Fr=e("0JNc"),ur=e("tJVT"),Ti=e("MXAL"),Xi=function(){function V(De,L,P){Object(c.a)(this,V);for(var j=new Uint8Array(De*L),H=0,Ce=De*L;H<Ce;H++)j[H]=P;this._data=j,this.rows=De,this.cols=L}return Object(r.a)(V,[{key:"get",value:function(L,P){return this._data[L*this.cols+P]}},{key:"set",value:function(L,P,j){this._data[L*this.cols+P]=j}}]),V}(),ca=function(){function V(De){Object(c.a)(this,V);for(var L=0,P=0,j=0,H=De.length;j<H;j++){var Ce=Object(ur.a)(De[j],3),ze=Ce[0],yt=Ce[1],Zt=Ce[2];yt>L&&(L=yt),ze>P&&(P=ze),Zt>P&&(P=Zt)}L++,P++;for(var Wt=new Xi(P,L,0),yn=0,tr=De.length;yn<tr;yn++){var Er=Object(ur.a)(De[yn],3),ni=Er[0],Oi=Er[1],oi=Er[2];Wt.set(ni,Oi,oi)}this._states=Wt,this._maxCharCode=L}return Object(r.a)(V,[{key:"nextState",value:function(L,P){return P<0||P>=this._maxCharCode?0:this._states.get(L,P)}}]),V}(),Zi=null;function xa(){return Zi===null&&(Zi=new ca([[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]])),Zi}var va=null;function Ma(){if(va===null){va=new Ti.a(0);for(var V=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u3011\u300F\u300D\u300B\u3009\u201D\u2019\uFF40\uFF5E\u2026`,De=0;De<V.length;De++)va.set(V.charCodeAt(De),1);for(var L=".,;",P=0;P<L.length;P++)va.set(L.charCodeAt(P),2)}return va}var _a=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,null,[{key:"_createLink",value:function(L,P,j,H,Ce){var ze=Ce-1;do{var yt=P.charCodeAt(ze),Zt=L.get(yt);if(Zt!==2)break;ze--}while(ze>H);if(H>0){var Wt=P.charCodeAt(H-1),yn=P.charCodeAt(ze);(Wt===40&&yn===41||Wt===91&&yn===93||Wt===123&&yn===125)&&ze--}return{range:{startLineNumber:j,startColumn:H+1,endLineNumber:j,endColumn:ze+2},url:P.substring(H,ze+1)}}},{key:"computeLinks",value:function(L){for(var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:xa(),j=Ma(),H=[],Ce=1,ze=L.getLineCount();Ce<=ze;Ce++){for(var yt=L.getLineContent(Ce),Zt=yt.length,Wt=0,yn=0,tr=0,Er=1,ni=!1,Oi=!1,oi=!1,ui=!1;Wt<Zt;){var Bi=!1,Pa=yt.charCodeAt(Wt);if(Er===13){var za=void 0;switch(Pa){case 40:ni=!0,za=0;break;case 41:za=ni?0:1;break;case 91:oi=!0,Oi=!0,za=0;break;case 93:oi=!1,za=Oi?0:1;break;case 123:ui=!0,za=0;break;case 125:za=ui?0:1;break;case 39:za=tr===34||tr===96?0:1;break;case 34:za=tr===39||tr===96?0:1;break;case 96:za=tr===39||tr===34?0:1;break;case 42:za=tr===42?1:0;break;case 124:za=tr===124?1:0;break;case 32:za=oi?0:1;break;default:za=j.get(Pa)}za===1&&(H.push(V._createLink(j,yt,Ce,yn,Wt)),Bi=!0)}else if(Er===12){var wo=void 0;Pa===91?(Oi=!0,wo=0):wo=j.get(Pa),wo===1?Bi=!0:Er=13}else Er=P.nextState(Er,Pa),Er===0&&(Bi=!0);Bi&&(Er=1,ni=!1,Oi=!1,ui=!1,yn=Wt+1,tr=Pa),Wt++}Er===13&&H.push(V._createLink(j,yt,Ce,yn,Zt))}return H}}]),V}();function na(V){return!V||typeof V.getLineCount!="function"||typeof V.getLineContent!="function"?[]:_a.computeLinks(V)}var sa=function(){function V(){Object(c.a)(this,V),this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return Object(r.a)(V,[{key:"navigateValueSet",value:function(L,P,j,H,Ce){if(L&&P){var ze=this.doNavigateValueSet(P,Ce);if(ze)return{range:L,value:ze}}if(j&&H){var yt=this.doNavigateValueSet(H,Ce);if(yt)return{range:j,value:yt}}return null}},{key:"doNavigateValueSet",value:function(L,P){var j=this.numberReplace(L,P);return j!==null?j:this.textReplace(L,P)}},{key:"numberReplace",value:function(L,P){var j=Math.pow(10,L.length-(L.lastIndexOf(".")+1)),H=Number(L),Ce=parseFloat(L);return!isNaN(H)&&!isNaN(Ce)&&H===Ce?H===0&&!P?null:(H=Math.floor(H*j),H+=P?j:-j,String(H/j)):null}},{key:"textReplace",value:function(L,P){return this.valueSetsReplace(this._defaultValueSet,L,P)}},{key:"valueSetsReplace",value:function(L,P,j){for(var H=null,Ce=0,ze=L.length;H===null&&Ce<ze;Ce++)H=this.valueSetReplace(L[Ce],P,j);return H}},{key:"valueSetReplace",value:function(L,P,j){var H=L.indexOf(P);return H>=0?(H+=j?1:-1,H<0?H=L.length-1:H%=L.length,L[H]):null}}]),V}();sa.INSTANCE=new sa;var Ai=e("5Y4S"),ba=function(V,De,L,P){function j(H){return H instanceof L?H:new L(function(Ce){Ce(H)})}return new(L||(L=Promise))(function(H,Ce){function ze(Wt){try{Zt(P.next(Wt))}catch(yn){Ce(yn)}}function yt(Wt){try{Zt(P.throw(Wt))}catch(yn){Ce(yn)}}function Zt(Wt){Wt.done?H(Wt.value):j(Wt.value).then(ze,yt)}Zt((P=P.apply(V,De||[])).next())})},ea=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){return Object(c.a)(this,L),De.apply(this,arguments)}return Object(r.a)(L,[{key:"uri",get:function(){return this._uri}},{key:"eol",get:function(){return this._eol}},{key:"getValue",value:function(){return this.getText()}},{key:"getLinesContent",value:function(){return this._lines.slice(0)}},{key:"getLineCount",value:function(){return this._lines.length}},{key:"getLineContent",value:function(j){return this._lines[j-1]}},{key:"getWordAtPosition",value:function(j,H){var Ce=Object(Fr.d)(j.column,Object(Fr.c)(H),this._lines[j.lineNumber-1],0);return Ce?new v.a(j.lineNumber,Ce.startColumn,j.lineNumber,Ce.endColumn):null}},{key:"words",value:function(j){var H=this._lines,Ce=this._wordenize.bind(this),ze=0,yt="",Zt=0,Wt=[];return Object(Pt.a)({},Symbol.iterator,Object(Se.a)().mark(function yn(){var tr;return Object(Se.a)().wrap(function(ni){for(;;)switch(ni.prev=ni.next){case 0:if(!(Zt<Wt.length)){ni.next=8;break}return tr=yt.substring(Wt[Zt].start,Wt[Zt].end),Zt+=1,ni.next=6,tr;case 6:ni.next=16;break;case 8:if(!(ze<H.length)){ni.next=15;break}yt=H[ze],Wt=Ce(yt,j),Zt=0,ze+=1,ni.next=16;break;case 15:return ni.abrupt("break",18);case 16:ni.next=0;break;case 18:case"end":return ni.stop()}},yn)}))}},{key:"getLineWords",value:function(j,H){var Ce=this._lines[j-1],ze=this._wordenize(Ce,H),yt=[],Zt=Object(ae.a)(ze),Wt;try{for(Zt.s();!(Wt=Zt.n()).done;){var yn=Wt.value;yt.push({word:Ce.substring(yn.start,yn.end),startColumn:yn.start+1,endColumn:yn.end+1})}}catch(tr){Zt.e(tr)}finally{Zt.f()}return yt}},{key:"_wordenize",value:function(j,H){var Ce=[],ze;for(H.lastIndex=0;(ze=H.exec(j))&&ze[0].length!==0;)Ce.push({start:ze.index,end:ze.index+ze[0].length});return Ce}},{key:"getValueInRange",value:function(j){if(j=this._validateRange(j),j.startLineNumber===j.endLineNumber)return this._lines[j.startLineNumber-1].substring(j.startColumn-1,j.endColumn-1);var H=this._eol,Ce=j.startLineNumber-1,ze=j.endLineNumber-1,yt=[];yt.push(this._lines[Ce].substring(j.startColumn-1));for(var Zt=Ce+1;Zt<ze;Zt++)yt.push(this._lines[Zt]);return yt.push(this._lines[ze].substring(0,j.endColumn-1)),yt.join(H)}},{key:"offsetAt",value:function(j){return j=this._validatePosition(j),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(j.lineNumber-2)+(j.column-1)}},{key:"positionAt",value:function(j){j=Math.floor(j),j=Math.max(0,j),this._ensureLineStarts();var H=this._lineStarts.getIndexOf(j),Ce=this._lines[H.index].length;return{lineNumber:1+H.index,column:1+Math.min(H.remainder,Ce)}}},{key:"_validateRange",value:function(j){var H=this._validatePosition({lineNumber:j.startLineNumber,column:j.startColumn}),Ce=this._validatePosition({lineNumber:j.endLineNumber,column:j.endColumn});return H.lineNumber!==j.startLineNumber||H.column!==j.startColumn||Ce.lineNumber!==j.endLineNumber||Ce.column!==j.endColumn?{startLineNumber:H.lineNumber,startColumn:H.column,endLineNumber:Ce.lineNumber,endColumn:Ce.column}:j}},{key:"_validatePosition",value:function(j){if(!n.a.isIPosition(j))throw new Error("bad position");var H=j.lineNumber,Ce=j.column,ze=!1;if(H<1)H=1,Ce=1,ze=!0;else if(H>this._lines.length)H=this._lines.length,Ce=this._lines[H-1].length+1,ze=!0;else{var yt=this._lines[H-1].length+1;Ce<1?(Ce=1,ze=!0):Ce>yt&&(Ce=yt,ze=!0)}return ze?{lineNumber:H,column:Ce}:j}}]),L}(Mi),mn=function(){function V(De,L){Object(c.a)(this,V),this._host=De,this._models=Object.create(null),this._foreignModuleFactory=L,this._foreignModule=null}return Object(r.a)(V,[{key:"dispose",value:function(){this._models=Object.create(null)}},{key:"_getModel",value:function(L){return this._models[L]}},{key:"_getModels",value:function(){var L=this,P=[];return Object.keys(this._models).forEach(function(j){return P.push(L._models[j])}),P}},{key:"acceptNewModel",value:function(L){this._models[L.url]=new ea(a.a.parse(L.url),L.lines,L.EOL,L.versionId)}},{key:"acceptModelChanged",value:function(L,P){if(!!this._models[L]){var j=this._models[L];j.onEvents(P)}}},{key:"acceptRemovedModel",value:function(L){!this._models[L]||delete this._models[L]}},{key:"computeDiff",value:function(L,P,j,H){return ba(this,void 0,void 0,Object(Se.a)().mark(function Ce(){var ze,yt,Zt,Wt,yn,tr,Er;return Object(Se.a)().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:if(ze=this._getModel(L),yt=this._getModel(P),!(!ze||!yt)){Oi.next=4;break}return Oi.abrupt("return",null);case 4:return Zt=ze.getLinesContent(),Wt=yt.getLinesContent(),yn=new yr(Zt,Wt,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:j,shouldMakePrettyDiff:!0,maxComputationTime:H}),tr=yn.computeDiff(),Er=tr.changes.length>0?!1:this._modelsAreIdentical(ze,yt),Oi.abrupt("return",{quitEarly:tr.quitEarly,identical:Er,changes:tr.changes});case 10:case"end":return Oi.stop()}},Ce,this)}))}},{key:"_modelsAreIdentical",value:function(L,P){var j=L.getLineCount(),H=P.getLineCount();if(j!==H)return!1;for(var Ce=1;Ce<=j;Ce++){var ze=L.getLineContent(Ce),yt=P.getLineContent(Ce);if(ze!==yt)return!1}return!0}},{key:"computeMoreMinimalEdits",value:function(L,P){return ba(this,void 0,void 0,Object(Se.a)().mark(function j(){var H,Ce,ze,yt,Zt,Wt,yn,tr,Er,ni,Oi,oi,ui,Bi,Pa,za,wo,yo;return Object(Se.a)().wrap(function(Xo){for(;;)switch(Xo.prev=Xo.next){case 0:if(H=this._getModel(L),H){Xo.next=3;break}return Xo.abrupt("return",P);case 3:Ce=[],ze=void 0,P=P.slice(0).sort(function(zs,nl){if(zs.range&&nl.range)return v.a.compareRangesUsingStarts(zs.range,nl.range);var zl=zs.range?0:1,tu=nl.range?0:1;return zl-tu}),yt=Object(ae.a)(P),Xo.prev=7,yt.s();case 9:if((Zt=yt.n()).done){Xo.next=30;break}if(Wt=Zt.value,yn=Wt.range,tr=Wt.text,Er=Wt.eol,typeof Er=="number"&&(ze=Er),!(v.a.isEmpty(yn)&&!tr)){Xo.next=17;break}return Xo.abrupt("continue",28);case 17:if(ni=H.getValueInRange(yn),tr=tr.replace(/\r\n|\n|\r/g,H.eol),ni!==tr){Xo.next=21;break}return Xo.abrupt("continue",28);case 21:if(!(Math.max(tr.length,ni.length)>V._diffLimit)){Xo.next=24;break}return Ce.push({range:yn,text:tr}),Xo.abrupt("continue",28);case 24:Oi=Object(gn.b)(ni,tr,!1),oi=H.offsetAt(v.a.lift(yn).getStartPosition()),ui=Object(ae.a)(Oi);try{for(ui.s();!(Bi=ui.n()).done;)Pa=Bi.value,za=H.positionAt(oi+Pa.originalStart),wo=H.positionAt(oi+Pa.originalStart+Pa.originalLength),yo={text:tr.substr(Pa.modifiedStart,Pa.modifiedLength),range:{startLineNumber:za.lineNumber,startColumn:za.column,endLineNumber:wo.lineNumber,endColumn:wo.column}},H.getValueInRange(yo.range)!==yo.text&&Ce.push(yo)}catch(zs){ui.e(zs)}finally{ui.f()}case 28:Xo.next=9;break;case 30:Xo.next=35;break;case 32:Xo.prev=32,Xo.t0=Xo.catch(7),yt.e(Xo.t0);case 35:return Xo.prev=35,yt.f(),Xo.finish(35);case 38:return typeof ze=="number"&&Ce.push({eol:ze,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),Xo.abrupt("return",Ce);case 40:case"end":return Xo.stop()}},j,this,[[7,32,35,38]])}))}},{key:"computeLinks",value:function(L){return ba(this,void 0,void 0,Object(Se.a)().mark(function P(){var j;return Object(Se.a)().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(j=this._getModel(L),j){Ce.next=3;break}return Ce.abrupt("return",null);case 3:return Ce.abrupt("return",na(j));case 4:case"end":return Ce.stop()}},P,this)}))}},{key:"textualSuggest",value:function(L,P,j,H){return ba(this,void 0,void 0,Object(Se.a)().mark(function Ce(){var ze,yt,Zt,Wt,yn,tr,Er,ni,Oi,oi;return Object(Se.a)().wrap(function(Bi){for(;;)switch(Bi.prev=Bi.next){case 0:ze=new Ai.a(!0),yt=new RegExp(j,H),Zt=new Set,Wt=Object(ae.a)(L),Bi.prev=4,Wt.s();case 6:if((yn=Wt.n()).done){Bi.next=33;break}if(tr=yn.value,Er=this._getModel(tr),Er){Bi.next=11;break}return Bi.abrupt("continue",31);case 11:ni=Object(ae.a)(Er.words(yt)),Bi.prev=12,ni.s();case 14:if((Oi=ni.n()).done){Bi.next=23;break}if(oi=Oi.value,!(oi===P||!isNaN(Number(oi)))){Bi.next=18;break}return Bi.abrupt("continue",21);case 18:if(Zt.add(oi),!(Zt.size>V._suggestionsLimit)){Bi.next=21;break}return Bi.abrupt("break",33);case 21:Bi.next=14;break;case 23:Bi.next=28;break;case 25:Bi.prev=25,Bi.t0=Bi.catch(12),ni.e(Bi.t0);case 28:return Bi.prev=28,ni.f(),Bi.finish(28);case 31:Bi.next=6;break;case 33:Bi.next=38;break;case 35:Bi.prev=35,Bi.t1=Bi.catch(4),Wt.e(Bi.t1);case 38:return Bi.prev=38,Wt.f(),Bi.finish(38);case 41:return Bi.abrupt("return",{words:Array.from(Zt),duration:ze.elapsed()});case 42:case"end":return Bi.stop()}},Ce,this,[[4,35,38,41],[12,25,28,31]])}))}},{key:"computeWordRanges",value:function(L,P,j,H){return ba(this,void 0,void 0,Object(Se.a)().mark(function Ce(){var ze,yt,Zt,Wt,yn,tr,Er,ni,Oi;return Object(Se.a)().wrap(function(ui){for(;;)switch(ui.prev=ui.next){case 0:if(ze=this._getModel(L),ze){ui.next=3;break}return ui.abrupt("return",Object.create(null));case 3:yt=new RegExp(j,H),Zt=Object.create(null),Wt=P.startLineNumber;case 6:if(!(Wt<P.endLineNumber)){ui.next=31;break}yn=ze.getLineWords(Wt,yt),tr=Object(ae.a)(yn),ui.prev=9,tr.s();case 11:if((Er=tr.n()).done){ui.next=20;break}if(ni=Er.value,isNaN(Number(ni.word))){ui.next=15;break}return ui.abrupt("continue",18);case 15:Oi=Zt[ni.word],Oi||(Oi=[],Zt[ni.word]=Oi),Oi.push({startLineNumber:Wt,startColumn:ni.startColumn,endLineNumber:Wt,endColumn:ni.endColumn});case 18:ui.next=11;break;case 20:ui.next=25;break;case 22:ui.prev=22,ui.t0=ui.catch(9),tr.e(ui.t0);case 25:return ui.prev=25,tr.f(),ui.finish(25);case 28:Wt++,ui.next=6;break;case 31:return ui.abrupt("return",Zt);case 32:case"end":return ui.stop()}},Ce,this,[[9,22,25,28]])}))}},{key:"navigateValueSet",value:function(L,P,j,H,Ce){return ba(this,void 0,void 0,Object(Se.a)().mark(function ze(){var yt,Zt,Wt,yn,tr,Er;return Object(Se.a)().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:if(yt=this._getModel(L),yt){Oi.next=3;break}return Oi.abrupt("return",null);case 3:if(Zt=new RegExp(H,Ce),P.startColumn===P.endColumn&&(P={startLineNumber:P.startLineNumber,startColumn:P.startColumn,endLineNumber:P.endLineNumber,endColumn:P.endColumn+1}),Wt=yt.getValueInRange(P),yn=yt.getWordAtPosition({lineNumber:P.startLineNumber,column:P.startColumn},Zt),yn){Oi.next=9;break}return Oi.abrupt("return",null);case 9:return tr=yt.getValueInRange(yn),Er=sa.INSTANCE.navigateValueSet(P,Wt,yn,tr,j),Oi.abrupt("return",Er);case 12:case"end":return Oi.stop()}},ze,this)}))}},{key:"loadForeignModule",value:function(L,P,j){var H=this,Ce=function(Wt,yn){return H._host.fhr(Wt,yn)},ze=Ln.c(j,Ce),yt={host:ze,getMirrorModels:function(){return H._getModels()}};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(yt,P),Promise.resolve(Ln.d(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}},{key:"fmr",value:function(L,P){if(!this._foreignModule||typeof this._foreignModule[L]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+L));try{return Promise.resolve(this._foreignModule[L].apply(this._foreignModule,P))}catch(j){return Promise.reject(j)}}}]),V}();mn._diffLimit=1e5,mn._suggestionsLimit=1e4;function It(V){return new mn(V,null)}typeof importScripts=="function"&&(jn.b.monaco=G());var Ue=e("G2kB"),Ze=e("e0rL"),Pe=e("6OMU"),mt=e("09fa"),xt=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},cn=function(V,De){return function(L,P){De(L,P,V)}},Ut=function(V,De,L,P){function j(H){return H instanceof L?H:new L(function(Ce){Ce(H)})}return new(L||(L=Promise))(function(H,Ce){function ze(Wt){try{Zt(P.next(Wt))}catch(yn){Ce(yn)}}function yt(Wt){try{Zt(P.throw(Wt))}catch(yn){Ce(yn)}}function Zt(Wt){Wt.done?H(Wt.value):j(Wt.value).then(ze,yt)}Zt((P=P.apply(V,De||[])).next())})},wt=60*1e3,Pn=5*60*1e3;function an(V,De){var L=V.getModel(De);return!(!L||L.isTooLargeForSyncing())}var Dn=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H){var Ce;return Object(c.a)(this,L),Ce=De.call(this),Ce._modelService=P,Ce._workerManager=Ce._register(new Zn(Ce._modelService)),Ce._logService=H,Ce._register(nt.t.register("*",{provideLinks:function(yt,Zt){return an(Ce._modelService,yt.uri)?Ce._workerManager.withWorker().then(function(Wt){return Wt.computeLinks(yt.uri)}).then(function(Wt){return Wt&&{links:Wt}}):Promise.resolve({links:[]})}})),Ce._register(nt.d.register("*",new Tn(Ce._workerManager,j,Ce._modelService))),Ce}return Object(r.a)(L,[{key:"dispose",value:function(){Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this)}},{key:"canComputeDiff",value:function(j,H){return an(this._modelService,j)&&an(this._modelService,H)}},{key:"computeDiff",value:function(j,H,Ce,ze){return this._workerManager.withWorker().then(function(yt){return yt.computeDiff(j,H,Ce,ze)})}},{key:"computeMoreMinimalEdits",value:function(j,H){var Ce=this;if(Object(Pe.m)(H)){if(!an(this._modelService,j))return Promise.resolve(H);var ze=Ai.a.create(!0),yt=this._workerManager.withWorker().then(function(Zt){return Zt.computeMoreMinimalEdits(j,H)});return yt.finally(function(){return Ce._logService.trace("FORMAT#computeMoreMinimalEdits",j.toString(!0),ze.elapsed())}),Promise.race([yt,Object(sn.n)(1e3).then(function(){return H})])}else return Promise.resolve(void 0)}},{key:"canNavigateValueSet",value:function(j){return an(this._modelService,j)}},{key:"navigateValueSet",value:function(j,H,Ce){return this._workerManager.withWorker().then(function(ze){return ze.navigateValueSet(j,H,Ce)})}},{key:"canComputeWordRanges",value:function(j){return an(this._modelService,j)}},{key:"computeWordRanges",value:function(j,H){return this._workerManager.withWorker().then(function(Ce){return Ce.computeWordRanges(j,H)})}}]),L}(un.a);Dn=xt([cn(0,Ue.a),cn(1,Ze.a),cn(2,mt.b)],Dn);var Tn=function(){function V(De,L,P){Object(c.a)(this,V),this._debugDisplayName="wordbasedCompletions",this._workerManager=De,this._configurationService=L,this._modelService=P}return Object(r.a)(V,[{key:"provideCompletionItems",value:function(L,P){return Ut(this,void 0,void 0,Object(Se.a)().mark(function j(){var H,Ce,ze,yt,Zt,Wt,yn,tr,Er,ni,Oi;return Object(Se.a)().wrap(function(ui){for(;;)switch(ui.prev=ui.next){case 0:if(H=this._configurationService.getValue(L.uri,P,"editor"),H.wordBasedSuggestions){ui.next=3;break}return ui.abrupt("return",void 0);case 3:if(Ce=[],H.wordBasedSuggestionsMode!=="currentDocument"){ui.next=8;break}an(this._modelService,L.uri)&&Ce.push(L.uri),ui.next=26;break;case 8:ze=Object(ae.a)(this._modelService.getModels()),ui.prev=9,ze.s();case 11:if((yt=ze.n()).done){ui.next=18;break}if(Zt=yt.value,an(this._modelService,Zt.uri)){ui.next=15;break}return ui.abrupt("continue",16);case 15:Zt===L?Ce.unshift(Zt.uri):(H.wordBasedSuggestionsMode==="allDocuments"||Zt.getLanguageIdentifier().id===L.getLanguageIdentifier().id)&&Ce.push(Zt.uri);case 16:ui.next=11;break;case 18:ui.next=23;break;case 20:ui.prev=20,ui.t0=ui.catch(9),ze.e(ui.t0);case 23:return ui.prev=23,ze.f(),ui.finish(23);case 26:if(Ce.length!==0){ui.next=28;break}return ui.abrupt("return",void 0);case 28:return Wt=kn.a.getWordDefinition(L.getLanguageIdentifier().id),yn=L.getWordAtPosition(P),tr=yn?new v.a(P.lineNumber,yn.startColumn,P.lineNumber,yn.endColumn):v.a.fromPositions(P),Er=tr.setEndPosition(P.lineNumber,P.column),ui.next=34,this._workerManager.withWorker();case 34:return ni=ui.sent,ui.next=37,ni.textualSuggest(Ce,yn==null?void 0:yn.word,Wt);case 37:if(Oi=ui.sent,Oi){ui.next=40;break}return ui.abrupt("return",void 0);case 40:return ui.abrupt("return",{duration:Oi.duration,suggestions:Oi.words.map(function(Bi){return{kind:18,label:Bi,insertText:Bi,range:{insert:Er,replace:tr}}})});case 41:case"end":return ui.stop()}},j,this,[[9,20,23,26]])}))}}]),V}(),Zn=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P){var j;Object(c.a)(this,L),j=De.call(this),j._modelService=P,j._editorWorkerClient=null,j._lastWorkerUsedTime=new Date().getTime();var H=j._register(new sn.c);return H.cancelAndSet(function(){return j._checkStopIdleWorker()},Math.round(Pn/2)),j._register(j._modelService.onModelRemoved(function(Ce){return j._checkStopEmptyWorker()})),j}return Object(r.a)(L,[{key:"dispose",value:function(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this)}},{key:"_checkStopEmptyWorker",value:function(){if(!!this._editorWorkerClient){var j=this._modelService.getModels();j.length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}}},{key:"_checkStopIdleWorker",value:function(){if(!!this._editorWorkerClient){var j=new Date().getTime()-this._lastWorkerUsedTime;j>Pn&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}}},{key:"withWorker",value:function(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new Dr(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)}}]),L}(un.a),Mr=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H){var Ce;if(Object(c.a)(this,L),Ce=De.call(this),Ce._syncedModels=Object.create(null),Ce._syncedModelsLastUsedTime=Object.create(null),Ce._proxy=P,Ce._modelService=j,!H){var ze=new sn.c;ze.cancelAndSet(function(){return Ce._checkStopModelSync()},Math.round(wt/2)),Ce._register(ze)}return Ce}return Object(r.a)(L,[{key:"dispose",value:function(){for(var j in this._syncedModels)Object(un.f)(this._syncedModels[j]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this)}},{key:"ensureSyncedResources",value:function(j){var H=Object(ae.a)(j),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value,yt=ze.toString();this._syncedModels[yt]||this._beginModelSync(ze),this._syncedModels[yt]&&(this._syncedModelsLastUsedTime[yt]=new Date().getTime())}}catch(Zt){H.e(Zt)}finally{H.f()}}},{key:"_checkStopModelSync",value:function(){var j=new Date().getTime(),H=[];for(var Ce in this._syncedModelsLastUsedTime){var ze=j-this._syncedModelsLastUsedTime[Ce];ze>wt&&H.push(Ce)}for(var yt=0,Zt=H;yt<Zt.length;yt++){var Wt=Zt[yt];this._stopModelSync(Wt)}}},{key:"_beginModelSync",value:function(j){var H=this,Ce=this._modelService.getModel(j);if(!!Ce&&!Ce.isTooLargeForSyncing()){var ze=j.toString();this._proxy.acceptNewModel({url:Ce.uri.toString(),lines:Ce.getLinesContent(),EOL:Ce.getEOL(),versionId:Ce.getVersionId()});var yt=new un.b;yt.add(Ce.onDidChangeContent(function(Zt){H._proxy.acceptModelChanged(ze.toString(),Zt)})),yt.add(Ce.onWillDispose(function(){H._stopModelSync(ze)})),yt.add(Object(un.h)(function(){H._proxy.acceptRemovedModel(ze)})),this._syncedModels[ze]=yt}}},{key:"_stopModelSync",value:function(j){var H=this._syncedModels[j];delete this._syncedModels[j],delete this._syncedModelsLastUsedTime[j],Object(un.f)(H)}}]),L}(un.a),xr=function(){function V(De){Object(c.a)(this,V),this._instance=De,this._proxyObj=Promise.resolve(this._instance)}return Object(r.a)(V,[{key:"dispose",value:function(){this._instance.dispose()}},{key:"getProxyObject",value:function(){return this._proxyObj}}]),V}(),Vr=function(){function V(De){Object(c.a)(this,V),this._workerClient=De}return Object(r.a)(V,[{key:"fhr",value:function(L,P){return this._workerClient.fhr(L,P)}}]),V}(),Dr=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H){var Ce;return Object(c.a)(this,L),Ce=De.call(this),Ce._disposed=!1,Ce._modelService=P,Ce._keepIdleModels=j,Ce._workerFactory=new pn(H),Ce._worker=null,Ce._modelManager=null,Ce}return Object(r.a)(L,[{key:"fhr",value:function(j,H){throw new Error("Not implemented!")}},{key:"_getOrCreateWorker",value:function(){if(!this._worker)try{this._worker=this._register(new en(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new Vr(this)))}catch(j){Nt(j),this._worker=new xr(new mn(new Vr(this),null))}return this._worker}},{key:"_getProxy",value:function(){var j=this;return this._getOrCreateWorker().getProxyObject().then(void 0,function(H){return Nt(H),j._worker=new xr(new mn(new Vr(j),null)),j._getOrCreateWorker().getProxyObject()})}},{key:"_getOrCreateModelManager",value:function(j){return this._modelManager||(this._modelManager=this._register(new Mr(j,this._modelService,this._keepIdleModels))),this._modelManager}},{key:"_withSyncedResources",value:function(j){var H=this;return this._disposed?Promise.reject(Object(Ht.a)()):this._getProxy().then(function(Ce){return H._getOrCreateModelManager(Ce).ensureSyncedResources(j),Ce})}},{key:"computeDiff",value:function(j,H,Ce,ze){return this._withSyncedResources([j,H]).then(function(yt){return yt.computeDiff(j.toString(),H.toString(),Ce,ze)})}},{key:"computeMoreMinimalEdits",value:function(j,H){return this._withSyncedResources([j]).then(function(Ce){return Ce.computeMoreMinimalEdits(j.toString(),H)})}},{key:"computeLinks",value:function(j){return this._withSyncedResources([j]).then(function(H){return H.computeLinks(j.toString())})}},{key:"textualSuggest",value:function(j,H,Ce){return Ut(this,void 0,void 0,Object(Se.a)().mark(function ze(){var yt,Zt,Wt;return Object(Se.a)().wrap(function(tr){for(;;)switch(tr.prev=tr.next){case 0:return tr.next=2,this._withSyncedResources(j);case 2:return yt=tr.sent,Zt=Ce.source,Wt=Object(_n.M)(Ce),tr.abrupt("return",yt.textualSuggest(j.map(function(Er){return Er.toString()}),H,Zt,Wt));case 6:case"end":return tr.stop()}},ze,this)}))}},{key:"computeWordRanges",value:function(j,H){var Ce=this;return this._withSyncedResources([j]).then(function(ze){var yt=Ce._modelService.getModel(j);if(!yt)return Promise.resolve(null);var Zt=kn.a.getWordDefinition(yt.getLanguageIdentifier().id),Wt=Zt.source,yn=Object(_n.M)(Zt);return ze.computeWordRanges(j.toString(),H,Wt,yn)})}},{key:"navigateValueSet",value:function(j,H,Ce){var ze=this;return this._withSyncedResources([j]).then(function(yt){var Zt=ze._modelService.getModel(j);if(!Zt)return null;var Wt=kn.a.getWordDefinition(Zt.getLanguageIdentifier().id),yn=Wt.source,tr=Object(_n.M)(Wt);return yt.navigateValueSet(j.toString(),H,Ce,yn,tr)})}},{key:"dispose",value:function(){Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this),this._disposed=!0}}]),L}(un.a);function dr(V,De){return new gt(V,De)}var gt=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;return Object(c.a)(this,L),H=De.call(this,P,j.keepIdleModels||!1,j.label),H._foreignModuleId=j.moduleId,H._foreignModuleCreateData=j.createData||null,H._foreignModuleHost=j.host||null,H._foreignProxy=null,H}return Object(r.a)(L,[{key:"fhr",value:function(j,H){if(!this._foreignModuleHost||typeof this._foreignModuleHost[j]!="function")return Promise.reject(new Error("Missing method "+j+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[j].apply(this._foreignModuleHost,H))}catch(Ce){return Promise.reject(Ce)}}},{key:"_getForeignProxy",value:function(){var j=this;return this._foreignProxy||(this._foreignProxy=this._getProxy().then(function(H){var Ce=j._foreignModuleHost?Ln.d(j._foreignModuleHost):[];return H.loadForeignModule(j._foreignModuleId,j._foreignModuleCreateData,Ce).then(function(ze){j._foreignModuleCreateData=null;var yt=function(Oi,oi){return H.fmr(Oi,oi)},Zt=function(Oi,oi){return function(){var ui=Array.prototype.slice.call(arguments,0);return oi(Oi,ui)}},Wt={},yn=Object(ae.a)(ze),tr;try{for(yn.s();!(tr=yn.n()).done;){var Er=tr.value;Wt[Er]=Zt(Er,yt)}}catch(ni){yn.e(ni)}finally{yn.f()}return Wt})})),this._foreignProxy}},{key:"getProxy",value:function(){return this._getForeignProxy()}},{key:"withSyncedResources",value:function(j){var H=this;return this._withSyncedResources(j).then(function(Ce){return H.getProxy()})}}]),L}(Dr),Rr=e("4bUh"),ci=e("baJR"),ai=e("qNAo");function bi(V){return Array.isArray(V)}function zr(V){return!bi(V)}function Hi(V){return typeof V=="string"}function hi(V){return!Hi(V)}function Ci(V){return!V}function Ii(V,De){return V.ignoreCase&&De?De.toLowerCase():De}function Mn(V){return V.replace(/[&<>'"_]/g,"-")}function nr(V,De){console.log("".concat(V.languageId,": ").concat(De))}function cr(V,De){return new Error("".concat(V.languageId,": ").concat(De))}function Lr(V,De,L,P,j){var H=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,Ce=null;return De.replace(H,function(ze,yt,Zt,Wt,yn,tr,Er,ni,Oi){return Ci(Zt)?Ci(Wt)?!Ci(yn)&&yn<P.length?Ii(V,P[yn]):!Ci(Er)&&V&&typeof V[Er]=="string"?V[Er]:(Ce===null&&(Ce=j.split("."),Ce.unshift(j)),!Ci(tr)&&tr<Ce.length?Ii(V,Ce[tr]):""):Ii(V,L):"$"})}function ei(V,De){for(var L=De;L&&L.length>0;){var P=V.tokenizer[L];if(P)return P;var j=L.lastIndexOf(".");j<0?L=null:L=L.substr(0,j)}return null}function ki(V,De){for(var L=De;L&&L.length>0;){var P=V.stateNames[L];if(P)return!0;var j=L.lastIndexOf(".");j<0?L=null:L=L.substr(0,j)}return!1}var ua=5,Qi=function(){function V(De){Object(c.a)(this,V),this._maxCacheDepth=De,this._entries=Object.create(null)}return Object(r.a)(V,[{key:"create",value:function(L,P){if(L!==null&&L.depth>=this._maxCacheDepth)return new Br(L,P);var j=Br.getStackElementId(L);j.length>0&&(j+="|"),j+=P;var H=this._entries[j];return H||(H=new Br(L,P),this._entries[j]=H,H)}}],[{key:"create",value:function(L,P){return this._INSTANCE.create(L,P)}}]),V}();Qi._INSTANCE=new Qi(ua);var Br=function(){function V(De,L){Object(c.a)(this,V),this.parent=De,this.state=L,this.depth=(this.parent?this.parent.depth:0)+1}return Object(r.a)(V,[{key:"equals",value:function(L){return V._equals(this,L)}},{key:"push",value:function(L){return Qi.create(this,L)}},{key:"pop",value:function(){return this.parent}},{key:"popall",value:function(){for(var L=this;L.parent;)L=L.parent;return L}},{key:"switchTo",value:function(L){return Qi.create(this.parent,L)}}],[{key:"getStackElementId",value:function(L){for(var P="";L!==null;)P.length>0&&(P+="|"),P+=L.state,L=L.parent;return P}},{key:"_equals",value:function(L,P){for(;L!==null&&P!==null;){if(L===P)return!0;if(L.state!==P.state)return!1;L=L.parent,P=P.parent}return L===null&&P===null}}]),V}(),ga=function(){function V(De,L){Object(c.a)(this,V),this.modeId=De,this.state=L}return Object(r.a)(V,[{key:"equals",value:function(L){return this.modeId===L.modeId&&this.state.equals(L.state)}},{key:"clone",value:function(){var L=this.state.clone();return L===this.state?this:new V(this.modeId,this.state)}}]),V}(),fa=function(){function V(De){Object(c.a)(this,V),this._maxCacheDepth=De,this._entries=Object.create(null)}return Object(r.a)(V,[{key:"create",value:function(L,P){if(P!==null)return new Ja(L,P);if(L!==null&&L.depth>=this._maxCacheDepth)return new Ja(L,P);var j=Br.getStackElementId(L),H=this._entries[j];return H||(H=new Ja(L,null),this._entries[j]=H,H)}}],[{key:"create",value:function(L,P){return this._INSTANCE.create(L,P)}}]),V}();fa._INSTANCE=new fa(ua);var Ja=function(){function V(De,L){Object(c.a)(this,V),this.stack=De,this.embeddedModeData=L}return Object(r.a)(V,[{key:"clone",value:function(){var L=this.embeddedModeData?this.embeddedModeData.clone():null;return L===this.embeddedModeData?this:fa.create(this.stack,this.embeddedModeData)}},{key:"equals",value:function(L){return!(L instanceof V)||!this.stack.equals(L.stack)?!1:this.embeddedModeData===null&&L.embeddedModeData===null?!0:this.embeddedModeData===null||L.embeddedModeData===null?!1:this.embeddedModeData.equals(L.embeddedModeData)}}]),V}(),In=function(){function V(){Object(c.a)(this,V),this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return Object(r.a)(V,[{key:"enterMode",value:function(L,P){this._language=P}},{key:"emit",value:function(L,P){this._lastTokenType===P&&this._lastTokenLanguage===this._language||(this._lastTokenType=P,this._lastTokenLanguage=this._language,this._tokens.push(new h.a(L,P,this._language)))}},{key:"nestedModeTokenize",value:function(L,P,j,H){var Ce=j.modeId,ze=j.state,yt=nt.D.get(Ce);if(!yt)return this.enterMode(H,Ce),this.emit(H,""),ze;var Zt=yt.tokenize(L,P,ze,H);return this._tokens=this._tokens.concat(Zt.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,Zt.endState}},{key:"finalize",value:function(L){return new h.b(this._tokens,L)}}]),V}(),ve=function(){function V(De,L){Object(c.a)(this,V),this._modeService=De,this._theme=L,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return Object(r.a)(V,[{key:"enterMode",value:function(L,P){this._currentLanguageId=this._modeService.getLanguageIdentifier(P).id}},{key:"emit",value:function(L,P){var j=this._theme.match(this._currentLanguageId,P);this._lastTokenMetadata!==j&&(this._lastTokenMetadata=j,this._tokens.push(L),this._tokens.push(j))}},{key:"nestedModeTokenize",value:function(L,P,j,H){var Ce=j.modeId,ze=j.state,yt=nt.D.get(Ce);if(!yt)return this.enterMode(H,Ce),this.emit(H,""),ze;var Zt=yt.tokenize2(L,P,ze,H);return this._prependTokens=V._merge(this._prependTokens,this._tokens,Zt.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,Zt.endState}},{key:"finalize",value:function(L){return new h.c(V._merge(this._prependTokens,this._tokens,null),L)}}],[{key:"_merge",value:function(L,P,j){var H=L!==null?L.length:0,Ce=P.length,ze=j!==null?j.length:0;if(H===0&&Ce===0&&ze===0)return new Uint32Array(0);if(H===0&&Ce===0)return j;if(Ce===0&&ze===0)return L;var yt=new Uint32Array(H+Ce+ze);L!==null&&yt.set(L);for(var Zt=0;Zt<Ce;Zt++)yt[H+Zt]=P[Zt];return j!==null&&yt.set(j,H+Ce),yt}}]),V}(),x=function(){function V(De,L,P,j){var H=this;Object(c.a)(this,V),this._modeService=De,this._standaloneThemeService=L,this._modeId=P,this._lexer=j,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);var Ce=!1;this._tokenizationRegistryListener=nt.D.onDidChange(function(ze){if(!Ce){for(var yt=!1,Zt=0,Wt=ze.changedLanguages.length;Zt<Wt;Zt++){var yn=ze.changedLanguages[Zt];if(H._embeddedModes[yn]){yt=!0;break}}yt&&(Ce=!0,nt.D.fire([H._modeId]),Ce=!1)}})}return Object(r.a)(V,[{key:"dispose",value:function(){this._tokenizationRegistryListener.dispose()}},{key:"getLoadStatus",value:function(){var L=[];for(var P in this._embeddedModes){var j=nt.D.get(P);if(j){if(j instanceof V){var H=j.getLoadStatus();H.loaded===!1&&L.push(H.promise)}continue}var Ce=nt.D.getPromise(P);Ce&&L.push(Ce)}return L.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(L).then(function(ze){})}}},{key:"getInitialState",value:function(){var L=Qi.create(null,this._lexer.start);return fa.create(L,null)}},{key:"tokenize",value:function(L,P,j,H){var Ce=new In,ze=this._tokenize(L,P,j,H,Ce);return Ce.finalize(ze)}},{key:"tokenize2",value:function(L,P,j,H){var Ce=new ve(this._modeService,this._standaloneThemeService.getColorTheme().tokenTheme),ze=this._tokenize(L,P,j,H,Ce);return Ce.finalize(ze)}},{key:"_tokenize",value:function(L,P,j,H,Ce){return j.embeddedModeData?this._nestedTokenize(L,P,j,H,Ce):this._myTokenize(L,P,j,H,Ce)}},{key:"_findLeavingNestedModeOffset",value:function(L,P){var j=this._lexer.tokenizer[P.stack.state];if(!j&&(j=ei(this._lexer,P.stack.state),!j))throw cr(this._lexer,"tokenizer state is not defined: "+P.stack.state);var H=-1,Ce=!1,ze=Object(ae.a)(j),yt;try{for(ze.s();!(yt=ze.n()).done;){var Zt=yt.value;if(!(!hi(Zt.action)||Zt.action.nextEmbedded!=="@pop")){Ce=!0;var Wt=Zt.regex,yn=Zt.regex.source;if(yn.substr(0,4)==="^(?:"&&yn.substr(yn.length-1,1)===")"){var tr=(Wt.ignoreCase?"i":"")+(Wt.unicode?"u":"");Wt=new RegExp(yn.substr(4,yn.length-5),tr)}var Er=L.search(Wt);Er===-1||Er!==0&&Zt.matchOnlyAtLineStart||(H===-1||Er<H)&&(H=Er)}}}catch(ni){ze.e(ni)}finally{ze.f()}if(!Ce)throw cr(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+P.stack.state);return H}},{key:"_nestedTokenize",value:function(L,P,j,H,Ce){var ze=this._findLeavingNestedModeOffset(L,j);if(ze===-1){var yt=Ce.nestedModeTokenize(L,P,j.embeddedModeData,H);return fa.create(j.stack,new ga(j.embeddedModeData.modeId,yt))}var Zt=L.substring(0,ze);Zt.length>0&&Ce.nestedModeTokenize(Zt,!1,j.embeddedModeData,H);var Wt=L.substring(ze);return this._myTokenize(Wt,P,j,H+ze,Ce)}},{key:"_safeRuleName",value:function(L){return L?L.name:"(unknown)"}},{key:"_myTokenize",value:function(L,P,j,H,Ce){var ze=this;Ce.enterMode(H,this._modeId);for(var yt=L.length,Zt=P&&this._lexer.includeLF?L+`
- `:L,Wt=Zt.length,yn=j.embeddedModeData,tr=j.stack,Er=0,ni=null,Oi=!0;Oi||Er<Wt;){var oi=Er,ui=tr.depth,Bi=ni?ni.groups.length:0,Pa=tr.state,za=null,wo=null,yo=null,bs=null,Xo=null;if(ni){za=ni.matches;var zs=ni.groups.shift();wo=zs.matched,yo=zs.action,bs=ni.rule,ni.groups.length===0&&(ni=null)}else{if(!Oi&&Er>=Wt)break;Oi=!1;var nl=this._lexer.tokenizer[Pa];if(!nl&&(nl=ei(this._lexer,Pa),!nl))throw cr(this._lexer,"tokenizer state is not defined: "+Pa);var zl=Zt.substr(Er),tu=Object(ae.a)(nl),Wu;try{for(tu.s();!(Wu=tu.n()).done;){var hs=Wu.value;if((Er===0||!hs.matchOnlyAtLineStart)&&(za=zl.match(hs.regex),za)){wo=za[0],yo=hs.action;break}}}catch(Ga){tu.e(Ga)}finally{tu.f()}}if(za||(za=[""],wo=""),yo||(Er<Wt&&(za=[Zt.charAt(Er)],wo=za[0]),yo=this._lexer.defaultToken),wo===null)break;for(Er+=wo.length;zr(yo)&&hi(yo)&&yo.test;)yo=yo.test(wo,za,Pa,Er===Wt);var ws=null;if(typeof yo=="string"||Array.isArray(yo))ws=yo;else if(yo.group)ws=yo.group;else if(yo.token!==null&&yo.token!==void 0){if(yo.tokenSubst?ws=Lr(this._lexer,yo.token,wo,za,Pa):ws=yo.token,yo.nextEmbedded)if(yo.nextEmbedded==="@pop"){if(!yn)throw cr(this._lexer,"cannot pop embedded mode if not inside one");yn=null}else{if(yn)throw cr(this._lexer,"cannot enter embedded mode from within an embedded mode");Xo=Lr(this._lexer,yo.nextEmbedded,wo,za,Pa)}if(yo.goBack&&(Er=Math.max(0,Er-yo.goBack)),yo.switchTo&&typeof yo.switchTo=="string"){var fu=Lr(this._lexer,yo.switchTo,wo,za,Pa);if(fu[0]==="@"&&(fu=fu.substr(1)),ei(this._lexer,fu))tr=tr.switchTo(fu);else throw cr(this._lexer,"trying to switch to a state '"+fu+"' that is undefined in rule: "+this._safeRuleName(bs))}else{if(yo.transform&&typeof yo.transform=="function")throw cr(this._lexer,"action.transform not supported");if(yo.next)if(yo.next==="@push"){if(tr.depth>=this._lexer.maxStack)throw cr(this._lexer,"maximum tokenizer stack size reached: ["+tr.state+","+tr.parent.state+",...]");tr=tr.push(Pa)}else if(yo.next==="@pop"){if(tr.depth<=1)throw cr(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(bs));tr=tr.pop()}else if(yo.next==="@popall")tr=tr.popall();else{var au=Lr(this._lexer,yo.next,wo,za,Pa);if(au[0]==="@"&&(au=au.substr(1)),ei(this._lexer,au))tr=tr.push(au);else throw cr(this._lexer,"trying to set a next state '"+au+"' that is undefined in rule: "+this._safeRuleName(bs))}}yo.log&&typeof yo.log=="string"&&nr(this._lexer,this._lexer.languageId+": "+Lr(this._lexer,yo.log,wo,za,Pa))}if(ws===null)throw cr(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(bs));var Dc=function(ao){var _o=ze._modeService.getModeIdForLanguageName(ao);_o&&(ao=_o);var Ro=ze._getNestedEmbeddedModeData(ao);if(Er<Wt){var Zo=L.substr(Er);return ze._nestedTokenize(Zo,P,fa.create(tr,Ro),H+Er,Ce)}else return fa.create(tr,Ro)};if(Array.isArray(ws)){if(ni&&ni.groups.length>0)throw cr(this._lexer,"groups cannot be nested: "+this._safeRuleName(bs));if(za.length!==ws.length+1)throw cr(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(bs));for(var Id=0,Jr=1;Jr<za.length;Jr++)Id+=za[Jr].length;if(Id!==wo.length)throw cr(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(bs));ni={rule:bs,matches:za,groups:[]};for(var wr=0;wr<ws.length;wr++)ni.groups[wr]={action:ws[wr],matched:za[wr+1]};Er-=wo.length;continue}else{if(ws==="@rematch"&&(Er-=wo.length,wo="",za=null,ws="",Xo!==null))return Dc(Xo);if(wo.length===0){if(Wt===0||ui!==tr.depth||Pa!==tr.state||(ni?ni.groups.length:0)!==Bi)continue;throw cr(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(bs))}var Di=null;if(Hi(ws)&&ws.indexOf("@brackets")===0){var aa=ws.substr("@brackets".length),Ki=le(this._lexer,wo);if(!Ki)throw cr(this._lexer,"@brackets token returned but no bracket defined as: "+wo);Di=Mn(Ki.token+aa)}else{var Da=ws===""?"":ws+this._lexer.tokenPostfix;Di=Mn(Da)}oi<yt&&Ce.emit(oi+H,Di)}if(Xo!==null)return Dc(Xo)}return fa.create(tr,yn)}},{key:"_getNestedEmbeddedModeData",value:function(L){var P=this._locateMode(L);if(P){var j=nt.D.get(P);if(j)return new ga(P,j.getInitialState())}return new ga(P||kt.b,kt.c)}},{key:"_locateMode",value:function(L){if(!L||!this._modeService.isRegisteredMode(L))return null;if(L===this._modeId)return L;var P=this._modeService.getModeId(L);return P&&(this._modeService.triggerMode(P),this._embeddedModes[P]=!0),P}}]),V}();function le(V,De){if(!De)return null;De=Ii(V,De);var L=V.brackets,P=Object(ae.a)(L),j;try{for(P.s();!(j=P.n()).done;){var H=j.value;if(H.open===De)return{token:H.token,bracketType:1};if(H.close===De)return{token:H.token,bracketType:-1}}}catch(Ce){P.e(Ce)}finally{P.f()}return null}function me(V,De,L,P){return new x(V,De,L,P)}var Ae,tt=(Ae=window.trustedTypes)===null||Ae===void 0?void 0:Ae.createPolicy("standaloneColorizer",{createHTML:function(De){return De}}),pt=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,null,[{key:"colorizeElement",value:function(L,P,j,H){H=H||{};var Ce=H.theme||"vs",ze=H.mimeType||j.getAttribute("lang")||j.getAttribute("data-lang");if(!ze)return console.error("Mode not detected"),Promise.resolve();L.setTheme(Ce);var yt=j.firstChild?j.firstChild.nodeValue:"";j.className+=" "+Ce;var Zt=function(yn){var tr,Er=(tr=tt==null?void 0:tt.createHTML(yn))!==null&&tr!==void 0?tr:yn;j.innerHTML=Er};return this.colorize(P,yt||"",ze,H).then(Zt,function(Wt){return console.error(Wt)})}},{key:"colorize",value:function(L,P,j,H){var Ce=4;H&&typeof H.tabSize=="number"&&(Ce=H.tabSize),_n.S(P)&&(P=P.substr(1));var ze=_n.Q(P),yt=L.getModeId(j);if(!yt)return Promise.resolve(we(ze,Ce));L.triggerMode(yt);var Zt=nt.D.get(yt);if(Zt)return ke(ze,Ce,Zt);var Wt=nt.D.getPromise(yt);return Wt?new Promise(function(yn,tr){Wt.then(function(Er){ke(ze,Ce,Er).then(yn,tr)},tr)}):new Promise(function(yn,tr){var Er=null,ni=null,Oi=function(){Er&&(Er.dispose(),Er=null),ni&&(ni.dispose(),ni=null);var ui=nt.D.get(yt);if(ui){ke(ze,Ce,ui).then(yn,tr);return}yn(we(ze,Ce))};ni=new sn.g,ni.cancelAndSet(Oi,500),Er=nt.D.onDidChange(function(oi){oi.changedLanguages.indexOf(yt)>=0&&Oi()})})}},{key:"colorizeLine",value:function(L,P,j,H){var Ce=arguments.length>4&&arguments[4]!==void 0?arguments[4]:4,ze=ai.e.isBasicASCII(L,P),yt=ai.e.containsRTL(L,ze,j),Zt=Object(ci.e)(new ci.c(!1,!0,L,!1,ze,yt,0,H,[],Ce,0,0,0,0,-1,"none",!1,!1,null));return Zt.html}},{key:"colorizeModelLine",value:function(L,P){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:4,H=L.getLineContent(P);L.forceTokenization(P);var Ce=L.getLineTokens(P),ze=Ce.inflate();return this.colorizeLine(H,L.mightContainNonBasicASCII(),L.mightContainRTL(),ze,j)}}]),V}();function ke(V,De,L){return new Promise(function(P,j){var H=function Ce(){var ze=Be(V,De,L);if(L instanceof x){var yt=L.getLoadStatus();if(yt.loaded===!1){yt.promise.then(Ce,j);return}}P(ze)};H()})}function we(V,De){var L=[],P=(0<<11|1<<14|2<<23)>>>0,j=new Uint32Array(2);j[0]=0,j[1]=P;for(var H=0,Ce=V.length;H<Ce;H++){var ze=V[H];j[0]=ze.length;var yt=new Rr.a(j,ze),Zt=ai.e.isBasicASCII(ze,!0),Wt=ai.e.containsRTL(ze,Zt,!0),yn=Object(ci.e)(new ci.c(!1,!0,ze,!1,Zt,Wt,0,yt,[],De,0,0,0,0,-1,"none",!1,!1,null));L=L.concat(yn.html),L.push("<br/>")}return L.join("")}function Be(V,De,L){for(var P=[],j=L.getInitialState(),H=0,Ce=V.length;H<Ce;H++){var ze=V[H],yt=L.tokenize2(ze,!0,j,0);Rr.a.convertToEndOffset(yt.tokens,ze.length);var Zt=new Rr.a(yt.tokens,ze),Wt=ai.e.isBasicASCII(ze,!0),yn=ai.e.containsRTL(ze,Wt,!0),tr=Object(ci.e)(new ci.c(!1,!0,ze,!1,Wt,yn,0,Zt.inflate(),[],De,0,0,0,0,-1,"none",!1,!1,null));P=P.concat(tr.html),P.push("<br/>"),j=yt.endState}return P.join("")}var Le=e("uDWl"),J=e("S3by"),Ke=e("sFUC"),We=e("x/UI"),Ot=e("iDAx"),Vt=e("0/Sa"),$t=e("+7oY"),Gt=e("qj0h"),hn=e("CRAX"),$n=function(){function V(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];Object(c.a)(this,V),this._contents=De,this._keys=L,this._overrides=P,this.isFrozen=!1}return Object(r.a)(V,[{key:"contents",get:function(){return this.checkAndFreeze(this._contents)}},{key:"overrides",get:function(){return this.checkAndFreeze(this._overrides)}},{key:"keys",get:function(){return this.checkAndFreeze(this._keys)}},{key:"isEmpty",value:function(){return this._keys.length===0&&Object.keys(this._contents).length===0&&this._overrides.length===0}},{key:"getValue",value:function(L){return L?Object($t.d)(this.contents,L):this.contents}},{key:"override",value:function(L){var P=this.getContentsForOverrideIdentifer(L);if(!P||typeof P!="object"||!Object.keys(P).length)return this;var j={},H=Object(ae.a)(Pe.e([].concat(Object(Te.a)(Object.keys(this.contents)),Object(Te.a)(Object.keys(P))))),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value,yt=this.contents[ze],Zt=P[ze];Zt&&(typeof yt=="object"&&typeof Zt=="object"?(yt=Gt.b(yt),this.mergeContents(yt,Zt)):yt=Zt),j[ze]=yt}}catch(Wt){H.e(Wt)}finally{H.f()}return new V(j,this.keys,this.overrides)}},{key:"merge",value:function(){for(var L=this,P=Gt.b(this.contents),j=Gt.b(this.overrides),H=Object(Te.a)(this.keys),Ce=arguments.length,ze=new Array(Ce),yt=0;yt<Ce;yt++)ze[yt]=arguments[yt];for(var Zt=0,Wt=ze;Zt<Wt.length;Zt++){var yn=Wt[Zt];this.mergeContents(P,yn.contents);var tr=Object(ae.a)(yn.overrides),Er;try{var ni=function(){var Pa=Er.value,za=j.filter(function(bs){return Pe.g(bs.identifiers,Pa.identifiers)}),wo=Object(ur.a)(za,1),yo=wo[0];yo?L.mergeContents(yo.contents,Pa.contents):j.push(Gt.b(Pa))};for(tr.s();!(Er=tr.n()).done;)ni()}catch(Bi){tr.e(Bi)}finally{tr.f()}var Oi=Object(ae.a)(yn.keys),oi;try{for(Oi.s();!(oi=Oi.n()).done;){var ui=oi.value;H.indexOf(ui)===-1&&H.push(ui)}}catch(Bi){Oi.e(Bi)}finally{Oi.f()}}return new V(P,H,j)}},{key:"freeze",value:function(){return this.isFrozen=!0,this}},{key:"mergeContents",value:function(L,P){for(var j=0,H=Object.keys(P);j<H.length;j++){var Ce=H[j];if(Ce in L&&Ln.i(L[Ce])&&Ln.i(P[Ce])){this.mergeContents(L[Ce],P[Ce]);continue}L[Ce]=Gt.b(P[Ce])}}},{key:"checkAndFreeze",value:function(L){return this.isFrozen&&!Object.isFrozen(L)?Gt.c(L):L}},{key:"getContentsForOverrideIdentifer",value:function(L){var P=Object(ae.a)(this.overrides),j;try{for(P.s();!(j=P.n()).done;){var H=j.value;if(H.identifiers.indexOf(L)!==-1)return H.contents}}catch(Ce){P.e(Ce)}finally{P.f()}return null}},{key:"toJSON",value:function(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}},{key:"setValue",value:function(L,P){this.addKey(L),Object($t.b)(this.contents,L,P,function(j){throw new Error(j)})}},{key:"removeValue",value:function(L){this.removeKey(L)&&Object($t.f)(this.contents,L)}},{key:"addKey",value:function(L){for(var P=this.keys.length,j=0;j<P;j++)L.indexOf(this.keys[j])===0&&(P=j);this.keys.splice(P,1,L)}},{key:"removeKey",value:function(L){var P=this.keys.indexOf(L);return P!==-1?(this.keys.splice(P,1),!0):!1}}]),V}(),Sr=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){Object(c.a)(this,L);for(var P=Object($t.e)(),j=Object($t.c)(),H=[],Ce=0,ze=Object.keys(P);Ce<ze.length;Ce++){var yt=ze[Ce];hn.b.test(yt)&&H.push({identifiers:[Object(hn.c)(yt).trim()],keys:Object.keys(P[yt]),contents:Object($t.g)(P[yt],function(Zt){return console.error("Conflict in default settings file: ".concat(Zt))})})}return De.call(this,P,j,H)}return Object(r.a)(L)}($n),vr=function(){function V(De,L){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new $n,j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:new $n,H=arguments.length>4&&arguments[4]!==void 0?arguments[4]:new fe.b,Ce=arguments.length>5&&arguments[5]!==void 0?arguments[5]:new $n,ze=arguments.length>6&&arguments[6]!==void 0?arguments[6]:new fe.b,yt=arguments.length>7&&arguments[7]!==void 0?arguments[7]:!0;Object(c.a)(this,V),this._defaultConfiguration=De,this._localUserConfiguration=L,this._remoteUserConfiguration=P,this._workspaceConfiguration=j,this._folderConfigurations=H,this._memoryConfiguration=Ce,this._memoryConfigurationByResource=ze,this._freeze=yt,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new fe.b,this._userConfiguration=null}return Object(r.a)(V,[{key:"getValue",value:function(L,P,j){var H=this.getConsolidateConfigurationModel(P,j);return H.getValue(L)}},{key:"updateValue",value:function(L,P){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},H;j.resource?(H=this._memoryConfigurationByResource.get(j.resource),H||(H=new $n,this._memoryConfigurationByResource.set(j.resource,H))):H=this._memoryConfiguration,P===void 0?H.removeValue(L):H.setValue(L,P),j.resource||(this._workspaceConsolidatedConfiguration=null)}},{key:"userConfiguration",get:function(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}},{key:"getConsolidateConfigurationModel",value:function(L,P){var j=this.getConsolidatedConfigurationModelForResource(L,P);return L.overrideIdentifier?j.override(L.overrideIdentifier):j}},{key:"getConsolidatedConfigurationModelForResource",value:function(L,P){var j=L.resource,H=this.getWorkspaceConsolidatedConfiguration();if(P&&j){var Ce=P.getFolder(j);Ce&&(H=this.getFolderConsolidatedConfiguration(Ce.uri)||H);var ze=this._memoryConfigurationByResource.get(j);ze&&(H=H.merge(ze))}return H}},{key:"getWorkspaceConsolidatedConfiguration",value:function(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}},{key:"getFolderConsolidatedConfiguration",value:function(L){var P=this._foldersConsolidatedConfigurations.get(L);if(!P){var j=this.getWorkspaceConsolidatedConfiguration(),H=this._folderConfigurations.get(L);H?(P=j.merge(H),this._freeze&&(P=P.freeze()),this._foldersConsolidatedConfigurations.set(L,P)):P=j}return P}},{key:"toData",value:function(){var L=this;return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:Object(Te.a)(this._folderConfigurations.keys()).reduce(function(P,j){var H=L._folderConfigurations.get(j),Ce=H.contents,ze=H.overrides,yt=H.keys;return P.push([j,{contents:Ce,overrides:ze,keys:yt}]),P},[])}}}],[{key:"parse",value:function(L){var P=this,j=this.parseConfigurationModel(L.defaults),H=this.parseConfigurationModel(L.user),Ce=this.parseConfigurationModel(L.workspace),ze=L.folders.reduce(function(yt,Zt){return yt.set(a.a.revive(Zt[0]),P.parseConfigurationModel(Zt[1])),yt},new fe.b);return new V(j,H,new $n,Ce,ze,new $n,new fe.b,!1)}},{key:"parseConfigurationModel",value:function(L){return new $n(L.contents,L.keys,L.overrides).freeze()}}]),V}(),zn=function(){function V(De,L,P,j){Object(c.a)(this,V),this.change=De,this.previous=L,this.currentConfiguraiton=P,this.currentWorkspace=j,this._previousConfiguration=void 0;var H=new Set;De.keys.forEach(function(ze){return H.add(ze)}),De.overrides.forEach(function(ze){var yt=Object(ur.a)(ze,2),Zt=yt[1];return Zt.forEach(function(Wt){return H.add(Wt)})}),this.affectedKeys=Object(Te.a)(H.values());var Ce=new $n;this.affectedKeys.forEach(function(ze){return Ce.setValue(ze,{})}),this.affectedKeysTree=Ce.contents}return Object(r.a)(V,[{key:"previousConfiguration",get:function(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=vr.parse(this.previous.data)),this._previousConfiguration}},{key:"affectsConfiguration",value:function(L,P){var j;if(this.doesAffectedKeysTreeContains(this.affectedKeysTree,L)){if(P){var H=this.previousConfiguration?this.previousConfiguration.getValue(L,P,(j=this.previous)===null||j===void 0?void 0:j.workspace):void 0,Ce=this.currentConfiguraiton.getValue(L,P,this.currentWorkspace);return!Gt.d(H,Ce)}return!0}return!1}},{key:"doesAffectedKeysTreeContains",value:function(L,P){for(var j=Object($t.g)(Object(Pt.a)({},P,!0),function(){}),H;typeof j=="object"&&(H=Object.keys(j)[0]);){if(L=L[H],!L)return!1;j=j[H]}return!0}}]),V}(),Tr=e("3/fG"),Qr=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H,Ce,ze){var yt;return Object(c.a)(this,L),yt=De.call(this),yt._contextKeyService=P,yt._commandService=j,yt._telemetryService=H,yt._notificationService=Ce,yt._logService=ze,yt._onDidUpdateKeybindings=yt._register(new o.a),yt._currentChord=null,yt._currentChordChecker=new sn.c,yt._currentChordStatusMessage=null,yt._currentSingleModifier=null,yt._currentSingleModifierClearTimeout=new sn.g,yt._logging=!1,yt}return Object(r.a)(L,[{key:"onDidUpdateKeybindings",get:function(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:o.b.None}},{key:"dispose",value:function(){Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this)}},{key:"_log",value:function(j){this._logging&&this._logService.info("[KeybindingService]: ".concat(j))}},{key:"getKeybindings",value:function(){return this._getResolver().getKeybindings()}},{key:"lookupKeybinding",value:function(j){var H=this._getResolver().lookupPrimaryKeybinding(j);if(!!H)return H.resolvedKeybinding}},{key:"dispatchEvent",value:function(j,H){return this._dispatch(j,H)}},{key:"softDispatch",value:function(j,H){var Ce=this.resolveKeyboardEvent(j);if(Ce.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;var ze=Ce.getDispatchParts(),yt=Object(ur.a)(ze,1),Zt=yt[0];if(Zt===null)return null;var Wt=this._contextKeyService.getContext(H),yn=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(Wt,yn,Zt)}},{key:"_enterChordMode",value:function(j,H){var Ce=this;this._currentChord={keypress:j,label:H},this._currentChordStatusMessage=this._notificationService.status(Tr.a("first.chord","({0}) was pressed. Waiting for second key of chord...",H));var ze=Date.now();this._currentChordChecker.cancelAndSet(function(){if(!Ce._documentHasFocus()){Ce._leaveChordMode();return}Date.now()-ze>5e3&&Ce._leaveChordMode()},500)}},{key:"_leaveChordMode",value:function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}},{key:"_dispatch",value:function(j,H){return this._doDispatch(this.resolveKeyboardEvent(j),H,!1)}},{key:"_singleModifierDispatch",value:function(j,H){var Ce=this,ze=this.resolveKeyboardEvent(j),yt=ze.getSingleModifierDispatchParts(),Zt=Object(ur.a)(yt,1),Wt=Zt[0];return Wt!==null&&this._currentSingleModifier===null?(this._log("+ Storing single modifier for possible chord ".concat(Wt,".")),this._currentSingleModifier=Wt,this._currentSingleModifierClearTimeout.cancelAndSet(function(){Ce._log("+ Clearing single modifier due to 300ms elapsed."),Ce._currentSingleModifier=null},300),!1):Wt!==null&&Wt===this._currentSingleModifier?(this._log("/ Dispatching single modifier chord ".concat(Wt," ").concat(Wt)),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(ze,H,!0)):(this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1)}},{key:"_doDispatch",value:function(j,H){var Ce=this,ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,yt=!1;if(j.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var Zt=null,Wt=null;if(ze){var yn=j.getSingleModifierDispatchParts(),tr=Object(ur.a)(yn,1),Er=tr[0];Zt=Er,Wt=Er}else{var ni=j.getDispatchParts(),Oi=Object(ur.a)(ni,1);Zt=Oi[0],Wt=this._currentChord?this._currentChord.keypress:null}if(Zt===null)return this._log("\\ Keyboard event cannot be dispatched in keydown phase."),yt;var oi=this._contextKeyService.getContext(H),ui=j.getLabel(),Bi=this._getResolver().resolve(oi,Wt,Zt);return this._logService.trace("KeybindingService#dispatch",ui,Bi==null?void 0:Bi.commandId),Bi&&Bi.enterChord?(yt=!0,this._enterChordMode(Zt,ui),yt):(this._currentChord&&(!Bi||!Bi.commandId)&&(this._notificationService.status(Tr.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,ui),{hideAfter:10*1e3}),yt=!0),this._leaveChordMode(),Bi&&Bi.commandId&&(Bi.bubble||(yt=!0),typeof Bi.commandArgs=="undefined"?this._commandService.executeCommand(Bi.commandId).then(void 0,function(Pa){return Ce._notificationService.warn(Pa)}):this._commandService.executeCommand(Bi.commandId,Bi.commandArgs).then(void 0,function(Pa){return Ce._notificationService.warn(Pa)}),this._telemetryService.publicLog2("workbenchActionExecuted",{id:Bi.commandId,from:"keybinding"})),yt)}},{key:"mightProducePrintableCharacter",value:function(j){return j.ctrlKey||j.metaKey?!1:j.keyCode>=31&&j.keyCode<=56||j.keyCode>=21&&j.keyCode<=30}}]),L}(un.a),Qe=function(){function V(De,L,P){Object(c.a)(this,V),this._log=P,this._defaultKeybindings=De,this._defaultBoundCommands=new Map;for(var j=0,H=De.length;j<H;j++){var Ce=De[j].command;Ce&&this._defaultBoundCommands.set(Ce,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=V.combine(De,L);for(var ze=0,yt=this._keybindings.length;ze<yt;ze++){var Zt=this._keybindings[ze];Zt.keypressParts.length!==0&&(Zt.when&&Zt.when.type===0||this._addKeyPress(Zt.keypressParts[0],Zt))}}return Object(r.a)(V,[{key:"_addKeyPress",value:function(L,P){var j=this._map.get(L);if(typeof j=="undefined"){this._map.set(L,[P]),this._addToLookupMap(P);return}for(var H=j.length-1;H>=0;H--){var Ce=j[H];if(Ce.command!==P.command){var ze=Ce.keypressParts.length>1,yt=P.keypressParts.length>1;ze&&yt&&Ce.keypressParts[1]!==P.keypressParts[1]||V.whenIsEntirelyIncluded(Ce.when,P.when)&&this._removeFromLookupMap(Ce)}}j.push(P),this._addToLookupMap(P)}},{key:"_addToLookupMap",value:function(L){if(!!L.command){var P=this._lookupMap.get(L.command);typeof P=="undefined"?(P=[L],this._lookupMap.set(L.command,P)):P.push(L)}}},{key:"_removeFromLookupMap",value:function(L){if(!!L.command){var P=this._lookupMap.get(L.command);if(typeof P!="undefined"){for(var j=0,H=P.length;j<H;j++)if(P[j]===L){P.splice(j,1);return}}}}},{key:"getKeybindings",value:function(){return this._keybindings}},{key:"lookupPrimaryKeybinding",value:function(L){var P=this._lookupMap.get(L);return typeof P=="undefined"||P.length===0?null:P[P.length-1]}},{key:"resolve",value:function(L,P,j){this._log("| Resolving ".concat(j).concat(P?" chorded from ".concat(P):""));var H=null;if(P!==null){var Ce=this._map.get(P);if(typeof Ce=="undefined")return this._log("\\ No keybinding entries."),null;H=[];for(var ze=0,yt=Ce.length;ze<yt;ze++){var Zt=Ce[ze];Zt.keypressParts[1]===j&&H.push(Zt)}}else{var Wt=this._map.get(j);if(typeof Wt=="undefined")return this._log("\\ No keybinding entries."),null;H=Wt}var yn=this._findCommand(L,H);return yn?P===null&&yn.keypressParts.length>1&&yn.keypressParts[1]!==null?(this._log("\\ From ".concat(H.length," keybinding entries, matched chord, when: ").concat(Jt(yn.when),", source: ").concat(ln(yn),".")),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log("\\ From ".concat(H.length," keybinding entries, matched ").concat(yn.command,", when: ").concat(Jt(yn.when),", source: ").concat(ln(yn),".")),{enterChord:!1,leaveChord:yn.keypressParts.length>1,commandId:yn.command,commandArgs:yn.commandArgs,bubble:yn.bubble}):(this._log("\\ From ".concat(H.length," keybinding entries, no when clauses matched the context.")),null)}},{key:"_findCommand",value:function(L,P){for(var j=P.length-1;j>=0;j--){var H=P[j];if(!!V.contextMatchesRules(L,H.when))return H}return null}}],[{key:"_isTargetedForRemoval",value:function(L,P,j,H,Ce){return!(L.command!==H||P&&L.keypressParts[0]!==P||j&&L.keypressParts[1]!==j||Ce&&(!L.when||!Ce.equals(L.when)))}},{key:"combine",value:function(L,P){L=L.slice(0);var j=[],H=Object(ae.a)(P),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value;if(!ze.command||ze.command.length===0||ze.command.charAt(0)!=="-"){j.push(ze);continue}for(var yt=ze.command.substr(1),Zt=ze.keypressParts[0],Wt=ze.keypressParts[1],yn=ze.when,tr=L.length-1;tr>=0;tr--)this._isTargetedForRemoval(L[tr],Zt,Wt,yt,yn)&&L.splice(tr,1)}}catch(Er){H.e(Er)}finally{H.f()}return L.concat(j)}},{key:"whenIsEntirelyIncluded",value:function(L,P){return P?L?this._implies(L,P):!1:!0}},{key:"_implies",value:function(L,P){for(var j=L.negate(),H=function(Er){return Er.type===9?Er.expr:[Er]},Ce=H(j).concat(H(P)),ze=0;ze<Ce.length;ze++)for(var yt=Ce[ze],Zt=yt.negate(),Wt=ze+1;Wt<Ce.length;Wt++){var yn=Ce[Wt];if(Zt.equals(yn))return!0}return!1}},{key:"contextMatchesRules",value:function(L,P){return P?P.evaluate(L):!0}}]),V}();function Jt(V){return V?"".concat(V.serialize()):"no when condition"}function ln(V){return V.extensionId?V.isBuiltinExtension?"built-in extension ".concat(V.extensionId):"user extension ".concat(V.extensionId):V.isDefault?"built-in":"user"}var rn=e("nrhi"),An=Object(r.a)(function V(De,L,P,j,H,Ce,ze){Object(c.a)(this,V),this.resolvedKeybinding=De,this.keypressParts=De?fr(De.getDispatchParts()):[],De&&this.keypressParts.length===0&&(this.keypressParts=fr(De.getSingleModifierDispatchParts())),this.bubble=L?L.charCodeAt(0)===94:!1,this.command=this.bubble?L.substr(1):L,this.commandArgs=P,this.when=j,this.isDefault=H,this.extensionId=Ce,this.isBuiltinExtension=ze});function fr(V){for(var De=[],L=0,P=V.length;L<P;L++){var j=V[L];if(!j)return De;De.push(j)}return De}var Pr=e("i04g"),kr=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;if(Object(c.a)(this,L),H=De.call(this),j.length===0)throw Object(Ht.b)("parts");return H._os=P,H._parts=j,H}return Object(r.a)(L,[{key:"getLabel",value:function(){var j=this;return Pr.b.toLabel(this._os,this._parts,function(H){return j._getLabel(H)})}},{key:"getAriaLabel",value:function(){var j=this;return Pr.a.toLabel(this._os,this._parts,function(H){return j._getAriaLabel(H)})}},{key:"isChord",value:function(){return this._parts.length>1}},{key:"getParts",value:function(){var j=this;return this._parts.map(function(H){return j._getPart(H)})}},{key:"_getPart",value:function(j){return new i.d(j.ctrlKey,j.shiftKey,j.altKey,j.metaKey,this._getLabel(j),this._getAriaLabel(j))}},{key:"getDispatchParts",value:function(){var j=this;return this._parts.map(function(H){return j._getDispatchPart(H)})}},{key:"getSingleModifierDispatchParts",value:function(){var j=this;return this._parts.map(function(H){return j._getSingleModifierDispatchPart(H)})}}]),L}(i.c),Ar=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){return Object(c.a)(this,L),De.call(this,j,P.parts)}return Object(r.a)(L,[{key:"_keyCodeToUILabel",value:function(j){if(this._os===2)switch(j){case 15:return"\u2190";case 16:return"\u2191";case 17:return"\u2192";case 18:return"\u2193"}return i.b.toString(j)}},{key:"_getLabel",value:function(j){return j.isDuplicateModifierCase()?"":this._keyCodeToUILabel(j.keyCode)}},{key:"_getAriaLabel",value:function(j){return j.isDuplicateModifierCase()?"":i.b.toString(j.keyCode)}},{key:"_getDispatchPart",value:function(j){return L.getDispatchStr(j)}},{key:"_getSingleModifierDispatchPart",value:function(j){return j.keyCode===5&&!j.shiftKey&&!j.altKey&&!j.metaKey?"ctrl":j.keyCode===4&&!j.ctrlKey&&!j.altKey&&!j.metaKey?"shift":j.keyCode===6&&!j.ctrlKey&&!j.shiftKey&&!j.metaKey?"alt":j.keyCode===57&&!j.ctrlKey&&!j.shiftKey&&!j.altKey?"meta":null}}],[{key:"getDispatchStr",value:function(j){if(j.isModifierKey())return null;var H="";return j.ctrlKey&&(H+="ctrl+"),j.shiftKey&&(H+="shift+"),j.altKey&&(H+="alt+"),j.metaKey&&(H+="meta+"),H+=i.b.toString(j.keyCode),H}}]),L}(kr),vi=e("sM1p"),Wi=e("EWX2"),di=e("A9l+"),ri=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},yi=function(V,De){return function(L,P){De(L,P,V)}},Si=function(V,De,L,P){function j(H){return H instanceof L?H:new L(function(Ce){Ce(H)})}return new(L||(L=Promise))(function(H,Ce){function ze(Wt){try{Zt(P.next(Wt))}catch(yn){Ce(yn)}}function yt(Wt){try{Zt(P.throw(Wt))}catch(yn){Ce(yn)}}function Zt(Wt){Wt.done?H(Wt.value):j(Wt.value).then(ze,yt)}Zt((P=P.apply(V,De||[])).next())})},zi=function(){function V(De){Object(c.a)(this,V),this.disposed=!1,this.model=De,this._onWillDispose=new o.a}return Object(r.a)(V,[{key:"textEditorModel",get:function(){return this.model}},{key:"dispose",value:function(){this.disposed=!0,this._onWillDispose.fire()}}]),V}();function si(V,De,L){return Object(Ke.b)(V)?De(V):L(V)}var ii=function(){function V(De){Object(c.a)(this,V),this.modelService=De}return Object(r.a)(V,[{key:"setEditor",value:function(L){this.editor=L}},{key:"createModelReference",value:function(L){var P=this,j=null;return this.editor&&(j=si(this.editor,function(H){return P.findModel(H,L)},function(H){return P.findModel(H.getOriginalEditor(),L)||P.findModel(H.getModifiedEditor(),L)})),j?Promise.resolve(new un.c(new zi(j))):Promise.reject(new Error("Model not found"))}},{key:"findModel",value:function(L,P){var j=this.modelService.getModel(P);return j&&j.uri.toString()!==P.toString()?null:j}}]),V}();ii=ri([yi(0,Ue.a)],ii);var Yi=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,[{key:"show",value:function(){return V.NULL_PROGRESS_RUNNER}},{key:"showWhile",value:function(L,P){return Si(this,void 0,void 0,Object(Se.a)().mark(function j(){return Object(Se.a)().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return Ce.next=2,L;case 2:case"end":return Ce.stop()}},j)}))}}]),V}();Yi.NULL_PROGRESS_RUNNER={done:function(){},total:function(){},worked:function(){}};var La=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,[{key:"confirm",value:function(L){return this.doConfirm(L).then(function(P){return{confirmed:P,checkboxChecked:!1}})}},{key:"doConfirm",value:function(L){var P=L.message;return L.detail&&(P=P+`
- `+L.detail),Promise.resolve(window.confirm(P))}},{key:"show",value:function(L,P,j,H){return Promise.resolve({choice:0})}}]),V}(),Wa=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,[{key:"info",value:function(L){return this.notify({severity:J.a.Info,message:L})}},{key:"warn",value:function(L){return this.notify({severity:J.a.Warning,message:L})}},{key:"error",value:function(L){return this.notify({severity:J.a.Error,message:L})}},{key:"notify",value:function(L){switch(L.severity){case J.a.Error:console.error(L.message);break;case J.a.Warning:console.warn(L.message);break;default:console.log(L.message);break}return V.NO_OP}},{key:"status",value:function(L,P){return un.a.None}}]),V}();Wa.NO_OP=new vi.b;var Ri=function(){function V(De){Object(c.a)(this,V),this._onWillExecuteCommand=new o.a,this._onDidExecuteCommand=new o.a,this._instantiationService=De}return Object(r.a)(V,[{key:"executeCommand",value:function(L){var P=Ee.a.getCommand(L);if(!P)return Promise.reject(new Error("command '".concat(L,"' not found")));try{for(var j=arguments.length,H=new Array(j>1?j-1:0),Ce=1;Ce<j;Ce++)H[Ce-1]=arguments[Ce];this._onWillExecuteCommand.fire({commandId:L,args:H});var ze=this._instantiationService.invokeFunction.apply(this._instantiationService,[P.handler].concat(H));return this._onDidExecuteCommand.fire({commandId:L,args:H}),Promise.resolve(ze)}catch(yt){return Promise.reject(yt)}}}]),V}(),Oa=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H,Ce,ze,yt){var Zt;return Object(c.a)(this,L),Zt=De.call(this,P,j,H,Ce,ze),Zt._cachedResolver=null,Zt._dynamicKeybindings=[],Zt._register(je.addDisposableListener(yt,je.EventType.KEY_DOWN,function(Wt){var yn=new Le.a(Wt),tr=Zt._dispatch(yn,yn.target);tr&&(yn.preventDefault(),yn.stopPropagation())})),Zt._register(je.addDisposableListener(window,je.EventType.KEY_UP,function(Wt){var yn=new Le.a(Wt),tr=Zt._singleModifierDispatch(yn,yn.target);tr&&yn.preventDefault()})),Zt}return Object(r.a)(L,[{key:"addDynamicKeybinding",value:function(j,H,Ce,ze){var yt=this,Zt=Object(i.f)(H,jn.a),Wt=new un.b;return Zt&&(this._dynamicKeybindings.push({keybinding:Zt,command:j,when:ze,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),Wt.add(Object(un.h)(function(){for(var yn=0;yn<yt._dynamicKeybindings.length;yn++){var tr=yt._dynamicKeybindings[yn];if(tr.command===j){yt._dynamicKeybindings.splice(yn,1),yt.updateResolver({source:1});return}}}))),Wt.add(Ee.a.registerCommand(j,Ce)),this.updateResolver({source:1}),Wt}},{key:"updateResolver",value:function(j){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(j)}},{key:"_getResolver",value:function(){var j=this;if(!this._cachedResolver){var H=this._toNormalizedKeybindingItems(rn.a.getDefaultKeybindings(),!0),Ce=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new Qe(H,Ce,function(ze){return j._log(ze)})}return this._cachedResolver}},{key:"_documentHasFocus",value:function(){return document.hasFocus()}},{key:"_toNormalizedKeybindingItems",value:function(j,H){var Ce=[],ze=0,yt=Object(ae.a)(j),Zt;try{for(yt.s();!(Zt=yt.n()).done;){var Wt=Zt.value,yn=Wt.when||void 0,tr=Wt.keybinding;if(!tr)Ce[ze++]=new An(void 0,Wt.command,Wt.commandArgs,yn,H,null,!1);else{var Er=this.resolveKeybinding(tr),ni=Object(ae.a)(Er),Oi;try{for(ni.s();!(Oi=ni.n()).done;){var oi=Oi.value;Ce[ze++]=new An(oi,Wt.command,Wt.commandArgs,yn,H,null,!1)}}catch(ui){ni.e(ui)}finally{ni.f()}}}}catch(ui){yt.e(ui)}finally{yt.f()}return Ce}},{key:"resolveKeybinding",value:function(j){return[new Ar(j,jn.a)]}},{key:"resolveKeyboardEvent",value:function(j){var H=new i.e(j.ctrlKey,j.shiftKey,j.altKey,j.metaKey,j.keyCode).toChord();return new Ar(H,jn.a)}}]),L}(Qr);function Ha(V){return V&&typeof V=="object"&&(!V.overrideIdentifier||typeof V.overrideIdentifier=="string")&&(!V.resource||V.resource instanceof a.a)}var Za=function(){function V(){Object(c.a)(this,V),this._onDidChangeConfiguration=new o.a,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new vr(new Sr,new $n)}return Object(r.a)(V,[{key:"getValue",value:function(L,P){var j=typeof L=="string"?L:void 0,H=Ha(L)?L:Ha(P)?P:{};return this._configuration.getValue(j,H,void 0)}},{key:"updateValues",value:function(L){var P={data:this._configuration.toData()},j=[],H=Object(ae.a)(L),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value,yt=Object(ur.a)(ze,2),Zt=yt[0],Wt=yt[1];this.getValue(Zt)!==Wt&&(this._configuration.updateValue(Zt,Wt),j.push(Zt))}}catch(tr){H.e(tr)}finally{H.f()}if(j.length>0){var yn=new zn({keys:j,overrides:[]},P,this._configuration);yn.source=7,yn.sourceConfig=null,this._onDidChangeConfiguration.fire(yn)}return Promise.resolve()}}]),V}(),co=function(){function V(De){var L=this;Object(c.a)(this,V),this.configurationService=De,this._onDidChangeConfiguration=new o.a,this.configurationService.onDidChangeConfiguration(function(P){L._onDidChangeConfiguration.fire({affectedKeys:P.affectedKeys,affectsConfiguration:function(H,Ce){return P.affectsConfiguration(Ce)}})})}return Object(r.a)(V,[{key:"getValue",value:function(L,P,j){var H=n.a.isIPosition(P)?P:null,Ce=H?typeof j=="string"?j:void 0:typeof P=="string"?P:void 0;return typeof Ce=="undefined"?this.configurationService.getValue():this.configurationService.getValue(Ce)}}]),V}(),Do=function(){function V(De){Object(c.a)(this,V),this.configurationService=De}return Object(r.a)(V,[{key:"getEOL",value:function(L,P){var j=this.configurationService.getValue("files.eol",{overrideIdentifier:P,resource:L});return j&&j!=="auto"?j:jn.d||jn.f?`
- `:`\r
- `}}]),V}();Do=ri([yi(0,$t.a)],Do);var ra=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,[{key:"publicLog",value:function(L,P){return Promise.resolve(void 0)}},{key:"publicLog2",value:function(L,P){return this.publicLog(L,P)}}]),V}(),ya=function(){function V(){Object(c.a)(this,V);var De=a.a.from({scheme:V.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new Wi.b({uri:De,name:"",index:0})]}}return Object(r.a)(V,[{key:"getWorkspace",value:function(){return this.workspace}}]),V}();ya.SCHEME="inmemory";function Ra(V,De,L){if(!!De&&V instanceof Za){var P=[];Object.keys(De).forEach(function(j){Object(Ot.d)(j)&&P.push(["editor.".concat(j),De[j]]),L&&Object(Ot.c)(j)&&P.push(["diffEditor.".concat(j),De[j]])}),P.length>0&&V.updateValues(P)}}var Fa=function(){function V(De){Object(c.a)(this,V),this._modelService=De}return Object(r.a)(V,[{key:"hasPreviewHandler",value:function(){return!1}},{key:"apply",value:function(L,P){return Si(this,void 0,void 0,Object(Se.a)().mark(function j(){var H,Ce,ze,yt,Zt,Wt,yn,tr,Er,ni,Oi,oi,ui,Bi;return Object(Se.a)().wrap(function(za){for(;;)switch(za.prev=za.next){case 0:H=new Map,Ce=Object(ae.a)(L),za.prev=2,Ce.s();case 4:if((ze=Ce.n()).done){za.next=18;break}if(yt=ze.value,yt instanceof We.c){za.next=8;break}throw new Error("bad edit - only text edits are supported");case 8:if(Zt=this._modelService.getModel(yt.resource),Zt){za.next=11;break}throw new Error("bad edit - model not found");case 11:if(!(typeof yt.versionId=="number"&&Zt.getVersionId()!==yt.versionId)){za.next=13;break}throw new Error("bad state - model changed in the meantime");case 13:Wt=H.get(Zt),Wt||(Wt=[],H.set(Zt,Wt)),Wt.push(Vt.a.replaceMove(v.a.lift(yt.textEdit.range),yt.textEdit.text));case 16:za.next=4;break;case 18:za.next=23;break;case 20:za.prev=20,za.t0=za.catch(2),Ce.e(za.t0);case 23:return za.prev=23,Ce.f(),za.finish(23);case 26:yn=0,tr=0,Er=Object(ae.a)(H);try{for(Er.s();!(ni=Er.n()).done;)Oi=ni.value,oi=Object(ur.a)(Oi,2),ui=oi[0],Bi=oi[1],ui.pushStackElement(),ui.pushEditOperations([],Bi,function(){return[]}),ui.pushStackElement(),tr+=1,yn+=Bi.length}catch(wo){Er.e(wo)}finally{Er.f()}return za.abrupt("return",{ariaSummary:_n.w(di.g.bulkEditServiceSummary,yn,tr)});case 31:case"end":return za.stop()}},j,this,[[2,20,23,26]])}))}}]),V}(),Ca=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,[{key:"getUriLabel",value:function(L,P){return L.scheme==="file"?L.fsPath:L.path}}]),V}(),no=function(){function V(De,L){Object(c.a)(this,V),this._codeEditorService=De,this._container=L,this.onDidLayout=o.b.None}return Object(r.a)(V,[{key:"dimension",get:function(){return this._dimension||(this._dimension=je.getClientArea(window.document.body)),this._dimension}},{key:"container",get:function(){return this._container}},{key:"focus",value:function(){var L;(L=this._codeEditorService.getFocusedCodeEditor())===null||L===void 0||L.focus()}}]),V}(),No=e("OBOq"),es=e("nB0o"),ds=e("SmQN"),Yr=e("9Y+e"),jr=e("scqD"),Ei=e("fjLI"),gi=e("T8No"),or=e("Uzvx"),Ir=e("Cg/j"),Ur=e("bexQ"),Li=e("t9D7"),oa=e("R3nR"),Ua=e("9XeP"),$a=e("tTk5"),Ba=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){var P;return Object(c.a)(this,L),P=De.call(this),P._onCodeEditorAdd=P._register(new o.a),P.onCodeEditorAdd=P._onCodeEditorAdd.event,P._onCodeEditorRemove=P._register(new o.a),P.onCodeEditorRemove=P._onCodeEditorRemove.event,P._onDiffEditorAdd=P._register(new o.a),P._onDiffEditorRemove=P._register(new o.a),P._onDecorationTypeRegistered=P._register(new o.a),P._modelProperties=new Map,P._codeEditors=Object.create(null),P._diffEditors=Object.create(null),P}return Object(r.a)(L,[{key:"addCodeEditor",value:function(j){this._codeEditors[j.getId()]=j,this._onCodeEditorAdd.fire(j)}},{key:"removeCodeEditor",value:function(j){delete this._codeEditors[j.getId()]&&this._onCodeEditorRemove.fire(j)}},{key:"listCodeEditors",value:function(){var j=this;return Object.keys(this._codeEditors).map(function(H){return j._codeEditors[H]})}},{key:"addDiffEditor",value:function(j){this._diffEditors[j.getId()]=j,this._onDiffEditorAdd.fire(j)}},{key:"removeDiffEditor",value:function(j){delete this._diffEditors[j.getId()]&&this._onDiffEditorRemove.fire(j)}},{key:"listDiffEditors",value:function(){var j=this;return Object.keys(this._diffEditors).map(function(H){return j._diffEditors[H]})}},{key:"getFocusedCodeEditor",value:function(){var j=null,H=this.listCodeEditors(),Ce=Object(ae.a)(H),ze;try{for(Ce.s();!(ze=Ce.n()).done;){var yt=ze.value;if(yt.hasTextFocus())return yt;yt.hasWidgetFocus()&&(j=yt)}}catch(Zt){Ce.e(Zt)}finally{Ce.f()}return j}},{key:"setModelProperty",value:function(j,H,Ce){var ze=j.toString(),yt;this._modelProperties.has(ze)?yt=this._modelProperties.get(ze):(yt=new Map,this._modelProperties.set(ze,yt)),yt.set(H,Ce)}},{key:"getModelProperty",value:function(j,H){var Ce=j.toString();if(this._modelProperties.has(Ce)){var ze=this._modelProperties.get(Ce);return ze.get(H)}}}]),L}(un.a),ro=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},mo=function(V,De){return function(L,P){De(L,P,V)}},oo=function(){function V(De,L,P){Object(c.a)(this,V),this._parent=De,this._editorId=L,this._styleSheet=P,this._refCount=0}return Object(r.a)(V,[{key:"ref",value:function(){this._refCount++}},{key:"unref",value:function(){var L;this._refCount--,this._refCount===0&&((L=this._styleSheet.parentNode)===null||L===void 0||L.removeChild(this._styleSheet),this._parent._removeEditorStyleSheets(this._editorId))}},{key:"insertRule",value:function(L,P){var j=this._styleSheet.sheet;j.insertRule(L,P)}},{key:"removeRulesContainingSelector",value:function(L){je.removeCSSRulesContainingSelector(L,this._styleSheet)}}]),V}(),Oo=function(){function V(De){Object(c.a)(this,V),this._styleSheet=De}return Object(r.a)(V,[{key:"ref",value:function(){}},{key:"unref",value:function(){}},{key:"insertRule",value:function(L,P){var j=this._styleSheet.sheet;j.insertRule(L,P)}},{key:"removeRulesContainingSelector",value:function(L){je.removeCSSRulesContainingSelector(L,this._styleSheet)}}]),V}(),Yo=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;return Object(c.a)(this,L),H=De.call(this),H._decorationOptionProviders=new Map,H._editorStyleSheets=new Map,H._globalStyleSheet=P||null,H._themeService=j,H}return Object(r.a)(L,[{key:"_getOrCreateGlobalStyleSheet",value:function(){return this._globalStyleSheet||(this._globalStyleSheet=new Oo(je.createStyleSheet())),this._globalStyleSheet}},{key:"_getOrCreateStyleSheet",value:function(j){if(!j)return this._getOrCreateGlobalStyleSheet();var H=j.getContainerDomNode();if(!je.isInShadowDOM(H))return this._getOrCreateGlobalStyleSheet();var Ce=j.getId();if(!this._editorStyleSheets.has(Ce)){var ze=new oo(this,Ce,je.createStyleSheet(H));this._editorStyleSheets.set(Ce,ze)}return this._editorStyleSheets.get(Ce)}},{key:"_removeEditorStyleSheets",value:function(j){this._editorStyleSheets.delete(j)}},{key:"registerDecorationType",value:function(j,H,Ce,ze){var yt=this._decorationOptionProviders.get(j);if(!yt){var Zt=this._getOrCreateStyleSheet(ze),Wt={styleSheet:Zt,key:j,parentTypeKey:Ce,options:H||Object.create(null)};Ce?yt=new ts(this._themeService,Zt,Wt):yt=new Os(this._themeService,Zt,Wt),this._decorationOptionProviders.set(j,yt),this._onDecorationTypeRegistered.fire(j)}yt.refCount++}},{key:"removeDecorationType",value:function(j){var H=this._decorationOptionProviders.get(j);H&&(H.refCount--,H.refCount<=0&&(this._decorationOptionProviders.delete(j),H.dispose(),this.listCodeEditors().forEach(function(Ce){return Ce.removeDecorations(j)})))}},{key:"resolveDecorationOptions",value:function(j,H){var Ce=this._decorationOptionProviders.get(j);if(!Ce)throw new Error("Unknown decoration type key: "+j);return Ce.getOptions(this,H)}}]),L}(Ba);Yo=ro([mo(1,Li.b)],Yo);var ts=function(){function V(De,L,P){Object(c.a)(this,V),this._styleSheet=L,this._styleSheet.ref(),this._parentTypeKey=P.parentTypeKey,this.refCount=0,this._beforeContentRules=new Mo(3,P,De),this._afterContentRules=new Mo(4,P,De)}return Object(r.a)(V,[{key:"getOptions",value:function(L,P){var j=L.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(j.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(j.afterContentClassName=this._afterContentRules.className),j}},{key:"dispose",value:function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()}}]),V}(),Os=function(){function V(De,L,P){var j=this;Object(c.a)(this,V),this._disposables=new un.b,this._styleSheet=L,this._styleSheet.ref(),this.refCount=0;var H=function(tr){var Er=new Mo(tr,P,De);if(j._disposables.add(Er),Er.hasContent)return Er.className},Ce=function(tr){var Er=new Mo(tr,P,De);return j._disposables.add(Er),Er.hasContent?{className:Er.className,hasLetterSpacing:Er.hasLetterSpacing}:null};this.className=H(0);var ze=Ce(1);ze&&(this.inlineClassName=ze.className,this.inlineClassNameAffectsLetterSpacing=ze.hasLetterSpacing),this.beforeContentClassName=H(3),this.afterContentClassName=H(4),this.glyphMarginClassName=H(2);var yt=P.options;this.isWholeLine=Boolean(yt.isWholeLine),this.stickiness=yt.rangeBehavior;var Zt=yt.light&&yt.light.overviewRulerColor||yt.overviewRulerColor,Wt=yt.dark&&yt.dark.overviewRulerColor||yt.overviewRulerColor;(typeof Zt!="undefined"||typeof Wt!="undefined")&&(this.overviewRuler={color:Zt||Wt,darkColor:Wt||Zt,position:yt.overviewRulerLane||ut.d.Center})}return Object(r.a)(V,[{key:"getOptions",value:function(L,P){return P?{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}},{key:"dispose",value:function(){this._disposables.dispose(),this._styleSheet.unref()}}]),V}(),Rs={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};",fontSize:"font-size:{0};",fontFamily:"font-family:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",padding:"padding:{0};",width:"width:{0};",height:"height:{0};"},Mo=function(){function V(De,L,P){var j=this;Object(c.a)(this,V),this._theme=P.getColorTheme(),this._ruleType=De,this._providerArgs=L,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var H=Bs.getClassName(this._providerArgs.key,De);this._providerArgs.parentTypeKey&&(H=H+" "+Bs.getClassName(this._providerArgs.parentTypeKey,De)),this._className=H,this._unThemedSelector=Bs.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,De),this._buildCSS(),this._usesThemeColors?this._themeListener=P.onDidColorThemeChange(function(Ce){j._theme=P.getColorTheme(),j._removeCSS(),j._buildCSS()}):this._themeListener=null}return Object(r.a)(V,[{key:"dispose",value:function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)}},{key:"hasContent",get:function(){return this._hasContent}},{key:"hasLetterSpacing",get:function(){return this._hasLetterSpacing}},{key:"className",get:function(){return this._className}},{key:"_buildCSS",value:function(){var L=this._providerArgs.options,P,j,H;switch(this._ruleType){case 0:P=this.getCSSTextForModelDecorationClassName(L),j=this.getCSSTextForModelDecorationClassName(L.light),H=this.getCSSTextForModelDecorationClassName(L.dark);break;case 1:P=this.getCSSTextForModelDecorationInlineClassName(L),j=this.getCSSTextForModelDecorationInlineClassName(L.light),H=this.getCSSTextForModelDecorationInlineClassName(L.dark);break;case 2:P=this.getCSSTextForModelDecorationGlyphMarginClassName(L),j=this.getCSSTextForModelDecorationGlyphMarginClassName(L.light),H=this.getCSSTextForModelDecorationGlyphMarginClassName(L.dark);break;case 3:P=this.getCSSTextForModelDecorationContentClassName(L.before),j=this.getCSSTextForModelDecorationContentClassName(L.light&&L.light.before),H=this.getCSSTextForModelDecorationContentClassName(L.dark&&L.dark.before);break;case 4:P=this.getCSSTextForModelDecorationContentClassName(L.after),j=this.getCSSTextForModelDecorationContentClassName(L.light&&L.light.after),H=this.getCSSTextForModelDecorationContentClassName(L.dark&&L.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var Ce=this._providerArgs.styleSheet,ze=!1;P.length>0&&(Ce.insertRule("".concat(this._unThemedSelector," {").concat(P,"}"),0),ze=!0),j.length>0&&(Ce.insertRule(".vs".concat(this._unThemedSelector," {").concat(j,"}"),0),ze=!0),H.length>0&&(Ce.insertRule(".vs-dark".concat(this._unThemedSelector,", .hc-black").concat(this._unThemedSelector," {").concat(H,"}"),0),ze=!0),this._hasContent=ze}},{key:"_removeCSS",value:function(){this._providerArgs.styleSheet.removeRulesContainingSelector(this._unThemedSelector)}},{key:"getCSSTextForModelDecorationClassName",value:function(L){if(!L)return"";var P=[];return this.collectCSSText(L,["backgroundColor"],P),this.collectCSSText(L,["outline","outlineColor","outlineStyle","outlineWidth"],P),this.collectBorderSettingsCSSText(L,P),P.join("")}},{key:"getCSSTextForModelDecorationInlineClassName",value:function(L){if(!L)return"";var P=[];return this.collectCSSText(L,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],P),L.letterSpacing&&(this._hasLetterSpacing=!0),P.join("")}},{key:"getCSSTextForModelDecorationContentClassName",value:function(L){if(!L)return"";var P=[];if(typeof L!="undefined"){if(this.collectBorderSettingsCSSText(L,P),typeof L.contentIconPath!="undefined"&&P.push(_n.w(Rs.contentIconPath,je.asCSSUrl(a.a.revive(L.contentIconPath)))),typeof L.contentText=="string"){var j=L.contentText.match(/^.*$/m)[0],H=j.replace(/['\\]/g,"\\$&");P.push(_n.w(Rs.contentText,H))}this.collectCSSText(L,["fontStyle","fontWeight","fontSize","fontFamily","textDecoration","color","opacity","backgroundColor","margin","padding"],P),this.collectCSSText(L,["width","height"],P)&&P.push("display:inline-block;")}return P.join("")}},{key:"getCSSTextForModelDecorationGlyphMarginClassName",value:function(L){if(!L)return"";var P=[];return typeof L.gutterIconPath!="undefined"&&(P.push(_n.w(Rs.gutterIconPath,je.asCSSUrl(a.a.revive(L.gutterIconPath)))),typeof L.gutterIconSize!="undefined"&&P.push(_n.w(Rs.gutterIconSize,L.gutterIconSize))),P.join("")}},{key:"collectBorderSettingsCSSText",value:function(L,P){return this.collectCSSText(L,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],P)?(P.push(_n.w("box-sizing: border-box;")),!0):!1}},{key:"collectCSSText",value:function(L,P,j){var H=j.length,Ce=Object(ae.a)(P),ze;try{for(Ce.s();!(ze=Ce.n()).done;){var yt=ze.value,Zt=this.resolveValue(L[yt]);typeof Zt=="string"&&j.push(_n.w(Rs[yt],Zt))}}catch(Wt){Ce.e(Wt)}finally{Ce.f()}return j.length!==H}},{key:"resolveValue",value:function(L){if(Object(st.b)(L)){this._usesThemeColors=!0;var P=this._theme.getColor(L.id);return P?P.toString():"transparent"}return L}}]),V}(),Bs=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,null,[{key:"getClassName",value:function(L,P){return"ced-"+L+"-"+P}},{key:"getSelector",value:function(L,P,j){var H=".monaco-editor ."+this.getClassName(L,j);return P&&(H=H+"."+this.getClassName(P,j)),j===3?H+="::before":j===4&&(H+="::after"),H}}]),V}(),ll=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},ks=function(V,De){return function(L,P){De(L,P,V)}},xl=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H){var Ce;return Object(c.a)(this,L),Ce=De.call(this,P,H),Ce.onCodeEditorAdd(function(){return Ce._checkContextKey()}),Ce.onCodeEditorRemove(function(){return Ce._checkContextKey()}),Ce._editorIsOpen=j.createKey("editorIsOpen",!1),Ce._activeCodeEditor=null,Ce}return Object(r.a)(L,[{key:"_checkContextKey",value:function(){var j=!1,H=Object(ae.a)(this.listCodeEditors()),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value;if(!ze.isSimpleWidget){j=!0;break}}}catch(yt){H.e(yt)}finally{H.f()}this._editorIsOpen.set(j)}},{key:"setActiveCodeEditor",value:function(j){this._activeCodeEditor=j}},{key:"getActiveCodeEditor",value:function(){return this._activeCodeEditor}},{key:"openCodeEditor",value:function(j,H,Ce){return H?Promise.resolve(this.doOpenEditor(H,j)):Promise.resolve(null)}},{key:"doOpenEditor",value:function(j,H){var Ce=this.findModel(j,H.resource);if(!Ce){if(H.resource){var ze=H.resource.scheme;if(ze===ge.c.http||ze===ge.c.https)return Object(je.windowOpenNoOpener)(H.resource.toString()),j}return null}var yt=H.options?H.options.selection:null;if(yt)if(typeof yt.endLineNumber=="number"&&typeof yt.endColumn=="number")j.setSelection(yt),j.revealRangeInCenter(yt,1);else{var Zt={lineNumber:yt.startLineNumber,column:yt.startColumn};j.setPosition(Zt),j.revealPositionInCenter(Zt,1)}return j}},{key:"findModel",value:function(j,H){var Ce=j.getModel();return Ce&&Ce.uri.toString()!==H.toString()?null:Ce}}]),L}(Yo);xl=ll([ks(1,gi.b),ks(2,Li.b)],xl);var Pl=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},Wo=function(V,De){return function(L,P){De(L,P,V)}},yl=0,Ps=!1;function B(){Ps||(Ps=!0,No.b(document.body))}var Oe=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H,Ce,ze,yt,Zt,Wt,yn,tr){var Er;Object(c.a)(this,L);var ni=Object.assign({},j);return ni.ariaLabel=ni.ariaLabel||di.h.editorViewAccessibleLabel,ni.ariaLabel=ni.ariaLabel+";"+di.h.accessibilityHelpMessage,Er=De.call(this,P,ni,{},H,Ce,ze,yt,Wt,yn,tr),Zt instanceof Oa?Er._standaloneKeybindingService=Zt:Er._standaloneKeybindingService=null,B(),Er}return Object(r.a)(L,[{key:"addCommand",value:function(j,H,Ce){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;var ze="DYNAMIC_"+ ++yl,yt=gi.a.deserialize(Ce);return this._standaloneKeybindingService.addDynamicKeybinding(ze,j,H,yt),ze}},{key:"createContextKey",value:function(j,H){return this._contextKeyService.createKey(j,H)}},{key:"addAction",value:function(j){var H=this;if(typeof j.id!="string"||typeof j.label!="string"||typeof j.run!="function")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"),un.a.None;var Ce=j.id,ze=j.label,yt=gi.a.and(gi.a.equals("editorId",this.getId()),gi.a.deserialize(j.precondition)),Zt=j.keybindings,Wt=gi.a.and(yt,gi.a.deserialize(j.keybindingContext)),yn=j.contextMenuGroupId||null,tr=j.contextMenuOrder||0,Er=function(yo){for(var bs=arguments.length,Xo=new Array(bs>1?bs-1:0),zs=1;zs<bs;zs++)Xo[zs-1]=arguments[zs];return Promise.resolve(j.run.apply(j,[H].concat(Xo)))},ni=new un.b,Oi=this.getId()+":"+Ce;if(ni.add(Ee.a.registerCommand(Oi,Er)),yn){var oi={command:{id:Oi,title:ze},when:yt,group:yn,order:tr};ni.add(Ei.d.appendMenuItem(Ei.b.EditorContext,oi))}if(Array.isArray(Zt)){var ui=Object(ae.a)(Zt),Bi;try{for(ui.s();!(Bi=ui.n()).done;){var Pa=Bi.value;ni.add(this._standaloneKeybindingService.addDynamicKeybinding(Oi,Pa,Er,Wt))}}catch(wo){ui.e(wo)}finally{ui.f()}}var za=new Yr.a(Oi,ze,ze,yt,Er,this._contextKeyService);return this._actions[Ce]=za,ni.add(Object(un.h)(function(){delete H._actions[Ce]})),ni}},{key:"_triggerCommand",value:function(j,H){if(this._codeEditorService instanceof xl)try{this._codeEditorService.setActiveCodeEditor(this),Object(nn.a)(Object(bn.a)(L.prototype),"_triggerCommand",this).call(this,j,H)}finally{this._codeEditorService.setActiveCodeEditor(null)}else Object(nn.a)(Object(bn.a)(L.prototype),"_triggerCommand",this).call(this,j,H)}}]),L}(es.a);Oe=Pl([Wo(2,Ir.a),Wo(3,pe.a),Wo(4,Ee.b),Wo(5,gi.b),Wo(6,Ur.a),Wo(7,Li.b),Wo(8,vi.a),Wo(9,oa.b)],Oe);var St=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H,Ce,ze,yt,Zt,Wt,yn,tr,Er,ni,Oi,oi,ui){var Bi;Object(c.a)(this,L);var Pa=Object.assign({},j);Ra(ni,Pa,!1);var za=tr.registerEditorContainer(P);typeof Pa.theme=="string"&&tr.setTheme(Pa.theme),typeof Pa.autoDetectHighContrast!="undefined"&&tr.setAutoDetectHighContrast(Boolean(Pa.autoDetectHighContrast));var wo=Pa.model;delete Pa.model,Bi=De.call(this,P,Pa,Ce,ze,yt,Zt,Wt,tr,Er,Oi),Bi._contextViewService=yn,Bi._configurationService=ni,Bi._standaloneThemeService=tr,Bi._register(H),Bi._register(za);var yo;if(typeof wo=="undefined"?(yo=Cn(oi,ui,Pa.value||"",Pa.language||"text/plain",void 0),Bi._ownsModel=!0):(yo=wo,Bi._ownsModel=!1),Bi._attachModel(yo),yo){var bs={oldModelUrl:null,newModelUrl:yo.uri};Bi._onDidChangeModel.fire(bs)}return Bi}return Object(r.a)(L,[{key:"dispose",value:function(){Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this)}},{key:"updateOptions",value:function(j){Ra(this._configurationService,j,!1),typeof j.theme=="string"&&this._standaloneThemeService.setTheme(j.theme),typeof j.autoDetectHighContrast!="undefined"&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(j.autoDetectHighContrast)),Object(nn.a)(Object(bn.a)(L.prototype),"updateOptions",this).call(this,j)}},{key:"_attachModel",value:function(j){Object(nn.a)(Object(bn.a)(L.prototype),"_attachModel",this).call(this,j),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)}},{key:"_postDetachModelCleanup",value:function(j){Object(nn.a)(Object(bn.a)(L.prototype),"_postDetachModelCleanup",this).call(this,j),j&&this._ownsModel&&(j.dispose(),this._ownsModel=!1)}}]),L}(Oe);St=Pl([Wo(3,Ir.a),Wo(4,pe.a),Wo(5,Ee.b),Wo(6,gi.b),Wo(7,Ur.a),Wo(8,or.b),Wo(9,jr.a),Wo(10,vi.a),Wo(11,$t.a),Wo(12,oa.b),Wo(13,Ue.a),Wo(14,Tt.a)],St);var Qt=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H,Ce,ze,yt,Zt,Wt,yn,tr,Er,ni,Oi,oi,ui){var Bi;Object(c.a)(this,L);var Pa=Object.assign({},j);Ra(ni,Pa,!0);var za=tr.registerEditorContainer(P);return typeof Pa.theme=="string"&&tr.setTheme(Pa.theme),typeof Pa.autoDetectHighContrast!="undefined"&&tr.setAutoDetectHighContrast(Boolean(Pa.autoDetectHighContrast)),Bi=De.call(this,P,Pa,{},ui,Wt,ze,Ce,yn,tr,Er,Oi,oi),Bi._contextViewService=Zt,Bi._configurationService=ni,Bi._standaloneThemeService=tr,Bi._register(H),Bi._register(za),Bi._contextViewService.setContainer(Bi._containerDomElement),Bi}return Object(r.a)(L,[{key:"dispose",value:function(){Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this)}},{key:"updateOptions",value:function(j){Ra(this._configurationService,j,!0),typeof j.theme=="string"&&this._standaloneThemeService.setTheme(j.theme),typeof j.autoDetectHighContrast!="undefined"&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(j.autoDetectHighContrast)),Object(nn.a)(Object(bn.a)(L.prototype),"updateOptions",this).call(this,j)}},{key:"_createInnerEditor",value:function(j,H,Ce){return j.createInstance(Oe,H,Ce)}},{key:"getOriginalEditor",value:function(){return Object(nn.a)(Object(bn.a)(L.prototype),"getOriginalEditor",this).call(this)}},{key:"getModifiedEditor",value:function(){return Object(nn.a)(Object(bn.a)(L.prototype),"getModifiedEditor",this).call(this)}},{key:"addCommand",value:function(j,H,Ce){return this.getModifiedEditor().addCommand(j,H,Ce)}},{key:"createContextKey",value:function(j,H){return this.getModifiedEditor().createContextKey(j,H)}},{key:"addAction",value:function(j){return this.getModifiedEditor().addAction(j)}}]),L}(ds.a);Qt=Pl([Wo(3,Ir.a),Wo(4,gi.b),Wo(5,Ur.a),Wo(6,or.b),Wo(7,Sn.a),Wo(8,pe.a),Wo(9,jr.a),Wo(10,vi.a),Wo(11,$t.a),Wo(12,or.a),Wo(13,$a.a),Wo(14,Ua.a)],Qt);function Cn(V,De,L,P,j){if(L=L||"",!P){var H=L.indexOf(`
- `),Ce=L;return H!==-1&&(Ce=L.substring(0,H)),Nn(V,L,De.createByFilepathOrFirstLine(j||null,Ce),j)}return Nn(V,L,De.create(P),j)}function Nn(V,De,L,P){return V.createModel(De,L,P)}var Bn=function(){function V(De){Object(c.a)(this,V),this._languageIdentifier=De}return Object(r.a)(V,[{key:"getId",value:function(){return this._languageIdentifier.language}}]),V}(),Xn=e("MrjW"),Jn=e("l2gE"),Cr="text/plain",Kr="application/unknown",ti=[],Pi=[],pi=[];function Fi(V){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,L=ha(V);ti.push(L),L.userConfigured?pi.push(L):Pi.push(L),De&&!L.userConfigured&&ti.forEach(function(P){P.mime===L.mime||P.userConfigured||(L.extension&&P.extension===L.extension&&console.warn("Overwriting extension <<".concat(L.extension,">> to now point to mime <<").concat(L.mime,">>")),L.filename&&P.filename===L.filename&&console.warn("Overwriting filename <<".concat(L.filename,">> to now point to mime <<").concat(L.mime,">>")),L.filepattern&&P.filepattern===L.filepattern&&console.warn("Overwriting filepattern <<".concat(L.filepattern,">> to now point to mime <<").concat(L.mime,">>")),L.firstline&&P.firstline===L.firstline&&console.warn("Overwriting firstline <<".concat(L.firstline,">> to now point to mime <<").concat(L.mime,">>")))})}function ha(V){return{id:V.id,mime:V.mime,filename:V.filename,extension:V.extension,filepattern:V.filepattern,firstline:V.firstline,userConfigured:V.userConfigured,filenameLowercase:V.filename?V.filename.toLowerCase():void 0,extensionLowercase:V.extension?V.extension.toLowerCase():void 0,filepatternLowercase:V.filepattern?V.filepattern.toLowerCase():void 0,filepatternOnPath:V.filepattern?V.filepattern.indexOf(Xn.e.sep)>=0:!1}}function $i(V,De){var L;if(V)switch(V.scheme){case ge.c.file:L=V.fsPath;break;case ge.c.data:var P=Ve.a.parseMetaData(V);L=P.get(Ve.a.META_DATA_LABEL);break;default:L=V.path}if(!L)return[Kr];L=L.toLowerCase();var j=Object(Xn.a)(L),H=wa(L,j,pi);if(H)return[H,Cr];var Ce=wa(L,j,Pi);if(Ce)return[Ce,Cr];if(De){var ze=Lo(De);if(ze)return[ze,Cr]}return[Kr]}function wa(V,De,L){for(var P=null,j=null,H=null,Ce=L.length-1;Ce>=0;Ce--){var ze=L[Ce];if(De===ze.filenameLowercase){P=ze;break}if(ze.filepattern&&(!j||ze.filepattern.length>j.filepattern.length)){var yt=ze.filepatternOnPath?V:De;Object(Jn.a)(ze.filepatternLowercase,yt)&&(j=ze)}ze.extension&&(!H||ze.extension.length>H.extension.length)&&De.endsWith(ze.extensionLowercase)&&(H=ze)}return P?P.mime:j?j.mime:H?H.mime:null}function Lo(V){if(Object(_n.S)(V)&&(V=V.substr(1)),V.length>0)for(var De=ti.length-1;De>=0;De--){var L=ti[De];if(!!L.firstline){var P=V.match(L.firstline);if(P&&P.length>0)return L.mime}}return null}var Co=e("MqQJ"),qa=e("ic2d"),Va=Object.prototype.hasOwnProperty,pa=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){var P,j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(c.a)(this,L),P=De.call(this),P._onDidChange=P._register(new o.a),P.onDidChange=P._onDidChange.event,P._warnOnOverwrite=H,P._nextLanguageId2=1,P._languageIdToLanguage=[],P._languageToLanguageId=Object.create(null),P._languages={},P._mimeTypesMap={},P._nameMap={},P._lowercaseNameMap={},j&&(P._initializeFromRegistry(),P._register(Co.a.onDidChangeLanguages(function(Ce){return P._initializeFromRegistry()}))),P}return Object(r.a)(L,[{key:"_initializeFromRegistry",value:function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var j=Co.a.getLanguages();this._registerLanguages(j)}},{key:"_registerLanguages",value:function(j){var H=this,Ce=Object(ae.a)(j),ze;try{for(Ce.s();!(ze=Ce.n()).done;){var yt=ze.value;this._registerLanguage(yt)}}catch(Zt){Ce.e(Zt)}finally{Ce.f()}this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(function(Zt){var Wt=H._languages[Zt];Wt.name&&(H._nameMap[Wt.name]=Wt.identifier),Wt.aliases.forEach(function(yn){H._lowercaseNameMap[yn.toLowerCase()]=Wt.identifier}),Wt.mimetypes.forEach(function(yn){H._mimeTypesMap[yn]=Wt.identifier})}),qa.a.as(hn.a.Configuration).registerOverrideIdentifiers(Co.a.getLanguages().map(function(Zt){return Zt.id})),this._onDidChange.fire()}},{key:"_getLanguageId",value:function(j){if(this._languageToLanguageId[j])return this._languageToLanguageId[j];var H=this._nextLanguageId2++;return this._languageIdToLanguage[H]=j,this._languageToLanguageId[j]=H,H}},{key:"_registerLanguage",value:function(j){var H=j.id,Ce;if(Va.call(this._languages,H))Ce=this._languages[H];else{var ze=this._getLanguageId(H);Ce={identifier:new nt.s(H,ze),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[H]=Ce}this._mergeLanguage(Ce,j)}},{key:"_mergeLanguage",value:function(j,H){var Ce=H.id,ze=null;if(Array.isArray(H.mimetypes)&&H.mimetypes.length>0){var yt;(yt=j.mimetypes).push.apply(yt,Object(Te.a)(H.mimetypes)),ze=H.mimetypes[0]}if(ze||(ze="text/x-".concat(Ce),j.mimetypes.push(ze)),Array.isArray(H.extensions)){H.configuration?j.extensions=H.extensions.concat(j.extensions):j.extensions=j.extensions.concat(H.extensions);var Zt=Object(ae.a)(H.extensions),Wt;try{for(Zt.s();!(Wt=Zt.n()).done;){var yn=Wt.value;Fi({id:Ce,mime:ze,extension:yn},this._warnOnOverwrite)}}catch(nl){Zt.e(nl)}finally{Zt.f()}}if(Array.isArray(H.filenames)){var tr=Object(ae.a)(H.filenames),Er;try{for(tr.s();!(Er=tr.n()).done;){var ni=Er.value;Fi({id:Ce,mime:ze,filename:ni},this._warnOnOverwrite),j.filenames.push(ni)}}catch(nl){tr.e(nl)}finally{tr.f()}}if(Array.isArray(H.filenamePatterns)){var Oi=Object(ae.a)(H.filenamePatterns),oi;try{for(Oi.s();!(oi=Oi.n()).done;){var ui=oi.value;Fi({id:Ce,mime:ze,filepattern:ui},this._warnOnOverwrite)}}catch(nl){Oi.e(nl)}finally{Oi.f()}}if(typeof H.firstLine=="string"&&H.firstLine.length>0){var Bi=H.firstLine;Bi.charAt(0)!=="^"&&(Bi="^"+Bi);try{var Pa=new RegExp(Bi);_n.N(Pa)||Fi({id:Ce,mime:ze,firstline:Pa},this._warnOnOverwrite)}catch(nl){Object(Ht.e)(nl)}}j.aliases.push(Ce);var za=null;if(typeof H.aliases!="undefined"&&Array.isArray(H.aliases)&&(H.aliases.length===0?za=[null]:za=H.aliases),za!==null){var wo=Object(ae.a)(za),yo;try{for(wo.s();!(yo=wo.n()).done;){var bs=yo.value;!bs||bs.length===0||j.aliases.push(bs)}}catch(nl){wo.e(nl)}finally{wo.f()}}var Xo=za!==null&&za.length>0;if(!(Xo&&za[0]===null)){var zs=(Xo?za[0]:null)||Ce;(Xo||!j.name)&&(j.name=zs)}H.configuration&&j.configurationFiles.push(H.configuration)}},{key:"isRegisteredMode",value:function(j){return Va.call(this._mimeTypesMap,j)?!0:Va.call(this._languages,j)}},{key:"getModeIdForLanguageNameLowercase",value:function(j){return Va.call(this._lowercaseNameMap,j)?this._lowercaseNameMap[j].language:null}},{key:"extractModeIds",value:function(j){var H=this;return j?j.split(",").map(function(Ce){return Ce.trim()}).map(function(Ce){return Va.call(H._mimeTypesMap,Ce)?H._mimeTypesMap[Ce].language:Ce}).filter(function(Ce){return Va.call(H._languages,Ce)}):[]}},{key:"getLanguageIdentifier",value:function(j){if(j===kt.b||j===0)return kt.a;var H;if(typeof j=="string")H=j;else if(H=this._languageIdToLanguage[j],!H)return null;return Va.call(this._languages,H)?this._languages[H].identifier:null}},{key:"getModeIdsFromFilepathOrFirstLine",value:function(j,H){if(!j&&!H)return[];var Ce=$i(j,H);return this.extractModeIds(Ce.join(","))}}]),L}(un.a),fo=function(){function V(De,L){var P=this;Object(c.a)(this,V),this._selector=L,this.languageIdentifier=this._selector();var j;this._onDidChange=new o.a({onFirstListenerAdd:function(){j=De(function(){return P._evaluate()})},onLastListenerRemove:function(){j.dispose()}}),this.onDidChange=this._onDidChange.event}return Object(r.a)(V,[{key:"_evaluate",value:function(){var L=this._selector();L.id!==this.languageIdentifier.id&&(this.languageIdentifier=L,this._onDidChange.fire(this.languageIdentifier))}}]),V}(),Ao=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){var P,j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Object(c.a)(this,L),P=De.call(this),P._onDidCreateMode=P._register(new o.a),P.onDidCreateMode=P._onDidCreateMode.event,P._onLanguagesMaybeChanged=P._register(new o.a({leakWarningThreshold:200})),P.onLanguagesMaybeChanged=P._onLanguagesMaybeChanged.event,P._instantiatedModes={},P._registry=P._register(new pa(!0,j)),P._register(P._registry.onDidChange(function(){return P._onLanguagesMaybeChanged.fire()})),P}return Object(r.a)(L,[{key:"isRegisteredMode",value:function(j){return this._registry.isRegisteredMode(j)}},{key:"getModeIdForLanguageName",value:function(j){return this._registry.getModeIdForLanguageNameLowercase(j)}},{key:"getModeIdByFilepathOrFirstLine",value:function(j,H){var Ce=this._registry.getModeIdsFromFilepathOrFirstLine(j,H);return Object(Pe.i)(Ce,null)}},{key:"getModeId",value:function(j){var H=this._registry.extractModeIds(j);return Object(Pe.i)(H,null)}},{key:"getLanguageIdentifier",value:function(j){return this._registry.getLanguageIdentifier(j)}},{key:"create",value:function(j){var H=this;return new fo(this.onLanguagesMaybeChanged,function(){var Ce=H.getModeId(j);return H._createModeAndGetLanguageIdentifier(Ce)})}},{key:"createByFilepathOrFirstLine",value:function(j,H){var Ce=this;return new fo(this.onLanguagesMaybeChanged,function(){var ze=Ce.getModeIdByFilepathOrFirstLine(j,H);return Ce._createModeAndGetLanguageIdentifier(ze)})}},{key:"_createModeAndGetLanguageIdentifier",value:function(j){var H=this.getLanguageIdentifier(j||"plaintext")||kt.a;return this._getOrCreateMode(H.language),H}},{key:"triggerMode",value:function(j){var H=this.getModeId(j);this._getOrCreateMode(H||"plaintext")}},{key:"_getOrCreateMode",value:function(j){if(!this._instantiatedModes.hasOwnProperty(j)){var H=this.getLanguageIdentifier(j)||kt.a;this._instantiatedModes[j]=new Bn(H),this._onDidCreateMode.fire(this._instantiatedModes[j])}return this._instantiatedModes[j]}}]),L}(un.a),ko=e("0af2"),Jo=e("zrhQ"),rs=Object(r.a)(function V(De,L,P,j,H){Object(c.a)(this,V),this.token=De,this.index=L,this.fontStyle=P,this.foreground=j,this.background=H});function Cs(V){if(!V||!Array.isArray(V))return[];for(var De=[],L=0,P=0,j=V.length;P<j;P++){var H=V[P],Ce=-1;if(typeof H.fontStyle=="string"){Ce=0;for(var ze=H.fontStyle.split(" "),yt=0,Zt=ze.length;yt<Zt;yt++){var Wt=ze[yt];switch(Wt){case"italic":Ce=Ce|1;break;case"bold":Ce=Ce|2;break;case"underline":Ce=Ce|4;break}}}var yn=null;typeof H.foreground=="string"&&(yn=H.foreground);var tr=null;typeof H.background=="string"&&(tr=H.background),De[L++]=new rs(H.token||"",P,Ce,yn,tr)}return De}function ms(V,De){V.sort(function(ui,Bi){var Pa=ou(ui.token,Bi.token);return Pa!==0?Pa:ui.index-Bi.index});for(var L=0,P="000000",j="ffffff";V.length>=1&&V[0].token==="";){var H=V.shift();H.fontStyle!==-1&&(L=H.fontStyle),H.foreground!==null&&(P=H.foreground),H.background!==null&&(j=H.background)}var Ce=new rl,ze=Object(ae.a)(De),yt;try{for(ze.s();!(yt=ze.n()).done;){var Zt=yt.value;Ce.getId(Zt)}}catch(ui){ze.e(ui)}finally{ze.f()}for(var Wt=Ce.getId(P),yn=Ce.getId(j),tr=new Vu(L,Wt,yn),Er=new Du(tr),ni=0,Oi=V.length;ni<Oi;ni++){var oi=V[ni];Er.insert(oi.token,oi.fontStyle,Ce.getId(oi.foreground),Ce.getId(oi.background))}return new Rl(Ce,Er)}var Po=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,rl=function(){function V(){Object(c.a)(this,V),this._lastColorId=0,this._id2color=[],this._color2id=new Map}return Object(r.a)(V,[{key:"getId",value:function(L){if(L===null)return 0;var P=L.match(Po);if(!P)throw new Error("Illegal value for token color: "+L);L=P[1].toUpperCase();var j=this._color2id.get(L);return j||(j=++this._lastColorId,this._color2id.set(L,j),this._id2color[j]=Jo.a.fromHex("#"+L),j)}},{key:"getColorMap",value:function(){return this._id2color.slice(0)}}]),V}(),Rl=function(){function V(De,L){Object(c.a)(this,V),this._colorMap=De,this._root=L,this._cache=new Map}return Object(r.a)(V,[{key:"getColorMap",value:function(){return this._colorMap.getColorMap()}},{key:"_match",value:function(L){return this._root.match(L)}},{key:"match",value:function(L,P){var j=this._cache.get(P);if(typeof j=="undefined"){var H=this._match(P),Ce=Tl(P);j=(H.metadata|Ce<<8)>>>0,this._cache.set(P,j)}return(j|L<<0)>>>0}}],[{key:"createFromRawTokenTheme",value:function(L,P){return this.createFromParsedTokenTheme(Cs(L),P)}},{key:"createFromParsedTokenTheme",value:function(L,P){return ms(L,P)}}]),V}(),bl=/\b(comment|string|regex|regexp)\b/;function Tl(V){var De=V.match(bl);if(!De)return 0;switch(De[1]){case"comment":return 1;case"string":return 2;case"regex":return 4;case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}function ou(V,De){return V<De?-1:V>De?1:0}var Vu=function(){function V(De,L,P){Object(c.a)(this,V),this._fontStyle=De,this._foreground=L,this._background=P,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return Object(r.a)(V,[{key:"clone",value:function(){return new V(this._fontStyle,this._foreground,this._background)}},{key:"acceptOverwrite",value:function(L,P,j){L!==-1&&(this._fontStyle=L),P!==0&&(this._foreground=P),j!==0&&(this._background=j),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}}]),V}(),Du=function(){function V(De){Object(c.a)(this,V),this._mainRule=De,this._children=new Map}return Object(r.a)(V,[{key:"match",value:function(L){if(L==="")return this._mainRule;var P=L.indexOf("."),j,H;P===-1?(j=L,H=""):(j=L.substring(0,P),H=L.substring(P+1));var Ce=this._children.get(j);return typeof Ce!="undefined"?Ce.match(H):this._mainRule}},{key:"insert",value:function(L,P,j,H){if(L===""){this._mainRule.acceptOverwrite(P,j,H);return}var Ce=L.indexOf("."),ze,yt;Ce===-1?(ze=L,yt=""):(ze=L.substring(0,Ce),yt=L.substring(Ce+1));var Zt=this._children.get(ze);typeof Zt=="undefined"&&(Zt=new V(this._mainRule.clone()),this._children.set(ze,Zt)),Zt.insert(yt,P,j,H)}}]),V}();function qo(V){for(var De=[],L=1,P=V.length;L<P;L++){var j=V[L];De[L]=".mtk".concat(L," { color: ").concat(j,"; }")}return De.push(".mtki { font-style: italic; }"),De.push(".mtkb { font-weight: bold; }"),De.push(".mtku { text-decoration: underline; text-underline-position: under; }"),De.join(`
- `)}var Io=e("kYye"),po=e("MD5Z"),fl,ir,Al,gu={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:(fl={},Object(Pt.a)(fl,po.r,"#FFFFFE"),Object(Pt.a)(fl,po.B,"#000000"),Object(Pt.a)(fl,po.J,"#E5EBF1"),Object(Pt.a)(fl,Io.h,"#D3D3D3"),Object(Pt.a)(fl,Io.a,"#939393"),Object(Pt.a)(fl,po.T,"#ADD6FF4D"),fl)},Vl={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:(ir={},Object(Pt.a)(ir,po.r,"#1E1E1E"),Object(Pt.a)(ir,po.B,"#D4D4D4"),Object(Pt.a)(ir,po.J,"#3A3D41"),Object(Pt.a)(ir,Io.h,"#404040"),Object(Pt.a)(ir,Io.a,"#707070"),Object(Pt.a)(ir,po.T,"#ADD6FF26"),ir)},vs={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:(Al={},Object(Pt.a)(Al,po.r,"#000000"),Object(Pt.a)(Al,po.B,"#FFFFFF"),Object(Pt.a)(Al,Io.h,"#FFFFFF"),Object(Pt.a)(Al,Io.a,"#FFFFFF"),Al)},nu=e("nEHx"),Lt=e("v1vZ");function He(){var V=new o.a,De=Object(Lt.a)();return De.onDidChange(function(){return V.fire()}),{onDidChange:V.event,getCSS:function(){var P={},j=function(ni){for(var Oi=ni.defaults;Li.d.isThemeIcon(Oi);){var oi=De.getIcon(Oi.id);if(!oi)return;Oi=oi.defaults}var ui=Oi.fontId;if(ui){var Bi=De.getIconFont(ui);if(Bi)return P[ui]=Bi,".codicon-".concat(ni.id,":before { content: '").concat(Oi.fontCharacter,"'; font-family: ").concat(Object(je.asCSSPropertyValue)(ui),"; }")}return".codicon-".concat(ni.id,":before { content: '").concat(Oi.fontCharacter,"'; }")},H=[],Ce=Object(ae.a)(De.getIcons()),ze;try{for(Ce.s();!(ze=Ce.n()).done;){var yt=ze.value,Zt=j(yt);Zt&&H.push(Zt)}}catch(Er){Ce.e(Er)}finally{Ce.f()}for(var Wt in P){var yn=P[Wt],tr=yn.definition.src.map(function(Er){return"".concat(Object(je.asCSSUrl)(Er.location)," format('").concat(Er.format,"')")}).join(", ");H.push("@font-face { src: ".concat(tr,"; font-family: ").concat(Object(je.asCSSPropertyValue)(Wt),"; }"))}return H.join(`
- `)}}}var F="vs",U="vs-dark",s="hc-black",N=qa.a.as(po.a.ColorContribution),Q=qa.a.as(Li.a.ThemingContribution),xe=function(){function V(De,L){Object(c.a)(this,V),this.semanticHighlighting=!1,this.themeData=L;var P=L.base;De.length>0?(Je(De)?this.id=De:this.id=P+" "+De,this.themeName=De):(this.id=P,this.themeName=P),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object(r.a)(V,[{key:"base",get:function(){return this.themeData.base}},{key:"notifyBaseUpdated",value:function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}},{key:"getColors",value:function(){if(!this.colors){var L=new Map;for(var P in this.themeData.colors)L.set(P,Jo.a.fromHex(this.themeData.colors[P]));if(this.themeData.inherit){var j=Ge(this.themeData.base);for(var H in j.colors)L.has(H)||L.set(H,Jo.a.fromHex(j.colors[H]))}this.colors=L}return this.colors}},{key:"getColor",value:function(L,P){var j=this.getColors().get(L);if(j)return j;if(P!==!1)return this.getDefault(L)}},{key:"getDefault",value:function(L){var P=this.defaultColors[L];return P||(P=N.resolveDefaultColor(L,this),this.defaultColors[L]=P,P)}},{key:"defines",value:function(L){return Object.prototype.hasOwnProperty.call(this.getColors(),L)}},{key:"type",get:function(){switch(this.base){case F:return nu.a.LIGHT;case s:return nu.a.HIGH_CONTRAST;default:return nu.a.DARK}}},{key:"tokenTheme",get:function(){if(!this._tokenTheme){var L=[],P=[];if(this.themeData.inherit){var j=Ge(this.themeData.base);L=j.rules,j.encodedTokensColors&&(P=j.encodedTokensColors)}L=L.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(P=this.themeData.encodedTokensColors),this._tokenTheme=Rl.createFromRawTokenTheme(L,P)}return this._tokenTheme}},{key:"getTokenStyleMetadata",value:function(L,P,j){var H=this.tokenTheme._match([L].concat(P).join(".")),Ce=H.metadata,ze=nt.C.getForeground(Ce),yt=nt.C.getFontStyle(Ce);return{foreground:ze,italic:Boolean(yt&1),bold:Boolean(yt&2),underline:Boolean(yt&4)}}}]),V}();function Je(V){return V===F||V===U||V===s}function Ge(V){switch(V){case F:return gu;case U:return Vl;case s:return vs}}function qt(V){var De=Ge(V);return new xe(V,De)}var fn=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){var P;Object(c.a)(this,L),P=De.call(this),P._onColorThemeChange=P._register(new o.a),P.onDidColorThemeChange=P._onColorThemeChange.event,P._environment=Object.create(null),P._autoDetectHighContrast=!0,P._knownThemes=new Map,P._knownThemes.set(F,qt(F)),P._knownThemes.set(U,qt(U)),P._knownThemes.set(s,qt(s));var j=He();return P._codiconCSS=j.getCSS(),P._themeCSS="",P._allCSS="".concat(P._codiconCSS,`
- `).concat(P._themeCSS),P._globalStyleElement=null,P._styleElements=[],P._colorMapOverride=null,P.setTheme(F),j.onDidChange(function(){P._codiconCSS=j.getCSS(),P._updateCSS()}),je.addMatchMediaChangeListener("(forced-colors: active)",function(){P._updateActualTheme()}),P}return Object(r.a)(L,[{key:"registerEditorContainer",value:function(j){return je.isInShadowDOM(j)?this._registerShadowDomContainer(j):this._registerRegularEditorContainer()}},{key:"_registerRegularEditorContainer",value:function(){return this._globalStyleElement||(this._globalStyleElement=je.createStyleSheet(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.textContent=this._allCSS,this._styleElements.push(this._globalStyleElement)),un.a.None}},{key:"_registerShadowDomContainer",value:function(j){var H=this,Ce=je.createStyleSheet(j);return Ce.className="monaco-colors",Ce.textContent=this._allCSS,this._styleElements.push(Ce),{dispose:function(){for(var yt=0;yt<H._styleElements.length;yt++)if(H._styleElements[yt]===Ce){H._styleElements.splice(yt,1);return}}}}},{key:"defineTheme",value:function(j,H){if(!/^[a-z0-9\-]+$/i.test(j))throw new Error("Illegal theme name!");if(!Je(H.base)&&!Je(j))throw new Error("Illegal theme base!");this._knownThemes.set(j,new xe(j,H)),Je(j)&&this._knownThemes.forEach(function(Ce){Ce.base===j&&Ce.notifyBaseUpdated()}),this._theme.themeName===j&&this.setTheme(j)}},{key:"getColorTheme",value:function(){return this._theme}},{key:"setColorMapOverride",value:function(j){this._colorMapOverride=j,this._updateThemeOrColorMap()}},{key:"setTheme",value:function(j){var H;this._knownThemes.has(j)?H=this._knownThemes.get(j):H=this._knownThemes.get(F),this._desiredTheme=H,this._updateActualTheme()}},{key:"_updateActualTheme",value:function(){var j=this._autoDetectHighContrast&&window.matchMedia("(forced-colors: active)").matches?this._knownThemes.get(s):this._desiredTheme;this._theme!==j&&(this._theme=j,this._updateThemeOrColorMap())}},{key:"setAutoDetectHighContrast",value:function(j){this._autoDetectHighContrast=j,this._updateActualTheme()}},{key:"_updateThemeOrColorMap",value:function(){var j=this,H=[],Ce={},ze={addRule:function(Wt){Ce[Wt]||(H.push(Wt),Ce[Wt]=!0)}};Q.getThemingParticipants().forEach(function(Zt){return Zt(j._theme,ze,j._environment)});var yt=this._colorMapOverride||this._theme.tokenTheme.getColorMap();ze.addRule(qo(yt)),this._themeCSS=H.join(`
- `),this._updateCSS(),nt.D.setColorMap(yt),this._onColorThemeChange.fire(this._theme)}},{key:"_updateCSS",value:function(){var j=this;this._allCSS="".concat(this._codiconCSS,`
- `).concat(this._themeCSS),this._styleElements.forEach(function(H){return H.textContent=j._allCSS})}},{key:"getFileIconTheme",value:function(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}}]),L}(un.a),Wn=e("JYp7"),Yt=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},Yn=function(V,De){return function(L,P){De(L,P,V)}},hr="data-keybinding-context",Wr=function(){function V(De,L){Object(c.a)(this,V),this._id=De,this._parent=L,this._value=Object.create(null),this._value._contextId=De}return Object(r.a)(V,[{key:"setValue",value:function(L,P){return this._value[L]!==P?(this._value[L]=P,!0):!1}},{key:"removeValue",value:function(L){return L in this._value?(delete this._value[L],!0):!1}},{key:"getValue",value:function(L){var P=this._value[L];return typeof P=="undefined"&&this._parent?this._parent.getValue(L):P}}]),V}(),$r=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){return Object(c.a)(this,L),De.call(this,-1,null)}return Object(r.a)(L,[{key:"setValue",value:function(j,H){return!1}},{key:"removeValue",value:function(j){return!1}},{key:"getValue",value:function(j){}}]),L}(Wr);$r.INSTANCE=new $r;var wi=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H){var Ce;return Object(c.a)(this,L),Ce=De.call(this,P,null),Ce._configurationService=j,Ce._values=fe.c.forConfigKeys(),Ce._listener=Ce._configurationService.onDidChangeConfiguration(function(ze){if(ze.source===6){var yt=Array.from(Wn.a.map(Ce._values,function(Oi){var oi=Object(ur.a)(Oi,1),ui=oi[0];return ui}));Ce._values.clear(),H.fire(new da(yt))}else{var Zt=[],Wt=Object(ae.a)(ze.affectedKeys),yn;try{for(Wt.s();!(yn=Wt.n()).done;){var tr=yn.value,Er="config.".concat(tr),ni=Ce._values.findSuperstr(Er);ni!==void 0&&(Zt.push.apply(Zt,Object(Te.a)(Wn.a.map(ni,function(Oi){var oi=Object(ur.a)(Oi,1),ui=oi[0];return ui}))),Ce._values.deleteSuperstr(Er)),Ce._values.has(Er)&&(Zt.push(Er),Ce._values.delete(Er))}}catch(Oi){Wt.e(Oi)}finally{Wt.f()}H.fire(new da(Zt))}}),Ce}return Object(r.a)(L,[{key:"dispose",value:function(){this._listener.dispose()}},{key:"getValue",value:function(j){if(j.indexOf(L._keyPrefix)!==0)return Object(nn.a)(Object(bn.a)(L.prototype),"getValue",this).call(this,j);if(this._values.has(j))return this._values.get(j);var H=j.substr(L._keyPrefix.length),Ce=this._configurationService.getValue(H),ze=void 0;switch(typeof Ce){case"number":case"boolean":case"string":ze=Ce;break;default:Array.isArray(Ce)?ze=JSON.stringify(Ce):ze=Ce}return this._values.set(j,ze),ze}},{key:"setValue",value:function(j,H){return Object(nn.a)(Object(bn.a)(L.prototype),"setValue",this).call(this,j,H)}},{key:"removeValue",value:function(j){return Object(nn.a)(Object(bn.a)(L.prototype),"removeValue",this).call(this,j)}}]),L}(Wr);wi._keyPrefix="config.";var fi=function(){function V(De,L,P){Object(c.a)(this,V),this._service=De,this._key=L,this._defaultValue=P,this.reset()}return Object(r.a)(V,[{key:"set",value:function(L){this._service.setContext(this._key,L)}},{key:"reset",value:function(){typeof this._defaultValue=="undefined"?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}},{key:"get",value:function(){return this._service.getContextKeyValue(this._key)}}]),V}(),Vi=function(){function V(De){Object(c.a)(this,V),this.key=De}return Object(r.a)(V,[{key:"affectsSome",value:function(L){return L.has(this.key)}}]),V}(),da=function(){function V(De){Object(c.a)(this,V),this.keys=De}return Object(r.a)(V,[{key:"affectsSome",value:function(L){var P=Object(ae.a)(this.keys),j;try{for(P.s();!(j=P.n()).done;){var H=j.value;if(L.has(H))return!0}}catch(Ce){P.e(Ce)}finally{P.f()}return!1}}]),V}(),ia=function(){function V(De){Object(c.a)(this,V),this.events=De}return Object(r.a)(V,[{key:"affectsSome",value:function(L){var P=Object(ae.a)(this.events),j;try{for(P.s();!(j=P.n()).done;){var H=j.value;if(H.affectsSome(L))return!0}}catch(Ce){P.e(Ce)}finally{P.f()}return!1}}]),V}(),ma=function(){function V(De){Object(c.a)(this,V),this._onDidChangeContext=new o.d({merge:function(P){return new ia(P)}}),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=De}return Object(r.a)(V,[{key:"createKey",value:function(L,P){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new fi(this,L,P)}},{key:"bufferChangeEvents",value:function(L){this._onDidChangeContext.pause();try{L()}finally{this._onDidChangeContext.resume()}}},{key:"createScoped",value:function(L){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new Qa(this,L)}},{key:"contextMatchesRules",value:function(L){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");var P=this.getContextValuesContainer(this._myContextId),j=Qe.contextMatchesRules(P,L);return j}},{key:"getContextKeyValue",value:function(L){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(L)}},{key:"setContext",value:function(L,P){if(!this._isDisposed){var j=this.getContextValuesContainer(this._myContextId);!j||j.setValue(L,P)&&this._onDidChangeContext.fire(new Vi(L))}}},{key:"removeContext",value:function(L){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(L)&&this._onDidChangeContext.fire(new Vi(L))}},{key:"getContext",value:function(L){return this._isDisposed?$r.INSTANCE:this.getContextValuesContainer(eo(L))}}]),V}(),Ea=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P){var j;Object(c.a)(this,L),j=De.call(this,0),j._contexts=new Map,j._toDispose=new un.b,j._lastContextId=0;var H=new wi(j._myContextId,P,j._onDidChangeContext);return j._contexts.set(j._myContextId,H),j._toDispose.add(H),j}return Object(r.a)(L,[{key:"dispose",value:function(){this._onDidChangeContext.dispose(),this._isDisposed=!0,this._toDispose.dispose()}},{key:"getContextValuesContainer",value:function(j){return this._isDisposed?$r.INSTANCE:this._contexts.get(j)||$r.INSTANCE}},{key:"createChildContext",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this._myContextId;if(this._isDisposed)throw new Error("ContextKeyService has been disposed");var H=++this._lastContextId;return this._contexts.set(H,new Wr(H,this.getContextValuesContainer(j))),H}},{key:"disposeContext",value:function(j){this._isDisposed||this._contexts.delete(j)}}]),L}(ma);Ea=Yt([Yn(0,$t.a)],Ea);var Qa=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;if(Object(c.a)(this,L),H=De.call(this,P.createChildContext()),H._parentChangeListener=new un.d,H._parent=P,H._updateParentChangeListener(),H._domNode=j,H._domNode.hasAttribute(hr)){var Ce="";H._domNode.classList&&(Ce=Array.from(H._domNode.classList.values()).join(", ")),console.error("Element already has context attribute".concat(Ce?": "+Ce:""))}return H._domNode.setAttribute(hr,String(H._myContextId)),H}return Object(r.a)(L,[{key:"_updateParentChangeListener",value:function(){this._parentChangeListener.value=this._parent.onDidChangeContext(this._onDidChangeContext.fire,this._onDidChangeContext)}},{key:"dispose",value:function(){this._isDisposed||(this._onDidChangeContext.dispose(),this._parent.disposeContext(this._myContextId),this._parentChangeListener.dispose(),this._domNode.removeAttribute(hr),this._isDisposed=!0)}},{key:"getContextValuesContainer",value:function(j){return this._isDisposed?$r.INSTANCE:this._parent.getContextValuesContainer(j)}},{key:"createChildContext",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this._myContextId;if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(j)}},{key:"disposeContext",value:function(j){this._isDisposed||this._parent.disposeContext(j)}}]),L}(ma);function eo(V){for(;V;){if(V.hasAttribute(hr)){var De=V.getAttribute(hr);return De?parseInt(De,10):NaN}V=V.parentElement}return 0}Ee.a.registerCommand(gi.d,function(V,De,L){V.get(gi.b).createKey(String(De),L)}),Ee.a.registerCommand({id:"getContextKeyInfo",handler:function(){return Object(Te.a)(gi.c.all()).sort(function(De,L){return De.key.localeCompare(L.key)})},description:{description:Object(Tr.a)("getContextKeyInfo","A command that returns information about context keys"),args:[]}}),Ee.a.registerCommand("_generateContextKeyInfo",function(){var V=[],De=new Set,L=Object(ae.a)(gi.c.all()),P;try{for(L.s();!(P=L.n()).done;){var j=P.value;De.has(j.key)||(De.add(j.key),V.push(j))}}catch(H){L.e(H)}finally{L.f()}V.sort(function(H,Ce){return H.key.localeCompare(Ce.key)}),console.log(JSON.stringify(V,void 0,2))});var lo=e("eizg"),ho=e("8HAY"),Eo=e("tS8v"),Uo=e("WqXY"),us=e("GJhM"),ns=e("TT2d"),is=e("nuFA"),Es=e("CjF5"),ys;(function(V){V[V.AVOID=0]="AVOID",V[V.ALIGN=1]="ALIGN"})(ys||(ys={}));function il(V,De,L){var P=L.mode===ys.ALIGN?L.offset:L.offset+L.size,j=L.mode===ys.ALIGN?L.offset+L.size:L.offset;return L.position===0?De<=V-P?P:De<=j?j-De:Math.max(V-De,0):De<=j?j-De:De<=V-P?P:0}var Ns=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;return Object(c.a)(this,L),H=De.call(this),H.container=null,H.delegate=null,H.toDisposeOnClean=un.a.None,H.toDisposeOnSetContainer=un.a.None,H.shadowRoot=null,H.shadowRootHostElement=null,H.view=je.$(".context-view"),H.useFixedPosition=!1,H.useShadowDOM=!1,je.hide(H.view),H.setContainer(P,j),H._register(Object(un.h)(function(){return H.setContainer(null,1)})),H}return Object(r.a)(L,[{key:"setContainer",value:function(j,H){var Ce=this,ze;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,(ze=this.shadowRootHostElement)===null||ze===void 0||ze.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),j){if(this.container=j,this.useFixedPosition=H!==1,this.useShadowDOM=H===3,this.useShadowDOM){this.shadowRootHostElement=je.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});var yt=document.createElement("style");yt.textContent=Ol,this.shadowRoot.appendChild(yt),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(je.$("slot"))}else this.container.appendChild(this.view);var Zt=new un.b;L.BUBBLE_UP_EVENTS.forEach(function(Wt){Zt.add(je.addStandardDisposableListener(Ce.container,Wt,function(yn){Ce.onDOMEvent(yn,!1)}))}),L.BUBBLE_DOWN_EVENTS.forEach(function(Wt){Zt.add(je.addStandardDisposableListener(Ce.container,Wt,function(yn){Ce.onDOMEvent(yn,!0)},!0))}),this.toDisposeOnSetContainer=Zt}}},{key:"show",value:function(j){this.isVisible()&&this.hide(),je.clearNode(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",je.show(this.view),this.toDisposeOnClean=j.render(this.view)||un.a.None,this.delegate=j,this.doLayout(),this.delegate.focus&&this.delegate.focus()}},{key:"getViewElement",value:function(){return this.view}},{key:"layout",value:function(){if(!!this.isVisible()){if(this.delegate.canRelayout===!1&&!(jn.c&&Es.a.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()}}},{key:"doLayout",value:function(){if(!!this.isVisible()){var j=this.delegate.getAnchor(),H;if(je.isHTMLElement(j)){var Ce=je.getDomNodePagePosition(j);H={top:Ce.top,left:Ce.left,width:Ce.width,height:Ce.height}}else H={top:j.y,left:j.x,width:j.width||1,height:j.height||2};var ze=je.getTotalWidth(this.view),yt=je.getTotalHeight(this.view),Zt=this.delegate.anchorPosition||0,Wt=this.delegate.anchorAlignment||0,yn=this.delegate.anchorAxisAlignment||0,tr,Er;if(yn===0){var ni={offset:H.top-window.pageYOffset,size:H.height,position:Zt===0?0:1},Oi={offset:H.left,size:H.width,position:Wt===0?0:1,mode:ys.ALIGN};tr=il(window.innerHeight,yt,ni)+window.pageYOffset,is.a.intersects({start:tr,end:tr+yt},{start:ni.offset,end:ni.offset+ni.size})&&(Oi.mode=ys.AVOID),Er=il(window.innerWidth,ze,Oi)}else{var oi={offset:H.left,size:H.width,position:Wt===0?0:1},ui={offset:H.top,size:H.height,position:Zt===0?0:1,mode:ys.ALIGN};Er=il(window.innerWidth,ze,oi),is.a.intersects({start:Er,end:Er+ze},{start:oi.offset,end:oi.offset+oi.size})&&(ui.mode=ys.AVOID),tr=il(window.innerHeight,yt,ui)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(Zt===0?"bottom":"top"),this.view.classList.add(Wt===0?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);var Bi=je.getDomNodePagePosition(this.container);this.view.style.top="".concat(tr-(this.useFixedPosition?je.getDomNodePagePosition(this.view).top:Bi.top),"px"),this.view.style.left="".concat(Er-(this.useFixedPosition?je.getDomNodePagePosition(this.view).left:Bi.left),"px"),this.view.style.width="initial"}}},{key:"hide",value:function(j){var H=this.delegate;this.delegate=null,(H==null?void 0:H.onHide)&&H.onHide(j),this.toDisposeOnClean.dispose(),je.hide(this.view)}},{key:"isVisible",value:function(){return!!this.delegate}},{key:"onDOMEvent",value:function(j,H){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(j,document.activeElement):H&&!je.isAncestor(j.target,this.container)&&this.hide())}},{key:"dispose",value:function(){this.hide(),Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this)}}]),L}(un.a);Ns.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],Ns.BUBBLE_DOWN_EVENTS=["click"];var Ol=`
- :host {
- all: initial; /* 1st rule so subsequent properties are reset. */
- }
- @font-face {
- font-family: "codicon";
- src: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype");
- }
- .codicon[class*='codicon-'] {
- font: normal normal normal 16px/1 codicon;
- display: inline-block;
- text-decoration: none;
- text-rendering: auto;
- text-align: center;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- user-select: none;
- -webkit-user-select: none;
- -ms-user-select: none;
- }
- :host {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;
- }
- :host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
- :host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }
- :host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }
- :host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }
- :host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }
- :host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }
- :host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }
- :host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }
- :host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }
- :host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }
- :host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; }
- :host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }
- :host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }
- :host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }
- :host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }
- `,Ws=e("Vhoy"),Yl=e("7/Ik"),hl=e("udvx"),Xs=e("D3Dy"),Kl=e("XSiN"),ul=e("EJc0"),wu=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,kl=/(&)?(&)([^\s&])/g,Fl=Object(Ws.e)("menu-selection",Ws.b.check),mu=Object(Ws.e)("menu-submenu",Ws.b.chevronRight),Jl;(function(V){V[V.Right=0]="Right",V[V.Left=1]="Left"})(Jl||(Jl={}));var pu=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Object(c.a)(this,L),P.classList.add("monaco-menu-container"),P.setAttribute("role","presentation");var ze=document.createElement("div");ze.classList.add("monaco-menu"),ze.setAttribute("role","presentation"),H=De.call(this,ze,{orientation:1,actionViewItemProvider:function(yn){return H.doGetActionViewItem(yn,Ce,yt)},context:Ce.context,actionRunner:Ce.actionRunner,ariaLabel:Ce.ariaLabel,focusOnlyEnabledItems:!0,triggerKeys:{keys:[3].concat(Object(Te.a)(jn.f||jn.d?[10]:[])),keyDown:!0}}),H.menuElement=ze,H.actionsList.setAttribute("role","menu"),H.actionsList.tabIndex=0,H.menuDisposables=H._register(new un.b),H.initializeStyleSheet(P),Object(je.addDisposableListener)(ze,je.EventType.KEY_DOWN,function(Wt){var yn=new Le.a(Wt);yn.equals(2)&&Wt.preventDefault()}),Ce.enableMnemonics&&H.menuDisposables.add(Object(je.addDisposableListener)(ze,je.EventType.KEY_DOWN,function(Wt){var yn=Wt.key.toLocaleLowerCase();if(H.mnemonics.has(yn)){je.EventHelper.stop(Wt,!0);var tr=H.mnemonics.get(yn);if(tr.length===1&&(tr[0]instanceof uc&&tr[0].container&&H.focusItemByElement(tr[0].container),tr[0].onClick(Wt)),tr.length>1){var Er=tr.shift();Er&&Er.container&&(H.focusItemByElement(Er.container),tr.push(Er)),H.mnemonics.set(yn,tr)}}})),jn.d&&H._register(Object(je.addDisposableListener)(ze,je.EventType.KEY_DOWN,function(Wt){var yn=new Le.a(Wt);yn.equals(14)||yn.equals(11)?(H.focusedItem=H.viewItems.length-1,H.focusNext(),je.EventHelper.stop(Wt,!0)):(yn.equals(13)||yn.equals(12))&&(H.focusedItem=0,H.focusPrevious(),je.EventHelper.stop(Wt,!0))})),H._register(Object(je.addDisposableListener)(H.domNode,je.EventType.MOUSE_OUT,function(Wt){var yn=Wt.relatedTarget;Object(je.isAncestor)(yn,H.domNode)||(H.focusedItem=void 0,H.updateFocus(),Wt.stopPropagation())})),H._register(Object(je.addDisposableListener)(H.actionsList,je.EventType.MOUSE_OVER,function(Wt){var yn=Wt.target;if(!(!yn||!Object(je.isAncestor)(yn,H.actionsList)||yn===H.actionsList)){for(;yn.parentElement!==H.actionsList&&yn.parentElement!==null;)yn=yn.parentElement;if(yn.classList.contains("action-item")){var tr=H.focusedItem;H.setFocusedItem(yn),tr!==H.focusedItem&&H.updateFocus()}}}));var yt={parent:Object(Eo.a)(H)};H.mnemonics=new Map,H.scrollableElement=H._register(new us.a(ze,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));var Zt=H.scrollableElement.getDomNode();return Zt.style.position="",H._register(Object(je.addDisposableListener)(Zt,je.EventType.MOUSE_UP,function(Wt){Wt.preventDefault()})),ze.style.maxHeight="".concat(Math.max(10,window.innerHeight-P.getBoundingClientRect().top-35),"px"),j=j.filter(function(Wt){var yn;return((yn=Ce.submenuIds)===null||yn===void 0?void 0:yn.has(Wt.id))?(console.warn("Found submenu cycle: ".concat(Wt.id)),!1):!0}),H.push(j,{icon:!0,label:!0,isMenu:!0}),P.appendChild(H.scrollableElement.getDomNode()),H.scrollableElement.scanDomNode(),H.viewItems.filter(function(Wt){return!(Wt instanceof Cl)}).forEach(function(Wt,yn,tr){Wt.updatePositionInSet(yn+1,tr.length)}),H}return Object(r.a)(L,[{key:"initializeStyleSheet",value:function(j){Object(je.isInShadowDOM)(j)?(this.styleSheet=Object(je.createStyleSheet)(j),this.styleSheet.textContent=cc):(L.globalStyleSheet||(L.globalStyleSheet=Object(je.createStyleSheet)(),L.globalStyleSheet.textContent=cc),this.styleSheet=L.globalStyleSheet)}},{key:"style",value:function(j){var H=this.getContainer(),Ce=j.foregroundColor?"".concat(j.foregroundColor):"",ze=j.backgroundColor?"".concat(j.backgroundColor):"",yt=j.borderColor?"1px solid ".concat(j.borderColor):"",Zt=j.shadowColor?"0 2px 4px ".concat(j.shadowColor):"";H.style.border=yt,this.domNode.style.color=Ce,this.domNode.style.backgroundColor=ze,H.style.boxShadow=Zt,this.viewItems&&this.viewItems.forEach(function(Wt){(Wt instanceof Ku||Wt instanceof Cl)&&Wt.style(j)})}},{key:"getContainer",value:function(){return this.scrollableElement.getDomNode()}},{key:"onScroll",get:function(){return this.scrollableElement.onScroll}},{key:"focusItemByElement",value:function(j){var H=this.focusedItem;this.setFocusedItem(j),H!==this.focusedItem&&this.updateFocus()}},{key:"setFocusedItem",value:function(j){for(var H=0;H<this.actionsList.children.length;H++){var Ce=this.actionsList.children[H];if(j===Ce){this.focusedItem=H;break}}}},{key:"updateFocus",value:function(j){Object(nn.a)(Object(bn.a)(L.prototype),"updateFocus",this).call(this,j,!0),typeof this.focusedItem!="undefined"&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}},{key:"doGetActionViewItem",value:function(j,H,Ce){if(j instanceof ho.d)return new Cl(H.context,j,{icon:!0});if(j instanceof ho.e){var ze=new uc(j,j.actions,Ce,Object.assign(Object.assign({},H),{submenuIds:new Set([].concat(Object(Te.a)(H.submenuIds||[]),[j.id]))}));if(H.enableMnemonics){var yt=ze.getMnemonic();if(yt&&ze.isEnabled()){var Zt=[];this.mnemonics.has(yt)&&(Zt=this.mnemonics.get(yt)),Zt.push(ze),this.mnemonics.set(yt,Zt)}}return ze}else{var Wt={enableMnemonics:H.enableMnemonics,useEventAsContext:H.useEventAsContext};if(H.getKeyBinding){var yn=H.getKeyBinding(j);if(yn){var tr=yn.getLabel();tr&&(Wt.keybinding=tr)}}var Er=new Ku(H.context,j,Wt);if(H.enableMnemonics){var ni=Er.getMnemonic();if(ni&&Er.isEnabled()){var Oi=[];this.mnemonics.has(ni)&&(Oi=this.mnemonics.get(ni)),Oi.push(Er),this.mnemonics.set(ni,Oi)}}return Er}}}]),L}(Uo.a),Ku=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Object(c.a)(this,L),Ce.isMenu=!0,H=De.call(this,j,j,Ce),H.options=Ce,H.options.icon=Ce.icon!==void 0?Ce.icon:!1,H.options.label=Ce.label!==void 0?Ce.label:!0,H.cssClass="",H.options.label&&Ce.enableMnemonics){var ze=H.getAction().label;if(ze){var yt=wu.exec(ze);yt&&(H.mnemonic=(yt[1]?yt[1]:yt[3]).toLocaleLowerCase())}}return H.runOnceToEnableMouseUp=new sn.e(function(){!H.element||(H._register(Object(je.addDisposableListener)(H.element,je.EventType.MOUSE_UP,function(Zt){if(je.EventHelper.stop(Zt,!0),Xs.g){var Wt=new Kl.a(Zt);if(Wt.rightButton)return;H.onClick(Zt)}else setTimeout(function(){H.onClick(Zt)},0)})),H._register(Object(je.addDisposableListener)(H.element,je.EventType.CONTEXT_MENU,function(Zt){je.EventHelper.stop(Zt,!0)})))},100),H._register(H.runOnceToEnableMouseUp),H}return Object(r.a)(L,[{key:"render",value:function(j){Object(nn.a)(Object(bn.a)(L.prototype),"render",this).call(this,j),!!this.element&&(this.container=j,this.item=Object(je.append)(this.element,Object(je.$)("a.action-menu-item")),this._action.id===ho.d.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts","".concat(this.mnemonic))),this.check=Object(je.append)(this.item,Object(je.$)("span.menu-item-check"+Fl.cssSelector)),this.check.setAttribute("role","none"),this.label=Object(je.append)(this.item,Object(je.$)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(je.append)(this.item,Object(je.$)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}},{key:"blur",value:function(){Object(nn.a)(Object(bn.a)(L.prototype),"blur",this).call(this),this.applyStyle()}},{key:"focus",value:function(){Object(nn.a)(Object(bn.a)(L.prototype),"focus",this).call(this),this.item&&this.item.focus(),this.applyStyle()}},{key:"updatePositionInSet",value:function(j,H){this.item&&(this.item.setAttribute("aria-posinset","".concat(j)),this.item.setAttribute("aria-setsize","".concat(H)))}},{key:"updateLabel",value:function(){if(!!this.label&&this.options.label){Object(je.clearNode)(this.label);var j=Object(ul.e)(this.getAction().label);if(j){var H=Qu(j);this.options.enableMnemonics||(j=H),this.label.setAttribute("aria-label",H.replace(/&&/g,"&"));var Ce=wu.exec(j);if(Ce){j=_n.t(j),kl.lastIndex=0;for(var ze=kl.exec(j);ze&&ze[1];)ze=kl.exec(j);var yt=function(Wt){return Wt.replace(/&&/g,"&")};ze?this.label.append(_n.J(yt(j.substr(0,ze.index))," "),Object(je.$)("u",{"aria-hidden":"true"},ze[3]),_n.O(yt(j.substr(ze.index+ze[0].length))," ")):this.label.innerText=yt(j).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(Ce[1]?Ce[1]:Ce[3]).toLocaleLowerCase())}else this.label.innerText=j.replace(/&&/g,"&").trim()}}}},{key:"updateTooltip",value:function(){var j=null;this.getAction().tooltip?j=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(j=this.getAction().label,this.options.keybinding&&(j=Tr.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",j,this.options.keybinding))),j&&this.item&&(this.item.title=j)}},{key:"updateClass",value:function(){if(this.cssClass&&this.item){var j;(j=this.item.classList).remove.apply(j,Object(Te.a)(this.cssClass.split(" ")))}if(this.options.icon&&this.label){if(this.cssClass=this.getAction().class||"",this.label.classList.add("icon"),this.cssClass){var H;(H=this.label.classList).add.apply(H,Object(Te.a)(this.cssClass.split(" ")))}this.updateEnabled()}else this.label&&this.label.classList.remove("icon")}},{key:"updateEnabled",value:function(){this.getAction().enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}},{key:"updateChecked",value:function(){!this.item||(this.getAction().checked?(this.item.classList.add("checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(this.item.classList.remove("checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))}},{key:"getMnemonic",value:function(){return this.mnemonic}},{key:"applyStyle",value:function(){if(!!this.menuStyle){var j=this.element&&this.element.classList.contains("focused"),H=j&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,Ce=j&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,ze=j&&this.menuStyle.selectionBorderColor?"thin solid ".concat(this.menuStyle.selectionBorderColor):"";this.item&&(this.item.style.color=H?H.toString():"",this.item.style.backgroundColor=Ce?Ce.toString():""),this.check&&(this.check.style.color=H?H.toString():""),this.container&&(this.container.style.border=ze)}}},{key:"style",value:function(j){this.menuStyle=j,this.applyStyle()}}]),L}(Yl.b),uc=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H,Ce){var ze;return Object(c.a)(this,L),ze=De.call(this,P,P,Ce),ze.submenuActions=j,ze.parentData=H,ze.submenuOptions=Ce,ze.mysubmenu=null,ze.submenuDisposables=ze._register(new un.b),ze.mouseOver=!1,ze.expandDirection=Ce&&Ce.expandDirection!==void 0?Ce.expandDirection:Jl.Right,ze.showScheduler=new sn.e(function(){ze.mouseOver&&(ze.cleanupExistingSubmenu(!1),ze.createSubmenu(!1))},250),ze.hideScheduler=new sn.e(function(){ze.element&&!Object(je.isAncestor)(Object(je.getActiveElement)(),ze.element)&&ze.parentData.submenu===ze.mysubmenu&&(ze.parentData.parent.focus(!1),ze.cleanupExistingSubmenu(!0))},750),ze}return Object(r.a)(L,[{key:"render",value:function(j){var H=this;Object(nn.a)(Object(bn.a)(L.prototype),"render",this).call(this,j),!!this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(je.append)(this.item,Object(je.$)("span.submenu-indicator"+mu.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(je.addDisposableListener)(this.element,je.EventType.KEY_UP,function(Ce){var ze=new Le.a(Ce);(ze.equals(17)||ze.equals(3))&&(je.EventHelper.stop(Ce,!0),H.createSubmenu(!0))})),this._register(Object(je.addDisposableListener)(this.element,je.EventType.KEY_DOWN,function(Ce){var ze=new Le.a(Ce);Object(je.getActiveElement)()===H.item&&(ze.equals(17)||ze.equals(3))&&je.EventHelper.stop(Ce,!0)})),this._register(Object(je.addDisposableListener)(this.element,je.EventType.MOUSE_OVER,function(Ce){H.mouseOver||(H.mouseOver=!0,H.showScheduler.schedule())})),this._register(Object(je.addDisposableListener)(this.element,je.EventType.MOUSE_LEAVE,function(Ce){H.mouseOver=!1})),this._register(Object(je.addDisposableListener)(this.element,je.EventType.FOCUS_OUT,function(Ce){H.element&&!Object(je.isAncestor)(Object(je.getActiveElement)(),H.element)&&H.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(function(){H.parentData.parent.focus(!1),H.cleanupExistingSubmenu(!1)})))}},{key:"updateEnabled",value:function(){}},{key:"onClick",value:function(j){je.EventHelper.stop(j,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}},{key:"cleanupExistingSubmenu",value:function(j){if(this.parentData.submenu&&(j||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(H){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}},{key:"calculateSubmenuMenuLayout",value:function(j,H,Ce,ze){var yt={top:0,left:0};return yt.left=il(j.width,H.width,{position:ze===Jl.Right?0:1,offset:Ce.left,size:Ce.width}),yt.left>=Ce.left&&yt.left<Ce.left+Ce.width&&(Ce.left+10+H.width<=j.width&&(yt.left=Ce.left+10),Ce.top+=10,Ce.height=0),yt.top=il(j.height,H.height,{position:0,offset:Ce.top,size:0}),yt.top+H.height===Ce.top&&yt.top+Ce.height+H.height<=j.height&&(yt.top+=Ce.height),yt}},{key:"createSubmenu",value:function(){var j=this,H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!!this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(je.append)(this.element,Object(je.$)("div.monaco-submenu")),this.submenuContainer.classList.add("menubar-menu-items-holder","context-view");var Ce=getComputedStyle(this.parentData.parent.domNode),ze=parseFloat(Ce.paddingTop||"0")||0;this.submenuContainer.style.zIndex="1",this.submenuContainer.style.position="fixed",this.submenuContainer.style.top="0",this.submenuContainer.style.left="0",this.parentData.submenu=new pu(this.submenuContainer,this.submenuActions.length?this.submenuActions:[new ho.c],this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);var yt=this.element.getBoundingClientRect(),Zt={top:yt.top-ze,left:yt.left,height:yt.height+2*ze,width:yt.width},Wt=this.submenuContainer.getBoundingClientRect(),yn=this.calculateSubmenuMenuLayout(new je.Dimension(window.innerWidth,window.innerHeight),je.Dimension.lift(Wt),Zt,this.expandDirection),tr=yn.top,Er=yn.left;this.submenuContainer.style.left="".concat(Er,"px"),this.submenuContainer.style.top="".concat(tr,"px"),this.submenuDisposables.add(Object(je.addDisposableListener)(this.submenuContainer,je.EventType.KEY_UP,function(ni){var Oi=new Le.a(ni);Oi.equals(15)&&(je.EventHelper.stop(ni,!0),j.parentData.parent.focus(),j.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(Object(je.addDisposableListener)(this.submenuContainer,je.EventType.KEY_DOWN,function(ni){var Oi=new Le.a(ni);Oi.equals(15)&&je.EventHelper.stop(ni,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(function(){j.parentData.parent.focus(),j.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(H),this.mysubmenu=this.parentData.submenu}}},{key:"updateAriaExpanded",value:function(j){var H;this.item&&((H=this.item)===null||H===void 0||H.setAttribute("aria-expanded",j))}},{key:"applyStyle",value:function(){if(Object(nn.a)(Object(bn.a)(L.prototype),"applyStyle",this).call(this),!!this.menuStyle){var j=this.element&&this.element.classList.contains("focused"),H=j&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=H?"".concat(H):""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}}},{key:"dispose",value:function(){Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}]),L}(Ku),Cl=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){return Object(c.a)(this,L),De.apply(this,arguments)}return Object(r.a)(L,[{key:"style",value:function(j){this.label&&(this.label.style.borderBottomColor=j.separatorColor?"".concat(j.separatorColor):"")}}]),L}(Yl.a);function Qu(V){var De=wu,L=De.exec(V);if(!L)return V;var P=!L[1];return V.replace(De,P?"$2$3":"").trim()}var cc=`
- .monaco-menu {
- font-size: 13px;
- }
- `.concat(Object(hl.a)(Fl),`
- `).concat(Object(hl.a)(mu),`
- .monaco-menu .monaco-action-bar {
- text-align: right;
- overflow: hidden;
- white-space: nowrap;
- }
- .monaco-menu .monaco-action-bar .actions-container {
- display: flex;
- margin: 0 auto;
- padding: 0;
- width: 100%;
- justify-content: flex-end;
- }
- .monaco-menu .monaco-action-bar.vertical .actions-container {
- display: inline-block;
- }
- .monaco-menu .monaco-action-bar.reverse .actions-container {
- flex-direction: row-reverse;
- }
- .monaco-menu .monaco-action-bar .action-item {
- cursor: pointer;
- display: inline-block;
- transition: transform 50ms ease;
- position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */
- }
- .monaco-menu .monaco-action-bar .action-item.disabled {
- cursor: default;
- }
- .monaco-menu .monaco-action-bar.animated .action-item.active {
- transform: scale(1.272019649, 1.272019649); /* 1.272019649 = \u221A\u03C6 */
- }
- .monaco-menu .monaco-action-bar .action-item .icon,
- .monaco-menu .monaco-action-bar .action-item .codicon {
- display: inline-block;
- }
- .monaco-menu .monaco-action-bar .action-item .codicon {
- display: flex;
- align-items: center;
- }
- .monaco-menu .monaco-action-bar .action-label {
- font-size: 11px;
- margin-right: 4px;
- }
- .monaco-menu .monaco-action-bar .action-item.disabled .action-label,
- .monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {
- opacity: 0.4;
- }
- /* Vertical actions */
- .monaco-menu .monaco-action-bar.vertical {
- text-align: left;
- }
- .monaco-menu .monaco-action-bar.vertical .action-item {
- display: block;
- }
- .monaco-menu .monaco-action-bar.vertical .action-label.separator {
- display: block;
- border-bottom: 1px solid #bbb;
- padding-top: 1px;
- margin-left: .8em;
- margin-right: .8em;
- }
- .monaco-menu .secondary-actions .monaco-action-bar .action-label {
- margin-left: 6px;
- }
- /* Action Items */
- .monaco-menu .monaco-action-bar .action-item.select-container {
- overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */
- flex: 1;
- max-width: 170px;
- min-width: 60px;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 10px;
- }
- .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;
- transform: none;
- display: flex;
- }
- .monaco-menu .monaco-action-bar.vertical .action-item.active {
- transform: none;
- }
- .monaco-menu .monaco-action-bar.vertical .action-menu-item {
- flex: 1 1 auto;
- display: flex;
- height: 2em;
- align-items: center;
- position: relative;
- }
- .monaco-menu .monaco-action-bar.vertical .action-label {
- 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;
- 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%;
- }
- .monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {
- font-size: 16px !important;
- display: flex;
- align-items: center;
- }
- .monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {
- margin-left: auto;
- margin-right: -20px;
- }
- .monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,
- .monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {
- opacity: 0.4;
- }
- .monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {
- display: inline-block;
- 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: 0.5em 0 0 0;
- margin-bottom: 0.5em;
- width: 100%;
- height: 0px !important;
- margin-left: .8em !important;
- margin-right: .8em !important;
- }
- .monaco-menu .monaco-action-bar.vertical .action-label.separator.text {
- padding: 0.7em 1em 0.1em 1em;
- font-weight: bold;
- 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;
- width: 1em;
- height: 100%;
- }
- .monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {
- visibility: visible;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- /* Context Menu */
- .context-view.monaco-menu-container {
- outline: 0;
- border: none;
- animation: fadeIn 0.083s linear;
- -webkit-app-region: no-drag;
- }
- .context-view.monaco-menu-container :focus,
- .context-view.monaco-menu-container .monaco-action-bar.vertical:focus,
- .context-view.monaco-menu-container .monaco-action-bar.vertical :focus {
- outline: 0;
- }
- .monaco-menu .monaco-action-bar.vertical .action-item {
- border: thin solid transparent; /* prevents jumping behaviour on hover or focus */
- }
- /* High Contrast Theming */
- :host-context(.hc-black) .context-view.monaco-menu-container {
- box-shadow: none;
- }
- :host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused {
- background: none;
- }
- /* Vertical Action Bar Styles */
- .monaco-menu .monaco-action-bar.vertical {
- padding: .5em 0;
- }
- .monaco-menu .monaco-action-bar.vertical .action-menu-item {
- height: 1.8em;
- }
- .monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),
- .monaco-menu .monaco-action-bar.vertical .keybinding {
- font-size: inherit;
- padding: 0 2em;
- }
- .monaco-menu .monaco-action-bar.vertical .menu-item-check {
- font-size: inherit;
- width: 2em;
- }
- .monaco-menu .monaco-action-bar.vertical .action-label.separator {
- font-size: inherit;
- padding: 0.2em 0 0 0;
- margin-bottom: 0.2em;
- }
- :host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {
- margin-left: 0;
- margin-right: 0;
- }
- .monaco-menu .monaco-action-bar.vertical .submenu-indicator {
- font-size: 60%;
- padding: 0 1.8em;
- }
- :host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {
- height: 100%;
- mask-size: 10px 10px;
- -webkit-mask-size: 10px 10px;
- }
- .monaco-menu .action-item {
- cursor: default;
- }
- /* Arrows */
- .monaco-scrollable-element > .scrollbar > .scra {
- cursor: pointer;
- font-size: 11px !important;
- }
- .monaco-scrollable-element > .visible {
- opacity: 1;
- /* Background rule added for IE9 - to allow clicks on dom node */
- background:rgba(0,0,0,0);
- transition: opacity 100ms linear;
- }
- .monaco-scrollable-element > .invisible {
- opacity: 0;
- pointer-events: none;
- }
- .monaco-scrollable-element > .invisible.fade {
- transition: opacity 800ms linear;
- }
- /* Scrollable Content Inset Shadow */
- .monaco-scrollable-element > .shadow {
- position: absolute;
- display: none;
- }
- .monaco-scrollable-element > .shadow.top {
- display: block;
- top: 0;
- left: 3px;
- height: 3px;
- width: 100%;
- box-shadow: #DDD 0 6px 6px -6px inset;
- }
- .monaco-scrollable-element > .shadow.left {
- display: block;
- top: 3px;
- left: 0;
- height: 100%;
- width: 3px;
- box-shadow: #DDD 6px 0 6px -6px inset;
- }
- .monaco-scrollable-element > .shadow.top-left-corner {
- display: block;
- top: 0;
- left: 0;
- height: 3px;
- width: 3px;
- }
- .monaco-scrollable-element > .shadow.top.left {
- box-shadow: #DDD 6px 6px 6px -6px inset;
- }
- /* ---------- Default Style ---------- */
- :host-context(.vs) .monaco-scrollable-element > .scrollbar > .slider {
- background: rgba(100, 100, 100, .4);
- }
- :host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider {
- background: rgba(121, 121, 121, .4);
- }
- :host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider {
- background: rgba(111, 195, 223, .6);
- }
- .monaco-scrollable-element > .scrollbar > .slider:hover {
- background: rgba(100, 100, 100, .7);
- }
- :host-context(.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);
- }
- :host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider.active {
- background: rgba(191, 191, 191, .4);
- }
- :host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider.active {
- background: rgba(111, 195, 223, 1);
- }
- :host-context(.vs-dark) .monaco-scrollable-element .shadow.top {
- box-shadow: none;
- }
- :host-context(.vs-dark) .monaco-scrollable-element .shadow.left {
- box-shadow: #000 6px 0 6px -6px inset;
- }
- :host-context(.vs-dark) .monaco-scrollable-element .shadow.top.left {
- box-shadow: #000 6px 6px 6px -6px inset;
- }
- :host-context(.hc-black) .monaco-scrollable-element .shadow.top {
- box-shadow: none;
- }
- :host-context(.hc-black) .monaco-scrollable-element .shadow.left {
- box-shadow: none;
- }
- :host-context(.hc-black) .monaco-scrollable-element .shadow.top.left {
- box-shadow: none;
- }
- `),El=e("ptcw"),Hu=e("4y0V"),dc=function(){function V(De,L,P,j,H){Object(c.a)(this,V),this.contextViewService=De,this.telemetryService=L,this.notificationService=P,this.keybindingService=j,this.themeService=H,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}return Object(r.a)(V,[{key:"configure",value:function(L){this.options=L}},{key:"showContextMenu",value:function(L){var P=this,j=L.getActions();if(!!j.length){this.focusToReturn=document.activeElement;var H,Ce=Object(je.isHTMLElement)(L.domForShadowRoot)?L.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:function(){return L.getAnchor()},canRelayout:!1,anchorAlignment:L.anchorAlignment,anchorAxisAlignment:L.anchorAxisAlignment,render:function(yt){var Zt=L.getMenuClassName?L.getMenuClassName():"";Zt&&(yt.className+=" "+Zt),P.options.blockMouse&&(P.block=yt.appendChild(Object(je.$)(".context-view-block")),P.block.style.position="fixed",P.block.style.cursor="initial",P.block.style.left="0",P.block.style.top="0",P.block.style.width="100%",P.block.style.height="100%",P.block.style.zIndex="-1",Object(Hu.a)(P.block,je.EventType.MOUSE_DOWN)(function(tr){return tr.stopPropagation()}));var Wt=new un.b,yn=L.actionRunner||new ho.b;return yn.onBeforeRun(P.onActionRun,P,Wt),yn.onDidRun(P.onDidActionRun,P,Wt),H=new pu(yt,j,{actionViewItemProvider:L.getActionViewItem,context:L.getActionsContext?L.getActionsContext():null,actionRunner:yn,getKeyBinding:L.getKeyBinding?L.getKeyBinding:function(tr){return P.keybindingService.lookupKeybinding(tr.id)}}),Wt.add(Object(El.c)(H,P.themeService)),H.onDidCancel(function(){return P.contextViewService.hideContextView(!0)},null,Wt),H.onDidBlur(function(){return P.contextViewService.hideContextView(!0)},null,Wt),Object(Hu.a)(window,je.EventType.BLUR)(function(){P.contextViewService.hideContextView(!0)},null,Wt),Object(Hu.a)(window,je.EventType.MOUSE_DOWN)(function(tr){if(!tr.defaultPrevented){var Er=new Kl.a(tr),ni=Er.target;if(!Er.rightButton){for(;ni;){if(ni===yt)return;ni=ni.parentElement}P.contextViewService.hideContextView(!0)}}},null,Wt),Object(un.e)(Wt,H)},focus:function(){H&&H.focus(!!L.autoSelectFirstItem)},onHide:function(yt){L.onHide&&L.onHide(!!yt),P.block&&(P.block.remove(),P.block=null),P.focusToReturn&&P.focusToReturn.focus()}},Ce,!!Ce)}}},{key:"onActionRun",value:function(L){this.telemetryService.publicLog2("workbenchActionExecuted",{id:L.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}},{key:"onDidActionRun",value:function(L){L.error&&!Object(Ht.d)(L.error)&&this.notificationService.error(L.error)}}]),V}(),ql=e("XXUj"),pc=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},vl=function(V,De){return function(L,P){De(L,P,V)}},Xu=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H,Ce,ze){var yt;return Object(c.a)(this,L),yt=De.call(this),yt.contextMenuHandler=new dc(H,P,j,Ce,ze),yt}return Object(r.a)(L,[{key:"configure",value:function(j){this.contextMenuHandler.configure(j)}},{key:"showContextMenu",value:function(j){this.contextMenuHandler.showContextMenu(j),je.ModifierKeyEmitter.getInstance().resetKeyStatus()}}]),L}(un.a);Xu=pc([vl(0,ql.a),vl(1,vi.a),vl(2,or.b),vl(3,Ur.a),vl(4,Li.b)],Xu);var Pu=Object(Ir.c)("layoutService"),_u=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},Uc=function(V,De){return function(L,P){De(L,P,V)}},$e=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P){var j;return Object(c.a)(this,L),j=De.call(this),j.layoutService=P,j.currentViewDisposable=un.a.None,j.container=P.container,j.contextView=j._register(new Ns(j.container,1)),j.layout(),j._register(P.onDidLayout(function(){return j.layout()})),j}return Object(r.a)(L,[{key:"setContainer",value:function(j,H){this.contextView.setContainer(j,H||1)}},{key:"showContextView",value:function(j,H,Ce){var ze=this;H?H!==this.container&&(this.container=H,this.setContainer(H,Ce?3:2)):this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(j);var yt=Object(un.h)(function(){ze.currentViewDisposable===yt&&ze.hideContextView()});return this.currentViewDisposable=yt,yt}},{key:"getContextViewElement",value:function(){return this.contextView.getViewElement()}},{key:"layout",value:function(){this.contextView.layout()}},{key:"hideContextView",value:function(j){this.contextView.hide(j)}}]),L}(un.a);$e=_u([Uc(0,Pu)],$e);var ot=e("6vuP"),_t=e("xdlL"),dn=e("ZKkB"),xn=Object(r.a)(function V(De){Object(c.a)(this,V),this.incoming=new Map,this.outgoing=new Map,this.data=De}),Hn=function(){function V(De){Object(c.a)(this,V),this._hashFn=De,this._nodes=new Map}return Object(r.a)(V,[{key:"roots",value:function(){var L=[],P=Object(ae.a)(this._nodes.values()),j;try{for(P.s();!(j=P.n()).done;){var H=j.value;H.outgoing.size===0&&L.push(H)}}catch(Ce){P.e(Ce)}finally{P.f()}return L}},{key:"insertEdge",value:function(L,P){var j=this.lookupOrInsertNode(L),H=this.lookupOrInsertNode(P);j.outgoing.set(this._hashFn(P),H),H.incoming.set(this._hashFn(L),j)}},{key:"removeNode",value:function(L){var P=this._hashFn(L);this._nodes.delete(P);var j=Object(ae.a)(this._nodes.values()),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;Ce.outgoing.delete(P),Ce.incoming.delete(P)}}catch(ze){j.e(ze)}finally{j.f()}}},{key:"lookupOrInsertNode",value:function(L){var P=this._hashFn(L),j=this._nodes.get(P);return j||(j=new xn(L),this._nodes.set(P,j)),j}},{key:"isEmpty",value:function(){return this._nodes.size===0}},{key:"toString",value:function(){var L=[],P=Object(ae.a)(this._nodes),j;try{for(P.s();!(j=P.n()).done;){var H=j.value,Ce=Object(ur.a)(H,2),ze=Ce[0],yt=Ce[1];L.push("".concat(ze,", (incoming)[").concat(Object(Te.a)(yt.incoming.keys()).join(", "),"], (outgoing)[").concat(Object(Te.a)(yt.outgoing.keys()).join(","),"]"))}}catch(Zt){P.e(Zt)}finally{P.f()}return L.join(`
- `)}},{key:"findCycleSlow",value:function(){var L=Object(ae.a)(this._nodes),P;try{for(L.s();!(P=L.n()).done;){var j=P.value,H=Object(ur.a)(j,2),Ce=H[0],ze=H[1],yt=new Set([Ce]),Zt=this._findCycle(ze,yt);if(Zt)return Zt}}catch(Wt){L.e(Wt)}finally{L.f()}}},{key:"_findCycle",value:function(L,P){var j=Object(ae.a)(L.outgoing),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value,ze=Object(ur.a)(Ce,2),yt=ze[0],Zt=ze[1];if(P.has(yt))return[].concat(Object(Te.a)(P),[yt]).join(" -> ");P.add(yt);var Wt=this._findCycle(Zt,P);if(Wt)return Wt;P.delete(yt)}}catch(yn){j.e(yn)}finally{j.f()}}}]),V}(),er=e("r0BQ"),Nr=e("8HsV"),Zr=!1,rt=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P){var j;Object(c.a)(this,L);var H;return j=De.call(this,"cyclic dependency between services"),j.message=(H=P.findCycleSlow())!==null&&H!==void 0?H:`UNABLE to detect cycle, dumping graph:
- `.concat(P.toString()),j}return Object(r.a)(L)}(Object(dn.a)(Error)),Fe=function(){function V(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Nr.a,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,P=arguments.length>2?arguments[2]:void 0;Object(c.a)(this,V),this._activeInstantiations=new Set,this._services=De,this._strict=L,this._parent=P,this._services.set(Ir.a,this)}return Object(r.a)(V,[{key:"createChild",value:function(L){return new V(L,this._strict,this)}},{key:"invokeFunction",value:function(L){var P=this,j=Et.traceInvocation(L),H=!1;try{for(var Ce={get:function(yn,tr){if(H)throw Object(Ht.c)("service accessor is only valid during the invocation of its target method");var Er=P._getOrCreateServiceInstance(yn,j);if(!Er&&tr!==Ir.d)throw new Error("[invokeFunction] unknown service '".concat(yn,"'"));return Er}},ze=arguments.length,yt=new Array(ze>1?ze-1:0),Zt=1;Zt<ze;Zt++)yt[Zt-1]=arguments[Zt];return L.apply(void 0,[Ce].concat(yt))}finally{H=!0,j.stop()}}},{key:"createInstance",value:function(L){for(var P,j,H=arguments.length,Ce=new Array(H>1?H-1:0),ze=1;ze<H;ze++)Ce[ze-1]=arguments[ze];return L instanceof er.a?(P=Et.traceCreation(L.ctor),j=this._createInstance(L.ctor,L.staticArguments.concat(Ce),P)):(P=Et.traceCreation(L),j=this._createInstance(L,Ce,P)),P.stop(),j}},{key:"_createInstance",value:function(L){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],j=arguments.length>2?arguments[2]:void 0,H=Ir.b.getServiceDependencies(L).sort(function(Er,ni){return Er.index-ni.index}),Ce=[],ze=Object(ae.a)(H),yt;try{for(ze.s();!(yt=ze.n()).done;){var Zt=yt.value,Wt=this._getOrCreateServiceInstance(Zt.id,j);if(!Wt&&this._strict&&!Zt.optional)throw new Error("[createInstance] ".concat(L.name," depends on UNKNOWN service ").concat(Zt.id,"."));Ce.push(Wt)}}catch(Er){ze.e(Er)}finally{ze.f()}var yn=H.length>0?H[0].index:P.length;if(P.length!==yn){console.warn("[createInstance] First service dependency of ".concat(L.name," at position ").concat(yn+1," conflicts with ").concat(P.length," static arguments"));var tr=yn-P.length;tr>0?P=P.concat(new Array(tr)):P=P.slice(0,yn)}return Object(_t.a)(L,[].concat(Object(Te.a)(P),Ce))}},{key:"_setServiceInstance",value:function(L,P){if(this._services.get(L)instanceof er.a)this._services.set(L,P);else if(this._parent)this._parent._setServiceInstance(L,P);else throw new Error("illegalState - setting UNKNOWN service instance")}},{key:"_getServiceInstanceOrDescriptor",value:function(L){var P=this._services.get(L);return!P&&this._parent?this._parent._getServiceInstanceOrDescriptor(L):P}},{key:"_getOrCreateServiceInstance",value:function(L,P){var j=this._getServiceInstanceOrDescriptor(L);return j instanceof er.a?this._safeCreateAndCacheServiceInstance(L,j,P.branch(L,!0)):(P.branch(L,!1),j)}},{key:"_safeCreateAndCacheServiceInstance",value:function(L,P,j){if(this._activeInstantiations.has(L))throw new Error("illegal state - RECURSIVELY instantiating service '".concat(L,"'"));this._activeInstantiations.add(L);try{return this._createAndCacheServiceInstance(L,P,j)}finally{this._activeInstantiations.delete(L)}}},{key:"_createAndCacheServiceInstance",value:function(L,P,j){for(var H=new Hn(function(wo){return wo.id.toString()}),Ce=0,ze=[{id:L,desc:P,_trace:j}];ze.length;){var yt=ze.pop();if(H.lookupOrInsertNode(yt),Ce++>1e3)throw new rt(H);var Zt=Object(ae.a)(Ir.b.getServiceDependencies(yt.desc.ctor)),Wt;try{for(Zt.s();!(Wt=Zt.n()).done;){var yn=Wt.value,tr=this._getServiceInstanceOrDescriptor(yn.id);if(!tr&&!yn.optional&&console.warn("[createInstance] ".concat(L," depends on ").concat(yn.id," which is NOT registered.")),tr instanceof er.a){var Er={id:yn.id,desc:tr,_trace:yt._trace.branch(yn.id,!0)};H.insertEdge(yt,Er),ze.push(Er)}}}catch(wo){Zt.e(wo)}finally{Zt.f()}}for(;;){var ni=H.roots();if(ni.length===0){if(!H.isEmpty())throw new rt(H);break}var Oi=Object(ae.a)(ni),oi;try{for(Oi.s();!(oi=Oi.n()).done;){var ui=oi.value,Bi=ui.data;{var Pa=this._getServiceInstanceOrDescriptor(Bi.id);if(Pa instanceof er.a){var za=this._createServiceInstanceWithOwner(Bi.id,Bi.desc.ctor,Bi.desc.staticArguments,Bi.desc.supportsDelayedInstantiation,Bi._trace);this._setServiceInstance(Bi.id,za)}H.removeNode(Bi)}}}catch(wo){Oi.e(wo)}finally{Oi.f()}}return this._getServiceInstanceOrDescriptor(L)}},{key:"_createServiceInstanceWithOwner",value:function(L,P){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],H=arguments.length>3?arguments[3]:void 0,Ce=arguments.length>4?arguments[4]:void 0;if(this._services.get(L)instanceof er.a)return this._createServiceInstance(P,j,H,Ce);if(this._parent)return this._parent._createServiceInstanceWithOwner(L,P,j,H,Ce);throw new Error("illegalState - creating UNKNOWN service instance ".concat(P.name))}},{key:"_createServiceInstance",value:function(L){var P=this,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],H=arguments.length>2?arguments[2]:void 0,Ce=arguments.length>3?arguments[3]:void 0;if(H){var ze=new sn.b(function(){return P._createInstance(L,j,Ce)});return new Proxy(Object.create(null),{get:function(Zt,Wt){if(Wt in Zt)return Zt[Wt];var yn=ze.value,tr=yn[Wt];return typeof tr!="function"||(tr=tr.bind(yn),Zt[Wt]=tr),tr},set:function(Zt,Wt,yn){return ze.value[Wt]=yn,!0}})}else return this._createInstance(L,j,Ce)}}]),V}(),Et=function(){function V(De,L){Object(c.a)(this,V),this.type=De,this.name=L,this._start=Date.now(),this._dep=[]}return Object(r.a)(V,[{key:"branch",value:function(L,P){var j=new V(2,L.toString());return this._dep.push([L,P,j]),j}},{key:"stop",value:function(){var L=Date.now()-this._start;V._totals+=L;var P=!1;function j(Ce,ze){var yt=[],Zt=new Array(Ce+1).join(" "),Wt=Object(ae.a)(ze._dep),yn;try{for(Wt.s();!(yn=Wt.n()).done;){var tr=yn.value,Er=Object(ur.a)(tr,3),ni=Er[0],Oi=Er[1],oi=Er[2];if(Oi&&oi){P=!0,yt.push("".concat(Zt,"CREATES -> ").concat(ni));var ui=j(Ce+1,oi);ui&&yt.push(ui)}else yt.push("".concat(Zt,"uses -> ").concat(ni))}}catch(Bi){Wt.e(Bi)}finally{Wt.f()}return yt.join(`
- `)}var H=["".concat(this.type===0?"CREATE":"CALL"," ").concat(this.name),"".concat(j(1,this)),"DONE, took ".concat(L.toFixed(2),"ms (grand total ").concat(V._totals.toFixed(2),"ms)")];(L>2||P)&&console.log(H.join(`
- `))}}],[{key:"traceInvocation",value:function(L){return Zr?new V(1,L.name||L.toString().substring(0,42).replace(/\n/g,"")):V._None}},{key:"traceCreation",value:function(L){return Zr?new V(0,L.name):V._None}}]),V}();Et._None=new(function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){return Object(c.a)(this,L),De.call(this,-1,null)}return Object(r.a)(L,[{key:"stop",value:function(){}},{key:"branch",value:function(){return this}}]),L}(Et)),Et._totals=0;var at=e("R8sh"),At=e("k9mg"),En=e("tADe"),Gn=function(){function V(){Object(c.a)(this,V),this._byResource=new fe.b,this._byOwner=new Map}return Object(r.a)(V,[{key:"set",value:function(L,P,j){var H=this._byResource.get(L);H||(H=new Map,this._byResource.set(L,H)),H.set(P,j);var Ce=this._byOwner.get(P);Ce||(Ce=new fe.b,this._byOwner.set(P,Ce)),Ce.set(L,j)}},{key:"get",value:function(L,P){var j=this._byResource.get(L);return j==null?void 0:j.get(P)}},{key:"delete",value:function(L,P){var j=!1,H=!1,Ce=this._byResource.get(L);Ce&&(j=Ce.delete(P));var ze=this._byOwner.get(P);if(ze&&(H=ze.delete(L)),j!==H)throw new Error("illegal state");return j&&H}},{key:"values",value:function(L){var P,j,H,Ce;return typeof L=="string"?(j=(P=this._byOwner.get(L))===null||P===void 0?void 0:P.values())!==null&&j!==void 0?j:Wn.a.empty():a.a.isUri(L)?(Ce=(H=this._byResource.get(L))===null||H===void 0?void 0:H.values())!==null&&Ce!==void 0?Ce:Wn.a.empty():Wn.a.map(Wn.a.concat.apply(Wn.a,Object(Te.a)(this._byOwner.values())),function(ze){return ze[1]})}}]),V}(),lr=function(){function V(De){Object(c.a)(this,V),this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new fe.b,this._service=De,this._subscription=De.onMarkerChanged(this._update,this)}return Object(r.a)(V,[{key:"dispose",value:function(){this._subscription.dispose()}},{key:"_update",value:function(L){var P=Object(ae.a)(L),j;try{for(P.s();!(j=P.n()).done;){var H=j.value,Ce=this._data.get(H);Ce&&this._substract(Ce);var ze=this._resourceStats(H);this._add(ze),this._data.set(H,ze)}}catch(yt){P.e(yt)}finally{P.f()}}},{key:"_resourceStats",value:function(L){var P={errors:0,warnings:0,infos:0,unknowns:0};if(L.scheme===ge.c.inMemory||L.scheme===ge.c.walkThrough||L.scheme===ge.c.walkThroughSnippet)return P;var j=Object(ae.a)(this._service.read({resource:L})),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value,ze=Ce.severity;ze===En.c.Error?P.errors+=1:ze===En.c.Warning?P.warnings+=1:ze===En.c.Info?P.infos+=1:P.unknowns+=1}}catch(yt){j.e(yt)}finally{j.f()}return P}},{key:"_substract",value:function(L){this.errors-=L.errors,this.warnings-=L.warnings,this.infos-=L.infos,this.unknowns-=L.unknowns}},{key:"_add",value:function(L){this.errors+=L.errors,this.warnings+=L.warnings,this.infos+=L.infos,this.unknowns+=L.unknowns}}]),V}(),pr=function(){function V(){Object(c.a)(this,V),this._onMarkerChanged=new o.a,this.onMarkerChanged=o.b.debounce(this._onMarkerChanged.event,V._debouncer,0),this._data=new Gn,this._stats=new lr(this)}return Object(r.a)(V,[{key:"dispose",value:function(){this._stats.dispose(),this._onMarkerChanged.dispose()}},{key:"remove",value:function(L,P){var j=Object(ae.a)(P||[]),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;this.changeOne(L,Ce,[])}}catch(ze){j.e(ze)}finally{j.f()}}},{key:"changeOne",value:function(L,P,j){if(Object(Pe.l)(j)){var H=this._data.delete(P,L);H&&this._onMarkerChanged.fire([P])}else{var Ce=[],ze=Object(ae.a)(j),yt;try{for(ze.s();!(yt=ze.n()).done;){var Zt=yt.value,Wt=V._toMarker(L,P,Zt);Wt&&Ce.push(Wt)}}catch(yn){ze.e(yn)}finally{ze.f()}this._data.set(P,L,Ce),this._onMarkerChanged.fire([P])}}},{key:"read",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Object.create(null),P=L.owner,j=L.resource,H=L.severities,Ce=L.take;if((!Ce||Ce<0)&&(Ce=-1),P&&j){var ze=this._data.get(j,P);if(ze){var yt=[],Zt=Object(ae.a)(ze),Wt;try{for(Zt.s();!(Wt=Zt.n()).done;){var yn=Wt.value;if(V._accept(yn,H)){var tr=yt.push(yn);if(Ce>0&&tr===Ce)break}}}catch(hs){Zt.e(hs)}finally{Zt.f()}return yt}else return[]}else if(!P&&!j){var Er=[],ni=Object(ae.a)(this._data.values()),Oi;try{for(ni.s();!(Oi=ni.n()).done;){var oi=Oi.value,ui=Object(ae.a)(oi),Bi;try{for(ui.s();!(Bi=ui.n()).done;){var Pa=Bi.value;if(V._accept(Pa,H)){var za=Er.push(Pa);if(Ce>0&&za===Ce)return Er}}}catch(hs){ui.e(hs)}finally{ui.f()}}}catch(hs){ni.e(hs)}finally{ni.f()}return Er}else{var wo=this._data.values(j!=null?j:P),yo=[],bs=Object(ae.a)(wo),Xo;try{for(bs.s();!(Xo=bs.n()).done;){var zs=Xo.value,nl=Object(ae.a)(zs),zl;try{for(nl.s();!(zl=nl.n()).done;){var tu=zl.value;if(V._accept(tu,H)){var Wu=yo.push(tu);if(Ce>0&&Wu===Ce)return yo}}}catch(hs){nl.e(hs)}finally{nl.f()}}}catch(hs){bs.e(hs)}finally{bs.f()}return yo}}}],[{key:"_toMarker",value:function(L,P,j){var H=j.code,Ce=j.severity,ze=j.message,yt=j.source,Zt=j.startLineNumber,Wt=j.startColumn,yn=j.endLineNumber,tr=j.endColumn,Er=j.relatedInformation,ni=j.tags;if(!!ze)return Zt=Zt>0?Zt:1,Wt=Wt>0?Wt:1,yn=yn>=Zt?yn:Zt,tr=tr>0?tr:Wt,{resource:P,owner:L,code:H,severity:Ce,message:ze,source:yt,startLineNumber:Zt,startColumn:Wt,endLineNumber:yn,endColumn:tr,relatedInformation:Er,tags:ni}}},{key:"_accept",value:function(L,P){return P===void 0||(P&L.severity)===L.severity}},{key:"_debouncer",value:function(L,P){L||(V._dedupeMap=new fe.b,L=[]);var j=Object(ae.a)(P),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;V._dedupeMap.has(Ce)||(V._dedupeMap.set(Ce,!0),L.push(Ce))}}catch(ze){j.e(ze)}finally{j.f()}return L}}]),V}(),Gr=e("A+jI"),Hr=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},_i=function(V,De){return function(L,P){De(L,P,V)}},Gi=function(){function V(De){Object(c.a)(this,V),this._commandService=De}return Object(r.a)(V,[{key:"createMenu",value:function(L,P){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return new Dt(L,j,this._commandService,P,this)}}]),V}();Gi=Hr([_i(0,Ee.b)],Gi);var Dt=function(){function V(De,L,P,j,H){var Ce=this;Object(c.a)(this,V),this._id=De,this._fireEventsForSubmenuChanges=L,this._commandService=P,this._contextKeyService=j,this._menuService=H,this._dispoables=new un.b,this._onDidChange=new o.a,this.onDidChange=this._onDidChange.event,this._menuGroups=[],this._contextKeys=new Set,this._build();var ze=new sn.e(function(){return Ce._build()},50);this._dispoables.add(ze),this._dispoables.add(Ei.d.onDidChangeMenu(function(Zt){Zt.has(De)&&ze.schedule()}));var yt=new sn.e(function(){return Ce._onDidChange.fire(Ce)},50);this._dispoables.add(yt),this._dispoables.add(j.onDidChangeContext(function(Zt){Zt.affectsSome(Ce._contextKeys)&&yt.schedule()}))}return Object(r.a)(V,[{key:"dispose",value:function(){this._dispoables.dispose(),this._onDidChange.dispose()}},{key:"_build",value:function(){this._menuGroups.length=0,this._contextKeys.clear();var L=Ei.d.getMenuItems(this._id),P;L.sort(V._compareMenuItems);var j=Object(ae.a)(L),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value,ze=Ce.group||"";(!P||P[0]!==ze)&&(P=[ze,[]],this._menuGroups.push(P)),P[1].push(Ce),this._collectContextKeys(Ce)}}catch(yt){j.e(yt)}finally{j.f()}this._onDidChange.fire(this)}},{key:"_collectContextKeys",value:function(L){if(V._fillInKbExprKeys(L.when,this._contextKeys),Object(Ei.f)(L)){if(L.command.precondition&&V._fillInKbExprKeys(L.command.precondition,this._contextKeys),L.command.toggled){var P=L.command.toggled.condition||L.command.toggled;V._fillInKbExprKeys(P,this._contextKeys)}}else this._fireEventsForSubmenuChanges&&Ei.d.getMenuItems(L.submenu).forEach(this._collectContextKeys,this)}},{key:"getActions",value:function(L){var P=[],j=Object(ae.a)(this._menuGroups),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value,ze=Object(ur.a)(Ce,2),yt=ze[0],Zt=ze[1],Wt=[],yn=Object(ae.a)(Zt),tr;try{for(yn.s();!(tr=yn.n()).done;){var Er=tr.value;if(this._contextKeyService.contextMatchesRules(Er.when)){var ni=Object(Ei.f)(Er)?new Ei.c(Er.command,Er.alt,L,this._contextKeyService,this._commandService):new Ei.e(Er,this._menuService,this._contextKeyService,L);Wt.push(ni)}}}catch(Oi){yn.e(Oi)}finally{yn.f()}Wt.length>0&&P.push([yt,Wt])}}catch(Oi){j.e(Oi)}finally{j.f()}return P}}],[{key:"_fillInKbExprKeys",value:function(L,P){if(L){var j=Object(ae.a)(L.keys()),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;P.add(Ce)}}catch(ze){j.e(ze)}finally{j.f()}}}},{key:"_compareMenuItems",value:function(L,P){var j=L.group,H=P.group;if(j!==H){if(j){if(!H)return-1}else return 1;if(j==="navigation")return-1;if(H==="navigation")return 1;var Ce=j.localeCompare(H);if(Ce!==0)return Ce}var ze=L.order||0,yt=P.order||0;return ze<yt?-1:ze>yt?1:V._compareTitles(Object(Ei.f)(L)?L.command.title:L.title,Object(Ei.f)(P)?P.command.title:P.title)}},{key:"_compareTitles",value:function(L,P){var j=typeof L=="string"?L:L.original,H=typeof P=="string"?P:P.original;return j.localeCompare(H)}}]),V}();Dt=Hr([_i(2,Ee.b),_i(3,gi.b),_i(4,Ei.a)],Dt);var ta=e("79sc"),Ji=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},la=function(V,De){return function(L,P){De(L,P,V)}};function Aa(V){return V.toString()}var ja=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P){var j;return Object(c.a)(this,L),j=De.call(this),j.model=P,j._markersData=new Map,j._register(Object(un.h)(function(){j.model.deltaDecorations(Object(Te.a)(j._markersData.keys()),[]),j._markersData.clear()})),j}return Object(r.a)(L,[{key:"update",value:function(j,H){var Ce=Object(Te.a)(this._markersData.keys());this._markersData.clear();for(var ze=this.model.deltaDecorations(Ce,H),yt=0;yt<ze.length;yt++)this._markersData.set(ze[yt],j[yt]);return Ce.length!==0||ze.length!==0}},{key:"getMarker",value:function(j){return this._markersData.get(j.id)}}]),L}(un.a),Ta=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;return Object(c.a)(this,L),H=De.call(this),H._markerService=j,H._onDidChangeMarker=H._register(new o.a),H._markerDecorations=new Map,P.getModels().forEach(function(Ce){return H._onModelAdded(Ce)}),H._register(P.onModelAdded(H._onModelAdded,Object(Eo.a)(H))),H._register(P.onModelRemoved(H._onModelRemoved,Object(Eo.a)(H))),H._register(H._markerService.onMarkerChanged(H._handleMarkerChange,Object(Eo.a)(H))),H}return Object(r.a)(L,[{key:"dispose",value:function(){Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this),this._markerDecorations.forEach(function(j){return j.dispose()}),this._markerDecorations.clear()}},{key:"getMarker",value:function(j,H){var Ce=this._markerDecorations.get(Aa(j));return Ce&&Ce.getMarker(H)||null}},{key:"_handleMarkerChange",value:function(j){var H=this;j.forEach(function(Ce){var ze=H._markerDecorations.get(Aa(Ce));ze&&H._updateDecorations(ze)})}},{key:"_onModelAdded",value:function(j){var H=new ja(j);this._markerDecorations.set(Aa(j.uri),H),this._updateDecorations(H)}},{key:"_onModelRemoved",value:function(j){var H=this,Ce=this._markerDecorations.get(Aa(j.uri));Ce&&(Ce.dispose(),this._markerDecorations.delete(Aa(j.uri))),(j.uri.scheme===ge.c.inMemory||j.uri.scheme===ge.c.internal||j.uri.scheme===ge.c.vscode)&&this._markerService&&this._markerService.read({resource:j.uri}).map(function(ze){return ze.owner}).forEach(function(ze){return H._markerService.remove(ze,[j.uri])})}},{key:"_updateDecorations",value:function(j){var H=this,Ce=this._markerService.read({resource:j.model.uri,take:500}),ze=Ce.map(function(yt){return{range:H._createDecorationRange(j.model,yt),options:H._createDecorationOption(yt)}});j.update(Ce,ze)&&this._onDidChangeMarker.fire(j.model)}},{key:"_createDecorationRange",value:function(j,H){var Ce=v.a.lift(H);if(H.severity===En.c.Hint&&!this._hasMarkerTag(H,1)&&!this._hasMarkerTag(H,2)&&(Ce=Ce.setEndPosition(Ce.startLineNumber,Ce.startColumn+2)),Ce=j.validateRange(Ce),Ce.isEmpty()){var ze=j.getWordAtPosition(Ce.getStartPosition());if(ze)Ce=new v.a(Ce.startLineNumber,ze.startColumn,Ce.endLineNumber,ze.endColumn);else{var yt=j.getLineLastNonWhitespaceColumn(Ce.startLineNumber)||j.getLineMaxColumn(Ce.startLineNumber);yt===1||(Ce.endColumn>=yt?Ce=new v.a(Ce.startLineNumber,yt-1,Ce.endLineNumber,yt):Ce=new v.a(Ce.startLineNumber,Ce.startColumn,Ce.endLineNumber,Ce.endColumn+1))}}else if(H.endColumn===Number.MAX_VALUE&&H.startColumn===1&&Ce.startLineNumber===Ce.endLineNumber){var Zt=j.getLineFirstNonWhitespaceColumn(H.startLineNumber);Zt<Ce.endColumn&&(Ce=new v.a(Ce.startLineNumber,Zt,Ce.endLineNumber,Ce.endColumn),H.startColumn=Zt)}return Ce}},{key:"_createDecorationOption",value:function(j){var H,Ce=void 0,ze,yt=void 0,Zt;switch(j.severity){case En.c.Hint:this._hasMarkerTag(j,2)?H=void 0:this._hasMarkerTag(j,1)?H="squiggly-unnecessary":H="squiggly-hint",ze=0;break;case En.c.Warning:H="squiggly-warning",Ce=Object(Li.g)(Io.t),ze=20,Zt={color:Object(Li.g)(po.dc),position:ut.c.Inline};break;case En.c.Info:H="squiggly-info",Ce=Object(Li.g)(Io.r),ze=10;break;case En.c.Error:default:H="squiggly-error",Ce=Object(Li.g)(Io.q),ze=30,Zt={color:Object(Li.g)(po.Xb),position:ut.c.Inline};break}return j.tags&&(j.tags.indexOf(1)!==-1&&(yt="squiggly-inline-unnecessary"),j.tags.indexOf(2)!==-1&&(yt="squiggly-inline-deprecated")),{stickiness:1,className:H,showIfCollapsed:!0,overviewRuler:{color:Ce,position:ut.d.Right},minimap:Zt,zIndex:ze,inlineClassName:yt}}},{key:"_hasMarkerTag",value:function(j,H){return j.tags?j.tags.indexOf(H)>=0:!1}}]),L}(un.a);Ta=Ji([la(0,Ue.a),la(1,En.b)],Ta);var io=e("9fML"),to=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},vo=function(V,De){return function(L,P){De(L,P,V)}},go=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;Object(c.a)(this,L),H=De.call(this),H._contextKeyService=P,H._configurationService=j,H._accessibilitySupport=0,H._onDidChangeScreenReaderOptimized=new o.a,H._accessibilityModeEnabledContext=oa.a.bindTo(H._contextKeyService);var Ce=function(){return H._accessibilityModeEnabledContext.set(H.isScreenReaderOptimized())};return H._register(H._configurationService.onDidChangeConfiguration(function(ze){ze.affectsConfiguration("editor.accessibilitySupport")&&(Ce(),H._onDidChangeScreenReaderOptimized.fire())})),Ce(),H.onDidChangeScreenReaderOptimized(function(){return Ce()}),H}return Object(r.a)(L,[{key:"onDidChangeScreenReaderOptimized",get:function(){return this._onDidChangeScreenReaderOptimized.event}},{key:"isScreenReaderOptimized",value:function(){var j=this._configurationService.getValue("editor.accessibilitySupport");return j==="on"||j==="auto"&&this._accessibilitySupport===2}},{key:"getAccessibilitySupport",value:function(){return this._accessibilitySupport}}]),L}(un.a);go=to([vo(0,gi.b),vo(1,$t.a)],go);var Sa=function(V,De,L,P){function j(H){return H instanceof L?H:new L(function(Ce){Ce(H)})}return new(L||(L=Promise))(function(H,Ce){function ze(Wt){try{Zt(P.next(Wt))}catch(yn){Ce(yn)}}function yt(Wt){try{Zt(P.throw(Wt))}catch(yn){Ce(yn)}}function Zt(Wt){Wt.done?H(Wt.value):j(Wt.value).then(ze,yt)}Zt((P=P.apply(V,De||[])).next())})},xo=function(){function V(){Object(c.a)(this,V),this.mapTextToType=new Map,this.findText=""}return Object(r.a)(V,[{key:"writeText",value:function(L,P){return Sa(this,void 0,void 0,Object(Se.a)().mark(function j(){var H,Ce;return Object(Se.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:if(!P){yt.next=3;break}return this.mapTextToType.set(P,L),yt.abrupt("return");case 3:return yt.prev=3,yt.next=6,navigator.clipboard.writeText(L);case 6:return yt.abrupt("return",yt.sent);case 9:yt.prev=9,yt.t0=yt.catch(3),console.error(yt.t0);case 12:return H=document.activeElement,Ce=document.body.appendChild(Object(je.$)("textarea",{"aria-hidden":!0})),Ce.style.height="1px",Ce.style.width="1px",Ce.style.position="absolute",Ce.value=L,Ce.focus(),Ce.select(),document.execCommand("copy"),H instanceof HTMLElement&&H.focus(),document.body.removeChild(Ce),yt.abrupt("return");case 24:case"end":return yt.stop()}},j,this,[[3,9]])}))}},{key:"readText",value:function(L){return Sa(this,void 0,void 0,Object(Se.a)().mark(function P(){return Object(Se.a)().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(!L){H.next=2;break}return H.abrupt("return",this.mapTextToType.get(L)||"");case 2:return H.prev=2,H.next=5,navigator.clipboard.readText();case 5:return H.abrupt("return",H.sent);case 8:return H.prev=8,H.t0=H.catch(2),console.error(H.t0),H.abrupt("return","");case 12:case"end":return H.stop()}},P,this,[[2,8]])}))}},{key:"readFindText",value:function(){return Sa(this,void 0,void 0,Object(Se.a)().mark(function L(){return Object(Se.a)().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.abrupt("return",this.findText);case 1:case"end":return j.stop()}},L,this)}))}},{key:"writeFindText",value:function(L){return Sa(this,void 0,void 0,Object(Se.a)().mark(function P(){return Object(Se.a)().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:this.findText=L;case 1:case"end":return H.stop()}},P,this)}))}}]),V}(),So=e("OAO6"),so=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},To=function(V,De){return function(L,P){De(L,P,V)}},Ho=function(V,De,L,P){function j(H){return H instanceof L?H:new L(function(Ce){Ce(H)})}return new(L||(L=Promise))(function(H,Ce){function ze(Wt){try{Zt(P.next(Wt))}catch(yn){Ce(yn)}}function yt(Wt){try{Zt(P.throw(Wt))}catch(yn){Ce(yn)}}function Zt(Wt){Wt.done?H(Wt.value):j(Wt.value).then(ze,yt)}Zt((P=P.apply(V,De||[])).next())})},uo=!1;function $o(V){return V.scheme===ge.c.file?V.fsPath:V.path}var Us=0,Go=function(){function V(De,L,P,j,H,Ce,ze){Object(c.a)(this,V),this.id=++Us,this.type=0,this.actual=De,this.label=De.label,this.confirmBeforeUndo=De.confirmBeforeUndo||!1,this.resourceLabel=L,this.strResource=P,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=j,this.groupOrder=H,this.sourceId=Ce,this.sourceOrder=ze,this.isValid=!0}return Object(r.a)(V,[{key:"setValid",value:function(L){this.isValid=L}},{key:"toString",value:function(){return"[id:".concat(this.id,"] [group:").concat(this.groupId,"] [").concat(this.isValid?" VALID":"INVALID","] ").concat(this.actual.constructor.name," - ").concat(this.actual)}}]),V}(),Qo=Object(r.a)(function V(De,L){Object(c.a)(this,V),this.resourceLabel=De,this.reason=L}),cs=function(){function V(){Object(c.a)(this,V),this.elements=new Map}return Object(r.a)(V,[{key:"createMessage",value:function(){var L=[],P=[],j=Object(ae.a)(this.elements),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value,ze=Object(ur.a)(Ce,2),yt=ze[1],Zt=yt.reason===0?L:P;Zt.push(yt.resourceLabel)}}catch(yn){j.e(yn)}finally{j.f()}var Wt=[];return L.length>0&&Wt.push(Tr.a({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",L.join(", "))),P.length>0&&Wt.push(Tr.a({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",P.join(", "))),Wt.join(`
- `)}},{key:"size",get:function(){return this.elements.size}},{key:"has",value:function(L){return this.elements.has(L)}},{key:"set",value:function(L,P){this.elements.set(L,P)}},{key:"delete",value:function(L){return this.elements.delete(L)}}]),V}(),Ss=function(){function V(De,L,P,j,H,Ce,ze){Object(c.a)(this,V),this.id=++Us,this.type=1,this.actual=De,this.label=De.label,this.confirmBeforeUndo=De.confirmBeforeUndo||!1,this.resourceLabels=L,this.strResources=P,this.groupId=j,this.groupOrder=H,this.sourceId=Ce,this.sourceOrder=ze,this.removedResources=null,this.invalidatedResources=null}return Object(r.a)(V,[{key:"canSplit",value:function(){return typeof this.actual.split=="function"}},{key:"removeResource",value:function(L,P,j){this.removedResources||(this.removedResources=new cs),this.removedResources.has(P)||this.removedResources.set(P,new Qo(L,j))}},{key:"setValid",value:function(L,P,j){j?this.invalidatedResources&&(this.invalidatedResources.delete(P),this.invalidatedResources.size===0&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new cs),this.invalidatedResources.has(P)||this.invalidatedResources.set(P,new Qo(L,0)))}},{key:"toString",value:function(){return"[id:".concat(this.id,"] [group:").concat(this.groupId,"] [").concat(this.invalidatedResources?"INVALID":" VALID","] ").concat(this.actual.constructor.name," - ").concat(this.actual)}}]),V}(),ps=function(){function V(De,L){Object(c.a)(this,V),this.resourceLabel=De,this.strResource=L,this._past=[],this._future=[],this.locked=!1,this.versionId=1}return Object(r.a)(V,[{key:"dispose",value:function(){var L=Object(ae.a)(this._past),P;try{for(L.s();!(P=L.n()).done;){var j=P.value;j.type===1&&j.removeResource(this.resourceLabel,this.strResource,0)}}catch(yt){L.e(yt)}finally{L.f()}var H=Object(ae.a)(this._future),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value;ze.type===1&&ze.removeResource(this.resourceLabel,this.strResource,0)}}catch(yt){H.e(yt)}finally{H.f()}this.versionId++}},{key:"toString",value:function(){var L=[];L.push("* ".concat(this.strResource,":"));for(var P=0;P<this._past.length;P++)L.push(" * [UNDO] ".concat(this._past[P]));for(var j=this._future.length-1;j>=0;j--)L.push(" * [REDO] ".concat(this._future[j]));return L.join(`
- `)}},{key:"flushAllElements",value:function(){this._past=[],this._future=[],this.versionId++}},{key:"_setElementValidFlag",value:function(L,P){L.type===1?L.setValid(this.resourceLabel,this.strResource,P):L.setValid(P)}},{key:"setElementsValidFlag",value:function(L,P){var j=Object(ae.a)(this._past),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;P(Ce.actual)&&this._setElementValidFlag(Ce,L)}}catch(Wt){j.e(Wt)}finally{j.f()}var ze=Object(ae.a)(this._future),yt;try{for(ze.s();!(yt=ze.n()).done;){var Zt=yt.value;P(Zt.actual)&&this._setElementValidFlag(Zt,L)}}catch(Wt){ze.e(Wt)}finally{ze.f()}}},{key:"pushElement",value:function(L){var P=Object(ae.a)(this._future),j;try{for(P.s();!(j=P.n()).done;){var H=j.value;H.type===1&&H.removeResource(this.resourceLabel,this.strResource,1)}}catch(Ce){P.e(Ce)}finally{P.f()}this._future=[],this._past.push(L),this.versionId++}},{key:"createSnapshot",value:function(L){for(var P=[],j=0,H=this._past.length;j<H;j++)P.push(this._past[j].id);for(var Ce=this._future.length-1;Ce>=0;Ce--)P.push(this._future[Ce].id);return new So.b(L,P)}},{key:"restoreSnapshot",value:function(L){for(var P=L.elements.length,j=!0,H=0,Ce=-1,ze=0,yt=this._past.length;ze<yt;ze++,H++){var Zt=this._past[ze];j&&(H>=P||Zt.id!==L.elements[H])&&(j=!1,Ce=0),!j&&Zt.type===1&&Zt.removeResource(this.resourceLabel,this.strResource,0)}for(var Wt=-1,yn=this._future.length-1;yn>=0;yn--,H++){var tr=this._future[yn];j&&(H>=P||tr.id!==L.elements[H])&&(j=!1,Wt=yn),!j&&tr.type===1&&tr.removeResource(this.resourceLabel,this.strResource,0)}Ce!==-1&&(this._past=this._past.slice(0,Ce)),Wt!==-1&&(this._future=this._future.slice(Wt+1)),this.versionId++}},{key:"getElements",value:function(){var L=[],P=[],j=Object(ae.a)(this._past),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;L.push(Ce.actual)}}catch(Wt){j.e(Wt)}finally{j.f()}var ze=Object(ae.a)(this._future),yt;try{for(ze.s();!(yt=ze.n()).done;){var Zt=yt.value;P.push(Zt.actual)}}catch(Wt){ze.e(Wt)}finally{ze.f()}return{past:L,future:P}}},{key:"getClosestPastElement",value:function(){return this._past.length===0?null:this._past[this._past.length-1]}},{key:"getSecondClosestPastElement",value:function(){return this._past.length<2?null:this._past[this._past.length-2]}},{key:"getClosestFutureElement",value:function(){return this._future.length===0?null:this._future[this._future.length-1]}},{key:"hasPastElements",value:function(){return this._past.length>0}},{key:"hasFutureElements",value:function(){return this._future.length>0}},{key:"splitPastWorkspaceElement",value:function(L,P){for(var j=this._past.length-1;j>=0;j--)if(this._past[j]===L){P.has(this.strResource)?this._past[j]=P.get(this.strResource):this._past.splice(j,1);break}this.versionId++}},{key:"splitFutureWorkspaceElement",value:function(L,P){for(var j=this._future.length-1;j>=0;j--)if(this._future[j]===L){P.has(this.strResource)?this._future[j]=P.get(this.strResource):this._future.splice(j,1);break}this.versionId++}},{key:"moveBackward",value:function(L){this._past.pop(),this._future.push(L),this.versionId++}},{key:"moveForward",value:function(L){this._future.pop(),this._past.push(L),this.versionId++}}]),V}(),Ks=function(){function V(De){Object(c.a)(this,V),this.editStacks=De,this._versionIds=[];for(var L=0,P=this.editStacks.length;L<P;L++)this._versionIds[L]=this.editStacks[L].versionId}return Object(r.a)(V,[{key:"isValid",value:function(){for(var L=0,P=this.editStacks.length;L<P;L++)if(this._versionIds[L]!==this.editStacks[L].versionId)return!1;return!0}}]),V}(),Gs=new ps("","");Gs.locked=!0;var Ms=function(){function V(De,L){Object(c.a)(this,V),this._dialogService=De,this._notificationService=L,this._editStacks=new Map,this._uriComparisonKeyComputers=[]}return Object(r.a)(V,[{key:"getUriComparisonKey",value:function(L){var P=Object(ae.a)(this._uriComparisonKeyComputers),j;try{for(P.s();!(j=P.n()).done;){var H=j.value;if(H[0]===L.scheme)return H[1].getComparisonKey(L)}}catch(Ce){P.e(Ce)}finally{P.f()}return L.toString()}},{key:"_print",value:function(L){console.log("------------------------------------"),console.log("AFTER ".concat(L,": "));var P=[],j=Object(ae.a)(this._editStacks),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;P.push(Ce[1].toString())}}catch(ze){j.e(ze)}finally{j.f()}console.log(P.join(`
- `))}},{key:"pushElement",value:function(L){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:So.c.None,j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:So.d.None;if(L.type===0){var H=$o(L.resource),Ce=this.getUriComparisonKey(L.resource);this._pushElement(new Go(L,H,Ce,P.id,P.nextOrder(),j.id,j.nextOrder()))}else{var ze=new Set,yt=[],Zt=[],Wt=Object(ae.a)(L.resources),yn;try{for(Wt.s();!(yn=Wt.n()).done;){var tr=yn.value,Er=$o(tr),ni=this.getUriComparisonKey(tr);ze.has(ni)||(ze.add(ni),yt.push(Er),Zt.push(ni))}}catch(Oi){Wt.e(Oi)}finally{Wt.f()}yt.length===1?this._pushElement(new Go(L,yt[0],Zt[0],P.id,P.nextOrder(),j.id,j.nextOrder())):this._pushElement(new Ss(L,yt,Zt,P.id,P.nextOrder(),j.id,j.nextOrder()))}uo&&this._print("pushElement")}},{key:"_pushElement",value:function(L){for(var P=0,j=L.strResources.length;P<j;P++){var H=L.resourceLabels[P],Ce=L.strResources[P],ze=void 0;this._editStacks.has(Ce)?ze=this._editStacks.get(Ce):(ze=new ps(H,Ce),this._editStacks.set(Ce,ze)),ze.pushElement(L)}}},{key:"getLastElement",value:function(L){var P=this.getUriComparisonKey(L);if(this._editStacks.has(P)){var j=this._editStacks.get(P);if(j.hasFutureElements())return null;var H=j.getClosestPastElement();return H?H.actual:null}return null}},{key:"_splitPastWorkspaceElement",value:function(L,P){var j=L.actual.split(),H=new Map,Ce=Object(ae.a)(j),ze;try{for(Ce.s();!(ze=Ce.n()).done;){var yt=ze.value,Zt=$o(yt.resource),Wt=this.getUriComparisonKey(yt.resource),yn=new Go(yt,Zt,Wt,0,0,0,0);H.set(yn.strResource,yn)}}catch(oi){Ce.e(oi)}finally{Ce.f()}var tr=Object(ae.a)(L.strResources),Er;try{for(tr.s();!(Er=tr.n()).done;){var ni=Er.value;if(!(P&&P.has(ni))){var Oi=this._editStacks.get(ni);Oi.splitPastWorkspaceElement(L,H)}}}catch(oi){tr.e(oi)}finally{tr.f()}}},{key:"_splitFutureWorkspaceElement",value:function(L,P){var j=L.actual.split(),H=new Map,Ce=Object(ae.a)(j),ze;try{for(Ce.s();!(ze=Ce.n()).done;){var yt=ze.value,Zt=$o(yt.resource),Wt=this.getUriComparisonKey(yt.resource),yn=new Go(yt,Zt,Wt,0,0,0,0);H.set(yn.strResource,yn)}}catch(oi){Ce.e(oi)}finally{Ce.f()}var tr=Object(ae.a)(L.strResources),Er;try{for(tr.s();!(Er=tr.n()).done;){var ni=Er.value;if(!(P&&P.has(ni))){var Oi=this._editStacks.get(ni);Oi.splitFutureWorkspaceElement(L,H)}}}catch(oi){tr.e(oi)}finally{tr.f()}}},{key:"removeElements",value:function(L){var P=typeof L=="string"?L:this.getUriComparisonKey(L);if(this._editStacks.has(P)){var j=this._editStacks.get(P);j.dispose(),this._editStacks.delete(P)}uo&&this._print("removeElements")}},{key:"setElementsValidFlag",value:function(L,P,j){var H=this.getUriComparisonKey(L);if(this._editStacks.has(H)){var Ce=this._editStacks.get(H);Ce.setElementsValidFlag(P,j)}uo&&this._print("setElementsValidFlag")}},{key:"createSnapshot",value:function(L){var P=this.getUriComparisonKey(L);if(this._editStacks.has(P)){var j=this._editStacks.get(P);return j.createSnapshot(L)}return new So.b(L,[])}},{key:"restoreSnapshot",value:function(L){var P=this.getUriComparisonKey(L.resource);if(this._editStacks.has(P)){var j=this._editStacks.get(P);j.restoreSnapshot(L),!j.hasPastElements()&&!j.hasFutureElements()&&(j.dispose(),this._editStacks.delete(P))}uo&&this._print("restoreSnapshot")}},{key:"getElements",value:function(L){var P=this.getUriComparisonKey(L);if(this._editStacks.has(P)){var j=this._editStacks.get(P);return j.getElements()}return{past:[],future:[]}}},{key:"_findClosestUndoElementWithSource",value:function(L){if(!L)return[null,null];var P=null,j=null,H=Object(ae.a)(this._editStacks),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value,yt=Object(ur.a)(ze,2),Zt=yt[0],Wt=yt[1],yn=Wt.getClosestPastElement();!yn||yn.sourceId===L&&(!P||yn.sourceOrder>P.sourceOrder)&&(P=yn,j=Zt)}}catch(tr){H.e(tr)}finally{H.f()}return[P,j]}},{key:"canUndo",value:function(L){if(L instanceof So.d){var P=this._findClosestUndoElementWithSource(L.id),j=Object(ur.a)(P,2),H=j[1];return!!H}var Ce=this.getUriComparisonKey(L);if(this._editStacks.has(Ce)){var ze=this._editStacks.get(Ce);return ze.hasPastElements()}return!1}},{key:"_onError",value:function(L,P){Object(Ht.e)(L);var j=Object(ae.a)(P.strResources),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;this.removeElements(Ce)}}catch(ze){j.e(ze)}finally{j.f()}this._notificationService.error(L)}},{key:"_acquireLocks",value:function(L){var P=Object(ae.a)(L.editStacks),j;try{for(P.s();!(j=P.n()).done;){var H=j.value;if(H.locked)throw new Error("Cannot acquire edit stack lock")}}catch(Zt){P.e(Zt)}finally{P.f()}var Ce=Object(ae.a)(L.editStacks),ze;try{for(Ce.s();!(ze=Ce.n()).done;){var yt=ze.value;yt.locked=!0}}catch(Zt){Ce.e(Zt)}finally{Ce.f()}return function(){var Zt=Object(ae.a)(L.editStacks),Wt;try{for(Zt.s();!(Wt=Zt.n()).done;){var yn=Wt.value;yn.locked=!1}}catch(tr){Zt.e(tr)}finally{Zt.f()}}}},{key:"_safeInvokeWithLocks",value:function(L,P,j,H,Ce){var ze=this,yt=this._acquireLocks(j),Zt;try{Zt=P()}catch(Wt){return yt(),H.dispose(),this._onError(Wt,L)}return Zt?Zt.then(function(){return yt(),H.dispose(),Ce()},function(Wt){return yt(),H.dispose(),ze._onError(Wt,L)}):(yt(),H.dispose(),Ce())}},{key:"_invokeWorkspacePrepare",value:function(L){return Ho(this,void 0,void 0,Object(Se.a)().mark(function P(){var j;return Object(Se.a)().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(typeof L.actual.prepareUndoRedo!="undefined"){Ce.next=2;break}return Ce.abrupt("return",un.a.None);case 2:if(j=L.actual.prepareUndoRedo(),typeof j!="undefined"){Ce.next=5;break}return Ce.abrupt("return",un.a.None);case 5:return Ce.abrupt("return",j);case 6:case"end":return Ce.stop()}},P)}))}},{key:"_invokeResourcePrepare",value:function(L,P){if(L.actual.type!==1||typeof L.actual.prepareUndoRedo=="undefined")return P(un.a.None);var j=L.actual.prepareUndoRedo();return j?Object(un.g)(j)?P(j):j.then(function(H){return P(H)}):P(un.a.None)}},{key:"_getAffectedEditStacks",value:function(L){var P=[],j=Object(ae.a)(L.strResources),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;P.push(this._editStacks.get(Ce)||Gs)}}catch(ze){j.e(ze)}finally{j.f()}return new Ks(P)}},{key:"_tryToSplitAndUndo",value:function(L,P,j,H){if(P.canSplit())return this._splitPastWorkspaceElement(P,j),this._notificationService.warn(H),new Zs(this._undo(L,0,!0));var Ce=Object(ae.a)(P.strResources),ze;try{for(Ce.s();!(ze=Ce.n()).done;){var yt=ze.value;this.removeElements(yt)}}catch(Zt){Ce.e(Zt)}finally{Ce.f()}return this._notificationService.warn(H),new Zs}},{key:"_checkWorkspaceUndo",value:function(L,P,j,H){if(P.removedResources)return this._tryToSplitAndUndo(L,P,P.removedResources,Tr.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",P.label,P.removedResources.createMessage()));if(H&&P.invalidatedResources)return this._tryToSplitAndUndo(L,P,P.invalidatedResources,Tr.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",P.label,P.invalidatedResources.createMessage()));var Ce=[],ze=Object(ae.a)(j.editStacks),yt;try{for(ze.s();!(yt=ze.n()).done;){var Zt=yt.value;Zt.getClosestPastElement()!==P&&Ce.push(Zt.resourceLabel)}}catch(ni){ze.e(ni)}finally{ze.f()}if(Ce.length>0)return this._tryToSplitAndUndo(L,P,null,Tr.a({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",P.label,Ce.join(", ")));var Wt=[],yn=Object(ae.a)(j.editStacks),tr;try{for(yn.s();!(tr=yn.n()).done;){var Er=tr.value;Er.locked&&Wt.push(Er.resourceLabel)}}catch(ni){yn.e(ni)}finally{yn.f()}return Wt.length>0?this._tryToSplitAndUndo(L,P,null,Tr.a({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",P.label,Wt.join(", "))):j.isValid()?null:this._tryToSplitAndUndo(L,P,null,Tr.a({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",P.label))}},{key:"_workspaceUndo",value:function(L,P,j){var H=this._getAffectedEditStacks(P),Ce=this._checkWorkspaceUndo(L,P,H,!1);return Ce?Ce.returnValue:this._confirmAndExecuteWorkspaceUndo(L,P,H,j)}},{key:"_isPartOfUndoGroup",value:function(L){if(!L.groupId)return!1;var P=Object(ae.a)(this._editStacks),j;try{for(P.s();!(j=P.n()).done;){var H=j.value,Ce=Object(ur.a)(H,2),ze=Ce[1],yt=ze.getClosestPastElement();if(!!yt){if(yt===L){var Zt=ze.getSecondClosestPastElement();if(Zt&&Zt.groupId===L.groupId)return!0}if(yt.groupId===L.groupId)return!0}}}catch(Wt){P.e(Wt)}finally{P.f()}return!1}},{key:"_confirmAndExecuteWorkspaceUndo",value:function(L,P,j,H){return Ho(this,void 0,void 0,Object(Se.a)().mark(function Ce(){var ze=this,yt,Zt,Wt,yn,tr,Er,ni;return Object(Se.a)().wrap(function(oi){for(;;)switch(oi.prev=oi.next){case 0:if(!(P.canSplit()&&!this._isPartOfUndoGroup(P))){oi.next=13;break}return oi.next=3,this._dialogService.show(J.a.Info,Tr.a("confirmWorkspace","Would you like to undo '{0}' across all files?",P.label),[Tr.a({key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",j.editStacks.length),Tr.a("nok","Undo this File"),Tr.a("cancel","Cancel")],{cancelId:2});case 3:if(yt=oi.sent,yt.choice!==2){oi.next=6;break}return oi.abrupt("return");case 6:if(yt.choice!==1){oi.next=9;break}return this._splitPastWorkspaceElement(P,null),oi.abrupt("return",this._undo(L,0,!0));case 9:if(Zt=this._checkWorkspaceUndo(L,P,j,!1),!Zt){oi.next=12;break}return oi.abrupt("return",Zt.returnValue);case 12:H=!0;case 13:return oi.prev=13,oi.next=16,this._invokeWorkspacePrepare(P);case 16:Wt=oi.sent,oi.next=22;break;case 19:return oi.prev=19,oi.t0=oi.catch(13),oi.abrupt("return",this._onError(oi.t0,P));case 22:if(yn=this._checkWorkspaceUndo(L,P,j,!0),!yn){oi.next=26;break}return Wt.dispose(),oi.abrupt("return",yn.returnValue);case 26:tr=Object(ae.a)(j.editStacks);try{for(tr.s();!(Er=tr.n()).done;)ni=Er.value,ni.moveBackward(P)}catch(ui){tr.e(ui)}finally{tr.f()}return oi.abrupt("return",this._safeInvokeWithLocks(P,function(){return P.actual.undo()},j,Wt,function(){return ze._continueUndoInGroup(P.groupId,H)}));case 29:case"end":return oi.stop()}},Ce,this,[[13,19]])}))}},{key:"_resourceUndo",value:function(L,P,j){var H=this;if(!P.isValid){L.flushAllElements();return}if(L.locked){var Ce=Tr.a({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",P.label);this._notificationService.warn(Ce);return}return this._invokeResourcePrepare(P,function(ze){return L.moveBackward(P),H._safeInvokeWithLocks(P,function(){return P.actual.undo()},new Ks([L]),ze,function(){return H._continueUndoInGroup(P.groupId,j)})})}},{key:"_findClosestUndoElementInGroup",value:function(L){if(!L)return[null,null];var P=null,j=null,H=Object(ae.a)(this._editStacks),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value,yt=Object(ur.a)(ze,2),Zt=yt[0],Wt=yt[1],yn=Wt.getClosestPastElement();!yn||yn.groupId===L&&(!P||yn.groupOrder>P.groupOrder)&&(P=yn,j=Zt)}}catch(tr){H.e(tr)}finally{H.f()}return[P,j]}},{key:"_continueUndoInGroup",value:function(L,P){if(!!L){var j=this._findClosestUndoElementInGroup(L),H=Object(ur.a)(j,2),Ce=H[1];if(Ce)return this._undo(Ce,0,P)}}},{key:"undo",value:function(L){if(L instanceof So.d){var P=this._findClosestUndoElementWithSource(L.id),j=Object(ur.a)(P,2),H=j[1];return H?this._undo(H,L.id,!1):void 0}return typeof L=="string"?this._undo(L,0,!1):this._undo(this.getUriComparisonKey(L),0,!1)}},{key:"_undo",value:function(L){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,j=arguments.length>2?arguments[2]:void 0;if(!!this._editStacks.has(L)){var H=this._editStacks.get(L),Ce=H.getClosestPastElement();if(!!Ce){if(Ce.groupId){var ze=this._findClosestUndoElementInGroup(Ce.groupId),yt=Object(ur.a)(ze,2),Zt=yt[0],Wt=yt[1];if(Ce!==Zt&&Wt)return this._undo(Wt,P,j)}var yn=Ce.sourceId!==P||Ce.confirmBeforeUndo;if(yn&&!j)return this._confirmAndContinueUndo(L,P,Ce);try{return Ce.type===1?this._workspaceUndo(L,Ce,j):this._resourceUndo(H,Ce,j)}finally{uo&&this._print("undo")}}}}},{key:"_confirmAndContinueUndo",value:function(L,P,j){return Ho(this,void 0,void 0,Object(Se.a)().mark(function H(){var Ce;return Object(Se.a)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.next=2,this._dialogService.show(J.a.Info,Tr.a("confirmDifferentSource","Would you like to undo '{0}'?",j.label),[Tr.a("confirmDifferentSource.ok","Undo"),Tr.a("cancel","Cancel")],{cancelId:1});case 2:if(Ce=yt.sent,Ce.choice!==1){yt.next=5;break}return yt.abrupt("return");case 5:return yt.abrupt("return",this._undo(L,P,!0));case 6:case"end":return yt.stop()}},H,this)}))}},{key:"_findClosestRedoElementWithSource",value:function(L){if(!L)return[null,null];var P=null,j=null,H=Object(ae.a)(this._editStacks),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value,yt=Object(ur.a)(ze,2),Zt=yt[0],Wt=yt[1],yn=Wt.getClosestFutureElement();!yn||yn.sourceId===L&&(!P||yn.sourceOrder<P.sourceOrder)&&(P=yn,j=Zt)}}catch(tr){H.e(tr)}finally{H.f()}return[P,j]}},{key:"canRedo",value:function(L){if(L instanceof So.d){var P=this._findClosestRedoElementWithSource(L.id),j=Object(ur.a)(P,2),H=j[1];return!!H}var Ce=this.getUriComparisonKey(L);if(this._editStacks.has(Ce)){var ze=this._editStacks.get(Ce);return ze.hasFutureElements()}return!1}},{key:"_tryToSplitAndRedo",value:function(L,P,j,H){if(P.canSplit())return this._splitFutureWorkspaceElement(P,j),this._notificationService.warn(H),new Zs(this._redo(L));var Ce=Object(ae.a)(P.strResources),ze;try{for(Ce.s();!(ze=Ce.n()).done;){var yt=ze.value;this.removeElements(yt)}}catch(Zt){Ce.e(Zt)}finally{Ce.f()}return this._notificationService.warn(H),new Zs}},{key:"_checkWorkspaceRedo",value:function(L,P,j,H){if(P.removedResources)return this._tryToSplitAndRedo(L,P,P.removedResources,Tr.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",P.label,P.removedResources.createMessage()));if(H&&P.invalidatedResources)return this._tryToSplitAndRedo(L,P,P.invalidatedResources,Tr.a({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",P.label,P.invalidatedResources.createMessage()));var Ce=[],ze=Object(ae.a)(j.editStacks),yt;try{for(ze.s();!(yt=ze.n()).done;){var Zt=yt.value;Zt.getClosestFutureElement()!==P&&Ce.push(Zt.resourceLabel)}}catch(ni){ze.e(ni)}finally{ze.f()}if(Ce.length>0)return this._tryToSplitAndRedo(L,P,null,Tr.a({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",P.label,Ce.join(", ")));var Wt=[],yn=Object(ae.a)(j.editStacks),tr;try{for(yn.s();!(tr=yn.n()).done;){var Er=tr.value;Er.locked&&Wt.push(Er.resourceLabel)}}catch(ni){yn.e(ni)}finally{yn.f()}return Wt.length>0?this._tryToSplitAndRedo(L,P,null,Tr.a({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",P.label,Wt.join(", "))):j.isValid()?null:this._tryToSplitAndRedo(L,P,null,Tr.a({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",P.label))}},{key:"_workspaceRedo",value:function(L,P){var j=this._getAffectedEditStacks(P),H=this._checkWorkspaceRedo(L,P,j,!1);return H?H.returnValue:this._executeWorkspaceRedo(L,P,j)}},{key:"_executeWorkspaceRedo",value:function(L,P,j){return Ho(this,void 0,void 0,Object(Se.a)().mark(function H(){var Ce=this,ze,yt,Zt,Wt,yn;return Object(Se.a)().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:return Er.prev=0,Er.next=3,this._invokeWorkspacePrepare(P);case 3:ze=Er.sent,Er.next=9;break;case 6:return Er.prev=6,Er.t0=Er.catch(0),Er.abrupt("return",this._onError(Er.t0,P));case 9:if(yt=this._checkWorkspaceRedo(L,P,j,!0),!yt){Er.next=13;break}return ze.dispose(),Er.abrupt("return",yt.returnValue);case 13:Zt=Object(ae.a)(j.editStacks);try{for(Zt.s();!(Wt=Zt.n()).done;)yn=Wt.value,yn.moveForward(P)}catch(ni){Zt.e(ni)}finally{Zt.f()}return Er.abrupt("return",this._safeInvokeWithLocks(P,function(){return P.actual.redo()},j,ze,function(){return Ce._continueRedoInGroup(P.groupId)}));case 16:case"end":return Er.stop()}},H,this,[[0,6]])}))}},{key:"_resourceRedo",value:function(L,P){var j=this;if(!P.isValid){L.flushAllElements();return}if(L.locked){var H=Tr.a({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",P.label);this._notificationService.warn(H);return}return this._invokeResourcePrepare(P,function(Ce){return L.moveForward(P),j._safeInvokeWithLocks(P,function(){return P.actual.redo()},new Ks([L]),Ce,function(){return j._continueRedoInGroup(P.groupId)})})}},{key:"_findClosestRedoElementInGroup",value:function(L){if(!L)return[null,null];var P=null,j=null,H=Object(ae.a)(this._editStacks),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value,yt=Object(ur.a)(ze,2),Zt=yt[0],Wt=yt[1],yn=Wt.getClosestFutureElement();!yn||yn.groupId===L&&(!P||yn.groupOrder<P.groupOrder)&&(P=yn,j=Zt)}}catch(tr){H.e(tr)}finally{H.f()}return[P,j]}},{key:"_continueRedoInGroup",value:function(L){if(!!L){var P=this._findClosestRedoElementInGroup(L),j=Object(ur.a)(P,2),H=j[1];if(H)return this._redo(H)}}},{key:"redo",value:function(L){if(L instanceof So.d){var P=this._findClosestRedoElementWithSource(L.id),j=Object(ur.a)(P,2),H=j[1];return H?this._redo(H):void 0}return typeof L=="string"?this._redo(L):this._redo(this.getUriComparisonKey(L))}},{key:"_redo",value:function(L){if(!!this._editStacks.has(L)){var P=this._editStacks.get(L),j=P.getClosestFutureElement();if(!!j){if(j.groupId){var H=this._findClosestRedoElementInGroup(j.groupId),Ce=Object(ur.a)(H,2),ze=Ce[0],yt=Ce[1];if(j!==ze&&yt)return this._redo(yt)}try{return j.type===1?this._workspaceRedo(L,j):this._resourceRedo(P,j)}finally{uo&&this._print("redo")}}}}}]),V}();Ms=so([To(0,ot.a),To(1,vi.a)],Ms);var Zs=Object(r.a)(function V(De){Object(c.a)(this,V),this.returnValue=De});Object(io.b)(So.a,Ms);var Sl=e("Z1pP"),bo=e("sswD"),ol=e("CDaH"),Js=e("zdb4"),su=new sn.b(function(){var V=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:V,collatorIsNumeric:V.resolvedOptions().numeric}});function As(V,De){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,P=V||"",j=De||"",H=su.value.collator.compare(P,j);return su.value.collatorIsNumeric&&H===0&&P!==j?P<j?-1:1:H}function qs(V,De,L){var P=V.toLowerCase(),j=De.toLowerCase(),H=jl(V,De,L);if(H)return H;var Ce=P.endsWith(L),ze=j.endsWith(L);if(Ce!==ze)return Ce?-1:1;var yt=As(P,j);return yt!==0?yt:P.localeCompare(j)}function jl(V,De,L){var P=V.toLowerCase(),j=De.toLowerCase(),H=P.startsWith(L),Ce=j.startsWith(L);if(H!==Ce)return H?-1:1;if(H&&Ce){if(P.length<j.length)return-1;if(P.length>j.length)return 1}return 0}var Ml=e("xONI"),Hs=e("7lZ/"),Nl=e("ZCR3"),eu=e("nD70"),Zu={},Tu=new eu.a("quick-input-button-icon-");function Ju(V){if(!!V){var De,L=V.dark.toString();return Zu[L]?De=Zu[L]:(De=Tu.nextId(),je.createCSSRule(".".concat(De),"background-image: ".concat(je.asCSSUrl(V.light||V.dark))),je.createCSSRule(".vs-dark .".concat(De,", .hc-black .").concat(De),"background-image: ".concat(je.asCSSUrl(V.dark))),Zu[L]=De),De}}var Iu=e("q/I2"),Ru=je.$,yu=function(){function V(De,L,P){Object(c.a)(this,V),this.os=L,this.keyElements=new Set,this.options=P||Object.create(null),this.labelBackground=this.options.keybindingLabelBackground,this.labelForeground=this.options.keybindingLabelForeground,this.labelBorder=this.options.keybindingLabelBorder,this.labelBottomBorder=this.options.keybindingLabelBottomBorder,this.labelShadow=this.options.keybindingLabelShadow,this.domNode=je.append(De,Ru(".monaco-keybinding")),this.didEverRender=!1,De.appendChild(this.domNode)}return Object(r.a)(V,[{key:"element",get:function(){return this.domNode}},{key:"set",value:function(L,P){this.didEverRender&&this.keybinding===L&&V.areSame(this.matches,P)||(this.keybinding=L,this.matches=P,this.render())}},{key:"render",value:function(){if(this.clear(),this.keybinding){var L=this.keybinding.getParts(),P=Object(ur.a)(L,2),j=P[0],H=P[1];j&&this.renderPart(this.domNode,j,this.matches?this.matches.firstPart:null),H&&(je.append(this.domNode,Ru("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,H,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.applyStyles(),this.didEverRender=!0}},{key:"clear",value:function(){je.clearNode(this.domNode),this.keyElements.clear()}},{key:"renderPart",value:function(L,P,j){var H=Pr.b.modifierLabels[this.os];P.ctrlKey&&this.renderKey(L,H.ctrlKey,Boolean(j==null?void 0:j.ctrlKey),H.separator),P.shiftKey&&this.renderKey(L,H.shiftKey,Boolean(j==null?void 0:j.shiftKey),H.separator),P.altKey&&this.renderKey(L,H.altKey,Boolean(j==null?void 0:j.altKey),H.separator),P.metaKey&&this.renderKey(L,H.metaKey,Boolean(j==null?void 0:j.metaKey),H.separator);var Ce=P.keyLabel;Ce&&this.renderKey(L,Ce,Boolean(j==null?void 0:j.keyCode),"")}},{key:"renderKey",value:function(L,P,j,H){je.append(L,this.createKeyElement(P,j?".highlight":"")),H&&je.append(L,Ru("span.monaco-keybinding-key-separator",void 0,H))}},{key:"renderUnbound",value:function(L){je.append(L,this.createKeyElement(Object(Tr.a)("unbound","Unbound")))}},{key:"createKeyElement",value:function(L){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",j=Ru("span.monaco-keybinding-key"+P,void 0,L);return this.keyElements.add(j),j}},{key:"style",value:function(L){this.labelBackground=L.keybindingLabelBackground,this.labelForeground=L.keybindingLabelForeground,this.labelBorder=L.keybindingLabelBorder,this.labelBottomBorder=L.keybindingLabelBottomBorder,this.labelShadow=L.keybindingLabelShadow,this.applyStyles()}},{key:"applyStyles",value:function(){var L;if(this.element){var P=Object(ae.a)(this.keyElements),j;try{for(P.s();!(j=P.n()).done;){var H=j.value;this.labelBackground&&(H.style.backgroundColor=(L=this.labelBackground)===null||L===void 0?void 0:L.toString()),this.labelBorder&&(H.style.borderColor=this.labelBorder.toString()),this.labelBottomBorder&&(H.style.borderBottomColor=this.labelBottomBorder.toString()),this.labelShadow&&(H.style.boxShadow="inset 0 -1px 0 ".concat(this.labelShadow))}}catch(Ce){P.e(Ce)}finally{P.f()}this.labelForeground&&(this.element.style.color=this.labelForeground.toString())}}}],[{key:"areSame",value:function(L,P){return L===P||!L&&!P?!0:!!L&&!!P&&Object(Gt.d)(L.firstPart,P.firstPart)&&Object(Gt.d)(L.chordPart,P.chordPart)}}]),V}(),bu=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},Hl=function(V,De,L,P){function j(H){return H instanceof L?H:new L(function(Ce){Ce(H)})}return new(L||(L=Promise))(function(H,Ce){function ze(Wt){try{Zt(P.next(Wt))}catch(yn){Ce(yn)}}function yt(Wt){try{Zt(P.throw(Wt))}catch(yn){Ce(yn)}}function Zt(Wt){Wt.done?H(Wt.value):j(Wt.value).then(ze,yt)}Zt((P=P.apply(V,De||[])).next())})},el=je.$,lu=function(){function V(De){Object(c.a)(this,V),this.hidden=!1,this._onChecked=new o.a,this.onChecked=this._onChecked.event,Object.assign(this,De)}return Object(r.a)(V,[{key:"checked",get:function(){return!!this._checked},set:function(L){L!==this._checked&&(this._checked=L,this._onChecked.fire(L))}},{key:"dispose",value:function(){this._onChecked.dispose()}}]),V}(),al=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,[{key:"templateId",get:function(){return V.ID}},{key:"renderTemplate",value:function(L){var P=Object.create(null);P.toDisposeElement=[],P.toDisposeTemplate=[],P.entry=je.append(L,el(".quick-input-list-entry"));var j=je.append(P.entry,el("label.quick-input-list-label"));P.toDisposeTemplate.push(je.addStandardDisposableListener(j,je.EventType.CLICK,function(Wt){P.checkbox.offsetParent||Wt.preventDefault()})),P.checkbox=je.append(j,el("input.quick-input-list-checkbox")),P.checkbox.type="checkbox",P.toDisposeTemplate.push(je.addStandardDisposableListener(P.checkbox,je.EventType.CHANGE,function(Wt){P.element.checked=P.checkbox.checked}));var H=je.append(j,el(".quick-input-list-rows")),Ce=je.append(H,el(".quick-input-list-row")),ze=je.append(H,el(".quick-input-list-row"));P.label=new Ml.a(Ce,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0});var yt=je.append(Ce,el(".quick-input-list-entry-keybinding"));P.keybinding=new yu(yt,jn.a);var Zt=je.append(ze,el(".quick-input-list-label-meta"));return P.detail=new Hs.a(Zt,!0),P.separator=je.append(P.entry,el(".quick-input-list-separator")),P.actionBar=new Uo.a(P.entry),P.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),P.toDisposeTemplate.push(P.actionBar),P}},{key:"renderElement",value:function(L,P,j){var H=this;j.toDisposeElement=Object(un.f)(j.toDisposeElement),j.element=L,j.checkbox.checked=L.checked,j.toDisposeElement.push(L.onChecked(function(yn){return j.checkbox.checked=yn}));var Ce=L.labelHighlights,ze=L.descriptionHighlights,yt=L.detailHighlights,Zt=Object.create(null);Zt.matches=Ce||[],Zt.descriptionTitle=L.saneDescription,Zt.descriptionMatches=ze||[],Zt.extraClasses=L.item.iconClasses,Zt.italic=L.item.italic,Zt.strikethrough=L.item.strikethrough,j.label.setLabel(L.saneLabel,L.saneDescription,Zt),j.keybinding.set(L.item.keybinding),j.detail.set(L.saneDetail,yt),L.separator&&L.separator.label?(j.separator.textContent=L.separator.label,j.separator.style.display=""):j.separator.style.display="none",j.entry.classList.toggle("quick-input-list-separator-border",!!L.separator),j.actionBar.clear();var Wt=L.item.buttons;Wt&&Wt.length?(j.actionBar.push(Wt.map(function(yn,tr){var Er=yn.iconClass||(yn.iconPath?Ju(yn.iconPath):void 0);yn.alwaysVisible&&(Er=Er?"".concat(Er," always-visible"):"always-visible");var ni=new ho.a("id-".concat(tr),"",Er,!0,function(){return Hl(H,void 0,void 0,Object(Se.a)().mark(function Oi(){return Object(Se.a)().wrap(function(ui){for(;;)switch(ui.prev=ui.next){case 0:L.fireButtonTriggered({button:yn,item:L.item});case 1:case"end":return ui.stop()}},Oi)}))});return ni.tooltip=yn.tooltip||"",ni}),{icon:!0,label:!1}),j.entry.classList.add("has-actions")):j.entry.classList.remove("has-actions")}},{key:"disposeElement",value:function(L,P,j){j.toDisposeElement=Object(un.f)(j.toDisposeElement)}},{key:"disposeTemplate",value:function(L){L.toDisposeElement=Object(un.f)(L.toDisposeElement),L.toDisposeTemplate=Object(un.f)(L.toDisposeTemplate)}}]),V}();al.ID="listelement";var ku=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,[{key:"getHeight",value:function(L){return L.saneDetail?44:22}},{key:"getTemplateId",value:function(L){return al.ID}}]),V}(),js;(function(V){V[V.First=1]="First",V[V.Second=2]="Second",V[V.Last=3]="Last",V[V.Next=4]="Next",V[V.Previous=5]="Previous",V[V.NextPage=6]="NextPage",V[V.PreviousPage=7]="PreviousPage"})(js||(js={}));var qu=function(){function V(De,L,P){var j=this;Object(c.a)(this,V),this.parent=De,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new o.a,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new o.a,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new o.a,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new o.a,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new o.a,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new o.a,this.onKeyDown=this._onKeyDown.event,this._onLeave=new o.a,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=L,this.container=je.append(this.parent,el(".quick-input-list"));var H=new ku,Ce=new fc;this.list=P.createList("QuickInput",this.container,H,[new al],{identityProvider:{getId:function(yt){return yt.saneLabel}},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:Ce}),this.list.getHTMLElement().id=L,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(function(ze){var yt=new Le.a(ze);switch(yt.keyCode){case 10:j.toggleCheckbox();break;case 31:(jn.f?ze.metaKey:ze.ctrlKey)&&j.list.setFocus(Object(Pe.q)(j.list.length));break;case 16:var Zt=j.list.getFocus();Zt.length===1&&Zt[0]===0&&j._onLeave.fire();break;case 18:var Wt=j.list.getFocus();Wt.length===1&&Wt[0]===j.list.length-1&&j._onLeave.fire();break}j._onKeyDown.fire(yt)})),this.disposables.push(this.list.onMouseDown(function(ze){ze.browserEvent.button!==2&&ze.browserEvent.preventDefault()})),this.disposables.push(je.addDisposableListener(this.container,je.EventType.CLICK,function(ze){(ze.x||ze.y)&&j._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(function(ze){j._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(function(ze){typeof ze.index=="number"&&(ze.browserEvent.preventDefault(),j.list.setSelection([ze.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}return Object(r.a)(V,[{key:"onDidChangeFocus",get:function(){return o.b.map(this.list.onDidChangeFocus,function(L){return L.elements.map(function(P){return P.item})})}},{key:"onDidChangeSelection",get:function(){return o.b.map(this.list.onDidChangeSelection,function(L){return{items:L.elements.map(function(P){return P.item}),event:L.browserEvent}})}},{key:"getAllVisibleChecked",value:function(){return this.allVisibleChecked(this.elements,!1)}},{key:"allVisibleChecked",value:function(L){for(var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=0,H=L.length;j<H;j++){var Ce=L[j];if(!Ce.hidden)if(Ce.checked)P=!0;else return!1}return P}},{key:"getCheckedCount",value:function(){for(var L=0,P=this.elements,j=0,H=P.length;j<H;j++)P[j].checked&&L++;return L}},{key:"getVisibleCount",value:function(){for(var L=0,P=this.elements,j=0,H=P.length;j<H;j++)P[j].hidden||L++;return L}},{key:"setAllVisibleChecked",value:function(L){try{this._fireCheckedEvents=!1,this.elements.forEach(function(P){P.hidden||(P.checked=L)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}},{key:"setElements",value:function(L){var P=this,j,H;this.elementDisposables=Object(un.f)(this.elementDisposables);var Ce=function(yt){return P.fireButtonTriggered(yt)};this.inputElements=L,this.elements=L.reduce(function(ze,yt,Zt){var Wt,yn,tr;if(yt.type!=="separator"){var Er=Zt&&L[Zt-1],ni=yt.label&&yt.label.replace(/\r?\n/g," "),Oi=yt.meta&&yt.meta.replace(/\r?\n/g," "),oi=yt.description&&yt.description.replace(/\r?\n/g," "),ui=yt.detail&&yt.detail.replace(/\r?\n/g," "),Bi=yt.ariaLabel||[ni,oi,ui].map(function(Pa){return Object(Ws.c)(Pa)}).filter(function(Pa){return!!Pa}).join(", ");ze.push(new lu({index:Zt,item:yt,saneLabel:ni,saneMeta:Oi,saneAriaLabel:Bi,saneDescription:oi,saneDetail:ui,labelHighlights:(Wt=yt.highlights)===null||Wt===void 0?void 0:Wt.label,descriptionHighlights:(yn=yt.highlights)===null||yn===void 0?void 0:yn.description,detailHighlights:(tr=yt.highlights)===null||tr===void 0?void 0:tr.detail,checked:!1,separator:Er&&Er.type==="separator"?Er:void 0,fireButtonTriggered:Ce}))}return ze},[]),(j=this.elementDisposables).push.apply(j,Object(Te.a)(this.elements)),(H=this.elementDisposables).push.apply(H,Object(Te.a)(this.elements.map(function(ze){return ze.onChecked(function(){return P.fireCheckedEvents()})}))),this.elementsToIndexes=this.elements.reduce(function(ze,yt,Zt){return ze.set(yt.item,Zt),ze},new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}},{key:"getFocusedElements",value:function(){return this.list.getFocusedElements().map(function(L){return L.item})}},{key:"setFocusedElements",value:function(L){var P=this;if(this.list.setFocus(L.filter(function(H){return P.elementsToIndexes.has(H)}).map(function(H){return P.elementsToIndexes.get(H)})),L.length>0){var j=this.list.getFocus()[0];typeof j=="number"&&this.list.reveal(j)}}},{key:"getActiveDescendant",value:function(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}},{key:"setSelectedElements",value:function(L){var P=this;this.list.setSelection(L.filter(function(j){return P.elementsToIndexes.has(j)}).map(function(j){return P.elementsToIndexes.get(j)}))}},{key:"getCheckedElements",value:function(){return this.elements.filter(function(L){return L.checked}).map(function(L){return L.item})}},{key:"setCheckedElements",value:function(L){try{this._fireCheckedEvents=!1;var P=new Set,j=Object(ae.a)(L),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;P.add(Ce)}}catch(Wt){j.e(Wt)}finally{j.f()}var ze=Object(ae.a)(this.elements),yt;try{for(ze.s();!(yt=ze.n()).done;){var Zt=yt.value;Zt.checked=P.has(Zt.item)}}catch(Wt){ze.e(Wt)}finally{ze.f()}}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}},{key:"enabled",set:function(L){this.list.getHTMLElement().style.pointerEvents=L?"":"none"}},{key:"focus",value:function(L){if(!!this.list.length){switch(L===js.Next&&this.list.getFocus()[0]===this.list.length-1&&(L=js.First),L===js.Previous&&this.list.getFocus()[0]===0&&(L=js.Last),L===js.Second&&this.list.length<2&&(L=js.First),L){case js.First:this.list.focusFirst();break;case js.Second:this.list.focusNth(1);break;case js.Last:this.list.focusLast();break;case js.Next:this.list.focusNext();break;case js.Previous:this.list.focusPrevious();break;case js.NextPage:this.list.focusNextPage();break;case js.PreviousPage:this.list.focusPreviousPage();break}var P=this.list.getFocus()[0];typeof P=="number"&&this.list.reveal(P)}}},{key:"clearFocus",value:function(){this.list.setFocus([])}},{key:"domFocus",value:function(){this.list.domFocus()}},{key:"layout",value:function(L){this.list.getHTMLElement().style.maxHeight=L?"calc(".concat(Math.floor(L/44)*44,"px)"):"",this.list.layout()}},{key:"filter",value:function(L){var P=this;if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;if(L=L.trim(),!L||!(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))this.elements.forEach(function(ze){ze.labelHighlights=void 0,ze.descriptionHighlights=void 0,ze.detailHighlights=void 0,ze.hidden=!1;var yt=ze.index&&P.inputElements[ze.index-1];ze.separator=yt&&yt.type==="separator"?yt:void 0});else{var j;this.elements.forEach(function(ze){var yt=P.matchOnLabel?Object(Ln.n)(Object(ul.c)(L,Object(ul.d)(ze.saneLabel))):void 0,Zt=P.matchOnDescription?Object(Ln.n)(Object(ul.c)(L,Object(ul.d)(ze.saneDescription||""))):void 0,Wt=P.matchOnDetail?Object(Ln.n)(Object(ul.c)(L,Object(ul.d)(ze.saneDetail||""))):void 0,yn=P.matchOnMeta?Object(Ln.n)(Object(ul.c)(L,Object(ul.d)(ze.saneMeta||""))):void 0;if(yt||Zt||Wt||yn?(ze.labelHighlights=yt,ze.descriptionHighlights=Zt,ze.detailHighlights=Wt,ze.hidden=!1):(ze.labelHighlights=void 0,ze.descriptionHighlights=void 0,ze.detailHighlights=void 0,ze.hidden=!ze.item.alwaysShow),ze.separator=void 0,!P.sortByLabel){var tr=ze.index&&P.inputElements[ze.index-1];j=tr&&tr.type==="separator"?tr:j,j&&!ze.hidden&&(ze.separator=j,j=void 0)}})}var H=this.elements.filter(function(ze){return!ze.hidden});if(this.sortByLabel&&L){var Ce=L.toLowerCase();H.sort(function(ze,yt){return Mc(ze,yt,Ce)})}return this.elementsToIndexes=H.reduce(function(ze,yt,Zt){return ze.set(yt.item,Zt),ze},new Map),this.list.splice(0,this.list.length,H),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(H.length),!0}},{key:"toggleCheckbox",value:function(){try{this._fireCheckedEvents=!1;var L=this.list.getFocusedElements(),P=this.allVisibleChecked(L),j=Object(ae.a)(L),H;try{for(j.s();!(H=j.n()).done;){var Ce=H.value;Ce.checked=!P}}catch(ze){j.e(ze)}finally{j.f()}}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}},{key:"display",value:function(L){this.container.style.display=L?"":"none"}},{key:"isDisplayed",value:function(){return this.container.style.display!=="none"}},{key:"dispose",value:function(){this.elementDisposables=Object(un.f)(this.elementDisposables),this.disposables=Object(un.f)(this.disposables)}},{key:"fireCheckedEvents",value:function(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}},{key:"fireButtonTriggered",value:function(L){this._onButtonTriggered.fire(L)}},{key:"style",value:function(L){this.list.style(L)}}]),V}();bu([Nl.a],qu.prototype,"onDidChangeFocus",null),bu([Nl.a],qu.prototype,"onDidChangeSelection",null);function Mc(V,De,L){var P=V.labelHighlights||[],j=De.labelHighlights||[];return P.length&&!j.length?-1:!P.length&&j.length?1:P.length===0&&j.length===0?0:qs(V.saneLabel,De.saneLabel,L)}var fc=function(){function V(){Object(c.a)(this,V)}return Object(r.a)(V,[{key:"getWidgetAriaLabel",value:function(){return Object(Tr.a)("quickInput","Quick Input")}},{key:"getAriaLabel",value:function(L){return L.saneAriaLabel}},{key:"getWidgetRole",value:function(){return"listbox"}},{key:"getRole",value:function(){return"option"}}]),V}(),ec=e("0+8E"),tc=je.$,nc=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P){var j;return Object(c.a)(this,L),j=De.call(this),j.parent=P,j.onKeyDown=function(H){return je.addDisposableListener(j.inputBox.inputElement,je.EventType.KEY_DOWN,function(Ce){H(new Le.a(Ce))})},j.onMouseDown=function(H){return je.addDisposableListener(j.inputBox.inputElement,je.EventType.MOUSE_DOWN,function(Ce){H(new Kl.a(Ce))})},j.onDidChange=function(H){return j.inputBox.onDidChange(H)},j.container=je.append(j.parent,tc(".quick-input-box")),j.inputBox=j._register(new ec.b(j.container,void 0)),j}return Object(r.a)(L,[{key:"value",get:function(){return this.inputBox.value},set:function(j){this.inputBox.value=j}},{key:"select",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this.inputBox.select(j)}},{key:"isSelectionAtEnd",value:function(){return this.inputBox.isSelectionAtEnd()}},{key:"placeholder",get:function(){return this.inputBox.inputElement.getAttribute("placeholder")||""},set:function(j){this.inputBox.setPlaceHolder(j)}},{key:"ariaLabel",get:function(){return this.inputBox.getAriaLabel()},set:function(j){this.inputBox.setAriaLabel(j)}},{key:"password",get:function(){return this.inputBox.inputElement.type==="password"},set:function(j){this.inputBox.inputElement.type=j?"password":"text"}},{key:"setAttribute",value:function(j,H){this.inputBox.inputElement.setAttribute(j,H)}},{key:"removeAttribute",value:function(j){this.inputBox.inputElement.removeAttribute(j)}},{key:"showDecoration",value:function(j){j===J.a.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:j===J.a.Info?1:j===J.a.Warning?2:3,content:""})}},{key:"stylesForType",value:function(j){return this.inputBox.stylesForType(j===J.a.Info?1:j===J.a.Warning?2:3)}},{key:"setFocus",value:function(){this.inputBox.focus()}},{key:"layout",value:function(){this.inputBox.layout()}},{key:"style",value:function(j){this.inputBox.style(j)}}]),L}(un.a),yc=e("O/se"),Lc=e("HyZH"),Vc="done",bc="active",xc="infinite",Nu="discrete",Pc={progressBarBackground:Jo.a.fromHex("#0E70C0")},Tc=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;return Object(c.a)(this,L),H=De.call(this),H.options=j||Object.create(null),Object(Gt.f)(H.options,Pc,!1),H.workedVal=0,H.progressBarBackground=H.options.progressBarBackground,H._register(H.showDelayedScheduler=new sn.e(function(){return Object(je.show)(H.element)},0)),H.create(P),H}return Object(r.a)(L,[{key:"create",value:function(j){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),j.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}},{key:"off",value:function(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(bc,xc,Nu),this.workedVal=0,this.totalWork=void 0}},{key:"stop",value:function(){return this.doDone(!1)}},{key:"doDone",value:function(j){var H=this;return this.element.classList.add(Vc),this.element.classList.contains(xc)?(this.bit.style.opacity="0",j?setTimeout(function(){return H.off()},200):this.off()):(this.bit.style.width="inherit",j?setTimeout(function(){return H.off()},200):this.off()),this}},{key:"infinite",value:function(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(Nu,Vc),this.element.classList.add(bc,xc),this}},{key:"getContainer",value:function(){return this.element}},{key:"style",value:function(j){this.progressBarBackground=j.progressBarBackground,this.applyStyles()}},{key:"applyStyles",value:function(){if(this.bit){var j=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=j}}}]),L}(un.a),Kc=e("/6w4"),Hc=e("pg8w"),Ou=e("fdyd"),Ic={buttonBackground:Jo.a.fromHex("#0E639C"),buttonHoverBackground:Jo.a.fromHex("#006BB3"),buttonForeground:Jo.a.white},Cu=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;return Object(c.a)(this,L),H=De.call(this),H._onDidClick=H._register(new o.a),H.options=j||Object.create(null),Object(Gt.f)(H.options,Ic,!1),H.buttonForeground=H.options.buttonForeground,H.buttonBackground=H.options.buttonBackground,H.buttonHoverBackground=H.options.buttonHoverBackground,H.buttonSecondaryForeground=H.options.buttonSecondaryForeground,H.buttonSecondaryBackground=H.options.buttonSecondaryBackground,H.buttonSecondaryHoverBackground=H.options.buttonSecondaryHoverBackground,H.buttonBorder=H.options.buttonBorder,H._element=document.createElement("a"),H._element.classList.add("monaco-button"),H._element.tabIndex=0,H._element.setAttribute("role","button"),P.appendChild(H._element),H._register(Hc.b.addTarget(H._element)),[je.EventType.CLICK,Hc.a.Tap].forEach(function(Ce){H._register(Object(je.addDisposableListener)(H._element,Ce,function(ze){if(!H.enabled){je.EventHelper.stop(ze);return}H._onDidClick.fire(ze)}))}),H._register(Object(je.addDisposableListener)(H._element,je.EventType.KEY_DOWN,function(Ce){var ze=new Le.a(Ce),yt=!1;H.enabled&&(ze.equals(3)||ze.equals(10))?(H._onDidClick.fire(Ce),yt=!0):ze.equals(9)&&(H._element.blur(),yt=!0),yt&&je.EventHelper.stop(ze,!0)})),H._register(Object(je.addDisposableListener)(H._element,je.EventType.MOUSE_OVER,function(Ce){H._element.classList.contains("disabled")||H.setHoverBackground()})),H._register(Object(je.addDisposableListener)(H._element,je.EventType.MOUSE_OUT,function(Ce){H.applyStyles()})),H.focusTracker=H._register(Object(je.trackFocus)(H._element)),H._register(H.focusTracker.onDidFocus(function(){return H.setHoverBackground()})),H._register(H.focusTracker.onDidBlur(function(){return H.applyStyles()})),H.applyStyles(),H}return Object(r.a)(L,[{key:"onDidClick",get:function(){return this._onDidClick.event}},{key:"setHoverBackground",value:function(){var j;this.options.secondary?j=this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:j=this.buttonHoverBackground?this.buttonHoverBackground.toString():null,j&&(this._element.style.backgroundColor=j)}},{key:"style",value:function(j){this.buttonForeground=j.buttonForeground,this.buttonBackground=j.buttonBackground,this.buttonHoverBackground=j.buttonHoverBackground,this.buttonSecondaryForeground=j.buttonSecondaryForeground,this.buttonSecondaryBackground=j.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=j.buttonSecondaryHoverBackground,this.buttonBorder=j.buttonBorder,this.applyStyles()}},{key:"applyStyles",value:function(){if(this._element){var j,H;this.options.secondary?(H=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",j=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(H=this.buttonForeground?this.buttonForeground.toString():"",j=this.buttonBackground?this.buttonBackground.toString():"");var Ce=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=H,this._element.style.backgroundColor=j,this._element.style.borderWidth=Ce?"1px":"",this._element.style.borderStyle=Ce?"solid":"",this._element.style.borderColor=Ce}}},{key:"element",get:function(){return this._element}},{key:"label",set:function(j){this._element.classList.add("monaco-text-button"),this.options.supportIcons?je.reset.apply(void 0,[this._element].concat(Object(Te.a)(Object(Ou.a)(j)))):this._element.textContent=j,typeof this.options.title=="string"?this._element.title=this.options.title:this.options.title&&(this._element.title=j)}},{key:"enabled",get:function(){return!this._element.classList.contains("disabled")},set:function(j){j?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}}]),L}(un.a),Oc=function(V,De,L,P){function j(H){return H instanceof L?H:new L(function(Ce){Ce(H)})}return new(L||(L=Promise))(function(H,Ce){function ze(Wt){try{Zt(P.next(Wt))}catch(yn){Ce(yn)}}function yt(Wt){try{Zt(P.throw(Wt))}catch(yn){Ce(yn)}}function Zt(Wt){Wt.done?H(Wt.value):j(Wt.value).then(ze,yt)}Zt((P=P.apply(V,De||[])).next())})},Bl=je.$,Mu=Object(Ws.e)("quick-input-back",Ws.b.arrowLeft),Au={iconClass:Mu.classNames,tooltip:Object(Tr.a)("quickInput.back","Back"),handle:-1},Rc=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P){var j;return Object(c.a)(this,L),j=De.call(this),j.ui=P,j.visible=!1,j._enabled=!0,j._busy=!1,j._ignoreFocusOut=!1,j._buttons=[],j.noValidationMessage=L.noPromptMessage,j._severity=J.a.Ignore,j.buttonsUpdated=!1,j.onDidTriggerButtonEmitter=j._register(new o.a),j.onDidHideEmitter=j._register(new o.a),j.onDisposeEmitter=j._register(new o.a),j.visibleDisposables=j._register(new un.b),j.onDidHide=j.onDidHideEmitter.event,j}return Object(r.a)(L,[{key:"title",get:function(){return this._title},set:function(j){this._title=j,this.update()}},{key:"description",get:function(){return this._description},set:function(j){this._description=j,this.update()}},{key:"step",get:function(){return this._steps},set:function(j){this._steps=j,this.update()}},{key:"totalSteps",get:function(){return this._totalSteps},set:function(j){this._totalSteps=j,this.update()}},{key:"enabled",get:function(){return this._enabled},set:function(j){this._enabled=j,this.update()}},{key:"contextKey",get:function(){return this._contextKey},set:function(j){this._contextKey=j,this.update()}},{key:"busy",get:function(){return this._busy},set:function(j){this._busy=j,this.update()}},{key:"ignoreFocusOut",get:function(){return this._ignoreFocusOut},set:function(j){this._ignoreFocusOut=j,this.update()}},{key:"buttons",get:function(){return this._buttons},set:function(j){this._buttons=j,this.buttonsUpdated=!0,this.update()}},{key:"validationMessage",get:function(){return this._validationMessage},set:function(j){this._validationMessage=j,this.update()}},{key:"severity",get:function(){return this._severity},set:function(j){this._severity=j,this.update()}},{key:"show",value:function(){var j=this;this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(function(H){j.buttons.indexOf(H)!==-1&&j.onDidTriggerButtonEmitter.fire(H)})),this.ui.show(this),this.visible=!0,this.update())}},{key:"hide",value:function(){!this.visible||this.ui.hide()}},{key:"didHide",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Js.c.Other;this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:j})}},{key:"update",value:function(){var j=this;if(!!this.visible){var H=this.getTitle();H&&this.ui.title.textContent!==H?this.ui.title.textContent=H:!H&&this.ui.title.innerHTML!==" "&&(this.ui.title.innerText="\xA0;");var Ce=this.getDescription();if(this.ui.description1.textContent!==Ce&&(this.ui.description1.textContent=Ce),this.ui.description2.textContent!==Ce&&(this.ui.description2.textContent=Ce),this.busy&&!this.busyDelay&&(this.busyDelay=new sn.g,this.busyDelay.setIfNotSet(function(){j.visible&&j.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();var ze=this.buttons.filter(function(Wt){return Wt===Au});this.ui.leftActionBar.push(ze.map(function(Wt,yn){var tr=new ho.a("id-".concat(yn),"",Wt.iconClass||Ju(Wt.iconPath),!0,function(){return Oc(j,void 0,void 0,Object(Se.a)().mark(function Er(){return Object(Se.a)().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:this.onDidTriggerButtonEmitter.fire(Wt);case 1:case"end":return Oi.stop()}},Er,this)}))});return tr.tooltip=Wt.tooltip||"",tr}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();var yt=this.buttons.filter(function(Wt){return Wt!==Au});this.ui.rightActionBar.push(yt.map(function(Wt,yn){var tr=new ho.a("id-".concat(yn),"",Wt.iconClass||Ju(Wt.iconPath),!0,function(){return Oc(j,void 0,void 0,Object(Se.a)().mark(function Er(){return Object(Se.a)().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:this.onDidTriggerButtonEmitter.fire(Wt);case 1:case"end":return Oi.stop()}},Er,this)}))});return tr.tooltip=Wt.tooltip||"",tr}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);var Zt=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==Zt&&(this._lastValidationMessage=Zt,je.reset.apply(je,[this.ui.message].concat(Object(Te.a)(Object(Ou.a)(Object(_n.t)(Zt)))))),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}}},{key:"getTitle",value:function(){return this.title&&this.step?"".concat(this.title," (").concat(this.getSteps(),")"):this.title?this.title:this.step?this.getSteps():""}},{key:"getDescription",value:function(){return this.description||""}},{key:"getSteps",value:function(){return this.step&&this.totalSteps?Object(Tr.a)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}},{key:"showMessageDecoration",value:function(j){if(this.ui.inputBox.showDecoration(j),j!==J.a.Ignore){var H=this.ui.inputBox.stylesForType(j);this.ui.message.style.color=H.foreground?"".concat(H.foreground):"",this.ui.message.style.backgroundColor=H.background?"".concat(H.background):"",this.ui.message.style.border=H.border?"1px solid ".concat(H.border):"",this.ui.message.style.paddingBottom="4px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom=""}},{key:"dispose",value:function(){this.hide(),this.onDisposeEmitter.fire(),Object(nn.a)(Object(bn.a)(L.prototype),"dispose",this).call(this)}}]),L}(un.a);Rc.noPromptMessage=Object(Tr.a)("inputModeEntry","Press 'Enter' to confirm your input or 'Escape' to cancel");var cl=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(){var P;return Object(c.a)(this,L),P=De.apply(this,arguments),P._value="",P.onDidChangeValueEmitter=P._register(new o.a),P.onDidAcceptEmitter=P._register(new o.a),P.onDidCustomEmitter=P._register(new o.a),P._items=[],P.itemsUpdated=!1,P._canSelectMany=!1,P._canAcceptInBackground=!1,P._matchOnDescription=!1,P._matchOnDetail=!1,P._matchOnLabel=!0,P._sortByLabel=!0,P._autoFocusOnList=!0,P._itemActivation=P.ui.isScreenReaderOptimized()?Js.a.NONE:Js.a.FIRST,P._activeItems=[],P.activeItemsUpdated=!1,P.activeItemsToConfirm=[],P.onDidChangeActiveEmitter=P._register(new o.a),P._selectedItems=[],P.selectedItemsUpdated=!1,P.selectedItemsToConfirm=[],P.onDidChangeSelectionEmitter=P._register(new o.a),P.onDidTriggerItemButtonEmitter=P._register(new o.a),P.valueSelectionUpdated=!0,P._ok="default",P._customButton=!1,P.filterValue=function(j){return j},P.onDidChangeValue=P.onDidChangeValueEmitter.event,P.onDidAccept=P.onDidAcceptEmitter.event,P.onDidChangeActive=P.onDidChangeActiveEmitter.event,P.onDidChangeSelection=P.onDidChangeSelectionEmitter.event,P.onDidTriggerItemButton=P.onDidTriggerItemButtonEmitter.event,P}return Object(r.a)(L,[{key:"quickNavigate",get:function(){return this._quickNavigate},set:function(j){this._quickNavigate=j,this.update()}},{key:"value",get:function(){return this._value},set:function(j){this._value=j||"",this.update()}},{key:"ariaLabel",get:function(){return this._ariaLabel},set:function(j){this._ariaLabel=j,this.update()}},{key:"placeholder",get:function(){return this._placeholder},set:function(j){this._placeholder=j,this.update()}},{key:"items",get:function(){return this._items},set:function(j){this._items=j,this.itemsUpdated=!0,this.update()}},{key:"canSelectMany",get:function(){return this._canSelectMany},set:function(j){this._canSelectMany=j,this.update()}},{key:"canAcceptInBackground",get:function(){return this._canAcceptInBackground},set:function(j){this._canAcceptInBackground=j}},{key:"matchOnDescription",get:function(){return this._matchOnDescription},set:function(j){this._matchOnDescription=j,this.update()}},{key:"matchOnDetail",get:function(){return this._matchOnDetail},set:function(j){this._matchOnDetail=j,this.update()}},{key:"matchOnLabel",get:function(){return this._matchOnLabel},set:function(j){this._matchOnLabel=j,this.update()}},{key:"sortByLabel",get:function(){return this._sortByLabel},set:function(j){this._sortByLabel=j,this.update()}},{key:"autoFocusOnList",get:function(){return this._autoFocusOnList},set:function(j){this._autoFocusOnList=j,this.update()}},{key:"itemActivation",get:function(){return this._itemActivation},set:function(j){this._itemActivation=j}},{key:"activeItems",get:function(){return this._activeItems},set:function(j){this._activeItems=j,this.activeItemsUpdated=!0,this.update()}},{key:"selectedItems",get:function(){return this._selectedItems},set:function(j){this._selectedItems=j,this.selectedItemsUpdated=!0,this.update()}},{key:"keyMods",get:function(){return this._quickNavigate?Js.b:this.ui.keyMods}},{key:"valueSelection",set:function(j){this._valueSelection=j,this.valueSelectionUpdated=!0,this.update()}},{key:"customButton",get:function(){return this._customButton},set:function(j){this._customButton=j,this.update()}},{key:"customLabel",get:function(){return this._customButtonLabel},set:function(j){this._customButtonLabel=j,this.update()}},{key:"customHover",get:function(){return this._customButtonHover},set:function(j){this._customButtonHover=j,this.update()}},{key:"ok",get:function(){return this._ok},set:function(j){this._ok=j,this.update()}},{key:"hideInput",get:function(){return!!this._hideInput},set:function(j){this._hideInput=j,this.update()}},{key:"trySelectFirst",value:function(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(js.First))}},{key:"show",value:function(){var j=this;this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(function(H){if(H!==j.value){j._value=H;var Ce=j.ui.list.filter(j.filterValue(j.ui.inputBox.value));Ce&&j.trySelectFirst(),j.onDidChangeValueEmitter.fire(H)}})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(function(H){j.autoFocusOnList||j.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(function(H){switch(H.keyCode){case 18:j.ui.list.focus(js.Next),j.canSelectMany&&j.ui.list.domFocus(),je.EventHelper.stop(H,!0);break;case 16:j.ui.list.getFocusedElements().length?j.ui.list.focus(js.Previous):j.ui.list.focus(js.Last),j.canSelectMany&&j.ui.list.domFocus(),je.EventHelper.stop(H,!0);break;case 12:j.ui.list.focus(js.NextPage),j.canSelectMany&&j.ui.list.domFocus(),je.EventHelper.stop(H,!0);break;case 11:j.ui.list.focus(js.PreviousPage),j.canSelectMany&&j.ui.list.domFocus(),je.EventHelper.stop(H,!0);break;case 17:if(!j._canAcceptInBackground||!j.ui.inputBox.isSelectionAtEnd())return;j.activeItems[0]&&(j._selectedItems=[j.activeItems[0]],j.onDidChangeSelectionEmitter.fire(j.selectedItems),j.onDidAcceptEmitter.fire({inBackground:!0}));break;case 14:(H.ctrlKey||H.metaKey)&&!H.shiftKey&&!H.altKey&&(j.ui.list.focus(js.First),je.EventHelper.stop(H,!0));break;case 13:(H.ctrlKey||H.metaKey)&&!H.shiftKey&&!H.altKey&&(j.ui.list.focus(js.Last),je.EventHelper.stop(H,!0));break}})),this.visibleDisposables.add(this.ui.onDidAccept(function(){!j.canSelectMany&&j.activeItems[0]&&(j._selectedItems=[j.activeItems[0]],j.onDidChangeSelectionEmitter.fire(j.selectedItems)),j.onDidAcceptEmitter.fire({inBackground:!1})})),this.visibleDisposables.add(this.ui.onDidCustom(function(){j.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(function(H){j.activeItemsUpdated||j.activeItemsToConfirm!==j._activeItems&&Object(Pe.g)(H,j._activeItems,function(Ce,ze){return Ce===ze})||(j._activeItems=H,j.onDidChangeActiveEmitter.fire(H))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(function(H){var Ce=H.items,ze=H.event;if(j.canSelectMany){Ce.length&&j.ui.list.setSelectedElements([]);return}j.selectedItemsToConfirm!==j._selectedItems&&Object(Pe.g)(Ce,j._selectedItems,function(yt,Zt){return yt===Zt})||(j._selectedItems=Ce,j.onDidChangeSelectionEmitter.fire(Ce),Ce.length&&j.onDidAcceptEmitter.fire({inBackground:ze instanceof MouseEvent&&ze.button===1}))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(function(H){!j.canSelectMany||j.selectedItemsToConfirm!==j._selectedItems&&Object(Pe.g)(H,j._selectedItems,function(Ce,ze){return Ce===ze})||(j._selectedItems=H,j.onDidChangeSelectionEmitter.fire(H))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(function(H){return j.onDidTriggerItemButtonEmitter.fire(H)})),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),Object(nn.a)(Object(bn.a)(L.prototype),"show",this).call(this)}},{key:"registerQuickNavigation",value:function(){var j=this;return je.addDisposableListener(this.ui.container,je.EventType.KEY_UP,function(H){if(!(j.canSelectMany||!j._quickNavigate)){var Ce=new Le.a(H),ze=Ce.keyCode,yt=j._quickNavigate.keybindings,Zt=yt.some(function(Wt){var yn=Wt.getParts(),tr=Object(ur.a)(yn,2),Er=tr[0],ni=tr[1];return ni?!1:Er.shiftKey&&ze===4?!(Ce.ctrlKey||Ce.altKey||Ce.metaKey):!!(Er.altKey&&ze===6||Er.ctrlKey&&ze===5||Er.metaKey&&ze===57)});Zt&&(j.activeItems[0]&&(j._selectedItems=[j.activeItems[0]],j.onDidChangeSelectionEmitter.fire(j.selectedItems),j.onDidAcceptEmitter.fire({inBackground:!1})),j._quickNavigate=void 0)}})}},{key:"update",value:function(){if(!!this.visible){var j=!!this._hideInput&&this._items.length>0;this.ui.container.classList.toggle("hidden-input",j&&!this.description);var H={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!j,progressBar:!j,visibleCount:!0,count:this.canSelectMany,ok:this.ok==="default"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(H),Object(nn.a)(Object(bn.a)(L.prototype),"update",this).call(this),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");var Ce=this.ariaLabel||this.placeholder||L.DEFAULT_ARIA_LABEL;if(this.ui.inputBox.ariaLabel!==Ce&&(this.ui.inputBox.ariaLabel=Ce),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case Js.a.NONE:this._itemActivation=Js.a.FIRST;break;case Js.a.SECOND:this.ui.list.focus(js.Second),this._itemActivation=Js.a.FIRST;break;case Js.a.LAST:this.ui.list.focus(js.Last),this._itemActivation=Js.a.FIRST;break;default:this.trySelectFirst();break}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),H.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(js.First))}}}]),L}(Rc);cl.DEFAULT_ARIA_LABEL=Object(Tr.a)("quickInputBox.ariaLabel","Type to narrow down results.");var Is=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P){var j;return Object(c.a)(this,L),j=De.call(this),j.options=P,j.comboboxAccessibility=!1,j.enabled=!0,j.onDidAcceptEmitter=j._register(new o.a),j.onDidCustomEmitter=j._register(new o.a),j.onDidTriggerButtonEmitter=j._register(new o.a),j.keyMods={ctrlCmd:!1,alt:!1},j.controller=null,j.onShowEmitter=j._register(new o.a),j.onShow=j.onShowEmitter.event,j.onHideEmitter=j._register(new o.a),j.onHide=j.onHideEmitter.event,j.idPrefix=P.idPrefix,j.parentElement=P.container,j.styles=P.styles,j.registerKeyModsListeners(),j}return Object(r.a)(L,[{key:"registerKeyModsListeners",value:function(){var j=this,H=function(ze){j.keyMods.ctrlCmd=ze.ctrlKey||ze.metaKey,j.keyMods.alt=ze.altKey};this._register(je.addDisposableListener(window,je.EventType.KEY_DOWN,H,!0)),this._register(je.addDisposableListener(window,je.EventType.KEY_UP,H,!0)),this._register(je.addDisposableListener(window,je.EventType.MOUSE_DOWN,H,!0))}},{key:"getUI",value:function(){var j=this;if(this.ui)return this.ui;var H=je.append(this.parentElement,Bl(".quick-input-widget.show-file-icons"));H.tabIndex=-1,H.style.display="none";var Ce=je.createStyleSheet(H),ze=je.append(H,Bl(".quick-input-titlebar")),yt=this._register(new Uo.a(ze));yt.domNode.classList.add("quick-input-left-action-bar");var Zt=je.append(ze,Bl(".quick-input-title")),Wt=this._register(new Uo.a(ze));Wt.domNode.classList.add("quick-input-right-action-bar");var yn=je.append(H,Bl(".quick-input-description")),tr=je.append(H,Bl(".quick-input-header")),Er=je.append(tr,Bl("input.quick-input-check-all"));Er.type="checkbox",this._register(je.addStandardDisposableListener(Er,je.EventType.CHANGE,function(hs){var ws=Er.checked;zl.setAllVisibleChecked(ws)})),this._register(je.addDisposableListener(Er,je.EventType.CLICK,function(hs){(hs.x||hs.y)&&ui.setFocus()}));var ni=je.append(tr,Bl(".quick-input-description")),Oi=je.append(tr,Bl(".quick-input-and-message")),oi=je.append(Oi,Bl(".quick-input-filter")),ui=this._register(new nc(oi));ui.setAttribute("aria-describedby","".concat(this.idPrefix,"message"));var Bi=je.append(oi,Bl(".quick-input-visible-count"));Bi.setAttribute("aria-live","polite"),Bi.setAttribute("aria-atomic","true");var Pa=new yc.a(Bi,{countFormat:Object(Tr.a)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),za=je.append(oi,Bl(".quick-input-count"));za.setAttribute("aria-live","polite");var wo=new yc.a(za,{countFormat:Object(Tr.a)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),yo=je.append(tr,Bl(".quick-input-action")),bs=new Cu(yo);bs.label=Object(Tr.a)("ok","OK"),this._register(bs.onDidClick(function(hs){j.onDidAcceptEmitter.fire()}));var Xo=je.append(tr,Bl(".quick-input-action")),zs=new Cu(Xo);zs.label=Object(Tr.a)("custom","Custom"),this._register(zs.onDidClick(function(hs){j.onDidCustomEmitter.fire()}));var nl=je.append(Oi,Bl("#".concat(this.idPrefix,"message.quick-input-message"))),zl=this._register(new qu(H,this.idPrefix+"list",this.options));this._register(zl.onChangedAllVisibleChecked(function(hs){Er.checked=hs})),this._register(zl.onChangedVisibleCount(function(hs){Pa.setCount(hs)})),this._register(zl.onChangedCheckedCount(function(hs){wo.setCount(hs)})),this._register(zl.onLeave(function(){setTimeout(function(){ui.setFocus(),j.controller instanceof cl&&j.controller.canSelectMany&&zl.clearFocus()},0)})),this._register(zl.onDidChangeFocus(function(){j.comboboxAccessibility&&j.getUI().inputBox.setAttribute("aria-activedescendant",j.getUI().list.getActiveDescendant()||"")}));var tu=new Tc(H);tu.getContainer().classList.add("quick-input-progress");var Wu=je.trackFocus(H);return this._register(Wu),this._register(je.addDisposableListener(H,je.EventType.FOCUS,function(hs){j.previousFocusElement=hs.relatedTarget instanceof HTMLElement?hs.relatedTarget:void 0},!0)),this._register(Wu.onDidBlur(function(){!j.getUI().ignoreFocusOut&&!j.options.ignoreFocusOut()&&j.hide(Js.c.Blur),j.previousFocusElement=void 0})),this._register(je.addDisposableListener(H,je.EventType.FOCUS,function(hs){ui.setFocus()})),this._register(je.addDisposableListener(H,je.EventType.KEY_DOWN,function(hs){var ws=new Le.a(hs);switch(ws.keyCode){case 3:je.EventHelper.stop(hs,!0),j.onDidAcceptEmitter.fire();break;case 9:je.EventHelper.stop(hs,!0),j.hide(Js.c.Gesture);break;case 2:if(!ws.altKey&&!ws.ctrlKey&&!ws.metaKey){var fu=[".action-label.codicon"];H.classList.contains("show-checkboxes")?fu.push("input"):fu.push("input[type=text]"),j.getUI().list.isDisplayed()&&fu.push(".monaco-list");var au=H.querySelectorAll(fu.join(", "));ws.shiftKey&&ws.target===au[0]?(je.EventHelper.stop(hs,!0),au[au.length-1].focus()):!ws.shiftKey&&ws.target===au[au.length-1]&&(je.EventHelper.stop(hs,!0),au[0].focus())}break}})),this.ui={container:H,styleSheet:Ce,leftActionBar:yt,titleBar:ze,title:Zt,description1:yn,description2:ni,rightActionBar:Wt,checkAll:Er,filterContainer:oi,inputBox:ui,visibleCountContainer:Bi,visibleCount:Pa,countContainer:za,count:wo,okContainer:yo,ok:bs,message:nl,customButtonContainer:Xo,customButton:zs,list:zl,progressBar:tu,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:function(){return j.options.isScreenReaderOptimized()},show:function(ws){return j.show(ws)},hide:function(){return j.hide()},setVisibilities:function(ws){return j.setVisibilities(ws)},setComboboxAccessibility:function(ws){return j.setComboboxAccessibility(ws)},setEnabled:function(ws){return j.setEnabled(ws)},setContextKey:function(ws){return j.options.setContextKey(ws)}},this.updateStyles(),this.ui}},{key:"pick",value:function(j){var H=this,Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.a.None;return new Promise(function(yt,Zt){var Wt=function(Oi){Wt=yt,Ce.onKeyMods&&Ce.onKeyMods(yn.keyMods),yt(Oi)};if(ze.isCancellationRequested){Wt(void 0);return}var yn=H.createQuickPick(),tr,Er=[yn,yn.onDidAccept(function(){if(yn.canSelectMany)Wt(yn.selectedItems.slice()),yn.hide();else{var ni=yn.activeItems[0];ni&&(Wt(ni),yn.hide())}}),yn.onDidChangeActive(function(ni){var Oi=ni[0];Oi&&Ce.onDidFocus&&Ce.onDidFocus(Oi)}),yn.onDidChangeSelection(function(ni){if(!yn.canSelectMany){var Oi=ni[0];Oi&&(Wt(Oi),yn.hide())}}),yn.onDidTriggerItemButton(function(ni){return Ce.onDidTriggerItemButton&&Ce.onDidTriggerItemButton(Object.assign(Object.assign({},ni),{removeItem:function(){var oi=yn.items.indexOf(ni.item);if(oi!==-1){var ui=yn.items.slice(),Bi=ui.splice(oi,1),Pa=yn.activeItems.filter(function(za){return za!==Bi[0]});yn.items=ui,Pa&&(yn.activeItems=Pa)}}}))}),yn.onDidChangeValue(function(ni){tr&&!ni&&(yn.activeItems.length!==1||yn.activeItems[0]!==tr)&&(yn.activeItems=[tr])}),ze.onCancellationRequested(function(){yn.hide()}),yn.onDidHide(function(){Object(un.f)(Er),Wt(void 0)})];yn.title=Ce.title,yn.canSelectMany=!!Ce.canPickMany,yn.placeholder=Ce.placeHolder,yn.ignoreFocusOut=!!Ce.ignoreFocusLost,yn.matchOnDescription=!!Ce.matchOnDescription,yn.matchOnDetail=!!Ce.matchOnDetail,yn.matchOnLabel=Ce.matchOnLabel===void 0||Ce.matchOnLabel,yn.autoFocusOnList=Ce.autoFocusOnList===void 0||Ce.autoFocusOnList,yn.quickNavigate=Ce.quickNavigate,yn.contextKey=Ce.contextKey,yn.busy=!0,Promise.all([j,Ce.activeItem]).then(function(ni){var Oi=Object(ur.a)(ni,2),oi=Oi[0],ui=Oi[1];tr=ui,yn.busy=!1,yn.items=oi,yn.canSelectMany&&(yn.selectedItems=oi.filter(function(Bi){return Bi.type!=="separator"&&Bi.picked})),tr&&(yn.activeItems=[tr])}),yn.show(),Promise.resolve(j).then(void 0,function(ni){Zt(ni),yn.hide()})})}},{key:"createQuickPick",value:function(){var j=this.getUI();return new cl(j)}},{key:"show",value:function(j){var H=this.getUI();this.onShowEmitter.fire();var Ce=this.controller;this.controller=j,Ce&&Ce.didHide(),this.setEnabled(!0),H.leftActionBar.clear(),H.title.textContent="",H.description1.textContent="",H.description2.textContent="",H.rightActionBar.clear(),H.checkAll.checked=!1,H.inputBox.placeholder="",H.inputBox.password=!1,H.inputBox.showDecoration(J.a.Ignore),H.visibleCount.setCount(0),H.count.setCount(0),je.reset(H.message),H.progressBar.stop(),H.list.setElements([]),H.list.matchOnDescription=!1,H.list.matchOnDetail=!1,H.list.matchOnLabel=!0,H.list.sortByLabel=!0,H.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),H.inputBox.ariaLabel="";var ze=this.options.backKeybindingLabel();Au.tooltip=ze?Object(Tr.a)("quickInput.backWithKeybinding","Back ({0})",ze):Object(Tr.a)("quickInput.back","Back"),H.container.style.display="",this.updateLayout(),H.inputBox.setFocus()}},{key:"setVisibilities",value:function(j){var H=this.getUI();H.title.style.display=j.title?"":"none",H.description1.style.display=j.description&&(j.inputBox||j.checkAll)?"":"none",H.description2.style.display=j.description&&!(j.inputBox||j.checkAll)?"":"none",H.checkAll.style.display=j.checkAll?"":"none",H.filterContainer.style.display=j.inputBox?"":"none",H.visibleCountContainer.style.display=j.visibleCount?"":"none",H.countContainer.style.display=j.count?"":"none",H.okContainer.style.display=j.ok?"":"none",H.customButtonContainer.style.display=j.customButton?"":"none",H.message.style.display=j.message?"":"none",H.progressBar.getContainer().style.display=j.progressBar?"":"none",H.list.display(!!j.list),H.container.classList[j.checkBox?"add":"remove"]("show-checkboxes"),this.updateLayout()}},{key:"setComboboxAccessibility",value:function(j){if(j!==this.comboboxAccessibility){var H=this.getUI();this.comboboxAccessibility=j,this.comboboxAccessibility?(H.inputBox.setAttribute("role","combobox"),H.inputBox.setAttribute("aria-haspopup","true"),H.inputBox.setAttribute("aria-autocomplete","list"),H.inputBox.setAttribute("aria-activedescendant",H.list.getActiveDescendant()||"")):(H.inputBox.removeAttribute("role"),H.inputBox.removeAttribute("aria-haspopup"),H.inputBox.removeAttribute("aria-autocomplete"),H.inputBox.removeAttribute("aria-activedescendant"))}}},{key:"setEnabled",value:function(j){if(j!==this.enabled){this.enabled=j;var H=Object(ae.a)(this.getUI().leftActionBar.viewItems),Ce;try{for(H.s();!(Ce=H.n()).done;){var ze=Ce.value;ze.getAction().enabled=j}}catch(yn){H.e(yn)}finally{H.f()}var yt=Object(ae.a)(this.getUI().rightActionBar.viewItems),Zt;try{for(yt.s();!(Zt=yt.n()).done;){var Wt=Zt.value;Wt.getAction().enabled=j}}catch(yn){yt.e(yn)}finally{yt.f()}this.getUI().checkAll.disabled=!j,this.getUI().ok.enabled=j,this.getUI().list.enabled=j}}},{key:"hide",value:function(j){var H,Ce=this.controller;if(Ce){var ze=!((H=this.ui)===null||H===void 0?void 0:H.container.contains(document.activeElement));this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",ze||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),Ce.didHide(j)}}},{key:"layout",value:function(j,H){this.dimension=j,this.titleBarOffset=H,this.updateLayout()}},{key:"updateLayout",value:function(){if(this.ui){this.ui.container.style.top="".concat(this.titleBarOffset,"px");var j=this.ui.container.style,H=Math.min(this.dimension.width*.62,L.MAX_WIDTH);j.width=H+"px",j.marginLeft="-"+H/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&this.dimension.height*.4)}}},{key:"applyStyles",value:function(j){this.styles=j,this.updateStyles()}},{key:"updateStyles",value:function(){if(this.ui){var j=this.styles.widget,H=j.quickInputTitleBackground,Ce=j.quickInputBackground,ze=j.quickInputForeground,yt=j.contrastBorder,Zt=j.widgetShadow;this.ui.titleBar.style.backgroundColor=H?H.toString():"",this.ui.container.style.backgroundColor=Ce?Ce.toString():"",this.ui.container.style.color=ze?ze.toString():"",this.ui.container.style.border=yt?"1px solid ".concat(yt):"",this.ui.container.style.boxShadow=Zt?"0 0 8px 2px ".concat(Zt):"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);var Wt=[];this.styles.list.pickerGroupBorder&&Wt.push(".quick-input-list .quick-input-list-entry { border-top-color: ".concat(this.styles.list.pickerGroupBorder,"; }")),this.styles.list.pickerGroupForeground&&Wt.push(".quick-input-list .quick-input-list-separator { color: ".concat(this.styles.list.pickerGroupForeground,"; }")),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(Wt.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&Wt.push("background-color: ".concat(this.styles.keybindingLabel.keybindingLabelBackground,";")),this.styles.keybindingLabel.keybindingLabelBorder&&Wt.push("border-color: ".concat(this.styles.keybindingLabel.keybindingLabelBorder,";")),this.styles.keybindingLabel.keybindingLabelBottomBorder&&Wt.push("border-bottom-color: ".concat(this.styles.keybindingLabel.keybindingLabelBottomBorder,";")),this.styles.keybindingLabel.keybindingLabelShadow&&Wt.push("box-shadow: inset 0 -1px 0 ".concat(this.styles.keybindingLabel.keybindingLabelShadow,";")),this.styles.keybindingLabel.keybindingLabelForeground&&Wt.push("color: ".concat(this.styles.keybindingLabel.keybindingLabelForeground,";")),Wt.push("}"));var yn=Wt.join(`
- `);yn!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=yn)}}}]),L}(un.a);Is.MAX_WIDTH=600;var fs=e("Zr1c"),Il=e("Lx4V"),Ts=e("C/vA"),zu=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},Eu=function(V,De){return function(L,P){De(L,P,V)}},uu=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;return Object(c.a)(this,L),H=De.call(this),H.quickInputService=P,H.instantiationService=j,H.registry=qa.a.as(Il.b.Quickaccess),H.mapProviderToDescriptor=new Map,H.lastAcceptedPickerValues=new Map,H.visibleQuickAccess=void 0,H}return Object(r.a)(L,[{key:"show",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",H=arguments.length>1?arguments[1]:void 0,Ce,ze=this.getOrInstantiateProvider(j),yt=Object(ur.a)(ze,2),Zt=yt[0],Wt=yt[1],yn=this.visibleQuickAccess,tr=yn==null?void 0:yn.descriptor;if(yn&&Wt&&tr===Wt){j!==Wt.prefix&&!(H==null?void 0:H.preserveValue)&&(yn.picker.value=j),this.adjustValueSelection(yn.picker,Wt,H);return}if(Wt&&!(H==null?void 0:H.preserveValue)){var Er=void 0;if(yn&&tr&&tr!==Wt){var ni=yn.value.substr(tr.prefix.length);ni&&(Er="".concat(Wt.prefix).concat(ni))}if(!Er){var Oi=Zt==null?void 0:Zt.defaultFilterValue;Oi===Il.a.LAST?Er=this.lastAcceptedPickerValues.get(Wt):typeof Oi=="string"&&(Er="".concat(Wt.prefix).concat(Oi))}typeof Er=="string"&&(j=Er)}var oi=new un.b,ui=oi.add(this.quickInputService.createQuickPick());ui.value=j,this.adjustValueSelection(ui,Wt,H),ui.placeholder=Wt==null?void 0:Wt.placeholder,ui.quickNavigate=H==null?void 0:H.quickNavigateConfiguration,ui.hideInput=!!ui.quickNavigate&&!yn,(typeof(H==null?void 0:H.itemActivation)=="number"||(H==null?void 0:H.quickNavigateConfiguration))&&(ui.itemActivation=(Ce=H==null?void 0:H.itemActivation)!==null&&Ce!==void 0?Ce:fs.b.SECOND),ui.contextKey=Wt==null?void 0:Wt.contextKey,ui.filterValue=function(Pa){return Pa.substring(Wt?Wt.prefix.length:0)},(Wt==null?void 0:Wt.placeholder)&&(ui.ariaLabel=Wt==null?void 0:Wt.placeholder),oi.add(this.registerPickerListeners(ui,Zt,Wt,j));var Bi=oi.add(new f.b);Zt&&oi.add(Zt.provide(ui,Bi.token)),Object(Ts.a)(ui.onDidHide)(function(){ui.selectedItems.length===0&&Bi.cancel(),oi.dispose()}),ui.show()}},{key:"adjustValueSelection",value:function(j,H,Ce){var ze,yt;(Ce==null?void 0:Ce.preserveValue)?yt=[j.value.length,j.value.length]:yt=[(ze=H==null?void 0:H.prefix.length)!==null&&ze!==void 0?ze:0,j.value.length],j.valueSelection=yt}},{key:"registerPickerListeners",value:function(j,H,Ce,ze){var yt=this,Zt=new un.b,Wt=this.visibleQuickAccess={picker:j,descriptor:Ce,value:ze};return Zt.add(Object(un.h)(function(){Wt===yt.visibleQuickAccess&&(yt.visibleQuickAccess=void 0)})),Zt.add(j.onDidChangeValue(function(yn){var tr=yt.getOrInstantiateProvider(yn),Er=Object(ur.a)(tr,1),ni=Er[0];ni!==H?yt.show(yn,{preserveValue:!0}):Wt.value=yn})),Ce&&Zt.add(j.onDidAccept(function(){yt.lastAcceptedPickerValues.set(Ce,j.value)})),Zt}},{key:"getOrInstantiateProvider",value:function(j){var H=this.registry.getQuickAccessProvider(j);if(!H)return[void 0,void 0];var Ce=this.mapProviderToDescriptor.get(H);return Ce||(Ce=this.instantiationService.createInstance(H.ctor),this.mapProviderToDescriptor.set(H,Ce)),[Ce,H]}}]),L}(un.a);uu=zu([Eu(0,fs.a),Eu(1,Ir.a)],uu);var Fu=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},cu=function(V,De){return function(L,P){De(L,P,V)}},Fo=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H,Ce,ze){var yt;return Object(c.a)(this,L),yt=De.call(this,H),yt.instantiationService=P,yt.contextKeyService=j,yt.accessibilityService=Ce,yt.layoutService=ze,yt.contexts=new Map,yt}return Object(r.a)(L,[{key:"controller",get:function(){return this._controller||(this._controller=this._register(this.createController())),this._controller}},{key:"quickAccess",get:function(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(uu))),this._quickAccess}},{key:"createController",value:function(){var j=this,H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.layoutService,Ce=arguments.length>1?arguments[1]:void 0,ze,yt,Zt={idPrefix:"quickInput_",container:H.container,ignoreFocusOut:function(){return!1},isScreenReaderOptimized:function(){return j.accessibilityService.isScreenReaderOptimized()},backKeybindingLabel:function(){},setContextKey:function(tr){return j.setContextKey(tr)},returnFocus:function(){return H.focus()},createList:function(tr,Er,ni,Oi,oi){return j.instantiationService.createInstance(At.d,tr,Er,ni,Oi,oi)},styles:this.computeStyles()},Wt=this._register(new Is(Object.assign(Object.assign({},Zt),Ce)));return Wt.layout(H.dimension,(yt=(ze=H.offset)===null||ze===void 0?void 0:ze.top)!==null&&yt!==void 0?yt:0),this._register(H.onDidLayout(function(yn){var tr,Er;return Wt.layout(yn,(Er=(tr=H.offset)===null||tr===void 0?void 0:tr.top)!==null&&Er!==void 0?Er:0)})),this._register(Wt.onShow(function(){return j.resetContextKeys()})),this._register(Wt.onHide(function(){return j.resetContextKeys()})),Wt}},{key:"setContextKey",value:function(j){var H;j&&(H=this.contexts.get(j),H||(H=new gi.c(j,!1).bindTo(this.contextKeyService),this.contexts.set(j,H))),!(H&&H.get())&&(this.resetContextKeys(),H&&H.set(!0))}},{key:"resetContextKeys",value:function(){this.contexts.forEach(function(j){j.get()&&j.reset()})}},{key:"pick",value:function(j){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.a.None;return this.controller.pick(j,H,Ce)}},{key:"createQuickPick",value:function(){return this.controller.createQuickPick()}},{key:"updateStyles",value:function(){this.controller.applyStyles(this.computeStyles())}},{key:"computeStyles",value:function(){return{widget:Object.assign({},Object(El.d)(this.theme,{quickInputBackground:po.nc,quickInputForeground:po.oc,quickInputTitleBackground:po.qc,contrastBorder:po.h,widgetShadow:po.Gc})),inputBox:Object(El.d)(this.theme,{inputForeground:po.lb,inputBackground:po.jb,inputBorder:po.kb,inputValidationInfoBackground:po.pb,inputValidationInfoForeground:po.rb,inputValidationInfoBorder:po.qb,inputValidationWarningBackground:po.sb,inputValidationWarningForeground:po.ub,inputValidationWarningBorder:po.tb,inputValidationErrorBackground:po.mb,inputValidationErrorForeground:po.ob,inputValidationErrorBorder:po.nb}),countBadge:Object(El.d)(this.theme,{badgeBackground:po.c,badgeForeground:po.d,badgeBorder:po.h}),button:Object(El.d)(this.theme,{buttonForeground:po.f,buttonBackground:po.e,buttonHoverBackground:po.g,buttonBorder:po.h}),progressBar:Object(El.d)(this.theme,{progressBarBackground:po.mc}),keybindingLabel:Object(El.d)(this.theme,{keybindingLabelBackground:po.vb,keybindingLabelForeground:po.yb,keybindingLabelBorder:po.wb,keybindingLabelBottomBorder:po.xb,keybindingLabelShadow:po.Gc}),list:Object(El.d)(this.theme,{listBackground:po.nc,listInactiveFocusForeground:po.Gb,listInactiveFocusBackground:po.pc,listFocusOutline:po.b,listInactiveFocusOutline:po.b,pickerGroupBorder:po.hc,pickerGroupForeground:po.ic})}}}]),L}(Li.c);Fo=Fu([cu(0,Ir.a),cu(1,gi.b),cu(2,Li.b),cu(3,oa.b),cu(4,Pu)],Fo);var Lu=function(V,De,L,P){var j=arguments.length,H=j<3?De:P===null?P=Object.getOwnPropertyDescriptor(De,L):P,Ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")H=Reflect.decorate(V,De,L,P);else for(var ze=V.length-1;ze>=0;ze--)(Ce=V[ze])&&(H=(j<3?Ce(H):j>3?Ce(De,L,H):Ce(De,L))||H);return j>3&&H&&Object.defineProperty(De,L,H),H},gl=function(V,De){return function(L,P){De(L,P,V)}},du=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j,H,Ce,ze,yt){var Zt;Object(c.a)(this,L),Zt=De.call(this,j,H,Ce,ze,yt),Zt.host=void 0;var Wt=Nc.get(P);return Zt.host={_serviceBrand:void 0,get container(){return Wt.widget.getDomNode()},get dimension(){return P.getLayoutInfo()},get onDidLayout(){return P.onDidLayoutChange},focus:function(){return P.focus()}},Zt}return Object(r.a)(L,[{key:"createController",value:function(){return Object(nn.a)(Object(bn.a)(L.prototype),"createController",this).call(this,this.host)}}]),L}(Fo);du=Lu([gl(1,Ir.a),gl(2,gi.b),gl(3,Li.b),gl(4,oa.b),gl(5,Pu)],du);var kc=function(){function V(De,L){Object(c.a)(this,V),this.instantiationService=De,this.codeEditorService=L,this.mapEditorToService=new Map}return Object(r.a)(V,[{key:"activeService",get:function(){var L=this,P=this.codeEditorService.getFocusedCodeEditor();if(!P)throw new Error("Quick input service needs a focused editor to work.");var j=this.mapEditorToService.get(P);if(!j){var H=j=this.instantiationService.createInstance(du,P);this.mapEditorToService.set(P,j),Object(Ts.a)(P.onDidDispose)(function(){H.dispose(),L.mapEditorToService.delete(P)})}return j}},{key:"quickAccess",get:function(){return this.activeService.quickAccess}},{key:"pick",value:function(L){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.a.None;return this.activeService.pick(L,P,j)}},{key:"createQuickPick",value:function(){return this.activeService.createQuickPick()}}]),V}();kc=Lu([gl(0,Ir.a),gl(1,pe.a)],kc);var Nc=function(){function V(De){Object(c.a)(this,V),this.editor=De,this.widget=new ld(this.editor)}return Object(r.a)(V,[{key:"dispose",value:function(){this.widget.dispose()}}],[{key:"get",value:function(L){return L.getContribution(V.ID)}}]),V}();Nc.ID="editor.controller.quickInput";var ld=function(){function V(De){Object(c.a)(this,V),this.codeEditor=De,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}return Object(r.a)(V,[{key:"getId",value:function(){return V.ID}},{key:"getDomNode",value:function(){return this.domNode}},{key:"getPosition",value:function(){return{preference:2}}},{key:"dispose",value:function(){this.codeEditor.removeOverlayWidget(this)}}]),V}();ld.ID="editor.contrib.quickInputWidget",Object(bo.l)(Nc.ID,Nc);var Vo;(function(V){var De=new Nr.a,L=function(){function ze(yt,Zt){Object(c.a)(this,ze),this._serviceId=yt,this._factory=Zt,this._value=null}return Object(r.a)(ze,[{key:"id",get:function(){return this._serviceId}},{key:"get",value:function(Zt){if(!this._value){if(Zt&&(this._value=Zt[this._serviceId.toString()]),this._value||(this._value=this._factory(Zt)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");De.set(this._serviceId,this._value)}return this._value}}]),ze}();V.LazyStaticService=L;var P=[];function j(ze,yt){var Zt=new L(ze,yt);return P.push(Zt),Zt}function H(ze){var yt=new Nr.a,Zt=Object(ae.a)(Object(io.a)()),Wt;try{for(Zt.s();!(Wt=Zt.n()).done;){var yn=Wt.value,tr=Object(ur.a)(yn,2),Er=tr[0],ni=tr[1];yt.set(Er,ni)}}catch(ui){Zt.e(ui)}finally{Zt.f()}for(var Oi in ze)ze.hasOwnProperty(Oi)&&yt.set(Object(Ir.c)(Oi),ze[Oi]);P.forEach(function(ui){return yt.set(ui.id,ui.get(ze))});var oi=new Fe(yt,!0);return yt.set(Ir.a,oi),[yt,oi]}V.init=H,V.instantiationService=j(Ir.a,function(){return new Fe(De,!0)});var Ce=new Za;V.configurationService=j($t.a,function(){return Ce}),V.resourceConfigurationService=j(Ze.a,function(){return new co(Ce)}),V.resourcePropertiesService=j(Ze.b,function(){return new Do(Ce)}),V.contextService=j(Wi.a,function(){return new ya}),V.labelService=j(at.a,function(){return new Ca}),V.telemetryService=j(ql.a,function(){return new ra}),V.dialogService=j(ot.a,function(){return new La}),V.notificationService=j(vi.a,function(){return new Wa}),V.markerService=j(En.b,function(){return new pr}),V.modeService=j(Tt.a,function(ze){return new Ao}),V.standaloneThemeService=j(jr.a,function(){return new fn}),V.logService=j(mt.b,function(){return new mt.d(new mt.a)}),V.undoRedoService=j(So.a,function(ze){return new Ms(V.dialogService.get(ze),V.notificationService.get(ze))}),V.modelService=j(Ue.a,function(ze){return new ko.a(V.configurationService.get(ze),V.resourcePropertiesService.get(ze),V.standaloneThemeService.get(ze),V.logService.get(ze),V.undoRedoService.get(ze))}),V.markerDecorationsService=j(ta.a,function(ze){return new Ta(V.modelService.get(ze),V.markerService.get(ze))}),V.contextKeyService=j(gi.b,function(ze){return new Ea(V.configurationService.get(ze))}),V.codeEditorService=j(pe.a,function(ze){return new xl(null,V.contextKeyService.get(ze),V.standaloneThemeService.get(ze))}),V.editorProgressService=j($a.a,function(){return new Yi}),V.storageService=j(Gr.a,function(){return new Gr.b}),V.editorWorkerService=j(Sn.a,function(ze){return new Dn(V.modelService.get(ze),V.resourceConfigurationService.get(ze),V.logService.get(ze))})})(Vo||(Vo={}));var Cd=function(V){Object(Rt.a)(L,V);var De=Object(Ft.a)(L);function L(P,j){var H;Object(c.a)(this,L),H=De.call(this);var Ce=Vo.init(j),ze=Object(ur.a)(Ce,2),yt=ze[0],Zt=ze[1];H._serviceCollection=yt,H._instantiationService=Zt;var Wt=H.get($t.a),yn=H.get(vi.a),tr=H.get(ql.a),Er=H.get(Li.b),ni=H.get(mt.b),Oi=H.get(gi.b),oi=function(yo,bs){var Xo=null;return j&&(Xo=j[yo.toString()]),Xo||(Xo=bs()),H._serviceCollection.set(yo,Xo),Xo};oi(oa.b,function(){return new go(Oi,Wt)}),oi(At.a,function(){return new At.b(Er)});var ui=oi(Ee.b,function(){return new Ri(H._instantiationService)}),Bi=oi(Ur.a,function(){return H._register(new Oa(Oi,ui,tr,yn,ni,P))}),Pa=oi(Pu,function(){return new no(Vo.codeEditorService.get(pe.a),P)});oi(fs.a,function(){return new kc(Zt,Vo.codeEditorService.get(pe.a))});var za=oi(or.b,function(){return H._register(new $e(Pa))});return oi(Ua.a,function(){return new xo}),oi(or.a,function(){var wo=new Xu(tr,yn,za,Bi,Er);return wo.configure({blockMouse:!1}),H._register(wo)}),oi(Ei.a,function(){return new Gi(ui)}),oi(We.a,function(){return new Fa(Vo.modelService.get(Ue.a))}),H}return Object(r.a)(L,[{key:"get",value:function(j){var H=this._serviceCollection.get(j);if(!H)throw new Error("Missing service "+j);return H}},{key:"set",value:function(j,H){this._serviceCollection.set(j,H)}},{key:"has",value:function(j){return this._serviceCollection.has(j)}}]),L}(un.a),nd=e("HdwC");function rd(V,De,L){var P=new Cd(V,De),j=null;P.has(ht.a)||(j=new ii(Vo.modelService.get()),P.set(ht.a,j)),P.has(_e.a)||P.set(_e.a,new Ct(P.get(pe.a),P.get(Ee.b)));var H=L(P);return j&&j.setEditor(H),H}function Nd(V,De,L){return rd(V,L||{},function(P){return new St(V,De,P,P.get(Ir.a),P.get(pe.a),P.get(Ee.b),P.get(gi.b),P.get(Ur.a),P.get(or.b),P.get(jr.a),P.get(vi.a),P.get($t.a),P.get(oa.b),P.get(Ue.a),P.get(Tt.a))})}function Ed(V){return Vo.codeEditorService.get().onCodeEditorAdd(function(De){V(De)})}function Bu(V,De,L){return rd(V,L||{},function(P){return new Qt(V,De,P,P.get(Ir.a),P.get(gi.b),P.get(Ur.a),P.get(or.b),P.get(Sn.a),P.get(pe.a),P.get(jr.a),P.get(vi.a),P.get($t.a),P.get(or.a),P.get($a.a),P.get(Ua.a))})}function Sd(V,De){return new Bt.a(V,De)}function zc(V,De,L){return Cn(Vo.modelService.get(),Vo.modeService.get(),V,De,L)}function rc(V,De){Vo.modelService.get().setMode(V,Vo.modeService.get().create(De))}function ru(V,De,L){V&&Vo.markerService.get().changeOne(De,V.uri,L)}function ic(V){return Vo.markerService.get().read(V)}function Cc(V){return Vo.markerService.get().onMarkerChanged(V)}function $c(V){return Vo.modelService.get().getModel(V)}function Ad(){return Vo.modelService.get().getModels()}function jd(V){return Vo.modelService.get().onModelAdded(V)}function Ac(V){return Vo.modelService.get().onModelRemoved(V)}function Fc(V){return Vo.modelService.get().onModelModeChanged(function(De){V({model:De.model,oldLanguage:De.oldModeId})})}function ud(V){return dr(Vo.modelService.get(),V)}function cd(V,De){var L=Vo.standaloneThemeService.get();return L.registerEditorContainer(V),pt.colorizeElement(L,Vo.modeService.get(),V,De)}function Fd(V,De,L){var P=Vo.standaloneThemeService.get();return P.registerEditorContainer(document.body),pt.colorize(Vo.modeService.get(),V,De,L)}function Dd(V,De){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:4,P=Vo.standaloneThemeService.get();return P.registerEditorContainer(document.body),pt.colorizeModelLine(V,De,L)}function Bd(V){var De=nt.D.get(V);return De||{getInitialState:function(){return kt.c},tokenize:function(P,j,H,Ce){return Object(kt.d)(V,P,H,Ce)}}}function wd(V,De){var L=Vo.modeService.get();L.triggerMode(De);for(var P=Bd(De),j=Object(_n.Q)(V),H=[],Ce=P.getInitialState(),ze=0,yt=j.length;ze<yt;ze++){var Zt=j[ze],Wt=P.tokenize(Zt,!0,Ce,0);H[ze]=Wt.tokens,Ce=Wt.endState}return H}function id(V,De){Vo.standaloneThemeService.get().defineTheme(V,De)}function Wd(V){Vo.standaloneThemeService.get().setTheme(V)}function dd(){Object(nd.b)()}function _d(V,De){return Ee.a.registerCommand({id:V,handler:De})}function Gc(){return{create:Nd,onDidCreateEditor:Ed,createDiffEditor:Bu,createDiffNavigator:Sd,createModel:zc,setModelLanguage:rc,setModelMarkers:ru,getModelMarkers:ic,onDidChangeMarkers:Cc,getModels:Ad,getModel:$c,onDidCreateModel:jd,onWillDisposeModel:Ac,onDidChangeModelLanguage:Fc,createWebWorker:ud,colorizeElement:cd,colorize:Fd,colorizeModelLine:Dd,tokenize:wd,defineTheme:id,setTheme:Wd,remeasureFonts:dd,registerCommand:_d,AccessibilitySupport:t,ContentWidgetPositionPreference:k,CursorChangeReason:T,DefaultEndOfLine:I,EditorAutoIndentStrategy:$,EditorOption:A,EndOfLinePreference:g,EndOfLineSequence:b,MinimapPosition:te,MouseTargetType:re,OverlayWidgetPositionPreference:ye,OverviewRulerLane:q,RenderLineNumbersType:oe,RenderMinimap:he,ScrollbarVisibility:ne,ScrollType:ue,TextEditorCursorBlinkingStyle:ce,TextEditorCursorStyle:R,TrackedRangeStickiness:y,WrappingIndent:C,ConfigurationChangedEvent:u.b,BareFontInfo:qe.a,FontInfo:qe.b,TextModelResolvedOptions:ut.e,FindMatch:ut.b,EditorType:st.a,EditorOptions:u.g}}function fd(V,De){if(!De||!Array.isArray(De))return!1;var L=Object(ae.a)(De),P;try{for(L.s();!(P=L.n()).done;){var j=P.value;if(!V(j))return!1}}catch(H){L.e(H)}finally{L.f()}return!0}function Yc(V,De){return typeof V=="boolean"?V:De}function hd(V,De){return typeof V=="string"?V:De}function Qc(V){var De={},L=Object(ae.a)(V),P;try{for(L.s();!(P=L.n()).done;){var j=P.value;De[j]=!0}}catch(H){L.e(H)}finally{L.f()}return De}function Xc(V){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;De&&(V=V.map(function(P){return P.toLowerCase()}));var L=Qc(V);return De?function(P){return L[P.toLowerCase()]!==void 0&&L.hasOwnProperty(P.toLowerCase())}:function(P){return L[P]!==void 0&&L.hasOwnProperty(P)}}function Su(V,De){De=De.replace(/@@/g,"");var L=0,P;do P=!1,De=De.replace(/@(\w+)/g,function(H,Ce){P=!0;var ze="";if(typeof V[Ce]=="string")ze=V[Ce];else if(V[Ce]&&V[Ce]instanceof RegExp)ze=V[Ce].source;else throw V[Ce]===void 0?cr(V,"language definition does not contain attribute '"+Ce+"', used at: "+De):cr(V,"attribute reference '"+Ce+"' must be a string, used at: "+De);return Ci(ze)?"":"(?:"+ze+")"}),L++;while(P&&L<5);De=De.replace(/\x01/g,"@");var j=(V.ignoreCase?"i":"")+(V.unicode?"u":"");return new RegExp(De,j)}function ac(V,De,L,P){if(P<0)return V;if(P<De.length)return De[P];if(P>=100){P=P-100;var j=L.split(".");if(j.unshift(L),P<j.length)return j[P]}return null}function Md(V,De,L,P){var j=-1,H=L,Ce=L.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);Ce&&(Ce[3]&&(j=parseInt(Ce[3]),Ce[2]&&(j=j+100)),H=Ce[4]);var ze="~",yt=H;!H||H.length===0?(ze="!=",yt=""):/^\w*$/.test(yt)?ze="==":(Ce=H.match(/^(@|!@|~|!~|==|!=)(.*)$/),Ce&&(ze=Ce[1],yt=Ce[2]));var Zt;if((ze==="~"||ze==="!~")&&/^(\w|\|)*$/.test(yt)){var Wt=Xc(yt.split("|"),V.ignoreCase);Zt=function(ui){return ze==="~"?Wt(ui):!Wt(ui)}}else if(ze==="@"||ze==="!@"){var yn=V[yt];if(!yn)throw cr(V,"the @ match target '"+yt+"' is not defined, in rule: "+De);if(!fd(function(oi){return typeof oi=="string"},yn))throw cr(V,"the @ match target '"+yt+"' must be an array of strings, in rule: "+De);var tr=Xc(yn,V.ignoreCase);Zt=function(ui){return ze==="@"?tr(ui):!tr(ui)}}else if(ze==="~"||ze==="!~")if(yt.indexOf("$")<0){var Er=Su(V,"^"+yt+"$");Zt=function(ui){return ze==="~"?Er.test(ui):!Er.test(ui)}}else Zt=function(ui,Bi,Pa,za){var wo=Su(V,"^"+Lr(V,yt,Bi,Pa,za)+"$");return wo.test(ui)};else if(yt.indexOf("$")<0){var ni=Ii(V,yt);Zt=function(ui){return ze==="=="?ui===ni:ui!==ni}}else{var Oi=Ii(V,yt);Zt=function(ui,Bi,Pa,za,wo){var yo=Lr(V,Oi,Bi,Pa,za);return ze==="=="?ui===yo:ui!==yo}}return j===-1?{name:L,value:P,test:function(ui,Bi,Pa,za){return Zt(ui,ui,Bi,Pa,za)}}:{name:L,value:P,test:function(ui,Bi,Pa,za){var wo=ac(ui,Bi,Pa,j);return Zt(wo||"",ui,Bi,Pa,za)}}}function Zc(V,De,L){if(L){if(typeof L=="string")return L;if(L.token||L.token===""){if(typeof L.token!="string")throw cr(V,"a 'token' attribute must be of type string, in rule: "+De);var P={token:L.token};if(L.token.indexOf("$")>=0&&(P.tokenSubst=!0),typeof L.bracket=="string")if(L.bracket==="@open")P.bracket=1;else if(L.bracket==="@close")P.bracket=-1;else throw cr(V,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+De);if(L.next){if(typeof L.next!="string")throw cr(V,"the next state must be a string value in rule: "+De);var j=L.next;if(!/^(@pop|@push|@popall)$/.test(j)&&(j[0]==="@"&&(j=j.substr(1)),j.indexOf("$")<0&&!ki(V,Lr(V,j,"",[],""))))throw cr(V,"the next state '"+L.next+"' is not defined in rule: "+De);P.next=j}return typeof L.goBack=="number"&&(P.goBack=L.goBack),typeof L.switchTo=="string"&&(P.switchTo=L.switchTo),typeof L.log=="string"&&(P.log=L.log),typeof L.nextEmbedded=="string"&&(P.nextEmbedded=L.nextEmbedded,V.usesEmbedded=!0),P}else if(Array.isArray(L)){for(var H=[],Ce=0,ze=L.length;Ce<ze;Ce++)H[Ce]=Zc(V,De,L[Ce]);return{group:H}}else if(L.cases){var yt=[];for(var Zt in L.cases)if(L.cases.hasOwnProperty(Zt)){var Wt=Zc(V,De,L.cases[Zt]);Zt==="@default"||Zt==="@"||Zt===""?yt.push({test:void 0,value:Wt,name:Zt}):Zt==="@eos"?yt.push({test:function(Er,ni,Oi,oi){return oi},value:Wt,name:Zt}):yt.push(Md(V,De,Zt,Wt))}var yn=V.defaultToken;return{test:function(Er,ni,Oi,oi){var ui=Object(ae.a)(yt),Bi;try{for(ui.s();!(Bi=ui.n()).done;){var Pa=Bi.value,za=!Pa.test||Pa.test(Er,ni,Oi,oi);if(za)return Pa.value}}catch(wo){ui.e(wo)}finally{ui.f()}return yn}}}else throw cr(V,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+De)}else return{token:""}}var vd=function(){function V(De){Object(c.a)(this,V),this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=De}return Object(r.a)(V,[{key:"setRegex",value:function(L,P){var j;if(typeof P=="string")j=P;else if(P instanceof RegExp)j=P.source;else throw cr(L,"rules must start with a match string or regular expression: "+this.name);this.matchOnlyAtLineStart=j.length>0&&j[0]==="^",this.name=this.name+": "+j,this.regex=Su(L,"^(?:"+(this.matchOnlyAtLineStart?j.substr(1):j)+")")}},{key:"setAction",value:function(L,P){this.action=Zc(L,this.name,P)}}]),V}();function Ud(V,De){if(!De||typeof De!="object")throw new Error("Monarch: expecting a language definition object");var L={};L.languageId=V,L.includeLF=Yc(De.includeLF,!1),L.noThrow=!1,L.maxStack=100,L.start=typeof De.start=="string"?De.start:null,L.ignoreCase=Yc(De.ignoreCase,!1),L.unicode=Yc(De.unicode,!1),L.tokenPostfix=hd(De.tokenPostfix,"."+L.languageId),L.defaultToken=hd(De.defaultToken,"source"),L.usesEmbedded=!1;var P=De;P.languageId=V,P.includeLF=L.includeLF,P.ignoreCase=L.ignoreCase,P.unicode=L.unicode,P.noThrow=L.noThrow,P.usesEmbedded=L.usesEmbedded,P.stateNames=De.tokenizer,P.defaultToken=L.defaultToken;function j(tr,Er,ni){var Oi=Object(ae.a)(ni),oi;try{for(Oi.s();!(oi=Oi.n()).done;){var ui=oi.value,Bi=ui.include;if(Bi){if(typeof Bi!="string")throw cr(L,"an 'include' attribute must be a string at: "+tr);if(Bi[0]==="@"&&(Bi=Bi.substr(1)),!De.tokenizer[Bi])throw cr(L,"include target '"+Bi+"' is not defined at: "+tr);j(tr+"."+Bi,Er,De.tokenizer[Bi])}else{var Pa=new vd(tr);if(Array.isArray(ui)&&ui.length>=1&&ui.length<=3)if(Pa.setRegex(P,ui[0]),ui.length>=3)if(typeof ui[1]=="string")Pa.setAction(P,{token:ui[1],next:ui[2]});else if(typeof ui[1]=="object"){var za=ui[1];za.next=ui[2],Pa.setAction(P,za)}else throw cr(L,"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: "+tr);else Pa.setAction(P,ui[1]);else{if(!ui.regex)throw cr(L,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+tr);ui.name&&typeof ui.name=="string"&&(Pa.name=ui.name),ui.matchOnlyAtStart&&(Pa.matchOnlyAtLineStart=Yc(ui.matchOnlyAtLineStart,!1)),Pa.setRegex(P,ui.regex),Pa.setAction(P,ui.action)}Er.push(Pa)}}}catch(wo){Oi.e(wo)}finally{Oi.f()}}if(!De.tokenizer||typeof De.tokenizer!="object")throw cr(L,"a language definition must define the 'tokenizer' attribute as an object");L.tokenizer=[];for(var H in De.tokenizer)if(De.tokenizer.hasOwnProperty(H)){L.start||(L.start=H);var Ce=De.tokenizer[H];L.tokenizer[H]=new Array,j("tokenizer."+H,L.tokenizer[H],Ce)}if(L.usesEmbedded=P.usesEmbedded,De.brackets){if(!Array.isArray(De.brackets))throw cr(L,"the 'brackets' attribute must be defined as an array")}else De.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];var ze=[],yt=Object(ae.a)(De.brackets),Zt;try{for(yt.s();!(Zt=yt.n()).done;){var Wt=Zt.value,yn=Wt;if(yn&&Array.isArray(yn)&&yn.length===3&&(yn={token:yn[2],open:yn[0],close:yn[1]}),yn.open===yn.close)throw cr(L,"open and close brackets in a 'brackets' attribute must be different: "+yn.open+`
- hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof yn.open=="string"&&typeof yn.token=="string"&&typeof yn.close=="string")ze.push({token:yn.token+L.tokenPostfix,open:Ii(L,yn.open),close:Ii(L,yn.close)});else throw cr(L,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}}catch(tr){yt.e(tr)}finally{yt.f()}return L.brackets=ze,L.noThrow=!0,L}function Vd(V){Co.a.registerLanguage(V)}function Kd(){var V=[];return V=V.concat(Co.a.getLanguages()),V}function Jc(V){var De=Vo.modeService.get().getLanguageIdentifier(V);return De?De.id:0}function Ld(V,De){var L=Vo.modeService.get().onDidCreateMode(function(P){P.getId()===V&&(L.dispose(),De())});return L}function gd(V,De){var L=Vo.modeService.get().getLanguageIdentifier(V);if(!L)throw new Error("Cannot set configuration for unknown language ".concat(V));return kn.a.register(L,De,100)}var Hd=function(){function V(De,L){Object(c.a)(this,V),this._languageIdentifier=De,this._actual=L}return Object(r.a)(V,[{key:"getInitialState",value:function(){return this._actual.getInitialState()}},{key:"tokenize",value:function(L,P,j,H){if(typeof this._actual.tokenize=="function")return xd.adaptTokenize(this._languageIdentifier.language,this._actual,L,j,H);throw new Error("Not supported!")}},{key:"tokenize2",value:function(L,P,j){var H=this._actual.tokenizeEncoded(L,j);return new h.c(H.tokens,H.endState)}}]),V}(),xd=function(){function V(De,L,P){Object(c.a)(this,V),this._standaloneThemeService=De,this._languageIdentifier=L,this._actual=P}return Object(r.a)(V,[{key:"getInitialState",value:function(){return this._actual.getInitialState()}},{key:"tokenize",value:function(L,P,j,H){return V.adaptTokenize(this._languageIdentifier.language,this._actual,L,j,H)}},{key:"_toBinaryTokens",value:function(L,P){for(var j=this._languageIdentifier.id,H=this._standaloneThemeService.getColorTheme().tokenTheme,Ce=[],ze=0,yt=0,Zt=0,Wt=L.length;Zt<Wt;Zt++){var yn=L[Zt],tr=H.match(j,yn.scopes);if(!(ze>0&&Ce[ze-1]===tr)){var Er=yn.startIndex;Zt===0?Er=0:Er<yt&&(Er=yt),Ce[ze++]=Er+P,Ce[ze++]=tr,yt=Er}}for(var ni=new Uint32Array(ze),Oi=0;Oi<ze;Oi++)ni[Oi]=Ce[Oi];return ni}},{key:"tokenize2",value:function(L,P,j,H){var Ce=this._actual.tokenize(L,j),ze=this._toBinaryTokens(Ce.tokens,H),yt;return Ce.endState.equals(j)?yt=j:yt=Ce.endState,new h.c(ze,yt)}}],[{key:"_toClassicTokens",value:function(L,P,j){for(var H=[],Ce=0,ze=0,yt=L.length;ze<yt;ze++){var Zt=L[ze],Wt=Zt.startIndex;ze===0?Wt=0:Wt<Ce&&(Wt=Ce),H[ze]=new h.a(Wt+j,Zt.scopes,P),Ce=Wt}return H}},{key:"adaptTokenize",value:function(L,P,j,H,Ce){var ze=P.tokenize(j,H),yt=V._toClassicTokens(ze.tokens,L,Ce),Zt;return ze.endState.equals(H)?Zt=H:Zt=ze.endState,new h.b(yt,Zt)}}]),V}();function zd(V){return"tokenizeEncoded"in V}function jt(V){return V&&typeof V.then=="function"}function Ne(V){if(V){for(var De=[null],L=1,P=V.length;L<P;L++)De[L]=Jo.a.fromHex(V[L]);Vo.standaloneThemeService.get().setColorMapOverride(De)}else Vo.standaloneThemeService.get().setColorMapOverride(null)}function vt(V,De){var L=Vo.modeService.get().getLanguageIdentifier(V);if(!L)throw new Error("Cannot set tokens provider for unknown language ".concat(V));var P=function(H){return zd(H)?new Hd(L,H):new xd(Vo.standaloneThemeService.get(),L,H)};return jt(De)?nt.D.registerPromise(V,De.then(function(j){return P(j)})):nt.D.register(V,P(De))}function Mt(V,De){var L=function(j){return me(Vo.modeService.get(),Vo.standaloneThemeService.get(),V,Ud(V,j))};return jt(De)?nt.D.registerPromise(V,De.then(function(P){return L(P)})):nt.D.register(V,L(De))}function On(V,De){return nt.w.register(V,De)}function Fn(V,De){return nt.x.register(V,De)}function Qn(V,De){return nt.z.register(V,De)}function gr(V,De){return nt.p.register(V,{provideHover:function(P,j,H){var Ce=P.getWordAtPosition(j);return Promise.resolve(De.provideHover(P,j,H)).then(function(ze){if(!!ze)return!ze.range&&Ce&&(ze.range=new v.a(j.lineNumber,Ce.startColumn,j.lineNumber,Ce.endColumn)),ze.range||(ze.range=new v.a(j.lineNumber,j.column,j.lineNumber,j.column)),ze})}})}function Xr(V,De){return nt.m.register(V,De)}function mi(V,De){return nt.i.register(V,De)}function qi(V,De){return nt.u.register(V,De)}function Ka(V,De){return nt.f.register(V,De)}function Xa(V,De){return nt.q.register(V,De)}function Ni(V,De){return nt.E.register(V,De)}function Ia(V,De){return nt.b.register(V,De)}function zo(V,De){return nt.a.register(V,{provideCodeActions:function(P,j,H,Ce){var ze=Vo.markerService.get().read({resource:P.uri}).filter(function(yt){return v.a.areIntersectingOrTouching(yt,j)});return De.provideCodeActions(P,j,{markers:ze,only:H.only},Ce)}})}function Bo(V,De){return nt.g.register(V,De)}function Ys(V,De){return nt.j.register(V,De)}function iu(V,De){return nt.v.register(V,De)}function ju(V,De){return nt.t.register(V,De)}function Vs(V,De){return nt.d.register(V,De)}function ml(V,De){return nt.c.register(V,De)}function as(V,De){return nt.o.register(V,De)}function hc(V,De){return nt.e.register(V,De)}function Dl(V,De){return nt.y.register(V,De)}function Ll(V,De){return nt.l.register(V,De)}function wl(V,De){return nt.k.register(V,De)}function Bc(){return{register:Vd,getLanguages:Kd,onLanguage:Ld,getEncodedLanguageId:Jc,setLanguageConfiguration:gd,setColorMap:Ne,setTokensProvider:vt,setMonarchTokensProvider:Mt,registerReferenceProvider:On,registerRenameProvider:Fn,registerCompletionItemProvider:Vs,registerSignatureHelpProvider:Qn,registerHoverProvider:gr,registerDocumentSymbolProvider:Xr,registerDocumentHighlightProvider:mi,registerLinkedEditingRangeProvider:qi,registerDefinitionProvider:Ka,registerImplementationProvider:Xa,registerTypeDefinitionProvider:Ni,registerCodeLensProvider:Ia,registerCodeActionProvider:zo,registerDocumentFormattingEditProvider:Bo,registerDocumentRangeFormattingEditProvider:Ys,registerOnTypeFormattingEditProvider:iu,registerLinkProvider:ju,registerColorProvider:ml,registerFoldingRangeProvider:as,registerDeclarationProvider:hc,registerSelectionRangeProvider:Dl,registerDocumentSemanticTokensProvider:Ll,registerDocumentRangeSemanticTokensProvider:wl,DocumentHighlightKind:Y,CompletionItemKind:p,CompletionItemTag:w,CompletionItemInsertTextRule:l,SymbolKind:Z,SymbolTag:ee,IndentAction:d,CompletionTriggerKind:S,SignatureHelpTriggerKind:be,InlineHintKind:O,FoldingRangeKind:nt.n}}var xu=e("hN88"),Ec;u.g.wrappingIndent.defaultValue=0,u.g.glyphMargin.defaultValue=!1,u.g.autoIndent.defaultValue=3,u.g.overviewRulerLanes.defaultValue=2,xu.a.setFormatterSelector(function(V,De,L){return Promise.resolve(V[0])});var tl=G();tl.editor=Gc(),tl.languages=Bc();var vc=tl.CancellationTokenSource,gc=tl.Emitter,Wl=tl.KeyCode,Pd=tl.KeyMod,Sc=tl.Position,md=tl.Range,Qs=tl.Selection,jc=tl.SelectionDirection,Td=tl.MarkerSeverity,pd=tl.MarkerTag,$d=tl.Uri,ad=tl.Token,Gd=tl.editor,od=tl.languages;(((Ec=jn.b.MonacoEnvironment)===null||Ec===void 0?void 0:Ec.globalAPI)||typeof define=="function"&&e("FzHg"))&&(self.monaco=tl),typeof self.require!="undefined"&&typeof self.require.config=="function"&&self.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},"9Nap":function(Ie,M,e){var u=e("/9aa"),c=1/0;function r(f){if(typeof f=="string"||u(f))return f;var o=f+"";return o=="0"&&1/f==-c?"-0":o}Ie.exports=r},"9XeP":function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("clipboardService")},"9Y+e":function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("fWQN"),c=e("mtLc"),r=function(){function f(o,i,a,n,v,m){Object(u.a)(this,f),this.id=o,this.label=i,this.alias=a,this._precondition=n,this._run=v,this._contextKeyService=m}return Object(c.a)(f,[{key:"isSupported",value:function(){return this._contextKeyService.contextMatchesRules(this._precondition)}},{key:"run",value:function(){return this.isSupported()?this._run():Promise.resolve(void 0)}}]),f}()},"9fML":function(Ie,M,e){"use strict";e.d(M,"b",function(){return r}),e.d(M,"a",function(){return f});var u=e("r0BQ"),c=[];function r(o,i,a){i instanceof u.a||(i=new u.a(i,[],a)),c.push([o,i])}function f(){return c}},"9ggG":function(Ie,M,e){var u=e("Z0cm"),c=e("/9aa"),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/;function o(i,a){if(u(i))return!1;var n=typeof i;return n=="number"||n=="symbol"||n=="boolean"||i==null||c(i)?!0:f.test(i)||!r.test(i)||a!=null&&i in Object(a)}Ie.exports=o},"9jjd":function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="FileOutlined";var a=M.a=c.forwardRef(i)},"9yH6":function(Ie,M,e){"use strict";var u=e("wx14"),c=e("rePB"),r=e("ODXe"),f=e("TSYQ"),o=e.n(f),i=e("6cGi"),a=e("q1tI"),n=e("H84U"),v=e("3Nzz"),m=e("RqAY"),h=a.createContext(null),t=h.Provider,l=h,p=a.createContext(null),w=p.Provider,S=e("x1Ya"),k=e("c+Xe"),T=e("caoh"),I=e("ihLV"),Y=function(re,ye){var q={};for(var oe in re)Object.prototype.hasOwnProperty.call(re,oe)&&ye.indexOf(oe)<0&&(q[oe]=re[oe]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,oe=Object.getOwnPropertySymbols(re);he<oe.length;he++)ye.indexOf(oe[he])<0&&Object.prototype.propertyIsEnumerable.call(re,oe[he])&&(q[oe[he]]=re[oe[he]]);return q},$=function(ye,q){var oe,he=a.useContext(l),ue=a.useContext(p),ne=a.useContext(n.b),se=ne.getPrefixCls,be=ne.direction,Z=a.useRef(),ee=Object(k.a)(q,Z),ce=Object(a.useContext)(I.b),R=ce.isFormItemInput,y=function(ge){var Ve,Ee;(Ve=ye.onChange)===null||Ve===void 0||Ve.call(ye,ge),(Ee=he==null?void 0:he.onChange)===null||Ee===void 0||Ee.call(he,ge)},C=ye.prefixCls,z=ye.className,G=ye.children,X=ye.style,pe=ye.disabled,ae=Y(ye,["prefixCls","className","children","style","disabled"]),Se=se("radio",C),Te=((he==null?void 0:he.optionType)||ue)==="button"?"".concat(Se,"-button"):Se,je=Object(u.a)({},ae),ft=a.useContext(T.b);je.disabled=pe||ft,he&&(je.name=he.name,je.onChange=y,je.checked=ye.value===he.value,je.disabled=je.disabled||he.disabled);var fe=o()("".concat(Te,"-wrapper"),(oe={},Object(c.a)(oe,"".concat(Te,"-wrapper-checked"),je.checked),Object(c.a)(oe,"".concat(Te,"-wrapper-disabled"),je.disabled),Object(c.a)(oe,"".concat(Te,"-wrapper-rtl"),be==="rtl"),Object(c.a)(oe,"".concat(Te,"-wrapper-in-form-item"),R),oe),z);return a.createElement("label",{className:fe,style:X,onMouseEnter:ye.onMouseEnter,onMouseLeave:ye.onMouseLeave},a.createElement(S.a,Object(u.a)({},je,{type:"radio",prefixCls:Te,ref:ee})),G!==void 0?a.createElement("span",null,G):null)},A=a.forwardRef($),g=A,b=a.forwardRef(function(re,ye){var q,oe=a.useContext(n.b),he=oe.getPrefixCls,ue=oe.direction,ne=a.useContext(v.b),se=Object(i.a)(re.defaultValue,{value:re.value}),be=Object(r.a)(se,2),Z=be[0],ee=be[1],ce=function(Xe){var it=Z,bt=Xe.target.value;"value"in re||ee(bt);var Ct=re.onChange;Ct&&bt!==it&&Ct(Xe)},R=re.prefixCls,y=re.className,C=y===void 0?"":y,z=re.options,G=re.buttonStyle,X=G===void 0?"outline":G,pe=re.disabled,ae=re.children,Se=re.size,Te=re.style,je=re.id,ft=re.onMouseEnter,fe=re.onMouseLeave,ie=re.onFocus,ge=re.onBlur,Ve=he("radio",R),Ee="".concat(Ve,"-group"),Me=ae;z&&z.length>0&&(Me=z.map(function(et){return typeof et=="string"||typeof et=="number"?a.createElement(g,{key:et.toString(),prefixCls:Ve,disabled:pe,value:et,checked:Z===et},et):a.createElement(g,{key:"radio-group-value-options-".concat(et.value),prefixCls:Ve,disabled:et.disabled||pe,value:et.value,checked:Z===et.value,style:et.style},et.label)}));var _e=Se||ne,Re=o()(Ee,"".concat(Ee,"-").concat(X),(q={},Object(c.a)(q,"".concat(Ee,"-").concat(_e),_e),Object(c.a)(q,"".concat(Ee,"-rtl"),ue==="rtl"),q),C);return a.createElement("div",Object(u.a)({},Object(m.a)(re),{className:Re,style:Te,onMouseEnter:ft,onMouseLeave:fe,onFocus:ie,onBlur:ge,id:je,ref:ye}),a.createElement(t,{value:{onChange:ce,value:Z,disabled:re.disabled,name:re.name,optionType:re.optionType}},Me))}),d=a.memo(b),O=function(re,ye){var q={};for(var oe in re)Object.prototype.hasOwnProperty.call(re,oe)&&ye.indexOf(oe)<0&&(q[oe]=re[oe]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,oe=Object.getOwnPropertySymbols(re);he<oe.length;he++)ye.indexOf(oe[he])<0&&Object.prototype.propertyIsEnumerable.call(re,oe[he])&&(q[oe[he]]=re[oe[he]]);return q},E=function(ye,q){var oe=a.useContext(n.b),he=oe.getPrefixCls,ue=ye.prefixCls,ne=O(ye,["prefixCls"]),se=he("radio",ue);return a.createElement(w,{value:"button"},a.createElement(g,Object(u.a)({prefixCls:se},ne,{type:"radio",ref:q})))},D=a.forwardRef(E),W=g;W.Button=D,W.Group=d,W.__ANT_RADIO=!0;var te=M.a=W},"A+jI":function(Ie,M,e){"use strict";e.d(M,"a",function(){return T}),e.d(M,"c",function(){return I}),e.d(M,"b",function(){return $});var u=e("fWQN"),c=e("mtLc"),r=e("yKVA"),f=e("879j"),o=e("Cg/j"),i=e("MI8n"),a=e("pmY6"),n=e("746U"),v=e("qLMh"),m=e("w4Tj"),h=e("oZsa"),t=e("X+cX"),l=function(A,g,b,d){function O(E){return E instanceof b?E:new b(function(D){D(E)})}return new(b||(b=Promise))(function(E,D){function W(ye){try{re(d.next(ye))}catch(q){D(q)}}function te(ye){try{re(d.throw(ye))}catch(q){D(q)}}function re(ye){ye.done?E(ye.value):O(ye.value).then(W,te)}re((d=d.apply(A,g||[])).next())})},p;(function(A){A[A.None=0]="None",A[A.Initialized=1]="Initialized",A[A.Closed=2]="Closed"})(p||(p={}));var w=function(A){Object(r.a)(b,A);var g=Object(f.a)(b);function b(d){var O,E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Object.create(null);return Object(u.a)(this,b),O=g.call(this),O.database=d,O.options=E,O._onDidChangeStorage=O._register(new i.a),O.onDidChangeStorage=O._onDidChangeStorage.event,O.state=p.None,O.cache=new Map,O.flushDelayer=new t.f(b.DEFAULT_FLUSH_DELAY),O.pendingDeletes=new Set,O.pendingInserts=new Map,O.whenFlushedCallbacks=[],O.registerListeners(),O}return Object(c.a)(b,[{key:"registerListeners",value:function(){var O=this;this._register(this.database.onDidChangeItemsExternal(function(E){return O.onDidChangeItemsExternal(E)}))}},{key:"onDidChangeItemsExternal",value:function(O){var E=this,D,W;(D=O.changed)===null||D===void 0||D.forEach(function(te,re){return E.accept(re,te)}),(W=O.deleted)===null||W===void 0||W.forEach(function(te){return E.accept(te,void 0)})}},{key:"accept",value:function(O,E){if(this.state!==p.Closed){var D=!1;if(Object(n.l)(E))D=this.cache.delete(O);else{var W=this.cache.get(O);W!==E&&(this.cache.set(O,E),D=!0)}D&&this._onDidChangeStorage.fire(O)}}},{key:"get",value:function(O,E){var D=this.cache.get(O);return Object(n.l)(D)?E:D}},{key:"getBoolean",value:function(O,E){var D=this.get(O);return Object(n.l)(D)?E:D==="true"}},{key:"getNumber",value:function(O,E){var D=this.get(O);return Object(n.l)(D)?E:parseInt(D,10)}},{key:"set",value:function(O,E){return l(this,void 0,void 0,Object(v.a)().mark(function D(){var W=this,te,re;return Object(v.a)().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(this.state!==p.Closed){q.next=2;break}return q.abrupt("return");case 2:if(!Object(n.l)(E)){q.next=4;break}return q.abrupt("return",this.delete(O));case 4:if(te=String(E),re=this.cache.get(O),re!==te){q.next=8;break}return q.abrupt("return");case 8:return this.cache.set(O,te),this.pendingInserts.set(O,te),this.pendingDeletes.delete(O),this._onDidChangeStorage.fire(O),q.abrupt("return",this.flushDelayer.trigger(function(){return W.flushPending()}));case 13:case"end":return q.stop()}},D,this)}))}},{key:"delete",value:function(O){return l(this,void 0,void 0,Object(v.a)().mark(function E(){var D=this,W;return Object(v.a)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:if(this.state!==p.Closed){re.next=2;break}return re.abrupt("return");case 2:if(W=this.cache.delete(O),W){re.next=5;break}return re.abrupt("return");case 5:return this.pendingDeletes.has(O)||this.pendingDeletes.add(O),this.pendingInserts.delete(O),this._onDidChangeStorage.fire(O),re.abrupt("return",this.flushDelayer.trigger(function(){return D.flushPending()}));case 9:case"end":return re.stop()}},E,this)}))}},{key:"hasPending",get:function(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}},{key:"flushPending",value:function(){return l(this,void 0,void 0,Object(v.a)().mark(function O(){var E=this,D;return Object(v.a)().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:if(this.hasPending){te.next=2;break}return te.abrupt("return");case 2:return D={insert:this.pendingInserts,delete:this.pendingDeletes},this.pendingDeletes=new Set,this.pendingInserts=new Map,te.abrupt("return",this.database.updateItems(D).finally(function(){var re;if(!E.hasPending)for(;E.whenFlushedCallbacks.length;)(re=E.whenFlushedCallbacks.pop())===null||re===void 0||re()}));case 6:case"end":return te.stop()}},O,this)}))}},{key:"dispose",value:function(){this.flushDelayer.cancel(),this.flushDelayer.dispose(),Object(m.a)(Object(h.a)(b.prototype),"dispose",this).call(this)}}]),b}(a.a);w.DEFAULT_FLUSH_DELAY=100;var S=function(){function A(){Object(u.a)(this,A),this.onDidChangeItemsExternal=i.b.None,this.items=new Map}return Object(c.a)(A,[{key:"updateItems",value:function(b){return l(this,void 0,void 0,Object(v.a)().mark(function d(){var O=this;return Object(v.a)().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:b.insert&&b.insert.forEach(function(W,te){return O.items.set(te,W)}),b.delete&&b.delete.forEach(function(W){return O.items.delete(W)});case 2:case"end":return D.stop()}},d)}))}}]),A}(),k="__$__targetStorageMarker",T=Object(o.c)("storageService"),I;(function(A){A[A.NONE=0]="NONE",A[A.SHUTDOWN=1]="SHUTDOWN"})(I||(I={}));var Y=function(A){Object(r.a)(b,A);var g=Object(f.a)(b);function b(){var d,O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{flushInterval:b.DEFAULT_FLUSH_INTERVAL};return Object(u.a)(this,b),d=g.call(this),d.options=O,d._onDidChangeValue=d._register(new i.d),d._onDidChangeTarget=d._register(new i.d),d._onWillSaveState=d._register(new i.a),d.onWillSaveState=d._onWillSaveState.event,d._workspaceKeyTargets=void 0,d._globalKeyTargets=void 0,d}return Object(c.a)(b,[{key:"emitDidChangeValue",value:function(O,E){E===k?(O===0?this._globalKeyTargets=void 0:O===1&&(this._workspaceKeyTargets=void 0),this._onDidChangeTarget.fire({scope:O})):this._onDidChangeValue.fire({scope:O,key:E,target:this.getKeyTargets(O)[E]})}},{key:"get",value:function(O,E,D){var W;return(W=this.getStorage(E))===null||W===void 0?void 0:W.get(O,D)}},{key:"getBoolean",value:function(O,E,D){var W;return(W=this.getStorage(E))===null||W===void 0?void 0:W.getBoolean(O,D)}},{key:"getNumber",value:function(O,E,D){var W;return(W=this.getStorage(E))===null||W===void 0?void 0:W.getNumber(O,D)}},{key:"store",value:function(O,E,D,W){var te=this;if(Object(n.l)(E)){this.remove(O,D);return}this.withPausedEmitters(function(){var re;te.updateKeyTarget(O,D,W),(re=te.getStorage(D))===null||re===void 0||re.set(O,E)})}},{key:"remove",value:function(O,E){var D=this;this.withPausedEmitters(function(){var W;D.updateKeyTarget(O,E,void 0),(W=D.getStorage(E))===null||W===void 0||W.delete(O)})}},{key:"withPausedEmitters",value:function(O){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{O()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}},{key:"updateKeyTarget",value:function(O,E,D){var W,te,re=this.getKeyTargets(E);typeof D=="number"?re[O]!==D&&(re[O]=D,(W=this.getStorage(E))===null||W===void 0||W.set(k,JSON.stringify(re))):typeof re[O]=="number"&&(delete re[O],(te=this.getStorage(E))===null||te===void 0||te.set(k,JSON.stringify(re)))}},{key:"workspaceKeyTargets",get:function(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}},{key:"globalKeyTargets",get:function(){return this._globalKeyTargets||(this._globalKeyTargets=this.loadKeyTargets(0)),this._globalKeyTargets}},{key:"getKeyTargets",value:function(O){return O===0?this.globalKeyTargets:this.workspaceKeyTargets}},{key:"loadKeyTargets",value:function(O){var E=this.get(k,O);if(E)try{return JSON.parse(E)}catch(D){}return Object.create(null)}}]),b}(a.a);Y.DEFAULT_FLUSH_INTERVAL=60*1e3;var $=function(A){Object(r.a)(b,A);var g=Object(f.a)(b);function b(){var d;return Object(u.a)(this,b),d=g.call(this),d.globalStorage=new w(new S),d.workspaceStorage=new w(new S),d._register(d.workspaceStorage.onDidChangeStorage(function(O){return d.emitDidChangeValue(1,O)})),d._register(d.globalStorage.onDidChangeStorage(function(O){return d.emitDidChangeValue(0,O)})),d}return Object(c.a)(b,[{key:"getStorage",value:function(O){return O===0?this.globalStorage:this.workspaceStorage}}]),b}(Y)},A90E:function(Ie,M,e){var u=e("6sVZ"),c=e("V6Ve"),r=Object.prototype,f=r.hasOwnProperty;function o(i){if(!u(i))return c(i);var a=[];for(var n in Object(i))f.call(i,n)&&n!="constructor"&&a.push(n);return a}Ie.exports=o},"A9l+":function(Ie,M,e){"use strict";e.d(M,"a",function(){return c}),e.d(M,"c",function(){return r}),e.d(M,"b",function(){return f}),e.d(M,"e",function(){return o}),e.d(M,"d",function(){return i}),e.d(M,"f",function(){return a}),e.d(M,"h",function(){return n}),e.d(M,"i",function(){return v}),e.d(M,"g",function(){return m});var u=e("3/fG"),c;(function(h){h.noSelection=u.a("noSelection","No selection"),h.singleSelectionRange=u.a("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),h.singleSelection=u.a("singleSelection","Line {0}, Column {1}"),h.multiSelectionRange=u.a("multiSelectionRange","{0} selections ({1} characters selected)"),h.multiSelection=u.a("multiSelection","{0} selections"),h.emergencyConfOn=u.a("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),h.openingDocs=u.a("openingDocs","Now opening the Editor Accessibility documentation page."),h.readonlyDiffEditor=u.a("readonlyDiffEditor"," in a read-only pane of a diff editor."),h.editableDiffEditor=u.a("editableDiffEditor"," in a pane of a diff editor."),h.readonlyEditor=u.a("readonlyEditor"," in a read-only code editor"),h.editableEditor=u.a("editableEditor"," in a code editor"),h.changeConfigToOnMac=u.a("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),h.changeConfigToOnWinLinux=u.a("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),h.auto_on=u.a("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),h.auto_off=u.a("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),h.tabFocusModeOnMsg=u.a("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),h.tabFocusModeOnMsgNoKb=u.a("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),h.tabFocusModeOffMsg=u.a("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),h.tabFocusModeOffMsgNoKb=u.a("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),h.openDocMac=u.a("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),h.openDocWinLinux=u.a("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),h.outroMsg=u.a("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),h.showAccessibilityHelpAction=u.a("showAccessibilityHelpAction","Show Accessibility Help")})(c||(c={}));var r;(function(h){h.inspectTokensAction=u.a("inspectTokens","Developer: Inspect Tokens")})(r||(r={}));var f;(function(h){h.gotoLineActionLabel=u.a("gotoLineActionLabel","Go to Line/Column...")})(f||(f={}));var o;(function(h){h.helpQuickAccessActionLabel=u.a("helpQuickAccess","Show all Quick Access Providers")})(o||(o={}));var i;(function(h){h.quickCommandActionLabel=u.a("quickCommandActionLabel","Command Palette"),h.quickCommandHelp=u.a("quickCommandActionHelp","Show And Run Commands")})(i||(i={}));var a;(function(h){h.quickOutlineActionLabel=u.a("quickOutlineActionLabel","Go to Symbol..."),h.quickOutlineByCategoryActionLabel=u.a("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")})(a||(a={}));var n;(function(h){h.editorViewAccessibleLabel=u.a("editorViewAccessibleLabel","Editor content"),h.accessibilityHelpMessage=u.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")})(n||(n={}));var v;(function(h){h.toggleHighContrast=u.a("toggleHighContrast","Toggle High Contrast Theme")})(v||(v={}));var m;(function(h){h.bulkEditServiceSummary=u.a("bulkEditServiceSummary","Made {0} edits in {1} files")})(m||(m={}))},AE40:function(Ie,M,e){var u=e("dunj"),c=e("jSBL"),r=e("zZ0H");function f(o){return o&&o.length?u(o,r,c):void 0}Ie.exports=f},AKMP:function(Ie,M,e){"use strict";e.d(M,"b",function(){return n}),e.d(M,"a",function(){return v});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("EffR"),o=e("51f4"),i=e("XSiN"),a=e("pmY6");function n(m,h){var t=new i.a(h);return t.preventDefault(),{leftButton:t.leftButton,buttons:t.buttons,posx:t.posx,posy:t.posy}}var v=function(){function m(){Object(c.a)(this,m),this._hooks=new a.b,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}return Object(r.a)(m,[{key:"dispose",value:function(){this.stopMonitoring(!1),this._hooks.dispose()}},{key:"stopMonitoring",value:function(t,l){if(!!this.isMonitoring()){this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;var p=this._onStopCallback;this._onStopCallback=null,t&&p&&p(l)}}},{key:"isMonitoring",value:function(){return!!this._mouseMoveEventMerger}},{key:"startMonitoring",value:function(t,l,p,w,S){var k=this;if(!this.isMonitoring()){this._mouseMoveEventMerger=p,this._mouseMoveCallback=w,this._onStopCallback=S;var T=o.a.getSameOriginWindowChain(),I="mousemove",Y="mouseup",$=T.map(function(E){return E.window.document}),A=f.getShadowRoot(t);A&&$.unshift(A);var g=Object(u.a)($),b;try{for(g.s();!(b=g.n()).done;){var d=b.value;this._hooks.add(f.addDisposableThrottledListener(d,I,function(E){if(E.buttons!==l){k.stopMonitoring(!0);return}k._mouseMoveCallback(E)},function(E,D){return k._mouseMoveEventMerger(E,D)})),this._hooks.add(f.addDisposableListener(d,Y,function(E){return k.stopMonitoring(!0)}))}}catch(E){g.e(E)}finally{g.f()}if(o.a.hasDifferentOriginAncestor()){var O=T[T.length-1];this._hooks.add(f.addDisposableListener(O.window.document,"mouseout",function(E){var D=new i.a(E);D.target.tagName.toLowerCase()==="html"&&k.stopMonitoring(!0)})),this._hooks.add(f.addDisposableListener(O.window.document,"mouseover",function(E){var D=new i.a(E);D.target.tagName.toLowerCase()==="html"&&k.stopMonitoring(!0)})),this._hooks.add(f.addDisposableListener(O.window.document.body,"mouseleave",function(E){k.stopMonitoring(!0)}))}}}}]),m}()},AMKO:function(Ie,M,e){"use strict";e.d(M,"a",function(){return o});var u=e("q1tI"),c=e.n(u);function r(m){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(t){return typeof t}:r=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(m)}var f=function(){var h=new WeakSet;return function(t,l){if(r(l)==="object"&&l!==null){if(h.has(l))return;h.add(l)}return l}},o=function(h){return JSON.stringify(h,f())},i=function(h,t){try{return o(h)===o(t)}catch(l){}return!1};function a(m){var h=Object(u.useRef)("");return i(m,h.current)||(h.current=JSON.stringify(m,f())),h.current}function n(m,h){Object(u.useEffect)(m,[a(h)])}var v=n},AOa7:function(Ie,M,e){},AWJX:function(Ie,M,e){"use strict";e.d(M,"d",function(){return m}),e.d(M,"g",function(){return h}),e.d(M,"f",function(){return t}),e.d(M,"b",function(){return l}),e.d(M,"c",function(){return p}),e.d(M,"a",function(){return w}),e.d(M,"e",function(){return k});var u=e("KQm4"),c=e("x+uP"),r=e("HaE+"),f=e("VTBJ"),o=e("U8pU"),i=e("ODXe");function a(I,Y,$){var A=Y<0?I.length+Y:Y;if(A>=0&&A<I.length){var g=$<0?I.length+$:$,b=I.splice(Y,1),d=Object(i.a)(b,1),O=d[0];I.splice(g,0,O)}}function n(I,Y,$){var A=Object(u.a)(I);return a(A,Y,$),A}var v=function(Y){return Y!=null};function m(I,Y,$){var A,g;if(I===!1)return!1;var b=Y.total,d=Y.current,O=Y.pageSize,E=Y.setPageInfo,D=Object(o.a)(I)==="object"?I:{};return Object(f.a)(Object(f.a)({showTotal:function(te,re){return"".concat($.getMessage("pagination.total.range","\u7B2C")," ").concat(re[0],"-").concat(re[1]," ").concat($.getMessage("pagination.total.total","\u6761/\u603B\u5171")," ").concat(te," ").concat($.getMessage("pagination.total.item","\u6761"))},total:b},D),{},{current:I!==!0&&I&&(A=I.current)!==null&&A!==void 0?A:d,pageSize:I!==!0&&I&&(g=I.pageSize)!==null&&g!==void 0?g:O,onChange:function(te,re){var ye=I.onChange;ye==null||ye(te,re||20),(re!==O||d!==te)&&E({pageSize:re,current:te})}})}function h(I,Y,$){var A=Object(f.a)(Object(f.a)({},$.editableUtils),{},{pageInfo:Y.pageInfo,reload:function(){var g=Object(r.a)(Object(c.a)().mark(function d(O){return Object(c.a)().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(!O){D.next=3;break}return D.next=3,Y.setPageInfo({current:1});case 3:Y==null||Y.reload();case 4:case"end":return D.stop()}},d)}));function b(d){return g.apply(this,arguments)}return b}(),reloadAndRest:function(){var g=Object(r.a)(Object(c.a)().mark(function d(){return Object(c.a)().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return $.onCleanSelected(),E.next=3,Y.setPageInfo({current:1});case 3:return E.next=5,Y==null?void 0:Y.reload();case 5:case"end":return E.stop()}},d)}));function b(){return g.apply(this,arguments)}return b}(),reset:function(){var g=Object(r.a)(Object(c.a)().mark(function d(){var O;return Object(c.a)().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,$.resetAll();case 2:return D.next=4,Y==null||(O=Y.reset)===null||O===void 0?void 0:O.call(Y);case 4:return D.next=6,Y==null?void 0:Y.reload();case 6:case"end":return D.stop()}},d)}));function b(){return g.apply(this,arguments)}return b}(),fullScreen:function(){return $.fullScreen()},clearSelected:function(){return $.onCleanSelected()},setPageInfo:function(b){return Y.setPageInfo(b)}});I.current=A}function t(I,Y){return Y.filter(function($){return $}).length<1?I:Y.reduce(function($,A){return A($)},I)}var l=function(Y,$){return $===void 0?!1:typeof $=="boolean"?$:$[Y]},p=function(Y){var $;return Y&&Object(o.a)(Y)==="object"&&(Y==null||($=Y.props)===null||$===void 0?void 0:$.colSpan)},w=function(Y,$){return Y?Array.isArray(Y)?Y.join("-"):Y.toString():"".concat($)};function S(I){return Array.isArray(I)?I.join(","):I==null?void 0:I.toString()}function k(I){var Y={},$={};return I.forEach(function(A){var g=S(A.dataIndex);if(!!g){if(A.filters){var b=A.defaultFilteredValue;b===void 0?Y[g]=null:Y[g]=A.defaultFilteredValue}A.sorter&&A.defaultSortOrder&&($[g]=A.defaultSortOrder)}}),{sort:$,filter:Y}}function T(I,Y){var $=I.oldIndex,A=I.newIndex;if($!==A){var g=n(Object(u.a)(Y||[]),$,A).filter(function(b){return!!b});return Object(u.a)(g)}return null}},Ac7g:function(Ie,M,e){Ie.exports={Graph:e("lnHP"),version:e("w802")}},AevD:function(Ie,M,e){var u=e("M96O");Ie.exports=c;function c(){this._arr=[],this._keyIndices={}}c.prototype.size=function(){return this._arr.length},c.prototype.keys=function(){return this._arr.map(function(r){return r.key})},c.prototype.has=function(r){return u.has(this._keyIndices,r)},c.prototype.priority=function(r){var f=this._keyIndices[r];if(f!==void 0)return this._arr[f].priority},c.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key},c.prototype.add=function(r,f){var o=this._keyIndices;if(r=String(r),!u.has(o,r)){var i=this._arr,a=i.length;return o[r]=a,i.push({key:r,priority:f}),this._decrease(a),!0}return!1},c.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var r=this._arr.pop();return delete this._keyIndices[r.key],this._heapify(0),r.key},c.prototype.decrease=function(r,f){var o=this._keyIndices[r];if(f>this._arr[o].priority)throw new Error("New priority is greater than current priority. Key: "+r+" Old: "+this._arr[o].priority+" New: "+f);this._arr[o].priority=f,this._decrease(o)},c.prototype._heapify=function(r){var f=this._arr,o=2*r,i=o+1,a=r;o<f.length&&(a=f[o].priority<f[a].priority?o:a,i<f.length&&(a=f[i].priority<f[a].priority?i:a),a!==r&&(this._swap(r,a),this._heapify(a)))},c.prototype._decrease=function(r){for(var f=this._arr,o=f[r].priority,i;r!==0&&(i=r>>1,!(f[i].priority<o));)this._swap(r,i),r=i},c.prototype._swap=function(r,f){var o=this._arr,i=this._keyIndices,a=o[r],n=o[f];o[r]=n,o[f]=a,i[n.key]=r,i[a.key]=f}},Ag8Z:function(Ie,M,e){var u=e("JC6p"),c=e("EwQA");function r(f,o){return f&&u(f,c(o))}Ie.exports=r},Awhp:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("PQMj"),f=e.n(r)},"B+1O":function(Ie,M,e){},B5Mt:function(Ie,M,e){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var u=function(r,f){var o={},i=function(n){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;o[n]=v};return r===0&&i("first-child"),r===f-1&&i("last-child"),(r===0||r%2==0)&&i("even"),Math.abs(r%2)===1&&i("odd"),i("nth-child",r),o};M.default=u},B8du:function(Ie,M){function e(){return!1}Ie.exports=e},BAY6:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="RocketOutlined";var a=M.a=c.forwardRef(i)},BFtn:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r}),e.d(M,"b",function(){return o});var u=e("fWQN"),c=e("mtLc");function r(i,a){for(var n=i.getCount(),v=i.findTokenIndexAtOffset(a),m=i.getLanguageId(v),h=v;h+1<n&&i.getLanguageId(h+1)===m;)h++;for(var t=v;t>0&&i.getLanguageId(t-1)===m;)t--;return new f(i,m,t,h+1,i.getStartOffset(t),i.getEndOffset(h))}var f=function(){function i(a,n,v,m,h,t){Object(u.a)(this,i),this._actual=a,this.languageId=n,this._firstTokenIndex=v,this._lastTokenIndex=m,this.firstCharOffset=h,this._lastCharOffset=t}return Object(c.a)(i,[{key:"getLineContent",value:function(){var n=this._actual.getLineContent();return n.substring(this.firstCharOffset,this._lastCharOffset)}},{key:"getActualLineContentBefore",value:function(n){var v=this._actual.getLineContent();return v.substring(0,this.firstCharOffset+n)}},{key:"getTokenCount",value:function(){return this._lastTokenIndex-this._firstTokenIndex}},{key:"findTokenIndexAtOffset",value:function(n){return this._actual.findTokenIndexAtOffset(n+this.firstCharOffset)-this._firstTokenIndex}},{key:"getStandardTokenType",value:function(n){return this._actual.getStandardTokenType(n+this._firstTokenIndex)}}]),i}();function o(i){return(i&7)!=0}},BMrR:function(Ie,M,e){"use strict";var u=e("qrJ5");M.a=u.a},BRni:function(Ie,M,e){(function(c,r){Ie.exports=r()})(typeof self!="undefined"?self:this,function(){return function(u){var c={};function r(f){if(c[f])return c[f].exports;var o=c[f]={i:f,l:!1,exports:{}};return u[f].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=u,r.c=c,r.d=function(f,o,i){r.o(f,o)||Object.defineProperty(f,o,{configurable:!1,enumerable:!0,get:i})},r.n=function(f){var o=f&&f.__esModule?function(){return f.default}:function(){return f};return r.d(o,"a",o),o},r.o=function(f,o){return Object.prototype.hasOwnProperty.call(f,o)},r.p="",r(r.s=36)}([function(u,c,r){"use strict";var f=r(3);c.a=function(o){return Array.isArray?Array.isArray(o):Object(f.a)(o,"Array")}},function(u,c,r){"use strict";var f=function(i){return i!==null&&typeof i!="function"&&isFinite(i.length)};c.a=f},function(u,c,r){"use strict";var f=r(3);c.a=function(o){return Object(f.a)(o,"Function")}},function(u,c,r){"use strict";var f={}.toString,o=function(a,n){return f.call(a)==="[object "+n+"]"};c.a=o},function(u,c,r){"use strict";var f=r(3);c.a=function(o){return Object(f.a)(o,"String")}},function(u,c,r){"use strict";var f=r(3),o=function(a){return Object(f.a)(a,"Number")};c.a=o},function(u,c,r){var f=r(38),o=f.mix;function i(a,n,v,m){return m===void 0&&(m="height"),v==="center"?(a[m]+n[m])/2:a.height}u.exports={assign:o,getHeight:i}},function(u,c,r){"use strict";var f=function(i){return i==null};c.a=f},function(u,c,r){"use strict";var f=r(0),o=r(12);function i(a,n){if(!!a){var v;if(Object(f.a)(a))for(var m=0,h=a.length;m<h&&(v=n(a[m],m),v!==!1);m++);else if(Object(o.a)(a)){for(var t in a)if(a.hasOwnProperty(t)&&(v=n(a[t],t),v===!1))break}}}c.a=i},function(u,c,r){"use strict";var f=r(7);c.a=function(o){return Object(f.a)(o)?"":o.toString()}},function(u,c,r){"use strict";var f=r(14),o=r(3),i=function(n){if(!Object(f.a)(n)||!Object(o.a)(n,"Object"))return!1;if(Object.getPrototypeOf(n)===null)return!0;for(var v=n;Object.getPrototypeOf(v)!==null;)v=Object.getPrototypeOf(v);return Object.getPrototypeOf(n)===v};c.a=i},function(u,c,r){var f=r(18),o=function(){function i(n,v){v===void 0&&(v={});var m=this;m.options=v,m.rootNode=f(n,v)}var a=i.prototype;return a.execute=function(){throw new Error("please override this method")},i}();u.exports=o},function(u,c,r){"use strict";c.a=function(f){var o=typeof f;return f!==null&&o==="object"||o==="function"}},function(u,c,r){"use strict";var f=r(1),o=function(a,n){return Object(f.a)(a)?a.indexOf(n)>-1:!1};c.a=o},function(u,c,r){"use strict";var f=function(i){return typeof i=="object"&&i!==null};c.a=f},function(u,c,r){"use strict";var f=r(8),o=r(2),i=Object.values?function(a){return Object.values(a)}:function(a){var n=[];return Object(f.a)(a,function(v,m){Object(o.a)(a)&&m==="prototype"||n.push(v)}),n};c.a=i},function(u,c,r){"use strict";c.a=o;function f(i,a){for(var n in a)a.hasOwnProperty(n)&&n!=="constructor"&&a[n]!==void 0&&(i[n]=a[n])}function o(i,a,n,v){return a&&f(i,a),n&&f(i,n),v&&f(i,v),i}},function(u,c,r){var f=r(35),o=["LR","RL","TB","BT","H","V"],i=["LR","RL","H"],a=function(m){return i.indexOf(m)>-1},n=o[0];u.exports=function(v,m,h){var t=m.direction||n;if(m.isHorizontal=a(t),t&&o.indexOf(t)===-1)throw new TypeError("Invalid direction: "+t);if(t===o[0])h(v,m);else if(t===o[1])h(v,m),v.right2left();else if(t===o[2])h(v,m);else if(t===o[3])h(v,m),v.bottom2top();else if(t===o[4]||t===o[5]){var l=f(v,m),p=l.left,w=l.right;h(p,m),h(w,m),m.isHorizontal?p.right2left():p.bottom2top(),w.translate(p.x-w.x,p.y-w.y),v.x=p.x,v.y=w.y;var S=v.getBoundingBox();m.isHorizontal?S.top<0&&v.translate(0,-S.top):S.left<0&&v.translate(-S.left,0)}var k=m.fixedRoot;return k===void 0&&(k=!0),k&&v.translate(-(v.x+v.width/2+v.hgap),-(v.y+v.height/2+v.vgap)),v}},function(u,c,r){var f=r(6),o=18,i=o*2,a=o,n={getId:function(t){return t.id||t.name},getPreH:function(t){return t.preH||0},getPreV:function(t){return t.preV||0},getHGap:function(t){return t.hgap||a},getVGap:function(t){return t.vgap||a},getChildren:function(t){return t.children},getHeight:function(t){return t.height||i},getWidth:function(t){var l=t.label||" ";return t.width||l.split("").length*o}};function v(h,t){var l=this;if(l.vgap=l.hgap=0,h instanceof v)return h;l.data=h;var p=t.getHGap(h),w=t.getVGap(h);return l.preH=t.getPreH(h),l.preV=t.getPreV(h),l.width=t.getWidth(h),l.height=t.getHeight(h),l.width+=l.preH,l.height+=l.preV,l.id=t.getId(h),l.x=l.y=0,l.depth=0,l.children||(l.children=[]),l.addGap(p,w),l}f.assign(v.prototype,{isRoot:function(){return this.depth===0},isLeaf:function(){return this.children.length===0},addGap:function(t,l){var p=this;p.hgap+=t,p.vgap+=l,p.width+=2*t,p.height+=2*l},eachNode:function(t){for(var l=this,p=[l],w;w=p.shift();)t(w),p=w.children.concat(p)},DFTraverse:function(t){this.eachNode(t)},BFTraverse:function(t){for(var l=this,p=[l],w;w=p.shift();)t(w),p=p.concat(w.children)},getBoundingBox:function(){var t={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode(function(l){t.left=Math.min(t.left,l.x),t.top=Math.min(t.top,l.y),t.width=Math.max(t.width,l.x+l.width),t.height=Math.max(t.height,l.y+l.height)}),t},translate:function(t,l){t===void 0&&(t=0),l===void 0&&(l=0),this.eachNode(function(p){p.x+=t,p.y+=l,p.x+=p.preH,p.y+=p.preV})},right2left:function(){var t=this,l=t.getBoundingBox();t.eachNode(function(p){p.x=p.x-(p.x-l.left)*2-p.width}),t.translate(l.width,0)},bottom2top:function(){var t=this,l=t.getBoundingBox();t.eachNode(function(p){p.y=p.y-(p.y-l.top)*2-p.height}),t.translate(0,l.height)}});function m(h,t,l){t===void 0&&(t={}),t=f.assign({},n,t);var p=new v(h,t),w=[p],S;if(!l&&!h.collapsed){for(;S=w.shift();)if(!S.data.collapsed){var k=t.getChildren(S.data),T=k?k.length:0;if(S.children=new Array(T),k&&T)for(var I=0;I<T;I++){var Y=new v(k[I],t);S.children[I]=Y,w.push(Y),Y.parent=S,Y.depth=S.depth+1}}}return p}u.exports=m},function(u,c,r){"use strict";var f=r(1),o=function(a,n){if(!Object(f.a)(a))return a;for(var v=[],m=0;m<a.length;m++){var h=a[m];n(h,m)&&v.push(h)}return v};c.a=o},function(u,c,r){"use strict";var f=r(7),o=r(21);function i(a,n){var v=Object(o.a)(n),m=v.length;if(Object(f.a)(a))return!m;for(var h=0;h<m;h+=1){var t=v[h];if(n[t]!==a[t]||!(t in a))return!1}return!0}c.a=i},function(u,c,r){"use strict";var f=r(8),o=r(2),i=Object.keys?function(a){return Object.keys(a)}:function(a){var n=[];return Object(f.a)(a,function(v,m){Object(o.a)(a)&&m==="prototype"||n.push(m)}),n};c.a=i},function(u,c,r){"use strict";var f=r(0);c.a=function(o){if(!!Object(f.a)(o))return o.reduce(function(i,a){return Math.max(i,a)},o[0])}},function(u,c,r){"use strict";var f=r(0);c.a=function(o){if(!!Object(f.a)(o))return o.reduce(function(i,a){return Math.min(i,a)},o[0])}},function(u,c,r){"use strict";var f=r(1),o=Array.prototype.splice,i=function(n,v){if(!Object(f.a)(n))return[];for(var m=n?v.length:0,h=m-1;m--;){var t=void 0,l=v[m];(m===h||l!==t)&&(t=l,o.call(n,l,1))}return n};c.a=i},function(u,c,r){"use strict";var f=r(8),o=r(0),i=r(10),a=function(v,m,h){if(!Object(o.a)(v)&&!Object(i.a)(v))return v;var t=h;return Object(f.a)(v,function(l,p){t=m(t,l,p)}),t};c.a=a},function(u,c,r){"use strict";c.a=f;function f(o,i){i===void 0&&(i=new Map);var a=[];if(Array.isArray(o))for(var n=0,v=o.length;n<v;n++){var m=o[n];i.has(m)||(a.push(m),i.set(m,!0))}return a}},function(u,c,r){"use strict";c.a=a;var f=r(0),o=r(2),i=r(28);function a(n,v){if(!v)return{0:n};if(!Object(o.a)(v)){var m=Object(f.a)(v)?v:v.replace(/\s+/g,"").split("*");v=function(t){for(var l="_",p=0,w=m.length;p<w;p++)l+=t[m[p]]&&t[m[p]].toString();return l}}return Object(i.a)(n,v)}},function(u,c,r){"use strict";var f=r(0),o=r(2),i=Object.prototype.hasOwnProperty;function a(n,v){if(!v||!Object(f.a)(n))return{};for(var m={},h=Object(o.a)(v)?v:function(w){return w[v]},t,l=0;l<n.length;l++){var p=n[l];t=h(p),i.call(m,t)?m[t].push(p):m[t]=[p]}return m}c.a=a},function(u,c,r){"use strict";c.a=function(f,o){return f.hasOwnProperty(o)}},function(u,c,r){"use strict";var f={}.toString,o=function(a){return f.call(a).replace(/^\[object /,"").replace(/]$/,"")};c.a=o},function(u,c,r){"use strict";var f=Object.prototype,o=function(a){var n=a&&a.constructor,v=typeof n=="function"&&n.prototype||f;return a===v};c.a=o},function(u,c,r){"use strict";var f=r(2);c.a=function(o,i){if(!Object(f.a)(o))throw new TypeError("Expected a function");var a=function n(){for(var v=[],m=0;m<arguments.length;m++)v[m]=arguments[m];var h=i?i.apply(this,v):v[0],t=n.cache;if(t.has(h))return t.get(h);var l=o.apply(this,v);return t.set(h,l),l};return a.cache=new Map,a}},function(u,c,r){"use strict";var f=r(14),o=r(1),i=r(4),a=function n(v,m){if(v===m)return!0;if(!v||!m||Object(i.a)(v)||Object(i.a)(m))return!1;if(Object(o.a)(v)||Object(o.a)(m)){if(v.length!==m.length)return!1;for(var h=!0,t=0;t<v.length&&(h=n(v[t],m[t]),!!h);t++);return h}if(Object(f.a)(v)||Object(f.a)(m)){var l=Object.keys(v),p=Object.keys(m);if(l.length!==p.length)return!1;for(var h=!0,t=0;t<l.length&&(h=n(v[l[t]],m[l[t]]),!!h);t++);return h}return!1};c.a=a},function(u,c,r){"use strict";var f=r(116),o=r(15),i=r(32),a=r(4),n;c.a=Object(i.a)(function(v,m){m===void 0&&(m={});var h=m.fontSize,t=m.fontFamily,l=m.fontWeight,p=m.fontStyle,w=m.fontVariant;return n||(n=document.createElement("canvas").getContext("2d")),n.font=[p,w,l,h+"px",t].join(" "),n.measureText(Object(a.a)(v)?v:"").width},function(v,m){return m===void 0&&(m={}),Object(f.a)([v],Object(o.a)(m)).join("")})},function(u,c,r){var f=r(18);u.exports=function(o,i){for(var a=f(o.data,i,!0),n=f(o.data,i,!0),v=o.children.length,m=Math.round(v/2),h=i.getSide||function(w,S){return S<m?"right":"left"},t=0;t<v;t++){var l=o.children[t],p=h(l,t);p==="right"?n.children.push(l):a.children.push(l)}return a.eachNode(function(w){w.isRoot()||(w.side="left")}),n.eachNode(function(w){w.isRoot()||(w.side="right")}),{left:a,right:n}}},function(u,c,r){var f={compactBox:r(37),dendrogram:r(120),indented:r(122),mindmap:r(124)};u.exports=f},function(u,c,r){function f(l,p){l.prototype=Object.create(p.prototype),l.prototype.constructor=l,o(l,p)}function o(l,p){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,k){return S.__proto__=k,S},o(l,p)}var i=r(11),a=r(119),n=r(17),v=r(6),m=function(l){f(p,l);function p(){return l.apply(this,arguments)||this}var w=p.prototype;return w.execute=function(){var k=this;return n(k.rootNode,k.options,a)},p}(i),h={};function t(l,p){return p=v.assign({},h,p),new m(l,p).execute()}u.exports=t},function(u,c,r){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var f=r(13);r.d(c,"contains",function(){return f.a}),r.d(c,"includes",function(){return f.a});var o=r(39);r.d(c,"difference",function(){return o.a});var i=r(40);r.d(c,"find",function(){return i.a});var a=r(41);r.d(c,"findIndex",function(){return a.a});var n=r(42);r.d(c,"firstValue",function(){return n.a});var v=r(43);r.d(c,"flatten",function(){return v.a});var m=r(44);r.d(c,"flattenDeep",function(){return m.a});var h=r(45);r.d(c,"getRange",function(){return h.a});var t=r(46);r.d(c,"pull",function(){return t.a});var l=r(24);r.d(c,"pullAt",function(){return l.a});var p=r(25);r.d(c,"reduce",function(){return p.a});var w=r(47);r.d(c,"remove",function(){return w.a});var S=r(48);r.d(c,"sortBy",function(){return S.a});var k=r(49);r.d(c,"union",function(){return k.a});var T=r(26);r.d(c,"uniq",function(){return T.a});var I=r(50);r.d(c,"valuesOfKey",function(){return I.a});var Y=r(51);r.d(c,"head",function(){return Y.a});var $=r(52);r.d(c,"last",function(){return $.a});var A=r(53);r.d(c,"startsWith",function(){return A.a});var g=r(54);r.d(c,"endsWith",function(){return g.a});var b=r(19);r.d(c,"filter",function(){return b.a});var d=r(55);r.d(c,"every",function(){return d.a});var O=r(56);r.d(c,"some",function(){return O.a});var E=r(57);r.d(c,"group",function(){return E.a});var D=r(28);r.d(c,"groupBy",function(){return D.a});var W=r(27);r.d(c,"groupToMap",function(){return W.a});var te=r(58);r.d(c,"getWrapBehavior",function(){return te.a});var re=r(59);r.d(c,"wrapBehavior",function(){return re.a});var ye=r(60);r.d(c,"number2color",function(){return ye.a});var q=r(61);r.d(c,"parseRadius",function(){return q.a});var oe=r(62);r.d(c,"clamp",function(){return oe.a});var he=r(63);r.d(c,"fixedBase",function(){return he.a});var ue=r(64);r.d(c,"isDecimal",function(){return ue.a});var ne=r(65);r.d(c,"isEven",function(){return ne.a});var se=r(66);r.d(c,"isInteger",function(){return se.a});var be=r(67);r.d(c,"isNegative",function(){return be.a});var Z=r(68);r.d(c,"isNumberEqual",function(){return Z.a});var ee=r(69);r.d(c,"isOdd",function(){return ee.a});var ce=r(70);r.d(c,"isPositive",function(){return ce.a});var R=r(22);r.d(c,"max",function(){return R.a});var y=r(71);r.d(c,"maxBy",function(){return y.a});var C=r(23);r.d(c,"min",function(){return C.a});var z=r(72);r.d(c,"minBy",function(){return z.a});var G=r(73);r.d(c,"mod",function(){return G.a});var X=r(74);r.d(c,"toDegree",function(){return X.a});var pe=r(75);r.d(c,"toInteger",function(){return pe.a});var ae=r(76);r.d(c,"toRadian",function(){return ae.a});var Se=r(77);r.d(c,"forIn",function(){return Se.a});var Te=r(29);r.d(c,"has",function(){return Te.a});var je=r(78);r.d(c,"hasKey",function(){return je.a});var ft=r(79);r.d(c,"hasValue",function(){return ft.a});var fe=r(21);r.d(c,"keys",function(){return fe.a});var ie=r(20);r.d(c,"isMatch",function(){return ie.a});var ge=r(15);r.d(c,"values",function(){return ge.a});var Ve=r(80);r.d(c,"lowerCase",function(){return Ve.a});var Ee=r(81);r.d(c,"lowerFirst",function(){return Ee.a});var Me=r(82);r.d(c,"substitute",function(){return Me.a});var _e=r(83);r.d(c,"upperCase",function(){return _e.a});var Re=r(84);r.d(c,"upperFirst",function(){return Re.a});var et=r(30);r.d(c,"getType",function(){return et.a});var Xe=r(85);r.d(c,"isArguments",function(){return Xe.a});var it=r(0);r.d(c,"isArray",function(){return it.a});var bt=r(1);r.d(c,"isArrayLike",function(){return bt.a});var Ct=r(86);r.d(c,"isBoolean",function(){return Ct.a});var Bt=r(87);r.d(c,"isDate",function(){return Bt.a});var qe=r(88);r.d(c,"isError",function(){return qe.a});var st=r(2);r.d(c,"isFunction",function(){return st.a});var ut=r(89);r.d(c,"isFinite",function(){return ut.a});var nt=r(7);r.d(c,"isNil",function(){return nt.a});var kt=r(90);r.d(c,"isNull",function(){return kt.a});var Sn=r(5);r.d(c,"isNumber",function(){return Sn.a});var Tt=r(12);r.d(c,"isObject",function(){return Tt.a});var ht=r(14);r.d(c,"isObjectLike",function(){return ht.a});var Rt=r(10);r.d(c,"isPlainObject",function(){return Rt.a});var Ft=r(31);r.d(c,"isPrototype",function(){return Ft.a});var nn=r(91);r.d(c,"isRegExp",function(){return nn.a});var bn=r(4);r.d(c,"isString",function(){return bn.a});var sn=r(3);r.d(c,"isType",function(){return sn.a});var un=r(92);r.d(c,"isUndefined",function(){return un.a});var Ht=r(93);r.d(c,"isElement",function(){return Ht.a});var jn=r(94);r.d(c,"requestAnimationFrame",function(){return jn.a});var Ln=r(95);r.d(c,"clearAnimationFrame",function(){return Ln.a});var Un=r(96);r.d(c,"augment",function(){return Un.a});var lt=r(97);r.d(c,"clone",function(){return lt.a});var Nt=r(98);r.d(c,"debounce",function(){return Nt.a});var zt=r(32);r.d(c,"memoize",function(){return zt.a});var en=r(99);r.d(c,"deepMix",function(){return en.a});var tn=r(8);r.d(c,"each",function(){return tn.a});var wn=r(100);r.d(c,"extend",function(){return wn.a});var on=r(101);r.d(c,"indexOf",function(){return on.a});var vn=r(102);r.d(c,"isEmpty",function(){return vn.a});var dt=r(33);r.d(c,"isEqual",function(){return dt.a});var ct=r(103);r.d(c,"isEqualWith",function(){return ct.a});var Kt=r(104);r.d(c,"map",function(){return Kt.a});var pn=r(105);r.d(c,"mapValues",function(){return pn.a});var kn=r(16);r.d(c,"mix",function(){return kn.a}),r.d(c,"assign",function(){return kn.a});var Pt=r(106);r.d(c,"get",function(){return Pt.a});var gn=r(107);r.d(c,"set",function(){return gn.a});var _n=r(108);r.d(c,"pick",function(){return _n.a});var Kn=r(109);r.d(c,"omit",function(){return Kn.a});var qn=r(110);r.d(c,"throttle",function(){return qn.a});var rr=r(111);r.d(c,"toArray",function(){return rr.a});var Rn=r(9);r.d(c,"toString",function(){return Rn.a});var mr=r(112);r.d(c,"uniqueId",function(){return mr.a});var ar=r(113);r.d(c,"noop",function(){return ar.a});var sr=r(114);r.d(c,"identity",function(){return sr.a});var yr=r(115);r.d(c,"size",function(){return yr.a});var br=r(34);r.d(c,"measureTextWidth",function(){return br.a});var _r=r(117);r.d(c,"getEllipsisText",function(){return _r.a});var li=r(118);r.d(c,"Cache",function(){return li.a})},function(u,c,r){"use strict";var f=r(19),o=r(13),i=function(n,v){return v===void 0&&(v=[]),Object(f.a)(n,function(m){return!Object(o.a)(v,m)})};c.a=i},function(u,c,r){"use strict";var f=r(2),o=r(20),i=r(0),a=r(10);function n(v,m){if(!Object(i.a)(v))return null;var h;if(Object(f.a)(m)&&(h=m),Object(a.a)(m)&&(h=function(p){return Object(o.a)(p,m)}),h){for(var t=0;t<v.length;t+=1)if(h(v[t]))return v[t]}return null}c.a=n},function(u,c,r){"use strict";function f(o,i,a){a===void 0&&(a=0);for(var n=a;n<o.length;n++)if(i(o[n],n))return n;return-1}c.a=f},function(u,c,r){"use strict";var f=r(7),o=r(0),i=function(n,v){for(var m=null,h=0;h<n.length;h++){var t=n[h],l=t[v];if(!Object(f.a)(l)){Object(o.a)(l)?m=l[0]:m=l;break}}return m};c.a=i},function(u,c,r){"use strict";var f=r(0),o=function(a){if(!Object(f.a)(a))return[];for(var n=[],v=0;v<a.length;v++)n=n.concat(a[v]);return n};c.a=o},function(u,c,r){"use strict";var f=r(0),o=function i(a,n){if(n===void 0&&(n=[]),!Object(f.a)(a))n.push(a);else for(var v=0;v<a.length;v+=1)i(a[v],n);return n};c.a=o},function(u,c,r){"use strict";var f=r(0),o=r(22),i=r(23),a=function(v){var m=v.filter(function(w){return!isNaN(w)});if(!m.length)return{min:0,max:0};if(Object(f.a)(v[0])){for(var h=[],t=0;t<v.length;t++)h=h.concat(v[t]);m=h}var l=Object(o.a)(m),p=Object(i.a)(m);return{min:p,max:l}};c.a=a},function(u,c,r){"use strict";var f=Array.prototype,o=f.splice,i=f.indexOf,a=function(v){for(var m=[],h=1;h<arguments.length;h++)m[h-1]=arguments[h];for(var t=0;t<m.length;t++)for(var l=m[t],p=-1;(p=i.call(v,l))>-1;)o.call(v,p,1);return v};c.a=a},function(u,c,r){"use strict";var f=r(1),o=r(24),i=function(n,v){var m=[];if(!Object(f.a)(n))return m;for(var h=-1,t=[],l=n.length;++h<l;){var p=n[h];v(p,h,n)&&(m.push(p),t.push(h))}return Object(o.a)(n,t),m};c.a=i},function(u,c,r){"use strict";var f=r(0),o=r(4),i=r(2);function a(n,v){var m;if(Object(i.a)(v))m=function(l,p){return v(l)-v(p)};else{var h=[];Object(o.a)(v)?h.push(v):Object(f.a)(v)&&(h=v),m=function(l,p){for(var w=0;w<h.length;w+=1){var S=h[w];if(l[S]>p[S])return 1;if(l[S]<p[S])return-1}return 0}}return n.sort(m),n}c.a=a},function(u,c,r){"use strict";var f=r(26),o=function(){for(var a=[],n=0;n<arguments.length;n++)a[n]=arguments[n];return Object(f.a)([].concat.apply([],a))};c.a=o},function(u,c,r){"use strict";var f=r(0),o=r(7);c.a=function(i,a){for(var n=[],v={},m=0;m<i.length;m++){var h=i[m],t=h[a];if(!Object(o.a)(t)){Object(f.a)(t)||(t=[t]);for(var l=0;l<t.length;l++){var p=t[l];v[p]||(n.push(p),v[p]=!0)}}}return n}},function(u,c,r){"use strict";c.a=o;var f=r(1);function o(i){if(Object(f.a)(i))return i[0]}},function(u,c,r){"use strict";c.a=o;var f=r(1);function o(i){if(Object(f.a)(i)){var a=i;return a[a.length-1]}}},function(u,c,r){"use strict";var f=r(0),o=r(4);function i(a,n){return Object(f.a)(a)||Object(o.a)(a)?a[0]===n:!1}c.a=i},function(u,c,r){"use strict";var f=r(0),o=r(4);function i(a,n){return Object(f.a)(a)||Object(o.a)(a)?a[a.length-1]===n:!1}c.a=i},function(u,c,r){"use strict";var f=function(i,a){for(var n=0;n<i.length;n++)if(!a(i[n],n))return!1;return!0};c.a=f},function(u,c,r){"use strict";var f=function(i,a){for(var n=0;n<i.length;n++)if(a(i[n],n))return!0;return!1};c.a=f},function(u,c,r){"use strict";var f=r(27);c.a=function(o,i){if(!i)return[o];var a=Object(f.a)(o,i),n=[];for(var v in a)n.push(a[v]);return n}},function(u,c,r){"use strict";function f(o,i){return o["_wrap_"+i]}c.a=f},function(u,c,r){"use strict";function f(o,i){if(o["_wrap_"+i])return o["_wrap_"+i];var a=function(v){o[i](v)};return o["_wrap_"+i]=a,a}c.a=f},function(u,c,r){"use strict";var f={};function o(i){var a=f[i];if(!a){for(var n=i.toString(16),v=n.length;v<6;v++)n="0"+n;a="#"+n,f[i]=a}return a}c.a=o},function(u,c,r){"use strict";var f=r(0);function o(i){var a=0,n=0,v=0,m=0;return Object(f.a)(i)?i.length===1?a=n=v=m=i[0]:i.length===2?(a=v=i[0],n=m=i[1]):i.length===3?(a=i[0],n=m=i[1],v=i[2]):(a=i[0],n=i[1],v=i[2],m=i[3]):a=n=v=m=i,{r1:a,r2:n,r3:v,r4:m}}c.a=o},function(u,c,r){"use strict";var f=function(i,a,n){return i<a?a:i>n?n:i};c.a=f},function(u,c,r){"use strict";var f=function(i,a){var n=a.toString(),v=n.indexOf(".");if(v===-1)return Math.round(i);var m=n.substr(v+1).length;return m>20&&(m=20),parseFloat(i.toFixed(m))};c.a=f},function(u,c,r){"use strict";var f=r(5),o=function(a){return Object(f.a)(a)&&a%1!=0};c.a=o},function(u,c,r){"use strict";var f=r(5),o=function(a){return Object(f.a)(a)&&a%2==0};c.a=o},function(u,c,r){"use strict";var f=r(5),o=Number.isInteger?Number.isInteger:function(i){return Object(f.a)(i)&&i%1==0};c.a=o},function(u,c,r){"use strict";var f=r(5),o=function(a){return Object(f.a)(a)&&a<0};c.a=o},function(u,c,r){"use strict";c.a=o;var f=1e-5;function o(i,a,n){return n===void 0&&(n=f),Math.abs(i-a)<n}},function(u,c,r){"use strict";var f=r(5),o=function(a){return Object(f.a)(a)&&a%2!=0};c.a=o},function(u,c,r){"use strict";var f=r(5),o=function(a){return Object(f.a)(a)&&a>0};c.a=o},function(u,c,r){"use strict";var f=r(0),o=r(2);c.a=function(i,a){if(!!Object(f.a)(i)){for(var n,v=-Infinity,m=0;m<i.length;m++){var h=i[m],t=Object(o.a)(a)?a(h):h[a];t>v&&(n=h,v=t)}return n}}},function(u,c,r){"use strict";var f=r(0),o=r(2);c.a=function(i,a){if(!!Object(f.a)(i)){for(var n,v=Infinity,m=0;m<i.length;m++){var h=i[m],t=Object(o.a)(a)?a(h):h[a];t<v&&(n=h,v=t)}return n}}},function(u,c,r){"use strict";var f=function(i,a){return(i%a+a)%a};c.a=f},function(u,c,r){"use strict";var f=180/Math.PI,o=function(a){return f*a};c.a=o},function(u,c,r){"use strict";c.a=parseInt},function(u,c,r){"use strict";var f=Math.PI/180,o=function(a){return f*a};c.a=o},function(u,c,r){"use strict";var f=r(8);c.a=f.a},function(u,c,r){"use strict";var f=r(29);c.a=f.a},function(u,c,r){"use strict";var f=r(13),o=r(15);c.a=function(i,a){return Object(f.a)(Object(o.a)(i),a)}},function(u,c,r){"use strict";var f=r(9),o=function(a){return Object(f.a)(a).toLowerCase()};c.a=o},function(u,c,r){"use strict";var f=r(9),o=function(a){var n=Object(f.a)(a);return n.charAt(0).toLowerCase()+n.substring(1)};c.a=o},function(u,c,r){"use strict";function f(o,i){return!o||!i?o:o.replace(/\\?\{([^{}]+)\}/g,function(a,n){return a.charAt(0)==="\\"?a.slice(1):i[n]===void 0?"":i[n]})}c.a=f},function(u,c,r){"use strict";var f=r(9),o=function(a){return Object(f.a)(a).toUpperCase()};c.a=o},function(u,c,r){"use strict";var f=r(9),o=function(a){var n=Object(f.a)(a);return n.charAt(0).toUpperCase()+n.substring(1)};c.a=o},function(u,c,r){"use strict";var f=r(3),o=function(a){return Object(f.a)(a,"Arguments")};c.a=o},function(u,c,r){"use strict";var f=r(3),o=function(a){return Object(f.a)(a,"Boolean")};c.a=o},function(u,c,r){"use strict";var f=r(3),o=function(a){return Object(f.a)(a,"Date")};c.a=o},function(u,c,r){"use strict";var f=r(3),o=function(a){return Object(f.a)(a,"Error")};c.a=o},function(u,c,r){"use strict";var f=r(5);c.a=function(o){return Object(f.a)(o)&&isFinite(o)}},function(u,c,r){"use strict";var f=function(i){return i===null};c.a=f},function(u,c,r){"use strict";var f=r(3),o=function(a){return Object(f.a)(a,"RegExp")};c.a=o},function(u,c,r){"use strict";var f=function(i){return i===void 0};c.a=f},function(u,c,r){"use strict";var f=function(i){return i instanceof Element||i instanceof HTMLDocument};c.a=f},function(u,c,r){"use strict";c.a=f;function f(o){var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return setTimeout(a,16)};return i(o)}},function(u,c,r){"use strict";c.a=f;function f(o){var i=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;i(o)}},function(u,c,r){"use strict";var f=r(16),o=r(2),i=function(){for(var n=[],v=0;v<arguments.length;v++)n[v]=arguments[v];for(var m=n[0],h=1;h<n.length;h++){var t=n[h];Object(o.a)(t)&&(t=t.prototype),Object(f.a)(m.prototype,t)}};c.a=i},function(u,c,r){"use strict";var f=r(0),o=function i(a){if(typeof a!="object"||a===null)return a;var n;if(Object(f.a)(a)){n=[];for(var v=0,m=a.length;v<m;v++)typeof a[v]=="object"&&a[v]!=null?n[v]=i(a[v]):n[v]=a[v]}else{n={};for(var h in a)typeof a[h]=="object"&&a[h]!=null?n[h]=i(a[h]):n[h]=a[h]}return n};c.a=o},function(u,c,r){"use strict";function f(o,i,a){var n;return function(){var v=this,m=arguments,h=function(){n=null,a||o.apply(v,m)},t=a&&!n;clearTimeout(n),n=setTimeout(h,i),t&&o.apply(v,m)}}c.a=f},function(u,c,r){"use strict";var f=r(0),o=r(10),i=5;function a(v,m,h,t){h=h||0,t=t||i;for(var l in m)if(m.hasOwnProperty(l)){var p=m[l];p!==null&&Object(o.a)(p)?(Object(o.a)(v[l])||(v[l]={}),h<t?a(v[l],p,h+1,t):v[l]=m[l]):Object(f.a)(p)?(v[l]=[],v[l]=v[l].concat(p)):p!==void 0&&(v[l]=p)}}var n=function(m){for(var h=[],t=1;t<arguments.length;t++)h[t-1]=arguments[t];for(var l=0;l<h.length;l+=1)a(m,h[l]);return m};c.a=n},function(u,c,r){"use strict";var f=r(16),o=r(2),i=function(n,v,m,h){Object(o.a)(v)||(m=v,v=n,n=function(){});var t=Object.create?function(p,w){return Object.create(p,{constructor:{value:w}})}:function(p,w){function S(){}S.prototype=p;var k=new S;return k.constructor=w,k},l=t(v.prototype,n);return n.prototype=Object(f.a)(l,n.prototype),n.superclass=t(v.prototype,v),Object(f.a)(l,m),Object(f.a)(n,h),n};c.a=i},function(u,c,r){"use strict";var f=r(1),o=function(a,n){if(!Object(f.a)(a))return-1;var v=Array.prototype.indexOf;if(v)return v.call(a,n);for(var m=-1,h=0;h<a.length;h++)if(a[h]===n){m=h;break}return m};c.a=o},function(u,c,r){"use strict";var f=r(7),o=r(1),i=r(30),a=r(31),n=Object.prototype.hasOwnProperty;function v(m){if(Object(f.a)(m))return!0;if(Object(o.a)(m))return!m.length;var h=Object(i.a)(m);if(h==="Map"||h==="Set")return!m.size;if(Object(a.a)(m))return!Object.keys(m).length;for(var t in m)if(n.call(m,t))return!1;return!0}c.a=v},function(u,c,r){"use strict";var f=r(2),o=r(33);c.a=function(i,a,n){return Object(f.a)(n)?!!n(i,a):Object(o.a)(i,a)}},function(u,c,r){"use strict";var f=r(1),o=function(a,n){if(!Object(f.a)(a))return a;for(var v=[],m=0;m<a.length;m++){var h=a[m];v.push(n(h,m))}return v};c.a=o},function(u,c,r){"use strict";var f=r(7),o=r(12),i=function(n){return n};c.a=function(a,n){n===void 0&&(n=i);var v={};return Object(o.a)(a)&&!Object(f.a)(a)&&Object.keys(a).forEach(function(m){v[m]=n(a[m],m)}),v}},function(u,c,r){"use strict";var f=r(4);c.a=function(o,i,a){for(var n=0,v=Object(f.a)(i)?i.split("."):i;o&&n<v.length;)o=o[v[n++]];return o===void 0||n<v.length?a:o}},function(u,c,r){"use strict";var f=r(12),o=r(4),i=r(5);c.a=function(a,n,v){var m=a,h=Object(o.a)(n)?n.split("."):n;return h.forEach(function(t,l){l<h.length-1?(Object(f.a)(m[t])||(m[t]=Object(i.a)(h[l+1])?[]:{}),m=m[t]):m[t]=v}),a}},function(u,c,r){"use strict";var f=r(8),o=r(10),i=Object.prototype.hasOwnProperty;c.a=function(a,n){if(a===null||!Object(o.a)(a))return{};var v={};return Object(f.a)(n,function(m){i.call(a,m)&&(v[m]=a[m])}),v}},function(u,c,r){"use strict";var f=r(25);c.a=function(o,i){return Object(f.a)(o,function(a,n,v){return i.includes(v)||(a[v]=n),a},{})}},function(u,c,r){"use strict";c.a=function(f,o,i){var a,n,v,m,h=0;i||(i={});var t=function(){h=i.leading===!1?0:Date.now(),a=null,m=f.apply(n,v),a||(n=v=null)},l=function(){var w=Date.now();!h&&i.leading===!1&&(h=w);var S=o-(w-h);return n=this,v=arguments,S<=0||S>o?(a&&(clearTimeout(a),a=null),h=w,m=f.apply(n,v),a||(n=v=null)):!a&&i.trailing!==!1&&(a=setTimeout(t,S)),m};return l.cancel=function(){clearTimeout(a),h=0,a=n=v=null},l}},function(u,c,r){"use strict";var f=r(1);c.a=function(o){return Object(f.a)(o)?Array.prototype.slice.call(o):[]}},function(u,c,r){"use strict";var f={};c.a=function(o){return o=o||"g",f[o]?f[o]+=1:f[o]=1,o+f[o]}},function(u,c,r){"use strict";c.a=function(){}},function(u,c,r){"use strict";c.a=function(f){return f}},function(u,c,r){"use strict";c.a=i;var f=r(7),o=r(1);function i(a){return Object(f.a)(a)?0:Object(o.a)(a)?a.length:Object.keys(a).length}},function(u,c,r){"use strict";c.a=A;var f=function(ue,ne){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,be){se.__proto__=be}||function(se,be){for(var Z in be)Object.prototype.hasOwnProperty.call(be,Z)&&(se[Z]=be[Z])},f(ue,ne)};function o(he,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");f(he,ue);function ne(){this.constructor=he}he.prototype=ue===null?Object.create(ue):(ne.prototype=ue.prototype,new ne)}var i=function(){return i=Object.assign||function(ne){for(var se,be=1,Z=arguments.length;be<Z;be++){se=arguments[be];for(var ee in se)Object.prototype.hasOwnProperty.call(se,ee)&&(ne[ee]=se[ee])}return ne},i.apply(this,arguments)};function a(he,ue){var ne={};for(var se in he)Object.prototype.hasOwnProperty.call(he,se)&&ue.indexOf(se)<0&&(ne[se]=he[se]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,se=Object.getOwnPropertySymbols(he);be<se.length;be++)ue.indexOf(se[be])<0&&Object.prototype.propertyIsEnumerable.call(he,se[be])&&(ne[se[be]]=he[se[be]]);return ne}function n(he,ue,ne,se){var be=arguments.length,Z=be<3?ue:se===null?se=Object.getOwnPropertyDescriptor(ue,ne):se,ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Z=Reflect.decorate(he,ue,ne,se);else for(var ce=he.length-1;ce>=0;ce--)(ee=he[ce])&&(Z=(be<3?ee(Z):be>3?ee(ue,ne,Z):ee(ue,ne))||Z);return be>3&&Z&&Object.defineProperty(ue,ne,Z),Z}function v(he,ue){return function(ne,se){ue(ne,se,he)}}function m(he,ue,ne,se,be,Z){function ee(Te){if(Te!==void 0&&typeof Te!="function")throw new TypeError("Function expected");return Te}for(var ce=se.kind,R=ce==="getter"?"get":ce==="setter"?"set":"value",y=!ue&&he?se.static?he:he.prototype:null,C=ue||(y?Object.getOwnPropertyDescriptor(y,se.name):{}),z,G=!1,X=ne.length-1;X>=0;X--){var pe={};for(var ae in se)pe[ae]=ae==="access"?{}:se[ae];for(var ae in se.access)pe.access[ae]=se.access[ae];pe.addInitializer=function(Te){if(G)throw new TypeError("Cannot add initializers after decoration has completed");Z.push(ee(Te||null))};var Se=(0,ne[X])(ce==="accessor"?{get:C.get,set:C.set}:C[R],pe);if(ce==="accessor"){if(Se===void 0)continue;if(Se===null||typeof Se!="object")throw new TypeError("Object expected");(z=ee(Se.get))&&(C.get=z),(z=ee(Se.set))&&(C.set=z),(z=ee(Se.init))&&be.push(z)}else(z=ee(Se))&&(ce==="field"?be.push(z):C[R]=z)}y&&Object.defineProperty(y,se.name,C),G=!0}function h(he,ue,ne){for(var se=arguments.length>2,be=0;be<ue.length;be++)ne=se?ue[be].call(he,ne):ue[be].call(he);return se?ne:void 0}function t(he){return typeof he=="symbol"?he:"".concat(he)}function l(he,ue,ne){return typeof ue=="symbol"&&(ue=ue.description?"[".concat(ue.description,"]"):""),Object.defineProperty(he,"name",{configurable:!0,value:ne?"".concat(ne," ",ue):ue})}function p(he,ue){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(he,ue)}function w(he,ue,ne,se){function be(Z){return Z instanceof ne?Z:new ne(function(ee){ee(Z)})}return new(ne||(ne=Promise))(function(Z,ee){function ce(C){try{y(se.next(C))}catch(z){ee(z)}}function R(C){try{y(se.throw(C))}catch(z){ee(z)}}function y(C){C.done?Z(C.value):be(C.value).then(ce,R)}y((se=se.apply(he,ue||[])).next())})}function S(he,ue){var ne={label:0,sent:function(){if(Z[0]&1)throw Z[1];return Z[1]},trys:[],ops:[]},se,be,Z,ee;return ee={next:ce(0),throw:ce(1),return:ce(2)},typeof Symbol=="function"&&(ee[Symbol.iterator]=function(){return this}),ee;function ce(y){return function(C){return R([y,C])}}function R(y){if(se)throw new TypeError("Generator is already executing.");for(;ee&&(ee=0,y[0]&&(ne=0)),ne;)try{if(se=1,be&&(Z=y[0]&2?be.return:y[0]?be.throw||((Z=be.return)&&Z.call(be),0):be.next)&&!(Z=Z.call(be,y[1])).done)return Z;switch(be=0,Z&&(y=[y[0]&2,Z.value]),y[0]){case 0:case 1:Z=y;break;case 4:return ne.label++,{value:y[1],done:!1};case 5:ne.label++,be=y[1],y=[0];continue;case 7:y=ne.ops.pop(),ne.trys.pop();continue;default:if(Z=ne.trys,!(Z=Z.length>0&&Z[Z.length-1])&&(y[0]===6||y[0]===2)){ne=0;continue}if(y[0]===3&&(!Z||y[1]>Z[0]&&y[1]<Z[3])){ne.label=y[1];break}if(y[0]===6&&ne.label<Z[1]){ne.label=Z[1],Z=y;break}if(Z&&ne.label<Z[2]){ne.label=Z[2],ne.ops.push(y);break}Z[2]&&ne.ops.pop(),ne.trys.pop();continue}y=ue.call(he,ne)}catch(C){y=[6,C],be=0}finally{se=Z=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}}var k=Object.create?function(he,ue,ne,se){se===void 0&&(se=ne);var be=Object.getOwnPropertyDescriptor(ue,ne);(!be||("get"in be?!ue.__esModule:be.writable||be.configurable))&&(be={enumerable:!0,get:function(){return ue[ne]}}),Object.defineProperty(he,se,be)}:function(he,ue,ne,se){se===void 0&&(se=ne),he[se]=ue[ne]};function T(he,ue){for(var ne in he)ne!=="default"&&!Object.prototype.hasOwnProperty.call(ue,ne)&&k(ue,he,ne)}function I(he){var ue=typeof Symbol=="function"&&Symbol.iterator,ne=ue&&he[ue],se=0;if(ne)return ne.call(he);if(he&&typeof he.length=="number")return{next:function(){return he&&se>=he.length&&(he=void 0),{value:he&&he[se++],done:!he}}};throw new TypeError(ue?"Object is not iterable.":"Symbol.iterator is not defined.")}function Y(he,ue){var ne=typeof Symbol=="function"&&he[Symbol.iterator];if(!ne)return he;var se=ne.call(he),be,Z=[],ee;try{for(;(ue===void 0||ue-- >0)&&!(be=se.next()).done;)Z.push(be.value)}catch(ce){ee={error:ce}}finally{try{be&&!be.done&&(ne=se.return)&&ne.call(se)}finally{if(ee)throw ee.error}}return Z}function $(){for(var he=[],ue=0;ue<arguments.length;ue++)he=he.concat(Y(arguments[ue]));return he}function A(){for(var he=0,ue=0,ne=arguments.length;ue<ne;ue++)he+=arguments[ue].length;for(var se=Array(he),be=0,ue=0;ue<ne;ue++)for(var Z=arguments[ue],ee=0,ce=Z.length;ee<ce;ee++,be++)se[be]=Z[ee];return se}function g(he,ue,ne){if(ne||arguments.length===2)for(var se=0,be=ue.length,Z;se<be;se++)(Z||!(se in ue))&&(Z||(Z=Array.prototype.slice.call(ue,0,se)),Z[se]=ue[se]);return he.concat(Z||Array.prototype.slice.call(ue))}function b(he){return this instanceof b?(this.v=he,this):new b(he)}function d(he,ue,ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var se=ne.apply(he,ue||[]),be,Z=[];return be={},ee("next"),ee("throw"),ee("return"),be[Symbol.asyncIterator]=function(){return this},be;function ee(G){se[G]&&(be[G]=function(X){return new Promise(function(pe,ae){Z.push([G,X,pe,ae])>1||ce(G,X)})})}function ce(G,X){try{R(se[G](X))}catch(pe){z(Z[0][3],pe)}}function R(G){G.value instanceof b?Promise.resolve(G.value.v).then(y,C):z(Z[0][2],G)}function y(G){ce("next",G)}function C(G){ce("throw",G)}function z(G,X){G(X),Z.shift(),Z.length&&ce(Z[0][0],Z[0][1])}}function O(he){var ue,ne;return ue={},se("next"),se("throw",function(be){throw be}),se("return"),ue[Symbol.iterator]=function(){return this},ue;function se(be,Z){ue[be]=he[be]?function(ee){return(ne=!ne)?{value:b(he[be](ee)),done:!1}:Z?Z(ee):ee}:Z}}function E(he){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ue=he[Symbol.asyncIterator],ne;return ue?ue.call(he):(he=typeof I=="function"?I(he):he[Symbol.iterator](),ne={},se("next"),se("throw"),se("return"),ne[Symbol.asyncIterator]=function(){return this},ne);function se(Z){ne[Z]=he[Z]&&function(ee){return new Promise(function(ce,R){ee=he[Z](ee),be(ce,R,ee.done,ee.value)})}}function be(Z,ee,ce,R){Promise.resolve(R).then(function(y){Z({value:y,done:ce})},ee)}}function D(he,ue){return Object.defineProperty?Object.defineProperty(he,"raw",{value:ue}):he.raw=ue,he}var W=Object.create?function(he,ue){Object.defineProperty(he,"default",{enumerable:!0,value:ue})}:function(he,ue){he.default=ue};function te(he){if(he&&he.__esModule)return he;var ue={};if(he!=null)for(var ne in he)ne!=="default"&&Object.prototype.hasOwnProperty.call(he,ne)&&k(ue,he,ne);return W(ue,he),ue}function re(he){return he&&he.__esModule?he:{default:he}}function ye(he,ue,ne,se){if(ne==="a"&&!se)throw new TypeError("Private accessor was defined without a getter");if(typeof ue=="function"?he!==ue||!se:!ue.has(he))throw new TypeError("Cannot read private member from an object whose class did not declare it");return ne==="m"?se:ne==="a"?se.call(he):se?se.value:ue.get(he)}function q(he,ue,ne,se,be){if(se==="m")throw new TypeError("Private method is not writable");if(se==="a"&&!be)throw new TypeError("Private accessor was defined without a setter");if(typeof ue=="function"?he!==ue||!be:!ue.has(he))throw new TypeError("Cannot write private member to an object whose class did not declare it");return se==="a"?be.call(he,ne):be?be.value=ne:ue.set(he,ne),ne}function oe(he,ue){if(ue===null||typeof ue!="object"&&typeof ue!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof he=="function"?ue===he:he.has(ue)}},function(u,c,r){"use strict";var f=r(4),o=r(9),i=r(34);c.a=function(a,n,v,m){m===void 0&&(m="...");var h=16,t=Object(i.a)(m,v),l=Object(f.a)(a)?a:Object(o.a)(a),p=n,w=[],S,k;if(Object(i.a)(a,v)<=n)return a;for(;S=l.substr(0,h),k=Object(i.a)(S,v),!(k+t>p&&k>p);)if(w.push(S),p-=k,l=l.substr(h),!l)return w.join("");for(;S=l.substr(0,1),k=Object(i.a)(S,v),!(k+t>p);)if(w.push(S),p-=k,l=l.substr(1),!l)return w.join("");return""+w.join("")+m}},function(u,c,r){"use strict";var f=function(){function o(){this.map={}}return o.prototype.has=function(i){return this.map[i]!==void 0},o.prototype.get=function(i,a){var n=this.map[i];return n===void 0?a:n},o.prototype.set=function(i,a){this.map[i]=a},o.prototype.clear=function(){this.map={}},o.prototype.delete=function(i){delete this.map[i]},o.prototype.size=function(){return Object.keys(this.map).length},o}();c.a=f},function(u,c){function r(v,m,h,t){t===void 0&&(t=[]);var l=this;l.w=v||0,l.h=m||0,l.y=h||0,l.x=0,l.c=t||[],l.cs=t.length,l.prelim=0,l.mod=0,l.shift=0,l.change=0,l.tl=null,l.tr=null,l.el=null,l.er=null,l.msel=0,l.mser=0}r.fromNode=function(v,m){if(!v)return null;var h=[];return v.children.forEach(function(t){h.push(r.fromNode(t,m))}),m?new r(v.height,v.width,v.x,h):new r(v.width,v.height,v.y,h)};function f(v,m,h){h?v.y+=m:v.x+=m,v.children.forEach(function(t){f(t,m,h)})}function o(v,m){var h=m?v.y:v.x;return v.children.forEach(function(t){h=Math.min(o(t,m),h)}),h}function i(v,m){var h=o(v,m);f(v,-h,m)}function a(v,m,h){h?m.y=v.x:m.x=v.x,v.c.forEach(function(t,l){a(t,m.children[l],h)})}function n(v,m,h){h===void 0&&(h=0),m?(v.x=h,h+=v.width):(v.y=h,h+=v.height),v.children.forEach(function(t){n(t,m,h)})}u.exports=function(v,m){m===void 0&&(m={});var h=m.isHorizontal;function t(E){if(E.cs===0){l(E);return}t(E.c[0]);for(var D=d(T(E.c[0].el),0,null),W=1;W<E.cs;++W){t(E.c[W]);var te=T(E.c[W].er);p(E,W,D),D=d(te,W,D)}$(E),l(E)}function l(E){E.cs===0?(E.el=E,E.er=E,E.msel=E.mser=0):(E.el=E.c[0].el,E.msel=E.c[0].msel,E.er=E.c[E.cs-1].er,E.mser=E.c[E.cs-1].mser)}function p(E,D,W){for(var te=E.c[D-1],re=te.mod,ye=E.c[D],q=ye.mod;te!==null&&ye!==null;){T(te)>W.low&&(W=W.nxt);var oe=re+te.prelim+te.w-(q+ye.prelim);oe>0&&(q+=oe,w(E,D,W.index,oe));var he=T(te),ue=T(ye);he<=ue&&(te=k(te),te!==null&&(re+=te.mod)),he>=ue&&(ye=S(ye),ye!==null&&(q+=ye.mod))}!te&&!!ye?I(E,D,ye,q):!!te&&!ye&&Y(E,D,te,re)}function w(E,D,W,te){E.c[D].mod+=te,E.c[D].msel+=te,E.c[D].mser+=te,g(E,D,W,te)}function S(E){return E.cs===0?E.tl:E.c[0]}function k(E){return E.cs===0?E.tr:E.c[E.cs-1]}function T(E){return E.y+E.h}function I(E,D,W,te){var re=E.c[0].el;re.tl=W;var ye=te-W.mod-E.c[0].msel;re.mod+=ye,re.prelim-=ye,E.c[0].el=E.c[D].el,E.c[0].msel=E.c[D].msel}function Y(E,D,W,te){var re=E.c[D].er;re.tr=W;var ye=te-W.mod-E.c[D].mser;re.mod+=ye,re.prelim-=ye,E.c[D].er=E.c[D-1].er,E.c[D].mser=E.c[D-1].mser}function $(E){E.prelim=(E.c[0].prelim+E.c[0].mod+E.c[E.cs-1].mod+E.c[E.cs-1].prelim+E.c[E.cs-1].w)/2-E.w/2}function A(E,D){D+=E.mod,E.x=E.prelim+D,b(E);for(var W=0;W<E.cs;W++)A(E.c[W],D)}function g(E,D,W,te){if(W!==D-1){var re=D-W;E.c[W+1].shift+=te/re,E.c[D].shift-=te/re,E.c[D].change-=te-te/re}}function b(E){for(var D=0,W=0,te=0;te<E.cs;te++)D+=E.c[te].shift,W+=D+E.c[te].change,E.c[te].mod+=W}function d(E,D,W){for(;W!==null&&E>=W.low;)W=W.nxt;return{low:E,index:D,nxt:W}}n(v,h);var O=r.fromNode(v,h);return t(O),A(O,0),a(O,v,h),i(v,h),v}},function(u,c,r){function f(l,p){l.prototype=Object.create(p.prototype),l.prototype.constructor=l,o(l,p)}function o(l,p){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,k){return S.__proto__=k,S},o(l,p)}var i=r(11),a=r(121),n=r(17),v=r(6),m=function(l){f(p,l);function p(){return l.apply(this,arguments)||this}var w=p.prototype;return w.execute=function(){var k=this;return k.rootNode.width=0,n(k.rootNode,k.options,a)},p}(i),h={};function t(l,p){return p=v.assign({},h,p),new m(l,p).execute()}u.exports=t},function(u,c,r){var f=r(6);function o(n,v){n===void 0&&(n=0),v===void 0&&(v=[]);var m=this;m.x=m.y=0,m.leftChild=m.rightChild=null,m.height=0,m.children=v}var i={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};function a(n,v,m){m?(v.x=n.x,v.y=n.y):(v.x=n.y,v.y=n.x),n.children.forEach(function(h,t){a(h,v.children[t],m)})}u.exports=function(n,v){v===void 0&&(v={}),v=f.assign({},i,v);var m=0;function h(S){if(!S)return null;S.width=0,S.depth&&S.depth>m&&(m=S.depth);var k=S.children,T=k.length,I=new o(S.height,[]);return k.forEach(function(Y,$){var A=h(Y);I.children.push(A),$===0&&(I.leftChild=A),$===T-1&&(I.rightChild=A)}),I.originNode=S,I.isLeaf=S.isLeaf(),I}function t(S){if(S.isLeaf||S.children.length===0)S.drawingDepth=m;else{var k=S.children.map(function(I){return t(I)}),T=Math.min.apply(null,k);S.drawingDepth=T-1}return S.drawingDepth}var l;function p(S){S.x=S.drawingDepth*v.rankSep,S.isLeaf?(S.y=0,l&&(S.y=l.y+l.height+v.nodeSep,S.originNode.parent!==l.originNode.parent&&(S.y+=v.subTreeSep)),l=S):(S.children.forEach(function(k){p(k)}),S.y=(S.leftChild.y+S.rightChild.y)/2)}var w=h(n);return t(w),p(w),a(w,n,v.isHorizontal),n}},function(u,c,r){function f(w,S){w.prototype=Object.create(S.prototype),w.prototype.constructor=w,o(w,S)}function o(w,S){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,I){return T.__proto__=I,T},o(w,S)}var i=r(11),a=r(123),n=r(35),v=r(6),m=["LR","RL","H"],h=m[0],t=function(w){f(S,w);function S(){return w.apply(this,arguments)||this}var k=S.prototype;return k.execute=function(){var I=this,Y=I.options,$=I.rootNode;Y.isHorizontal=!0;var A=Y.indent,g=A===void 0?20:A,b=Y.dropCap,d=b===void 0?!0:b,O=Y.direction,E=O===void 0?h:O,D=Y.align;if(E&&m.indexOf(E)===-1)throw new TypeError("Invalid direction: "+E);if(E===m[0])a($,g,d,D);else if(E===m[1])a($,g,d,D),$.right2left();else if(E===m[2]){var W=n($,Y),te=W.left,re=W.right;a(te,g,d,D),te.right2left(),a(re,g,d,D);var ye=te.getBoundingBox();re.translate(ye.width,0),$.x=re.x-$.width/2}return $},S}(i),l={};function p(w,S){return S=v.assign({},l,S),new t(w,S).execute()}u.exports=p},function(u,c,r){var f=r(6);function o(i,a,n,v,m){var h=typeof n=="function"?n(i):n*i.depth;if(!v)try{if(i.id===i.parent.children[0].id){i.x+=h,i.y=a?a.y:0;return}}catch(p){}if(i.x+=h,a){if(i.y=a.y+f.getHeight(a,i,m),a.parent&&i.parent.id!==a.parent.id){var t=a.parent,l=t.y+f.getHeight(t,i,m);i.y=l>i.y?l:i.y}}else i.y=0}u.exports=function(i,a,n,v){var m=null;i.eachNode(function(h){o(h,m,a,n,v),m=h})}},function(u,c,r){function f(l,p){l.prototype=Object.create(p.prototype),l.prototype.constructor=l,o(l,p)}function o(l,p){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,k){return S.__proto__=k,S},o(l,p)}var i=r(11),a=r(125),n=r(17),v=r(6),m=function(l){f(p,l);function p(){return l.apply(this,arguments)||this}var w=p.prototype;return w.execute=function(){var k=this;return n(k.rootNode,k.options,a)},p}(i),h={};function t(l,p){return p=v.assign({},h,p),new m(l,p).execute()}u.exports=t},function(u,c,r){var f=r(6);function o(n,v){var m=0;return n.children.length?n.children.forEach(function(h){m+=o(h,v)}):m=n.height,n._subTreeSep=v.getSubTreeSep(n.data),n.totalHeight=Math.max(n.height,m)+2*n._subTreeSep,n.totalHeight}function i(n){var v=n.children,m=v.length;if(m){v.forEach(function(S){i(S)});var h=v[0],t=v[m-1],l=t.y-h.y+t.height,p=0;if(v.forEach(function(S){p+=S.totalHeight}),l>n.height)n.y=h.y+l/2-n.height/2;else if(v.length!==1||n.height>p){var w=n.y+(n.height-l)/2-h.y;v.forEach(function(S){S.translate(0,w)})}else n.y=(h.y+h.height/2+t.y+t.height/2)/2-n.height/2}}var a={getSubTreeSep:function(){return 0}};u.exports=function(n,v){v===void 0&&(v={}),v=f.assign({},a,v),n.parent={x:0,width:0,height:0,y:0},n.BFTraverse(function(m){m.x=m.parent.x+m.parent.width}),n.parent=null,o(n,v),n.startY=0,n.y=n.totalHeight/2-n.height/2,n.eachNode(function(m){var h=m.children,t=h.length;if(t){var l=h[0];if(l.startY=m.startY+m._subTreeSep,t===1)l.y=m.y+m.height/2-l.height/2;else{l.y=l.startY+l.totalHeight/2-l.height/2;for(var p=1;p<t;p++){var w=h[p];w.startY=h[p-1].startY+h[p-1].totalHeight,w.y=w.startY+w.totalHeight/2-w.height/2}}}}),i(n)}}])})},BY2G:function(Ie,M,e){"use strict";var u=function(r){if(r&&r!==!0)return r};M.a=u},BiGR:function(Ie,M,e){var u=e("nmnc"),c=e("03A+"),r=e("Z0cm"),f=u?u.isConcatSpreadable:void 0;function o(i){return r(i)||c(i)||!!(f&&i&&i[f])}Ie.exports=o},BkRI:function(Ie,M,e){var u=e("OBhP"),c=1,r=4;function f(o){return u(o,c|r)}Ie.exports=f},"C/nq":function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="ZoomInOutlined";var a=M.a=c.forwardRef(i)},"C/vA":function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});function u(c){var r=this,f=!1,o;return function(){return f||(f=!0,o=c.apply(r,arguments)),o}}},C4tZ:function(Ie,M,e){"use strict";var u=e("6Ekc"),c=u.longestPath,r=e("GEWS"),f=e("dOj1");Ie.exports=o;function o(v){switch(v.graph().ranker){case"network-simplex":n(v);break;case"tight-tree":a(v);break;case"longest-path":i(v);break;default:n(v)}}var i=c;function a(v){c(v),r(v)}function n(v){f(v)}},C6rC:function(Ie,M,e){},CDaH:function(Ie,M,e){},CFYs:function(Ie,M,e){"use strict";var u=e("rePB"),c=e("wx14"),r=e("jO45"),f=e("bRQS"),o=e("jN4g"),i=e("4i/N"),a=e("TSYQ"),n=e.n(a),v=e("bT9E"),m=e("q1tI"),h=e("H84U"),t=e("CWQg"),l=e("AJpP"),p=e("VTBJ"),w=e("Ff2n"),S={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},k=function(){var ie=Object(m.useRef)([]),ge=Object(m.useRef)(null);return Object(m.useEffect)(function(){var Ve=Date.now(),Ee=!1;ie.current.forEach(function(Me){if(!!Me){Ee=!0;var _e=Me.style;_e.transitionDuration=".3s, .3s, .3s, .06s",ge.current&&Ve-ge.current<100&&(_e.transitionDuration="0s, 0s")}}),Ee&&(ge.current=Date.now())}),ie.current},T=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],I=function(ie){var ge=Object(p.a)(Object(p.a)({},S),ie),Ve=ge.className,Ee=ge.percent,Me=ge.prefixCls,_e=ge.strokeColor,Re=ge.strokeLinecap,et=ge.strokeWidth,Xe=ge.style,it=ge.trailColor,bt=ge.trailWidth,Ct=ge.transition,Bt=Object(w.a)(ge,T);delete Bt.gapPosition;var qe=Array.isArray(Ee)?Ee:[Ee],st=Array.isArray(_e)?_e:[_e],ut=k(),nt=et/2,kt=100-et/2,Sn="M ".concat(Re==="round"?nt:0,",").concat(nt,`
- L `).concat(Re==="round"?kt:100,",").concat(nt),Tt="0 0 100 ".concat(et),ht=0;return m.createElement("svg",Object(c.a)({className:n()("".concat(Me,"-line"),Ve),viewBox:Tt,preserveAspectRatio:"none",style:Xe},Bt),m.createElement("path",{className:"".concat(Me,"-line-trail"),d:Sn,strokeLinecap:Re,stroke:it,strokeWidth:bt||et,fillOpacity:"0"}),qe.map(function(Rt,Ft){var nn=1;switch(Re){case"round":nn=1-et/100;break;case"square":nn=1-et/2/100;break;default:nn=1;break}var bn={strokeDasharray:"".concat(Rt*nn,"px, 100px"),strokeDashoffset:"-".concat(ht,"px"),transition:Ct||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},sn=st[Ft]||st[st.length-1];return ht+=Rt,m.createElement("path",{key:Ft,className:"".concat(Me,"-line-path"),d:Sn,strokeLinecap:Re,stroke:sn,strokeWidth:et,fillOpacity:"0",ref:function(Ht){ut[Ft]=Ht},style:bn})}))},Y=I,$=e("U8pU"),A=e("ODXe"),g=e("MNnm"),b=0,d=Object(g.a)();function O(){var fe;return d?(fe=b,b+=1):fe="TEST_OR_SSR",fe}var E=function(fe){var ie=m.useState(),ge=Object(A.a)(ie,2),Ve=ge[0],Ee=ge[1];return m.useEffect(function(){Ee("rc_progress_".concat(O()))},[]),fe||Ve},D=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function W(fe){return+fe.replace("%","")}function te(fe){var ie=fe!=null?fe:[];return Array.isArray(ie)?ie:[ie]}var re=100,ye=function(ie,ge,Ve,Ee,Me,_e,Re,et,Xe,it){var bt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ct=Ve/100*360*((360-_e)/360),Bt=_e===0?0:{bottom:0,top:180,left:90,right:-90}[Re],qe=(100-Ee)/100*ge;return Xe==="round"&&Ee!==100&&(qe+=it/2,qe>=ge&&(qe=ge-.01)),{stroke:typeof et=="string"?et:void 0,strokeDasharray:"".concat(ge,"px ").concat(ie),strokeDashoffset:qe+bt,transform:"rotate(".concat(Me+Ct+Bt,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},q=function(ie){var ge=Object(p.a)(Object(p.a)({},S),ie),Ve=ge.id,Ee=ge.prefixCls,Me=ge.steps,_e=ge.strokeWidth,Re=ge.trailWidth,et=ge.gapDegree,Xe=et===void 0?0:et,it=ge.gapPosition,bt=ge.trailColor,Ct=ge.strokeLinecap,Bt=ge.style,qe=ge.className,st=ge.strokeColor,ut=ge.percent,nt=Object(w.a)(ge,D),kt=E(Ve),Sn="".concat(kt,"-gradient"),Tt=re/2-_e/2,ht=Math.PI*2*Tt,Rt=Xe>0?90+Xe/2:-90,Ft=ht*((360-Xe)/360),nn=Object($.a)(Me)==="object"?Me:{count:Me,space:2},bn=nn.count,sn=nn.space,un=ye(ht,Ft,0,100,Rt,Xe,it,bt,Ct,_e),Ht=te(ut),jn=te(st),Ln=jn.find(function(zt){return zt&&Object($.a)(zt)==="object"}),Un=k(),lt=function(){var en=0;return Ht.map(function(tn,wn){var on=jn[wn]||jn[jn.length-1],vn=on&&Object($.a)(on)==="object"?"url(#".concat(Sn,")"):void 0,dt=ye(ht,Ft,en,tn,Rt,Xe,it,on,Ct,_e);return en+=tn,m.createElement("circle",{key:wn,className:"".concat(Ee,"-circle-path"),r:Tt,cx:0,cy:0,stroke:vn,strokeLinecap:Ct,strokeWidth:_e,opacity:tn===0?0:1,style:dt,ref:function(Kt){Un[wn]=Kt}})}).reverse()},Nt=function(){var en=Math.round(bn*(Ht[0]/100)),tn=100/bn,wn=0;return new Array(bn).fill(null).map(function(on,vn){var dt=vn<=en-1?jn[0]:bt,ct=dt&&Object($.a)(dt)==="object"?"url(#".concat(Sn,")"):void 0,Kt=ye(ht,Ft,wn,tn,Rt,Xe,it,dt,"butt",_e,sn);return wn+=(Ft-Kt.strokeDashoffset+sn)*100/Ft,m.createElement("circle",{key:vn,className:"".concat(Ee,"-circle-path"),r:Tt,cx:0,cy:0,stroke:ct,strokeWidth:_e,opacity:1,style:Kt,ref:function(kn){Un[vn]=kn}})})};return m.createElement("svg",Object(c.a)({className:n()("".concat(Ee,"-circle"),qe),viewBox:"".concat(-re/2," ").concat(-re/2," ").concat(re," ").concat(re),style:Bt,id:Ve,role:"presentation"},nt),Ln&&m.createElement("defs",null,m.createElement("linearGradient",{id:Sn,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Ln).sort(function(zt,en){return W(zt)-W(en)}).map(function(zt,en){return m.createElement("stop",{key:en,offset:zt,stopColor:Ln[zt]})}))),!bn&&m.createElement("circle",{className:"".concat(Ee,"-circle-trail"),r:Tt,cx:0,cy:0,stroke:bt,strokeLinecap:Ct,strokeWidth:Re||_e,style:un}),bn?Nt():lt())},oe=q,he={Line:Y,Circle:oe};function ue(fe){return!fe||fe<0?0:fe>100?100:fe}function ne(fe){var ie=fe.success,ge=fe.successPercent,Ve=ge;return ie&&"progress"in ie&&(Ve=ie.progress),ie&&"percent"in ie&&(Ve=ie.percent),Ve}function se(fe){var ie=fe.percent,ge=fe.success,Ve=fe.successPercent,Ee=ue(ne({success:ge,successPercent:Ve}));return[Ee,ue(ue(ie)-Ee)]}function be(fe){var ie=fe.success,ge=ie===void 0?{}:ie,Ve=fe.strokeColor,Ee=ge.strokeColor;return[Ee||l.presetPrimaryColors.green,Ve||null]}var Z=function(ie){var ge=ie.prefixCls,Ve=ie.width,Ee=ie.strokeWidth,Me=ie.trailColor,_e=Me===void 0?null:Me,Re=ie.strokeLinecap,et=Re===void 0?"round":Re,Xe=ie.gapPosition,it=ie.gapDegree,bt=ie.type,Ct=ie.children,Bt=ie.success,qe=Ve||120,st={width:qe,height:qe,fontSize:qe*.15+6},ut=Ee||6,nt=Xe||bt==="dashboard"&&"bottom"||void 0,kt=function(){if(it||it===0)return it;if(bt==="dashboard")return 75},Sn=Object.prototype.toString.call(ie.strokeColor)==="[object Object]",Tt=be({success:Bt,strokeColor:ie.strokeColor}),ht=n()("".concat(ge,"-inner"),Object(u.a)({},"".concat(ge,"-circle-gradient"),Sn));return m.createElement("div",{className:ht,style:st},m.createElement(oe,{percent:se(ie),strokeWidth:ut,trailWidth:ut,strokeColor:Tt,strokeLinecap:et,trailColor:_e,prefixCls:ge,gapDegree:kt(),gapPosition:nt}),Ct)},ee=Z,ce=function(fe,ie){var ge={};for(var Ve in fe)Object.prototype.hasOwnProperty.call(fe,Ve)&&ie.indexOf(Ve)<0&&(ge[Ve]=fe[Ve]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Ve=Object.getOwnPropertySymbols(fe);Ee<Ve.length;Ee++)ie.indexOf(Ve[Ee])<0&&Object.prototype.propertyIsEnumerable.call(fe,Ve[Ee])&&(ge[Ve[Ee]]=fe[Ve[Ee]]);return ge},R=function(ie){var ge=[];return Object.keys(ie).forEach(function(Ve){var Ee=parseFloat(Ve.replace(/%/g,""));isNaN(Ee)||ge.push({key:Ee,value:ie[Ve]})}),ge=ge.sort(function(Ve,Ee){return Ve.key-Ee.key}),ge.map(function(Ve){var Ee=Ve.key,Me=Ve.value;return"".concat(Me," ").concat(Ee,"%")}).join(", ")},y=function(ie,ge){var Ve=ie.from,Ee=Ve===void 0?l.presetPrimaryColors.blue:Ve,Me=ie.to,_e=Me===void 0?l.presetPrimaryColors.blue:Me,Re=ie.direction,et=Re===void 0?ge==="rtl"?"to left":"to right":Re,Xe=ce(ie,["from","to","direction"]);if(Object.keys(Xe).length!==0){var it=R(Xe);return{backgroundImage:"linear-gradient(".concat(et,", ").concat(it,")")}}return{backgroundImage:"linear-gradient(".concat(et,", ").concat(Ee,", ").concat(_e,")")}},C=function(ie){var ge=ie.prefixCls,Ve=ie.direction,Ee=ie.percent,Me=ie.strokeWidth,_e=ie.size,Re=ie.strokeColor,et=ie.strokeLinecap,Xe=et===void 0?"round":et,it=ie.children,bt=ie.trailColor,Ct=bt===void 0?null:bt,Bt=ie.success,qe=Re&&typeof Re!="string"?y(Re,Ve):{background:Re},st=Xe==="square"||Xe==="butt"?0:void 0,ut={backgroundColor:Ct||void 0,borderRadius:st},nt=Object(c.a)({width:"".concat(ue(Ee),"%"),height:Me||(_e==="small"?6:8),borderRadius:st},qe),kt=ne(ie),Sn={width:"".concat(ue(kt),"%"),height:Me||(_e==="small"?6:8),borderRadius:st,backgroundColor:Bt==null?void 0:Bt.strokeColor},Tt=kt!==void 0?m.createElement("div",{className:"".concat(ge,"-success-bg"),style:Sn}):null;return m.createElement(m.Fragment,null,m.createElement("div",{className:"".concat(ge,"-outer")},m.createElement("div",{className:"".concat(ge,"-inner"),style:ut},m.createElement("div",{className:"".concat(ge,"-bg"),style:nt}),Tt)),it)},z=C,G=function(ie){for(var ge=ie.size,Ve=ie.steps,Ee=ie.percent,Me=Ee===void 0?0:Ee,_e=ie.strokeWidth,Re=_e===void 0?8:_e,et=ie.strokeColor,Xe=ie.trailColor,it=Xe===void 0?null:Xe,bt=ie.prefixCls,Ct=ie.children,Bt=Math.round(Ve*(Me/100)),qe=ge==="small"?2:14,st=new Array(Ve),ut=0;ut<Ve;ut++){var nt=Array.isArray(et)?et[ut]:et;st[ut]=m.createElement("div",{key:ut,className:n()("".concat(bt,"-steps-item"),Object(u.a)({},"".concat(bt,"-steps-item-active"),ut<=Bt-1)),style:{backgroundColor:ut<=Bt-1?nt:it,width:qe,height:Re}})}return m.createElement("div",{className:"".concat(bt,"-steps-outer")},st,Ct)},X=G,pe=function(fe,ie){var ge={};for(var Ve in fe)Object.prototype.hasOwnProperty.call(fe,Ve)&&ie.indexOf(Ve)<0&&(ge[Ve]=fe[Ve]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Ve=Object.getOwnPropertySymbols(fe);Ee<Ve.length;Ee++)ie.indexOf(Ve[Ee])<0&&Object.prototype.propertyIsEnumerable.call(fe,Ve[Ee])&&(ge[Ve[Ee]]=fe[Ve[Ee]]);return ge},ae=Object(t.a)("line","circle","dashboard"),Se=Object(t.a)("normal","exception","active","success"),Te=function(ie){var ge,Ve=ie.prefixCls,Ee=ie.className,Me=ie.steps,_e=ie.strokeColor,Re=ie.percent,et=Re===void 0?0:Re,Xe=ie.size,it=Xe===void 0?"default":Xe,bt=ie.showInfo,Ct=bt===void 0?!0:bt,Bt=ie.type,qe=Bt===void 0?"line":Bt,st=pe(ie,["prefixCls","className","steps","strokeColor","percent","size","showInfo","type"]);function ut(){var jn=ne(ie);return parseInt(jn!==void 0?jn.toString():et.toString(),10)}function nt(){var jn=ie.status;return!Se.includes(jn)&&ut()>=100?"success":jn||"normal"}function kt(jn,Ln){var Un=ie.format,lt=ne(ie);if(!Ct)return null;var Nt,zt=Un||function(tn){return"".concat(tn,"%")},en=qe==="line";return Un||Ln!=="exception"&&Ln!=="success"?Nt=zt(ue(et),ue(lt)):Ln==="exception"?Nt=en?m.createElement(o.a,null):m.createElement(i.a,null):Ln==="success"&&(Nt=en?m.createElement(r.a,null):m.createElement(f.a,null)),m.createElement("span",{className:"".concat(jn,"-text"),title:typeof Nt=="string"?Nt:void 0},Nt)}var Sn=m.useContext(h.b),Tt=Sn.getPrefixCls,ht=Sn.direction,Rt=Tt("progress",Ve),Ft=nt(),nn=kt(Rt,Ft),bn=Array.isArray(_e)?_e[0]:_e,sn=typeof _e=="string"||Array.isArray(_e)?_e:void 0,un;qe==="line"?un=Me?m.createElement(X,Object(c.a)({},ie,{strokeColor:sn,prefixCls:Rt,steps:Me}),nn):m.createElement(z,Object(c.a)({},ie,{strokeColor:bn,prefixCls:Rt,direction:ht}),nn):(qe==="circle"||qe==="dashboard")&&(un=m.createElement(ee,Object(c.a)({},ie,{strokeColor:bn,prefixCls:Rt,progressStatus:Ft}),nn));var Ht=n()(Rt,(ge={},Object(u.a)(ge,"".concat(Rt,"-").concat(qe==="dashboard"&&"circle"||Me&&"steps"||qe),!0),Object(u.a)(ge,"".concat(Rt,"-status-").concat(Ft),!0),Object(u.a)(ge,"".concat(Rt,"-show-info"),Ct),Object(u.a)(ge,"".concat(Rt,"-").concat(it),it),Object(u.a)(ge,"".concat(Rt,"-rtl"),ht==="rtl"),ge),Ee);return m.createElement("div",Object(c.a)({},Object(v.a)(st,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:Ht,role:"progressbar"}),un)},je=Te,ft=M.a=je},CH3K:function(Ie,M){function e(u,c){for(var r=-1,f=c.length,o=u.length;++r<f;)u[o+r]=c[r];return u}Ie.exports=e},CMye:function(Ie,M,e){var u=e("GoyQ");function c(r){return r===r&&!u(r)}Ie.exports=c},CRAX:function(Ie,M,e){"use strict";e.d(M,"a",function(){return m}),e.d(M,"b",function(){return $}),e.d(M,"c",function(){return A});var u=e("rAM+"),c=e("oBTY"),r=e("fWQN"),f=e("mtLc"),o=e("3/fG"),i=e("MI8n"),a=e("ic2d"),n=e("746U"),v=e("3Rsk"),m={Configuration:"base.contributions.configuration"},h={properties:{},patternProperties:{}},t={properties:{},patternProperties:{}},l={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},w={properties:{},patternProperties:{}},S={properties:{},patternProperties:{}},k="vscode://schemas/settings/resourceLanguage",T=a.a.as(v.a.JSONContribution),I=function(){function O(){Object(r.a)(this,O),this.overrideIdentifiers=new Set,this._onDidSchemaChange=new i.a,this._onDidUpdateConfiguration=new i.a,this.defaultValues={},this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:o.a("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},T.registerSchema(k,this.resourceLanguageSettingsSchema)}return Object(f.a)(O,[{key:"registerConfiguration",value:function(D){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;this.registerConfigurations([D],W)}},{key:"registerConfigurations",value:function(D){var W=this,te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,re=[];D.forEach(function(ye){re.push.apply(re,Object(c.a)(W.validateAndRegisterProperties(ye,te,ye.extensionInfo))),W.configurationContributors.push(ye),W.registerJSONConfiguration(ye)}),T.registerSchema(k,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(re)}},{key:"registerOverrideIdentifiers",value:function(D){var W=Object(u.a)(D),te;try{for(W.s();!(te=W.n()).done;){var re=te.value;this.overrideIdentifiers.add(re)}}catch(ye){W.e(ye)}finally{W.f()}this.updateOverridePropertyPatternKey()}},{key:"validateAndRegisterProperties",value:function(D){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,te=arguments.length>2?arguments[2]:void 0,re=arguments.length>3&&arguments[3]!==void 0?arguments[3]:3,ye;re=n.l(D.scope)?re:D.scope;var q=[],oe=D.properties;if(oe)for(var he in oe){if(W&&d(he)){delete oe[he];continue}var ue=oe[he];if(this.updatePropertyDefaultValue(he,ue),$.test(he)?ue.scope=void 0:(ue.scope=n.l(ue.scope)?re:ue.scope,ue.restricted=n.l(ue.restricted)?!!((ye=te==null?void 0:te.restrictedConfigurations)===null||ye===void 0?void 0:ye.includes(he)):ue.restricted),oe[he].hasOwnProperty("included")&&!oe[he].included){this.excludedConfigurationProperties[he]=oe[he],delete oe[he];continue}else this.configurationProperties[he]=oe[he];!oe[he].deprecationMessage&&oe[he].markdownDeprecationMessage&&(oe[he].deprecationMessage=oe[he].markdownDeprecationMessage),q.push(he)}var ne=D.allOf;if(ne){var se=Object(u.a)(ne),be;try{for(se.s();!(be=se.n()).done;){var Z=be.value;q.push.apply(q,Object(c.a)(this.validateAndRegisterProperties(Z,W,te,re)))}}catch(ee){se.e(ee)}finally{se.f()}}return q}},{key:"getConfigurationProperties",value:function(){return this.configurationProperties}},{key:"registerJSONConfiguration",value:function(D){var W=this,te=function re(ye){var q=ye.properties;if(q)for(var oe in q)W.updateSchema(oe,q[oe]);var he=ye.allOf;he&&he.forEach(re)};te(D)}},{key:"updateSchema",value:function(D,W){switch(h.properties[D]=W,W.scope){case 1:t.properties[D]=W;break;case 2:l.properties[D]=W;break;case 6:p.properties[D]=W;break;case 3:w.properties[D]=W;break;case 4:S.properties[D]=W;break;case 5:S.properties[D]=W,this.resourceLanguageSettingsSchema.properties[D]=W;break}}},{key:"updateOverridePropertyPatternKey",value:function(){var D=Object(u.a)(this.overrideIdentifiers.values()),W;try{for(D.s();!(W=D.n()).done;){var te=W.value,re="[".concat(te,"]"),ye={type:"object",description:o.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:o.a("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:k};this.updatePropertyDefaultValue(re,ye),h.properties[re]=ye,t.properties[re]=ye,l.properties[re]=ye,p.properties[re]=ye,w.properties[re]=ye,S.properties[re]=ye}}catch(q){D.e(q)}finally{D.f()}this._onDidSchemaChange.fire()}},{key:"updatePropertyDefaultValue",value:function(D,W){var te=this.defaultValues[D];n.k(te)&&(te=W.default),n.k(te)&&(te=g(W.type)),W.default=te}}]),O}(),Y="\\[.*\\]$",$=new RegExp(Y);function A(O){return O.substring(1,O.length-1)}function g(O){var E=Array.isArray(O)?O[0]:O;switch(E){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}var b=new I;a.a.add(m.Configuration,b);function d(O){return O.trim()?$.test(O)?o.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",O):b.getConfigurationProperties()[O]!==void 0?o.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",O):null:o.a("config.property.empty","Cannot register an empty property")}},"CWI+":function(Ie,M,e){},CZ1j:function(Ie,M,e){"use strict";e.d(M,"b",function(){return u}),e.d(M,"a",function(){return c});function u(r){return r<0?0:r>255?255:r|0}function c(r){return r<0?0:r>4294967295?4294967295:r|0}},CZoQ:function(Ie,M){function e(u,c,r){for(var f=r-1,o=u.length;++f<o;)if(u[f]===c)return f;return-1}Ie.exports=e},Cduo:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("0/Sa"),o=e("aokT"),i=function(){function a(){Object(c.a)(this,a)}return Object(r.a)(a,null,[{key:"_handleEolEdits",value:function(v,m){var h=void 0,t=[],l=Object(u.a)(m),p;try{for(l.s();!(p=l.n()).done;){var w=p.value;typeof w.eol=="number"&&(h=w.eol),w.range&&typeof w.text=="string"&&t.push(w)}}catch(S){l.e(S)}finally{l.f()}return typeof h=="number"&&v.hasModel()&&v.getModel().pushEOL(h),t}},{key:"_isFullModelReplaceEdit",value:function(v,m){if(!v.hasModel())return!1;var h=v.getModel(),t=h.validateRange(m.range),l=h.getFullModelRange();return l.equalsRange(t)}},{key:"execute",value:function(v,m,h){h&&v.pushUndoStop();var t=a._handleEolEdits(v,m);t.length===1&&a._isFullModelReplaceEdit(v,t[0])?v.executeEdits("formatEditsCommand",t.map(function(l){return f.a.replace(o.a.lift(l.range),l.text)})):v.executeEdits("formatEditsCommand",t.map(function(l){return f.a.replaceMove(o.a.lift(l.range),l.text)})),h&&v.pushUndoStop()}}]),a}()},CeSn:function(Ie,M){var e=0/0,u="[object Symbol]",c=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,o=/^0o[0-7]+$/i,i=parseInt,a=Object.prototype,n=a.toString;function v(l){var p=typeof l;return!!l&&(p=="object"||p=="function")}function m(l){return!!l&&typeof l=="object"}function h(l){return typeof l=="symbol"||m(l)&&n.call(l)==u}function t(l){if(typeof l=="number")return l;if(h(l))return e;if(v(l)){var p=typeof l.valueOf=="function"?l.valueOf():l;l=v(p)?p+"":p}if(typeof l!="string")return l===0?l:+l;l=l.replace(c,"");var w=f.test(l);return w||o.test(l)?i(l.slice(2),w?2:8):r.test(l)?e:+l}Ie.exports=t},"Cg/j":function(Ie,M,e){"use strict";e.d(M,"b",function(){return u}),e.d(M,"a",function(){return c}),e.d(M,"c",function(){return f}),e.d(M,"d",function(){return o});var u;(function(i){i.serviceIds=new Map,i.DI_TARGET="$di$target",i.DI_DEPENDENCIES="$di$dependencies";function a(n){return n[i.DI_DEPENDENCIES]||[]}i.getServiceDependencies=a})(u||(u={}));var c=f("instantiationService");function r(i,a,n,v){a[u.DI_TARGET]===a?a[u.DI_DEPENDENCIES].push({id:i,index:n,optional:v}):(a[u.DI_DEPENDENCIES]=[{id:i,index:n,optional:v}],a[u.DI_TARGET]=a)}function f(i){if(u.serviceIds.has(i))return u.serviceIds.get(i);var a=function n(v,m,h){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(n,v,h,!1)};return a.toString=function(){return i},u.serviceIds.set(i,a),a}function o(i){return function(a,n,v){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");r(i,a,v,!0)}}},CiB2:function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});function u(c){if(c==null)throw new TypeError("Cannot destructure undefined")}},CjF5:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("D3Dy"),c=e("MNsG"),r={clipboard:{writeText:c.g||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:c.g||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:function(){return c.g||u.j?0:navigator.keyboard||u.i?1:2}(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},Ckr6:function(Ie,M,e){"use strict";e.r(M),e.d(M,"forceCenter",function(){return u.a}),e.d(M,"forceCollide",function(){return c.a}),e.d(M,"forceLink",function(){return r.a}),e.d(M,"forceManyBody",function(){return f.a}),e.d(M,"forceRadial",function(){return i}),e.d(M,"forceSimulation",function(){return a.a}),e.d(M,"forceX",function(){return n.a}),e.d(M,"forceY",function(){return v.a});var u=e("0LFD"),c=e("iQ9W"),r=e("89eD"),f=e("Z9Ww"),o=e("nXVj"),i=function(m,h,t){var l,p=Object(o.a)(.1),w,S;typeof m!="function"&&(m=Object(o.a)(+m)),h==null&&(h=0),t==null&&(t=0);function k(I){for(var Y=0,$=l.length;Y<$;++Y){var A=l[Y],g=A.x-h||1e-6,b=A.y-t||1e-6,d=Math.sqrt(g*g+b*b),O=(S[Y]-d)*w[Y]*I/d;A.vx+=g*O,A.vy+=b*O}}function T(){if(!!l){var I,Y=l.length;for(w=new Array(Y),S=new Array(Y),I=0;I<Y;++I)S[I]=+m(l[I],I,l),w[I]=isNaN(S[I])?0:+p(l[I],I,l)}}return k.initialize=function(I){l=I,T()},k.strength=function(I){return arguments.length?(p=typeof I=="function"?I:Object(o.a)(+I),T(),k):p},k.radius=function(I){return arguments.length?(m=typeof I=="function"?I:Object(o.a)(+I),T(),k):m},k.x=function(I){return arguments.length?(h=+I,k):h},k.y=function(I){return arguments.length?(t=+I,k):t},k},a=e("VIHS"),n=e("cnUW"),v=e("0rNn")},Comh:function(Ie,M,e){"use strict";e.d(M,"c",function(){return i}),e.d(M,"b",function(){return a}),e.d(M,"a",function(){return n});var u=e("fWQN"),c=e("mtLc"),r=e("N0LK"),f=e("cGHE"),o=e("aokT"),i=!1,a=function(){function v(m,h,t,l,p){Object(u.a)(this,v),this.value=m,this.selectionStart=h,this.selectionEnd=t,this.selectionStartPosition=l,this.selectionEndPosition=p}return Object(c.a)(v,[{key:"toString",value:function(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"}},{key:"collapseSelection",value:function(){return new v(this.value,this.value.length,this.value.length,null,null)}},{key:"writeToTextArea",value:function(h,t,l){i&&console.log("writeToTextArea "+h+": "+this.toString()),t.setValue(h,this.value),l&&t.setSelectionRange(h,this.selectionStart,this.selectionEnd)}},{key:"deduceEditorPosition",value:function(h){if(h<=this.selectionStart){var t=this.value.substring(h,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(h>=this.selectionEnd){var l=this.value.substring(this.selectionEnd,h);return this._finishDeduceEditorPosition(this.selectionEndPosition,l,1)}var p=this.value.substring(this.selectionStart,h);if(p.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition(this.selectionStartPosition,p,1);var w=this.value.substring(h,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,w,-1)}},{key:"_finishDeduceEditorPosition",value:function(h,t,l){for(var p=0,w=-1;(w=t.indexOf(`
- `,w+1))!==-1;)p++;return[h,l*t.length,p]}}],[{key:"readFromTextArea",value:function(h){return new v(h.getValue(),h.getSelectionStart(),h.getSelectionEnd(),null,null)}},{key:"selectedText",value:function(h){return new v(h,0,h.length,null,null)}},{key:"deduceInput",value:function(h,t,l){if(!h)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};i&&(console.log("------------------------deduceInput"),console.log("PREVIOUS STATE: "+h.toString()),console.log("CURRENT STATE: "+t.toString()));var p=h.value,w=h.selectionStart,S=h.selectionEnd,k=t.value,T=t.selectionStart,I=t.selectionEnd,Y=p.substring(S),$=k.substring(I),A=r.e(Y,$);k=k.substring(0,k.length-A),p=p.substring(0,p.length-A);var g=p.substring(0,w),b=k.substring(0,T),d=r.d(g,b);if(k=k.substring(d),p=p.substring(d),T-=d,w-=d,I-=d,S-=d,i&&(console.log("AFTER DIFFING PREVIOUS STATE: <"+p+">, selectionStart: "+w+", selectionEnd: "+S),console.log("AFTER DIFFING CURRENT STATE: <"+k+">, selectionStart: "+T+", selectionEnd: "+I)),l&&T===I&&p.length>0){var O=null;if(T===k.length?k.startsWith(p)&&(O=k.substring(p.length)):k.endsWith(p)&&(O=k.substring(0,k.length-p.length)),O!==null&&O.length>0&&(/\uFE0F/.test(O)||r.k(O)))return{text:O,replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0}}if(T===I){if(p===k&&w===0&&S===p.length&&T===k.length&&k.indexOf(`
- `)===-1&&r.l(k))return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};var E=g.length-d;return i&&console.log("REMOVE PREVIOUS: "+(g.length-d)+" chars"),{text:k,replacePrevCharCnt:E,replaceNextCharCnt:0,positionDelta:0}}var D=S-w;return{text:k,replacePrevCharCnt:D,replaceNextCharCnt:0,positionDelta:0}}},{key:"deduceAndroidCompositionInput",value:function(h,t){if(!h)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(i&&(console.log("------------------------deduceAndroidCompositionInput"),console.log("PREVIOUS STATE: "+h.toString()),console.log("CURRENT STATE: "+t.toString())),h.value===t.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:t.selectionEnd-h.selectionEnd};var l=Math.min(r.d(h.value,t.value),h.selectionEnd),p=Math.min(r.e(h.value,t.value),h.value.length-h.selectionEnd),w=h.value.substring(l,h.value.length-p),S=t.value.substring(l,t.value.length-p),k=h.selectionStart-l,T=h.selectionEnd-l,I=t.selectionStart-l,Y=t.selectionEnd-l;return i&&(console.log("AFTER DIFFING PREVIOUS STATE: <"+w+">, selectionStart: "+k+", selectionEnd: "+T),console.log("AFTER DIFFING CURRENT STATE: <"+S+">, selectionStart: "+I+", selectionEnd: "+Y)),{text:S,replacePrevCharCnt:T,replaceNextCharCnt:w.length-T,positionDelta:Y-S.length}}}]),v}();a.EMPTY=new a("",0,0,null,null);var n=function(){function v(){Object(u.a)(this,v)}return Object(c.a)(v,null,[{key:"_getPageOfLine",value:function(h,t){return Math.floor((h-1)/t)}},{key:"_getRangeForPage",value:function(h,t){var l=h*t,p=l+1,w=l+t;return new o.a(p,1,w+1,1)}},{key:"fromEditorSelection",value:function(h,t,l,p,w){var S=v._getPageOfLine(l.startLineNumber,p),k=v._getRangeForPage(S,p),T=v._getPageOfLine(l.endLineNumber,p),I=v._getRangeForPage(T,p),Y=k.intersectRanges(new o.a(1,1,l.startLineNumber,l.startColumn)),$=t.getValueInRange(Y,1),A=t.getLineCount(),g=t.getLineMaxColumn(A),b=I.intersectRanges(new o.a(l.endLineNumber,l.endColumn,A,g)),d=t.getValueInRange(b,1),O;if(S===T||S+1===T)O=t.getValueInRange(l,1);else{var E=k.intersectRanges(l),D=I.intersectRanges(l);O=t.getValueInRange(E,1)+String.fromCharCode(8230)+t.getValueInRange(D,1)}if(w){var W=500;$.length>W&&($=$.substring($.length-W,$.length)),d.length>W&&(d=d.substring(0,W)),O.length>2*W&&(O=O.substring(0,W)+String.fromCharCode(8230)+O.substring(O.length-W,O.length))}return new a($+O+d,$.length,$.length+O.length,new f.a(l.startLineNumber,l.startColumn),new f.a(l.endLineNumber,l.endColumn))}}]),v}()},CqGu:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="ZoomOutOutlined";var a=M.a=c.forwardRef(i)},Cwc5:function(Ie,M,e){var u=e("NKxu"),c=e("Npjl");function r(f,o){var i=c(f,o);return u(i)?i:void 0}Ie.exports=r},D3Dy:function(Ie,M,e){"use strict";e.d(M,"d",function(){return o}),e.d(M,"b",function(){return i}),e.d(M,"m",function(){return a}),e.d(M,"c",function(){return n}),e.d(M,"a",function(){return v}),e.d(M,"g",function(){return h}),e.d(M,"k",function(){return t}),e.d(M,"f",function(){return l}),e.d(M,"i",function(){return p}),e.d(M,"l",function(){return w}),e.d(M,"h",function(){return S}),e.d(M,"e",function(){return k}),e.d(M,"j",function(){return T});var u=e("fWQN"),c=e("mtLc"),r=e("MI8n"),f=function(){function I(){Object(u.a)(this,I),this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new r.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}return Object(c.a)(I,[{key:"getZoomLevel",value:function(){return this._zoomLevel}},{key:"getTimeSinceLastZoomLevelChanged",value:function(){return Date.now()-this._lastZoomLevelChangeTime}},{key:"getZoomFactor",value:function(){return this._zoomFactor}},{key:"getPixelRatio",value:function(){var $=document.createElement("canvas").getContext("2d"),A=window.devicePixelRatio||1,g=$.webkitBackingStorePixelRatio||$.mozBackingStorePixelRatio||$.msBackingStorePixelRatio||$.oBackingStorePixelRatio||$.backingStorePixelRatio||1;return A/g}}]),I}();f.INSTANCE=new f;function o(){return f.INSTANCE.getZoomLevel()}function i(){return f.INSTANCE.getTimeSinceLastZoomLevelChanged()}function a(I){return f.INSTANCE.onDidChangeZoomLevel(I)}function n(){return f.INSTANCE.getZoomFactor()}function v(){return f.INSTANCE.getPixelRatio()}var m=navigator.userAgent,h=m.indexOf("Firefox")>=0,t=m.indexOf("AppleWebKit")>=0,l=m.indexOf("Chrome")>=0,p=!l&&m.indexOf("Safari")>=0,w=!l&&!p&&t,S=m.indexOf("iPad")>=0||p&&navigator.maxTouchPoints>0,k=m.indexOf("Android")>=0,T=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},DFOY:function(Ie,M,e){"use strict";var u=e("wx14"),c=e("rePB"),r=e("U8pU"),f=e("KQm4"),o=e("5bA4"),i=e("ye1Q"),a=e("UESt"),n=e("TSYQ"),v=e.n(n),m=e("ODXe"),h=e("Ff2n"),t=e("LdHM"),l=e("18yb"),p=e("NvD2"),w=e("6cGi"),S=e("q1tI"),k=S.createContext(null),T=k,I="__RC_CASCADER_SPLIT__",Y="SHOW_PARENT",$="SHOW_CHILD";function A(ht){return ht.join(I)}function g(ht){return ht.map(A)}function b(ht){return ht.split(I)}function d(ht){var Rt=ht||{},Ft=Rt.label,nn=Rt.value,bn=Rt.children,sn=nn||"value";return{label:Ft||"label",value:sn,key:sn,children:bn||"children"}}function O(ht,Rt){var Ft,nn;return(Ft=ht.isLeaf)!==null&&Ft!==void 0?Ft:!((nn=ht[Rt.children])===null||nn===void 0?void 0:nn.length)}function E(ht){var Rt=ht.parentElement;if(!!Rt){var Ft=ht.offsetTop-Rt.offsetTop;Ft-Rt.scrollTop<0?Rt.scrollTo({top:Ft}):Ft+ht.offsetHeight-Rt.scrollTop>Rt.offsetHeight&&Rt.scrollTo({top:Ft+ht.offsetHeight-Rt.offsetHeight})}}function D(ht,Rt,Ft){var nn=new Set(ht),bn=Rt();return ht.filter(function(sn){var un=bn[sn],Ht=un?un.parent:null,jn=un?un.children:null;return Ft===$?!(jn&&jn.some(function(Ln){return Ln.key&&nn.has(Ln.key)})):!(Ht&&!Ht.node.disabled&&nn.has(Ht.key))})}function W(ht,Rt,Ft){for(var nn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,bn=Rt,sn=[],un=function(){var Ln,Un,lt,Nt=ht[Ht],zt=(Ln=bn)===null||Ln===void 0?void 0:Ln.findIndex(function(tn){var wn=tn[Ft.value];return nn?String(wn)===String(Nt):wn===Nt}),en=zt!==-1?(Un=bn)===null||Un===void 0?void 0:Un[zt]:null;sn.push({value:(lt=en==null?void 0:en[Ft.value])!==null&<!==void 0?lt:Nt,index:zt,option:en}),bn=en==null?void 0:en[Ft.children]},Ht=0;Ht<ht.length;Ht+=1)un();return sn}var te=function(ht,Rt,Ft,nn,bn){return S.useMemo(function(){var sn=bn||function(un){var Ht=nn?un.slice(-1):un,jn=" / ";return Ht.every(function(Ln){return["string","number"].includes(Object(r.a)(Ln))})?Ht.join(jn):Ht.reduce(function(Ln,Un,lt){var Nt=S.isValidElement(Un)?S.cloneElement(Un,{key:lt}):Un;return lt===0?[Nt]:[].concat(Object(f.a)(Ln),[jn,Nt])},[])};return ht.map(function(un){var Ht,jn,Ln=W(un,Rt,Ft),Un=sn(Ln.map(function(Nt){var zt,en=Nt.option,tn=Nt.value;return(zt=en==null?void 0:en[Ft.label])!==null&&zt!==void 0?zt:tn}),Ln.map(function(Nt){var zt=Nt.option;return zt})),lt=A(un);return{label:Un,value:lt,key:lt,valueCells:un,disabled:(Ht=Ln[Ln.length-1])===null||Ht===void 0||(jn=Ht.option)===null||jn===void 0?void 0:jn.disabled}})},[ht,Rt,Ft,bn,nn])},re=e("VTBJ"),ye=e("815F"),q=function(ht,Rt){var Ft=S.useRef({options:null,info:null}),nn=S.useCallback(function(){return Ft.current.options!==ht&&(Ft.current.options=ht,Ft.current.info=Object(ye.a)(ht,{fieldNames:Rt,initWrapper:function(sn){return Object(re.a)(Object(re.a)({},sn),{},{pathKeyEntities:{}})},processEntity:function(sn,un){var Ht=sn.nodes.map(function(jn){return jn[Rt.value]}).join(I);un.pathKeyEntities[Ht]=sn,sn.key=Ht}})),Ft.current.info.pathKeyEntities},[Rt,ht]);return nn},oe=function(ht,Rt){return S.useCallback(function(Ft){var nn=[],bn=[];return Ft.forEach(function(sn){var un=W(sn,ht,Rt);un.every(function(Ht){return Ht.option})?bn.push(sn):nn.push(sn)}),[bn,nn]},[ht,Rt])};function he(ht){var Rt=S.useRef();Rt.current=ht;var Ft=S.useCallback(function(){return Rt.current.apply(Rt,arguments)},[]);return Ft}var ue=e("Kwbf");function ne(ht){return S.useMemo(function(){if(!ht)return[!1,{}];var Rt={matchInputWidth:!0,limit:50};return ht&&Object(r.a)(ht)==="object"&&(Rt=Object(re.a)(Object(re.a)({},Rt),ht)),Rt.limit<=0&&delete Rt.limit,[!0,Rt]},[ht])}var se="__rc_cascader_search_mark__",be=function(Rt,Ft,nn){var bn=nn.label;return Ft.some(function(sn){return String(sn[bn]).toLowerCase().includes(Rt.toLowerCase())})},Z=function(Rt,Ft,nn,bn){return Ft.map(function(sn){return sn[bn.label]}).join(" / ")},ee=function(ht,Rt,Ft,nn,bn,sn){var un=bn.filter,Ht=un===void 0?be:un,jn=bn.render,Ln=jn===void 0?Z:jn,Un=bn.limit,lt=Un===void 0?50:Un,Nt=bn.sort;return S.useMemo(function(){var zt=[];if(!ht)return[];function en(tn,wn){tn.forEach(function(on){if(!(!Nt&<>0&&zt.length>=lt)){var vn=[].concat(Object(f.a)(wn),[on]),dt=on[Ft.children];if((!dt||dt.length===0||sn)&&Ht(ht,vn,{label:Ft.label})){var ct;zt.push(Object(re.a)(Object(re.a)({},on),{},(ct={},Object(c.a)(ct,Ft.label,Ln(ht,vn,nn,Ft)),Object(c.a)(ct,se,vn),Object(c.a)(ct,Ft.children,void 0),ct)))}dt&&en(on[Ft.children],vn)}})}return en(Rt,[]),Nt&&zt.sort(function(tn,wn){return Nt(tn[se],wn[se],ht,Ft)}),lt>0?zt.slice(0,lt):zt},[ht,Rt,Ft,nn,Ln,sn,Ht,Nt,lt])};function ce(ht){var Rt,Ft=ht.prefixCls,nn=ht.checked,bn=ht.halfChecked,sn=ht.disabled,un=ht.onClick,Ht=S.useContext(T),jn=Ht.checkable,Ln=typeof jn!="boolean"?jn:null;return S.createElement("span",{className:v()("".concat(Ft),(Rt={},Object(c.a)(Rt,"".concat(Ft,"-checked"),nn),Object(c.a)(Rt,"".concat(Ft,"-indeterminate"),!nn&&bn),Object(c.a)(Rt,"".concat(Ft,"-disabled"),sn),Rt)),onClick:un},Ln)}var R="__cascader_fix_label__";function y(ht){var Rt=ht.prefixCls,Ft=ht.multiple,nn=ht.options,bn=ht.activeValue,sn=ht.prevValuePath,un=ht.onToggleOpen,Ht=ht.onSelect,jn=ht.onActive,Ln=ht.checkedSet,Un=ht.halfCheckedSet,lt=ht.loadingKeys,Nt=ht.isSelectable,zt="".concat(Rt,"-menu"),en="".concat(Rt,"-menu-item"),tn=S.useContext(T),wn=tn.fieldNames,on=tn.changeOnSelect,vn=tn.expandTrigger,dt=tn.expandIcon,ct=tn.loadingIcon,Kt=tn.dropdownMenuColumnStyle,pn=vn==="hover",kn=S.useMemo(function(){return nn.map(function(Pt){var gn,_n=Pt.disabled,Kn=Pt[se],qn=(gn=Pt[R])!==null&&gn!==void 0?gn:Pt[wn.label],rr=Pt[wn.value],Rn=O(Pt,wn),mr=Kn?Kn.map(function(_r){return _r[wn.value]}):[].concat(Object(f.a)(sn),[rr]),ar=A(mr),sr=lt.includes(ar),yr=Ln.has(ar),br=Un.has(ar);return{disabled:_n,label:qn,value:rr,isLeaf:Rn,isLoading:sr,checked:yr,halfChecked:br,option:Pt,fullPath:mr,fullPathKey:ar}})},[nn,Ln,wn,Un,lt,sn]);return S.createElement("ul",{className:zt,role:"menu"},kn.map(function(Pt){var gn,_n=Pt.disabled,Kn=Pt.label,qn=Pt.value,rr=Pt.isLeaf,Rn=Pt.isLoading,mr=Pt.checked,ar=Pt.halfChecked,sr=Pt.option,yr=Pt.fullPath,br=Pt.fullPathKey,_r=function(){if(!_n){var Fr=Object(f.a)(yr);pn&&rr&&Fr.pop(),jn(Fr)}},li=function(){Nt(sr)&&Ht(yr,rr)},xi;return typeof sr.title=="string"?xi=sr.title:typeof Kn=="string"&&(xi=Kn),S.createElement("li",{key:br,className:v()(en,(gn={},Object(c.a)(gn,"".concat(en,"-expand"),!rr),Object(c.a)(gn,"".concat(en,"-active"),bn===qn),Object(c.a)(gn,"".concat(en,"-disabled"),_n),Object(c.a)(gn,"".concat(en,"-loading"),Rn),gn)),style:Kt,role:"menuitemcheckbox",title:xi,"aria-checked":mr,"data-path-key":br,onClick:function(){_r(),(!Ft||rr)&&li()},onDoubleClick:function(){on&&un(!1)},onMouseEnter:function(){pn&&_r()},onMouseDown:function(Fr){Fr.preventDefault()}},Ft&&S.createElement(ce,{prefixCls:"".concat(Rt,"-checkbox"),checked:mr,halfChecked:ar,disabled:_n,onClick:function(Fr){Fr.stopPropagation(),li()}}),S.createElement("div",{className:"".concat(en,"-content")},Kn),!Rn&&dt&&!rr&&S.createElement("div",{className:"".concat(en,"-expand-icon")},dt),Rn&&ct&&S.createElement("div",{className:"".concat(en,"-loading-icon")},ct))}))}var C=function(){var ht=Object(t.e)(),Rt=ht.multiple,Ft=ht.open,nn=S.useContext(T),bn=nn.values,sn=S.useState([]),un=Object(m.a)(sn,2),Ht=un[0],jn=un[1];return S.useEffect(function(){if(Ft&&!Rt){var Ln=bn[0];jn(Ln||[])}},[Ft]),[Ht,jn]},z=e("4IlW"),G=function(ht,Rt,Ft,nn,bn,sn){var un=Object(t.e)(),Ht=un.direction,jn=un.searchValue,Ln=un.toggleOpen,Un=un.open,lt=Ht==="rtl",Nt=S.useMemo(function(){for(var Kt=-1,pn=Rt,kn=[],Pt=[],gn=nn.length,_n=function(ar){var sr=pn.findIndex(function(yr){return yr[Ft.value]===nn[ar]});if(sr===-1)return"break";Kt=sr,kn.push(Kt),Pt.push(nn[ar]),pn=pn[Kt][Ft.children]},Kn=0;Kn<gn&&pn;Kn+=1){var qn=_n(Kn);if(qn==="break")break}for(var rr=Rt,Rn=0;Rn<kn.length-1;Rn+=1)rr=rr[kn[Rn]][Ft.children];return[Pt,Kt,rr]},[nn,Ft,Rt]),zt=Object(m.a)(Nt,3),en=zt[0],tn=zt[1],wn=zt[2],on=function(pn){bn(pn)},vn=function(pn){var kn=wn.length,Pt=tn;Pt===-1&&pn<0&&(Pt=kn);for(var gn=0;gn<kn;gn+=1){Pt=(Pt+pn+kn)%kn;var _n=wn[Pt];if(_n&&!_n.disabled){var Kn=_n[Ft.value],qn=en.slice(0,-1).concat(Kn);on(qn);return}}},dt=function(){if(en.length>1){var pn=en.slice(0,-1);on(pn)}else Ln(!1)},ct=function(){var pn,kn=((pn=wn[tn])===null||pn===void 0?void 0:pn[Ft.children])||[],Pt=kn.find(function(_n){return!_n.disabled});if(Pt){var gn=[].concat(Object(f.a)(en),[Pt[Ft.value]]);on(gn)}};S.useImperativeHandle(ht,function(){return{onKeyDown:function(pn){var kn=pn.which;switch(kn){case z.a.UP:case z.a.DOWN:{var Pt=0;kn===z.a.UP?Pt=-1:kn===z.a.DOWN&&(Pt=1),Pt!==0&&vn(Pt);break}case z.a.LEFT:{if(jn)break;lt?ct():dt();break}case z.a.RIGHT:{if(jn)break;lt?dt():ct();break}case z.a.BACKSPACE:{jn||dt();break}case z.a.ENTER:{if(en.length){var gn=wn[tn],_n=(gn==null?void 0:gn[se])||[];_n.length?sn(_n.map(function(Kn){return Kn[Ft.value]}),_n[_n.length-1]):sn(en,wn[tn])}break}case z.a.ESC:Ln(!1),Un&&pn.stopPropagation()}},onKeyUp:function(){}}})},X=S.forwardRef(function(ht,Rt){var Ft,nn,bn,sn,un=Object(t.e)(),Ht=un.prefixCls,jn=un.multiple,Ln=un.searchValue,Un=un.toggleOpen,lt=un.notFoundContent,Nt=un.direction,zt=S.useRef(),en=Nt==="rtl",tn=S.useContext(T),wn=tn.options,on=tn.values,vn=tn.halfValues,dt=tn.fieldNames,ct=tn.changeOnSelect,Kt=tn.onSelect,pn=tn.searchOptions,kn=tn.dropdownPrefixCls,Pt=tn.loadData,gn=tn.expandTrigger,_n=kn||Ht,Kn=S.useState([]),qn=Object(m.a)(Kn,2),rr=qn[0],Rn=qn[1],mr=function(na){if(!(!Pt||Ln)){var sa=W(na,wn,dt),Ai=sa.map(function(mn){var It=mn.option;return It}),ba=Ai[Ai.length-1];if(ba&&!O(ba,dt)){var ea=A(na);Rn(function(mn){return[].concat(Object(f.a)(mn),[ea])}),Pt(Ai)}}};S.useEffect(function(){rr.length&&rr.forEach(function(_a){var na=b(_a),sa=W(na,wn,dt,!0).map(function(ba){var ea=ba.option;return ea}),Ai=sa[sa.length-1];(!Ai||Ai[dt.children]||O(Ai,dt))&&Rn(function(ba){return ba.filter(function(ea){return ea!==_a})})})},[wn,rr,dt]);var ar=S.useMemo(function(){return new Set(g(on))},[on]),sr=S.useMemo(function(){return new Set(g(vn))},[vn]),yr=C(),br=Object(m.a)(yr,2),_r=br[0],li=br[1],xi=function(na){li(na),mr(na)},Mi=function(na){var sa=na.disabled,Ai=O(na,dt);return!sa&&(Ai||ct||jn)},Fr=function(na,sa){var Ai=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Kt(na),!jn&&(sa||ct&&(gn==="hover"||Ai))&&Un(!1)},ur=S.useMemo(function(){return Ln?pn:wn},[Ln,pn,wn]),Ti=S.useMemo(function(){for(var _a=[{options:ur}],na=ur,sa=function(){var mn=_r[Ai],It=na.find(function(Ze){return Ze[dt.value]===mn}),Ue=It==null?void 0:It[dt.children];if(!(Ue==null?void 0:Ue.length))return"break";na=Ue,_a.push({options:Ue})},Ai=0;Ai<_r.length;Ai+=1){var ba=sa();if(ba==="break")break}return _a},[ur,_r,dt]),Xi=function(na,sa){Mi(sa)&&Fr(na,O(sa,dt),!0)};G(Rt,ur,dt,_r,xi,Xi),S.useEffect(function(){for(var _a=0;_a<_r.length;_a+=1){var na,sa=_r.slice(0,_a+1),Ai=A(sa),ba=(na=zt.current)===null||na===void 0?void 0:na.querySelector('li[data-path-key="'.concat(Ai.replace(/\\{0,2}"/g,'\\"'),'"]'));ba&&E(ba)}},[_r]);var ca=!((Ft=Ti[0])===null||Ft===void 0||(nn=Ft.options)===null||nn===void 0?void 0:nn.length),Zi=[(bn={},Object(c.a)(bn,dt.value,"__EMPTY__"),Object(c.a)(bn,R,lt),Object(c.a)(bn,"disabled",!0),bn)],xa=Object(re.a)(Object(re.a)({},ht),{},{multiple:!ca&&jn,onSelect:Fr,onActive:xi,onToggleOpen:Un,checkedSet:ar,halfCheckedSet:sr,loadingKeys:rr,isSelectable:Mi}),va=ca?[{options:Zi}]:Ti,Ma=va.map(function(_a,na){var sa=_r.slice(0,na),Ai=_r[na];return S.createElement(y,Object(u.a)({key:na},xa,{prefixCls:_n,options:_a.options,prevValuePath:sa,activeValue:Ai}))});return S.createElement("div",{className:v()("".concat(_n,"-menus"),(sn={},Object(c.a)(sn,"".concat(_n,"-menu-empty"),ca),Object(c.a)(sn,"".concat(_n,"-rtl"),en),sn)),ref:zt},Ma)}),pe=X;function ae(ht){var Rt=ht.onPopupVisibleChange,Ft=ht.popupVisible,nn=ht.popupClassName,bn=ht.popupPlacement;Object(ue.a)(!Rt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),Object(ue.a)(Ft===void 0,"`popupVisible` is deprecated. Please use `open` instead."),Object(ue.a)(nn===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),Object(ue.a)(bn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Se(ht,Rt){if(ht){var Ft=function nn(bn){for(var sn=0;sn<bn.length;sn++){var un=bn[sn];if(un[Rt==null?void 0:Rt.value]===null)return Object(ue.a)(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(un[Rt==null?void 0:Rt.children])&&nn(un[Rt==null?void 0:Rt.children]))return!0}};Ft(ht)}}var Te=ae,je=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function ft(ht){return Array.isArray(ht)&&Array.isArray(ht[0])}function fe(ht){return ht?ft(ht)?ht:(ht.length===0?[]:[ht]).map(function(Rt){return Array.isArray(Rt)?Rt:[Rt]}):[]}var ie=S.forwardRef(function(ht,Rt){var Ft=ht.id,nn=ht.prefixCls,bn=nn===void 0?"rc-cascader":nn,sn=ht.fieldNames,un=ht.defaultValue,Ht=ht.value,jn=ht.changeOnSelect,Ln=ht.onChange,Un=ht.displayRender,lt=ht.checkable,Nt=ht.searchValue,zt=ht.onSearch,en=ht.showSearch,tn=ht.expandTrigger,wn=ht.options,on=ht.dropdownPrefixCls,vn=ht.loadData,dt=ht.popupVisible,ct=ht.open,Kt=ht.popupClassName,pn=ht.dropdownClassName,kn=ht.dropdownMenuColumnStyle,Pt=ht.popupPlacement,gn=ht.placement,_n=ht.onDropdownVisibleChange,Kn=ht.onPopupVisibleChange,qn=ht.expandIcon,rr=qn===void 0?">":qn,Rn=ht.loadingIcon,mr=ht.children,ar=ht.dropdownMatchSelectWidth,sr=ar===void 0?!1:ar,yr=ht.showCheckedStrategy,br=yr===void 0?Y:yr,_r=Object(h.a)(ht,je),li=Object(l.a)(Ft),xi=!!lt,Mi=Object(w.a)(un,{value:Ht,postState:fe}),Fr=Object(m.a)(Mi,2),ur=Fr[0],Ti=Fr[1],Xi=S.useMemo(function(){return d(sn)},[JSON.stringify(sn)]),ca=S.useMemo(function(){return wn||[]},[wn]),Zi=q(ca,Xi),xa=S.useCallback(function(gt){var Rr=Zi();return gt.map(function(ci){var ai=Rr[ci].nodes;return ai.map(function(bi){return bi[Xi.value]})})},[Zi,Xi]),va=Object(w.a)("",{value:Nt,postState:function(Rr){return Rr||""}}),Ma=Object(m.a)(va,2),_a=Ma[0],na=Ma[1],sa=function(Rr,ci){na(Rr),ci.source!=="blur"&&zt&&zt(Rr)},Ai=ne(en),ba=Object(m.a)(Ai,2),ea=ba[0],mn=ba[1],It=ee(_a,ca,Xi,on||bn,mn,jn),Ue=oe(ca,Xi),Ze=S.useMemo(function(){var gt=Ue(ur),Rr=Object(m.a)(gt,2),ci=Rr[0],ai=Rr[1];if(!xi||!ur.length)return[ci,[],ai];var bi=g(ci),zr=Zi(),Hi=Object(p.a)(bi,!0,zr),hi=Hi.checkedKeys,Ci=Hi.halfCheckedKeys;return[xa(hi),xa(Ci),ai]},[xi,ur,Zi,xa,Ue]),Pe=Object(m.a)(Ze,3),mt=Pe[0],xt=Pe[1],cn=Pe[2],Ut=S.useMemo(function(){var gt=g(mt),Rr=D(gt,Zi,br);return[].concat(Object(f.a)(cn),Object(f.a)(xa(Rr)))},[mt,Zi,xa,cn,br]),wt=te(Ut,ca,Xi,xi,Un),Pn=he(function(gt){if(Ti(gt),Ln){var Rr=fe(gt),ci=Rr.map(function(zr){return W(zr,ca,Xi).map(function(Hi){return Hi.option})}),ai=xi?Rr:Rr[0],bi=xi?ci:ci[0];Ln(ai,bi)}}),an=he(function(gt){if(na(""),!xi)Pn(gt);else{var Rr=A(gt),ci=g(mt),ai=g(xt),bi=ci.includes(Rr),zr=cn.some(function(ei){return A(ei)===Rr}),Hi=mt,hi=cn;if(zr&&!bi)hi=cn.filter(function(ei){return A(ei)!==Rr});else{var Ci=bi?ci.filter(function(ei){return ei!==Rr}):[].concat(Object(f.a)(ci),[Rr]),Ii=Zi(),Mn;if(bi){var nr=Object(p.a)(Ci,{checked:!1,halfCheckedKeys:ai},Ii);Mn=nr.checkedKeys}else{var cr=Object(p.a)(Ci,!0,Ii);Mn=cr.checkedKeys}var Lr=D(Mn,Zi,br);Hi=xa(Lr)}Pn([].concat(Object(f.a)(hi),Object(f.a)(Hi)))}}),Dn=function(Rr,ci){if(ci.type==="clear"){Pn([]);return}var ai=ci.values[0].valueCells;an(ai)},Tn=ct!==void 0?ct:dt,Zn=pn||Kt,Mr=gn||Pt,xr=function(Rr){_n==null||_n(Rr),Kn==null||Kn(Rr)},Vr=S.useMemo(function(){return{options:ca,fieldNames:Xi,values:mt,halfValues:xt,changeOnSelect:jn,onSelect:an,checkable:lt,searchOptions:It,dropdownPrefixCls:on,loadData:vn,expandTrigger:tn,expandIcon:rr,loadingIcon:Rn,dropdownMenuColumnStyle:kn}},[ca,Xi,mt,xt,jn,an,lt,It,on,vn,tn,rr,Rn,kn]),Dr=!(_a?It:ca).length,dr=_a&&mn.matchInputWidth||Dr?{}:{minWidth:"auto"};return S.createElement(T.Provider,{value:Vr},S.createElement(t.a,Object(u.a)({},_r,{ref:Rt,id:li,prefixCls:bn,dropdownMatchSelectWidth:sr,dropdownStyle:dr,displayValues:wt,onDisplayValuesChange:Dn,mode:xi?"multiple":void 0,searchValue:_a,onSearch:sa,showSearch:ea,OptionList:pe,emptyOptions:Dr,open:Tn,dropdownClassName:Zn,placement:Mr,onDropdownVisibleChange:xr,getRawInputElement:function(){return mr}})))});ie.SHOW_PARENT=Y,ie.SHOW_CHILD=$;var ge=ie,Ve=ge,Ee=e("bT9E"),Me=e("H84U"),_e=e("XI05"),Re=e("caoh"),et=e("3Nzz"),Xe=e("+f9I"),it=e("ihLV"),bt=e("1vzs"),Ct=e("EXcs"),Bt=e("ATYA"),qe=function(ht,Rt){var Ft={};for(var nn in ht)Object.prototype.hasOwnProperty.call(ht,nn)&&Rt.indexOf(nn)<0&&(Ft[nn]=ht[nn]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,nn=Object.getOwnPropertySymbols(ht);bn<nn.length;bn++)Rt.indexOf(nn[bn])<0&&Object.prototype.propertyIsEnumerable.call(ht,nn[bn])&&(Ft[nn[bn]]=ht[nn[bn]]);return Ft},st=Ve.SHOW_CHILD,ut=Ve.SHOW_PARENT;function nt(ht,Rt,Ft){var nn=ht.toLowerCase().split(Rt).reduce(function(un,Ht,jn){return jn===0?[Ht]:[].concat(Object(f.a)(un),[Rt,Ht])},[]),bn=[],sn=0;return nn.forEach(function(un,Ht){var jn=sn+un.length,Ln=ht.slice(sn,jn);sn=jn,Ht%2==1&&(Ln=S.createElement("span",{className:"".concat(Ft,"-menu-item-keyword"),key:"seperator-".concat(Ht)},Ln)),bn.push(Ln)}),bn}var kt=function(Rt,Ft,nn,bn){var sn=[],un=Rt.toLowerCase();return Ft.forEach(function(Ht,jn){jn!==0&&sn.push(" / ");var Ln=Ht[bn.label],Un=Object(r.a)(Ln);(Un==="string"||Un==="number")&&(Ln=nt(String(Ln),un,nn)),sn.push(Ln)}),sn},Sn=S.forwardRef(function(ht,Rt){var Ft,nn=ht.prefixCls,bn=ht.size,sn=ht.disabled,un=ht.className,Ht=ht.multiple,jn=ht.bordered,Ln=jn===void 0?!0:jn,Un=ht.transitionName,lt=ht.choiceTransitionName,Nt=lt===void 0?"":lt,zt=ht.popupClassName,en=ht.dropdownClassName,tn=ht.expandIcon,wn=ht.placement,on=ht.showSearch,vn=ht.allowClear,dt=vn===void 0?!0:vn,ct=ht.notFoundContent,Kt=ht.direction,pn=ht.getPopupContainer,kn=ht.status,Pt=ht.showArrow,gn=qe(ht,["prefixCls","size","disabled","className","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow"]),_n=Object(Ee.a)(gn,["suffixIcon"]),Kn=Object(S.useContext)(Me.b),qn=Kn.getPopupContainer,rr=Kn.getPrefixCls,Rn=Kn.renderEmpty,mr=Kn.direction,ar=Kt||mr,sr=ar==="rtl",yr=Object(S.useContext)(it.b),br=yr.status,_r=yr.hasFeedback,li=yr.isFormItemInput,xi=yr.feedbackIcon,Mi=Object(Bt.a)(br,kn),Fr=ct||(Rn||_e.a)("Cascader"),ur=rr(),Ti=rr("select",nn),Xi=rr("cascader",nn),ca=Object(Xe.c)(Ti,Kt),Zi=ca.compactSize,xa=ca.compactItemClassnames,va=v()(zt||en,"".concat(Xi,"-dropdown"),Object(c.a)({},"".concat(Xi,"-dropdown-rtl"),ar==="rtl")),Ma=S.useMemo(function(){if(!on)return on;var cn={render:kt};return Object(r.a)(on)==="object"&&(cn=Object(u.a)(Object(u.a)({},cn),on)),cn},[on]),_a=S.useContext(et.b),na=Zi||bn||_a,sa=S.useContext(Re.b),Ai=sn!=null?sn:sa,ba=tn;tn||(ba=sr?S.createElement(o.a,null):S.createElement(a.a,null));var ea=S.createElement("span",{className:"".concat(Ti,"-menu-item-loading-icon")},S.createElement(i.a,{spin:!0})),mn=S.useMemo(function(){return Ht?S.createElement("span",{className:"".concat(Xi,"-checkbox-inner")}):!1},[Ht]),It=Pt!==void 0?Pt:ht.loading||!Ht,Ue=Object(bt.a)(Object(u.a)(Object(u.a)({},ht),{hasFeedback:_r,feedbackIcon:xi,showArrow:It,multiple:Ht,prefixCls:Ti})),Ze=Ue.suffixIcon,Pe=Ue.removeIcon,mt=Ue.clearIcon,xt=function(){return wn!==void 0?wn:Kt==="rtl"?"bottomRight":"bottomLeft"};return S.createElement(Ve,Object(u.a)({prefixCls:Ti,className:v()(!nn&&Xi,(Ft={},Object(c.a)(Ft,"".concat(Ti,"-lg"),na==="large"),Object(c.a)(Ft,"".concat(Ti,"-sm"),na==="small"),Object(c.a)(Ft,"".concat(Ti,"-rtl"),sr),Object(c.a)(Ft,"".concat(Ti,"-borderless"),!Ln),Object(c.a)(Ft,"".concat(Ti,"-in-form-item"),li),Ft),Object(Bt.b)(Ti,Mi,_r),xa,un),disabled:Ai},_n,{direction:ar,placement:xt(),notFoundContent:Fr,allowClear:dt,showSearch:Ma,expandIcon:ba,inputIcon:Ze,removeIcon:Pe,clearIcon:mt,loadingIcon:ea,checkable:mn,dropdownClassName:va,dropdownPrefixCls:nn||Xi,choiceTransitionName:Object(Ct.c)(ur,"",Nt),transitionName:Object(Ct.c)(ur,Object(Ct.b)(wn),Un),getPopupContainer:pn||qn,ref:Rt,showArrow:_r||Pt}))});Sn.SHOW_PARENT=ut,Sn.SHOW_CHILD=st;var Tt=M.a=Sn},DSRE:function(Ie,M,e){(function(u){var c=e("Kz5y"),r=e("B8du"),f=M&&!M.nodeType&&M,o=f&&typeof u=="object"&&u&&!u.nodeType&&u,i=o&&o.exports===f,a=i?c.Buffer:void 0,n=a?a.isBuffer:void 0,v=n||r;u.exports=v}).call(this,e("hOG+")(Ie))},DTDp:function(Ie,M,e){},DVw6:function(Ie,M,e){"use strict";var u=e("GNNt"),c=e("wEI+"),r=e("y8nQ"),f=e("Vl3Y"),o=e("rePB"),i=e("VTBJ"),a=e("Ff2n"),n=e("q1tI"),v=e.n(n),m=e("nKUr"),h=e("PjWh"),t=function(Z){var ee=!1;return(typeof Z=="string"&&Z.startsWith("date")&&!Z.endsWith("Range")||Z==="select"||Z==="time")&&(ee=!0),ee},l=t,p=e("ODXe"),w=e("9mHw"),S=e("wd/R"),k=e.n(S),T=function(Z,ee){return typeof ee=="function"?ee(k()(Z)):k()(Z).format(ee)},I=function(Z,ee){var ce=Array.isArray(Z)?Z:[],R=Object(p.a)(ce,2),y=R[0],C=R[1],z,G;Array.isArray(ee)?(z=ee[0],G=ee[1]):(z=ee,G=ee);var X=y?T(y,z):"",pe=C?T(C,G):"",ae=X&&pe?"".concat(X," ~ ").concat(pe):"";return ae},Y=I,$=e("1O3P"),A=e("JtZC"),g=e("iGn7"),b=e("TSYQ"),d=e.n(b),O=e("y/19"),E=["label","size","disabled","onChange","className","style","children","valuePropName","placeholder","labelFormatter","bordered","footerRender","allowClear","otherFieldProps","valueType","placement"],D=function(Z){var ee,ce=Z.label,R=Z.size,y=Z.disabled,C=Z.onChange,z=Z.className,G=Z.style,X=Z.children,pe=Z.valuePropName,ae=Z.placeholder,Se=Z.labelFormatter,Te=Z.bordered,je=Z.footerRender,ft=Z.allowClear,fe=Z.otherFieldProps,ie=Z.valueType,ge=Z.placement,Ve=Object(a.a)(Z,E),Ee=Object(n.useContext)(c.a.ConfigContext),Me=Ee.getPrefixCls,_e=Me("pro-field-light-wrapper"),Re=Object(n.useState)(Z[pe]),et=Object(p.a)(Re,2),Xe=et[0],it=et[1],bt=Object(w.a)(!1),Ct=Object(p.a)(bt,2),Bt=Ct[0],qe=Ct[1],st=function(){for(var Sn,Tt=arguments.length,ht=new Array(Tt),Rt=0;Rt<Tt;Rt++)ht[Rt]=arguments[Rt];fe==null||(Sn=fe.onChange)===null||Sn===void 0||Sn.call.apply(Sn,[fe].concat(ht)),C==null||C.apply(void 0,ht)},ut=Z[pe],nt=Object(n.useMemo)(function(){var kt;return(ie==null||(kt=ie.toLowerCase())===null||kt===void 0?void 0:kt.endsWith("range"))&&!Se?Y(ut,$.a[ie]||"YYYY-MM-DD"):ut},[ut,ie,Se]);return Object(m.jsx)(A.a,{disabled:y,onVisibleChange:qe,placement:ge,visible:Bt,label:Object(m.jsx)(g.a,{ellipsis:!0,size:R,onClear:function(){st==null||st(),it(void 0)},bordered:Te,style:G,className:z,label:ce,placeholder:ae,value:nt,disabled:y,expanded:Bt,formatter:Se,allowClear:ft}),footer:{onClear:function(){return it(void 0)},onConfirm:function(){st==null||st(Xe),qe(!1)}},footerRender:je,children:Object(m.jsx)("div",{className:d()("".concat(_e,"-container"),z),style:G,children:v.a.cloneElement(X,Object(i.a)(Object(i.a)({},Ve),{},(ee={},Object(o.a)(ee,pe,Xe),Object(o.a)(ee,"onChange",function(Sn){it((Sn==null?void 0:Sn.target)?Sn.target.value:Sn)}),ee),X.props))})})},W=e("lS/g"),te=e("x1Ii"),re=["children","onChange","onBlur","ignoreFormItem","valuePropName"],ye=["children","addonAfter","addonBefore","valuePropName","convertValue"],q=["valueType","transform","dataFormat","ignoreFormItem","lightProps","children"],oe=v.a.createContext({}),he=function(Z){var ee=Z.children,ce=Z.onChange,R=Z.onBlur,y=Z.ignoreFormItem,C=Z.valuePropName,z=C===void 0?"value":C,G=Object(a.a)(Z,re),X=Object(n.useCallback)(function(){for(var Te,je,ft,fe,ie,ge,Ve=arguments.length,Ee=new Array(Ve),Me=0;Me<Ve;Me++)Ee[Me]=arguments[Me];ce==null||ce.apply(void 0,Ee),(ee==null||(Te=ee.type)===null||Te===void 0?void 0:Te.displayName)==="ProFormComponent"&&(!v.a.isValidElement(ee)||(ee==null||(je=ee.props)===null||je===void 0||(ft=je.onChange)===null||ft===void 0||ft.call.apply(ft,[je].concat(Ee)),ee==null||(fe=ee.props)===null||fe===void 0||(ie=fe.fieldProps)===null||ie===void 0||(ge=ie.onChange)===null||ge===void 0||ge.call.apply(ge,[ie].concat(Ee))))},[ee,ce]),pe=Object(n.useCallback)(function(){var Te,je,ft,fe,ie,ge;if((ee==null||(Te=ee.type)===null||Te===void 0?void 0:Te.displayName)==="ProFormComponent"&&!!v.a.isValidElement(ee)){for(var Ve=arguments.length,Ee=new Array(Ve),Me=0;Me<Ve;Me++)Ee[Me]=arguments[Me];R==null||R.apply(void 0,Ee),ee==null||(je=ee.props)===null||je===void 0||(ft=je.onBlur)===null||ft===void 0||ft.call.apply(ft,[je].concat(Ee)),ee==null||(fe=ee.props)===null||fe===void 0||(ie=fe.fieldProps)===null||ie===void 0||(ge=ie.onBlur)===null||ge===void 0||ge.call.apply(ge,[ie].concat(Ee))}},[ee,R]),ae=Object(n.useMemo)(function(){var Te,je;if((ee==null||(Te=ee.type)===null||Te===void 0?void 0:Te.displayName)==="ProFormComponent"&&!!v.a.isValidElement(ee))return Object(h.a)(Object(i.a)(Object(i.a)(Object(o.a)({id:G.id},z,Z[z]),(ee==null||(je=ee.props)===null||je===void 0?void 0:je.fieldProps)||{}),{},{onBlur:pe,onChange:X}))},[ee,Z,pe,X,G.id,z]),Se=Object(n.useMemo)(function(){if(!ae&&!!v.a.isValidElement(ee))return function(){for(var Te,je,ft=arguments.length,fe=new Array(ft),ie=0;ie<ft;ie++)fe[ie]=arguments[ie];ce==null||ce.apply(void 0,fe),ee==null||(Te=ee.props)===null||Te===void 0||(je=Te.onChange)===null||je===void 0||je.call.apply(je,[Te].concat(fe))}},[ae,ee,ce]);return v.a.isValidElement(ee)?v.a.cloneElement(ee,Object(h.a)(Object(i.a)(Object(i.a)(Object(i.a)({},G),{},Object(o.a)({},z,Z[z]),ee.props),{},{onChange:Se,fieldProps:ae}))):Object(m.jsx)(m.Fragment,{children:ee})},ue=function(Z){var ee=Z.children,ce=Z.addonAfter,R=Z.addonBefore,y=Z.valuePropName,C=Z.convertValue,z=Object(a.a)(Z,ye),G=Object(n.useMemo)(function(){var X=function(ae){var Se,Te=(Se=C==null?void 0:C(ae,z.name))!==null&&Se!==void 0?Se:ae;return z.getValueProps?z.getValueProps(Te):Object(o.a)({},y||"value",Te)};return!C&&!z.getValueProps&&(X=void 0),!ce&&!R?Object(m.jsx)(f.a.Item,Object(i.a)(Object(i.a)({},z),{},{valuePropName:y,getValueProps:X,children:ee})):Object(m.jsx)(f.a.Item,Object(i.a)(Object(i.a)({_internalItemRender:{mark:"pro_table_render",render:function(ae,Se){return Object(m.jsxs)(m.Fragment,{children:[Object(m.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[R?Object(m.jsx)("div",{style:{marginRight:8},children:R}):null,Se.input,ce?Object(m.jsx)("div",{style:{marginLeft:8},children:ce}):null]}),Se.extra,Se.errorList]})}}},z),{},{getValueProps:X,children:ee}))},[ce,R,ee,C==null?void 0:C.toString(),z]);return Object(m.jsx)(oe.Provider,{value:{name:z.name,label:z.label},children:G})},ne=function(Z){var ee,ce,R,y=Object(n.useContext)(c.a.SizeContext),C=Z.valueType,z=Z.transform,G=Z.dataFormat,X=Z.ignoreFormItem,pe=Z.lightProps,ae=pe===void 0?{}:pe,Se=Z.children,Te=Object(a.a)(Z,q),je=Object(n.useContext)(te.a),ft=Object(n.useMemo)(function(){return je.name!==void 0?[je.name,Z.name].flat(1):Z.name},[je.name,Z.name]),fe=v.a.useContext(W.b),ie=fe.setFieldValueType,ge=fe.formItemProps;Object(n.useEffect)(function(){!ie||!Z.name||ie([je.listName,Z.name].flat(1).filter(function(et){return et!==void 0}),{valueType:C||"text",dateFormat:G,transform:z})},[je.listName,ft,G,Z.name,ie,z,C]);var Ve=v.a.isValidElement(Z.children)&&l(C||Z.children.props.valueType),Ee=Object(n.useMemo)(function(){return!!(!ae.light||ae.customLightMode||Ve)},[ae.customLightMode,Ve,ae.light]);if(typeof Z.children=="function"){var Me;return Object(n.createElement)(ue,Object(i.a)(Object(i.a)({},Te),{},{name:ft,key:Te.proFormFieldKey||((Me=Te.name)===null||Me===void 0?void 0:Me.toString())}),Z.children)}var _e=Object(m.jsx)(he,{valuePropName:Z.valuePropName,children:Z.children},Te.proFormFieldKey||((ee=Te.name)===null||ee===void 0?void 0:ee.toString())),Re=Ee?_e:Object(n.createElement)(D,Object(i.a)(Object(i.a)({},ae),{},{key:Te.proFormFieldKey||((ce=Te.name)===null||ce===void 0?void 0:ce.toString()),size:y}),_e);return X?Object(m.jsx)(m.Fragment,{children:Re}):Object(m.jsx)(ue,Object(i.a)(Object(i.a)(Object(i.a)({},ge),Te),{},{name:ft,isListField:je.name!==void 0,children:Re}),Te.proFormFieldKey||((R=Te.name)===null||R===void 0?void 0:R.toString()))},se=M.a=ne},DjyN:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("Urep"),f=e.n(r),o=e("OaEy")},DnfT:function(Ie,M,e){},"Dw+G":function(Ie,M,e){var u=e("juv8"),c=e("mTTR");function r(f,o){return f&&u(o,c(o),f)}Ie.exports=r},DzJC:function(Ie,M,e){var u=e("sEfC"),c=e("GoyQ"),r="Expected a function";function f(o,i,a){var n=!0,v=!0;if(typeof o!="function")throw new TypeError(r);return c(a)&&(n="leading"in a?!!a.leading:n,v="trailing"in a?!!a.trailing:v),u(o,i,{leading:n,maxWait:i,trailing:v})}Ie.exports=f},"E+oP":function(Ie,M,e){var u=e("A90E"),c=e("QqLw"),r=e("03A+"),f=e("Z0cm"),o=e("MMmD"),i=e("DSRE"),a=e("6sVZ"),n=e("c6wG"),v="[object Map]",m="[object Set]",h=Object.prototype,t=h.hasOwnProperty;function l(p){if(p==null)return!0;if(o(p)&&(f(p)||typeof p=="string"||typeof p.splice=="function"||i(p)||n(p)||r(p)))return!p.length;var w=c(p);if(w==v||w==m)return!p.size;if(a(p))return!u(p).length;for(var S in p)if(t.call(p,S))return!1;return!0}Ie.exports=l},E2jh:function(Ie,M,e){var u=e("2gN3"),c=function(){var f=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}();function r(f){return!!c&&c in f}Ie.exports=r},E9nw:function(Ie,M){Ie.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var u=document.activeElement,c=[],r=0;r<e.rangeCount;r++)c.push(e.getRangeAt(r));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||c.forEach(function(f){e.addRange(f)}),u&&u.focus()}}},EA7m:function(Ie,M,e){var u=e("zZ0H"),c=e("Ioao"),r=e("wclG");function f(o,i){return r(c(o,i,u),o+"")}Ie.exports=f},EEGq:function(Ie,M,e){var u=e("juv8"),c=e("oCl/");function r(f,o){return u(f,c(f),o)}Ie.exports=r},EIAu:function(Ie,M,e){"use strict";e.d(M,"b",function(){return m}),e.d(M,"a",function(){return $});var u=e("tJVT"),c=e("rAM+"),r=e("fWQN"),f=e("mtLc"),o=e("N0LK"),i=e("erNZ"),a=e("aokT"),n=function(){function A(g,b,d,O,E,D){Object(r.a)(this,A),this.languageIdentifier=g,this.index=b,this.open=d,this.close=O,this.forwardRegex=E,this.reversedRegex=D,this._openSet=A._toSet(this.open),this._closeSet=A._toSet(this.close)}return Object(f.a)(A,[{key:"isOpen",value:function(b){return this._openSet.has(b)}},{key:"isClose",value:function(b){return this._closeSet.has(b)}}],[{key:"_toSet",value:function(b){var d=new Set,O=Object(c.a)(b),E;try{for(O.s();!(E=O.n()).done;){var D=E.value;d.add(D)}}catch(W){O.e(W)}finally{O.f()}return d}}]),A}();function v(A){var g=A.length;A=A.map(function(Z){return[Z[0].toLowerCase(),Z[1].toLowerCase()]});for(var b=[],d=0;d<g;d++)b[d]=d;for(var O=function(ee,ce){var R=Object(u.a)(ee,2),y=R[0],C=R[1],z=Object(u.a)(ce,2),G=z[0],X=z[1];return y===G||y===X||C===G||C===X},E=function(ee,ce){for(var R=Math.min(ee,ce),y=Math.max(ee,ce),C=0;C<g;C++)b[C]===y&&(b[C]=R)},D=0;D<g;D++)for(var W=A[D],te=D+1;te<g;te++){var re=A[te];O(W,re)&&E(b[D],b[te])}for(var ye=[],q=0;q<g;q++){for(var oe=[],he=[],ue=0;ue<g;ue++)if(b[ue]===q){var ne=Object(u.a)(A[ue],2),se=ne[0],be=ne[1];oe.push(se),he.push(be)}oe.length>0&&ye.push({open:oe,close:he})}return ye}var m=Object(f.a)(function A(g,b){Object(r.a)(this,A);var d=v(b);this.brackets=d.map(function(he,ue){return new n(g,ue,he.open,he.close,p(he.open,he.close,d,ue),w(he.open,he.close,d,ue))}),this.forwardRegex=S(this.brackets),this.reversedRegex=k(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;var O=Object(c.a)(this.brackets),E;try{for(O.s();!(E=O.n()).done;){var D=E.value,W=Object(c.a)(D.open),te;try{for(W.s();!(te=W.n()).done;){var re=te.value;this.textIsBracket[re]=D,this.textIsOpenBracket[re]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,re.length)}}catch(he){W.e(he)}finally{W.f()}var ye=Object(c.a)(D.close),q;try{for(ye.s();!(q=ye.n()).done;){var oe=q.value;this.textIsBracket[oe]=D,this.textIsOpenBracket[oe]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,oe.length)}}catch(he){ye.e(he)}finally{ye.f()}}}catch(he){O.e(he)}finally{O.f()}});function h(A,g,b,d){for(var O=0,E=g.length;O<E;O++)if(O!==b){var D=g[O],W=Object(c.a)(D.open),te;try{for(W.s();!(te=W.n()).done;){var re=te.value;re.indexOf(A)>=0&&d.push(re)}}catch(he){W.e(he)}finally{W.f()}var ye=Object(c.a)(D.close),q;try{for(ye.s();!(q=ye.n()).done;){var oe=q.value;oe.indexOf(A)>=0&&d.push(oe)}}catch(he){ye.e(he)}finally{ye.f()}}}function t(A,g){return A.length-g.length}function l(A){if(A.length<=1)return A;var g=[],b=new Set,d=Object(c.a)(A),O;try{for(d.s();!(O=d.n()).done;){var E=O.value;b.has(E)||(g.push(E),b.add(E))}}catch(D){d.e(D)}finally{d.f()}return g}function p(A,g,b,d){var O=[];O=O.concat(A),O=O.concat(g);for(var E=0,D=O.length;E<D;E++)h(O[E],b,d,O);return O=l(O),O.sort(t),O.reverse(),I(O)}function w(A,g,b,d){var O=[];O=O.concat(A),O=O.concat(g);for(var E=0,D=O.length;E<D;E++)h(O[E],b,d,O);return O=l(O),O.sort(t),O.reverse(),I(O.map(Y))}function S(A){var g=[],b=Object(c.a)(A),d;try{for(b.s();!(d=b.n()).done;){var O=d.value,E=Object(c.a)(O.open),D;try{for(E.s();!(D=E.n()).done;){var W=D.value;g.push(W)}}catch(q){E.e(q)}finally{E.f()}var te=Object(c.a)(O.close),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value;g.push(ye)}}catch(q){te.e(q)}finally{te.f()}}}catch(q){b.e(q)}finally{b.f()}return g=l(g),I(g)}function k(A){var g=[],b=Object(c.a)(A),d;try{for(b.s();!(d=b.n()).done;){var O=d.value,E=Object(c.a)(O.open),D;try{for(E.s();!(D=E.n()).done;){var W=D.value;g.push(W)}}catch(q){E.e(q)}finally{E.f()}var te=Object(c.a)(O.close),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value;g.push(ye)}}catch(q){te.e(q)}finally{te.f()}}}catch(q){b.e(q)}finally{b.f()}return g=l(g),I(g.map(Y))}function T(A){var g=/^[\w ]+$/.test(A);return A=o.u(A),g?"\\b".concat(A,"\\b"):A}function I(A){var g="(".concat(A.map(T).join(")|("),")");return o.q(g,!0)}var Y=function(){function A(d){if(i.d){for(var O=new Uint16Array(d.length),E=0,D=d.length-1;D>=0;D--)O[E++]=d.charCodeAt(D);return i.c().decode(O)}else{for(var W=[],te=0,re=d.length-1;re>=0;re--)W[te++]=d.charAt(re);return W.join("")}}var g=null,b=null;return function(O){return g!==O&&(g=O,b=A(g)),b}}(),$=function(){function A(){Object(r.a)(this,A)}return Object(f.a)(A,null,[{key:"_findPrevBracketInText",value:function(b,d,O,E){var D=O.match(b);if(!D)return null;var W=O.length-(D.index||0),te=D[0].length,re=E+W;return new a.a(d,re-te+1,d,re+1)}},{key:"findPrevBracketInRange",value:function(b,d,O,E,D){var W=Y(O),te=W.substring(O.length-D,O.length-E);return this._findPrevBracketInText(b,d,te,E)}},{key:"findNextBracketInText",value:function(b,d,O,E){var D=O.match(b);if(!D)return null;var W=D.index||0,te=D[0].length;if(te===0)return null;var re=E+W;return new a.a(d,re+1,d,re+1+te)}},{key:"findNextBracketInRange",value:function(b,d,O,E,D){var W=O.substring(E,D);return this.findNextBracketInText(b,d,W,E)}}]),A}()},EJc0:function(Ie,M,e){"use strict";e.d(M,"a",function(){return n}),e.d(M,"b",function(){return m}),e.d(M,"e",function(){return t}),e.d(M,"d",function(){return l}),e.d(M,"c",function(){return w});var u=e("rAM+"),c=e("Vhoy"),r=e("fpMC"),f=e("N0LK"),o="$(",i=new RegExp("\\$\\(".concat(c.a.iconNameExpression,"(?:").concat(c.a.iconModifierExpression,")?\\)"),"g"),a=new RegExp("(\\\\)?".concat(i.source),"g");function n(S){return S.replace(a,function(k,T){return T?k:"\\".concat(k)})}var v=new RegExp("\\\\".concat(i.source),"g");function m(S){return S.replace(v,function(k){return"\\".concat(k)})}var h=new RegExp("(\\s)?(\\\\)?".concat(i.source,"(\\s)?"),"g");function t(S){return S.indexOf(o)===-1?S:S.replace(h,function(k,T,I,Y){return I?k:T||Y||""})}function l(S){var k=S.indexOf(o);return k===-1?{text:S}:p(S,k)}function p(S,k){var T=[],I="";function Y(W){if(W){I+=W;var te=Object(u.a)(W),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value;T.push(g)}}catch(q){te.e(q)}finally{te.f()}}}var $=-1,A="",g=0,b,d,O=k,E=S.length;for(Y(S.substr(0,k));O<E;){if(b=S[O],d=S[O+1],b===o[0]&&d===o[1])$=O,Y(A),A=o,O++;else if(b===")"&&$!==-1){var D=O-$+1;g+=D,$=-1,A=""}else $!==-1?/^[a-z0-9\-]$/i.test(b)?A+=b:(Y(A),$=-1,A=""):Y(b);O++}return Y(A),{text:I,iconOffsets:T}}function w(S,k){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,I=k.text,Y=k.iconOffsets;if(!Y||Y.length===0)return Object(r.g)(S,I,T);var $=Object(f.J)(I," "),A=I.length-$.length,g=Object(r.g)(S,$,T);if(g){var b=Object(u.a)(g),d;try{for(b.s();!(d=b.n()).done;){var O=d.value,E=Y[O.start+A]+A;O.start+=E,O.end+=E}}catch(D){b.e(D)}finally{b.f()}}return g}},EVdn:function(Ie,M,e){var u,c;/*!
- * jQuery JavaScript Library v3.7.0
- * https://jquery.com/
- *
- * Copyright OpenJS Foundation and other contributors
- * Released under the MIT license
- * https://jquery.org/license
- *
- * Date: 2023-05-11T18:29Z
- */(function(r,f){"use strict";typeof Ie.exports=="object"?Ie.exports=r.document?f(r,!0):function(o){if(!o.document)throw new Error("jQuery requires a window with a document");return f(o)}:f(r)})(typeof window!="undefined"?window:this,function(r,f){"use strict";var o=[],i=Object.getPrototypeOf,a=o.slice,n=o.flat?function(ve){return o.flat.call(ve)}:function(ve){return o.concat.apply([],ve)},v=o.push,m=o.indexOf,h={},t=h.toString,l=h.hasOwnProperty,p=l.toString,w=p.call(Object),S={},k=function(x){return typeof x=="function"&&typeof x.nodeType!="number"&&typeof x.item!="function"},T=function(x){return x!=null&&x===x.window},I=r.document,Y={type:!0,src:!0,nonce:!0,noModule:!0};function $(ve,x,le){le=le||I;var me,Ae,tt=le.createElement("script");if(tt.text=ve,x)for(me in Y)Ae=x[me]||x.getAttribute&&x.getAttribute(me),Ae&&tt.setAttribute(me,Ae);le.head.appendChild(tt).parentNode.removeChild(tt)}function A(ve){return ve==null?ve+"":typeof ve=="object"||typeof ve=="function"?h[t.call(ve)]||"object":typeof ve}var g="3.7.0",b=/HTML$/i,d=function ve(x,le){return new ve.fn.init(x,le)};d.fn=d.prototype={jquery:g,constructor:d,length:0,toArray:function(){return a.call(this)},get:function(x){return x==null?a.call(this):x<0?this[x+this.length]:this[x]},pushStack:function(x){var le=d.merge(this.constructor(),x);return le.prevObject=this,le},each:function(x){return d.each(this,x)},map:function(x){return this.pushStack(d.map(this,function(le,me){return x.call(le,me,le)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(d.grep(this,function(x,le){return(le+1)%2}))},odd:function(){return this.pushStack(d.grep(this,function(x,le){return le%2}))},eq:function(x){var le=this.length,me=+x+(x<0?le:0);return this.pushStack(me>=0&&me<le?[this[me]]:[])},end:function(){return this.prevObject||this.constructor()},push:v,sort:o.sort,splice:o.splice},d.extend=d.fn.extend=function(){var ve,x,le,me,Ae,tt,pt=arguments[0]||{},ke=1,we=arguments.length,Be=!1;for(typeof pt=="boolean"&&(Be=pt,pt=arguments[ke]||{},ke++),typeof pt!="object"&&!k(pt)&&(pt={}),ke===we&&(pt=this,ke--);ke<we;ke++)if((ve=arguments[ke])!=null)for(x in ve)me=ve[x],!(x==="__proto__"||pt===me)&&(Be&&me&&(d.isPlainObject(me)||(Ae=Array.isArray(me)))?(le=pt[x],Ae&&!Array.isArray(le)?tt=[]:!Ae&&!d.isPlainObject(le)?tt={}:tt=le,Ae=!1,pt[x]=d.extend(Be,tt,me)):me!==void 0&&(pt[x]=me));return pt},d.extend({expando:"jQuery"+(g+Math.random()).replace(/\D/g,""),isReady:!0,error:function(x){throw new Error(x)},noop:function(){},isPlainObject:function(x){var le,me;return!x||t.call(x)!=="[object Object]"?!1:(le=i(x),le?(me=l.call(le,"constructor")&&le.constructor,typeof me=="function"&&p.call(me)===w):!0)},isEmptyObject:function(x){var le;for(le in x)return!1;return!0},globalEval:function(x,le,me){$(x,{nonce:le&&le.nonce},me)},each:function(x,le){var me,Ae=0;if(O(x))for(me=x.length;Ae<me&&le.call(x[Ae],Ae,x[Ae])!==!1;Ae++);else for(Ae in x)if(le.call(x[Ae],Ae,x[Ae])===!1)break;return x},text:function(x){var le,me="",Ae=0,tt=x.nodeType;if(tt){if(tt===1||tt===9||tt===11)return x.textContent;if(tt===3||tt===4)return x.nodeValue}else for(;le=x[Ae++];)me+=d.text(le);return me},makeArray:function(x,le){var me=le||[];return x!=null&&(O(Object(x))?d.merge(me,typeof x=="string"?[x]:x):v.call(me,x)),me},inArray:function(x,le,me){return le==null?-1:m.call(le,x,me)},isXMLDoc:function(x){var le=x&&x.namespaceURI,me=x&&(x.ownerDocument||x).documentElement;return!b.test(le||me&&me.nodeName||"HTML")},merge:function(x,le){for(var me=+le.length,Ae=0,tt=x.length;Ae<me;Ae++)x[tt++]=le[Ae];return x.length=tt,x},grep:function(x,le,me){for(var Ae,tt=[],pt=0,ke=x.length,we=!me;pt<ke;pt++)Ae=!le(x[pt],pt),Ae!==we&&tt.push(x[pt]);return tt},map:function(x,le,me){var Ae,tt,pt=0,ke=[];if(O(x))for(Ae=x.length;pt<Ae;pt++)tt=le(x[pt],pt,me),tt!=null&&ke.push(tt);else for(pt in x)tt=le(x[pt],pt,me),tt!=null&&ke.push(tt);return n(ke)},guid:1,support:S}),typeof Symbol=="function"&&(d.fn[Symbol.iterator]=o[Symbol.iterator]),d.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(ve,x){h["[object "+x+"]"]=x.toLowerCase()});function O(ve){var x=!!ve&&"length"in ve&&ve.length,le=A(ve);return k(ve)||T(ve)?!1:le==="array"||x===0||typeof x=="number"&&x>0&&x-1 in ve}function E(ve,x){return ve.nodeName&&ve.nodeName.toLowerCase()===x.toLowerCase()}var D=o.pop,W=o.sort,te=o.splice,re="[\\x20\\t\\r\\n\\f]",ye=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g");d.contains=function(ve,x){var le=x&&x.parentNode;return ve===le||!!(le&&le.nodeType===1&&(ve.contains?ve.contains(le):ve.compareDocumentPosition&&ve.compareDocumentPosition(le)&16))};var q=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function oe(ve,x){return x?ve==="\0"?"\uFFFD":ve.slice(0,-1)+"\\"+ve.charCodeAt(ve.length-1).toString(16)+" ":"\\"+ve}d.escapeSelector=function(ve){return(ve+"").replace(q,oe)};var he=I,ue=v;(function(){var ve,x,le,me,Ae,tt=ue,pt,ke,we,Be,Le,J=d.expando,Ke=0,We=0,Ot=zi(),Vt=zi(),$t=zi(),Gt=zi(),hn=function(jr,Ei){return jr===Ei&&(Ae=!0),0},$n="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Sr="(?:\\\\[\\da-fA-F]{1,6}"+re+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",vr="\\["+re+"*("+Sr+")(?:"+re+"*([*^$|!~]?=)"+re+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Sr+"))|)"+re+"*\\]",zn=":("+Sr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+vr+")*)|.*)\\)|)",Tr=new RegExp(re+"+","g"),Qr=new RegExp("^"+re+"*,"+re+"*"),Qe=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),Jt=new RegExp(re+"|>"),ln=new RegExp(zn),rn=new RegExp("^"+Sr+"$"),An={ID:new RegExp("^#("+Sr+")"),CLASS:new RegExp("^\\.("+Sr+")"),TAG:new RegExp("^("+Sr+"|[*])"),ATTR:new RegExp("^"+vr),PSEUDO:new RegExp("^"+zn),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+$n+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},fr=/^(?:input|select|textarea|button)$/i,Pr=/^h\d$/i,kr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ar=/[+~]/,vi=new RegExp("\\\\[\\da-fA-F]{1,6}"+re+"?|\\\\([^\\r\\n\\f])","g"),Wi=function(jr,Ei){var gi="0x"+jr.slice(1)-65536;return Ei||(gi<0?String.fromCharCode(gi+65536):String.fromCharCode(gi>>10|55296,gi&1023|56320))},di=function(){Ha()},ri=ra(function(Yr){return Yr.disabled===!0&&E(Yr,"fieldset")},{dir:"parentNode",next:"legend"});function yi(){try{return pt.activeElement}catch(Yr){}}try{tt.apply(o=a.call(he.childNodes),he.childNodes),o[he.childNodes.length].nodeType}catch(Yr){tt={apply:function(Ei,gi){ue.apply(Ei,a.call(gi))},call:function(Ei){ue.apply(Ei,a.call(arguments,1))}}}function Si(Yr,jr,Ei,gi){var or,Ir,Ur,Li,oa,Ua,$a,Ba=jr&&jr.ownerDocument,ro=jr?jr.nodeType:9;if(Ei=Ei||[],typeof Yr!="string"||!Yr||ro!==1&&ro!==9&&ro!==11)return Ei;if(!gi&&(Ha(jr),jr=jr||pt,we)){if(ro!==11&&(oa=kr.exec(Yr)))if(or=oa[1]){if(ro===9)if(Ur=jr.getElementById(or)){if(Ur.id===or)return tt.call(Ei,Ur),Ei}else return Ei;else if(Ba&&(Ur=Ba.getElementById(or))&&Si.contains(jr,Ur)&&Ur.id===or)return tt.call(Ei,Ur),Ei}else{if(oa[2])return tt.apply(Ei,jr.getElementsByTagName(Yr)),Ei;if((or=oa[3])&&jr.getElementsByClassName)return tt.apply(Ei,jr.getElementsByClassName(or)),Ei}if(!Gt[Yr+" "]&&(!Be||!Be.test(Yr))){if($a=Yr,Ba=jr,ro===1&&(Jt.test(Yr)||Qe.test(Yr))){for(Ba=Ar.test(Yr)&&Oa(jr.parentNode)||jr,(Ba!=jr||!S.scope)&&((Li=jr.getAttribute("id"))?Li=d.escapeSelector(Li):jr.setAttribute("id",Li=J)),Ua=co(Yr),Ir=Ua.length;Ir--;)Ua[Ir]=(Li?"#"+Li:":scope")+" "+Do(Ua[Ir]);$a=Ua.join(",")}try{return tt.apply(Ei,Ba.querySelectorAll($a)),Ei}catch(mo){Gt(Yr,!0)}finally{Li===J&&jr.removeAttribute("id")}}}return ds(Yr.replace(ye,"$1"),jr,Ei,gi)}function zi(){var Yr=[];function jr(Ei,gi){return Yr.push(Ei+" ")>x.cacheLength&&delete jr[Yr.shift()],jr[Ei+" "]=gi}return jr}function si(Yr){return Yr[J]=!0,Yr}function ii(Yr){var jr=pt.createElement("fieldset");try{return!!Yr(jr)}catch(Ei){return!1}finally{jr.parentNode&&jr.parentNode.removeChild(jr),jr=null}}function Yi(Yr){return function(jr){return E(jr,"input")&&jr.type===Yr}}function La(Yr){return function(jr){return(E(jr,"input")||E(jr,"button"))&&jr.type===Yr}}function Wa(Yr){return function(jr){return"form"in jr?jr.parentNode&&jr.disabled===!1?"label"in jr?"label"in jr.parentNode?jr.parentNode.disabled===Yr:jr.disabled===Yr:jr.isDisabled===Yr||jr.isDisabled!==!Yr&&ri(jr)===Yr:jr.disabled===Yr:"label"in jr?jr.disabled===Yr:!1}}function Ri(Yr){return si(function(jr){return jr=+jr,si(function(Ei,gi){for(var or,Ir=Yr([],Ei.length,jr),Ur=Ir.length;Ur--;)Ei[or=Ir[Ur]]&&(Ei[or]=!(gi[or]=Ei[or]))})})}function Oa(Yr){return Yr&&typeof Yr.getElementsByTagName!="undefined"&&Yr}function Ha(Yr){var jr,Ei=Yr?Yr.ownerDocument||Yr:he;return Ei==pt||Ei.nodeType!==9||!Ei.documentElement||(pt=Ei,ke=pt.documentElement,we=!d.isXMLDoc(pt),Le=ke.matches||ke.webkitMatchesSelector||ke.msMatchesSelector,he!=pt&&(jr=pt.defaultView)&&jr.top!==jr&&jr.addEventListener("unload",di),S.getById=ii(function(gi){return ke.appendChild(gi).id=d.expando,!pt.getElementsByName||!pt.getElementsByName(d.expando).length}),S.disconnectedMatch=ii(function(gi){return Le.call(gi,"*")}),S.scope=ii(function(){return pt.querySelectorAll(":scope")}),S.cssHas=ii(function(){try{return pt.querySelector(":has(*,:jqfake)"),!1}catch(gi){return!0}}),S.getById?(x.filter.ID=function(gi){var or=gi.replace(vi,Wi);return function(Ir){return Ir.getAttribute("id")===or}},x.find.ID=function(gi,or){if(typeof or.getElementById!="undefined"&&we){var Ir=or.getElementById(gi);return Ir?[Ir]:[]}}):(x.filter.ID=function(gi){var or=gi.replace(vi,Wi);return function(Ir){var Ur=typeof Ir.getAttributeNode!="undefined"&&Ir.getAttributeNode("id");return Ur&&Ur.value===or}},x.find.ID=function(gi,or){if(typeof or.getElementById!="undefined"&&we){var Ir,Ur,Li,oa=or.getElementById(gi);if(oa){if(Ir=oa.getAttributeNode("id"),Ir&&Ir.value===gi)return[oa];for(Li=or.getElementsByName(gi),Ur=0;oa=Li[Ur++];)if(Ir=oa.getAttributeNode("id"),Ir&&Ir.value===gi)return[oa]}return[]}}),x.find.TAG=function(gi,or){return typeof or.getElementsByTagName!="undefined"?or.getElementsByTagName(gi):or.querySelectorAll(gi)},x.find.CLASS=function(gi,or){if(typeof or.getElementsByClassName!="undefined"&&we)return or.getElementsByClassName(gi)},Be=[],ii(function(gi){var or;ke.appendChild(gi).innerHTML="<a id='"+J+"' href='' disabled='disabled'></a><select id='"+J+"-\r\\' disabled='disabled'><option selected=''></option></select>",gi.querySelectorAll("[selected]").length||Be.push("\\["+re+"*(?:value|"+$n+")"),gi.querySelectorAll("[id~="+J+"-]").length||Be.push("~="),gi.querySelectorAll("a#"+J+"+*").length||Be.push(".#.+[+~]"),gi.querySelectorAll(":checked").length||Be.push(":checked"),or=pt.createElement("input"),or.setAttribute("type","hidden"),gi.appendChild(or).setAttribute("name","D"),ke.appendChild(gi).disabled=!0,gi.querySelectorAll(":disabled").length!==2&&Be.push(":enabled",":disabled"),or=pt.createElement("input"),or.setAttribute("name",""),gi.appendChild(or),gi.querySelectorAll("[name='']").length||Be.push("\\["+re+"*name"+re+"*="+re+`*(?:''|"")`)}),S.cssHas||Be.push(":has"),Be=Be.length&&new RegExp(Be.join("|")),hn=function(or,Ir){if(or===Ir)return Ae=!0,0;var Ur=!or.compareDocumentPosition-!Ir.compareDocumentPosition;return Ur||(Ur=(or.ownerDocument||or)==(Ir.ownerDocument||Ir)?or.compareDocumentPosition(Ir):1,Ur&1||!S.sortDetached&&Ir.compareDocumentPosition(or)===Ur?or===pt||or.ownerDocument==he&&Si.contains(he,or)?-1:Ir===pt||Ir.ownerDocument==he&&Si.contains(he,Ir)?1:me?m.call(me,or)-m.call(me,Ir):0:Ur&4?-1:1)}),pt}Si.matches=function(Yr,jr){return Si(Yr,null,null,jr)},Si.matchesSelector=function(Yr,jr){if(Ha(Yr),we&&!Gt[jr+" "]&&(!Be||!Be.test(jr)))try{var Ei=Le.call(Yr,jr);if(Ei||S.disconnectedMatch||Yr.document&&Yr.document.nodeType!==11)return Ei}catch(gi){Gt(jr,!0)}return Si(jr,pt,null,[Yr]).length>0},Si.contains=function(Yr,jr){return(Yr.ownerDocument||Yr)!=pt&&Ha(Yr),d.contains(Yr,jr)},Si.attr=function(Yr,jr){(Yr.ownerDocument||Yr)!=pt&&Ha(Yr);var Ei=x.attrHandle[jr.toLowerCase()],gi=Ei&&l.call(x.attrHandle,jr.toLowerCase())?Ei(Yr,jr,!we):void 0;return gi!==void 0?gi:Yr.getAttribute(jr)},Si.error=function(Yr){throw new Error("Syntax error, unrecognized expression: "+Yr)},d.uniqueSort=function(Yr){var jr,Ei=[],gi=0,or=0;if(Ae=!S.sortStable,me=!S.sortStable&&a.call(Yr,0),W.call(Yr,hn),Ae){for(;jr=Yr[or++];)jr===Yr[or]&&(gi=Ei.push(or));for(;gi--;)te.call(Yr,Ei[gi],1)}return me=null,Yr},d.fn.uniqueSort=function(){return this.pushStack(d.uniqueSort(a.apply(this)))},x=d.expr={cacheLength:50,createPseudo:si,match:An,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(jr){return jr[1]=jr[1].replace(vi,Wi),jr[3]=(jr[3]||jr[4]||jr[5]||"").replace(vi,Wi),jr[2]==="~="&&(jr[3]=" "+jr[3]+" "),jr.slice(0,4)},CHILD:function(jr){return jr[1]=jr[1].toLowerCase(),jr[1].slice(0,3)==="nth"?(jr[3]||Si.error(jr[0]),jr[4]=+(jr[4]?jr[5]+(jr[6]||1):2*(jr[3]==="even"||jr[3]==="odd")),jr[5]=+(jr[7]+jr[8]||jr[3]==="odd")):jr[3]&&Si.error(jr[0]),jr},PSEUDO:function(jr){var Ei,gi=!jr[6]&&jr[2];return An.CHILD.test(jr[0])?null:(jr[3]?jr[2]=jr[4]||jr[5]||"":gi&&ln.test(gi)&&(Ei=co(gi,!0))&&(Ei=gi.indexOf(")",gi.length-Ei)-gi.length)&&(jr[0]=jr[0].slice(0,Ei),jr[2]=gi.slice(0,Ei)),jr.slice(0,3))}},filter:{TAG:function(jr){var Ei=jr.replace(vi,Wi).toLowerCase();return jr==="*"?function(){return!0}:function(gi){return E(gi,Ei)}},CLASS:function(jr){var Ei=Ot[jr+" "];return Ei||(Ei=new RegExp("(^|"+re+")"+jr+"("+re+"|$)"))&&Ot(jr,function(gi){return Ei.test(typeof gi.className=="string"&&gi.className||typeof gi.getAttribute!="undefined"&&gi.getAttribute("class")||"")})},ATTR:function(jr,Ei,gi){return function(or){var Ir=Si.attr(or,jr);return Ir==null?Ei==="!=":Ei?(Ir+="",Ei==="="?Ir===gi:Ei==="!="?Ir!==gi:Ei==="^="?gi&&Ir.indexOf(gi)===0:Ei==="*="?gi&&Ir.indexOf(gi)>-1:Ei==="$="?gi&&Ir.slice(-gi.length)===gi:Ei==="~="?(" "+Ir.replace(Tr," ")+" ").indexOf(gi)>-1:Ei==="|="?Ir===gi||Ir.slice(0,gi.length+1)===gi+"-":!1):!0}},CHILD:function(jr,Ei,gi,or,Ir){var Ur=jr.slice(0,3)!=="nth",Li=jr.slice(-4)!=="last",oa=Ei==="of-type";return or===1&&Ir===0?function(Ua){return!!Ua.parentNode}:function(Ua,$a,Ba){var ro,mo,oo,Oo,Yo,ts=Ur!==Li?"nextSibling":"previousSibling",Os=Ua.parentNode,Rs=oa&&Ua.nodeName.toLowerCase(),Mo=!Ba&&!oa,Bs=!1;if(Os){if(Ur){for(;ts;){for(oo=Ua;oo=oo[ts];)if(oa?E(oo,Rs):oo.nodeType===1)return!1;Yo=ts=jr==="only"&&!Yo&&"nextSibling"}return!0}if(Yo=[Li?Os.firstChild:Os.lastChild],Li&&Mo){for(mo=Os[J]||(Os[J]={}),ro=mo[jr]||[],Oo=ro[0]===Ke&&ro[1],Bs=Oo&&ro[2],oo=Oo&&Os.childNodes[Oo];oo=++Oo&&oo&&oo[ts]||(Bs=Oo=0)||Yo.pop();)if(oo.nodeType===1&&++Bs&&oo===Ua){mo[jr]=[Ke,Oo,Bs];break}}else if(Mo&&(mo=Ua[J]||(Ua[J]={}),ro=mo[jr]||[],Oo=ro[0]===Ke&&ro[1],Bs=Oo),Bs===!1)for(;(oo=++Oo&&oo&&oo[ts]||(Bs=Oo=0)||Yo.pop())&&!((oa?E(oo,Rs):oo.nodeType===1)&&++Bs&&(Mo&&(mo=oo[J]||(oo[J]={}),mo[jr]=[Ke,Bs]),oo===Ua)););return Bs-=Ir,Bs===or||Bs%or==0&&Bs/or>=0}}},PSEUDO:function(jr,Ei){var gi,or=x.pseudos[jr]||x.setFilters[jr.toLowerCase()]||Si.error("unsupported pseudo: "+jr);return or[J]?or(Ei):or.length>1?(gi=[jr,jr,"",Ei],x.setFilters.hasOwnProperty(jr.toLowerCase())?si(function(Ir,Ur){for(var Li,oa=or(Ir,Ei),Ua=oa.length;Ua--;)Li=m.call(Ir,oa[Ua]),Ir[Li]=!(Ur[Li]=oa[Ua])}):function(Ir){return or(Ir,0,gi)}):or}},pseudos:{not:si(function(Yr){var jr=[],Ei=[],gi=es(Yr.replace(ye,"$1"));return gi[J]?si(function(or,Ir,Ur,Li){for(var oa,Ua=gi(or,null,Li,[]),$a=or.length;$a--;)(oa=Ua[$a])&&(or[$a]=!(Ir[$a]=oa))}):function(or,Ir,Ur){return jr[0]=or,gi(jr,null,Ur,Ei),jr[0]=null,!Ei.pop()}}),has:si(function(Yr){return function(jr){return Si(Yr,jr).length>0}}),contains:si(function(Yr){return Yr=Yr.replace(vi,Wi),function(jr){return(jr.textContent||d.text(jr)).indexOf(Yr)>-1}}),lang:si(function(Yr){return rn.test(Yr||"")||Si.error("unsupported lang: "+Yr),Yr=Yr.replace(vi,Wi).toLowerCase(),function(jr){var Ei;do if(Ei=we?jr.lang:jr.getAttribute("xml:lang")||jr.getAttribute("lang"))return Ei=Ei.toLowerCase(),Ei===Yr||Ei.indexOf(Yr+"-")===0;while((jr=jr.parentNode)&&jr.nodeType===1);return!1}}),target:function(jr){var Ei=r.location&&r.location.hash;return Ei&&Ei.slice(1)===jr.id},root:function(jr){return jr===ke},focus:function(jr){return jr===yi()&&pt.hasFocus()&&!!(jr.type||jr.href||~jr.tabIndex)},enabled:Wa(!1),disabled:Wa(!0),checked:function(jr){return E(jr,"input")&&!!jr.checked||E(jr,"option")&&!!jr.selected},selected:function(jr){return jr.parentNode&&jr.parentNode.selectedIndex,jr.selected===!0},empty:function(jr){for(jr=jr.firstChild;jr;jr=jr.nextSibling)if(jr.nodeType<6)return!1;return!0},parent:function(jr){return!x.pseudos.empty(jr)},header:function(jr){return Pr.test(jr.nodeName)},input:function(jr){return fr.test(jr.nodeName)},button:function(jr){return E(jr,"input")&&jr.type==="button"||E(jr,"button")},text:function(jr){var Ei;return E(jr,"input")&&jr.type==="text"&&((Ei=jr.getAttribute("type"))==null||Ei.toLowerCase()==="text")},first:Ri(function(){return[0]}),last:Ri(function(Yr,jr){return[jr-1]}),eq:Ri(function(Yr,jr,Ei){return[Ei<0?Ei+jr:Ei]}),even:Ri(function(Yr,jr){for(var Ei=0;Ei<jr;Ei+=2)Yr.push(Ei);return Yr}),odd:Ri(function(Yr,jr){for(var Ei=1;Ei<jr;Ei+=2)Yr.push(Ei);return Yr}),lt:Ri(function(Yr,jr,Ei){var gi;for(Ei<0?gi=Ei+jr:Ei>jr?gi=jr:gi=Ei;--gi>=0;)Yr.push(gi);return Yr}),gt:Ri(function(Yr,jr,Ei){for(var gi=Ei<0?Ei+jr:Ei;++gi<jr;)Yr.push(gi);return Yr})}},x.pseudos.nth=x.pseudos.eq;for(ve in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[ve]=Yi(ve);for(ve in{submit:!0,reset:!0})x.pseudos[ve]=La(ve);function Za(){}Za.prototype=x.filters=x.pseudos,x.setFilters=new Za;function co(Yr,jr){var Ei,gi,or,Ir,Ur,Li,oa,Ua=Vt[Yr+" "];if(Ua)return jr?0:Ua.slice(0);for(Ur=Yr,Li=[],oa=x.preFilter;Ur;){(!Ei||(gi=Qr.exec(Ur)))&&(gi&&(Ur=Ur.slice(gi[0].length)||Ur),Li.push(or=[])),Ei=!1,(gi=Qe.exec(Ur))&&(Ei=gi.shift(),or.push({value:Ei,type:gi[0].replace(ye," ")}),Ur=Ur.slice(Ei.length));for(Ir in x.filter)(gi=An[Ir].exec(Ur))&&(!oa[Ir]||(gi=oa[Ir](gi)))&&(Ei=gi.shift(),or.push({value:Ei,type:Ir,matches:gi}),Ur=Ur.slice(Ei.length));if(!Ei)break}return jr?Ur.length:Ur?Si.error(Yr):Vt(Yr,Li).slice(0)}function Do(Yr){for(var jr=0,Ei=Yr.length,gi="";jr<Ei;jr++)gi+=Yr[jr].value;return gi}function ra(Yr,jr,Ei){var gi=jr.dir,or=jr.next,Ir=or||gi,Ur=Ei&&Ir==="parentNode",Li=We++;return jr.first?function(oa,Ua,$a){for(;oa=oa[gi];)if(oa.nodeType===1||Ur)return Yr(oa,Ua,$a);return!1}:function(oa,Ua,$a){var Ba,ro,mo=[Ke,Li];if($a){for(;oa=oa[gi];)if((oa.nodeType===1||Ur)&&Yr(oa,Ua,$a))return!0}else for(;oa=oa[gi];)if(oa.nodeType===1||Ur)if(ro=oa[J]||(oa[J]={}),or&&E(oa,or))oa=oa[gi]||oa;else{if((Ba=ro[Ir])&&Ba[0]===Ke&&Ba[1]===Li)return mo[2]=Ba[2];if(ro[Ir]=mo,mo[2]=Yr(oa,Ua,$a))return!0}return!1}}function ya(Yr){return Yr.length>1?function(jr,Ei,gi){for(var or=Yr.length;or--;)if(!Yr[or](jr,Ei,gi))return!1;return!0}:Yr[0]}function Ra(Yr,jr,Ei){for(var gi=0,or=jr.length;gi<or;gi++)Si(Yr,jr[gi],Ei);return Ei}function Fa(Yr,jr,Ei,gi,or){for(var Ir,Ur=[],Li=0,oa=Yr.length,Ua=jr!=null;Li<oa;Li++)(Ir=Yr[Li])&&(!Ei||Ei(Ir,gi,or))&&(Ur.push(Ir),Ua&&jr.push(Li));return Ur}function Ca(Yr,jr,Ei,gi,or,Ir){return gi&&!gi[J]&&(gi=Ca(gi)),or&&!or[J]&&(or=Ca(or,Ir)),si(function(Ur,Li,oa,Ua){var $a,Ba,ro,mo,oo=[],Oo=[],Yo=Li.length,ts=Ur||Ra(jr||"*",oa.nodeType?[oa]:oa,[]),Os=Yr&&(Ur||!jr)?Fa(ts,oo,Yr,oa,Ua):ts;if(Ei?(mo=or||(Ur?Yr:Yo||gi)?[]:Li,Ei(Os,mo,oa,Ua)):mo=Os,gi)for($a=Fa(mo,Oo),gi($a,[],oa,Ua),Ba=$a.length;Ba--;)(ro=$a[Ba])&&(mo[Oo[Ba]]=!(Os[Oo[Ba]]=ro));if(Ur){if(or||Yr){if(or){for($a=[],Ba=mo.length;Ba--;)(ro=mo[Ba])&&$a.push(Os[Ba]=ro);or(null,mo=[],$a,Ua)}for(Ba=mo.length;Ba--;)(ro=mo[Ba])&&($a=or?m.call(Ur,ro):oo[Ba])>-1&&(Ur[$a]=!(Li[$a]=ro))}}else mo=Fa(mo===Li?mo.splice(Yo,mo.length):mo),or?or(null,Li,mo,Ua):tt.apply(Li,mo)})}function no(Yr){for(var jr,Ei,gi,or=Yr.length,Ir=x.relative[Yr[0].type],Ur=Ir||x.relative[" "],Li=Ir?1:0,oa=ra(function(Ba){return Ba===jr},Ur,!0),Ua=ra(function(Ba){return m.call(jr,Ba)>-1},Ur,!0),$a=[function(Ba,ro,mo){var oo=!Ir&&(mo||ro!=le)||((jr=ro).nodeType?oa(Ba,ro,mo):Ua(Ba,ro,mo));return jr=null,oo}];Li<or;Li++)if(Ei=x.relative[Yr[Li].type])$a=[ra(ya($a),Ei)];else{if(Ei=x.filter[Yr[Li].type].apply(null,Yr[Li].matches),Ei[J]){for(gi=++Li;gi<or&&!x.relative[Yr[gi].type];gi++);return Ca(Li>1&&ya($a),Li>1&&Do(Yr.slice(0,Li-1).concat({value:Yr[Li-2].type===" "?"*":""})).replace(ye,"$1"),Ei,Li<gi&&no(Yr.slice(Li,gi)),gi<or&&no(Yr=Yr.slice(gi)),gi<or&&Do(Yr))}$a.push(Ei)}return ya($a)}function No(Yr,jr){var Ei=jr.length>0,gi=Yr.length>0,or=function(Ur,Li,oa,Ua,$a){var Ba,ro,mo,oo=0,Oo="0",Yo=Ur&&[],ts=[],Os=le,Rs=Ur||gi&&x.find.TAG("*",$a),Mo=Ke+=Os==null?1:Math.random()||.1,Bs=Rs.length;for($a&&(le=Li==pt||Li||$a);Oo!==Bs&&(Ba=Rs[Oo])!=null;Oo++){if(gi&&Ba){for(ro=0,!Li&&Ba.ownerDocument!=pt&&(Ha(Ba),oa=!we);mo=Yr[ro++];)if(mo(Ba,Li||pt,oa)){tt.call(Ua,Ba);break}$a&&(Ke=Mo)}Ei&&((Ba=!mo&&Ba)&&oo--,Ur&&Yo.push(Ba))}if(oo+=Oo,Ei&&Oo!==oo){for(ro=0;mo=jr[ro++];)mo(Yo,ts,Li,oa);if(Ur){if(oo>0)for(;Oo--;)Yo[Oo]||ts[Oo]||(ts[Oo]=D.call(Ua));ts=Fa(ts)}tt.apply(Ua,ts),$a&&!Ur&&ts.length>0&&oo+jr.length>1&&d.uniqueSort(Ua)}return $a&&(Ke=Mo,le=Os),Yo};return Ei?si(or):or}function es(Yr,jr){var Ei,gi=[],or=[],Ir=$t[Yr+" "];if(!Ir){for(jr||(jr=co(Yr)),Ei=jr.length;Ei--;)Ir=no(jr[Ei]),Ir[J]?gi.push(Ir):or.push(Ir);Ir=$t(Yr,No(or,gi)),Ir.selector=Yr}return Ir}function ds(Yr,jr,Ei,gi){var or,Ir,Ur,Li,oa,Ua=typeof Yr=="function"&&Yr,$a=!gi&&co(Yr=Ua.selector||Yr);if(Ei=Ei||[],$a.length===1){if(Ir=$a[0]=$a[0].slice(0),Ir.length>2&&(Ur=Ir[0]).type==="ID"&&jr.nodeType===9&&we&&x.relative[Ir[1].type]){if(jr=(x.find.ID(Ur.matches[0].replace(vi,Wi),jr)||[])[0],jr)Ua&&(jr=jr.parentNode);else return Ei;Yr=Yr.slice(Ir.shift().value.length)}for(or=An.needsContext.test(Yr)?0:Ir.length;or--&&(Ur=Ir[or],!x.relative[Li=Ur.type]);)if((oa=x.find[Li])&&(gi=oa(Ur.matches[0].replace(vi,Wi),Ar.test(Ir[0].type)&&Oa(jr.parentNode)||jr))){if(Ir.splice(or,1),Yr=gi.length&&Do(Ir),!Yr)return tt.apply(Ei,gi),Ei;break}}return(Ua||es(Yr,$a))(gi,jr,!we,Ei,!jr||Ar.test(Yr)&&Oa(jr.parentNode)||jr),Ei}S.sortStable=J.split("").sort(hn).join("")===J,Ha(),S.sortDetached=ii(function(Yr){return Yr.compareDocumentPosition(pt.createElement("fieldset"))&1}),d.find=Si,d.expr[":"]=d.expr.pseudos,d.unique=d.uniqueSort,Si.compile=es,Si.select=ds,Si.setDocument=Ha,Si.escape=d.escapeSelector,Si.getText=d.text,Si.isXML=d.isXMLDoc,Si.selectors=d.expr,Si.support=d.support,Si.uniqueSort=d.uniqueSort})();var ne=function(x,le,me){for(var Ae=[],tt=me!==void 0;(x=x[le])&&x.nodeType!==9;)if(x.nodeType===1){if(tt&&d(x).is(me))break;Ae.push(x)}return Ae},se=function(x,le){for(var me=[];x;x=x.nextSibling)x.nodeType===1&&x!==le&&me.push(x);return me},be=d.expr.match.needsContext,Z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ee(ve,x,le){return k(x)?d.grep(ve,function(me,Ae){return!!x.call(me,Ae,me)!==le}):x.nodeType?d.grep(ve,function(me){return me===x!==le}):typeof x!="string"?d.grep(ve,function(me){return m.call(x,me)>-1!==le}):d.filter(x,ve,le)}d.filter=function(ve,x,le){var me=x[0];return le&&(ve=":not("+ve+")"),x.length===1&&me.nodeType===1?d.find.matchesSelector(me,ve)?[me]:[]:d.find.matches(ve,d.grep(x,function(Ae){return Ae.nodeType===1}))},d.fn.extend({find:function(x){var le,me,Ae=this.length,tt=this;if(typeof x!="string")return this.pushStack(d(x).filter(function(){for(le=0;le<Ae;le++)if(d.contains(tt[le],this))return!0}));for(me=this.pushStack([]),le=0;le<Ae;le++)d.find(x,tt[le],me);return Ae>1?d.uniqueSort(me):me},filter:function(x){return this.pushStack(ee(this,x||[],!1))},not:function(x){return this.pushStack(ee(this,x||[],!0))},is:function(x){return!!ee(this,typeof x=="string"&&be.test(x)?d(x):x||[],!1).length}});var ce,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,y=d.fn.init=function(ve,x,le){var me,Ae;if(!ve)return this;if(le=le||ce,typeof ve=="string")if(ve[0]==="<"&&ve[ve.length-1]===">"&&ve.length>=3?me=[null,ve,null]:me=R.exec(ve),me&&(me[1]||!x))if(me[1]){if(x=x instanceof d?x[0]:x,d.merge(this,d.parseHTML(me[1],x&&x.nodeType?x.ownerDocument||x:I,!0)),Z.test(me[1])&&d.isPlainObject(x))for(me in x)k(this[me])?this[me](x[me]):this.attr(me,x[me]);return this}else return Ae=I.getElementById(me[2]),Ae&&(this[0]=Ae,this.length=1),this;else return!x||x.jquery?(x||le).find(ve):this.constructor(x).find(ve);else{if(ve.nodeType)return this[0]=ve,this.length=1,this;if(k(ve))return le.ready!==void 0?le.ready(ve):ve(d)}return d.makeArray(ve,this)};y.prototype=d.fn,ce=d(I);var C=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({has:function(x){var le=d(x,this),me=le.length;return this.filter(function(){for(var Ae=0;Ae<me;Ae++)if(d.contains(this,le[Ae]))return!0})},closest:function(x,le){var me,Ae=0,tt=this.length,pt=[],ke=typeof x!="string"&&d(x);if(!be.test(x)){for(;Ae<tt;Ae++)for(me=this[Ae];me&&me!==le;me=me.parentNode)if(me.nodeType<11&&(ke?ke.index(me)>-1:me.nodeType===1&&d.find.matchesSelector(me,x))){pt.push(me);break}}return this.pushStack(pt.length>1?d.uniqueSort(pt):pt)},index:function(x){return x?typeof x=="string"?m.call(d(x),this[0]):m.call(this,x.jquery?x[0]:x):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(x,le){return this.pushStack(d.uniqueSort(d.merge(this.get(),d(x,le))))},addBack:function(x){return this.add(x==null?this.prevObject:this.prevObject.filter(x))}});function G(ve,x){for(;(ve=ve[x])&&ve.nodeType!==1;);return ve}d.each({parent:function(x){var le=x.parentNode;return le&&le.nodeType!==11?le:null},parents:function(x){return ne(x,"parentNode")},parentsUntil:function(x,le,me){return ne(x,"parentNode",me)},next:function(x){return G(x,"nextSibling")},prev:function(x){return G(x,"previousSibling")},nextAll:function(x){return ne(x,"nextSibling")},prevAll:function(x){return ne(x,"previousSibling")},nextUntil:function(x,le,me){return ne(x,"nextSibling",me)},prevUntil:function(x,le,me){return ne(x,"previousSibling",me)},siblings:function(x){return se((x.parentNode||{}).firstChild,x)},children:function(x){return se(x.firstChild)},contents:function(x){return x.contentDocument!=null&&i(x.contentDocument)?x.contentDocument:(E(x,"template")&&(x=x.content||x),d.merge([],x.childNodes))}},function(ve,x){d.fn[ve]=function(le,me){var Ae=d.map(this,x,le);return ve.slice(-5)!=="Until"&&(me=le),me&&typeof me=="string"&&(Ae=d.filter(me,Ae)),this.length>1&&(z[ve]||d.uniqueSort(Ae),C.test(ve)&&Ae.reverse()),this.pushStack(Ae)}});var X=/[^\x20\t\r\n\f]+/g;function pe(ve){var x={};return d.each(ve.match(X)||[],function(le,me){x[me]=!0}),x}d.Callbacks=function(ve){ve=typeof ve=="string"?pe(ve):d.extend({},ve);var x,le,me,Ae,tt=[],pt=[],ke=-1,we=function(){for(Ae=Ae||ve.once,me=x=!0;pt.length;ke=-1)for(le=pt.shift();++ke<tt.length;)tt[ke].apply(le[0],le[1])===!1&&ve.stopOnFalse&&(ke=tt.length,le=!1);ve.memory||(le=!1),x=!1,Ae&&(le?tt=[]:tt="")},Be={add:function(){return tt&&(le&&!x&&(ke=tt.length-1,pt.push(le)),function J(Ke){d.each(Ke,function(We,Ot){k(Ot)?(!ve.unique||!Be.has(Ot))&&tt.push(Ot):Ot&&Ot.length&&A(Ot)!=="string"&&J(Ot)})}(arguments),le&&!x&&we()),this},remove:function(){return d.each(arguments,function(J,Ke){for(var We;(We=d.inArray(Ke,tt,We))>-1;)tt.splice(We,1),We<=ke&&ke--}),this},has:function(J){return J?d.inArray(J,tt)>-1:tt.length>0},empty:function(){return tt&&(tt=[]),this},disable:function(){return Ae=pt=[],tt=le="",this},disabled:function(){return!tt},lock:function(){return Ae=pt=[],!le&&!x&&(tt=le=""),this},locked:function(){return!!Ae},fireWith:function(J,Ke){return Ae||(Ke=Ke||[],Ke=[J,Ke.slice?Ke.slice():Ke],pt.push(Ke),x||we()),this},fire:function(){return Be.fireWith(this,arguments),this},fired:function(){return!!me}};return Be};function ae(ve){return ve}function Se(ve){throw ve}function Te(ve,x,le,me){var Ae;try{ve&&k(Ae=ve.promise)?Ae.call(ve).done(x).fail(le):ve&&k(Ae=ve.then)?Ae.call(ve,x,le):x.apply(void 0,[ve].slice(me))}catch(tt){le.apply(void 0,[tt])}}d.extend({Deferred:function(x){var le=[["notify","progress",d.Callbacks("memory"),d.Callbacks("memory"),2],["resolve","done",d.Callbacks("once memory"),d.Callbacks("once memory"),0,"resolved"],["reject","fail",d.Callbacks("once memory"),d.Callbacks("once memory"),1,"rejected"]],me="pending",Ae={state:function(){return me},always:function(){return tt.done(arguments).fail(arguments),this},catch:function(ke){return Ae.then(null,ke)},pipe:function(){var ke=arguments;return d.Deferred(function(we){d.each(le,function(Be,Le){var J=k(ke[Le[4]])&&ke[Le[4]];tt[Le[1]](function(){var Ke=J&&J.apply(this,arguments);Ke&&k(Ke.promise)?Ke.promise().progress(we.notify).done(we.resolve).fail(we.reject):we[Le[0]+"With"](this,J?[Ke]:arguments)})}),ke=null}).promise()},then:function(ke,we,Be){var Le=0;function J(Ke,We,Ot,Vt){return function(){var $t=this,Gt=arguments,hn=function(){var vr,zn;if(!(Ke<Le)){if(vr=Ot.apply($t,Gt),vr===We.promise())throw new TypeError("Thenable self-resolution");zn=vr&&(typeof vr=="object"||typeof vr=="function")&&vr.then,k(zn)?Vt?zn.call(vr,J(Le,We,ae,Vt),J(Le,We,Se,Vt)):(Le++,zn.call(vr,J(Le,We,ae,Vt),J(Le,We,Se,Vt),J(Le,We,ae,We.notifyWith))):(Ot!==ae&&($t=void 0,Gt=[vr]),(Vt||We.resolveWith)($t,Gt))}},$n=Vt?hn:function(){try{hn()}catch(Sr){d.Deferred.exceptionHook&&d.Deferred.exceptionHook(Sr,$n.error),Ke+1>=Le&&(Ot!==Se&&($t=void 0,Gt=[Sr]),We.rejectWith($t,Gt))}};Ke?$n():(d.Deferred.getErrorHook?$n.error=d.Deferred.getErrorHook():d.Deferred.getStackHook&&($n.error=d.Deferred.getStackHook()),r.setTimeout($n))}}return d.Deferred(function(Ke){le[0][3].add(J(0,Ke,k(Be)?Be:ae,Ke.notifyWith)),le[1][3].add(J(0,Ke,k(ke)?ke:ae)),le[2][3].add(J(0,Ke,k(we)?we:Se))}).promise()},promise:function(ke){return ke!=null?d.extend(ke,Ae):Ae}},tt={};return d.each(le,function(pt,ke){var we=ke[2],Be=ke[5];Ae[ke[1]]=we.add,Be&&we.add(function(){me=Be},le[3-pt][2].disable,le[3-pt][3].disable,le[0][2].lock,le[0][3].lock),we.add(ke[3].fire),tt[ke[0]]=function(){return tt[ke[0]+"With"](this===tt?void 0:this,arguments),this},tt[ke[0]+"With"]=we.fireWith}),Ae.promise(tt),x&&x.call(tt,tt),tt},when:function(x){var le=arguments.length,me=le,Ae=Array(me),tt=a.call(arguments),pt=d.Deferred(),ke=function(Be){return function(Le){Ae[Be]=this,tt[Be]=arguments.length>1?a.call(arguments):Le,--le||pt.resolveWith(Ae,tt)}};if(le<=1&&(Te(x,pt.done(ke(me)).resolve,pt.reject,!le),pt.state()==="pending"||k(tt[me]&&tt[me].then)))return pt.then();for(;me--;)Te(tt[me],ke(me),pt.reject);return pt.promise()}});var je=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;d.Deferred.exceptionHook=function(ve,x){r.console&&r.console.warn&&ve&&je.test(ve.name)&&r.console.warn("jQuery.Deferred exception: "+ve.message,ve.stack,x)},d.readyException=function(ve){r.setTimeout(function(){throw ve})};var ft=d.Deferred();d.fn.ready=function(ve){return ft.then(ve).catch(function(x){d.readyException(x)}),this},d.extend({isReady:!1,readyWait:1,ready:function(x){(x===!0?--d.readyWait:d.isReady)||(d.isReady=!0,!(x!==!0&&--d.readyWait>0)&&ft.resolveWith(I,[d]))}}),d.ready.then=ft.then;function fe(){I.removeEventListener("DOMContentLoaded",fe),r.removeEventListener("load",fe),d.ready()}I.readyState==="complete"||I.readyState!=="loading"&&!I.documentElement.doScroll?r.setTimeout(d.ready):(I.addEventListener("DOMContentLoaded",fe),r.addEventListener("load",fe));var ie=function ve(x,le,me,Ae,tt,pt,ke){var we=0,Be=x.length,Le=me==null;if(A(me)==="object"){tt=!0;for(we in me)ve(x,le,we,me[we],!0,pt,ke)}else if(Ae!==void 0&&(tt=!0,k(Ae)||(ke=!0),Le&&(ke?(le.call(x,Ae),le=null):(Le=le,le=function(Ke,We,Ot){return Le.call(d(Ke),Ot)})),le))for(;we<Be;we++)le(x[we],me,ke?Ae:Ae.call(x[we],we,le(x[we],me)));return tt?x:Le?le.call(x):Be?le(x[0],me):pt},ge=/^-ms-/,Ve=/-([a-z])/g;function Ee(ve,x){return x.toUpperCase()}function Me(ve){return ve.replace(ge,"ms-").replace(Ve,Ee)}var _e=function(x){return x.nodeType===1||x.nodeType===9||!+x.nodeType};function Re(){this.expando=d.expando+Re.uid++}Re.uid=1,Re.prototype={cache:function(x){var le=x[this.expando];return le||(le={},_e(x)&&(x.nodeType?x[this.expando]=le:Object.defineProperty(x,this.expando,{value:le,configurable:!0}))),le},set:function(x,le,me){var Ae,tt=this.cache(x);if(typeof le=="string")tt[Me(le)]=me;else for(Ae in le)tt[Me(Ae)]=le[Ae];return tt},get:function(x,le){return le===void 0?this.cache(x):x[this.expando]&&x[this.expando][Me(le)]},access:function(x,le,me){return le===void 0||le&&typeof le=="string"&&me===void 0?this.get(x,le):(this.set(x,le,me),me!==void 0?me:le)},remove:function(x,le){var me,Ae=x[this.expando];if(Ae!==void 0){if(le!==void 0)for(Array.isArray(le)?le=le.map(Me):(le=Me(le),le=le in Ae?[le]:le.match(X)||[]),me=le.length;me--;)delete Ae[le[me]];(le===void 0||d.isEmptyObject(Ae))&&(x.nodeType?x[this.expando]=void 0:delete x[this.expando])}},hasData:function(x){var le=x[this.expando];return le!==void 0&&!d.isEmptyObject(le)}};var et=new Re,Xe=new Re,it=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,bt=/[A-Z]/g;function Ct(ve){return ve==="true"?!0:ve==="false"?!1:ve==="null"?null:ve===+ve+""?+ve:it.test(ve)?JSON.parse(ve):ve}function Bt(ve,x,le){var me;if(le===void 0&&ve.nodeType===1)if(me="data-"+x.replace(bt,"-$&").toLowerCase(),le=ve.getAttribute(me),typeof le=="string"){try{le=Ct(le)}catch(Ae){}Xe.set(ve,x,le)}else le=void 0;return le}d.extend({hasData:function(x){return Xe.hasData(x)||et.hasData(x)},data:function(x,le,me){return Xe.access(x,le,me)},removeData:function(x,le){Xe.remove(x,le)},_data:function(x,le,me){return et.access(x,le,me)},_removeData:function(x,le){et.remove(x,le)}}),d.fn.extend({data:function(x,le){var me,Ae,tt,pt=this[0],ke=pt&&pt.attributes;if(x===void 0){if(this.length&&(tt=Xe.get(pt),pt.nodeType===1&&!et.get(pt,"hasDataAttrs"))){for(me=ke.length;me--;)ke[me]&&(Ae=ke[me].name,Ae.indexOf("data-")===0&&(Ae=Me(Ae.slice(5)),Bt(pt,Ae,tt[Ae])));et.set(pt,"hasDataAttrs",!0)}return tt}return typeof x=="object"?this.each(function(){Xe.set(this,x)}):ie(this,function(we){var Be;if(pt&&we===void 0)return Be=Xe.get(pt,x),Be!==void 0||(Be=Bt(pt,x),Be!==void 0)?Be:void 0;this.each(function(){Xe.set(this,x,we)})},null,le,arguments.length>1,null,!0)},removeData:function(x){return this.each(function(){Xe.remove(this,x)})}}),d.extend({queue:function(x,le,me){var Ae;if(x)return le=(le||"fx")+"queue",Ae=et.get(x,le),me&&(!Ae||Array.isArray(me)?Ae=et.access(x,le,d.makeArray(me)):Ae.push(me)),Ae||[]},dequeue:function(x,le){le=le||"fx";var me=d.queue(x,le),Ae=me.length,tt=me.shift(),pt=d._queueHooks(x,le),ke=function(){d.dequeue(x,le)};tt==="inprogress"&&(tt=me.shift(),Ae--),tt&&(le==="fx"&&me.unshift("inprogress"),delete pt.stop,tt.call(x,ke,pt)),!Ae&&pt&&pt.empty.fire()},_queueHooks:function(x,le){var me=le+"queueHooks";return et.get(x,me)||et.access(x,me,{empty:d.Callbacks("once memory").add(function(){et.remove(x,[le+"queue",me])})})}}),d.fn.extend({queue:function(x,le){var me=2;return typeof x!="string"&&(le=x,x="fx",me--),arguments.length<me?d.queue(this[0],x):le===void 0?this:this.each(function(){var Ae=d.queue(this,x,le);d._queueHooks(this,x),x==="fx"&&Ae[0]!=="inprogress"&&d.dequeue(this,x)})},dequeue:function(x){return this.each(function(){d.dequeue(this,x)})},clearQueue:function(x){return this.queue(x||"fx",[])},promise:function(x,le){var me,Ae=1,tt=d.Deferred(),pt=this,ke=this.length,we=function(){--Ae||tt.resolveWith(pt,[pt])};for(typeof x!="string"&&(le=x,x=void 0),x=x||"fx";ke--;)me=et.get(pt[ke],x+"queueHooks"),me&&me.empty&&(Ae++,me.empty.add(we));return we(),tt.promise(le)}});var qe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,st=new RegExp("^(?:([+-])=|)("+qe+")([a-z%]*)$","i"),ut=["Top","Right","Bottom","Left"],nt=I.documentElement,kt=function(x){return d.contains(x.ownerDocument,x)},Sn={composed:!0};nt.getRootNode&&(kt=function(x){return d.contains(x.ownerDocument,x)||x.getRootNode(Sn)===x.ownerDocument});var Tt=function(x,le){return x=le||x,x.style.display==="none"||x.style.display===""&&kt(x)&&d.css(x,"display")==="none"};function ht(ve,x,le,me){var Ae,tt,pt=20,ke=me?function(){return me.cur()}:function(){return d.css(ve,x,"")},we=ke(),Be=le&&le[3]||(d.cssNumber[x]?"":"px"),Le=ve.nodeType&&(d.cssNumber[x]||Be!=="px"&&+we)&&st.exec(d.css(ve,x));if(Le&&Le[3]!==Be){for(we=we/2,Be=Be||Le[3],Le=+we||1;pt--;)d.style(ve,x,Le+Be),(1-tt)*(1-(tt=ke()/we||.5))<=0&&(pt=0),Le=Le/tt;Le=Le*2,d.style(ve,x,Le+Be),le=le||[]}return le&&(Le=+Le||+we||0,Ae=le[1]?Le+(le[1]+1)*le[2]:+le[2],me&&(me.unit=Be,me.start=Le,me.end=Ae)),Ae}var Rt={};function Ft(ve){var x,le=ve.ownerDocument,me=ve.nodeName,Ae=Rt[me];return Ae||(x=le.body.appendChild(le.createElement(me)),Ae=d.css(x,"display"),x.parentNode.removeChild(x),Ae==="none"&&(Ae="block"),Rt[me]=Ae,Ae)}function nn(ve,x){for(var le,me,Ae=[],tt=0,pt=ve.length;tt<pt;tt++)me=ve[tt],!!me.style&&(le=me.style.display,x?(le==="none"&&(Ae[tt]=et.get(me,"display")||null,Ae[tt]||(me.style.display="")),me.style.display===""&&Tt(me)&&(Ae[tt]=Ft(me))):le!=="none"&&(Ae[tt]="none",et.set(me,"display",le)));for(tt=0;tt<pt;tt++)Ae[tt]!=null&&(ve[tt].style.display=Ae[tt]);return ve}d.fn.extend({show:function(){return nn(this,!0)},hide:function(){return nn(this)},toggle:function(x){return typeof x=="boolean"?x?this.show():this.hide():this.each(function(){Tt(this)?d(this).show():d(this).hide()})}});var bn=/^(?:checkbox|radio)$/i,sn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,un=/^$|^module$|\/(?:java|ecma)script/i;(function(){var ve=I.createDocumentFragment(),x=ve.appendChild(I.createElement("div")),le=I.createElement("input");le.setAttribute("type","radio"),le.setAttribute("checked","checked"),le.setAttribute("name","t"),x.appendChild(le),S.checkClone=x.cloneNode(!0).cloneNode(!0).lastChild.checked,x.innerHTML="<textarea>x</textarea>",S.noCloneChecked=!!x.cloneNode(!0).lastChild.defaultValue,x.innerHTML="<option></option>",S.option=!!x.lastChild})();var Ht={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ht.tbody=Ht.tfoot=Ht.colgroup=Ht.caption=Ht.thead,Ht.th=Ht.td,S.option||(Ht.optgroup=Ht.option=[1,"<select multiple='multiple'>","</select>"]);function jn(ve,x){var le;return typeof ve.getElementsByTagName!="undefined"?le=ve.getElementsByTagName(x||"*"):typeof ve.querySelectorAll!="undefined"?le=ve.querySelectorAll(x||"*"):le=[],x===void 0||x&&E(ve,x)?d.merge([ve],le):le}function Ln(ve,x){for(var le=0,me=ve.length;le<me;le++)et.set(ve[le],"globalEval",!x||et.get(x[le],"globalEval"))}var Un=/<|&#?\w+;/;function lt(ve,x,le,me,Ae){for(var tt,pt,ke,we,Be,Le,J=x.createDocumentFragment(),Ke=[],We=0,Ot=ve.length;We<Ot;We++)if(tt=ve[We],tt||tt===0)if(A(tt)==="object")d.merge(Ke,tt.nodeType?[tt]:tt);else if(!Un.test(tt))Ke.push(x.createTextNode(tt));else{for(pt=pt||J.appendChild(x.createElement("div")),ke=(sn.exec(tt)||["",""])[1].toLowerCase(),we=Ht[ke]||Ht._default,pt.innerHTML=we[1]+d.htmlPrefilter(tt)+we[2],Le=we[0];Le--;)pt=pt.lastChild;d.merge(Ke,pt.childNodes),pt=J.firstChild,pt.textContent=""}for(J.textContent="",We=0;tt=Ke[We++];){if(me&&d.inArray(tt,me)>-1){Ae&&Ae.push(tt);continue}if(Be=kt(tt),pt=jn(J.appendChild(tt),"script"),Be&&Ln(pt),le)for(Le=0;tt=pt[Le++];)un.test(tt.type||"")&&le.push(tt)}return J}var Nt=/^([^.]*)(?:\.(.+)|)/;function zt(){return!0}function en(){return!1}function tn(ve,x,le,me,Ae,tt){var pt,ke;if(typeof x=="object"){typeof le!="string"&&(me=me||le,le=void 0);for(ke in x)tn(ve,ke,le,me,x[ke],tt);return ve}if(me==null&&Ae==null?(Ae=le,me=le=void 0):Ae==null&&(typeof le=="string"?(Ae=me,me=void 0):(Ae=me,me=le,le=void 0)),Ae===!1)Ae=en;else if(!Ae)return ve;return tt===1&&(pt=Ae,Ae=function(Be){return d().off(Be),pt.apply(this,arguments)},Ae.guid=pt.guid||(pt.guid=d.guid++)),ve.each(function(){d.event.add(this,x,Ae,me,le)})}d.event={global:{},add:function(x,le,me,Ae,tt){var pt,ke,we,Be,Le,J,Ke,We,Ot,Vt,$t,Gt=et.get(x);if(!!_e(x))for(me.handler&&(pt=me,me=pt.handler,tt=pt.selector),tt&&d.find.matchesSelector(nt,tt),me.guid||(me.guid=d.guid++),(Be=Gt.events)||(Be=Gt.events=Object.create(null)),(ke=Gt.handle)||(ke=Gt.handle=function(hn){return typeof d!="undefined"&&d.event.triggered!==hn.type?d.event.dispatch.apply(x,arguments):void 0}),le=(le||"").match(X)||[""],Le=le.length;Le--;)we=Nt.exec(le[Le])||[],Ot=$t=we[1],Vt=(we[2]||"").split(".").sort(),!!Ot&&(Ke=d.event.special[Ot]||{},Ot=(tt?Ke.delegateType:Ke.bindType)||Ot,Ke=d.event.special[Ot]||{},J=d.extend({type:Ot,origType:$t,data:Ae,handler:me,guid:me.guid,selector:tt,needsContext:tt&&d.expr.match.needsContext.test(tt),namespace:Vt.join(".")},pt),(We=Be[Ot])||(We=Be[Ot]=[],We.delegateCount=0,(!Ke.setup||Ke.setup.call(x,Ae,Vt,ke)===!1)&&x.addEventListener&&x.addEventListener(Ot,ke)),Ke.add&&(Ke.add.call(x,J),J.handler.guid||(J.handler.guid=me.guid)),tt?We.splice(We.delegateCount++,0,J):We.push(J),d.event.global[Ot]=!0)},remove:function(x,le,me,Ae,tt){var pt,ke,we,Be,Le,J,Ke,We,Ot,Vt,$t,Gt=et.hasData(x)&&et.get(x);if(!(!Gt||!(Be=Gt.events))){for(le=(le||"").match(X)||[""],Le=le.length;Le--;){if(we=Nt.exec(le[Le])||[],Ot=$t=we[1],Vt=(we[2]||"").split(".").sort(),!Ot){for(Ot in Be)d.event.remove(x,Ot+le[Le],me,Ae,!0);continue}for(Ke=d.event.special[Ot]||{},Ot=(Ae?Ke.delegateType:Ke.bindType)||Ot,We=Be[Ot]||[],we=we[2]&&new RegExp("(^|\\.)"+Vt.join("\\.(?:.*\\.|)")+"(\\.|$)"),ke=pt=We.length;pt--;)J=We[pt],(tt||$t===J.origType)&&(!me||me.guid===J.guid)&&(!we||we.test(J.namespace))&&(!Ae||Ae===J.selector||Ae==="**"&&J.selector)&&(We.splice(pt,1),J.selector&&We.delegateCount--,Ke.remove&&Ke.remove.call(x,J));ke&&!We.length&&((!Ke.teardown||Ke.teardown.call(x,Vt,Gt.handle)===!1)&&d.removeEvent(x,Ot,Gt.handle),delete Be[Ot])}d.isEmptyObject(Be)&&et.remove(x,"handle events")}},dispatch:function(x){var le,me,Ae,tt,pt,ke,we=new Array(arguments.length),Be=d.event.fix(x),Le=(et.get(this,"events")||Object.create(null))[Be.type]||[],J=d.event.special[Be.type]||{};for(we[0]=Be,le=1;le<arguments.length;le++)we[le]=arguments[le];if(Be.delegateTarget=this,!(J.preDispatch&&J.preDispatch.call(this,Be)===!1)){for(ke=d.event.handlers.call(this,Be,Le),le=0;(tt=ke[le++])&&!Be.isPropagationStopped();)for(Be.currentTarget=tt.elem,me=0;(pt=tt.handlers[me++])&&!Be.isImmediatePropagationStopped();)(!Be.rnamespace||pt.namespace===!1||Be.rnamespace.test(pt.namespace))&&(Be.handleObj=pt,Be.data=pt.data,Ae=((d.event.special[pt.origType]||{}).handle||pt.handler).apply(tt.elem,we),Ae!==void 0&&(Be.result=Ae)===!1&&(Be.preventDefault(),Be.stopPropagation()));return J.postDispatch&&J.postDispatch.call(this,Be),Be.result}},handlers:function(x,le){var me,Ae,tt,pt,ke,we=[],Be=le.delegateCount,Le=x.target;if(Be&&Le.nodeType&&!(x.type==="click"&&x.button>=1)){for(;Le!==this;Le=Le.parentNode||this)if(Le.nodeType===1&&!(x.type==="click"&&Le.disabled===!0)){for(pt=[],ke={},me=0;me<Be;me++)Ae=le[me],tt=Ae.selector+" ",ke[tt]===void 0&&(ke[tt]=Ae.needsContext?d(tt,this).index(Le)>-1:d.find(tt,this,null,[Le]).length),ke[tt]&&pt.push(Ae);pt.length&&we.push({elem:Le,handlers:pt})}}return Le=this,Be<le.length&&we.push({elem:Le,handlers:le.slice(Be)}),we},addProp:function(x,le){Object.defineProperty(d.Event.prototype,x,{enumerable:!0,configurable:!0,get:k(le)?function(){if(this.originalEvent)return le(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[x]},set:function(Ae){Object.defineProperty(this,x,{enumerable:!0,configurable:!0,writable:!0,value:Ae})}})},fix:function(x){return x[d.expando]?x:new d.Event(x)},special:{load:{noBubble:!0},click:{setup:function(x){var le=this||x;return bn.test(le.type)&&le.click&&E(le,"input")&&wn(le,"click",!0),!1},trigger:function(x){var le=this||x;return bn.test(le.type)&&le.click&&E(le,"input")&&wn(le,"click"),!0},_default:function(x){var le=x.target;return bn.test(le.type)&&le.click&&E(le,"input")&&et.get(le,"click")||E(le,"a")}},beforeunload:{postDispatch:function(x){x.result!==void 0&&x.originalEvent&&(x.originalEvent.returnValue=x.result)}}}};function wn(ve,x,le){if(!le){et.get(ve,x)===void 0&&d.event.add(ve,x,zt);return}et.set(ve,x,!1),d.event.add(ve,x,{namespace:!1,handler:function(Ae){var tt,pt=et.get(this,x);if(Ae.isTrigger&1&&this[x]){if(pt)(d.event.special[x]||{}).delegateType&&Ae.stopPropagation();else if(pt=a.call(arguments),et.set(this,x,pt),this[x](),tt=et.get(this,x),et.set(this,x,!1),pt!==tt)return Ae.stopImmediatePropagation(),Ae.preventDefault(),tt}else pt&&(et.set(this,x,d.event.trigger(pt[0],pt.slice(1),this)),Ae.stopPropagation(),Ae.isImmediatePropagationStopped=zt)}})}d.removeEvent=function(ve,x,le){ve.removeEventListener&&ve.removeEventListener(x,le)},d.Event=function(ve,x){if(!(this instanceof d.Event))return new d.Event(ve,x);ve&&ve.type?(this.originalEvent=ve,this.type=ve.type,this.isDefaultPrevented=ve.defaultPrevented||ve.defaultPrevented===void 0&&ve.returnValue===!1?zt:en,this.target=ve.target&&ve.target.nodeType===3?ve.target.parentNode:ve.target,this.currentTarget=ve.currentTarget,this.relatedTarget=ve.relatedTarget):this.type=ve,x&&d.extend(this,x),this.timeStamp=ve&&ve.timeStamp||Date.now(),this[d.expando]=!0},d.Event.prototype={constructor:d.Event,isDefaultPrevented:en,isPropagationStopped:en,isImmediatePropagationStopped:en,isSimulated:!1,preventDefault:function(){var x=this.originalEvent;this.isDefaultPrevented=zt,x&&!this.isSimulated&&x.preventDefault()},stopPropagation:function(){var x=this.originalEvent;this.isPropagationStopped=zt,x&&!this.isSimulated&&x.stopPropagation()},stopImmediatePropagation:function(){var x=this.originalEvent;this.isImmediatePropagationStopped=zt,x&&!this.isSimulated&&x.stopImmediatePropagation(),this.stopPropagation()}},d.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},d.event.addProp),d.each({focus:"focusin",blur:"focusout"},function(ve,x){function le(me){if(I.documentMode){var Ae=et.get(this,"handle"),tt=d.event.fix(me);tt.type=me.type==="focusin"?"focus":"blur",tt.isSimulated=!0,Ae(me),tt.target===tt.currentTarget&&Ae(tt)}else d.event.simulate(x,me.target,d.event.fix(me))}d.event.special[ve]={setup:function(){var Ae;if(wn(this,ve,!0),I.documentMode)Ae=et.get(this,x),Ae||this.addEventListener(x,le),et.set(this,x,(Ae||0)+1);else return!1},trigger:function(){return wn(this,ve),!0},teardown:function(){var Ae;if(I.documentMode)Ae=et.get(this,x)-1,Ae?et.set(this,x,Ae):(this.removeEventListener(x,le),et.remove(this,x));else return!1},_default:function(Ae){return et.get(Ae.target,ve)},delegateType:x},d.event.special[x]={setup:function(){var Ae=this.ownerDocument||this.document||this,tt=I.documentMode?this:Ae,pt=et.get(tt,x);pt||(I.documentMode?this.addEventListener(x,le):Ae.addEventListener(ve,le,!0)),et.set(tt,x,(pt||0)+1)},teardown:function(){var Ae=this.ownerDocument||this.document||this,tt=I.documentMode?this:Ae,pt=et.get(tt,x)-1;pt?et.set(tt,x,pt):(I.documentMode?this.removeEventListener(x,le):Ae.removeEventListener(ve,le,!0),et.remove(tt,x))}}}),d.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(ve,x){d.event.special[ve]={delegateType:x,bindType:x,handle:function(me){var Ae,tt=this,pt=me.relatedTarget,ke=me.handleObj;return(!pt||pt!==tt&&!d.contains(tt,pt))&&(me.type=ke.origType,Ae=ke.handler.apply(this,arguments),me.type=x),Ae}}}),d.fn.extend({on:function(x,le,me,Ae){return tn(this,x,le,me,Ae)},one:function(x,le,me,Ae){return tn(this,x,le,me,Ae,1)},off:function(x,le,me){var Ae,tt;if(x&&x.preventDefault&&x.handleObj)return Ae=x.handleObj,d(x.delegateTarget).off(Ae.namespace?Ae.origType+"."+Ae.namespace:Ae.origType,Ae.selector,Ae.handler),this;if(typeof x=="object"){for(tt in x)this.off(tt,le,x[tt]);return this}return(le===!1||typeof le=="function")&&(me=le,le=void 0),me===!1&&(me=en),this.each(function(){d.event.remove(this,x,me,le)})}});var on=/<script|<style|<link/i,vn=/checked\s*(?:[^=]|=\s*.checked.)/i,dt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ct(ve,x){return E(ve,"table")&&E(x.nodeType!==11?x:x.firstChild,"tr")&&d(ve).children("tbody")[0]||ve}function Kt(ve){return ve.type=(ve.getAttribute("type")!==null)+"/"+ve.type,ve}function pn(ve){return(ve.type||"").slice(0,5)==="true/"?ve.type=ve.type.slice(5):ve.removeAttribute("type"),ve}function kn(ve,x){var le,me,Ae,tt,pt,ke,we;if(x.nodeType===1){if(et.hasData(ve)&&(tt=et.get(ve),we=tt.events,we)){et.remove(x,"handle events");for(Ae in we)for(le=0,me=we[Ae].length;le<me;le++)d.event.add(x,Ae,we[Ae][le])}Xe.hasData(ve)&&(pt=Xe.access(ve),ke=d.extend({},pt),Xe.set(x,ke))}}function Pt(ve,x){var le=x.nodeName.toLowerCase();le==="input"&&bn.test(ve.type)?x.checked=ve.checked:(le==="input"||le==="textarea")&&(x.defaultValue=ve.defaultValue)}function gn(ve,x,le,me){x=n(x);var Ae,tt,pt,ke,we,Be,Le=0,J=ve.length,Ke=J-1,We=x[0],Ot=k(We);if(Ot||J>1&&typeof We=="string"&&!S.checkClone&&vn.test(We))return ve.each(function(Vt){var $t=ve.eq(Vt);Ot&&(x[0]=We.call(this,Vt,$t.html())),gn($t,x,le,me)});if(J&&(Ae=lt(x,ve[0].ownerDocument,!1,ve,me),tt=Ae.firstChild,Ae.childNodes.length===1&&(Ae=tt),tt||me)){for(pt=d.map(jn(Ae,"script"),Kt),ke=pt.length;Le<J;Le++)we=Ae,Le!==Ke&&(we=d.clone(we,!0,!0),ke&&d.merge(pt,jn(we,"script"))),le.call(ve[Le],we,Le);if(ke)for(Be=pt[pt.length-1].ownerDocument,d.map(pt,pn),Le=0;Le<ke;Le++)we=pt[Le],un.test(we.type||"")&&!et.access(we,"globalEval")&&d.contains(Be,we)&&(we.src&&(we.type||"").toLowerCase()!=="module"?d._evalUrl&&!we.noModule&&d._evalUrl(we.src,{nonce:we.nonce||we.getAttribute("nonce")},Be):$(we.textContent.replace(dt,""),we,Be))}return ve}function _n(ve,x,le){for(var me,Ae=x?d.filter(x,ve):ve,tt=0;(me=Ae[tt])!=null;tt++)!le&&me.nodeType===1&&d.cleanData(jn(me)),me.parentNode&&(le&&kt(me)&&Ln(jn(me,"script")),me.parentNode.removeChild(me));return ve}d.extend({htmlPrefilter:function(x){return x},clone:function(x,le,me){var Ae,tt,pt,ke,we=x.cloneNode(!0),Be=kt(x);if(!S.noCloneChecked&&(x.nodeType===1||x.nodeType===11)&&!d.isXMLDoc(x))for(ke=jn(we),pt=jn(x),Ae=0,tt=pt.length;Ae<tt;Ae++)Pt(pt[Ae],ke[Ae]);if(le)if(me)for(pt=pt||jn(x),ke=ke||jn(we),Ae=0,tt=pt.length;Ae<tt;Ae++)kn(pt[Ae],ke[Ae]);else kn(x,we);return ke=jn(we,"script"),ke.length>0&&Ln(ke,!Be&&jn(x,"script")),we},cleanData:function(x){for(var le,me,Ae,tt=d.event.special,pt=0;(me=x[pt])!==void 0;pt++)if(_e(me)){if(le=me[et.expando]){if(le.events)for(Ae in le.events)tt[Ae]?d.event.remove(me,Ae):d.removeEvent(me,Ae,le.handle);me[et.expando]=void 0}me[Xe.expando]&&(me[Xe.expando]=void 0)}}}),d.fn.extend({detach:function(x){return _n(this,x,!0)},remove:function(x){return _n(this,x)},text:function(x){return ie(this,function(le){return le===void 0?d.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=le)})},null,x,arguments.length)},append:function(){return gn(this,arguments,function(x){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var le=ct(this,x);le.appendChild(x)}})},prepend:function(){return gn(this,arguments,function(x){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var le=ct(this,x);le.insertBefore(x,le.firstChild)}})},before:function(){return gn(this,arguments,function(x){this.parentNode&&this.parentNode.insertBefore(x,this)})},after:function(){return gn(this,arguments,function(x){this.parentNode&&this.parentNode.insertBefore(x,this.nextSibling)})},empty:function(){for(var x,le=0;(x=this[le])!=null;le++)x.nodeType===1&&(d.cleanData(jn(x,!1)),x.textContent="");return this},clone:function(x,le){return x=x==null?!1:x,le=le==null?x:le,this.map(function(){return d.clone(this,x,le)})},html:function(x){return ie(this,function(le){var me=this[0]||{},Ae=0,tt=this.length;if(le===void 0&&me.nodeType===1)return me.innerHTML;if(typeof le=="string"&&!on.test(le)&&!Ht[(sn.exec(le)||["",""])[1].toLowerCase()]){le=d.htmlPrefilter(le);try{for(;Ae<tt;Ae++)me=this[Ae]||{},me.nodeType===1&&(d.cleanData(jn(me,!1)),me.innerHTML=le);me=0}catch(pt){}}me&&this.empty().append(le)},null,x,arguments.length)},replaceWith:function(){var x=[];return gn(this,arguments,function(le){var me=this.parentNode;d.inArray(this,x)<0&&(d.cleanData(jn(this)),me&&me.replaceChild(le,this))},x)}}),d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(ve,x){d.fn[ve]=function(le){for(var me,Ae=[],tt=d(le),pt=tt.length-1,ke=0;ke<=pt;ke++)me=ke===pt?this:this.clone(!0),d(tt[ke])[x](me),v.apply(Ae,me.get());return this.pushStack(Ae)}});var Kn=new RegExp("^("+qe+")(?!px)[a-z%]+$","i"),qn=/^--/,rr=function(x){var le=x.ownerDocument.defaultView;return(!le||!le.opener)&&(le=r),le.getComputedStyle(x)},Rn=function(x,le,me){var Ae,tt,pt={};for(tt in le)pt[tt]=x.style[tt],x.style[tt]=le[tt];Ae=me.call(x);for(tt in le)x.style[tt]=pt[tt];return Ae},mr=new RegExp(ut.join("|"),"i");(function(){function ve(){if(!!Be){we.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Be.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",nt.appendChild(we).appendChild(Be);var Le=r.getComputedStyle(Be);le=Le.top!=="1%",ke=x(Le.marginLeft)===12,Be.style.right="60%",tt=x(Le.right)===36,me=x(Le.width)===36,Be.style.position="absolute",Ae=x(Be.offsetWidth/3)===12,nt.removeChild(we),Be=null}}function x(Le){return Math.round(parseFloat(Le))}var le,me,Ae,tt,pt,ke,we=I.createElement("div"),Be=I.createElement("div");!Be.style||(Be.style.backgroundClip="content-box",Be.cloneNode(!0).style.backgroundClip="",S.clearCloneStyle=Be.style.backgroundClip==="content-box",d.extend(S,{boxSizingReliable:function(){return ve(),me},pixelBoxStyles:function(){return ve(),tt},pixelPosition:function(){return ve(),le},reliableMarginLeft:function(){return ve(),ke},scrollboxSize:function(){return ve(),Ae},reliableTrDimensions:function(){var J,Ke,We,Ot;return pt==null&&(J=I.createElement("table"),Ke=I.createElement("tr"),We=I.createElement("div"),J.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ke.style.cssText="border:1px solid",Ke.style.height="1px",We.style.height="9px",We.style.display="block",nt.appendChild(J).appendChild(Ke).appendChild(We),Ot=r.getComputedStyle(Ke),pt=parseInt(Ot.height,10)+parseInt(Ot.borderTopWidth,10)+parseInt(Ot.borderBottomWidth,10)===Ke.offsetHeight,nt.removeChild(J)),pt}}))})();function ar(ve,x,le){var me,Ae,tt,pt,ke=qn.test(x),we=ve.style;return le=le||rr(ve),le&&(pt=le.getPropertyValue(x)||le[x],ke&&pt&&(pt=pt.replace(ye,"$1")||void 0),pt===""&&!kt(ve)&&(pt=d.style(ve,x)),!S.pixelBoxStyles()&&Kn.test(pt)&&mr.test(x)&&(me=we.width,Ae=we.minWidth,tt=we.maxWidth,we.minWidth=we.maxWidth=we.width=pt,pt=le.width,we.width=me,we.minWidth=Ae,we.maxWidth=tt)),pt!==void 0?pt+"":pt}function sr(ve,x){return{get:function(){if(ve()){delete this.get;return}return(this.get=x).apply(this,arguments)}}}var yr=["Webkit","Moz","ms"],br=I.createElement("div").style,_r={};function li(ve){for(var x=ve[0].toUpperCase()+ve.slice(1),le=yr.length;le--;)if(ve=yr[le]+x,ve in br)return ve}function xi(ve){var x=d.cssProps[ve]||_r[ve];return x||(ve in br?ve:_r[ve]=li(ve)||ve)}var Mi=/^(none|table(?!-c[ea]).+)/,Fr={position:"absolute",visibility:"hidden",display:"block"},ur={letterSpacing:"0",fontWeight:"400"};function Ti(ve,x,le){var me=st.exec(x);return me?Math.max(0,me[2]-(le||0))+(me[3]||"px"):x}function Xi(ve,x,le,me,Ae,tt){var pt=x==="width"?1:0,ke=0,we=0,Be=0;if(le===(me?"border":"content"))return 0;for(;pt<4;pt+=2)le==="margin"&&(Be+=d.css(ve,le+ut[pt],!0,Ae)),me?(le==="content"&&(we-=d.css(ve,"padding"+ut[pt],!0,Ae)),le!=="margin"&&(we-=d.css(ve,"border"+ut[pt]+"Width",!0,Ae))):(we+=d.css(ve,"padding"+ut[pt],!0,Ae),le!=="padding"?we+=d.css(ve,"border"+ut[pt]+"Width",!0,Ae):ke+=d.css(ve,"border"+ut[pt]+"Width",!0,Ae));return!me&&tt>=0&&(we+=Math.max(0,Math.ceil(ve["offset"+x[0].toUpperCase()+x.slice(1)]-tt-we-ke-.5))||0),we+Be}function ca(ve,x,le){var me=rr(ve),Ae=!S.boxSizingReliable()||le,tt=Ae&&d.css(ve,"boxSizing",!1,me)==="border-box",pt=tt,ke=ar(ve,x,me),we="offset"+x[0].toUpperCase()+x.slice(1);if(Kn.test(ke)){if(!le)return ke;ke="auto"}return(!S.boxSizingReliable()&&tt||!S.reliableTrDimensions()&&E(ve,"tr")||ke==="auto"||!parseFloat(ke)&&d.css(ve,"display",!1,me)==="inline")&&ve.getClientRects().length&&(tt=d.css(ve,"boxSizing",!1,me)==="border-box",pt=we in ve,pt&&(ke=ve[we])),ke=parseFloat(ke)||0,ke+Xi(ve,x,le||(tt?"border":"content"),pt,me,ke)+"px"}d.extend({cssHooks:{opacity:{get:function(x,le){if(le){var me=ar(x,"opacity");return me===""?"1":me}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(x,le,me,Ae){if(!(!x||x.nodeType===3||x.nodeType===8||!x.style)){var tt,pt,ke,we=Me(le),Be=qn.test(le),Le=x.style;if(Be||(le=xi(we)),ke=d.cssHooks[le]||d.cssHooks[we],me!==void 0){if(pt=typeof me,pt==="string"&&(tt=st.exec(me))&&tt[1]&&(me=ht(x,le,tt),pt="number"),me==null||me!==me)return;pt==="number"&&!Be&&(me+=tt&&tt[3]||(d.cssNumber[we]?"":"px")),!S.clearCloneStyle&&me===""&&le.indexOf("background")===0&&(Le[le]="inherit"),(!ke||!("set"in ke)||(me=ke.set(x,me,Ae))!==void 0)&&(Be?Le.setProperty(le,me):Le[le]=me)}else return ke&&"get"in ke&&(tt=ke.get(x,!1,Ae))!==void 0?tt:Le[le]}},css:function(x,le,me,Ae){var tt,pt,ke,we=Me(le),Be=qn.test(le);return Be||(le=xi(we)),ke=d.cssHooks[le]||d.cssHooks[we],ke&&"get"in ke&&(tt=ke.get(x,!0,me)),tt===void 0&&(tt=ar(x,le,Ae)),tt==="normal"&&le in ur&&(tt=ur[le]),me===""||me?(pt=parseFloat(tt),me===!0||isFinite(pt)?pt||0:tt):tt}}),d.each(["height","width"],function(ve,x){d.cssHooks[x]={get:function(me,Ae,tt){if(Ae)return Mi.test(d.css(me,"display"))&&(!me.getClientRects().length||!me.getBoundingClientRect().width)?Rn(me,Fr,function(){return ca(me,x,tt)}):ca(me,x,tt)},set:function(me,Ae,tt){var pt,ke=rr(me),we=!S.scrollboxSize()&&ke.position==="absolute",Be=we||tt,Le=Be&&d.css(me,"boxSizing",!1,ke)==="border-box",J=tt?Xi(me,x,tt,Le,ke):0;return Le&&we&&(J-=Math.ceil(me["offset"+x[0].toUpperCase()+x.slice(1)]-parseFloat(ke[x])-Xi(me,x,"border",!1,ke)-.5)),J&&(pt=st.exec(Ae))&&(pt[3]||"px")!=="px"&&(me.style[x]=Ae,Ae=d.css(me,x)),Ti(me,Ae,J)}}}),d.cssHooks.marginLeft=sr(S.reliableMarginLeft,function(ve,x){if(x)return(parseFloat(ar(ve,"marginLeft"))||ve.getBoundingClientRect().left-Rn(ve,{marginLeft:0},function(){return ve.getBoundingClientRect().left}))+"px"}),d.each({margin:"",padding:"",border:"Width"},function(ve,x){d.cssHooks[ve+x]={expand:function(me){for(var Ae=0,tt={},pt=typeof me=="string"?me.split(" "):[me];Ae<4;Ae++)tt[ve+ut[Ae]+x]=pt[Ae]||pt[Ae-2]||pt[0];return tt}},ve!=="margin"&&(d.cssHooks[ve+x].set=Ti)}),d.fn.extend({css:function(x,le){return ie(this,function(me,Ae,tt){var pt,ke,we={},Be=0;if(Array.isArray(Ae)){for(pt=rr(me),ke=Ae.length;Be<ke;Be++)we[Ae[Be]]=d.css(me,Ae[Be],!1,pt);return we}return tt!==void 0?d.style(me,Ae,tt):d.css(me,Ae)},x,le,arguments.length>1)}});function Zi(ve,x,le,me,Ae){return new Zi.prototype.init(ve,x,le,me,Ae)}d.Tween=Zi,Zi.prototype={constructor:Zi,init:function(x,le,me,Ae,tt,pt){this.elem=x,this.prop=me,this.easing=tt||d.easing._default,this.options=le,this.start=this.now=this.cur(),this.end=Ae,this.unit=pt||(d.cssNumber[me]?"":"px")},cur:function(){var x=Zi.propHooks[this.prop];return x&&x.get?x.get(this):Zi.propHooks._default.get(this)},run:function(x){var le,me=Zi.propHooks[this.prop];return this.options.duration?this.pos=le=d.easing[this.easing](x,this.options.duration*x,0,1,this.options.duration):this.pos=le=x,this.now=(this.end-this.start)*le+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),me&&me.set?me.set(this):Zi.propHooks._default.set(this),this}},Zi.prototype.init.prototype=Zi.prototype,Zi.propHooks={_default:{get:function(x){var le;return x.elem.nodeType!==1||x.elem[x.prop]!=null&&x.elem.style[x.prop]==null?x.elem[x.prop]:(le=d.css(x.elem,x.prop,""),!le||le==="auto"?0:le)},set:function(x){d.fx.step[x.prop]?d.fx.step[x.prop](x):x.elem.nodeType===1&&(d.cssHooks[x.prop]||x.elem.style[xi(x.prop)]!=null)?d.style(x.elem,x.prop,x.now+x.unit):x.elem[x.prop]=x.now}}},Zi.propHooks.scrollTop=Zi.propHooks.scrollLeft={set:function(x){x.elem.nodeType&&x.elem.parentNode&&(x.elem[x.prop]=x.now)}},d.easing={linear:function(x){return x},swing:function(x){return .5-Math.cos(x*Math.PI)/2},_default:"swing"},d.fx=Zi.prototype.init,d.fx.step={};var xa,va,Ma=/^(?:toggle|show|hide)$/,_a=/queueHooks$/;function na(){va&&(I.hidden===!1&&r.requestAnimationFrame?r.requestAnimationFrame(na):r.setTimeout(na,d.fx.interval),d.fx.tick())}function sa(){return r.setTimeout(function(){xa=void 0}),xa=Date.now()}function Ai(ve,x){var le,me=0,Ae={height:ve};for(x=x?1:0;me<4;me+=2-x)le=ut[me],Ae["margin"+le]=Ae["padding"+le]=ve;return x&&(Ae.opacity=Ae.width=ve),Ae}function ba(ve,x,le){for(var me,Ae=(It.tweeners[x]||[]).concat(It.tweeners["*"]),tt=0,pt=Ae.length;tt<pt;tt++)if(me=Ae[tt].call(le,x,ve))return me}function ea(ve,x,le){var me,Ae,tt,pt,ke,we,Be,Le,J="width"in x||"height"in x,Ke=this,We={},Ot=ve.style,Vt=ve.nodeType&&Tt(ve),$t=et.get(ve,"fxshow");le.queue||(pt=d._queueHooks(ve,"fx"),pt.unqueued==null&&(pt.unqueued=0,ke=pt.empty.fire,pt.empty.fire=function(){pt.unqueued||ke()}),pt.unqueued++,Ke.always(function(){Ke.always(function(){pt.unqueued--,d.queue(ve,"fx").length||pt.empty.fire()})}));for(me in x)if(Ae=x[me],Ma.test(Ae)){if(delete x[me],tt=tt||Ae==="toggle",Ae===(Vt?"hide":"show"))if(Ae==="show"&&$t&&$t[me]!==void 0)Vt=!0;else continue;We[me]=$t&&$t[me]||d.style(ve,me)}if(we=!d.isEmptyObject(x),!(!we&&d.isEmptyObject(We))){J&&ve.nodeType===1&&(le.overflow=[Ot.overflow,Ot.overflowX,Ot.overflowY],Be=$t&&$t.display,Be==null&&(Be=et.get(ve,"display")),Le=d.css(ve,"display"),Le==="none"&&(Be?Le=Be:(nn([ve],!0),Be=ve.style.display||Be,Le=d.css(ve,"display"),nn([ve]))),(Le==="inline"||Le==="inline-block"&&Be!=null)&&d.css(ve,"float")==="none"&&(we||(Ke.done(function(){Ot.display=Be}),Be==null&&(Le=Ot.display,Be=Le==="none"?"":Le)),Ot.display="inline-block")),le.overflow&&(Ot.overflow="hidden",Ke.always(function(){Ot.overflow=le.overflow[0],Ot.overflowX=le.overflow[1],Ot.overflowY=le.overflow[2]})),we=!1;for(me in We)we||($t?"hidden"in $t&&(Vt=$t.hidden):$t=et.access(ve,"fxshow",{display:Be}),tt&&($t.hidden=!Vt),Vt&&nn([ve],!0),Ke.done(function(){Vt||nn([ve]),et.remove(ve,"fxshow");for(me in We)d.style(ve,me,We[me])})),we=ba(Vt?$t[me]:0,me,Ke),me in $t||($t[me]=we.start,Vt&&(we.end=we.start,we.start=0))}}function mn(ve,x){var le,me,Ae,tt,pt;for(le in ve)if(me=Me(le),Ae=x[me],tt=ve[le],Array.isArray(tt)&&(Ae=tt[1],tt=ve[le]=tt[0]),le!==me&&(ve[me]=tt,delete ve[le]),pt=d.cssHooks[me],pt&&"expand"in pt){tt=pt.expand(tt),delete ve[me];for(le in tt)le in ve||(ve[le]=tt[le],x[le]=Ae)}else x[me]=Ae}function It(ve,x,le){var me,Ae,tt=0,pt=It.prefilters.length,ke=d.Deferred().always(function(){delete we.elem}),we=function(){if(Ae)return!1;for(var Ke=xa||sa(),We=Math.max(0,Be.startTime+Be.duration-Ke),Ot=We/Be.duration||0,Vt=1-Ot,$t=0,Gt=Be.tweens.length;$t<Gt;$t++)Be.tweens[$t].run(Vt);return ke.notifyWith(ve,[Be,Vt,We]),Vt<1&&Gt?We:(Gt||ke.notifyWith(ve,[Be,1,0]),ke.resolveWith(ve,[Be]),!1)},Be=ke.promise({elem:ve,props:d.extend({},x),opts:d.extend(!0,{specialEasing:{},easing:d.easing._default},le),originalProperties:x,originalOptions:le,startTime:xa||sa(),duration:le.duration,tweens:[],createTween:function(Ke,We){var Ot=d.Tween(ve,Be.opts,Ke,We,Be.opts.specialEasing[Ke]||Be.opts.easing);return Be.tweens.push(Ot),Ot},stop:function(Ke){var We=0,Ot=Ke?Be.tweens.length:0;if(Ae)return this;for(Ae=!0;We<Ot;We++)Be.tweens[We].run(1);return Ke?(ke.notifyWith(ve,[Be,1,0]),ke.resolveWith(ve,[Be,Ke])):ke.rejectWith(ve,[Be,Ke]),this}}),Le=Be.props;for(mn(Le,Be.opts.specialEasing);tt<pt;tt++)if(me=It.prefilters[tt].call(Be,ve,Le,Be.opts),me)return k(me.stop)&&(d._queueHooks(Be.elem,Be.opts.queue).stop=me.stop.bind(me)),me;return d.map(Le,ba,Be),k(Be.opts.start)&&Be.opts.start.call(ve,Be),Be.progress(Be.opts.progress).done(Be.opts.done,Be.opts.complete).fail(Be.opts.fail).always(Be.opts.always),d.fx.timer(d.extend(we,{elem:ve,anim:Be,queue:Be.opts.queue})),Be}d.Animation=d.extend(It,{tweeners:{"*":[function(ve,x){var le=this.createTween(ve,x);return ht(le.elem,ve,st.exec(x),le),le}]},tweener:function(x,le){k(x)?(le=x,x=["*"]):x=x.match(X);for(var me,Ae=0,tt=x.length;Ae<tt;Ae++)me=x[Ae],It.tweeners[me]=It.tweeners[me]||[],It.tweeners[me].unshift(le)},prefilters:[ea],prefilter:function(x,le){le?It.prefilters.unshift(x):It.prefilters.push(x)}}),d.speed=function(ve,x,le){var me=ve&&typeof ve=="object"?d.extend({},ve):{complete:le||!le&&x||k(ve)&&ve,duration:ve,easing:le&&x||x&&!k(x)&&x};return d.fx.off?me.duration=0:typeof me.duration!="number"&&(me.duration in d.fx.speeds?me.duration=d.fx.speeds[me.duration]:me.duration=d.fx.speeds._default),(me.queue==null||me.queue===!0)&&(me.queue="fx"),me.old=me.complete,me.complete=function(){k(me.old)&&me.old.call(this),me.queue&&d.dequeue(this,me.queue)},me},d.fn.extend({fadeTo:function(x,le,me,Ae){return this.filter(Tt).css("opacity",0).show().end().animate({opacity:le},x,me,Ae)},animate:function(x,le,me,Ae){var tt=d.isEmptyObject(x),pt=d.speed(le,me,Ae),ke=function(){var Be=It(this,d.extend({},x),pt);(tt||et.get(this,"finish"))&&Be.stop(!0)};return ke.finish=ke,tt||pt.queue===!1?this.each(ke):this.queue(pt.queue,ke)},stop:function(x,le,me){var Ae=function(pt){var ke=pt.stop;delete pt.stop,ke(me)};return typeof x!="string"&&(me=le,le=x,x=void 0),le&&this.queue(x||"fx",[]),this.each(function(){var tt=!0,pt=x!=null&&x+"queueHooks",ke=d.timers,we=et.get(this);if(pt)we[pt]&&we[pt].stop&&Ae(we[pt]);else for(pt in we)we[pt]&&we[pt].stop&&_a.test(pt)&&Ae(we[pt]);for(pt=ke.length;pt--;)ke[pt].elem===this&&(x==null||ke[pt].queue===x)&&(ke[pt].anim.stop(me),tt=!1,ke.splice(pt,1));(tt||!me)&&d.dequeue(this,x)})},finish:function(x){return x!==!1&&(x=x||"fx"),this.each(function(){var le,me=et.get(this),Ae=me[x+"queue"],tt=me[x+"queueHooks"],pt=d.timers,ke=Ae?Ae.length:0;for(me.finish=!0,d.queue(this,x,[]),tt&&tt.stop&&tt.stop.call(this,!0),le=pt.length;le--;)pt[le].elem===this&&pt[le].queue===x&&(pt[le].anim.stop(!0),pt.splice(le,1));for(le=0;le<ke;le++)Ae[le]&&Ae[le].finish&&Ae[le].finish.call(this);delete me.finish})}}),d.each(["toggle","show","hide"],function(ve,x){var le=d.fn[x];d.fn[x]=function(me,Ae,tt){return me==null||typeof me=="boolean"?le.apply(this,arguments):this.animate(Ai(x,!0),me,Ae,tt)}}),d.each({slideDown:Ai("show"),slideUp:Ai("hide"),slideToggle:Ai("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(ve,x){d.fn[ve]=function(le,me,Ae){return this.animate(x,le,me,Ae)}}),d.timers=[],d.fx.tick=function(){var ve,x=0,le=d.timers;for(xa=Date.now();x<le.length;x++)ve=le[x],!ve()&&le[x]===ve&&le.splice(x--,1);le.length||d.fx.stop(),xa=void 0},d.fx.timer=function(ve){d.timers.push(ve),d.fx.start()},d.fx.interval=13,d.fx.start=function(){va||(va=!0,na())},d.fx.stop=function(){va=null},d.fx.speeds={slow:600,fast:200,_default:400},d.fn.delay=function(ve,x){return ve=d.fx&&d.fx.speeds[ve]||ve,x=x||"fx",this.queue(x,function(le,me){var Ae=r.setTimeout(le,ve);me.stop=function(){r.clearTimeout(Ae)}})},function(){var ve=I.createElement("input"),x=I.createElement("select"),le=x.appendChild(I.createElement("option"));ve.type="checkbox",S.checkOn=ve.value!=="",S.optSelected=le.selected,ve=I.createElement("input"),ve.value="t",ve.type="radio",S.radioValue=ve.value==="t"}();var Ue,Ze=d.expr.attrHandle;d.fn.extend({attr:function(x,le){return ie(this,d.attr,x,le,arguments.length>1)},removeAttr:function(x){return this.each(function(){d.removeAttr(this,x)})}}),d.extend({attr:function(x,le,me){var Ae,tt,pt=x.nodeType;if(!(pt===3||pt===8||pt===2)){if(typeof x.getAttribute=="undefined")return d.prop(x,le,me);if((pt!==1||!d.isXMLDoc(x))&&(tt=d.attrHooks[le.toLowerCase()]||(d.expr.match.bool.test(le)?Ue:void 0)),me!==void 0){if(me===null){d.removeAttr(x,le);return}return tt&&"set"in tt&&(Ae=tt.set(x,me,le))!==void 0?Ae:(x.setAttribute(le,me+""),me)}return tt&&"get"in tt&&(Ae=tt.get(x,le))!==null?Ae:(Ae=d.find.attr(x,le),Ae==null?void 0:Ae)}},attrHooks:{type:{set:function(x,le){if(!S.radioValue&&le==="radio"&&E(x,"input")){var me=x.value;return x.setAttribute("type",le),me&&(x.value=me),le}}}},removeAttr:function(x,le){var me,Ae=0,tt=le&&le.match(X);if(tt&&x.nodeType===1)for(;me=tt[Ae++];)x.removeAttribute(me)}}),Ue={set:function(x,le,me){return le===!1?d.removeAttr(x,me):x.setAttribute(me,me),me}},d.each(d.expr.match.bool.source.match(/\w+/g),function(ve,x){var le=Ze[x]||d.find.attr;Ze[x]=function(me,Ae,tt){var pt,ke,we=Ae.toLowerCase();return tt||(ke=Ze[we],Ze[we]=pt,pt=le(me,Ae,tt)!=null?we:null,Ze[we]=ke),pt}});var Pe=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;d.fn.extend({prop:function(x,le){return ie(this,d.prop,x,le,arguments.length>1)},removeProp:function(x){return this.each(function(){delete this[d.propFix[x]||x]})}}),d.extend({prop:function(x,le,me){var Ae,tt,pt=x.nodeType;if(!(pt===3||pt===8||pt===2))return(pt!==1||!d.isXMLDoc(x))&&(le=d.propFix[le]||le,tt=d.propHooks[le]),me!==void 0?tt&&"set"in tt&&(Ae=tt.set(x,me,le))!==void 0?Ae:x[le]=me:tt&&"get"in tt&&(Ae=tt.get(x,le))!==null?Ae:x[le]},propHooks:{tabIndex:{get:function(x){var le=d.find.attr(x,"tabindex");return le?parseInt(le,10):Pe.test(x.nodeName)||mt.test(x.nodeName)&&x.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(d.propHooks.selected={get:function(x){var le=x.parentNode;return le&&le.parentNode&&le.parentNode.selectedIndex,null},set:function(x){var le=x.parentNode;le&&(le.selectedIndex,le.parentNode&&le.parentNode.selectedIndex)}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){d.propFix[this.toLowerCase()]=this});function xt(ve){var x=ve.match(X)||[];return x.join(" ")}function cn(ve){return ve.getAttribute&&ve.getAttribute("class")||""}function Ut(ve){return Array.isArray(ve)?ve:typeof ve=="string"?ve.match(X)||[]:[]}d.fn.extend({addClass:function(x){var le,me,Ae,tt,pt,ke;return k(x)?this.each(function(we){d(this).addClass(x.call(this,we,cn(this)))}):(le=Ut(x),le.length?this.each(function(){if(Ae=cn(this),me=this.nodeType===1&&" "+xt(Ae)+" ",me){for(pt=0;pt<le.length;pt++)tt=le[pt],me.indexOf(" "+tt+" ")<0&&(me+=tt+" ");ke=xt(me),Ae!==ke&&this.setAttribute("class",ke)}}):this)},removeClass:function(x){var le,me,Ae,tt,pt,ke;return k(x)?this.each(function(we){d(this).removeClass(x.call(this,we,cn(this)))}):arguments.length?(le=Ut(x),le.length?this.each(function(){if(Ae=cn(this),me=this.nodeType===1&&" "+xt(Ae)+" ",me){for(pt=0;pt<le.length;pt++)for(tt=le[pt];me.indexOf(" "+tt+" ")>-1;)me=me.replace(" "+tt+" "," ");ke=xt(me),Ae!==ke&&this.setAttribute("class",ke)}}):this):this.attr("class","")},toggleClass:function(x,le){var me,Ae,tt,pt,ke=typeof x,we=ke==="string"||Array.isArray(x);return k(x)?this.each(function(Be){d(this).toggleClass(x.call(this,Be,cn(this),le),le)}):typeof le=="boolean"&&we?le?this.addClass(x):this.removeClass(x):(me=Ut(x),this.each(function(){if(we)for(pt=d(this),tt=0;tt<me.length;tt++)Ae=me[tt],pt.hasClass(Ae)?pt.removeClass(Ae):pt.addClass(Ae);else(x===void 0||ke==="boolean")&&(Ae=cn(this),Ae&&et.set(this,"__className__",Ae),this.setAttribute&&this.setAttribute("class",Ae||x===!1?"":et.get(this,"__className__")||""))}))},hasClass:function(x){var le,me,Ae=0;for(le=" "+x+" ";me=this[Ae++];)if(me.nodeType===1&&(" "+xt(cn(me))+" ").indexOf(le)>-1)return!0;return!1}});var wt=/\r/g;d.fn.extend({val:function(x){var le,me,Ae,tt=this[0];return arguments.length?(Ae=k(x),this.each(function(pt){var ke;this.nodeType===1&&(Ae?ke=x.call(this,pt,d(this).val()):ke=x,ke==null?ke="":typeof ke=="number"?ke+="":Array.isArray(ke)&&(ke=d.map(ke,function(we){return we==null?"":we+""})),le=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()],(!le||!("set"in le)||le.set(this,ke,"value")===void 0)&&(this.value=ke))})):tt?(le=d.valHooks[tt.type]||d.valHooks[tt.nodeName.toLowerCase()],le&&"get"in le&&(me=le.get(tt,"value"))!==void 0?me:(me=tt.value,typeof me=="string"?me.replace(wt,""):me==null?"":me)):void 0}}),d.extend({valHooks:{option:{get:function(x){var le=d.find.attr(x,"value");return le!=null?le:xt(d.text(x))}},select:{get:function(x){var le,me,Ae,tt=x.options,pt=x.selectedIndex,ke=x.type==="select-one",we=ke?null:[],Be=ke?pt+1:tt.length;for(pt<0?Ae=Be:Ae=ke?pt:0;Ae<Be;Ae++)if(me=tt[Ae],(me.selected||Ae===pt)&&!me.disabled&&(!me.parentNode.disabled||!E(me.parentNode,"optgroup"))){if(le=d(me).val(),ke)return le;we.push(le)}return we},set:function(x,le){for(var me,Ae,tt=x.options,pt=d.makeArray(le),ke=tt.length;ke--;)Ae=tt[ke],(Ae.selected=d.inArray(d.valHooks.option.get(Ae),pt)>-1)&&(me=!0);return me||(x.selectedIndex=-1),pt}}}}),d.each(["radio","checkbox"],function(){d.valHooks[this]={set:function(x,le){if(Array.isArray(le))return x.checked=d.inArray(d(x).val(),le)>-1}},S.checkOn||(d.valHooks[this].get=function(ve){return ve.getAttribute("value")===null?"on":ve.value})});var Pn=r.location,an={guid:Date.now()},Dn=/\?/;d.parseXML=function(ve){var x,le;if(!ve||typeof ve!="string")return null;try{x=new r.DOMParser().parseFromString(ve,"text/xml")}catch(me){}return le=x&&x.getElementsByTagName("parsererror")[0],(!x||le)&&d.error("Invalid XML: "+(le?d.map(le.childNodes,function(me){return me.textContent}).join(`
- `):ve)),x};var Tn=/^(?:focusinfocus|focusoutblur)$/,Zn=function(x){x.stopPropagation()};d.extend(d.event,{trigger:function(x,le,me,Ae){var tt,pt,ke,we,Be,Le,J,Ke,We=[me||I],Ot=l.call(x,"type")?x.type:x,Vt=l.call(x,"namespace")?x.namespace.split("."):[];if(pt=Ke=ke=me=me||I,!(me.nodeType===3||me.nodeType===8)&&!Tn.test(Ot+d.event.triggered)&&(Ot.indexOf(".")>-1&&(Vt=Ot.split("."),Ot=Vt.shift(),Vt.sort()),Be=Ot.indexOf(":")<0&&"on"+Ot,x=x[d.expando]?x:new d.Event(Ot,typeof x=="object"&&x),x.isTrigger=Ae?2:3,x.namespace=Vt.join("."),x.rnamespace=x.namespace?new RegExp("(^|\\.)"+Vt.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,x.result=void 0,x.target||(x.target=me),le=le==null?[x]:d.makeArray(le,[x]),J=d.event.special[Ot]||{},!(!Ae&&J.trigger&&J.trigger.apply(me,le)===!1))){if(!Ae&&!J.noBubble&&!T(me)){for(we=J.delegateType||Ot,Tn.test(we+Ot)||(pt=pt.parentNode);pt;pt=pt.parentNode)We.push(pt),ke=pt;ke===(me.ownerDocument||I)&&We.push(ke.defaultView||ke.parentWindow||r)}for(tt=0;(pt=We[tt++])&&!x.isPropagationStopped();)Ke=pt,x.type=tt>1?we:J.bindType||Ot,Le=(et.get(pt,"events")||Object.create(null))[x.type]&&et.get(pt,"handle"),Le&&Le.apply(pt,le),Le=Be&&pt[Be],Le&&Le.apply&&_e(pt)&&(x.result=Le.apply(pt,le),x.result===!1&&x.preventDefault());return x.type=Ot,!Ae&&!x.isDefaultPrevented()&&(!J._default||J._default.apply(We.pop(),le)===!1)&&_e(me)&&Be&&k(me[Ot])&&!T(me)&&(ke=me[Be],ke&&(me[Be]=null),d.event.triggered=Ot,x.isPropagationStopped()&&Ke.addEventListener(Ot,Zn),me[Ot](),x.isPropagationStopped()&&Ke.removeEventListener(Ot,Zn),d.event.triggered=void 0,ke&&(me[Be]=ke)),x.result}},simulate:function(x,le,me){var Ae=d.extend(new d.Event,me,{type:x,isSimulated:!0});d.event.trigger(Ae,null,le)}}),d.fn.extend({trigger:function(x,le){return this.each(function(){d.event.trigger(x,le,this)})},triggerHandler:function(x,le){var me=this[0];if(me)return d.event.trigger(x,le,me,!0)}});var Mr=/\[\]$/,xr=/\r?\n/g,Vr=/^(?:submit|button|image|reset|file)$/i,Dr=/^(?:input|select|textarea|keygen)/i;function dr(ve,x,le,me){var Ae;if(Array.isArray(x))d.each(x,function(tt,pt){le||Mr.test(ve)?me(ve,pt):dr(ve+"["+(typeof pt=="object"&&pt!=null?tt:"")+"]",pt,le,me)});else if(!le&&A(x)==="object")for(Ae in x)dr(ve+"["+Ae+"]",x[Ae],le,me);else me(ve,x)}d.param=function(ve,x){var le,me=[],Ae=function(pt,ke){var we=k(ke)?ke():ke;me[me.length]=encodeURIComponent(pt)+"="+encodeURIComponent(we==null?"":we)};if(ve==null)return"";if(Array.isArray(ve)||ve.jquery&&!d.isPlainObject(ve))d.each(ve,function(){Ae(this.name,this.value)});else for(le in ve)dr(le,ve[le],x,Ae);return me.join("&")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var x=d.prop(this,"elements");return x?d.makeArray(x):this}).filter(function(){var x=this.type;return this.name&&!d(this).is(":disabled")&&Dr.test(this.nodeName)&&!Vr.test(x)&&(this.checked||!bn.test(x))}).map(function(x,le){var me=d(this).val();return me==null?null:Array.isArray(me)?d.map(me,function(Ae){return{name:le.name,value:Ae.replace(xr,`\r
- `)}}):{name:le.name,value:me.replace(xr,`\r
- `)}}).get()}});var gt=/%20/g,Rr=/#.*$/,ci=/([?&])_=[^&]*/,ai=/^(.*?):[ \t]*([^\r\n]*)$/mg,bi=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,zr=/^(?:GET|HEAD)$/,Hi=/^\/\//,hi={},Ci={},Ii="*/".concat("*"),Mn=I.createElement("a");Mn.href=Pn.href;function nr(ve){return function(x,le){typeof x!="string"&&(le=x,x="*");var me,Ae=0,tt=x.toLowerCase().match(X)||[];if(k(le))for(;me=tt[Ae++];)me[0]==="+"?(me=me.slice(1)||"*",(ve[me]=ve[me]||[]).unshift(le)):(ve[me]=ve[me]||[]).push(le)}}function cr(ve,x,le,me){var Ae={},tt=ve===Ci;function pt(ke){var we;return Ae[ke]=!0,d.each(ve[ke]||[],function(Be,Le){var J=Le(x,le,me);if(typeof J=="string"&&!tt&&!Ae[J])return x.dataTypes.unshift(J),pt(J),!1;if(tt)return!(we=J)}),we}return pt(x.dataTypes[0])||!Ae["*"]&&pt("*")}function Lr(ve,x){var le,me,Ae=d.ajaxSettings.flatOptions||{};for(le in x)x[le]!==void 0&&((Ae[le]?ve:me||(me={}))[le]=x[le]);return me&&d.extend(!0,ve,me),ve}function ei(ve,x,le){for(var me,Ae,tt,pt,ke=ve.contents,we=ve.dataTypes;we[0]==="*";)we.shift(),me===void 0&&(me=ve.mimeType||x.getResponseHeader("Content-Type"));if(me){for(Ae in ke)if(ke[Ae]&&ke[Ae].test(me)){we.unshift(Ae);break}}if(we[0]in le)tt=we[0];else{for(Ae in le){if(!we[0]||ve.converters[Ae+" "+we[0]]){tt=Ae;break}pt||(pt=Ae)}tt=tt||pt}if(tt)return tt!==we[0]&&we.unshift(tt),le[tt]}function ki(ve,x,le,me){var Ae,tt,pt,ke,we,Be={},Le=ve.dataTypes.slice();if(Le[1])for(pt in ve.converters)Be[pt.toLowerCase()]=ve.converters[pt];for(tt=Le.shift();tt;)if(ve.responseFields[tt]&&(le[ve.responseFields[tt]]=x),!we&&me&&ve.dataFilter&&(x=ve.dataFilter(x,ve.dataType)),we=tt,tt=Le.shift(),tt){if(tt==="*")tt=we;else if(we!=="*"&&we!==tt){if(pt=Be[we+" "+tt]||Be["* "+tt],!pt){for(Ae in Be)if(ke=Ae.split(" "),ke[1]===tt&&(pt=Be[we+" "+ke[0]]||Be["* "+ke[0]],pt)){pt===!0?pt=Be[Ae]:Be[Ae]!==!0&&(tt=ke[0],Le.unshift(ke[1]));break}}if(pt!==!0)if(pt&&ve.throws)x=pt(x);else try{x=pt(x)}catch(J){return{state:"parsererror",error:pt?J:"No conversion from "+we+" to "+tt}}}}return{state:"success",data:x}}d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pn.href,type:"GET",isLocal:bi.test(Pn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ii,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":d.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(x,le){return le?Lr(Lr(x,d.ajaxSettings),le):Lr(d.ajaxSettings,x)},ajaxPrefilter:nr(hi),ajaxTransport:nr(Ci),ajax:function(x,le){typeof x=="object"&&(le=x,x=void 0),le=le||{};var me,Ae,tt,pt,ke,we,Be,Le,J,Ke,We=d.ajaxSetup({},le),Ot=We.context||We,Vt=We.context&&(Ot.nodeType||Ot.jquery)?d(Ot):d.event,$t=d.Deferred(),Gt=d.Callbacks("once memory"),hn=We.statusCode||{},$n={},Sr={},vr="canceled",zn={readyState:0,getResponseHeader:function(Qe){var Jt;if(Be){if(!pt)for(pt={};Jt=ai.exec(tt);)pt[Jt[1].toLowerCase()+" "]=(pt[Jt[1].toLowerCase()+" "]||[]).concat(Jt[2]);Jt=pt[Qe.toLowerCase()+" "]}return Jt==null?null:Jt.join(", ")},getAllResponseHeaders:function(){return Be?tt:null},setRequestHeader:function(Qe,Jt){return Be==null&&(Qe=Sr[Qe.toLowerCase()]=Sr[Qe.toLowerCase()]||Qe,$n[Qe]=Jt),this},overrideMimeType:function(Qe){return Be==null&&(We.mimeType=Qe),this},statusCode:function(Qe){var Jt;if(Qe)if(Be)zn.always(Qe[zn.status]);else for(Jt in Qe)hn[Jt]=[hn[Jt],Qe[Jt]];return this},abort:function(Qe){var Jt=Qe||vr;return me&&me.abort(Jt),Tr(0,Jt),this}};if($t.promise(zn),We.url=((x||We.url||Pn.href)+"").replace(Hi,Pn.protocol+"//"),We.type=le.method||le.type||We.method||We.type,We.dataTypes=(We.dataType||"*").toLowerCase().match(X)||[""],We.crossDomain==null){we=I.createElement("a");try{we.href=We.url,we.href=we.href,We.crossDomain=Mn.protocol+"//"+Mn.host!=we.protocol+"//"+we.host}catch(Qr){We.crossDomain=!0}}if(We.data&&We.processData&&typeof We.data!="string"&&(We.data=d.param(We.data,We.traditional)),cr(hi,We,le,zn),Be)return zn;Le=d.event&&We.global,Le&&d.active++==0&&d.event.trigger("ajaxStart"),We.type=We.type.toUpperCase(),We.hasContent=!zr.test(We.type),Ae=We.url.replace(Rr,""),We.hasContent?We.data&&We.processData&&(We.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(We.data=We.data.replace(gt,"+")):(Ke=We.url.slice(Ae.length),We.data&&(We.processData||typeof We.data=="string")&&(Ae+=(Dn.test(Ae)?"&":"?")+We.data,delete We.data),We.cache===!1&&(Ae=Ae.replace(ci,"$1"),Ke=(Dn.test(Ae)?"&":"?")+"_="+an.guid+++Ke),We.url=Ae+Ke),We.ifModified&&(d.lastModified[Ae]&&zn.setRequestHeader("If-Modified-Since",d.lastModified[Ae]),d.etag[Ae]&&zn.setRequestHeader("If-None-Match",d.etag[Ae])),(We.data&&We.hasContent&&We.contentType!==!1||le.contentType)&&zn.setRequestHeader("Content-Type",We.contentType),zn.setRequestHeader("Accept",We.dataTypes[0]&&We.accepts[We.dataTypes[0]]?We.accepts[We.dataTypes[0]]+(We.dataTypes[0]!=="*"?", "+Ii+"; q=0.01":""):We.accepts["*"]);for(J in We.headers)zn.setRequestHeader(J,We.headers[J]);if(We.beforeSend&&(We.beforeSend.call(Ot,zn,We)===!1||Be))return zn.abort();if(vr="abort",Gt.add(We.complete),zn.done(We.success),zn.fail(We.error),me=cr(Ci,We,le,zn),!me)Tr(-1,"No Transport");else{if(zn.readyState=1,Le&&Vt.trigger("ajaxSend",[zn,We]),Be)return zn;We.async&&We.timeout>0&&(ke=r.setTimeout(function(){zn.abort("timeout")},We.timeout));try{Be=!1,me.send($n,Tr)}catch(Qr){if(Be)throw Qr;Tr(-1,Qr)}}function Tr(Qr,Qe,Jt,ln){var rn,An,fr,Pr,kr,Ar=Qe;Be||(Be=!0,ke&&r.clearTimeout(ke),me=void 0,tt=ln||"",zn.readyState=Qr>0?4:0,rn=Qr>=200&&Qr<300||Qr===304,Jt&&(Pr=ei(We,zn,Jt)),!rn&&d.inArray("script",We.dataTypes)>-1&&d.inArray("json",We.dataTypes)<0&&(We.converters["text script"]=function(){}),Pr=ki(We,Pr,zn,rn),rn?(We.ifModified&&(kr=zn.getResponseHeader("Last-Modified"),kr&&(d.lastModified[Ae]=kr),kr=zn.getResponseHeader("etag"),kr&&(d.etag[Ae]=kr)),Qr===204||We.type==="HEAD"?Ar="nocontent":Qr===304?Ar="notmodified":(Ar=Pr.state,An=Pr.data,fr=Pr.error,rn=!fr)):(fr=Ar,(Qr||!Ar)&&(Ar="error",Qr<0&&(Qr=0))),zn.status=Qr,zn.statusText=(Qe||Ar)+"",rn?$t.resolveWith(Ot,[An,Ar,zn]):$t.rejectWith(Ot,[zn,Ar,fr]),zn.statusCode(hn),hn=void 0,Le&&Vt.trigger(rn?"ajaxSuccess":"ajaxError",[zn,We,rn?An:fr]),Gt.fireWith(Ot,[zn,Ar]),Le&&(Vt.trigger("ajaxComplete",[zn,We]),--d.active||d.event.trigger("ajaxStop")))}return zn},getJSON:function(x,le,me){return d.get(x,le,me,"json")},getScript:function(x,le){return d.get(x,void 0,le,"script")}}),d.each(["get","post"],function(ve,x){d[x]=function(le,me,Ae,tt){return k(me)&&(tt=tt||Ae,Ae=me,me=void 0),d.ajax(d.extend({url:le,type:x,dataType:tt,data:me,success:Ae},d.isPlainObject(le)&&le))}}),d.ajaxPrefilter(function(ve){var x;for(x in ve.headers)x.toLowerCase()==="content-type"&&(ve.contentType=ve.headers[x]||"")}),d._evalUrl=function(ve,x,le){return d.ajax({url:ve,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(Ae){d.globalEval(Ae,x,le)}})},d.fn.extend({wrapAll:function(x){var le;return this[0]&&(k(x)&&(x=x.call(this[0])),le=d(x,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&le.insertBefore(this[0]),le.map(function(){for(var me=this;me.firstElementChild;)me=me.firstElementChild;return me}).append(this)),this},wrapInner:function(x){return k(x)?this.each(function(le){d(this).wrapInner(x.call(this,le))}):this.each(function(){var le=d(this),me=le.contents();me.length?me.wrapAll(x):le.append(x)})},wrap:function(x){var le=k(x);return this.each(function(me){d(this).wrapAll(le?x.call(this,me):x)})},unwrap:function(x){return this.parent(x).not("body").each(function(){d(this).replaceWith(this.childNodes)}),this}}),d.expr.pseudos.hidden=function(ve){return!d.expr.pseudos.visible(ve)},d.expr.pseudos.visible=function(ve){return!!(ve.offsetWidth||ve.offsetHeight||ve.getClientRects().length)},d.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(ve){}};var ua={0:200,1223:204},Qi=d.ajaxSettings.xhr();S.cors=!!Qi&&"withCredentials"in Qi,S.ajax=Qi=!!Qi,d.ajaxTransport(function(ve){var x,le;if(S.cors||Qi&&!ve.crossDomain)return{send:function(Ae,tt){var pt,ke=ve.xhr();if(ke.open(ve.type,ve.url,ve.async,ve.username,ve.password),ve.xhrFields)for(pt in ve.xhrFields)ke[pt]=ve.xhrFields[pt];ve.mimeType&&ke.overrideMimeType&&ke.overrideMimeType(ve.mimeType),!ve.crossDomain&&!Ae["X-Requested-With"]&&(Ae["X-Requested-With"]="XMLHttpRequest");for(pt in Ae)ke.setRequestHeader(pt,Ae[pt]);x=function(Be){return function(){x&&(x=le=ke.onload=ke.onerror=ke.onabort=ke.ontimeout=ke.onreadystatechange=null,Be==="abort"?ke.abort():Be==="error"?typeof ke.status!="number"?tt(0,"error"):tt(ke.status,ke.statusText):tt(ua[ke.status]||ke.status,ke.statusText,(ke.responseType||"text")!=="text"||typeof ke.responseText!="string"?{binary:ke.response}:{text:ke.responseText},ke.getAllResponseHeaders()))}},ke.onload=x(),le=ke.onerror=ke.ontimeout=x("error"),ke.onabort!==void 0?ke.onabort=le:ke.onreadystatechange=function(){ke.readyState===4&&r.setTimeout(function(){x&&le()})},x=x("abort");try{ke.send(ve.hasContent&&ve.data||null)}catch(we){if(x)throw we}},abort:function(){x&&x()}}}),d.ajaxPrefilter(function(ve){ve.crossDomain&&(ve.contents.script=!1)}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(x){return d.globalEval(x),x}}}),d.ajaxPrefilter("script",function(ve){ve.cache===void 0&&(ve.cache=!1),ve.crossDomain&&(ve.type="GET")}),d.ajaxTransport("script",function(ve){if(ve.crossDomain||ve.scriptAttrs){var x,le;return{send:function(Ae,tt){x=d("<script>").attr(ve.scriptAttrs||{}).prop({charset:ve.scriptCharset,src:ve.url}).on("load error",le=function(ke){x.remove(),le=null,ke&&tt(ke.type==="error"?404:200,ke.type)}),I.head.appendChild(x[0])},abort:function(){le&&le()}}}});var Br=[],ga=/(=)\?(?=&|$)|\?\?/;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var x=Br.pop()||d.expando+"_"+an.guid++;return this[x]=!0,x}}),d.ajaxPrefilter("json jsonp",function(ve,x,le){var me,Ae,tt,pt=ve.jsonp!==!1&&(ga.test(ve.url)?"url":typeof ve.data=="string"&&(ve.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ga.test(ve.data)&&"data");if(pt||ve.dataTypes[0]==="jsonp")return me=ve.jsonpCallback=k(ve.jsonpCallback)?ve.jsonpCallback():ve.jsonpCallback,pt?ve[pt]=ve[pt].replace(ga,"$1"+me):ve.jsonp!==!1&&(ve.url+=(Dn.test(ve.url)?"&":"?")+ve.jsonp+"="+me),ve.converters["script json"]=function(){return tt||d.error(me+" was not called"),tt[0]},ve.dataTypes[0]="json",Ae=r[me],r[me]=function(){tt=arguments},le.always(function(){Ae===void 0?d(r).removeProp(me):r[me]=Ae,ve[me]&&(ve.jsonpCallback=x.jsonpCallback,Br.push(me)),tt&&k(Ae)&&Ae(tt[0]),tt=Ae=void 0}),"script"}),S.createHTMLDocument=function(){var ve=I.implementation.createHTMLDocument("").body;return ve.innerHTML="<form></form><form></form>",ve.childNodes.length===2}(),d.parseHTML=function(ve,x,le){if(typeof ve!="string")return[];typeof x=="boolean"&&(le=x,x=!1);var me,Ae,tt;return x||(S.createHTMLDocument?(x=I.implementation.createHTMLDocument(""),me=x.createElement("base"),me.href=I.location.href,x.head.appendChild(me)):x=I),Ae=Z.exec(ve),tt=!le&&[],Ae?[x.createElement(Ae[1])]:(Ae=lt([ve],x,tt),tt&&tt.length&&d(tt).remove(),d.merge([],Ae.childNodes))},d.fn.load=function(ve,x,le){var me,Ae,tt,pt=this,ke=ve.indexOf(" ");return ke>-1&&(me=xt(ve.slice(ke)),ve=ve.slice(0,ke)),k(x)?(le=x,x=void 0):x&&typeof x=="object"&&(Ae="POST"),pt.length>0&&d.ajax({url:ve,type:Ae||"GET",dataType:"html",data:x}).done(function(we){tt=arguments,pt.html(me?d("<div>").append(d.parseHTML(we)).find(me):we)}).always(le&&function(we,Be){pt.each(function(){le.apply(this,tt||[we.responseText,Be,we])})}),this},d.expr.pseudos.animated=function(ve){return d.grep(d.timers,function(x){return ve===x.elem}).length},d.offset={setOffset:function(x,le,me){var Ae,tt,pt,ke,we,Be,Le,J=d.css(x,"position"),Ke=d(x),We={};J==="static"&&(x.style.position="relative"),we=Ke.offset(),pt=d.css(x,"top"),Be=d.css(x,"left"),Le=(J==="absolute"||J==="fixed")&&(pt+Be).indexOf("auto")>-1,Le?(Ae=Ke.position(),ke=Ae.top,tt=Ae.left):(ke=parseFloat(pt)||0,tt=parseFloat(Be)||0),k(le)&&(le=le.call(x,me,d.extend({},we))),le.top!=null&&(We.top=le.top-we.top+ke),le.left!=null&&(We.left=le.left-we.left+tt),"using"in le?le.using.call(x,We):Ke.css(We)}},d.fn.extend({offset:function(x){if(arguments.length)return x===void 0?this:this.each(function(tt){d.offset.setOffset(this,x,tt)});var le,me,Ae=this[0];if(!!Ae)return Ae.getClientRects().length?(le=Ae.getBoundingClientRect(),me=Ae.ownerDocument.defaultView,{top:le.top+me.pageYOffset,left:le.left+me.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var x,le,me,Ae=this[0],tt={top:0,left:0};if(d.css(Ae,"position")==="fixed")le=Ae.getBoundingClientRect();else{for(le=this.offset(),me=Ae.ownerDocument,x=Ae.offsetParent||me.documentElement;x&&(x===me.body||x===me.documentElement)&&d.css(x,"position")==="static";)x=x.parentNode;x&&x!==Ae&&x.nodeType===1&&(tt=d(x).offset(),tt.top+=d.css(x,"borderTopWidth",!0),tt.left+=d.css(x,"borderLeftWidth",!0))}return{top:le.top-tt.top-d.css(Ae,"marginTop",!0),left:le.left-tt.left-d.css(Ae,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var x=this.offsetParent;x&&d.css(x,"position")==="static";)x=x.offsetParent;return x||nt})}}),d.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(ve,x){var le=x==="pageYOffset";d.fn[ve]=function(me){return ie(this,function(Ae,tt,pt){var ke;if(T(Ae)?ke=Ae:Ae.nodeType===9&&(ke=Ae.defaultView),pt===void 0)return ke?ke[x]:Ae[tt];ke?ke.scrollTo(le?ke.pageXOffset:pt,le?pt:ke.pageYOffset):Ae[tt]=pt},ve,me,arguments.length)}}),d.each(["top","left"],function(ve,x){d.cssHooks[x]=sr(S.pixelPosition,function(le,me){if(me)return me=ar(le,x),Kn.test(me)?d(le).position()[x]+"px":me})}),d.each({Height:"height",Width:"width"},function(ve,x){d.each({padding:"inner"+ve,content:x,"":"outer"+ve},function(le,me){d.fn[me]=function(Ae,tt){var pt=arguments.length&&(le||typeof Ae!="boolean"),ke=le||(Ae===!0||tt===!0?"margin":"border");return ie(this,function(we,Be,Le){var J;return T(we)?me.indexOf("outer")===0?we["inner"+ve]:we.document.documentElement["client"+ve]:we.nodeType===9?(J=we.documentElement,Math.max(we.body["scroll"+ve],J["scroll"+ve],we.body["offset"+ve],J["offset"+ve],J["client"+ve])):Le===void 0?d.css(we,Be,ke):d.style(we,Be,Le,ke)},x,pt?Ae:void 0,pt)}})}),d.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(ve,x){d.fn[x]=function(le){return this.on(x,le)}}),d.fn.extend({bind:function(x,le,me){return this.on(x,null,le,me)},unbind:function(x,le){return this.off(x,null,le)},delegate:function(x,le,me,Ae){return this.on(le,x,me,Ae)},undelegate:function(x,le,me){return arguments.length===1?this.off(x,"**"):this.off(le,x||"**",me)},hover:function(x,le){return this.mouseenter(x).mouseleave(le||x)}}),d.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(ve,x){d.fn[x]=function(le,me){return arguments.length>0?this.on(x,null,le,me):this.trigger(x)}});var fa=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;d.proxy=function(ve,x){var le,me,Ae;if(typeof x=="string"&&(le=ve[x],x=ve,ve=le),!!k(ve))return me=a.call(arguments,2),Ae=function(){return ve.apply(x||this,me.concat(a.call(arguments)))},Ae.guid=ve.guid=ve.guid||d.guid++,Ae},d.holdReady=function(ve){ve?d.readyWait++:d.ready(!0)},d.isArray=Array.isArray,d.parseJSON=JSON.parse,d.nodeName=E,d.isFunction=k,d.isWindow=T,d.camelCase=Me,d.type=A,d.now=Date.now,d.isNumeric=function(ve){var x=d.type(ve);return(x==="number"||x==="string")&&!isNaN(ve-parseFloat(ve))},d.trim=function(ve){return ve==null?"":(ve+"").replace(fa,"$1")},u=[],c=function(){return d}.apply(M,u),c!==void 0&&(Ie.exports=c);var Ja=r.jQuery,In=r.$;return d.noConflict=function(ve){return r.$===d&&(r.$=In),ve&&r.jQuery===d&&(r.jQuery=Ja),d},typeof f=="undefined"&&(r.jQuery=r.$=d),d})},EWX2:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i}),e.d(M,"b",function(){return n});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("Cg/j"),o=e("QDVR"),i=Object(f.c)("contextService"),a=function(){function v(m,h,t,l){Object(c.a)(this,v),this._id=m,this._configuration=t,this._ignorePathCasing=l,this._foldersMap=o.c.forUris(this._ignorePathCasing),this.folders=h}return Object(r.a)(v,[{key:"folders",get:function(){return this._folders},set:function(h){this._folders=h,this.updateFoldersMap()}},{key:"id",get:function(){return this._id}},{key:"configuration",get:function(){return this._configuration},set:function(h){this._configuration=h}},{key:"getFolder",value:function(h){return h&&this._foldersMap.findSubstr(h.with({scheme:h.scheme,authority:h.authority,path:h.path}))||null}},{key:"updateFoldersMap",value:function(){this._foldersMap=o.c.forUris(this._ignorePathCasing);var h=Object(u.a)(this.folders),t;try{for(h.s();!(t=h.n()).done;){var l=t.value;this._foldersMap.set(l.uri,l)}}catch(p){h.e(p)}finally{h.f()}}},{key:"toJSON",value:function(){return{id:this.id,folders:this.folders,configuration:this.configuration}}}]),v}(),n=function(){function v(m,h){Object(c.a)(this,v),this.raw=h,this.uri=m.uri,this.index=m.index,this.name=m.name}return Object(r.a)(v,[{key:"toJSON",value:function(){return{uri:this.uri,name:this.name,index:this.index}}}]),v}()},EffR:function(Ie,M,e){"use strict";e.r(M),e.d(M,"clearNode",function(){return T}),e.d(M,"isInDOM",function(){return I}),e.d(M,"addDisposableListener",function(){return $}),e.d(M,"addStandardDisposableListener",function(){return b}),e.d(M,"addStandardDisposableGenericMouseDownListner",function(){return d}),e.d(M,"addDisposableGenericMouseDownListner",function(){return O}),e.d(M,"addDisposableGenericMouseUpListner",function(){return E}),e.d(M,"addDisposableNonBubblingMouseOutListener",function(){return D}),e.d(M,"addDisposableNonBubblingPointerOutListener",function(){return W}),e.d(M,"runAtThisOrScheduleAtNextAnimationFrame",function(){return ye}),e.d(M,"scheduleAtNextAnimationFrame",function(){return q}),e.d(M,"addDisposableThrottledListener",function(){return se}),e.d(M,"getComputedStyle",function(){return be}),e.d(M,"getClientArea",function(){return Z}),e.d(M,"Dimension",function(){return ce}),e.d(M,"getTopLeftOffset",function(){return R}),e.d(M,"size",function(){return y}),e.d(M,"getDomNodePagePosition",function(){return C}),e.d(M,"StandardWindow",function(){return z}),e.d(M,"getTotalWidth",function(){return G}),e.d(M,"getContentWidth",function(){return X}),e.d(M,"getContentHeight",function(){return pe}),e.d(M,"getTotalHeight",function(){return ae}),e.d(M,"isAncestor",function(){return Se}),e.d(M,"findParentWithClass",function(){return Te}),e.d(M,"hasParentWithClass",function(){return je}),e.d(M,"isShadowRoot",function(){return ft}),e.d(M,"isInShadowDOM",function(){return fe}),e.d(M,"getShadowRoot",function(){return ie}),e.d(M,"getActiveElement",function(){return ge}),e.d(M,"createStyleSheet",function(){return Ve}),e.d(M,"createCSSRule",function(){return Re}),e.d(M,"removeCSSRulesContainingSelector",function(){return et}),e.d(M,"isHTMLElement",function(){return Xe}),e.d(M,"EventType",function(){return it}),e.d(M,"EventHelper",function(){return bt}),e.d(M,"saveParentsScrollTop",function(){return Ct}),e.d(M,"restoreParentsScrollTop",function(){return Bt}),e.d(M,"trackFocus",function(){return st}),e.d(M,"append",function(){return ut}),e.d(M,"reset",function(){return nt}),e.d(M,"Namespace",function(){return Sn}),e.d(M,"$",function(){return ht}),e.d(M,"show",function(){return Rt}),e.d(M,"hide",function(){return Ft}),e.d(M,"getElementsByTagName",function(){return nn}),e.d(M,"computeScreenAwareSize",function(){return bn}),e.d(M,"windowOpenNoOpener",function(){return sn}),e.d(M,"animate",function(){return un}),e.d(M,"asCSSUrl",function(){return Ht}),e.d(M,"asCSSPropertyValue",function(){return jn}),e.d(M,"ModifierKeyEmitter",function(){return Ln}),e.d(M,"addMatchMediaChangeListener",function(){return Un});var u=e("w4Tj"),c=e("oZsa"),r=e("yKVA"),f=e("879j"),o=e("fWQN"),i=e("mtLc"),a=e("D3Dy"),n=e("4y0V"),v=e("uDWl"),m=e("XSiN"),h=e("X+cX"),t=e("/cxE"),l=e("MI8n"),p=e("pmY6"),w=e("MNsG"),S=e("tYmi"),k=e("CjF5");function T(lt){for(;lt.firstChild;)lt.firstChild.remove()}function I(lt){var Nt;return(Nt=lt==null?void 0:lt.isConnected)!==null&&Nt!==void 0?Nt:!1}var Y=function(){function lt(Nt,zt,en,tn){Object(o.a)(this,lt),this._node=Nt,this._type=zt,this._handler=en,this._options=tn||!1,this._node.addEventListener(this._type,this._handler,this._options)}return Object(i.a)(lt,[{key:"dispose",value:function(){!this._handler||(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}]),lt}();function $(lt,Nt,zt,en){return new Y(lt,Nt,zt,en)}function A(lt){return function(Nt){return lt(new m.a(Nt))}}function g(lt){return function(Nt){return lt(new v.a(Nt))}}var b=function(Nt,zt,en,tn){var wn=en;return zt==="click"||zt==="mousedown"?wn=A(en):(zt==="keydown"||zt==="keypress"||zt==="keyup")&&(wn=g(en)),$(Nt,zt,wn,tn)},d=function(Nt,zt,en){var tn=A(zt);return O(Nt,tn,en)};function O(lt,Nt,zt){return $(lt,w.c&&k.a.pointerEvents?it.POINTER_DOWN:it.MOUSE_DOWN,Nt,zt)}function E(lt,Nt,zt){return $(lt,w.c&&k.a.pointerEvents?it.POINTER_UP:it.MOUSE_UP,Nt,zt)}function D(lt,Nt){return $(lt,"mouseout",function(zt){for(var en=zt.relatedTarget;en&&en!==lt;)en=en.parentNode;en!==lt&&Nt(zt)})}function W(lt,Nt){return $(lt,"pointerout",function(zt){for(var en=zt.relatedTarget;en&&en!==lt;)en=en.parentNode;en!==lt&&Nt(zt)})}var te=null;function re(lt){if(!te){var Nt=function(en){return setTimeout(function(){return en(new Date().getTime())},0)};te=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||Nt}return te.call(self,lt)}var ye,q,oe=function(){function lt(Nt){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Object(o.a)(this,lt),this._runner=Nt,this.priority=zt,this._canceled=!1}return Object(i.a)(lt,[{key:"dispose",value:function(){this._canceled=!0}},{key:"execute",value:function(){if(!this._canceled)try{this._runner()}catch(zt){Object(t.e)(zt)}}}],[{key:"sort",value:function(zt,en){return en.priority-zt.priority}}]),lt}();(function(){var lt=[],Nt=null,zt=!1,en=!1,tn=function(){for(zt=!1,Nt=lt,lt=[],en=!0;Nt.length>0;){Nt.sort(oe.sort);var on=Nt.shift();on.execute()}en=!1};q=function(on){var vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,dt=new oe(on,vn);return lt.push(dt),zt||(zt=!0,re(tn)),dt},ye=function(on,vn){if(en){var dt=new oe(on,vn);return Nt.push(dt),dt}else return q(on,vn)}})();var he=8,ue=function(Nt,zt){return zt},ne=function(lt){Object(r.a)(zt,lt);var Nt=Object(f.a)(zt);function zt(en,tn,wn){var on,vn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ue,dt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:he;Object(o.a)(this,zt),on=Nt.call(this);var ct=null,Kt=0,pn=on._register(new h.g),kn=function(){Kt=new Date().getTime(),wn(ct),ct=null};return on._register($(en,tn,function(Pt){ct=vn(ct,Pt);var gn=new Date().getTime()-Kt;gn>=dt?(pn.cancel(),kn()):pn.setIfNotSet(kn,dt-gn)})),on}return Object(i.a)(zt)}(p.a);function se(lt,Nt,zt,en,tn){return new ne(lt,Nt,zt,en,tn)}function be(lt){return document.defaultView.getComputedStyle(lt,null)}function Z(lt){if(lt!==document.body)return new ce(lt.clientWidth,lt.clientHeight);if(w.c&&window.visualViewport){var Nt=window.visualViewport.width,zt=window.visualViewport.height-(a.j?20+4:0);return new ce(Nt,zt)}if(window.innerWidth&&window.innerHeight)return new ce(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new ce(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new ce(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}var ee=function(){function lt(){Object(o.a)(this,lt)}return Object(i.a)(lt,null,[{key:"convertToPixels",value:function(zt,en){return parseFloat(en)||0}},{key:"getDimension",value:function(zt,en,tn){var wn=be(zt),on="0";return wn&&(wn.getPropertyValue?on=wn.getPropertyValue(en):on=wn.getAttribute(tn)),lt.convertToPixels(zt,on)}},{key:"getBorderLeftWidth",value:function(zt){return lt.getDimension(zt,"border-left-width","borderLeftWidth")}},{key:"getBorderRightWidth",value:function(zt){return lt.getDimension(zt,"border-right-width","borderRightWidth")}},{key:"getBorderTopWidth",value:function(zt){return lt.getDimension(zt,"border-top-width","borderTopWidth")}},{key:"getBorderBottomWidth",value:function(zt){return lt.getDimension(zt,"border-bottom-width","borderBottomWidth")}},{key:"getPaddingLeft",value:function(zt){return lt.getDimension(zt,"padding-left","paddingLeft")}},{key:"getPaddingRight",value:function(zt){return lt.getDimension(zt,"padding-right","paddingRight")}},{key:"getPaddingTop",value:function(zt){return lt.getDimension(zt,"padding-top","paddingTop")}},{key:"getPaddingBottom",value:function(zt){return lt.getDimension(zt,"padding-bottom","paddingBottom")}},{key:"getMarginLeft",value:function(zt){return lt.getDimension(zt,"margin-left","marginLeft")}},{key:"getMarginTop",value:function(zt){return lt.getDimension(zt,"margin-top","marginTop")}},{key:"getMarginRight",value:function(zt){return lt.getDimension(zt,"margin-right","marginRight")}},{key:"getMarginBottom",value:function(zt){return lt.getDimension(zt,"margin-bottom","marginBottom")}}]),lt}(),ce=function(){function lt(Nt,zt){Object(o.a)(this,lt),this.width=Nt,this.height=zt}return Object(i.a)(lt,[{key:"with",value:function(){var zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.width,en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.height;return zt!==this.width||en!==this.height?new lt(zt,en):this}}],[{key:"is",value:function(zt){return typeof zt=="object"&&typeof zt.height=="number"&&typeof zt.width=="number"}},{key:"lift",value:function(zt){return zt instanceof lt?zt:new lt(zt.width,zt.height)}},{key:"equals",value:function(zt,en){return zt===en?!0:!zt||!en?!1:zt.width===en.width&&zt.height===en.height}}]),lt}();function R(lt){for(var Nt=lt.offsetParent,zt=lt.offsetTop,en=lt.offsetLeft;(lt=lt.parentNode)!==null&<!==document.body&<!==document.documentElement;){zt-=lt.scrollTop;var tn=ft(lt)?null:be(lt);tn&&(en-=tn.direction!=="rtl"?lt.scrollLeft:-lt.scrollLeft),lt===Nt&&(en+=ee.getBorderLeftWidth(lt),zt+=ee.getBorderTopWidth(lt),zt+=lt.offsetTop,en+=lt.offsetLeft,Nt=lt.offsetParent)}return{left:en,top:zt}}function y(lt,Nt,zt){typeof Nt=="number"&&(lt.style.width="".concat(Nt,"px")),typeof zt=="number"&&(lt.style.height="".concat(zt,"px"))}function C(lt){var Nt=lt.getBoundingClientRect();return{left:Nt.left+z.scrollX,top:Nt.top+z.scrollY,width:Nt.width,height:Nt.height}}var z=new(function(){function lt(){Object(o.a)(this,lt)}return Object(i.a)(lt,[{key:"scrollX",get:function(){return typeof window.scrollX=="number"?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}},{key:"scrollY",get:function(){return typeof window.scrollY=="number"?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}}]),lt}());function G(lt){var Nt=ee.getMarginLeft(lt)+ee.getMarginRight(lt);return lt.offsetWidth+Nt}function X(lt){var Nt=ee.getBorderLeftWidth(lt)+ee.getBorderRightWidth(lt),zt=ee.getPaddingLeft(lt)+ee.getPaddingRight(lt);return lt.offsetWidth-Nt-zt}function pe(lt){var Nt=ee.getBorderTopWidth(lt)+ee.getBorderBottomWidth(lt),zt=ee.getPaddingTop(lt)+ee.getPaddingBottom(lt);return lt.offsetHeight-Nt-zt}function ae(lt){var Nt=ee.getMarginTop(lt)+ee.getMarginBottom(lt);return lt.offsetHeight+Nt}function Se(lt,Nt){for(;lt;){if(lt===Nt)return!0;lt=lt.parentNode}return!1}function Te(lt,Nt,zt){for(;lt&<.nodeType===lt.ELEMENT_NODE;){if(lt.classList.contains(Nt))return lt;if(zt){if(typeof zt=="string"){if(lt.classList.contains(zt))return null}else if(lt===zt)return null}lt=lt.parentNode}return null}function je(lt,Nt,zt){return!!Te(lt,Nt,zt)}function ft(lt){return lt&&!!lt.host&&!!lt.mode}function fe(lt){return!!ie(lt)}function ie(lt){for(;lt.parentNode;){if(lt===document.body)return null;lt=lt.parentNode}return ft(lt)?lt:null}function ge(){for(var lt=document.activeElement;lt==null?void 0:lt.shadowRoot;)lt=lt.shadowRoot.activeElement;return lt}function Ve(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document.getElementsByTagName("head")[0],Nt=document.createElement("style");return Nt.type="text/css",Nt.media="screen",lt.appendChild(Nt),Nt}var Ee=null;function Me(){return Ee||(Ee=Ve()),Ee}function _e(lt){var Nt,zt;return((Nt=lt==null?void 0:lt.sheet)===null||Nt===void 0?void 0:Nt.rules)?lt.sheet.rules:((zt=lt==null?void 0:lt.sheet)===null||zt===void 0?void 0:zt.cssRules)?lt.sheet.cssRules:[]}function Re(lt,Nt){var zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Me();!zt||!Nt||zt.sheet.insertRule(lt+"{"+Nt+"}",0)}function et(lt){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Me();if(!!Nt){for(var zt=_e(Nt),en=[],tn=0;tn<zt.length;tn++){var wn=zt[tn];wn.selectorText.indexOf(lt)!==-1&&en.push(tn)}for(var on=en.length-1;on>=0;on--)Nt.sheet.deleteRule(en[on])}}function Xe(lt){return typeof HTMLElement=="object"?lt instanceof HTMLElement:lt&&typeof lt=="object"&<.nodeType===1&&typeof lt.nodeName=="string"}var it={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:a.k?"webkitAnimationStart":"animationstart",ANIMATION_END:a.k?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:a.k?"webkitAnimationIteration":"animationiteration"},bt={stop:function(Nt,zt){Nt.preventDefault?Nt.preventDefault():Nt.returnValue=!1,zt&&(Nt.stopPropagation?Nt.stopPropagation():Nt.cancelBubble=!0)}};function Ct(lt){for(var Nt=[],zt=0;lt&<.nodeType===lt.ELEMENT_NODE;zt++)Nt[zt]=lt.scrollTop,lt=lt.parentNode;return Nt}function Bt(lt,Nt){for(var zt=0;lt&<.nodeType===lt.ELEMENT_NODE;zt++)lt.scrollTop!==Nt[zt]&&(lt.scrollTop=Nt[zt]),lt=lt.parentNode}var qe=function(lt){Object(r.a)(zt,lt);var Nt=Object(f.a)(zt);function zt(en){var tn;Object(o.a)(this,zt),tn=Nt.call(this),tn._onDidFocus=tn._register(new l.a),tn.onDidFocus=tn._onDidFocus.event,tn._onDidBlur=tn._register(new l.a),tn.onDidBlur=tn._onDidBlur.event;var wn=Se(document.activeElement,en),on=!1,vn=function(){on=!1,wn||(wn=!0,tn._onDidFocus.fire())},dt=function(){wn&&(on=!0,window.setTimeout(function(){on&&(on=!1,wn=!1,tn._onDidBlur.fire())},0))};return tn._refreshStateHandler=function(){var ct=Se(document.activeElement,en);ct!==wn&&(wn?dt():vn())},tn._register(Object(n.a)(en,it.FOCUS,!0)(vn)),tn._register(Object(n.a)(en,it.BLUR,!0)(dt)),tn}return Object(i.a)(zt)}(p.a);function st(lt){return new qe(lt)}function ut(lt){for(var Nt=arguments.length,zt=new Array(Nt>1?Nt-1:0),en=1;en<Nt;en++)zt[en-1]=arguments[en];if(lt.append.apply(lt,zt),zt.length===1&&typeof zt[0]!="string")return zt[0]}function nt(lt){lt.innerText="";for(var Nt=arguments.length,zt=new Array(Nt>1?Nt-1:0),en=1;en<Nt;en++)zt[en-1]=arguments[en];ut.apply(void 0,[lt].concat(zt))}var kt=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/,Sn;(function(lt){lt.HTML="http://www.w3.org/1999/xhtml",lt.SVG="http://www.w3.org/2000/svg"})(Sn||(Sn={}));function Tt(lt,Nt,zt){var en,tn=kt.exec(Nt);if(!tn)throw new Error("Bad use of emmet");zt=Object.assign({},zt||{});var wn=tn[1]||"div",on;lt!==Sn.HTML?on=document.createElementNS(lt,wn):on=document.createElement(wn),tn[3]&&(on.id=tn[3]),tn[4]&&(on.className=tn[4].replace(/\./g," ").trim()),Object.keys(zt).forEach(function(Kt){var pn=zt[Kt];typeof pn!="undefined"&&(/^on\w+$/.test(Kt)?on[Kt]=pn:Kt==="selected"?pn&&on.setAttribute(Kt,"true"):on.setAttribute(Kt,pn))});for(var vn=arguments.length,dt=new Array(vn>3?vn-3:0),ct=3;ct<vn;ct++)dt[ct-3]=arguments[ct];return(en=on).append.apply(en,dt),on}function ht(lt,Nt){for(var zt=arguments.length,en=new Array(zt>2?zt-2:0),tn=2;tn<zt;tn++)en[tn-2]=arguments[tn];return Tt.apply(void 0,[Sn.HTML,lt,Nt].concat(en))}ht.SVG=function(lt,Nt){for(var zt=arguments.length,en=new Array(zt>2?zt-2:0),tn=2;tn<zt;tn++)en[tn-2]=arguments[tn];return Tt.apply(void 0,[Sn.SVG,lt,Nt].concat(en))};function Rt(){for(var lt=arguments.length,Nt=new Array(lt),zt=0;zt<lt;zt++)Nt[zt]=arguments[zt];for(var en=0,tn=Nt;en<tn.length;en++){var wn=tn[en];wn.style.display="",wn.removeAttribute("aria-hidden")}}function Ft(){for(var lt=arguments.length,Nt=new Array(lt),zt=0;zt<lt;zt++)Nt[zt]=arguments[zt];for(var en=0,tn=Nt;en<tn.length;en++){var wn=tn[en];wn.style.display="none",wn.setAttribute("aria-hidden","true")}}function nn(lt){return Array.prototype.slice.call(document.getElementsByTagName(lt),0)}function bn(lt){var Nt=window.devicePixelRatio*lt;return Math.max(1,Math.floor(Nt))/window.devicePixelRatio}function sn(lt){window.open(lt,"_blank","noopener")}function un(lt){var Nt=function en(){lt(),zt=q(en)},zt=q(Nt);return Object(p.h)(function(){return zt.dispose()})}S.b.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");function Ht(lt){return lt?"url('".concat(S.a.asBrowserUri(lt).toString(!0).replace(/'/g,"%27"),"')"):"url('')"}function jn(lt){return"'".concat(lt.replace(/'/g,"%27"),"'")}var Ln=function(lt){Object(r.a)(zt,lt);var Nt=Object(f.a)(zt);function zt(){var en;return Object(o.a)(this,zt),en=Nt.call(this),en._subscriptions=new p.b,en._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},en._subscriptions.add(Object(n.a)(window,"keydown",!0)(function(tn){var wn=new v.a(tn);if(!(wn.keyCode===6&&tn.repeat)){if(tn.altKey&&!en._keyStatus.altKey)en._keyStatus.lastKeyPressed="alt";else if(tn.ctrlKey&&!en._keyStatus.ctrlKey)en._keyStatus.lastKeyPressed="ctrl";else if(tn.metaKey&&!en._keyStatus.metaKey)en._keyStatus.lastKeyPressed="meta";else if(tn.shiftKey&&!en._keyStatus.shiftKey)en._keyStatus.lastKeyPressed="shift";else if(wn.keyCode!==6)en._keyStatus.lastKeyPressed=void 0;else return;en._keyStatus.altKey=tn.altKey,en._keyStatus.ctrlKey=tn.ctrlKey,en._keyStatus.metaKey=tn.metaKey,en._keyStatus.shiftKey=tn.shiftKey,en._keyStatus.lastKeyPressed&&(en._keyStatus.event=tn,en.fire(en._keyStatus))}})),en._subscriptions.add(Object(n.a)(window,"keyup",!0)(function(tn){!tn.altKey&&en._keyStatus.altKey?en._keyStatus.lastKeyReleased="alt":!tn.ctrlKey&&en._keyStatus.ctrlKey?en._keyStatus.lastKeyReleased="ctrl":!tn.metaKey&&en._keyStatus.metaKey?en._keyStatus.lastKeyReleased="meta":!tn.shiftKey&&en._keyStatus.shiftKey?en._keyStatus.lastKeyReleased="shift":en._keyStatus.lastKeyReleased=void 0,en._keyStatus.lastKeyPressed!==en._keyStatus.lastKeyReleased&&(en._keyStatus.lastKeyPressed=void 0),en._keyStatus.altKey=tn.altKey,en._keyStatus.ctrlKey=tn.ctrlKey,en._keyStatus.metaKey=tn.metaKey,en._keyStatus.shiftKey=tn.shiftKey,en._keyStatus.lastKeyReleased&&(en._keyStatus.event=tn,en.fire(en._keyStatus))})),en._subscriptions.add(Object(n.a)(document.body,"mousedown",!0)(function(tn){en._keyStatus.lastKeyPressed=void 0})),en._subscriptions.add(Object(n.a)(document.body,"mouseup",!0)(function(tn){en._keyStatus.lastKeyPressed=void 0})),en._subscriptions.add(Object(n.a)(document.body,"mousemove",!0)(function(tn){tn.buttons&&(en._keyStatus.lastKeyPressed=void 0)})),en._subscriptions.add(Object(n.a)(window,"blur")(function(tn){en.resetKeyStatus()})),en}return Object(i.a)(zt,[{key:"keyStatus",get:function(){return this._keyStatus}},{key:"resetKeyStatus",value:function(){this.doResetKeyStatus(),this.fire(this._keyStatus)}},{key:"doResetKeyStatus",value:function(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}},{key:"dispose",value:function(){Object(u.a)(Object(c.a)(zt.prototype),"dispose",this).call(this),this._subscriptions.dispose()}}],[{key:"getInstance",value:function(){return zt.instance||(zt.instance=new zt),zt.instance}}]),zt}(l.a);function Un(lt,Nt){var zt=window.matchMedia(lt);typeof zt.addEventListener=="function"?zt.addEventListener("change",Nt):zt.addListener(Nt)}},"Ehk+":function(Ie,M,e){},EjJw:function(Ie,M,e){"use strict";e.d(M,"a",function(){return a}),e.d(M,"c",function(){return n}),e.d(M,"b",function(){return m});var u=e("wx14"),c=e("ODXe"),r=e("U8pU"),f=e("q1tI"),o=e.n(f),i=function(h,t){var l={};for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&t.indexOf(p)<0&&(l[p]=h[p]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,p=Object.getOwnPropertySymbols(h);w<p.length;w++)t.indexOf(p[w])<0&&Object.prototype.propertyIsEnumerable.call(h,p[w])&&(l[p[w]]=h[p[w]]);return l},a=10;function n(h,t){var l={current:t.current,pageSize:t.pageSize},p=h&&Object(r.a)(h)==="object"?h:{};return Object.keys(p).forEach(function(w){var S=t[w];typeof S!="function"&&(l[w]=S)}),l}function v(){for(var h={},t=arguments.length,l=new Array(t),p=0;p<t;p++)l[p]=arguments[p];return l.forEach(function(w){w&&Object.keys(w).forEach(function(S){var k=w[S];k!==void 0&&(h[S]=k)})}),h}function m(h,t,l){var p=t&&Object(r.a)(t)==="object"?t:{},w=p.total,S=w===void 0?0:w,k=i(p,["total"]),T=Object(f.useState)(function(){return{current:"defaultCurrent"in k?k.defaultCurrent:1,pageSize:"defaultPageSize"in k?k.defaultPageSize:a}}),I=Object(c.a)(T,2),Y=I[0],$=I[1],A=v(Y,k,{total:S>0?S:h}),g=Math.ceil((S||h)/A.pageSize);A.current>g&&(A.current=g||1);var b=function(E,D){$({current:E!=null?E:1,pageSize:D||A.pageSize})},d=function(E,D){var W;t&&((W=t.onChange)===null||W===void 0||W.call(t,E,D)),b(E,D),l(E,D||(A==null?void 0:A.pageSize))};return t===!1?[{},function(){}]:[Object(u.a)(Object(u.a)({},A),{onChange:d}),b]}},EpBk:function(Ie,M){function e(u){var c=typeof u;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?u!=="__proto__":u===null}Ie.exports=e},EvKn:function(Ie,M,e){"use strict";var u=e("wx14"),c=e("q1tI"),r=e("3U59"),f=e("fyJ8"),o=e("biw7"),i=e("eYkC");function a(l){var p=l.className,w=l.index,S=l.children,k=l.colSpan,T=k===void 0?1:k,I=l.rowSpan,Y=l.align,$=c.useContext(o.a),A=$.prefixCls,g=$.direction,b=c.useContext(r.a),d=b.scrollColumnIndex,O=b.stickyOffsets,E=b.flattenColumns,D=w+T-1,W=D+1===d?T+1:T,te=Object(i.a)(w,w+W-1,E,O,g);return c.createElement(f.a,Object(u.a)({className:p,index:w,component:"td",prefixCls:A,record:null,dataIndex:null,align:Y,colSpan:W,rowSpan:I,render:function(){return S}},te))}var n=e("Ff2n"),v=["children"];function m(l){var p=l.children,w=Object(n.a)(l,v);return c.createElement("tr",w,p)}function h(l){var p=l.children;return p}h.Row=m,h.Cell=a;var t=M.a=h},EwQA:function(Ie,M,e){var u=e("zZ0H");function c(r){return typeof r=="function"?r:u}Ie.exports=c},F9We:function(Ie,M,e){var u;try{u=e("4Ai+")}catch(c){}u||(u=window.graphlib),Ie.exports=u},FQ6V:function(Ie,M,e){},FRQA:function(Ie,M,e){"use strict";var u=e("GNNt"),c=e("wEI+"),r=e("nKUr"),f=e.n(r),o=e("TSYQ"),i=e.n(o),a=e("q1tI"),n=e.n(a),v=e("jYQm"),m=e("DnfT"),h=e.n(m),t=function(p){var w=Object(a.useContext)(v.a),S=p.children,k=p.contentWidth,T=p.className,I=p.style,Y=Object(a.useContext)(c.a.ConfigContext),$=Y.getPrefixCls,A=p.prefixCls||$("pro"),g=k||w.contentWidth,b="".concat(A,"-grid-content");return Object(r.jsx)("div",{className:i()(b,T,{wide:g==="Fixed"}),style:I,children:Object(r.jsx)("div",{className:"".concat(A,"-grid-content-children"),children:S})})};M.a=t},FWmy:function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});function u(c,r){if(!c)throw new Error(r?"Assertion failed (".concat(r,")"):"Assertion Failed")}},FZoo:function(Ie,M,e){var u=e("MrPd"),c=e("4uTw"),r=e("wJg7"),f=e("GoyQ"),o=e("9Nap");function i(a,n,v,m){if(!f(a))return a;n=c(n,a);for(var h=-1,t=n.length,l=t-1,p=a;p!=null&&++h<t;){var w=o(n[h]),S=v;if(w==="__proto__"||w==="constructor"||w==="prototype")return a;if(h!=l){var k=p[w];S=m?m(k,w,p):void 0,S===void 0&&(S=f(k)?k:r(n[h+1])?[]:{})}u(p,w,S),p=p[w]}return a}Ie.exports=i},FfPP:function(Ie,M,e){var u=e("idmN"),c=e("hgQt");function r(f,o){return u(f,o,function(i,a){return c(f,a)})}Ie.exports=r},FmXZ:function(Ie,M,e){"use strict";e.d(M,"b",function(){return f}),e.d(M,"a",function(){return o});var u=e("3/fG"),c=e("T8No"),r=e("MNsG"),f=new c.c("isWindows",r.j,Object(u.a)("isWindows","Whether the operating system is Windows")),o="inputFocus"},FzHg:function(Ie,M){(function(e,u){Ie.exports=function(){var c={722:function(o){o.exports=e}},r={};function f(o){if(r[o])return r[o].exports;var i=r[o]={exports:{}},a=!0;try{c[o](i,i.exports,f),a=!1}finally{a&&delete r[o]}return i.exports}return f.ab=u+"/",f(722)}()}).call(this,{},"/")},G2kB:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c}),e.d(M,"b",function(){return r});var u=e("Cg/j"),c=Object(u.c)("modelService");function r(f){return!f.isTooLargeForSyncing()&&!f.isForSimpleWidget}},G300:function(Ie,M,e){"use strict";e.d(M,"a",function(){return m});var u=e("fWQN"),c=e("mtLc"),r=e("yKVA"),f=e("879j"),o=e("EffR"),i=e("uDWl"),a=e("XSiN"),n=e("pmY6"),v=e("pg8w"),m=function(h){Object(r.a)(l,h);var t=Object(f.a)(l);function l(){return Object(u.a)(this,l),t.apply(this,arguments)}return Object(c.a)(l,[{key:"onclick",value:function(w,S){this._register(o.addDisposableListener(w,o.EventType.CLICK,function(k){return S(new a.a(k))}))}},{key:"onmousedown",value:function(w,S){this._register(o.addDisposableListener(w,o.EventType.MOUSE_DOWN,function(k){return S(new a.a(k))}))}},{key:"onmouseover",value:function(w,S){this._register(o.addDisposableListener(w,o.EventType.MOUSE_OVER,function(k){return S(new a.a(k))}))}},{key:"onnonbubblingmouseout",value:function(w,S){this._register(o.addDisposableNonBubblingMouseOutListener(w,function(k){return S(new a.a(k))}))}},{key:"onkeydown",value:function(w,S){this._register(o.addDisposableListener(w,o.EventType.KEY_DOWN,function(k){return S(new i.a(k))}))}},{key:"onkeyup",value:function(w,S){this._register(o.addDisposableListener(w,o.EventType.KEY_UP,function(k){return S(new i.a(k))}))}},{key:"oninput",value:function(w,S){this._register(o.addDisposableListener(w,o.EventType.INPUT,S))}},{key:"onblur",value:function(w,S){this._register(o.addDisposableListener(w,o.EventType.BLUR,S))}},{key:"onfocus",value:function(w,S){this._register(o.addDisposableListener(w,o.EventType.FOCUS,S))}},{key:"ignoreGesture",value:function(w){v.b.ignoreTarget(w)}}]),l}(n.a)},G3dp:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="EditOutlined";var a=M.a=c.forwardRef(i)},G6z8:function(Ie,M,e){var u=e("fR/l"),c=e("oCl/"),r=e("mTTR");function f(o){return u(o,r,c)}Ie.exports=f},GDhZ:function(Ie,M,e){var u=e("wF/u"),c=e("mwIZ"),r=e("hgQt"),f=e("9ggG"),o=e("CMye"),i=e("IOzZ"),a=e("9Nap"),n=1,v=2;function m(h,t){return f(h)&&o(t)?i(a(h),t):function(l){var p=c(l,h);return p===void 0&&p===t?r(l,h):u(t,p,n|v)}}Ie.exports=m},GEWS:function(Ie,M,e){"use strict";var u=e("b5wT"),c=e("F9We").Graph,r=e("6Ekc").slack;Ie.exports=f;function f(n){var v=new c({directed:!1}),m=n.nodes()[0],h=n.nodeCount();v.setNode(m,{});for(var t,l;o(v,n)<h;)t=i(v,n),l=v.hasNode(t.v)?r(n,t):-r(n,t),a(v,n,l);return v}function o(n,v){function m(h){u.forEach(v.nodeEdges(h),function(t){var l=t.v,p=h===l?t.w:l;!n.hasNode(p)&&!r(v,t)&&(n.setNode(p,{}),n.setEdge(h,p,{}),m(p))})}return u.forEach(n.nodes(),m),n.nodeCount()}function i(n,v){return u.minBy(v.edges(),function(m){if(n.hasNode(m.v)!==n.hasNode(m.w))return r(v,m)})}function a(n,v,m){u.forEach(n.nodes(),function(h){v.node(h).rank+=m})}},GJhM:function(Ie,M,e){"use strict";e.d(M,"b",function(){return Z}),e.d(M,"c",function(){return ee}),e.d(M,"a",function(){return ce});var u=e("w4Tj"),c=e("oZsa"),r=e("yKVA"),f=e("879j"),o=e("mtLc"),i=e("fWQN"),a=e("eq1K"),n=e("EffR"),v=e("ZlPH"),m=e("XSiN"),h=e("AKMP"),t=e("oBTY"),l=e("G300"),p=e("X+cX"),w=11,S=function(y){Object(r.a)(z,y);var C=Object(f.a)(z);function z(G){var X,pe;return Object(i.a)(this,z),pe=C.call(this),pe._onActivate=G.onActivate,pe.bgDomNode=document.createElement("div"),pe.bgDomNode.className="arrow-background",pe.bgDomNode.style.position="absolute",pe.bgDomNode.style.width=G.bgWidth+"px",pe.bgDomNode.style.height=G.bgHeight+"px",typeof G.top!="undefined"&&(pe.bgDomNode.style.top="0px"),typeof G.left!="undefined"&&(pe.bgDomNode.style.left="0px"),typeof G.bottom!="undefined"&&(pe.bgDomNode.style.bottom="0px"),typeof G.right!="undefined"&&(pe.bgDomNode.style.right="0px"),pe.domNode=document.createElement("div"),pe.domNode.className=G.className,(X=pe.domNode.classList).add.apply(X,Object(t.a)(G.icon.classNamesArray)),pe.domNode.style.position="absolute",pe.domNode.style.width=w+"px",pe.domNode.style.height=w+"px",typeof G.top!="undefined"&&(pe.domNode.style.top=G.top+"px"),typeof G.left!="undefined"&&(pe.domNode.style.left=G.left+"px"),typeof G.bottom!="undefined"&&(pe.domNode.style.bottom=G.bottom+"px"),typeof G.right!="undefined"&&(pe.domNode.style.right=G.right+"px"),pe._mouseMoveMonitor=pe._register(new h.a),pe.onmousedown(pe.bgDomNode,function(ae){return pe._arrowMouseDown(ae)}),pe.onmousedown(pe.domNode,function(ae){return pe._arrowMouseDown(ae)}),pe._mousedownRepeatTimer=pe._register(new p.c),pe._mousedownScheduleRepeatTimer=pe._register(new p.g),pe}return Object(o.a)(z,[{key:"_arrowMouseDown",value:function(X){var pe=this,ae=function(){pe._mousedownRepeatTimer.cancelAndSet(function(){return pe._onActivate()},1e3/24)};this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(ae,200),this._mouseMoveMonitor.startMonitoring(X.target,X.buttons,h.b,function(Se){},function(){pe._mousedownRepeatTimer.cancel(),pe._mousedownScheduleRepeatTimer.cancel()}),X.preventDefault()}}]),z}(l.a),k=e("pmY6"),T=function(y){Object(r.a)(z,y);var C=Object(f.a)(z);function z(G,X,pe){var ae;return Object(i.a)(this,z),ae=C.call(this),ae._visibility=G,ae._visibleClassName=X,ae._invisibleClassName=pe,ae._domNode=null,ae._isVisible=!1,ae._isNeeded=!1,ae._shouldBeVisible=!1,ae._revealTimer=ae._register(new p.g),ae}return Object(o.a)(z,[{key:"applyVisibilitySetting",value:function(X){return this._visibility===2?!1:this._visibility===3?!0:X}},{key:"setShouldBeVisible",value:function(X){var pe=this.applyVisibilitySetting(X);this._shouldBeVisible!==pe&&(this._shouldBeVisible=pe,this.ensureVisibility())}},{key:"setIsNeeded",value:function(X){this._isNeeded!==X&&(this._isNeeded=X,this.ensureVisibility())}},{key:"setDomNode",value:function(X){this._domNode=X,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}},{key:"ensureVisibility",value:function(){if(!this._isNeeded){this._hide(!1);return}this._shouldBeVisible?this._reveal():this._hide(!0)}},{key:"_reveal",value:function(){var X=this;this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(function(){X._domNode&&X._domNode.setClassName(X._visibleClassName)},0))}},{key:"_hide",value:function(X){this._revealTimer.cancel(),!!this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(X?" fade":"")))}}]),z}(k.a),I=e("MNsG"),Y=140,$=function(y){Object(r.a)(z,y);var C=Object(f.a)(z);function z(G){var X;return Object(i.a)(this,z),X=C.call(this),X._lazyRender=G.lazyRender,X._host=G.host,X._scrollable=G.scrollable,X._scrollByPage=G.scrollByPage,X._scrollbarState=G.scrollbarState,X._visibilityController=X._register(new T(G.visibility,"visible scrollbar "+G.extraScrollbarClassName,"invisible scrollbar "+G.extraScrollbarClassName)),X._visibilityController.setIsNeeded(X._scrollbarState.isNeeded()),X._mouseMoveMonitor=X._register(new h.a),X._shouldRender=!0,X.domNode=Object(v.b)(document.createElement("div")),X.domNode.setAttribute("role","presentation"),X.domNode.setAttribute("aria-hidden","true"),X._visibilityController.setDomNode(X.domNode),X.domNode.setPosition("absolute"),X.onmousedown(X.domNode.domNode,function(pe){return X._domNodeMouseDown(pe)}),X}return Object(o.a)(z,[{key:"_createArrow",value:function(X){var pe=this._register(new S(X));this.domNode.domNode.appendChild(pe.bgDomNode),this.domNode.domNode.appendChild(pe.domNode)}},{key:"_createSlider",value:function(X,pe,ae,Se){var Te=this;this.slider=Object(v.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(X),this.slider.setLeft(pe),typeof ae=="number"&&this.slider.setWidth(ae),typeof Se=="number"&&this.slider.setHeight(Se),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,function(je){je.leftButton&&(je.preventDefault(),Te._sliderMouseDown(je,function(){}))}),this.onclick(this.slider.domNode,function(je){je.leftButton&&je.stopPropagation()})}},{key:"_onElementSize",value:function(X){return this._scrollbarState.setVisibleSize(X)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}},{key:"_onElementScrollSize",value:function(X){return this._scrollbarState.setScrollSize(X)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}},{key:"_onElementScrollPosition",value:function(X){return this._scrollbarState.setScrollPosition(X)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}},{key:"beginReveal",value:function(){this._visibilityController.setShouldBeVisible(!0)}},{key:"beginHide",value:function(){this._visibilityController.setShouldBeVisible(!1)}},{key:"render",value: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()))}},{key:"_domNodeMouseDown",value:function(X){X.target===this.domNode.domNode&&this._onMouseDown(X)}},{key:"delegateMouseDown",value:function(X){var pe=this.domNode.domNode.getClientRects()[0].top,ae=pe+this._scrollbarState.getSliderPosition(),Se=pe+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),Te=this._sliderMousePosition(X);ae<=Te&&Te<=Se?X.leftButton&&(X.preventDefault(),this._sliderMouseDown(X,function(){})):this._onMouseDown(X)}},{key:"_onMouseDown",value:function(X){var pe,ae;if(X.target===this.domNode.domNode&&typeof X.browserEvent.offsetX=="number"&&typeof X.browserEvent.offsetY=="number")pe=X.browserEvent.offsetX,ae=X.browserEvent.offsetY;else{var Se=n.getDomNodePagePosition(this.domNode.domNode);pe=X.posx-Se.left,ae=X.posy-Se.top}var Te=this._mouseDownRelativePosition(pe,ae);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(Te):this._scrollbarState.getDesiredScrollPositionFromOffset(Te)),X.leftButton&&(X.preventDefault(),this._sliderMouseDown(X,function(){}))}},{key:"_sliderMouseDown",value:function(X,pe){var ae=this,Se=this._sliderMousePosition(X),Te=this._sliderOrthogonalMousePosition(X),je=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(X.target,X.buttons,h.b,function(ft){var fe=ae._sliderOrthogonalMousePosition(ft),ie=Math.abs(fe-Te);if(I.j&&ie>Y){ae._setDesiredScrollPositionNow(je.getScrollPosition());return}var ge=ae._sliderMousePosition(ft),Ve=ge-Se;ae._setDesiredScrollPositionNow(je.getDesiredScrollPositionFromDelta(Ve))},function(){ae.slider.toggleClassName("active",!1),ae._host.onDragEnd(),pe()}),this._host.onDragStart()}},{key:"_setDesiredScrollPositionNow",value:function(X){var pe={};this.writeScrollPosition(pe,X),this._scrollable.setScrollPositionNow(pe)}},{key:"updateScrollbarSize",value:function(X){this._updateScrollbarSize(X),this._scrollbarState.setScrollbarSize(X),this._shouldRender=!0,this._lazyRender||this.render()}},{key:"isNeeded",value:function(){return this._scrollbarState.isNeeded()}}]),z}(l.a),A=20,g=function(){function y(C,z,G,X,pe,ae){Object(i.a)(this,y),this._scrollbarSize=Math.round(z),this._oppositeScrollbarSize=Math.round(G),this._arrowSize=Math.round(C),this._visibleSize=X,this._scrollSize=pe,this._scrollPosition=ae,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return Object(o.a)(y,[{key:"clone",value:function(){return new y(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}},{key:"setVisibleSize",value:function(z){var G=Math.round(z);return this._visibleSize!==G?(this._visibleSize=G,this._refreshComputedValues(),!0):!1}},{key:"setScrollSize",value:function(z){var G=Math.round(z);return this._scrollSize!==G?(this._scrollSize=G,this._refreshComputedValues(),!0):!1}},{key:"setScrollPosition",value:function(z){var G=Math.round(z);return this._scrollPosition!==G?(this._scrollPosition=G,this._refreshComputedValues(),!0):!1}},{key:"setScrollbarSize",value:function(z){this._scrollbarSize=z}},{key:"_refreshComputedValues",value:function(){var z=y._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=z.computedAvailableSize,this._computedIsNeeded=z.computedIsNeeded,this._computedSliderSize=z.computedSliderSize,this._computedSliderRatio=z.computedSliderRatio,this._computedSliderPosition=z.computedSliderPosition}},{key:"getArrowSize",value:function(){return this._arrowSize}},{key:"getScrollPosition",value:function(){return this._scrollPosition}},{key:"getRectangleLargeSize",value:function(){return this._computedAvailableSize}},{key:"getRectangleSmallSize",value:function(){return this._scrollbarSize}},{key:"isNeeded",value:function(){return this._computedIsNeeded}},{key:"getSliderSize",value:function(){return this._computedSliderSize}},{key:"getSliderPosition",value:function(){return this._computedSliderPosition}},{key:"getDesiredScrollPositionFromOffset",value:function(z){if(!this._computedIsNeeded)return 0;var G=z-this._arrowSize-this._computedSliderSize/2;return Math.round(G/this._computedSliderRatio)}},{key:"getDesiredScrollPositionFromOffsetPaged",value:function(z){if(!this._computedIsNeeded)return 0;var G=z-this._arrowSize,X=this._scrollPosition;return G<this._computedSliderPosition?X-=this._visibleSize:X+=this._visibleSize,X}},{key:"getDesiredScrollPositionFromDelta",value:function(z){if(!this._computedIsNeeded)return 0;var G=this._computedSliderPosition+z;return Math.round(G/this._computedSliderRatio)}}],[{key:"_computeValues",value:function(z,G,X,pe,ae){var Se=Math.max(0,X-z),Te=Math.max(0,Se-2*G),je=pe>0&&pe>X;if(!je)return{computedAvailableSize:Math.round(Se),computedIsNeeded:je,computedSliderSize:Math.round(Te),computedSliderRatio:0,computedSliderPosition:0};var ft=Math.round(Math.max(A,Math.floor(X*Te/pe))),fe=(Te-ft)/(pe-X),ie=ae*fe;return{computedAvailableSize:Math.round(Se),computedIsNeeded:je,computedSliderSize:Math.round(ft),computedSliderRatio:fe,computedSliderPosition:Math.round(ie)}}}]),y}(),b=e("Vhoy"),d=Object(b.e)("scrollbar-button-left",b.b.triangleLeft),O=Object(b.e)("scrollbar-button-right",b.b.triangleRight),E=function(y){Object(r.a)(z,y);var C=Object(f.a)(z);function z(G,X,pe){var ae;Object(i.a)(this,z);var Se=G.getScrollDimensions(),Te=G.getCurrentScrollPosition();if(ae=C.call(this,{lazyRender:X.lazyRender,host:pe,scrollbarState:new g(X.horizontalHasArrows?X.arrowSize:0,X.horizontal===2?0:X.horizontalScrollbarSize,X.vertical===2?0:X.verticalScrollbarSize,Se.width,Se.scrollWidth,Te.scrollLeft),visibility:X.horizontal,extraScrollbarClassName:"horizontal",scrollable:G,scrollByPage:X.scrollByPage}),X.horizontalHasArrows){var je=(X.arrowSize-w)/2,ft=(X.horizontalScrollbarSize-w)/2;ae._createArrow({className:"scra",icon:d,top:ft,left:je,bottom:void 0,right:void 0,bgWidth:X.arrowSize,bgHeight:X.horizontalScrollbarSize,onActivate:function(){return ae._host.onMouseWheel(new m.b(null,1,0))}}),ae._createArrow({className:"scra",icon:O,top:ft,left:void 0,bottom:void 0,right:je,bgWidth:X.arrowSize,bgHeight:X.horizontalScrollbarSize,onActivate:function(){return ae._host.onMouseWheel(new m.b(null,-1,0))}})}return ae._createSlider(Math.floor((X.horizontalScrollbarSize-X.horizontalSliderSize)/2),0,void 0,X.horizontalSliderSize),ae}return Object(o.a)(z,[{key:"_updateSlider",value:function(X,pe){this.slider.setWidth(X),this.slider.setLeft(pe)}},{key:"_renderDomNode",value:function(X,pe){this.domNode.setWidth(X),this.domNode.setHeight(pe),this.domNode.setLeft(0),this.domNode.setBottom(0)}},{key:"onDidScroll",value:function(X){return this._shouldRender=this._onElementScrollSize(X.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(X.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(X.width)||this._shouldRender,this._shouldRender}},{key:"_mouseDownRelativePosition",value:function(X,pe){return X}},{key:"_sliderMousePosition",value:function(X){return X.posx}},{key:"_sliderOrthogonalMousePosition",value:function(X){return X.posy}},{key:"_updateScrollbarSize",value:function(X){this.slider.setHeight(X)}},{key:"writeScrollPosition",value:function(X,pe){X.scrollLeft=pe}}]),z}($),D=Object(b.e)("scrollbar-button-up",b.b.triangleUp),W=Object(b.e)("scrollbar-button-down",b.b.triangleDown),te=function(y){Object(r.a)(z,y);var C=Object(f.a)(z);function z(G,X,pe){var ae;Object(i.a)(this,z);var Se=G.getScrollDimensions(),Te=G.getCurrentScrollPosition();if(ae=C.call(this,{lazyRender:X.lazyRender,host:pe,scrollbarState:new g(X.verticalHasArrows?X.arrowSize:0,X.vertical===2?0:X.verticalScrollbarSize,0,Se.height,Se.scrollHeight,Te.scrollTop),visibility:X.vertical,extraScrollbarClassName:"vertical",scrollable:G,scrollByPage:X.scrollByPage}),X.verticalHasArrows){var je=(X.arrowSize-w)/2,ft=(X.verticalScrollbarSize-w)/2;ae._createArrow({className:"scra",icon:D,top:je,left:ft,bottom:void 0,right:void 0,bgWidth:X.verticalScrollbarSize,bgHeight:X.arrowSize,onActivate:function(){return ae._host.onMouseWheel(new m.b(null,0,1))}}),ae._createArrow({className:"scra",icon:W,top:void 0,left:ft,bottom:je,right:void 0,bgWidth:X.verticalScrollbarSize,bgHeight:X.arrowSize,onActivate:function(){return ae._host.onMouseWheel(new m.b(null,0,-1))}})}return ae._createSlider(0,Math.floor((X.verticalScrollbarSize-X.verticalSliderSize)/2),X.verticalSliderSize,void 0),ae}return Object(o.a)(z,[{key:"_updateSlider",value:function(X,pe){this.slider.setHeight(X),this.slider.setTop(pe)}},{key:"_renderDomNode",value:function(X,pe){this.domNode.setWidth(pe),this.domNode.setHeight(X),this.domNode.setRight(0),this.domNode.setTop(0)}},{key:"onDidScroll",value:function(X){return this._shouldRender=this._onElementScrollSize(X.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(X.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(X.height)||this._shouldRender,this._shouldRender}},{key:"_mouseDownRelativePosition",value:function(X,pe){return pe}},{key:"_sliderMousePosition",value:function(X){return X.posy}},{key:"_sliderOrthogonalMousePosition",value:function(X){return X.posx}},{key:"_updateScrollbarSize",value:function(X){this.slider.setWidth(X)}},{key:"writeScrollPosition",value:function(X,pe){X.scrollTop=pe}}]),z}($),re=e("MI8n"),ye=e("QuOb"),q=e("D3Dy"),oe=500,he=50,ue=!0,ne=Object(o.a)(function y(C,z,G){Object(i.a)(this,y),this.timestamp=C,this.deltaX=z,this.deltaY=G,this.score=0}),se=function(){function y(){Object(i.a)(this,y),this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}return Object(o.a)(y,[{key:"isPhysicalMouseWheel",value:function(){if(this._front===-1&&this._rear===-1)return!1;var z=1,G=0,X=1,pe=this._rear;do{var ae=pe===this._front?z:Math.pow(2,-X);if(z-=ae,G+=this._memory[pe].score*ae,pe===this._front)break;pe=(this._capacity+pe-1)%this._capacity,X++}while(!0);return G<=.5}},{key:"accept",value:function(z,G,X){var pe=new ne(z,G,X);pe.score=this._computeScore(pe),this._front===-1&&this._rear===-1?(this._memory[0]=pe,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]=pe)}},{key:"_computeScore",value:function(z){if(Math.abs(z.deltaX)>0&&Math.abs(z.deltaY)>0)return 1;var G=.5,X=this._front===-1&&this._rear===-1?null:this._memory[this._rear];return(!this._isAlmostInt(z.deltaX)||!this._isAlmostInt(z.deltaY))&&(G+=.25),Math.min(Math.max(G,0),1)}},{key:"_isAlmostInt",value:function(z){var G=Math.abs(Math.round(z)-z);return G<.01}}]),y}();se.INSTANCE=new se;var be=function(y){Object(r.a)(z,y);var C=Object(f.a)(z);function z(G,X,pe){var ae;Object(i.a)(this,z),ae=C.call(this),ae._onScroll=ae._register(new re.a),ae.onScroll=ae._onScroll.event,ae._onWillScroll=ae._register(new re.a),G.style.overflow="hidden",ae._options=R(X),ae._scrollable=pe,ae._register(ae._scrollable.onScroll(function(Te){ae._onWillScroll.fire(Te),ae._onDidScroll(Te),ae._onScroll.fire(Te)}));var Se={onMouseWheel:function(je){return ae._onMouseWheel(je)},onDragStart:function(){return ae._onDragStart()},onDragEnd:function(){return ae._onDragEnd()}};return ae._verticalScrollbar=ae._register(new te(ae._scrollable,ae._options,Se)),ae._horizontalScrollbar=ae._register(new E(ae._scrollable,ae._options,Se)),ae._domNode=document.createElement("div"),ae._domNode.className="monaco-scrollable-element "+ae._options.className,ae._domNode.setAttribute("role","presentation"),ae._domNode.style.position="relative",ae._domNode.style.overflow="hidden",ae._domNode.appendChild(G),ae._domNode.appendChild(ae._horizontalScrollbar.domNode.domNode),ae._domNode.appendChild(ae._verticalScrollbar.domNode.domNode),ae._options.useShadows?(ae._leftShadowDomNode=Object(v.b)(document.createElement("div")),ae._leftShadowDomNode.setClassName("shadow"),ae._domNode.appendChild(ae._leftShadowDomNode.domNode),ae._topShadowDomNode=Object(v.b)(document.createElement("div")),ae._topShadowDomNode.setClassName("shadow"),ae._domNode.appendChild(ae._topShadowDomNode.domNode),ae._topLeftShadowDomNode=Object(v.b)(document.createElement("div")),ae._topLeftShadowDomNode.setClassName("shadow"),ae._domNode.appendChild(ae._topLeftShadowDomNode.domNode)):(ae._leftShadowDomNode=null,ae._topShadowDomNode=null,ae._topLeftShadowDomNode=null),ae._listenOnDomNode=ae._options.listenOnDomNode||ae._domNode,ae._mouseWheelToDispose=[],ae._setListeningToMouseWheel(ae._options.handleMouseWheel),ae.onmouseover(ae._listenOnDomNode,function(Te){return ae._onMouseOver(Te)}),ae.onnonbubblingmouseout(ae._listenOnDomNode,function(Te){return ae._onMouseOut(Te)}),ae._hideTimeout=ae._register(new p.g),ae._isDragging=!1,ae._mouseIsOver=!1,ae._shouldRender=!0,ae._revealOnScroll=!0,ae}return Object(o.a)(z,[{key:"dispose",value:function(){this._mouseWheelToDispose=Object(k.f)(this._mouseWheelToDispose),Object(u.a)(Object(c.a)(z.prototype),"dispose",this).call(this)}},{key:"getDomNode",value:function(){return this._domNode}},{key:"getOverviewRulerLayoutInfo",value:function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}},{key:"delegateVerticalScrollbarMouseDown",value:function(X){this._verticalScrollbar.delegateMouseDown(X)}},{key:"getScrollDimensions",value:function(){return this._scrollable.getScrollDimensions()}},{key:"setScrollDimensions",value:function(X){this._scrollable.setScrollDimensions(X,!1)}},{key:"updateClassName",value:function(X){this._options.className=X,I.f&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}},{key:"updateOptions",value:function(X){typeof X.handleMouseWheel!="undefined"&&(this._options.handleMouseWheel=X.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),typeof X.mouseWheelScrollSensitivity!="undefined"&&(this._options.mouseWheelScrollSensitivity=X.mouseWheelScrollSensitivity),typeof X.fastScrollSensitivity!="undefined"&&(this._options.fastScrollSensitivity=X.fastScrollSensitivity),typeof X.scrollPredominantAxis!="undefined"&&(this._options.scrollPredominantAxis=X.scrollPredominantAxis),typeof X.horizontalScrollbarSize!="undefined"&&this._horizontalScrollbar.updateScrollbarSize(X.horizontalScrollbarSize),this._options.lazyRender||this._render()}},{key:"_setListeningToMouseWheel",value:function(X){var pe=this,ae=this._mouseWheelToDispose.length>0;if(ae!==X&&(this._mouseWheelToDispose=Object(k.f)(this._mouseWheelToDispose),X)){var Se=function(je){pe._onMouseWheel(new m.b(je))};this._mouseWheelToDispose.push(n.addDisposableListener(this._listenOnDomNode,n.EventType.MOUSE_WHEEL,Se,{passive:!1}))}}},{key:"_onMouseWheel",value:function(X){var pe=se.INSTANCE;if(ue){var ae=window.devicePixelRatio/Object(q.c)();I.j||I.d?pe.accept(Date.now(),X.deltaX/ae,X.deltaY/ae):pe.accept(Date.now(),X.deltaX,X.deltaY)}var Se=!1;if(X.deltaY||X.deltaX){var Te=X.deltaY*this._options.mouseWheelScrollSensitivity,je=X.deltaX*this._options.mouseWheelScrollSensitivity;if(this._options.scrollPredominantAxis&&(Math.abs(Te)>=Math.abs(je)?je=0:Te=0),this._options.flipAxes){var ft=[je,Te];Te=ft[0],je=ft[1]}var fe=!I.f&&X.browserEvent&&X.browserEvent.shiftKey;(this._options.scrollYToX||fe)&&!je&&(je=Te,Te=0),X.browserEvent&&X.browserEvent.altKey&&(je=je*this._options.fastScrollSensitivity,Te=Te*this._options.fastScrollSensitivity);var ie=this._scrollable.getFutureScrollPosition(),ge={};if(Te){var Ve=ie.scrollTop-he*Te;this._verticalScrollbar.writeScrollPosition(ge,Ve)}if(je){var Ee=ie.scrollLeft-he*je;this._horizontalScrollbar.writeScrollPosition(ge,Ee)}if(ge=this._scrollable.validateScrollPosition(ge),ie.scrollLeft!==ge.scrollLeft||ie.scrollTop!==ge.scrollTop){var Me=ue&&this._options.mouseWheelSmoothScroll&&pe.isPhysicalMouseWheel();Me?this._scrollable.setScrollPositionSmooth(ge):this._scrollable.setScrollPositionNow(ge),Se=!0}}var _e=Se;!_e&&this._options.alwaysConsumeMouseWheel&&(_e=!0),!_e&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(_e=!0),_e&&(X.preventDefault(),X.stopPropagation())}},{key:"_onDidScroll",value:function(X){this._shouldRender=this._horizontalScrollbar.onDidScroll(X)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(X)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}},{key:"renderNow",value:function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}},{key:"_render",value:function(){if(!!this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){var X=this._scrollable.getCurrentScrollPosition(),pe=X.scrollTop>0,ae=X.scrollLeft>0,Se=ae?" left":"",Te=pe?" top":"",je=ae||pe?" top-left-corner":"";this._leftShadowDomNode.setClassName("shadow".concat(Se)),this._topShadowDomNode.setClassName("shadow".concat(Te)),this._topLeftShadowDomNode.setClassName("shadow".concat(je).concat(Te).concat(Se))}}},{key:"_onDragStart",value:function(){this._isDragging=!0,this._reveal()}},{key:"_onDragEnd",value:function(){this._isDragging=!1,this._hide()}},{key:"_onMouseOut",value:function(X){this._mouseIsOver=!1,this._hide()}},{key:"_onMouseOver",value:function(X){this._mouseIsOver=!0,this._reveal()}},{key:"_reveal",value:function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}},{key:"_hide",value:function(){!this._mouseIsOver&&!this._isDragging&&(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}},{key:"_scheduleHide",value:function(){var X=this;!this._mouseIsOver&&!this._isDragging&&this._hideTimeout.cancelAndSet(function(){return X._hide()},oe)}}]),z}(l.a),Z=function(y){Object(r.a)(z,y);var C=Object(f.a)(z);function z(G,X){var pe;Object(i.a)(this,z),X=X||{},X.mouseWheelSmoothScroll=!1;var ae=new ye.a(0,function(Se){return n.scheduleAtNextAnimationFrame(Se)});return pe=C.call(this,G,X,ae),pe._register(ae),pe}return Object(o.a)(z,[{key:"setScrollPosition",value:function(X){this._scrollable.setScrollPositionNow(X)}}]),z}(be),ee=function(y){Object(r.a)(z,y);var C=Object(f.a)(z);function z(G,X,pe){return Object(i.a)(this,z),C.call(this,G,X,pe)}return Object(o.a)(z,[{key:"setScrollPosition",value:function(X){X.reuseAnimation?this._scrollable.setScrollPositionSmooth(X,X.reuseAnimation):this._scrollable.setScrollPositionNow(X)}},{key:"getScrollPosition",value:function(){return this._scrollable.getCurrentScrollPosition()}}]),z}(be),ce=function(y){Object(r.a)(z,y);var C=Object(f.a)(z);function z(G,X){var pe;return Object(i.a)(this,z),pe=C.call(this,G,X),pe._element=G,pe.onScroll(function(ae){ae.scrollTopChanged&&(pe._element.scrollTop=ae.scrollTop),ae.scrollLeftChanged&&(pe._element.scrollLeft=ae.scrollLeft)}),pe.scanDomNode(),pe}return Object(o.a)(z,[{key:"scanDomNode",value: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})}}]),z}(Z);function R(y){var C={lazyRender:typeof y.lazyRender!="undefined"?y.lazyRender:!1,className:typeof y.className!="undefined"?y.className:"",useShadows:typeof y.useShadows!="undefined"?y.useShadows:!0,handleMouseWheel:typeof y.handleMouseWheel!="undefined"?y.handleMouseWheel:!0,flipAxes:typeof y.flipAxes!="undefined"?y.flipAxes:!1,consumeMouseWheelIfScrollbarIsNeeded:typeof y.consumeMouseWheelIfScrollbarIsNeeded!="undefined"?y.consumeMouseWheelIfScrollbarIsNeeded:!1,alwaysConsumeMouseWheel:typeof y.alwaysConsumeMouseWheel!="undefined"?y.alwaysConsumeMouseWheel:!1,scrollYToX:typeof y.scrollYToX!="undefined"?y.scrollYToX:!1,mouseWheelScrollSensitivity:typeof y.mouseWheelScrollSensitivity!="undefined"?y.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof y.fastScrollSensitivity!="undefined"?y.fastScrollSensitivity:5,scrollPredominantAxis:typeof y.scrollPredominantAxis!="undefined"?y.scrollPredominantAxis:!0,mouseWheelSmoothScroll:typeof y.mouseWheelSmoothScroll!="undefined"?y.mouseWheelSmoothScroll:!0,arrowSize:typeof y.arrowSize!="undefined"?y.arrowSize:11,listenOnDomNode:typeof y.listenOnDomNode!="undefined"?y.listenOnDomNode:null,horizontal:typeof y.horizontal!="undefined"?y.horizontal:1,horizontalScrollbarSize:typeof y.horizontalScrollbarSize!="undefined"?y.horizontalScrollbarSize:10,horizontalSliderSize:typeof y.horizontalSliderSize!="undefined"?y.horizontalSliderSize:0,horizontalHasArrows:typeof y.horizontalHasArrows!="undefined"?y.horizontalHasArrows:!1,vertical:typeof y.vertical!="undefined"?y.vertical:1,verticalScrollbarSize:typeof y.verticalScrollbarSize!="undefined"?y.verticalScrollbarSize:10,verticalHasArrows:typeof y.verticalHasArrows!="undefined"?y.verticalHasArrows:!1,verticalSliderSize:typeof y.verticalSliderSize!="undefined"?y.verticalSliderSize:0,scrollByPage:typeof y.scrollByPage!="undefined"?y.scrollByPage:!1};return C.horizontalSliderSize=typeof y.horizontalSliderSize!="undefined"?y.horizontalSliderSize:C.horizontalScrollbarSize,C.verticalSliderSize=typeof y.verticalSliderSize!="undefined"?y.verticalSliderSize:C.verticalScrollbarSize,I.f&&(C.className+=" mac"),C}},GL53:function(Ie,M,e){"use strict";e.d(M,"g",function(){return p}),e.d(M,"k",function(){return w}),e.d(M,"c",function(){return S}),e.d(M,"n",function(){return k}),e.d(M,"f",function(){return T}),e.d(M,"F",function(){return I}),e.d(M,"q",function(){return Y}),e.d(M,"v",function(){return $}),e.d(M,"D",function(){return A}),e.d(M,"x",function(){return g}),e.d(M,"y",function(){return b}),e.d(M,"A",function(){return d}),e.d(M,"u",function(){return O}),e.d(M,"t",function(){return E}),e.d(M,"B",function(){return D}),e.d(M,"e",function(){return W}),e.d(M,"E",function(){return te}),e.d(M,"i",function(){return re}),e.d(M,"z",function(){return ye}),e.d(M,"a",function(){return q}),e.d(M,"r",function(){return oe}),e.d(M,"s",function(){return he}),e.d(M,"j",function(){return ue}),e.d(M,"w",function(){return ne}),e.d(M,"p",function(){return se}),e.d(M,"h",function(){return be}),e.d(M,"m",function(){return Z}),e.d(M,"l",function(){return ee}),e.d(M,"b",function(){return ce}),e.d(M,"o",function(){return R}),e.d(M,"C",function(){return y}),e.d(M,"d",function(){return z});var u=e("qLMh"),c=e("9og8"),r=e("2qtc"),f=e("kLXV"),o=e("miYZ"),i=e("tsqr"),a=e("k1fw"),n=e("gqNZ"),v={SHOW_TABLES:"show tables"},m=v,h=e("kZX9"),t=e("9kvl");function l(G,X){if(G.task){var pe=Object(a.a)(Object(a.a)({},G.task),{},{statement:G.value});X&&X({type:"Studio/saveTask",payload:pe})}}function p(G,X){var pe=Object(h.b)("api/studio/createSession",G);pe.then(function(ae){i.default.success("\u521B\u5EFA\u4F1A\u8BDD\u3010".concat(G.session,"\u3011\u6210\u529F\uFF01")),ae.datas&&S(ae.datas,X),w(X)})}function w(G){var X=Object(h.c)("api/studio/listSession");X.then(function(pe){G&&G({type:"Studio/saveSession",payload:pe.datas})})}function S(G,X){X&&X({type:"Studio/refreshCurrentSession",payload:G}),setTimeout(function(){I(G.session,X)},200)}function k(G){G&&G({type:"Studio/quitCurrentSession"})}function T(G,X){f.a.confirm({title:Object(t.d)().formatMessage({id:"tips.confirm.logout.session"},{sessionName:G}),okText:Object(t.d)().formatMessage({id:"button.confirm"}),cancelText:Object(t.d)().formatMessage({id:"button.cancel"}),onOk:function(){var pe=Object(c.a)(Object(u.a)().mark(function Se(){var Te,je;return Object(u.a)().wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:Te={id:G},je=Object(h.j)("/api/studio/clearSession",[Te]),je.then(function(ie){k(X),w(X)});case 3:case"end":return fe.stop()}},Se)}));function ae(){return pe.apply(this,arguments)}return ae}()})}function I(G,X){if(!(G==null||G=="")){var pe=Object(n.b)({statement:m.SHOW_TABLES,session:G,useSession:!0,useResult:!0});pe.then(function(ae){var Se=[];ae.datas.rowData.length>0&&(Se=ae.datas.rowData),X&&X({type:"Studio/refreshCurrentSession",payload:{connectors:Se}})})}}function Y(G,X,pe){f.a.confirm({title:Object(t.d)().formatMessage({id:"tips.confirm.delete.table"},{tableName:G}),okText:Object(t.d)().formatMessage({id:"button.confirm"}),cancelText:Object(t.d)().formatMessage({id:"button.cancel"}),onOk:function(){var ae=Object(c.a)(Object(u.a)().mark(function Te(){var je;return Object(u.a)().wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:je=Object(n.b)({statement:"drop table "+G,session:X,useSession:!0,useResult:!0}),je.then(function(ie){I(X,pe)});case 2:case"end":return fe.stop()}},Te)}));function Se(){return ae.apply(this,arguments)}return Se}()})}function $(G){var X=Object(h.c)("api/cluster/listEnabledAll");X.then(function(pe){pe.datas&&G&&G({type:"Studio/saveCluster",payload:pe.datas})})}function A(G){var X=Object(h.c)("api/cluster/listSessionEnable");X.then(function(pe){pe.datas&&G&&G({type:"Studio/saveSessionCluster",payload:pe.datas})})}function g(G){var X=Object(h.c)("api/database/listEnabledAll");X.then(function(pe){pe.datas&&G&&G({type:"Studio/saveDataBase",payload:pe.datas})})}function b(G){var X=Object(h.c)("api/task/listFlinkSQLEnv");X.then(function(pe){pe.datas&&G&&G({type:"Studio/saveEnv",payload:pe.datas})})}function d(G){var X=Object(h.c)("api/jar/listEnabledAll");X.then(function(pe){pe.datas&&G&&G({type:"Jar/saveJars",payload:pe.datas})})}function O(G){var X=Object(h.c)("api/alertInstance/listEnabledAll");X.then(function(pe){pe.datas&&G&&G({type:"Alert/saveInstance",payload:pe.datas})})}function E(G){var X=Object(h.c)("api/alertGroup/listEnabledAll");X.then(function(pe){pe.datas&&G&&G({type:"Alert/saveGroup",payload:pe.datas})})}function D(G){return Object(h.c)("api/database/getSchemasAndTables",{id:G})}function W(G){return Object(h.c)("api/database/unCacheSchemasAndTables",{id:G})}function te(G,X,pe,ae){return Object(h.m)("api/database/queryData",{id:G,schemaName:X,tableName:pe,option:ae})}function re(G,X){return Object(h.m)("api/database/execSql",{id:G,sql:X})}function ye(G){return Object(h.c)("api/studio/listJobs",{clusterId:G})}function q(G,X){return Object(h.c)("api/studio/cancel",{clusterId:G,jobId:X})}function oe(G,X){return Object(h.c)("api/task/restartTask",{id:G,isOnLine:X})}function he(G,X,pe,ae,Se){return Object(h.c)("api/studio/savepoint",{clusterId:G,jobId:X,savePointType:pe,name:ae,taskId:Se})}function ue(G,X){var pe=Object(h.c)("api/document/getFillAllByVersion",{version:G});pe.then(function(ae){ae.datas&&X&&X({type:"Document/saveAllFillDocuments",payload:ae.datas})})}function ne(G){var X=Object(h.c)("api/clusterConfiguration/listEnabledAll");X.then(function(pe){pe.datas&&G&&G({type:"Studio/saveClusterConfiguration",payload:pe.datas})})}function se(G){return Object(h.c)("api/task/releaseTask",{id:G})}function be(G){return Object(h.c)("api/task/developTask",{id:G})}function Z(G){return Object(h.c)("api/task/onLineTask",{id:G})}function ee(G,X){return Object(h.c)("api/task/offLineTask",{id:G,type:X})}function ce(G){return Object(h.c)("api/task/cancelTask",{id:G})}function R(G){return Object(h.c)("api/task/recoveryTask",{id:G})}function y(G,X){return C.apply(this,arguments)}function C(){return C=Object(c.a)(Object(u.a)().mark(function G(X,pe){var ae,Se;return Object(u.a)().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(X!=null&&X.dialect){je.next=2;break}return je.abrupt("return");case 2:ae={envId:X.envId,fragment:X.fragment,dialect:X.dialect,databaseId:X.databaseId},Se=Object(n.i)(ae),Se.then(function(ft){var fe=[];if(ft.datas)for(var ie=0;ie<ft.datas.length;ie++)fe.push({name:ft.datas[ie].name,databases:ft.datas[ie].schemas});pe&&pe({type:"Studio/saveMetaStore",payload:{activeKey:X.id,metaStore:fe}})});case 5:case"end":return je.stop()}},G)})),C.apply(this,arguments)}function z(){return Object(h.c)("api/process/clearConsole",{})}},GNiM:function(Ie,M,e){var u=e("I01J"),c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,f=u(function(o){var i=[];return o.charCodeAt(0)===46&&i.push(""),o.replace(c,function(a,n,v,m){i.push(v?m.replace(r,"$1"):n||a)}),i});Ie.exports=f},"GR/f":function(Ie,M,e){"use strict";e.d(M,"a",function(){return I}),e.d(M,"b",function(){return Y});var u=e("w4Tj"),c=e("oZsa"),r=e("yKVA"),f=e("879j"),o=e("rAM+"),i=e("fWQN"),a=e("mtLc"),n=e("/cxE"),v=e("N0LK"),m=e("LCkn"),h=e("zN7H"),t=e("aokT"),l=e("gCVg"),p=function(){function $(A,g,b){Object(i.a)(this,$),this._range=A,this._charBeforeSelection=g,this._charAfterSelection=b}return Object(a.a)($,[{key:"getEditOperations",value:function(g,b){b.addTrackedEditOperation(new t.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),b.addTrackedEditOperation(new t.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}},{key:"computeCursorState",value:function(g,b){var d=b.getInverseEditOperations(),O=d[0].range,E=d[1].range;return new l.a(O.endLineNumber,O.endColumn,E.endLineNumber,E.endColumn-this._charAfterSelection.length)}}]),$}(),w=e("Ll0s"),S=e("5v8Y"),k=e("KDc4"),T=e("cMvZ"),I=function(){function $(){Object(i.a)(this,$)}return Object(a.a)($,null,[{key:"indent",value:function(g,b,d){if(b===null||d===null)return[];for(var O=[],E=0,D=d.length;E<D;E++)O[E]=new h.a(d[E],{isUnshift:!1,tabSize:g.tabSize,indentSize:g.indentSize,insertSpaces:g.insertSpaces,useTabStops:g.useTabStops,autoIndent:g.autoIndent});return O}},{key:"outdent",value:function(g,b,d){for(var O=[],E=0,D=d.length;E<D;E++)O[E]=new h.a(d[E],{isUnshift:!0,tabSize:g.tabSize,indentSize:g.indentSize,insertSpaces:g.insertSpaces,useTabStops:g.useTabStops,autoIndent:g.autoIndent});return O}},{key:"shiftIndent",value:function(g,b,d){return d=d||1,h.a.shiftIndent(b,b.length+d,g.tabSize,g.indentSize,g.insertSpaces)}},{key:"unshiftIndent",value:function(g,b,d){return d=d||1,h.a.unshiftIndent(b,b.length+d,g.tabSize,g.indentSize,g.insertSpaces)}},{key:"_distributedPaste",value:function(g,b,d,O){for(var E=[],D=0,W=d.length;D<W;D++)E[D]=new m.a(d[D],O[D]);return new w.e(0,E,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}},{key:"_simplePaste",value:function(g,b,d,O,E){for(var D=[],W=0,te=d.length;W<te;W++){var re=d[W],ye=re.getPosition();if(E&&!re.isEmpty()&&(E=!1),E&&O.indexOf(`
- `)!==O.length-1&&(E=!1),E){var q=new t.a(ye.lineNumber,1,ye.lineNumber,1);D[W]=new m.b(q,O,re,!0)}else D[W]=new m.a(re,O)}return new w.e(0,D,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}},{key:"_distributePasteToCursors",value:function(g,b,d,O,E){if(O||b.length===1)return null;if(E&&E.length===b.length)return E;if(g.multiCursorPaste==="spread"){d.charCodeAt(d.length-1)===10&&(d=d.substr(0,d.length-1)),d.charCodeAt(d.length-1)===13&&(d=d.substr(0,d.length-1));var D=v.Q(d);if(D.length===b.length)return D}return null}},{key:"paste",value:function(g,b,d,O,E,D){var W=this._distributePasteToCursors(g,d,O,E,D);return W?(d=d.sort(t.a.compareRangesUsingStarts),this._distributedPaste(g,b,d,W)):this._simplePaste(g,b,d,O,E)}},{key:"_goodIndentForLine",value:function(g,b,d){var O=null,E="",D=T.a.getInheritIndentForLine(g.autoIndent,b,d,!1);if(D)O=D.action,E=D.indentation;else if(d>1){var W;for(W=d-1;W>=1;W--){var te=b.getLineContent(W),re=v.I(te);if(re>=0)break}if(W<1)return null;var ye=b.getLineMaxColumn(W),q=T.a.getEnterAction(g.autoIndent,b,new t.a(W,ye,W,ye));q&&(E=q.indentation+q.appendText)}return O&&(O===k.b.Indent&&(E=$.shiftIndent(g,E)),O===k.b.Outdent&&(E=$.unshiftIndent(g,E)),E=g.normalizeIndentation(E)),E||null}},{key:"_replaceJumpToNextIndent",value:function(g,b,d,O){var E="",D=d.getStartPosition();if(g.insertSpaces)for(var W=w.a.visibleColumnFromColumn2(g,b,D),te=g.indentSize,re=te-W%te,ye=0;ye<re;ye++)E+=" ";else E=" ";return new m.a(d,E,O)}},{key:"tab",value:function(g,b,d){for(var O=[],E=0,D=d.length;E<D;E++){var W=d[E];if(W.isEmpty()){var te=b.getLineContent(W.startLineNumber);if(/^\s*$/.test(te)&&b.isCheapToTokenize(W.startLineNumber)){var re=this._goodIndentForLine(g,b,W.startLineNumber);re=re||" ";var ye=g.normalizeIndentation(re);if(!te.startsWith(ye)){O[E]=new m.a(new t.a(W.startLineNumber,1,W.startLineNumber,te.length+1),ye,!0);continue}}O[E]=this._replaceJumpToNextIndent(g,b,W,!0)}else{if(W.startLineNumber===W.endLineNumber){var q=b.getLineMaxColumn(W.startLineNumber);if(W.startColumn!==1||W.endColumn!==q){O[E]=this._replaceJumpToNextIndent(g,b,W,!1);continue}}O[E]=new h.a(W,{isUnshift:!1,tabSize:g.tabSize,indentSize:g.indentSize,insertSpaces:g.insertSpaces,useTabStops:g.useTabStops,autoIndent:g.autoIndent})}}return O}},{key:"compositionType",value:function(g,b,d,O,E,D,W,te){var re=this,ye=O.map(function(q){return re._compositionType(d,q,E,D,W,te)});return new w.e(1,ye,{shouldPushStackElementBefore:g!==1,shouldPushStackElementAfter:!1})}},{key:"_compositionType",value:function(g,b,d,O,E,D){if(!b.isEmpty())return null;var W=b.getPosition(),te=Math.max(1,W.column-O),re=Math.min(g.getLineMaxColumn(W.lineNumber),W.column+E),ye=new t.a(W.lineNumber,te,W.lineNumber,re),q=g.getValueInRange(ye);return q===d&&D===0?null:new m.d(ye,d,0,D)}},{key:"_typeCommand",value:function(g,b,d){return d?new m.e(g,b,!0):new m.a(g,b,!0)}},{key:"_enter",value:function(g,b,d,O){if(g.autoIndent===0)return $._typeCommand(O,`
- `,d);if(!b.isCheapToTokenize(O.getStartPosition().lineNumber)||g.autoIndent===1){var E=b.getLineContent(O.startLineNumber),D=v.y(E).substring(0,O.startColumn-1);return $._typeCommand(O,`
- `+g.normalizeIndentation(D),d)}var W=T.a.getEnterAction(g.autoIndent,b,O);if(W){if(W.indentAction===k.b.None)return $._typeCommand(O,`
- `+g.normalizeIndentation(W.indentation+W.appendText),d);if(W.indentAction===k.b.Indent)return $._typeCommand(O,`
- `+g.normalizeIndentation(W.indentation+W.appendText),d);if(W.indentAction===k.b.IndentOutdent){var te=g.normalizeIndentation(W.indentation),re=g.normalizeIndentation(W.indentation+W.appendText),ye=`
- `+re+`
- `+te;return d?new m.e(O,ye,!0):new m.d(O,ye,-1,re.length-te.length,!0)}else if(W.indentAction===k.b.Outdent){var q=$.unshiftIndent(g,W.indentation);return $._typeCommand(O,`
- `+g.normalizeIndentation(q+W.appendText),d)}}var oe=b.getLineContent(O.startLineNumber),he=v.y(oe).substring(0,O.startColumn-1);if(g.autoIndent>=4){var ue=T.a.getIndentForEnter(g.autoIndent,b,O,{unshiftIndent:function(R){return $.unshiftIndent(g,R)},shiftIndent:function(R){return $.shiftIndent(g,R)},normalizeIndentation:function(R){return g.normalizeIndentation(R)}});if(ue){var ne=w.a.visibleColumnFromColumn2(g,b,O.getEndPosition()),se=O.endColumn,be=b.getLineContent(O.endLineNumber),Z=v.v(be);if(Z>=0?O=O.setEndPosition(O.endLineNumber,Math.max(O.endColumn,Z+1)):O=O.setEndPosition(O.endLineNumber,b.getLineMaxColumn(O.endLineNumber)),d)return new m.e(O,`
- `+g.normalizeIndentation(ue.afterEnter),!0);var ee=0;return se<=Z+1&&(g.insertSpaces||(ne=Math.ceil(ne/g.indentSize)),ee=Math.min(ne+1-g.normalizeIndentation(ue.afterEnter).length-1,0)),new m.d(O,`
- `+g.normalizeIndentation(ue.afterEnter),0,ee,!0)}}return $._typeCommand(O,`
- `+g.normalizeIndentation(he),d)}},{key:"_isAutoIndentType",value:function(g,b,d){if(g.autoIndent<4)return!1;for(var O=0,E=d.length;O<E;O++)if(!b.isCheapToTokenize(d[O].getEndPosition().lineNumber))return!1;return!0}},{key:"_runAutoIndentType",value:function(g,b,d,O){var E=T.a.getIndentationAtPosition(b,d.startLineNumber,d.startColumn),D=T.a.getIndentActionForType(g.autoIndent,b,d,O,{shiftIndent:function(re){return $.shiftIndent(g,re)},unshiftIndent:function(re){return $.unshiftIndent(g,re)}});if(D===null)return null;if(D!==g.normalizeIndentation(E)){var W=b.getLineFirstNonWhitespaceColumn(d.startLineNumber);return W===0?$._typeCommand(new t.a(d.startLineNumber,1,d.endLineNumber,d.endColumn),g.normalizeIndentation(D)+O,!1):$._typeCommand(new t.a(d.startLineNumber,1,d.endLineNumber,d.endColumn),g.normalizeIndentation(D)+b.getLineContent(d.startLineNumber).substring(W-1,d.startColumn-1)+O,!1)}return null}},{key:"_isAutoClosingOvertype",value:function(g,b,d,O,E){if(g.autoClosingOvertype==="never"||!g.autoClosingPairs.autoClosingPairsCloseSingleChar.has(E))return!1;for(var D=0,W=d.length;D<W;D++){var te=d[D];if(!te.isEmpty())return!1;var re=te.getPosition(),ye=b.getLineContent(re.lineNumber),q=ye.charAt(re.column-1);if(q!==E)return!1;var oe=Object(w.g)(E),he=re.column>2?ye.charCodeAt(re.column-2):0;if(he===92&&oe)return!1;if(g.autoClosingOvertype==="auto"){for(var ue=!1,ne=0,se=O.length;ne<se;ne++){var be=O[ne];if(re.lineNumber===be.startLineNumber&&re.column===be.startColumn){ue=!0;break}}if(!ue)return!1}}return!0}},{key:"_runAutoClosingOvertype",value:function(g,b,d,O,E){for(var D=[],W=0,te=O.length;W<te;W++){var re=O[W],ye=re.getPosition(),q=new t.a(ye.lineNumber,ye.column,ye.lineNumber,ye.column+1);D[W]=new m.a(q,E)}return new w.e(1,D,{shouldPushStackElementBefore:g!==1,shouldPushStackElementAfter:!1})}},{key:"_isBeforeClosingBrace",value:function(g,b){var d=b.charAt(0),O=g.autoClosingPairs.autoClosingPairsOpenByStart.get(d)||[],E=g.autoClosingPairs.autoClosingPairsCloseByStart.get(d)||[],D=O.some(function(te){return b.startsWith(te.open)}),W=E.some(function(te){return b.startsWith(te.close)});return!D&&W}},{key:"_findAutoClosingPairOpen",value:function(g,b,d,O){var E=g.autoClosingPairs.autoClosingPairsOpenByEnd.get(O);if(!E)return null;var D=null,W=Object(o.a)(E),te;try{for(W.s();!(te=W.n()).done;){var re=te.value;if(D===null||re.open.length>D.open.length){var ye=!0,q=Object(o.a)(d),oe;try{for(q.s();!(oe=q.n()).done;){var he=oe.value,ue=b.getValueInRange(new t.a(he.lineNumber,he.column-re.open.length+1,he.lineNumber,he.column));if(ue+O!==re.open){ye=!1;break}}}catch(ne){q.e(ne)}finally{q.f()}ye&&(D=re)}}}catch(ne){W.e(ne)}finally{W.f()}return D}},{key:"_findSubAutoClosingPairClose",value:function(g,b){if(b.open.length<=1)return"";var d=b.close.charAt(b.close.length-1),O=g.autoClosingPairs.autoClosingPairsCloseByEnd.get(d)||[],E=null,D=Object(o.a)(O),W;try{for(D.s();!(W=D.n()).done;){var te=W.value;te.open!==b.open&&b.open.includes(te.open)&&b.close.endsWith(te.close)&&(!E||te.open.length>E.open.length)&&(E=te)}}catch(re){D.e(re)}finally{D.f()}return E?E.close:""}},{key:"_getAutoClosingPairClose",value:function(g,b,d,O,E){var D=Object(w.g)(O),W=D?g.autoClosingQuotes:g.autoClosingBrackets;if(W==="never")return null;var te=this._findAutoClosingPairOpen(g,b,d.map(function(C){return C.getPosition()}),O);if(!te)return null;for(var re=this._findSubAutoClosingPairClose(g,te),ye=!0,q=D?g.shouldAutoCloseBefore.quote:g.shouldAutoCloseBefore.bracket,oe=0,he=d.length;oe<he;oe++){var ue=d[oe];if(!ue.isEmpty())return null;var ne=ue.getPosition(),se=b.getLineContent(ne.lineNumber),be=se.substring(ne.column-1);if(be.startsWith(re)||(ye=!1),se.length>ne.column-1){var Z=se.charAt(ne.column-1),ee=$._isBeforeClosingBrace(g,be);if(!ee&&!q(Z))return null}if(!b.isCheapToTokenize(ne.lineNumber))return null;if(te.open.length===1&&D&&W!=="always"){var ce=Object(S.a)(g.wordSeparators);if(E&&ne.column>1&&ce.get(se.charCodeAt(ne.column-2))===0||!E&&ne.column>2&&ce.get(se.charCodeAt(ne.column-3))===0)return null}b.forceTokenization(ne.lineNumber);var R=b.getLineTokens(ne.lineNumber),y=!1;try{y=T.a.shouldAutoClosePair(te,R,E?ne.column:ne.column-1)}catch(C){Object(n.e)(C)}if(!y)return null}return ye?te.close.substring(0,te.close.length-re.length):te.close}},{key:"_runAutoClosingOpenCharType",value:function(g,b,d,O,E,D,W){for(var te=[],re=0,ye=O.length;re<ye;re++){var q=O[re];te[re]=new Y(q,E,D,W)}return new w.e(1,te,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}},{key:"_shouldSurroundChar",value:function(g,b){return Object(w.g)(b)?g.autoSurround==="quotes"||g.autoSurround==="languageDefined":g.autoSurround==="brackets"||g.autoSurround==="languageDefined"}},{key:"_isSurroundSelectionType",value:function(g,b,d,O){if(!$._shouldSurroundChar(g,O)||!g.surroundingPairs.hasOwnProperty(O))return!1;for(var E=Object(w.g)(O),D=0,W=d.length;D<W;D++){var te=d[D];if(te.isEmpty())return!1;for(var re=!0,ye=te.startLineNumber;ye<=te.endLineNumber;ye++){var q=b.getLineContent(ye),oe=ye===te.startLineNumber?te.startColumn-1:0,he=ye===te.endLineNumber?te.endColumn-1:q.length,ue=q.substring(oe,he);if(/[^ \t]/.test(ue)){re=!1;break}}if(re)return!1;if(E&&te.startLineNumber===te.endLineNumber&&te.startColumn+1===te.endColumn){var ne=b.getValueInRange(te);if(Object(w.g)(ne))return!1}}return!0}},{key:"_runSurroundSelectionType",value:function(g,b,d,O,E){for(var D=[],W=0,te=O.length;W<te;W++){var re=O[W],ye=b.surroundingPairs[E];D[W]=new p(re,E,ye)}return new w.e(0,D,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}},{key:"_isTypeInterceptorElectricChar",value:function(g,b,d){return!!(d.length===1&&b.isCheapToTokenize(d[0].getEndPosition().lineNumber))}},{key:"_typeInterceptorElectricChar",value:function(g,b,d,O,E){if(!b.electricChars.hasOwnProperty(E)||!O.isEmpty())return null;var D=O.getPosition();d.forceTokenization(D.lineNumber);var W=d.getLineTokens(D.lineNumber),te;try{te=T.a.onElectricCharacter(E,W,D.column)}catch(ce){return Object(n.e)(ce),null}if(!te)return null;if(te.matchOpenBracket){var re=(W.getLineContent()+E).lastIndexOf(te.matchOpenBracket)+1,ye=d.findMatchingBracketUp(te.matchOpenBracket,{lineNumber:D.lineNumber,column:re});if(ye){if(ye.startLineNumber===D.lineNumber)return null;var q=d.getLineContent(ye.startLineNumber),oe=v.y(q),he=b.normalizeIndentation(oe),ue=d.getLineContent(D.lineNumber),ne=d.getLineFirstNonWhitespaceColumn(D.lineNumber)||D.column,se=ue.substring(ne-1,D.column-1),be=he+se+E,Z=new t.a(D.lineNumber,1,D.lineNumber,D.column),ee=new m.a(Z,be);return new w.e(1,[ee],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}},{key:"compositionEndWithInterceptors",value:function(g,b,d,O,E,D){if(!O||l.a.selectionsArrEqual(O,E))return null;var W=null,te=Object(o.a)(E),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value;if(!ye.isEmpty())return null;var q=ye.getPosition(),oe=d.getValueInRange(new t.a(q.lineNumber,q.column-1,q.lineNumber,q.column));if(W===null)W=oe;else if(W!==oe)return null}}catch(ne){te.e(ne)}finally{te.f()}if(!W)return null;if(this._isAutoClosingOvertype(b,d,E,D,W)){var he=E.map(function(ne){return new m.a(new t.a(ne.positionLineNumber,ne.positionColumn,ne.positionLineNumber,ne.positionColumn+1),"",!1)});return new w.e(1,he,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}var ue=this._getAutoClosingPairClose(b,d,E,W,!1);return ue!==null?this._runAutoClosingOpenCharType(g,b,d,E,W,!1,ue):null}},{key:"typeWithInterceptors",value:function(g,b,d,O,E,D,W){if(!g&&W===`
- `){for(var te=[],re=0,ye=E.length;re<ye;re++)te[re]=$._enter(d,O,!1,E[re]);return new w.e(1,te,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!g&&this._isAutoIndentType(d,O,E)){for(var q=[],oe=!1,he=0,ue=E.length;he<ue;he++)if(q[he]=this._runAutoIndentType(d,O,E[he],W),!q[he]){oe=!0;break}if(!oe)return new w.e(1,q,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!g&&this._isAutoClosingOvertype(d,O,E,D,W))return this._runAutoClosingOvertype(b,d,O,E,W);if(!g){var ne=this._getAutoClosingPairClose(d,O,E,W,!0);if(ne)return this._runAutoClosingOpenCharType(b,d,O,E,W,!0,ne)}if(this._isSurroundSelectionType(d,O,E,W))return this._runSurroundSelectionType(b,d,O,E,W);if(!g&&this._isTypeInterceptorElectricChar(d,O,E)){var se=this._typeInterceptorElectricChar(b,d,O,E[0],W);if(se)return se}for(var be=[],Z=0,ee=E.length;Z<ee;Z++)be[Z]=new m.a(E[Z],W);var ce=b!==1;return W===" "&&(ce=!0),new w.e(1,be,{shouldPushStackElementBefore:ce,shouldPushStackElementAfter:!1})}},{key:"typeWithoutInterceptors",value:function(g,b,d,O,E){for(var D=[],W=0,te=O.length;W<te;W++)D[W]=new m.a(O[W],E);return new w.e(1,D,{shouldPushStackElementBefore:g!==1,shouldPushStackElementAfter:!1})}},{key:"lineInsertBefore",value:function(g,b,d){if(b===null||d===null)return[];for(var O=[],E=0,D=d.length;E<D;E++){var W=d[E].positionLineNumber;if(W===1)O[E]=new m.e(new t.a(1,1,1,1),`
- `);else{W--;var te=b.getLineMaxColumn(W);O[E]=this._enter(g,b,!1,new t.a(W,te,W,te))}}return O}},{key:"lineInsertAfter",value:function(g,b,d){if(b===null||d===null)return[];for(var O=[],E=0,D=d.length;E<D;E++){var W=d[E].positionLineNumber,te=b.getLineMaxColumn(W);O[E]=this._enter(g,b,!1,new t.a(W,te,W,te))}return O}},{key:"lineBreakInsert",value:function(g,b,d){for(var O=[],E=0,D=d.length;E<D;E++)O[E]=this._enter(g,b,!0,d[E]);return O}}]),$}(),Y=function($){Object(r.a)(g,$);var A=Object(f.a)(g);function g(b,d,O,E){var D;return Object(i.a)(this,g),D=A.call(this,b,(O?d:"")+E,0,-E.length),D._openCharacter=d,D._closeCharacter=E,D.closeCharacterRange=null,D.enclosingRange=null,D}return Object(a.a)(g,[{key:"computeCursorState",value:function(d,O){var E=O.getInverseEditOperations(),D=E[0].range;return this.closeCharacterRange=new t.a(D.startLineNumber,D.endColumn-this._closeCharacter.length,D.endLineNumber,D.endColumn),this.enclosingRange=new t.a(D.startLineNumber,D.endColumn-this._openCharacter.length-this._closeCharacter.length,D.endLineNumber,D.endColumn),Object(u.a)(Object(c.a)(g.prototype),"computeCursorState",this).call(this,d,O)}}]),g}(m.d)},Ga8k:function(Ie,M,e){"use strict";e.d(M,"b",function(){return Re}),e.d(M,"a",function(){return it});var u=e("y8nQ"),c=e("Vl3Y"),r=e("DYRE"),f=e("zeV3"),o=e("rePB"),i=e("+L6B"),a=e("2/Rp"),n=e("VTBJ"),v=e("EFp3"),m=e("8txm"),h=e("MXD1"),t=e("wx14"),l=e("bRQS"),p=e("4i/N"),w=e("TSYQ"),S=e.n(w),k=e("Ff2n"),T=e("1OyB"),I=e("vuIU"),Y=e("JX7q"),$=e("Ji7U"),A=e("LK+K"),g=e("q1tI"),b=e.n(g),d=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick"];function O(bt){return typeof bt=="string"}var E=function(bt){Object($.a)(Bt,bt);var Ct=Object(A.a)(Bt);function Bt(){var qe;Object(T.a)(this,Bt);for(var st=arguments.length,ut=new Array(st),nt=0;nt<st;nt++)ut[nt]=arguments[nt];return qe=Ct.call.apply(Ct,[this].concat(ut)),Object(o.a)(Object(Y.a)(qe),"onClick",function(){var kt=qe.props,Sn=kt.onClick,Tt=kt.onStepClick,ht=kt.stepIndex;Sn&&Sn.apply(void 0,arguments),Tt(ht)}),qe}return Object(I.a)(Bt,[{key:"renderIconNode",value:function(){var st,ut=this.props,nt=ut.prefixCls,kt=ut.progressDot,Sn=ut.stepIcon,Tt=ut.stepNumber,ht=ut.status,Rt=ut.title,Ft=ut.description,nn=ut.icon,bn=ut.iconPrefix,sn=ut.icons,un,Ht=S()("".concat(nt,"-icon"),"".concat(bn,"icon"),(st={},Object(o.a)(st,"".concat(bn,"icon-").concat(nn),nn&&O(nn)),Object(o.a)(st,"".concat(bn,"icon-check"),!nn&&ht==="finish"&&(sn&&!sn.finish||!sn)),Object(o.a)(st,"".concat(bn,"icon-cross"),!nn&&ht==="error"&&(sn&&!sn.error||!sn)),st)),jn=g.createElement("span",{className:"".concat(nt,"-icon-dot")});return kt?typeof kt=="function"?un=g.createElement("span",{className:"".concat(nt,"-icon")},kt(jn,{index:Tt-1,status:ht,title:Rt,description:Ft})):un=g.createElement("span",{className:"".concat(nt,"-icon")},jn):nn&&!O(nn)?un=g.createElement("span",{className:"".concat(nt,"-icon")},nn):sn&&sn.finish&&ht==="finish"?un=g.createElement("span",{className:"".concat(nt,"-icon")},sn.finish):sn&&sn.error&&ht==="error"?un=g.createElement("span",{className:"".concat(nt,"-icon")},sn.error):nn||ht==="finish"||ht==="error"?un=g.createElement("span",{className:Ht}):un=g.createElement("span",{className:"".concat(nt,"-icon")},Tt),Sn&&(un=Sn({index:Tt-1,status:ht,title:Rt,description:Ft,node:un})),un}},{key:"render",value:function(){var st,ut=this.props,nt=ut.className,kt=ut.prefixCls,Sn=ut.style,Tt=ut.active,ht=ut.status,Rt=ht===void 0?"wait":ht,Ft=ut.iconPrefix,nn=ut.icon,bn=ut.wrapperStyle,sn=ut.stepNumber,un=ut.disabled,Ht=ut.description,jn=ut.title,Ln=ut.subTitle,Un=ut.progressDot,lt=ut.stepIcon,Nt=ut.tailContent,zt=ut.icons,en=ut.stepIndex,tn=ut.onStepClick,wn=ut.onClick,on=Object(k.a)(ut,d),vn=S()("".concat(kt,"-item"),"".concat(kt,"-item-").concat(Rt),nt,(st={},Object(o.a)(st,"".concat(kt,"-item-custom"),nn),Object(o.a)(st,"".concat(kt,"-item-active"),Tt),Object(o.a)(st,"".concat(kt,"-item-disabled"),un===!0),st)),dt=Object(n.a)({},Sn),ct={};return tn&&!un&&(ct.role="button",ct.tabIndex=0,ct.onClick=this.onClick),g.createElement("div",Object(t.a)({},on,{className:vn,style:dt}),g.createElement("div",Object(t.a)({onClick:wn},ct,{className:"".concat(kt,"-item-container")}),g.createElement("div",{className:"".concat(kt,"-item-tail")},Nt),g.createElement("div",{className:"".concat(kt,"-item-icon")},this.renderIconNode()),g.createElement("div",{className:"".concat(kt,"-item-content")},g.createElement("div",{className:"".concat(kt,"-item-title")},jn,Ln&&g.createElement("div",{title:typeof Ln=="string"?Ln:void 0,className:"".concat(kt,"-item-subtitle")},Ln)),Ht&&g.createElement("div",{className:"".concat(kt,"-item-description")},Ht))))}}]),Bt}(g.Component),D=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","items"],W=function(bt){Object($.a)(Bt,bt);var Ct=Object(A.a)(Bt);function Bt(){var qe;Object(T.a)(this,Bt);for(var st=arguments.length,ut=new Array(st),nt=0;nt<st;nt++)ut[nt]=arguments[nt];return qe=Ct.call.apply(Ct,[this].concat(ut)),Object(o.a)(Object(Y.a)(qe),"onStepClick",function(kt){var Sn=qe.props,Tt=Sn.onChange,ht=Sn.current;Tt&&ht!==kt&&Tt(kt)}),qe}return Object(I.a)(Bt,[{key:"render",value:function(){var st,ut=this,nt=this.props,kt=nt.prefixCls,Sn=nt.style,Tt=Sn===void 0?{}:Sn,ht=nt.className,Rt=nt.children,Ft=nt.direction,nn=nt.type,bn=nt.labelPlacement,sn=nt.iconPrefix,un=nt.status,Ht=nt.size,jn=nt.current,Ln=nt.progressDot,Un=nt.stepIcon,lt=nt.initial,Nt=nt.icons,zt=nt.onChange,en=nt.items,tn=en===void 0?[]:en,wn=Object(k.a)(nt,D),on=nn==="navigation",vn=Ln?"vertical":bn,dt=S()(kt,"".concat(kt,"-").concat(Ft),ht,(st={},Object(o.a)(st,"".concat(kt,"-").concat(Ht),Ht),Object(o.a)(st,"".concat(kt,"-label-").concat(vn),Ft==="horizontal"),Object(o.a)(st,"".concat(kt,"-dot"),!!Ln),Object(o.a)(st,"".concat(kt,"-navigation"),on),st));return b.a.createElement("div",Object(t.a)({className:dt,style:Tt},wn),tn.filter(function(ct){return ct}).map(function(ct,Kt){var pn=Object(n.a)({},ct),kn=lt+Kt;return un==="error"&&Kt===jn-1&&(pn.className="".concat(kt,"-next-error")),pn.status||(kn===jn?pn.status=un:kn<jn?pn.status="finish":pn.status="wait"),b.a.createElement(E,Object(t.a)({},pn,{active:kn===jn,stepNumber:kn+1,stepIndex:kn,key:kn,prefixCls:kt,iconPrefix:sn,wrapperStyle:Tt,progressDot:Ln,stepIcon:Un,icons:Nt,onStepClick:zt&&ut.onStepClick}))}))}}]),Bt}(b.a.Component);Object(o.a)(W,"Step",E),Object(o.a)(W,"defaultProps",{type:"default",prefixCls:"rc-steps",iconPrefix:"rc",direction:"horizontal",labelPlacement:"horizontal",initial:0,current:0,status:"process",size:"",progressDot:!1});var te=W,re=e("H84U"),ye=e("5OYt"),q=e("CFYs"),oe=e("Zm9Q");function he(bt){return bt.filter(function(Ct){return Ct})}function ue(bt,Ct){if(bt)return bt;var Bt=Object(oe.a)(Ct).map(function(qe){if(g.isValidElement(qe)){var st=qe.props,ut=Object(t.a)({},st);return ut}return null});return he(Bt)}var ne=function(bt,Ct){var Bt={};for(var qe in bt)Object.prototype.hasOwnProperty.call(bt,qe)&&Ct.indexOf(qe)<0&&(Bt[qe]=bt[qe]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,qe=Object.getOwnPropertySymbols(bt);st<qe.length;st++)Ct.indexOf(qe[st])<0&&Object.prototype.propertyIsEnumerable.call(bt,qe[st])&&(Bt[qe[st]]=bt[qe[st]]);return Bt},se=function(Ct){var Bt,qe=Ct.percent,st=Ct.size,ut=Ct.className,nt=Ct.direction,kt=Ct.items,Sn=Ct.responsive,Tt=Sn===void 0?!0:Sn,ht=Ct.current,Rt=ht===void 0?0:ht,Ft=Ct.children,nn=ne(Ct,["percent","size","className","direction","items","responsive","current","children"]),bn=Object(ye.a)(Tt),sn=bn.xs,un=g.useContext(re.b),Ht=un.getPrefixCls,jn=un.direction,Ln=g.useCallback(function(){return Tt&&sn?"vertical":nt},[sn,nt]),Un=Ht("steps",Ct.prefixCls),lt=Ht("",Ct.iconPrefix),Nt=ue(kt,Ft),zt=S()((Bt={},Object(o.a)(Bt,"".concat(Un,"-rtl"),jn==="rtl"),Object(o.a)(Bt,"".concat(Un,"-with-progress"),qe!==void 0),Bt),ut),en={finish:g.createElement(l.a,{className:"".concat(Un,"-finish-icon")}),error:g.createElement(p.a,{className:"".concat(Un,"-error-icon")})},tn=function(on){var vn=on.node,dt=on.status;if(dt==="process"&&qe!==void 0){var ct=st==="small"?32:40;return g.createElement("div",{className:"".concat(Un,"-progress-icon")},g.createElement(q.a,{type:"circle",percent:qe,width:ct,strokeWidth:4,format:function(){return null}}),vn)}return vn};return g.createElement(te,Object(t.a)({icons:en},nn,{current:Rt,size:st,items:Nt,direction:Ln(),stepIcon:tn,prefixCls:Un,iconPrefix:lt,className:zt}))};se.Step=te.Step;var be=se,Z=e("x+uP"),ee=e("HaE+"),ce=e("KQm4"),R=e("ODXe"),y=e("GNNt"),C=e("wEI+"),z=e("jCWc"),G=e("kPKH"),X=e("14J3"),pe=e("BMrR"),ae=e("nKUr"),Se=e("LQCs"),Te=e("/PRe"),je=e("+i8S"),ft=e("6cGi"),fe=e("bpiW"),ie=e("Kwbf"),ge=e("T1Ok"),Ve=["onFinish","step","formRef","title","stepProps"];function Ee(bt){var Ct=Object(g.useRef)(),Bt=Object(g.useContext)(Re),qe=bt.onFinish,st=bt.step,ut=bt.formRef,nt=bt.title,kt=bt.stepProps,Sn=Object(k.a)(bt,Ve);return Object(ie.b)(!Sn.submitter,"StepForm \u4E0D\u5305\u542B\u63D0\u4EA4\u6309\u94AE\uFF0C\u8BF7\u5728 StepsForm \u4E0A"),Object(g.useImperativeHandle)(ut,function(){return Ct.current}),Object(g.useEffect)(function(){if(!!(bt.name||bt.step)){var Tt=(bt.name||bt.step).toString();return Bt==null||Bt.regForm(Tt,bt),function(){Bt==null||Bt.unRegForm(Tt)}}},[]),Bt&&(Bt==null?void 0:Bt.formArrayRef)&&(Bt.formArrayRef.current[st||0]=Ct),Object(ae.jsx)(ge.a,Object(n.a)({formRef:Ct,onFinish:function(){var Tt=Object(ee.a)(Object(Z.a)().mark(function Rt(Ft){var nn;return Object(Z.a)().wrap(function(sn){for(;;)switch(sn.prev=sn.next){case 0:if(Sn.name&&(Bt==null||Bt.onFormFinish(Sn.name,Ft)),!qe){sn.next=9;break}return Bt==null||Bt.setLoading(!0),sn.next=5,qe==null?void 0:qe(Ft);case 5:return nn=sn.sent,nn&&(Bt==null||Bt.next()),Bt==null||Bt.setLoading(!1),sn.abrupt("return");case 9:(Bt==null?void 0:Bt.lastStep)||Bt==null||Bt.next();case 10:case"end":return sn.stop()}},Rt)}));function ht(Rt){return Tt.apply(this,arguments)}return ht}(),layout:"vertical"},Sn))}var Me=Ee,_e=["current","onCurrentChange","submitter","stepsFormRender","stepsRender","stepFormRender","stepsProps","onFinish","formProps","containerStyle","formRef","formMapRef"],Re=b.a.createContext(void 0),et={horizontal:function(Ct){var Bt=Ct.stepsDom,qe=Ct.formDom;return Object(ae.jsxs)(ae.Fragment,{children:[Object(ae.jsx)(pe.a,{gutter:{xs:8,sm:16,md:24},children:Object(ae.jsx)(G.a,{span:24,children:Bt})}),Object(ae.jsx)(pe.a,{gutter:{xs:8,sm:16,md:24},children:Object(ae.jsx)(G.a,{span:24,children:qe})})]})},vertical:function(Ct){var Bt=Ct.stepsDom,qe=Ct.formDom;return Object(ae.jsxs)(pe.a,{align:"stretch",wrap:!0,gutter:{xs:8,sm:16,md:24},children:[Object(ae.jsx)(G.a,{xxl:4,xl:6,lg:7,md:8,sm:10,xs:12,children:b.a.cloneElement(Bt,{style:{height:"100%"}})}),Object(ae.jsx)(G.a,{children:Object(ae.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",height:"100%"},children:qe})})]})}};function Xe(bt){var Ct=Object(g.useContext)(C.a.ConfigContext),Bt=Ct.getPrefixCls,qe=Bt("pro-steps-form"),st=bt.current,ut=bt.onCurrentChange,nt=bt.submitter,kt=bt.stepsFormRender,Sn=bt.stepsRender,Tt=bt.stepFormRender,ht=bt.stepsProps,Rt=bt.onFinish,Ft=bt.formProps,nn=bt.containerStyle,bn=bt.formRef,sn=bt.formMapRef,un=Object(k.a)(bt,_e),Ht=Object(g.useRef)(new Map),jn=Object(g.useRef)(new Map),Ln=Object(g.useRef)([]),Un=Object(g.useState)([]),lt=Object(R.a)(Un,2),Nt=lt[0],zt=lt[1],en=Object(g.useState)(!1),tn=Object(R.a)(en,2),wn=tn[0],on=tn[1],vn=Object(Se.d)(),dt=Object(ft.a)(0,{value:bt.current,onChange:bt.onCurrentChange}),ct=Object(R.a)(dt,2),Kt=ct[0],pn=ct[1],kn=Object(g.useMemo)(function(){return et[(ht==null?void 0:ht.direction)||"horizontal"]},[ht==null?void 0:ht.direction]),Pt=Object(g.useMemo)(function(){return Kt===Nt.length-1},[Nt.length,Kt]),gn=Object(g.useCallback)(function(Fr,ur){jn.current.has(Fr)||zt(function(Ti){return[].concat(Object(ce.a)(Ti),[Fr])}),jn.current.set(Fr,ur)},[]),_n=Object(g.useCallback)(function(Fr){zt(function(ur){return ur.filter(function(Ti){return Ti!==Fr})}),jn.current.delete(Fr),Ht.current.delete(Fr)},[]);Object(g.useImperativeHandle)(sn,function(){return Ln.current}),Object(g.useImperativeHandle)(bn,function(){var Fr;return(Fr=Ln.current[Kt||0])===null||Fr===void 0?void 0:Fr.current},[Kt]);var Kn=Object(g.useCallback)(function(){var Fr=Object(ee.a)(Object(Z.a)().mark(function ur(Ti,Xi){var ca,Zi;return Object(Z.a)().wrap(function(va){for(;;)switch(va.prev=va.next){case 0:if(Ht.current.set(Ti,Xi),!(!Pt||!Rt)){va.next=3;break}return va.abrupt("return");case 3:return on(!0),ca=Te.a.apply(void 0,[{}].concat(Object(ce.a)(Array.from(Ht.current.values())))),va.prev=5,va.next=8,Rt(ca);case 8:Zi=va.sent,Zi&&(pn(0),Ln.current.forEach(function(Ma){var _a;return(_a=Ma.current)===null||_a===void 0?void 0:_a.resetFields()})),va.next=15;break;case 12:va.prev=12,va.t0=va.catch(5),console.log(va.t0);case 15:return va.prev=15,on(!1),va.finish(15);case 18:case"end":return va.stop()}},ur,null,[[5,12,15,18]])}));return function(ur,Ti){return Fr.apply(this,arguments)}}(),[Pt,Rt,on,pn]),qn=Object(g.useMemo)(function(){return Object(ae.jsx)("div",{className:"".concat(qe,"-steps-container"),style:{maxWidth:Math.min(Nt.length*320,1160)},children:Object(ae.jsx)(be,Object(n.a)(Object(n.a)({},ht),{},{current:Kt,onChange:void 0,children:Nt.map(function(Fr){var ur=jn.current.get(Fr);return Object(ae.jsx)(be.Step,Object(n.a)({title:ur==null?void 0:ur.title},ur==null?void 0:ur.stepProps),Fr)})}))})},[Nt,qe,Kt,ht]),rr=Object(je.a)(function(){var Fr,ur=Ln.current[Kt];(Fr=ur.current)===null||Fr===void 0||Fr.submit()}),Rn=Object(je.a)(function(){Kt<1||pn(Kt-1)}),mr=Object(g.useMemo)(function(){return nt!==!1&&Object(ae.jsx)(a.a,Object(n.a)(Object(n.a)({type:"primary",loading:wn},nt==null?void 0:nt.submitButtonProps),{},{onClick:function(){var ur;nt==null||(ur=nt.onSubmit)===null||ur===void 0||ur.call(nt),rr()},children:vn.getMessage("stepsForm.next","\u4E0B\u4E00\u6B65")}),"next")},[vn,wn,rr,nt]),ar=Object(g.useMemo)(function(){return nt!==!1&&Object(ae.jsx)(a.a,Object(n.a)(Object(n.a)({},nt==null?void 0:nt.resetButtonProps),{},{onClick:function(){var ur;Rn(),nt==null||(ur=nt.onReset)===null||ur===void 0||ur.call(nt)},children:vn.getMessage("stepsForm.prev","\u4E0A\u4E00\u6B65")}),"pre")},[vn,Rn,nt]),sr=Object(g.useMemo)(function(){return nt!==!1&&Object(ae.jsx)(a.a,Object(n.a)(Object(n.a)({type:"primary",loading:wn},nt==null?void 0:nt.submitButtonProps),{},{onClick:function(){var ur;nt==null||(ur=nt.onSubmit)===null||ur===void 0||ur.call(nt),rr()},children:vn.getMessage("stepsForm.submit","\u63D0\u4EA4")}),"submit")},[vn,wn,rr,nt]),yr=Object(je.a)(function(){Kt>Nt.length-2||pn(Kt+1)}),br=Object(g.useMemo)(function(){var Fr=[],ur=Kt||0;if(ur<1?Fr.push(mr):ur+1===Nt.length?Fr.push(ar,sr):Fr.push(ar,mr),Fr=Fr.filter(b.a.isValidElement),nt&&nt.render){var Ti,Xi={form:(Ti=Ln.current[Kt])===null||Ti===void 0?void 0:Ti.current,onSubmit:rr,step:Kt,onPre:Rn};return nt.render(Xi,Fr)}return nt&&(nt==null?void 0:nt.render)===!1?null:Fr},[Nt.length,mr,rr,ar,Rn,Kt,sr,nt]),_r=Object(g.useMemo)(function(){return Object(oe.a)(bt.children).map(function(Fr,ur){var Ti=Fr.props,Xi=Ti.name||"".concat(ur),ca=Kt===ur,Zi=ca?{contentRender:Tt,submitter:!1}:{};return Object(ae.jsx)("div",{className:S()("".concat(qe,"-step"),Object(o.a)({},"".concat(qe,"-step-active"),ca)),children:b.a.cloneElement(Fr,Object(n.a)(Object(n.a)(Object(n.a)(Object(n.a)({},Zi),Ft),Ti),{},{name:Xi,step:ur,key:Xi}))},Xi)})},[Ft,qe,bt.children,Kt,Tt]),li=Object(g.useMemo)(function(){return Sn?Sn(Nt.map(function(Fr){var ur;return{key:Fr,title:(ur=jn.current.get(Fr))===null||ur===void 0?void 0:ur.title}}),qn):qn},[Nt,qn,Sn]),xi=Object(g.useMemo)(function(){return Object(ae.jsxs)("div",{className:"".concat(qe,"-container"),style:nn,children:[_r,kt?null:Object(ae.jsx)(f.b,{children:br})]})},[nn,_r,qe,kt,br]),Mi=Object(g.useMemo)(function(){var Fr={stepsDom:li,formDom:xi};return kt?kt(kn(Fr),br):kn(Fr)},[li,xi,kn,kt,br]);return Object(ae.jsx)("div",{className:qe,children:Object(ae.jsx)(c.a.Provider,Object(n.a)(Object(n.a)({},un),{},{children:Object(ae.jsx)(Re.Provider,{value:{loading:wn,setLoading:on,regForm:gn,keyArray:Nt,next:yr,formArrayRef:Ln,formMapRef:jn,lastStep:Pt,unRegForm:_n,onFormFinish:Kn},children:Mi})}))})}function it(bt){return Object(ae.jsx)(Se.a,{children:Object(ae.jsx)(Xe,Object(n.a)({},bt))})}it.StepForm=Me,it.useForm=c.a.useForm},GbLa:function(Ie,M,e){var u=e("M96O"),c=e("lnHP");Ie.exports={write:r,read:i};function r(a){var n={options:{directed:a.isDirected(),multigraph:a.isMultigraph(),compound:a.isCompound()},nodes:f(a),edges:o(a)};return u.isUndefined(a.graph())||(n.value=u.clone(a.graph())),n}function f(a){return u.map(a.nodes(),function(n){var v=a.node(n),m=a.parent(n),h={v:n};return u.isUndefined(v)||(h.value=v),u.isUndefined(m)||(h.parent=m),h})}function o(a){return u.map(a.edges(),function(n){var v=a.edge(n),m={v:n.v,w:n.w};return u.isUndefined(n.name)||(m.name=n.name),u.isUndefined(v)||(m.value=v),m})}function i(a){var n=new c(a.options).setGraph(a.value);return u.each(a.nodes,function(v){n.setNode(v.v,v.value),v.parent&&n.setParent(v.v,v.parent)}),u.each(a.edges,function(v){n.setEdge({v:v.v,w:v.w,name:v.name},v.value)}),n}},Gi0A:function(Ie,M,e){var u=e("QqLw"),c=e("ExA7"),r="[object Map]";function f(o){return c(o)&&u(o)==r}Ie.exports=f},Gw4z:function(Ie,M,e){"use strict";e.d(M,"b",function(){return a}),e.d(M,"a",function(){return h});var u=e("tJVT"),c=e("fWQN"),r=e("mtLc"),f=function(){function t(l,p,w,S){Object(c.a)(this,t),this.originalStart=l,this.originalLength=p,this.modifiedStart=w,this.modifiedLength=S}return Object(r.a)(t,[{key:"getOriginalEnd",value:function(){return this.originalStart+this.originalLength}},{key:"getModifiedEnd",value:function(){return this.modifiedStart+this.modifiedLength}}]),t}(),o=e("7afs"),i=function(){function t(l){Object(c.a)(this,t),this.source=l}return Object(r.a)(t,[{key:"getElements",value:function(){for(var p=this.source,w=new Int32Array(p.length),S=0,k=p.length;S<k;S++)w[S]=p.charCodeAt(S);return w}}]),t}();function a(t,l,p){return new h(new i(t),new i(l)).ComputeDiff(p).changes}var n=function(){function t(){Object(c.a)(this,t)}return Object(r.a)(t,null,[{key:"Assert",value:function(p,w){if(!p)throw new Error(w)}}]),t}(),v=function(){function t(){Object(c.a)(this,t)}return Object(r.a)(t,null,[{key:"Copy",value:function(p,w,S,k,T){for(var I=0;I<T;I++)S[k+I]=p[w+I]}},{key:"Copy2",value:function(p,w,S,k,T){for(var I=0;I<T;I++)S[k+I]=p[w+I]}}]),t}(),m=function(){function t(){Object(c.a)(this,t),this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}return Object(r.a)(t,[{key:"MarkNextChange",value:function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new f(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}},{key:"AddOriginalElement",value:function(p,w){this.m_originalStart=Math.min(this.m_originalStart,p),this.m_modifiedStart=Math.min(this.m_modifiedStart,w),this.m_originalCount++}},{key:"AddModifiedElement",value:function(p,w){this.m_originalStart=Math.min(this.m_originalStart,p),this.m_modifiedStart=Math.min(this.m_modifiedStart,w),this.m_modifiedCount++}},{key:"getChanges",value:function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}},{key:"getReverseChanges",value:function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}]),t}(),h=function(){function t(l,p){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;Object(c.a)(this,t),this.ContinueProcessingPredicate=w;var S=t._getElements(l),k=Object(u.a)(S,3),T=k[0],I=k[1],Y=k[2],$=t._getElements(p),A=Object(u.a)($,3),g=A[0],b=A[1],d=A[2];this._hasStrings=Y&&d,this._originalStringElements=T,this._originalElementsOrHash=I,this._modifiedStringElements=g,this._modifiedElementsOrHash=b,this.m_forwardHistory=[],this.m_reverseHistory=[]}return Object(r.a)(t,[{key:"ElementsAreEqual",value:function(p,w){return this._originalElementsOrHash[p]!==this._modifiedElementsOrHash[w]?!1:this._hasStrings?this._originalStringElements[p]===this._modifiedStringElements[w]:!0}},{key:"OriginalElementsAreEqual",value:function(p,w){return this._originalElementsOrHash[p]!==this._originalElementsOrHash[w]?!1:this._hasStrings?this._originalStringElements[p]===this._originalStringElements[w]:!0}},{key:"ModifiedElementsAreEqual",value:function(p,w){return this._modifiedElementsOrHash[p]!==this._modifiedElementsOrHash[w]?!1:this._hasStrings?this._modifiedStringElements[p]===this._modifiedStringElements[w]:!0}},{key:"ComputeDiff",value:function(p){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,p)}},{key:"_ComputeDiff",value:function(p,w,S,k,T){var I=[!1],Y=this.ComputeDiffRecursive(p,w,S,k,I);return T&&(Y=this.PrettifyChanges(Y)),{quitEarly:I[0],changes:Y}}},{key:"ComputeDiffRecursive",value:function(p,w,S,k,T){for(T[0]=!1;p<=w&&S<=k&&this.ElementsAreEqual(p,S);)p++,S++;for(;w>=p&&k>=S&&this.ElementsAreEqual(w,k);)w--,k--;if(p>w||S>k){var I;return S<=k?(n.Assert(p===w+1,"originalStart should only be one more than originalEnd"),I=[new f(p,0,S,k-S+1)]):p<=w?(n.Assert(S===k+1,"modifiedStart should only be one more than modifiedEnd"),I=[new f(p,w-p+1,S,0)]):(n.Assert(p===w+1,"originalStart should only be one more than originalEnd"),n.Assert(S===k+1,"modifiedStart should only be one more than modifiedEnd"),I=[]),I}var Y=[0],$=[0],A=this.ComputeRecursionPoint(p,w,S,k,Y,$,T),g=Y[0],b=$[0];if(A!==null)return A;if(!T[0]){var d=this.ComputeDiffRecursive(p,g,S,b,T),O=[];return T[0]?O=[new f(g+1,w-(g+1)+1,b+1,k-(b+1)+1)]:O=this.ComputeDiffRecursive(g+1,w,b+1,k,T),this.ConcatenateChanges(d,O)}return[new f(p,w-p+1,S,k-S+1)]}},{key:"WALKTRACE",value:function(p,w,S,k,T,I,Y,$,A,g,b,d,O,E,D,W,te,re){var ye=null,q=null,oe=new m,he=w,ue=S,ne=O[0]-W[0]-k,se=-1073741824,be=this.m_forwardHistory.length-1;do{var Z=ne+p;Z===he||Z<ue&&A[Z-1]<A[Z+1]?(b=A[Z+1],E=b-ne-k,b<se&&oe.MarkNextChange(),se=b,oe.AddModifiedElement(b+1,E),ne=Z+1-p):(b=A[Z-1]+1,E=b-ne-k,b<se&&oe.MarkNextChange(),se=b-1,oe.AddOriginalElement(b,E+1),ne=Z-1-p),be>=0&&(A=this.m_forwardHistory[be],p=A[0],he=1,ue=A.length-1)}while(--be>=-1);if(ye=oe.getReverseChanges(),re[0]){var ee=O[0]+1,ce=W[0]+1;if(ye!==null&&ye.length>0){var R=ye[ye.length-1];ee=Math.max(ee,R.getOriginalEnd()),ce=Math.max(ce,R.getModifiedEnd())}q=[new f(ee,d-ee+1,ce,D-ce+1)]}else{oe=new m,he=I,ue=Y,ne=O[0]-W[0]-$,se=1073741824,be=te?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var y=ne+T;y===he||y<ue&&g[y-1]>=g[y+1]?(b=g[y+1]-1,E=b-ne-$,b>se&&oe.MarkNextChange(),se=b+1,oe.AddOriginalElement(b+1,E+1),ne=y+1-T):(b=g[y-1],E=b-ne-$,b>se&&oe.MarkNextChange(),se=b,oe.AddModifiedElement(b+1,E+1),ne=y-1-T),be>=0&&(g=this.m_reverseHistory[be],T=g[0],he=1,ue=g.length-1)}while(--be>=-1);q=oe.getChanges()}return this.ConcatenateChanges(ye,q)}},{key:"ComputeRecursionPoint",value:function(p,w,S,k,T,I,Y){var $=0,A=0,g=0,b=0,d=0,O=0;p--,S--,T[0]=0,I[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var E=w-p+(k-S),D=E+1,W=new Int32Array(D),te=new Int32Array(D),re=k-S,ye=w-p,q=p-S,oe=w-k,he=ye-re,ue=he%2==0;W[re]=p,te[ye]=w,Y[0]=!1;for(var ne=1;ne<=E/2+1;ne++){var se=0,be=0;g=this.ClipDiagonalBound(re-ne,ne,re,D),b=this.ClipDiagonalBound(re+ne,ne,re,D);for(var Z=g;Z<=b;Z+=2){Z===g||Z<b&&W[Z-1]<W[Z+1]?$=W[Z+1]:$=W[Z-1]+1,A=$-(Z-re)-q;for(var ee=$;$<w&&A<k&&this.ElementsAreEqual($+1,A+1);)$++,A++;if(W[Z]=$,$+A>se+be&&(se=$,be=A),!ue&&Math.abs(Z-ye)<=ne-1&&$>=te[Z])return T[0]=$,I[0]=A,ee<=te[Z]&&1447>0&&ne<=1447+1?this.WALKTRACE(re,g,b,q,ye,d,O,oe,W,te,$,w,T,A,k,I,ue,Y):null}var ce=(se-p+(be-S)-ne)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(se,ce))return Y[0]=!0,T[0]=se,I[0]=be,ce>0&&1447>0&&ne<=1447+1?this.WALKTRACE(re,g,b,q,ye,d,O,oe,W,te,$,w,T,A,k,I,ue,Y):(p++,S++,[new f(p,w-p+1,S,k-S+1)]);d=this.ClipDiagonalBound(ye-ne,ne,ye,D),O=this.ClipDiagonalBound(ye+ne,ne,ye,D);for(var R=d;R<=O;R+=2){R===d||R<O&&te[R-1]>=te[R+1]?$=te[R+1]-1:$=te[R-1],A=$-(R-ye)-oe;for(var y=$;$>p&&A>S&&this.ElementsAreEqual($,A);)$--,A--;if(te[R]=$,ue&&Math.abs(R-re)<=ne&&$<=W[R])return T[0]=$,I[0]=A,y>=W[R]&&1447>0&&ne<=1447+1?this.WALKTRACE(re,g,b,q,ye,d,O,oe,W,te,$,w,T,A,k,I,ue,Y):null}if(ne<=1447){var C=new Int32Array(b-g+2);C[0]=re-g+1,v.Copy2(W,g,C,1,b-g+1),this.m_forwardHistory.push(C),C=new Int32Array(O-d+2),C[0]=ye-d+1,v.Copy2(te,d,C,1,O-d+1),this.m_reverseHistory.push(C)}}return this.WALKTRACE(re,g,b,q,ye,d,O,oe,W,te,$,w,T,A,k,I,ue,Y)}},{key:"PrettifyChanges",value:function(p){for(var w=0;w<p.length;w++){for(var S=p[w],k=w<p.length-1?p[w+1].originalStart:this._originalElementsOrHash.length,T=w<p.length-1?p[w+1].modifiedStart:this._modifiedElementsOrHash.length,I=S.originalLength>0,Y=S.modifiedLength>0;S.originalStart+S.originalLength<k&&S.modifiedStart+S.modifiedLength<T&&(!I||this.OriginalElementsAreEqual(S.originalStart,S.originalStart+S.originalLength))&&(!Y||this.ModifiedElementsAreEqual(S.modifiedStart,S.modifiedStart+S.modifiedLength));)S.originalStart++,S.modifiedStart++;var $=[null];if(w<p.length-1&&this.ChangesOverlap(p[w],p[w+1],$)){p[w]=$[0],p.splice(w+1,1),w--;continue}}for(var A=p.length-1;A>=0;A--){var g=p[A],b=0,d=0;if(A>0){var O=p[A-1];b=O.originalStart+O.originalLength,d=O.modifiedStart+O.modifiedLength}for(var E=g.originalLength>0,D=g.modifiedLength>0,W=0,te=this._boundaryScore(g.originalStart,g.originalLength,g.modifiedStart,g.modifiedLength),re=1;;re++){var ye=g.originalStart-re,q=g.modifiedStart-re;if(ye<b||q<d||E&&!this.OriginalElementsAreEqual(ye,ye+g.originalLength)||D&&!this.ModifiedElementsAreEqual(q,q+g.modifiedLength))break;var oe=ye===b&&q===d,he=(oe?5:0)+this._boundaryScore(ye,g.originalLength,q,g.modifiedLength);he>te&&(te=he,W=re)}g.originalStart-=W,g.modifiedStart-=W;var ue=[null];if(A>0&&this.ChangesOverlap(p[A-1],p[A],ue)){p[A-1]=ue[0],p.splice(A,1),A++;continue}}if(this._hasStrings)for(var ne=1,se=p.length;ne<se;ne++){var be=p[ne-1],Z=p[ne],ee=Z.originalStart-be.originalStart-be.originalLength,ce=be.originalStart,R=Z.originalStart+Z.originalLength,y=R-ce,C=be.modifiedStart,z=Z.modifiedStart+Z.modifiedLength,G=z-C;if(ee<5&&y<20&&G<20){var X=this._findBetterContiguousSequence(ce,y,C,G,ee);if(X){var pe=Object(u.a)(X,2),ae=pe[0],Se=pe[1];(ae!==be.originalStart+be.originalLength||Se!==be.modifiedStart+be.modifiedLength)&&(be.originalLength=ae-be.originalStart,be.modifiedLength=Se-be.modifiedStart,Z.originalStart=ae+ee,Z.modifiedStart=Se+ee,Z.originalLength=R-Z.originalStart,Z.modifiedLength=z-Z.modifiedStart)}}}return p}},{key:"_findBetterContiguousSequence",value:function(p,w,S,k,T){if(w<T||k<T)return null;for(var I=p+w-T+1,Y=S+k-T+1,$=0,A=0,g=0,b=p;b<I;b++)for(var d=S;d<Y;d++){var O=this._contiguousSequenceScore(b,d,T);O>0&&O>$&&($=O,A=b,g=d)}return $>0?[A,g]:null}},{key:"_contiguousSequenceScore",value:function(p,w,S){for(var k=0,T=0;T<S;T++){if(!this.ElementsAreEqual(p+T,w+T))return 0;k+=this._originalStringElements[p+T].length}return k}},{key:"_OriginalIsBoundary",value:function(p){return p<=0||p>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[p])}},{key:"_OriginalRegionIsBoundary",value:function(p,w){if(this._OriginalIsBoundary(p)||this._OriginalIsBoundary(p-1))return!0;if(w>0){var S=p+w;if(this._OriginalIsBoundary(S-1)||this._OriginalIsBoundary(S))return!0}return!1}},{key:"_ModifiedIsBoundary",value:function(p){return p<=0||p>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[p])}},{key:"_ModifiedRegionIsBoundary",value:function(p,w){if(this._ModifiedIsBoundary(p)||this._ModifiedIsBoundary(p-1))return!0;if(w>0){var S=p+w;if(this._ModifiedIsBoundary(S-1)||this._ModifiedIsBoundary(S))return!0}return!1}},{key:"_boundaryScore",value:function(p,w,S,k){var T=this._OriginalRegionIsBoundary(p,w)?1:0,I=this._ModifiedRegionIsBoundary(S,k)?1:0;return T+I}},{key:"ConcatenateChanges",value:function(p,w){var S=[];if(p.length===0||w.length===0)return w.length>0?w:p;if(this.ChangesOverlap(p[p.length-1],w[0],S)){var k=new Array(p.length+w.length-1);return v.Copy(p,0,k,0,p.length-1),k[p.length-1]=S[0],v.Copy(w,1,k,p.length,w.length-1),k}else{var T=new Array(p.length+w.length);return v.Copy(p,0,T,0,p.length),v.Copy(w,0,T,p.length,w.length),T}}},{key:"ChangesOverlap",value:function(p,w,S){if(n.Assert(p.originalStart<=w.originalStart,"Left change is not less than or equal to right change"),n.Assert(p.modifiedStart<=w.modifiedStart,"Left change is not less than or equal to right change"),p.originalStart+p.originalLength>=w.originalStart||p.modifiedStart+p.modifiedLength>=w.modifiedStart){var k=p.originalStart,T=p.originalLength,I=p.modifiedStart,Y=p.modifiedLength;return p.originalStart+p.originalLength>=w.originalStart&&(T=w.originalStart+w.originalLength-p.originalStart),p.modifiedStart+p.modifiedLength>=w.modifiedStart&&(Y=w.modifiedStart+w.modifiedLength-p.modifiedStart),S[0]=new f(k,T,I,Y),!0}else return S[0]=null,!1}},{key:"ClipDiagonalBound",value:function(p,w,S,k){if(p>=0&&p<k)return p;var T=S,I=k-S-1,Y=w%2==0;if(p<0){var $=T%2==0;return Y===$?0:1}else{var A=I%2==0;return Y===A?k-1:k-2}}}],[{key:"_isStringArray",value:function(p){return p.length>0&&typeof p[0]=="string"}},{key:"_getElements",value:function(p){var w=p.getElements();if(t._isStringArray(w)){for(var S=new Int32Array(w.length),k=0,T=w.length;k<T;k++)S[k]=Object(o.c)(w[k],0);return[w,S,!0]}return w instanceof Int32Array?[[],w,!1]:[[],new Int32Array(w),!1]}}]),t}()},Gytx:function(Ie,M){Ie.exports=function(u,c,r,f){var o=r?r.call(f,u,c):void 0;if(o!==void 0)return!!o;if(u===c)return!0;if(typeof u!="object"||!u||typeof c!="object"||!c)return!1;var i=Object.keys(u),a=Object.keys(c);if(i.length!==a.length)return!1;for(var n=Object.prototype.hasOwnProperty.bind(c),v=0;v<i.length;v++){var m=i[v];if(!n(m))return!1;var h=u[m],t=c[m];if(o=r?r.call(f,h,t,m):void 0,o===!1||o===void 0&&h!==t)return!1}return!0}},Gz7P:function(Ie,M,e){"use strict";e.d(M,"b",function(){return T}),e.d(M,"a",function(){return I}),e.d(M,"c",function(){return Y}),e.d(M,"d",function(){return $}),e.d(M,"e",function(){return b});var u=e("rePB"),c=e("T5bk"),r=e("wx14"),f=e("ODXe"),o=e("KQm4"),i=e("U8pU"),a=e("8Skl"),n=e("6RRn"),v=e("OZM5"),m=e("NvD2"),h=e("815F"),t=e("6cGi"),l=e("q1tI"),p=e.n(l),w=e("kaz8"),S=e("jsC+"),k=e("9yH6"),T={},I="SELECT_ALL",Y="SELECT_INVERT",$="SELECT_NONE",A=[];function g(d,O){var E=[];return(d||[]).forEach(function(D){E.push(D),D&&Object(i.a)(D)==="object"&&O in D&&(E=[].concat(Object(o.a)(E),Object(o.a)(g(D[O],O))))}),E}function b(d,O){var E=d||{},D=E.preserveSelectedRowKeys,W=E.selectedRowKeys,te=E.defaultSelectedRowKeys,re=E.getCheckboxProps,ye=E.onChange,q=E.onSelect,oe=E.onSelectAll,he=E.onSelectInvert,ue=E.onSelectNone,ne=E.onSelectMultiple,se=E.columnWidth,be=E.type,Z=E.selections,ee=E.fixed,ce=E.renderCell,R=E.hideSelectAll,y=E.checkStrictly,C=y===void 0?!0:y,z=O.prefixCls,G=O.data,X=O.pageData,pe=O.getRecordByKey,ae=O.getRowKey,Se=O.expandType,Te=O.childrenColumnName,je=O.locale,ft=O.getPopupContainer,fe=Object(t.a)(W||te||A,{value:W}),ie=Object(f.a)(fe,2),ge=ie[0],Ve=ie[1],Ee=l.useRef(new Map),Me=Object(l.useCallback)(function(bn){if(D){var sn=new Map;bn.forEach(function(un){var Ht=pe(un);!Ht&&Ee.current.has(un)&&(Ht=Ee.current.get(un)),sn.set(un,Ht)}),Ee.current=sn}},[pe,D]);l.useEffect(function(){Me(ge)},[ge]);var _e=Object(l.useMemo)(function(){return C?{keyEntities:null}:Object(h.a)(G,{externalGetKey:ae,childrenPropName:Te})},[G,ae,C,Te]),Re=_e.keyEntities,et=Object(l.useMemo)(function(){return g(X,Te)},[X,Te]),Xe=Object(l.useMemo)(function(){var bn=new Map;return et.forEach(function(sn,un){var Ht=ae(sn,un),jn=(re?re(sn):null)||{};bn.set(Ht,jn)}),bn},[et,ae,re]),it=Object(l.useCallback)(function(bn){var sn;return!!((sn=Xe.get(ae(bn)))===null||sn===void 0?void 0:sn.disabled)},[Xe,ae]),bt=Object(l.useMemo)(function(){if(C)return[ge||[],[]];var bn=Object(m.a)(ge,!0,Re,it),sn=bn.checkedKeys,un=bn.halfCheckedKeys;return[sn||[],un]},[ge,C,Re,it]),Ct=Object(f.a)(bt,2),Bt=Ct[0],qe=Ct[1],st=Object(l.useMemo)(function(){var bn=be==="radio"?Bt.slice(0,1):Bt;return new Set(bn)},[Bt,be]),ut=Object(l.useMemo)(function(){return be==="radio"?new Set:new Set(qe)},[qe,be]),nt=Object(l.useState)(null),kt=Object(f.a)(nt,2),Sn=kt[0],Tt=kt[1];l.useEffect(function(){d||Ve(A)},[!!d]);var ht=Object(l.useCallback)(function(bn,sn){var un,Ht;Me(bn),D?(un=bn,Ht=bn.map(function(jn){return Ee.current.get(jn)})):(un=[],Ht=[],bn.forEach(function(jn){var Ln=pe(jn);Ln!==void 0&&(un.push(jn),Ht.push(Ln))})),Ve(un),ye==null||ye(un,Ht,{type:sn})},[Ve,pe,ye,D]),Rt=Object(l.useCallback)(function(bn,sn,un,Ht){if(q){var jn=un.map(function(Ln){return pe(Ln)});q(pe(bn),sn,jn,Ht)}ht(un,"single")},[q,pe,ht]),Ft=Object(l.useMemo)(function(){if(!Z||R)return null;var bn=Z===!0?[I,Y,$]:Z;return bn.map(function(sn){return sn===I?{key:"all",text:je.selectionAll,onSelect:function(){ht(G.map(function(Ht,jn){return ae(Ht,jn)}).filter(function(Ht){var jn=Xe.get(Ht);return!(jn==null?void 0:jn.disabled)||st.has(Ht)}),"all")}}:sn===Y?{key:"invert",text:je.selectInvert,onSelect:function(){var Ht=new Set(st);X.forEach(function(Ln,Un){var lt=ae(Ln,Un),Nt=Xe.get(lt);(Nt==null?void 0:Nt.disabled)||(Ht.has(lt)?Ht.delete(lt):Ht.add(lt))});var jn=Array.from(Ht);he&&he(jn),ht(jn,"invert")}}:sn===$?{key:"none",text:je.selectNone,onSelect:function(){ue==null||ue(),ht(Array.from(st).filter(function(Ht){var jn=Xe.get(Ht);return jn==null?void 0:jn.disabled}),"none")}}:sn}).map(function(sn){return Object(r.a)(Object(r.a)({},sn),{onSelect:function(){for(var Ht,jn,Ln=arguments.length,Un=new Array(Ln),lt=0;lt<Ln;lt++)Un[lt]=arguments[lt];(jn=sn.onSelect)===null||jn===void 0||(Ht=jn).call.apply(Ht,[sn].concat(Un)),Tt(null)}})})},[Z,st,X,ae,he,ht]),nn=Object(l.useCallback)(function(bn){var sn;if(!d)return bn.filter(function(Rn){return Rn!==T});var un=Object(o.a)(bn),Ht=new Set(st),jn=et.map(ae).filter(function(Rn){return!Xe.get(Rn).disabled}),Ln=jn.every(function(Rn){return Ht.has(Rn)}),Un=jn.some(function(Rn){return Ht.has(Rn)}),lt=function(){var mr=[];Ln?jn.forEach(function(sr){Ht.delete(sr),mr.push(sr)}):jn.forEach(function(sr){Ht.has(sr)||(Ht.add(sr),mr.push(sr))});var ar=Array.from(Ht);oe==null||oe(!Ln,ar.map(function(sr){return pe(sr)}),mr.map(function(sr){return pe(sr)})),ht(ar,"all"),Tt(null)},Nt;if(be!=="radio"){var zt;if(Ft){var en={getPopupContainer:ft,items:Ft.map(function(Rn,mr){var ar=Rn.key,sr=Rn.text,yr=Rn.onSelect;return{key:ar||mr,onClick:function(){yr==null||yr(jn)},label:sr}})};zt=l.createElement("div",{className:"".concat(z,"-selection-extra")},l.createElement(S.a,{menu:en,getPopupContainer:ft},l.createElement("span",null,l.createElement(a.a,null))))}var tn=et.map(function(Rn,mr){var ar=ae(Rn,mr),sr=Xe.get(ar)||{};return Object(r.a)({checked:Ht.has(ar)},sr)}).filter(function(Rn){var mr=Rn.disabled;return mr}),wn=!!tn.length&&tn.length===et.length,on=wn&&tn.every(function(Rn){var mr=Rn.checked;return mr}),vn=wn&&tn.some(function(Rn){var mr=Rn.checked;return mr});Nt=!R&&l.createElement("div",{className:"".concat(z,"-selection")},l.createElement(w.a,{checked:wn?on:!!et.length&&Ln,indeterminate:wn?!on&&vn:!Ln&&Un,onChange:lt,disabled:et.length===0||wn,"aria-label":zt?"Custom selection":"Select all",skipGroup:!0}),zt)}var dt;be==="radio"?dt=function(mr,ar,sr){var yr=ae(ar,sr),br=Ht.has(yr);return{node:l.createElement(k.a,Object(r.a)({},Xe.get(yr),{checked:br,onClick:function(li){return li.stopPropagation()},onChange:function(li){Ht.has(yr)||Rt(yr,!0,[yr],li.nativeEvent)}})),checked:br}}:dt=function(mr,ar,sr){var yr,br=ae(ar,sr),_r=Ht.has(br),li=ut.has(br),xi=Xe.get(br),Mi;return Se==="nest"?Mi=li:Mi=(yr=xi==null?void 0:xi.indeterminate)!==null&&yr!==void 0?yr:li,{node:l.createElement(w.a,Object(r.a)({},xi,{indeterminate:Mi,checked:_r,skipGroup:!0,onClick:function(ur){return ur.stopPropagation()},onChange:function(ur){var Ti=ur.nativeEvent,Xi=Ti.shiftKey,ca=-1,Zi=-1;if(Xi&&C){var xa=new Set([Sn,br]);jn.some(function(Ue,Ze){if(xa.has(Ue))if(ca===-1)ca=Ze;else return Zi=Ze,!0;return!1})}if(Zi!==-1&&ca!==Zi&&C){var va=jn.slice(ca,Zi+1),Ma=[];_r?va.forEach(function(Ue){Ht.has(Ue)&&(Ma.push(Ue),Ht.delete(Ue))}):va.forEach(function(Ue){Ht.has(Ue)||(Ma.push(Ue),Ht.add(Ue))});var _a=Array.from(Ht);ne==null||ne(!_r,_a.map(function(Ue){return pe(Ue)}),Ma.map(function(Ue){return pe(Ue)})),ht(_a,"multiple")}else{var na=Bt;if(C){var sa=_r?Object(v.b)(na,br):Object(v.a)(na,br);Rt(br,!_r,sa,Ti)}else{var Ai=Object(m.a)([].concat(Object(o.a)(na),[br]),!0,Re,it),ba=Ai.checkedKeys,ea=Ai.halfCheckedKeys,mn=ba;if(_r){var It=new Set(ba);It.delete(br),mn=Object(m.a)(Array.from(It),{checked:!1,halfCheckedKeys:ea},Re,it).checkedKeys}Rt(br,!_r,mn,Ti)}}Tt(_r?null:br)}})),checked:_r}};var ct=function(mr,ar,sr){var yr=dt(mr,ar,sr),br=yr.node,_r=yr.checked;return ce?ce(_r,ar,sr,br):br};if(!un.includes(T))if(un.findIndex(function(Rn){var mr;return((mr=Rn[n.a])===null||mr===void 0?void 0:mr.columnType)==="EXPAND_COLUMN"})===0){var Kt=un,pn=Object(c.a)(Kt),kn=pn[0],Pt=pn.slice(1);un=[kn,T].concat(Object(o.a)(Pt))}else un=[T].concat(Object(o.a)(un));var gn=un.indexOf(T);un=un.filter(function(Rn,mr){return Rn!==T||mr===gn});var _n=un[gn-1],Kn=un[gn+1],qn=ee;qn===void 0&&((Kn==null?void 0:Kn.fixed)!==void 0?qn=Kn.fixed:(_n==null?void 0:_n.fixed)!==void 0&&(qn=_n.fixed)),qn&&_n&&((sn=_n[n.a])===null||sn===void 0?void 0:sn.columnType)==="EXPAND_COLUMN"&&_n.fixed===void 0&&(_n.fixed=qn);var rr=Object(u.a)({fixed:qn,width:se,className:"".concat(z,"-selection-column"),title:d.columnTitle||Nt,render:ct},n.a,{className:"".concat(z,"-selection-col")});return un.map(function(Rn){return Rn===T?rr:Rn})},[ae,et,d,Bt,st,ut,se,Ft,Se,Sn,Xe,ne,Rt,it]);return[nn,st]}},H7XF:function(Ie,M,e){"use strict";M.byteLength=n,M.toByteArray=m,M.fromByteArray=l;for(var u=[],c=[],r=typeof Uint8Array!="undefined"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,i=f.length;o<i;++o)u[o]=f[o],c[f.charCodeAt(o)]=o;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63;function a(p){var w=p.length;if(w%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var S=p.indexOf("=");S===-1&&(S=w);var k=S===w?0:4-S%4;return[S,k]}function n(p){var w=a(p),S=w[0],k=w[1];return(S+k)*3/4-k}function v(p,w,S){return(w+S)*3/4-S}function m(p){var w,S=a(p),k=S[0],T=S[1],I=new r(v(p,k,T)),Y=0,$=T>0?k-4:k,A;for(A=0;A<$;A+=4)w=c[p.charCodeAt(A)]<<18|c[p.charCodeAt(A+1)]<<12|c[p.charCodeAt(A+2)]<<6|c[p.charCodeAt(A+3)],I[Y++]=w>>16&255,I[Y++]=w>>8&255,I[Y++]=w&255;return T===2&&(w=c[p.charCodeAt(A)]<<2|c[p.charCodeAt(A+1)]>>4,I[Y++]=w&255),T===1&&(w=c[p.charCodeAt(A)]<<10|c[p.charCodeAt(A+1)]<<4|c[p.charCodeAt(A+2)]>>2,I[Y++]=w>>8&255,I[Y++]=w&255),I}function h(p){return u[p>>18&63]+u[p>>12&63]+u[p>>6&63]+u[p&63]}function t(p,w,S){for(var k,T=[],I=w;I<S;I+=3)k=(p[I]<<16&16711680)+(p[I+1]<<8&65280)+(p[I+2]&255),T.push(h(k));return T.join("")}function l(p){for(var w,S=p.length,k=S%3,T=[],I=16383,Y=0,$=S-k;Y<$;Y+=I)T.push(t(p,Y,Y+I>$?$:Y+I));return k===1?(w=p[S-1],T.push(u[w>>2]+u[w<<4&63]+"==")):k===2&&(w=(p[S-2]<<8)+p[S-1],T.push(u[w>>10]+u[w>>4&63]+u[w<<2&63]+"=")),T.join("")}},H8j4:function(Ie,M,e){var u=e("QkVE");function c(r,f){var o=u(this,r),i=o.size;return o.set(r,f),this.size+=o.size==i?0:1,this}Ie.exports=c},HDXh:function(Ie,M,e){"use strict";(function(u){/*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */var c=e("H7XF"),r=e("kVK+"),f=e("v3Qx");M.Buffer=n,M.SlowBuffer=T,M.INSPECT_MAX_BYTES=50,n.TYPED_ARRAY_SUPPORT=u.TYPED_ARRAY_SUPPORT!==void 0?u.TYPED_ARRAY_SUPPORT:o(),M.kMaxLength=i();function o(){try{var fe=new Uint8Array(1);return fe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},fe.foo()===42&&typeof fe.subarray=="function"&&fe.subarray(1,1).byteLength===0}catch(ie){return!1}}function i(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(fe,ie){if(i()<ie)throw new RangeError("Invalid typed array length");return n.TYPED_ARRAY_SUPPORT?(fe=new Uint8Array(ie),fe.__proto__=n.prototype):(fe===null&&(fe=new n(ie)),fe.length=ie),fe}function n(fe,ie,ge){if(!n.TYPED_ARRAY_SUPPORT&&!(this instanceof n))return new n(fe,ie,ge);if(typeof fe=="number"){if(typeof ie=="string")throw new Error("If encoding is specified then the first argument must be a string");return t(this,fe)}return v(this,fe,ie,ge)}n.poolSize=8192,n._augment=function(fe){return fe.__proto__=n.prototype,fe};function v(fe,ie,ge,Ve){if(typeof ie=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&ie instanceof ArrayBuffer?w(fe,ie,ge,Ve):typeof ie=="string"?l(fe,ie,ge):S(fe,ie)}n.from=function(fe,ie,ge){return v(null,fe,ie,ge)},n.TYPED_ARRAY_SUPPORT&&(n.prototype.__proto__=Uint8Array.prototype,n.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&n[Symbol.species]===n&&Object.defineProperty(n,Symbol.species,{value:null,configurable:!0}));function m(fe){if(typeof fe!="number")throw new TypeError('"size" argument must be a number');if(fe<0)throw new RangeError('"size" argument must not be negative')}function h(fe,ie,ge,Ve){return m(ie),ie<=0?a(fe,ie):ge!==void 0?typeof Ve=="string"?a(fe,ie).fill(ge,Ve):a(fe,ie).fill(ge):a(fe,ie)}n.alloc=function(fe,ie,ge){return h(null,fe,ie,ge)};function t(fe,ie){if(m(ie),fe=a(fe,ie<0?0:k(ie)|0),!n.TYPED_ARRAY_SUPPORT)for(var ge=0;ge<ie;++ge)fe[ge]=0;return fe}n.allocUnsafe=function(fe){return t(null,fe)},n.allocUnsafeSlow=function(fe){return t(null,fe)};function l(fe,ie,ge){if((typeof ge!="string"||ge==="")&&(ge="utf8"),!n.isEncoding(ge))throw new TypeError('"encoding" must be a valid string encoding');var Ve=I(ie,ge)|0;fe=a(fe,Ve);var Ee=fe.write(ie,ge);return Ee!==Ve&&(fe=fe.slice(0,Ee)),fe}function p(fe,ie){var ge=ie.length<0?0:k(ie.length)|0;fe=a(fe,ge);for(var Ve=0;Ve<ge;Ve+=1)fe[Ve]=ie[Ve]&255;return fe}function w(fe,ie,ge,Ve){if(ie.byteLength,ge<0||ie.byteLength<ge)throw new RangeError("'offset' is out of bounds");if(ie.byteLength<ge+(Ve||0))throw new RangeError("'length' is out of bounds");return ge===void 0&&Ve===void 0?ie=new Uint8Array(ie):Ve===void 0?ie=new Uint8Array(ie,ge):ie=new Uint8Array(ie,ge,Ve),n.TYPED_ARRAY_SUPPORT?(fe=ie,fe.__proto__=n.prototype):fe=p(fe,ie),fe}function S(fe,ie){if(n.isBuffer(ie)){var ge=k(ie.length)|0;return fe=a(fe,ge),fe.length===0||ie.copy(fe,0,0,ge),fe}if(ie){if(typeof ArrayBuffer!="undefined"&&ie.buffer instanceof ArrayBuffer||"length"in ie)return typeof ie.length!="number"||ft(ie.length)?a(fe,0):p(fe,ie);if(ie.type==="Buffer"&&f(ie.data))return p(fe,ie.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function k(fe){if(fe>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return fe|0}function T(fe){return+fe!=fe&&(fe=0),n.alloc(+fe)}n.isBuffer=function(ie){return!!(ie!=null&&ie._isBuffer)},n.compare=function(ie,ge){if(!n.isBuffer(ie)||!n.isBuffer(ge))throw new TypeError("Arguments must be Buffers");if(ie===ge)return 0;for(var Ve=ie.length,Ee=ge.length,Me=0,_e=Math.min(Ve,Ee);Me<_e;++Me)if(ie[Me]!==ge[Me]){Ve=ie[Me],Ee=ge[Me];break}return Ve<Ee?-1:Ee<Ve?1:0},n.isEncoding=function(ie){switch(String(ie).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},n.concat=function(ie,ge){if(!f(ie))throw new TypeError('"list" argument must be an Array of Buffers');if(ie.length===0)return n.alloc(0);var Ve;if(ge===void 0)for(ge=0,Ve=0;Ve<ie.length;++Ve)ge+=ie[Ve].length;var Ee=n.allocUnsafe(ge),Me=0;for(Ve=0;Ve<ie.length;++Ve){var _e=ie[Ve];if(!n.isBuffer(_e))throw new TypeError('"list" argument must be an Array of Buffers');_e.copy(Ee,Me),Me+=_e.length}return Ee};function I(fe,ie){if(n.isBuffer(fe))return fe.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(fe)||fe instanceof ArrayBuffer))return fe.byteLength;typeof fe!="string"&&(fe=""+fe);var ge=fe.length;if(ge===0)return 0;for(var Ve=!1;;)switch(ie){case"ascii":case"latin1":case"binary":return ge;case"utf8":case"utf-8":case void 0:return pe(fe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ge*2;case"hex":return ge>>>1;case"base64":return Te(fe).length;default:if(Ve)return pe(fe).length;ie=(""+ie).toLowerCase(),Ve=!0}}n.byteLength=I;function Y(fe,ie,ge){var Ve=!1;if((ie===void 0||ie<0)&&(ie=0),ie>this.length||((ge===void 0||ge>this.length)&&(ge=this.length),ge<=0)||(ge>>>=0,ie>>>=0,ge<=ie))return"";for(fe||(fe="utf8");;)switch(fe){case"hex":return ue(this,ie,ge);case"utf8":case"utf-8":return re(this,ie,ge);case"ascii":return oe(this,ie,ge);case"latin1":case"binary":return he(this,ie,ge);case"base64":return te(this,ie,ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,ie,ge);default:if(Ve)throw new TypeError("Unknown encoding: "+fe);fe=(fe+"").toLowerCase(),Ve=!0}}n.prototype._isBuffer=!0;function $(fe,ie,ge){var Ve=fe[ie];fe[ie]=fe[ge],fe[ge]=Ve}n.prototype.swap16=function(){var ie=this.length;if(ie%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ge=0;ge<ie;ge+=2)$(this,ge,ge+1);return this},n.prototype.swap32=function(){var ie=this.length;if(ie%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ge=0;ge<ie;ge+=4)$(this,ge,ge+3),$(this,ge+1,ge+2);return this},n.prototype.swap64=function(){var ie=this.length;if(ie%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ge=0;ge<ie;ge+=8)$(this,ge,ge+7),$(this,ge+1,ge+6),$(this,ge+2,ge+5),$(this,ge+3,ge+4);return this},n.prototype.toString=function(){var ie=this.length|0;return ie===0?"":arguments.length===0?re(this,0,ie):Y.apply(this,arguments)},n.prototype.equals=function(ie){if(!n.isBuffer(ie))throw new TypeError("Argument must be a Buffer");return this===ie?!0:n.compare(this,ie)===0},n.prototype.inspect=function(){var ie="",ge=M.INSPECT_MAX_BYTES;return this.length>0&&(ie=this.toString("hex",0,ge).match(/.{2}/g).join(" "),this.length>ge&&(ie+=" ... ")),"<Buffer "+ie+">"},n.prototype.compare=function(ie,ge,Ve,Ee,Me){if(!n.isBuffer(ie))throw new TypeError("Argument must be a Buffer");if(ge===void 0&&(ge=0),Ve===void 0&&(Ve=ie?ie.length:0),Ee===void 0&&(Ee=0),Me===void 0&&(Me=this.length),ge<0||Ve>ie.length||Ee<0||Me>this.length)throw new RangeError("out of range index");if(Ee>=Me&&ge>=Ve)return 0;if(Ee>=Me)return-1;if(ge>=Ve)return 1;if(ge>>>=0,Ve>>>=0,Ee>>>=0,Me>>>=0,this===ie)return 0;for(var _e=Me-Ee,Re=Ve-ge,et=Math.min(_e,Re),Xe=this.slice(Ee,Me),it=ie.slice(ge,Ve),bt=0;bt<et;++bt)if(Xe[bt]!==it[bt]){_e=Xe[bt],Re=it[bt];break}return _e<Re?-1:Re<_e?1:0};function A(fe,ie,ge,Ve,Ee){if(fe.length===0)return-1;if(typeof ge=="string"?(Ve=ge,ge=0):ge>2147483647?ge=2147483647:ge<-2147483648&&(ge=-2147483648),ge=+ge,isNaN(ge)&&(ge=Ee?0:fe.length-1),ge<0&&(ge=fe.length+ge),ge>=fe.length){if(Ee)return-1;ge=fe.length-1}else if(ge<0)if(Ee)ge=0;else return-1;if(typeof ie=="string"&&(ie=n.from(ie,Ve)),n.isBuffer(ie))return ie.length===0?-1:g(fe,ie,ge,Ve,Ee);if(typeof ie=="number")return ie=ie&255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Ee?Uint8Array.prototype.indexOf.call(fe,ie,ge):Uint8Array.prototype.lastIndexOf.call(fe,ie,ge):g(fe,[ie],ge,Ve,Ee);throw new TypeError("val must be string, number or Buffer")}function g(fe,ie,ge,Ve,Ee){var Me=1,_e=fe.length,Re=ie.length;if(Ve!==void 0&&(Ve=String(Ve).toLowerCase(),Ve==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(fe.length<2||ie.length<2)return-1;Me=2,_e/=2,Re/=2,ge/=2}function et(Bt,qe){return Me===1?Bt[qe]:Bt.readUInt16BE(qe*Me)}var Xe;if(Ee){var it=-1;for(Xe=ge;Xe<_e;Xe++)if(et(fe,Xe)===et(ie,it===-1?0:Xe-it)){if(it===-1&&(it=Xe),Xe-it+1===Re)return it*Me}else it!==-1&&(Xe-=Xe-it),it=-1}else for(ge+Re>_e&&(ge=_e-Re),Xe=ge;Xe>=0;Xe--){for(var bt=!0,Ct=0;Ct<Re;Ct++)if(et(fe,Xe+Ct)!==et(ie,Ct)){bt=!1;break}if(bt)return Xe}return-1}n.prototype.includes=function(ie,ge,Ve){return this.indexOf(ie,ge,Ve)!==-1},n.prototype.indexOf=function(ie,ge,Ve){return A(this,ie,ge,Ve,!0)},n.prototype.lastIndexOf=function(ie,ge,Ve){return A(this,ie,ge,Ve,!1)};function b(fe,ie,ge,Ve){ge=Number(ge)||0;var Ee=fe.length-ge;Ve?(Ve=Number(Ve),Ve>Ee&&(Ve=Ee)):Ve=Ee;var Me=ie.length;if(Me%2!=0)throw new TypeError("Invalid hex string");Ve>Me/2&&(Ve=Me/2);for(var _e=0;_e<Ve;++_e){var Re=parseInt(ie.substr(_e*2,2),16);if(isNaN(Re))return _e;fe[ge+_e]=Re}return _e}function d(fe,ie,ge,Ve){return je(pe(ie,fe.length-ge),fe,ge,Ve)}function O(fe,ie,ge,Ve){return je(ae(ie),fe,ge,Ve)}function E(fe,ie,ge,Ve){return O(fe,ie,ge,Ve)}function D(fe,ie,ge,Ve){return je(Te(ie),fe,ge,Ve)}function W(fe,ie,ge,Ve){return je(Se(ie,fe.length-ge),fe,ge,Ve)}n.prototype.write=function(ie,ge,Ve,Ee){if(ge===void 0)Ee="utf8",Ve=this.length,ge=0;else if(Ve===void 0&&typeof ge=="string")Ee=ge,Ve=this.length,ge=0;else if(isFinite(ge))ge=ge|0,isFinite(Ve)?(Ve=Ve|0,Ee===void 0&&(Ee="utf8")):(Ee=Ve,Ve=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Me=this.length-ge;if((Ve===void 0||Ve>Me)&&(Ve=Me),ie.length>0&&(Ve<0||ge<0)||ge>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ee||(Ee="utf8");for(var _e=!1;;)switch(Ee){case"hex":return b(this,ie,ge,Ve);case"utf8":case"utf-8":return d(this,ie,ge,Ve);case"ascii":return O(this,ie,ge,Ve);case"latin1":case"binary":return E(this,ie,ge,Ve);case"base64":return D(this,ie,ge,Ve);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,ie,ge,Ve);default:if(_e)throw new TypeError("Unknown encoding: "+Ee);Ee=(""+Ee).toLowerCase(),_e=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(fe,ie,ge){return ie===0&&ge===fe.length?c.fromByteArray(fe):c.fromByteArray(fe.slice(ie,ge))}function re(fe,ie,ge){ge=Math.min(fe.length,ge);for(var Ve=[],Ee=ie;Ee<ge;){var Me=fe[Ee],_e=null,Re=Me>239?4:Me>223?3:Me>191?2:1;if(Ee+Re<=ge){var et,Xe,it,bt;switch(Re){case 1:Me<128&&(_e=Me);break;case 2:et=fe[Ee+1],(et&192)==128&&(bt=(Me&31)<<6|et&63,bt>127&&(_e=bt));break;case 3:et=fe[Ee+1],Xe=fe[Ee+2],(et&192)==128&&(Xe&192)==128&&(bt=(Me&15)<<12|(et&63)<<6|Xe&63,bt>2047&&(bt<55296||bt>57343)&&(_e=bt));break;case 4:et=fe[Ee+1],Xe=fe[Ee+2],it=fe[Ee+3],(et&192)==128&&(Xe&192)==128&&(it&192)==128&&(bt=(Me&15)<<18|(et&63)<<12|(Xe&63)<<6|it&63,bt>65535&&bt<1114112&&(_e=bt))}}_e===null?(_e=65533,Re=1):_e>65535&&(_e-=65536,Ve.push(_e>>>10&1023|55296),_e=56320|_e&1023),Ve.push(_e),Ee+=Re}return q(Ve)}var ye=4096;function q(fe){var ie=fe.length;if(ie<=ye)return String.fromCharCode.apply(String,fe);for(var ge="",Ve=0;Ve<ie;)ge+=String.fromCharCode.apply(String,fe.slice(Ve,Ve+=ye));return ge}function oe(fe,ie,ge){var Ve="";ge=Math.min(fe.length,ge);for(var Ee=ie;Ee<ge;++Ee)Ve+=String.fromCharCode(fe[Ee]&127);return Ve}function he(fe,ie,ge){var Ve="";ge=Math.min(fe.length,ge);for(var Ee=ie;Ee<ge;++Ee)Ve+=String.fromCharCode(fe[Ee]);return Ve}function ue(fe,ie,ge){var Ve=fe.length;(!ie||ie<0)&&(ie=0),(!ge||ge<0||ge>Ve)&&(ge=Ve);for(var Ee="",Me=ie;Me<ge;++Me)Ee+=X(fe[Me]);return Ee}function ne(fe,ie,ge){for(var Ve=fe.slice(ie,ge),Ee="",Me=0;Me<Ve.length;Me+=2)Ee+=String.fromCharCode(Ve[Me]+Ve[Me+1]*256);return Ee}n.prototype.slice=function(ie,ge){var Ve=this.length;ie=~~ie,ge=ge===void 0?Ve:~~ge,ie<0?(ie+=Ve,ie<0&&(ie=0)):ie>Ve&&(ie=Ve),ge<0?(ge+=Ve,ge<0&&(ge=0)):ge>Ve&&(ge=Ve),ge<ie&&(ge=ie);var Ee;if(n.TYPED_ARRAY_SUPPORT)Ee=this.subarray(ie,ge),Ee.__proto__=n.prototype;else{var Me=ge-ie;Ee=new n(Me,void 0);for(var _e=0;_e<Me;++_e)Ee[_e]=this[_e+ie]}return Ee};function se(fe,ie,ge){if(fe%1!=0||fe<0)throw new RangeError("offset is not uint");if(fe+ie>ge)throw new RangeError("Trying to access beyond buffer length")}n.prototype.readUIntLE=function(ie,ge,Ve){ie=ie|0,ge=ge|0,Ve||se(ie,ge,this.length);for(var Ee=this[ie],Me=1,_e=0;++_e<ge&&(Me*=256);)Ee+=this[ie+_e]*Me;return Ee},n.prototype.readUIntBE=function(ie,ge,Ve){ie=ie|0,ge=ge|0,Ve||se(ie,ge,this.length);for(var Ee=this[ie+--ge],Me=1;ge>0&&(Me*=256);)Ee+=this[ie+--ge]*Me;return Ee},n.prototype.readUInt8=function(ie,ge){return ge||se(ie,1,this.length),this[ie]},n.prototype.readUInt16LE=function(ie,ge){return ge||se(ie,2,this.length),this[ie]|this[ie+1]<<8},n.prototype.readUInt16BE=function(ie,ge){return ge||se(ie,2,this.length),this[ie]<<8|this[ie+1]},n.prototype.readUInt32LE=function(ie,ge){return ge||se(ie,4,this.length),(this[ie]|this[ie+1]<<8|this[ie+2]<<16)+this[ie+3]*16777216},n.prototype.readUInt32BE=function(ie,ge){return ge||se(ie,4,this.length),this[ie]*16777216+(this[ie+1]<<16|this[ie+2]<<8|this[ie+3])},n.prototype.readIntLE=function(ie,ge,Ve){ie=ie|0,ge=ge|0,Ve||se(ie,ge,this.length);for(var Ee=this[ie],Me=1,_e=0;++_e<ge&&(Me*=256);)Ee+=this[ie+_e]*Me;return Me*=128,Ee>=Me&&(Ee-=Math.pow(2,8*ge)),Ee},n.prototype.readIntBE=function(ie,ge,Ve){ie=ie|0,ge=ge|0,Ve||se(ie,ge,this.length);for(var Ee=ge,Me=1,_e=this[ie+--Ee];Ee>0&&(Me*=256);)_e+=this[ie+--Ee]*Me;return Me*=128,_e>=Me&&(_e-=Math.pow(2,8*ge)),_e},n.prototype.readInt8=function(ie,ge){return ge||se(ie,1,this.length),this[ie]&128?(255-this[ie]+1)*-1:this[ie]},n.prototype.readInt16LE=function(ie,ge){ge||se(ie,2,this.length);var Ve=this[ie]|this[ie+1]<<8;return Ve&32768?Ve|4294901760:Ve},n.prototype.readInt16BE=function(ie,ge){ge||se(ie,2,this.length);var Ve=this[ie+1]|this[ie]<<8;return Ve&32768?Ve|4294901760:Ve},n.prototype.readInt32LE=function(ie,ge){return ge||se(ie,4,this.length),this[ie]|this[ie+1]<<8|this[ie+2]<<16|this[ie+3]<<24},n.prototype.readInt32BE=function(ie,ge){return ge||se(ie,4,this.length),this[ie]<<24|this[ie+1]<<16|this[ie+2]<<8|this[ie+3]},n.prototype.readFloatLE=function(ie,ge){return ge||se(ie,4,this.length),r.read(this,ie,!0,23,4)},n.prototype.readFloatBE=function(ie,ge){return ge||se(ie,4,this.length),r.read(this,ie,!1,23,4)},n.prototype.readDoubleLE=function(ie,ge){return ge||se(ie,8,this.length),r.read(this,ie,!0,52,8)},n.prototype.readDoubleBE=function(ie,ge){return ge||se(ie,8,this.length),r.read(this,ie,!1,52,8)};function be(fe,ie,ge,Ve,Ee,Me){if(!n.isBuffer(fe))throw new TypeError('"buffer" argument must be a Buffer instance');if(ie>Ee||ie<Me)throw new RangeError('"value" argument is out of bounds');if(ge+Ve>fe.length)throw new RangeError("Index out of range")}n.prototype.writeUIntLE=function(ie,ge,Ve,Ee){if(ie=+ie,ge=ge|0,Ve=Ve|0,!Ee){var Me=Math.pow(2,8*Ve)-1;be(this,ie,ge,Ve,Me,0)}var _e=1,Re=0;for(this[ge]=ie&255;++Re<Ve&&(_e*=256);)this[ge+Re]=ie/_e&255;return ge+Ve},n.prototype.writeUIntBE=function(ie,ge,Ve,Ee){if(ie=+ie,ge=ge|0,Ve=Ve|0,!Ee){var Me=Math.pow(2,8*Ve)-1;be(this,ie,ge,Ve,Me,0)}var _e=Ve-1,Re=1;for(this[ge+_e]=ie&255;--_e>=0&&(Re*=256);)this[ge+_e]=ie/Re&255;return ge+Ve},n.prototype.writeUInt8=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,1,255,0),n.TYPED_ARRAY_SUPPORT||(ie=Math.floor(ie)),this[ge]=ie&255,ge+1};function Z(fe,ie,ge,Ve){ie<0&&(ie=65535+ie+1);for(var Ee=0,Me=Math.min(fe.length-ge,2);Ee<Me;++Ee)fe[ge+Ee]=(ie&255<<8*(Ve?Ee:1-Ee))>>>(Ve?Ee:1-Ee)*8}n.prototype.writeUInt16LE=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[ge]=ie&255,this[ge+1]=ie>>>8):Z(this,ie,ge,!0),ge+2},n.prototype.writeUInt16BE=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[ge]=ie>>>8,this[ge+1]=ie&255):Z(this,ie,ge,!1),ge+2};function ee(fe,ie,ge,Ve){ie<0&&(ie=4294967295+ie+1);for(var Ee=0,Me=Math.min(fe.length-ge,4);Ee<Me;++Ee)fe[ge+Ee]=ie>>>(Ve?Ee:3-Ee)*8&255}n.prototype.writeUInt32LE=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[ge+3]=ie>>>24,this[ge+2]=ie>>>16,this[ge+1]=ie>>>8,this[ge]=ie&255):ee(this,ie,ge,!0),ge+4},n.prototype.writeUInt32BE=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[ge]=ie>>>24,this[ge+1]=ie>>>16,this[ge+2]=ie>>>8,this[ge+3]=ie&255):ee(this,ie,ge,!1),ge+4},n.prototype.writeIntLE=function(ie,ge,Ve,Ee){if(ie=+ie,ge=ge|0,!Ee){var Me=Math.pow(2,8*Ve-1);be(this,ie,ge,Ve,Me-1,-Me)}var _e=0,Re=1,et=0;for(this[ge]=ie&255;++_e<Ve&&(Re*=256);)ie<0&&et===0&&this[ge+_e-1]!==0&&(et=1),this[ge+_e]=(ie/Re>>0)-et&255;return ge+Ve},n.prototype.writeIntBE=function(ie,ge,Ve,Ee){if(ie=+ie,ge=ge|0,!Ee){var Me=Math.pow(2,8*Ve-1);be(this,ie,ge,Ve,Me-1,-Me)}var _e=Ve-1,Re=1,et=0;for(this[ge+_e]=ie&255;--_e>=0&&(Re*=256);)ie<0&&et===0&&this[ge+_e+1]!==0&&(et=1),this[ge+_e]=(ie/Re>>0)-et&255;return ge+Ve},n.prototype.writeInt8=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,1,127,-128),n.TYPED_ARRAY_SUPPORT||(ie=Math.floor(ie)),ie<0&&(ie=255+ie+1),this[ge]=ie&255,ge+1},n.prototype.writeInt16LE=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[ge]=ie&255,this[ge+1]=ie>>>8):Z(this,ie,ge,!0),ge+2},n.prototype.writeInt16BE=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[ge]=ie>>>8,this[ge+1]=ie&255):Z(this,ie,ge,!1),ge+2},n.prototype.writeInt32LE=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[ge]=ie&255,this[ge+1]=ie>>>8,this[ge+2]=ie>>>16,this[ge+3]=ie>>>24):ee(this,ie,ge,!0),ge+4},n.prototype.writeInt32BE=function(ie,ge,Ve){return ie=+ie,ge=ge|0,Ve||be(this,ie,ge,4,2147483647,-2147483648),ie<0&&(ie=4294967295+ie+1),n.TYPED_ARRAY_SUPPORT?(this[ge]=ie>>>24,this[ge+1]=ie>>>16,this[ge+2]=ie>>>8,this[ge+3]=ie&255):ee(this,ie,ge,!1),ge+4};function ce(fe,ie,ge,Ve,Ee,Me){if(ge+Ve>fe.length)throw new RangeError("Index out of range");if(ge<0)throw new RangeError("Index out of range")}function R(fe,ie,ge,Ve,Ee){return Ee||ce(fe,ie,ge,4,34028234663852886e22,-34028234663852886e22),r.write(fe,ie,ge,Ve,23,4),ge+4}n.prototype.writeFloatLE=function(ie,ge,Ve){return R(this,ie,ge,!0,Ve)},n.prototype.writeFloatBE=function(ie,ge,Ve){return R(this,ie,ge,!1,Ve)};function y(fe,ie,ge,Ve,Ee){return Ee||ce(fe,ie,ge,8,17976931348623157e292,-17976931348623157e292),r.write(fe,ie,ge,Ve,52,8),ge+8}n.prototype.writeDoubleLE=function(ie,ge,Ve){return y(this,ie,ge,!0,Ve)},n.prototype.writeDoubleBE=function(ie,ge,Ve){return y(this,ie,ge,!1,Ve)},n.prototype.copy=function(ie,ge,Ve,Ee){if(Ve||(Ve=0),!Ee&&Ee!==0&&(Ee=this.length),ge>=ie.length&&(ge=ie.length),ge||(ge=0),Ee>0&&Ee<Ve&&(Ee=Ve),Ee===Ve||ie.length===0||this.length===0)return 0;if(ge<0)throw new RangeError("targetStart out of bounds");if(Ve<0||Ve>=this.length)throw new RangeError("sourceStart out of bounds");if(Ee<0)throw new RangeError("sourceEnd out of bounds");Ee>this.length&&(Ee=this.length),ie.length-ge<Ee-Ve&&(Ee=ie.length-ge+Ve);var Me=Ee-Ve,_e;if(this===ie&&Ve<ge&&ge<Ee)for(_e=Me-1;_e>=0;--_e)ie[_e+ge]=this[_e+Ve];else if(Me<1e3||!n.TYPED_ARRAY_SUPPORT)for(_e=0;_e<Me;++_e)ie[_e+ge]=this[_e+Ve];else Uint8Array.prototype.set.call(ie,this.subarray(Ve,Ve+Me),ge);return Me},n.prototype.fill=function(ie,ge,Ve,Ee){if(typeof ie=="string"){if(typeof ge=="string"?(Ee=ge,ge=0,Ve=this.length):typeof Ve=="string"&&(Ee=Ve,Ve=this.length),ie.length===1){var Me=ie.charCodeAt(0);Me<256&&(ie=Me)}if(Ee!==void 0&&typeof Ee!="string")throw new TypeError("encoding must be a string");if(typeof Ee=="string"&&!n.isEncoding(Ee))throw new TypeError("Unknown encoding: "+Ee)}else typeof ie=="number"&&(ie=ie&255);if(ge<0||this.length<ge||this.length<Ve)throw new RangeError("Out of range index");if(Ve<=ge)return this;ge=ge>>>0,Ve=Ve===void 0?this.length:Ve>>>0,ie||(ie=0);var _e;if(typeof ie=="number")for(_e=ge;_e<Ve;++_e)this[_e]=ie;else{var Re=n.isBuffer(ie)?ie:pe(new n(ie,Ee).toString()),et=Re.length;for(_e=0;_e<Ve-ge;++_e)this[_e+ge]=Re[_e%et]}return this};var C=/[^+\/0-9A-Za-z-_]/g;function z(fe){if(fe=G(fe).replace(C,""),fe.length<2)return"";for(;fe.length%4!=0;)fe=fe+"=";return fe}function G(fe){return fe.trim?fe.trim():fe.replace(/^\s+|\s+$/g,"")}function X(fe){return fe<16?"0"+fe.toString(16):fe.toString(16)}function pe(fe,ie){ie=ie||Infinity;for(var ge,Ve=fe.length,Ee=null,Me=[],_e=0;_e<Ve;++_e){if(ge=fe.charCodeAt(_e),ge>55295&&ge<57344){if(!Ee){if(ge>56319){(ie-=3)>-1&&Me.push(239,191,189);continue}else if(_e+1===Ve){(ie-=3)>-1&&Me.push(239,191,189);continue}Ee=ge;continue}if(ge<56320){(ie-=3)>-1&&Me.push(239,191,189),Ee=ge;continue}ge=(Ee-55296<<10|ge-56320)+65536}else Ee&&(ie-=3)>-1&&Me.push(239,191,189);if(Ee=null,ge<128){if((ie-=1)<0)break;Me.push(ge)}else if(ge<2048){if((ie-=2)<0)break;Me.push(ge>>6|192,ge&63|128)}else if(ge<65536){if((ie-=3)<0)break;Me.push(ge>>12|224,ge>>6&63|128,ge&63|128)}else if(ge<1114112){if((ie-=4)<0)break;Me.push(ge>>18|240,ge>>12&63|128,ge>>6&63|128,ge&63|128)}else throw new Error("Invalid code point")}return Me}function ae(fe){for(var ie=[],ge=0;ge<fe.length;++ge)ie.push(fe.charCodeAt(ge)&255);return ie}function Se(fe,ie){for(var ge,Ve,Ee,Me=[],_e=0;_e<fe.length&&!((ie-=2)<0);++_e)ge=fe.charCodeAt(_e),Ve=ge>>8,Ee=ge%256,Me.push(Ee),Me.push(Ve);return Me}function Te(fe){return c.toByteArray(z(fe))}function je(fe,ie,ge,Ve){for(var Ee=0;Ee<Ve&&!(Ee+ge>=ie.length||Ee>=fe.length);++Ee)ie[Ee+ge]=fe[Ee];return Ee}function ft(fe){return fe!==fe}}).call(this,e("IyRk"))},HDyB:function(Ie,M,e){var u=e("nmnc"),c=e("JHRd"),r=e("ljhN"),f=e("or5M"),o=e("7fqy"),i=e("rEGp"),a=1,n=2,v="[object Boolean]",m="[object Date]",h="[object Error]",t="[object Map]",l="[object Number]",p="[object RegExp]",w="[object Set]",S="[object String]",k="[object Symbol]",T="[object ArrayBuffer]",I="[object DataView]",Y=u?u.prototype:void 0,$=Y?Y.valueOf:void 0;function A(g,b,d,O,E,D,W){switch(d){case I:if(g.byteLength!=b.byteLength||g.byteOffset!=b.byteOffset)return!1;g=g.buffer,b=b.buffer;case T:return!(g.byteLength!=b.byteLength||!D(new c(g),new c(b)));case v:case m:case l:return r(+g,+b);case h:return g.name==b.name&&g.message==b.message;case p:case S:return g==b+"";case t:var te=o;case w:var re=O&a;if(te||(te=i),g.size!=b.size&&!re)return!1;var ye=W.get(g);if(ye)return ye==b;O|=n,W.set(g,b);var q=f(te(g),te(b),O,E,D,W);return W.delete(g),q;case k:if($)return $.call(g)==$.call(b)}return!1}Ie.exports=A},HLqC:function(Ie,M,e){var u=e("R5Y4"),c=e("mv/X"),r=e("ZCgT");function f(o){return function(i,a,n){return n&&typeof n!="number"&&c(i,a,n)&&(a=n=void 0),i=r(i),a===void 0?(a=i,i=0):a=r(a),n=n===void 0?i<a?1:-1:r(n),u(i,a,n,o)}}Ie.exports=f},HOxn:function(Ie,M,e){var u=e("Cwc5"),c=e("Kz5y"),r=u(c,"Promise");Ie.exports=r},HdwC:function(Ie,M,e){"use strict";e.d(M,"b",function(){return Y}),e.d(M,"a",function(){return A});var u=e("rAM+"),c=e("w4Tj"),r=e("oZsa"),f=e("yKVA"),o=e("879j"),i=e("fWQN"),a=e("mtLc"),n=e("D3Dy"),v=e("MI8n"),m=e("pmY6"),h=e("MNsG"),t=function(){function g(b,d){Object(i.a)(this,g),this.chr=b,this.type=d,this.width=0}return Object(a.a)(g,[{key:"fulfill",value:function(d){this.width=d}}]),g}(),l=function(){function g(b,d){Object(i.a)(this,g),this._bareFontInfo=b,this._requests=d,this._container=null,this._testElements=null}return Object(a.a)(g,[{key:"read",value:function(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}},{key:"_createDomElements",value:function(){var d=document.createElement("div");d.style.position="absolute",d.style.top="-50000px",d.style.width="50000px";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.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,O.style.lineHeight=this._bareFontInfo.lineHeight+"px",O.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",d.appendChild(O);var E=document.createElement("div");E.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),E.style.fontWeight="bold",E.style.fontSize=this._bareFontInfo.fontSize+"px",E.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,E.style.lineHeight=this._bareFontInfo.lineHeight+"px",E.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",d.appendChild(E);var D=document.createElement("div");D.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),D.style.fontWeight=this._bareFontInfo.fontWeight,D.style.fontSize=this._bareFontInfo.fontSize+"px",D.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,D.style.lineHeight=this._bareFontInfo.lineHeight+"px",D.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",D.style.fontStyle="italic",d.appendChild(D);var W=[],te=Object(u.a)(this._requests),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value,q=void 0;ye.type===0&&(q=O),ye.type===2&&(q=E),ye.type===1&&(q=D),q.appendChild(document.createElement("br"));var oe=document.createElement("span");g._render(oe,ye),q.appendChild(oe),W.push(oe)}}catch(he){te.e(he)}finally{te.f()}this._container=d,this._testElements=W}},{key:"_readFromDomElements",value:function(){for(var d=0,O=this._requests.length;d<O;d++){var E=this._requests[d],D=this._testElements[d];E.fulfill(D.offsetWidth/256)}}}],[{key:"_render",value:function(d,O){if(O.chr===" "){for(var E="\xA0",D=0;D<8;D++)E+=E;d.innerText=E}else{for(var W=O.chr,te=0;te<8;te++)W+=W;d.textContent=W}}}]),g}();function p(g,b){var d=new l(g,b);d.read()}var w=e("o39E"),S=e("iDAx"),k=e("/UlZ"),T=e("+3Gp"),I=function(){function g(){Object(i.a)(this,g),this._keys=Object.create(null),this._values=Object.create(null)}return Object(a.a)(g,[{key:"has",value:function(d){var O=d.getId();return!!this._values[O]}},{key:"get",value:function(d){var O=d.getId();return this._values[O]}},{key:"put",value:function(d,O){var E=d.getId();this._keys[E]=d,this._values[E]=O}},{key:"remove",value:function(d){var O=d.getId();delete this._keys[O],delete this._values[O]}},{key:"getValues",value:function(){var d=this;return Object.keys(this._keys).map(function(O){return d._values[O]})}}]),g}();function Y(){$.INSTANCE.clearCache()}var $=function(g){Object(f.a)(d,g);var b=Object(o.a)(d);function d(){var O;return Object(i.a)(this,d),O=b.call(this),O._onDidChange=O._register(new v.a),O.onDidChange=O._onDidChange.event,O._cache=new I,O._evictUntrustedReadingsTimeout=-1,O}return Object(a.a)(d,[{key:"dispose",value:function(){this._evictUntrustedReadingsTimeout!==-1&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),Object(c.a)(Object(r.a)(d.prototype),"dispose",this).call(this)}},{key:"clearCache",value:function(){this._cache=new I,this._onDidChange.fire()}},{key:"_writeToCache",value:function(E,D){var W=this;this._cache.put(E,D),!D.isTrusted&&this._evictUntrustedReadingsTimeout===-1&&(this._evictUntrustedReadingsTimeout=setTimeout(function(){W._evictUntrustedReadingsTimeout=-1,W._evictUntrustedReadings()},5e3))}},{key:"_evictUntrustedReadings",value:function(){var E=this._cache.getValues(),D=!1,W=Object(u.a)(E),te;try{for(W.s();!(te=W.n()).done;){var re=te.value;re.isTrusted||(D=!0,this._cache.remove(re))}}catch(ye){W.e(ye)}finally{W.f()}D&&this._onDidChange.fire()}},{key:"readConfiguration",value:function(E){if(!this._cache.has(E)){var D=d._actualReadConfiguration(E);(D.typicalHalfwidthCharacterWidth<=2||D.typicalFullwidthCharacterWidth<=2||D.spaceWidth<=2||D.maxDigitWidth<=2)&&(D=new T.b({zoomLevel:n.d(),pixelRatio:n.a(),fontFamily:D.fontFamily,fontWeight:D.fontWeight,fontSize:D.fontSize,fontFeatureSettings:D.fontFeatureSettings,lineHeight:D.lineHeight,letterSpacing:D.letterSpacing,isMonospace:D.isMonospace,typicalHalfwidthCharacterWidth:Math.max(D.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(D.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:D.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(D.spaceWidth,5),middotWidth:Math.max(D.middotWidth,5),wsmiddotWidth:Math.max(D.wsmiddotWidth,5),maxDigitWidth:Math.max(D.maxDigitWidth,5)},!1)),this._writeToCache(E,D)}return this._cache.get(E)}}],[{key:"createRequest",value:function(E,D,W,te){var re=new t(E,D);return W.push(re),te&&te.push(re),re}},{key:"_actualReadConfiguration",value:function(E){var D=[],W=[],te=this.createRequest("n",0,D,W),re=this.createRequest("\uFF4D",0,D,null),ye=this.createRequest(" ",0,D,W),q=this.createRequest("0",0,D,W),oe=this.createRequest("1",0,D,W),he=this.createRequest("2",0,D,W),ue=this.createRequest("3",0,D,W),ne=this.createRequest("4",0,D,W),se=this.createRequest("5",0,D,W),be=this.createRequest("6",0,D,W),Z=this.createRequest("7",0,D,W),ee=this.createRequest("8",0,D,W),ce=this.createRequest("9",0,D,W),R=this.createRequest("\u2192",0,D,W),y=this.createRequest("\uFFEB",0,D,null),C=this.createRequest("\xB7",0,D,W),z=this.createRequest(String.fromCharCode(11825),0,D,null);this.createRequest("|",0,D,W),this.createRequest("/",0,D,W),this.createRequest("-",0,D,W),this.createRequest("_",0,D,W),this.createRequest("i",0,D,W),this.createRequest("l",0,D,W),this.createRequest("m",0,D,W),this.createRequest("|",1,D,W),this.createRequest("_",1,D,W),this.createRequest("i",1,D,W),this.createRequest("l",1,D,W),this.createRequest("m",1,D,W),this.createRequest("n",1,D,W),this.createRequest("|",2,D,W),this.createRequest("_",2,D,W),this.createRequest("i",2,D,W),this.createRequest("l",2,D,W),this.createRequest("m",2,D,W),this.createRequest("n",2,D,W),p(E,D);for(var G=Math.max(q.width,oe.width,he.width,ue.width,ne.width,se.width,be.width,Z.width,ee.width,ce.width),X=E.fontFeatureSettings===k.e.OFF,pe=W[0].width,ae=1,Se=W.length;X&&ae<Se;ae++){var Te=pe-W[ae].width;if(Te<-.001||Te>.001){X=!1;break}}var je=!0;X&&y.width!==pe&&(je=!1),y.width>R.width&&(je=!1);var ft=n.b()>2e3;return new T.b({zoomLevel:n.d(),pixelRatio:n.a(),fontFamily:E.fontFamily,fontWeight:E.fontWeight,fontSize:E.fontSize,fontFeatureSettings:E.fontFeatureSettings,lineHeight:E.lineHeight,letterSpacing:E.letterSpacing,isMonospace:X,typicalHalfwidthCharacterWidth:te.width,typicalFullwidthCharacterWidth:re.width,canUseHalfwidthRightwardsArrow:je,spaceWidth:ye.width,middotWidth:C.width,wsmiddotWidth:z.width,maxDigitWidth:G},ft)}}]),d}(m.a);$.INSTANCE=new $;var A=function(g){Object(f.a)(d,g);var b=Object(o.a)(d);function d(O,E){var D,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,te=arguments.length>3?arguments[3]:void 0;return Object(i.a)(this,d),D=b.call(this,O,E),D.accessibilityService=te,D._elementSizeObserver=D._register(new w.a(W,E.dimension,function(){return D._recomputeOptions()})),D._register($.INSTANCE.onDidChange(function(){return D._recomputeOptions()})),D._validatedOptions.get(10)&&D._elementSizeObserver.startObserving(),D._register(n.m(function(re){return D._recomputeOptions()})),D._register(D.accessibilityService.onDidChangeScreenReaderOptimized(function(){return D._recomputeOptions()})),D._recomputeOptions(),D}return Object(a.a)(d,[{key:"observeReferenceElement",value:function(E){this._elementSizeObserver.observe(E)}},{key:"updatePixelRatio",value:function(){this._recomputeOptions()}},{key:"_getEnvConfiguration",value:function(){return{extraEditorClassName:d._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:n.k||n.g,pixelRatio:n.a(),zoomLevel:n.d(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}}},{key:"readConfiguration",value:function(E){return $.INSTANCE.readConfiguration(E)}}],[{key:"applyFontInfoSlow",value:function(E,D){E.style.fontFamily=D.getMassagedFontFamily(),E.style.fontWeight=D.fontWeight,E.style.fontSize=D.fontSize+"px",E.style.fontFeatureSettings=D.fontFeatureSettings,E.style.lineHeight=D.lineHeight+"px",E.style.letterSpacing=D.letterSpacing+"px"}},{key:"applyFontInfo",value:function(E,D){E.setFontFamily(D.getMassagedFontFamily()),E.setFontWeight(D.fontWeight),E.setFontSize(D.fontSize),E.setFontFeatureSettings(D.fontFeatureSettings),E.setLineHeight(D.lineHeight),E.setLetterSpacing(D.letterSpacing)}},{key:"_getExtraEditorClassName",value:function(){var E="";return!n.i&&!n.l&&(E+="no-user-select "),n.i&&(E+="no-minimap-shadow "),h.f&&(E+="mac "),E}}]),d}(S.a)},HgMQ:function(Ie,M,e){},Hp1U:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="VerticalAlignBottomOutlined";var a=M.a=c.forwardRef(i)},HpOR:function(Ie,M,e){"use strict";(function(u){e.d(M,"a",function(){return n}),e.d(M,"b",function(){return v}),e.d(M,"e",function(){return m}),e.d(M,"c",function(){return h}),e.d(M,"f",function(){return t}),e.d(M,"d",function(){return l}),e.d(M,"g",function(){return p});var c=e("fWQN"),r=e("mtLc"),f=e("N0LK"),o=typeof u!="undefined",i=typeof TextDecoder!="undefined",a,n=function(){function w(S){Object(c.a)(this,w),this.buffer=S,this.byteLength=this.buffer.byteLength}return Object(r.a)(w,[{key:"toString",value:function(){return o?this.buffer.toString():i?(a||(a=new TextDecoder),a.decode(this.buffer)):f.r(this.buffer)}}],[{key:"wrap",value:function(k){return o&&!u.isBuffer(k)&&(k=u.from(k.buffer,k.byteOffset,k.byteLength)),new w(k)}}]),w}();function v(w,S){return w[S+0]<<0>>>0|w[S+1]<<8>>>0}function m(w,S,k){w[k+0]=S&255,S=S>>>8,w[k+1]=S&255}function h(w,S){return w[S]*Math.pow(2,24)+w[S+1]*Math.pow(2,16)+w[S+2]*Math.pow(2,8)+w[S+3]}function t(w,S,k){w[k+3]=S,S=S>>>8,w[k+2]=S,S=S>>>8,w[k+1]=S,S=S>>>8,w[k]=S}function l(w,S){return w[S]}function p(w,S,k){w[k]=S}}).call(this,e("HDXh").Buffer)},Hvzi:function(Ie,M){function e(u){var c=this.has(u)&&delete this.__data__[u];return this.size-=c?1:0,c}Ie.exports=e},HyZH:function(Ie,M,e){},HzoJ:function(Ie,M,e){var u=e("b5wT");Ie.exports=c;function c(r,f){return u.map(f,function(o){var i=r.inEdges(o);if(i.length){var a=u.reduce(i,function(n,v){var m=r.edge(v),h=r.node(v.v);return{sum:n.sum+m.weight*h.order,weight:n.weight+m.weight}},{sum:0,weight:0});return{v:o,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:o}})}},I01J:function(Ie,M,e){var u=e("44Ds"),c=500;function r(f){var o=u(f,function(a){return i.size===c&&i.clear(),a}),i=o.cache;return o}Ie.exports=r},I1d6:function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});var u={}},IBYe:function(Ie,M,e){"use strict";function u(c){return null}M.a=u},INsO:function(Ie,M,e){"use strict";var u=e("gL5p"),c=e("nKUr"),r=e.n(c),f=function(i){var a=i.height,n=a===void 0?"100%":a,v=i.width,m=v===void 0?"100%":v,h=i.language,t=h===void 0?"sql":h,l=i.theme,p=l===void 0?"vs":l,w=i.options,S=w===void 0?{selectOnLineNumbers:!0,renderSideBySide:!1,autoIndent:"None",readOnly:!0,automaticLayout:!0}:w,k=i.code,T=i.editorDidMountHandle;return Object(c.jsx)(c.Fragment,{children:Object(c.jsx)(u.b,{width:m,height:n,language:t,value:k,options:S,theme:"vs-dark",editorDidMount:T})})};M.a=f},IOcx:function(Ie,M,e){"use strict";e.r(M),e.d(M,"glMatrix",function(){return n}),e.d(M,"mat2",function(){return u}),e.d(M,"mat2d",function(){return c}),e.d(M,"mat3",function(){return r}),e.d(M,"mat4",function(){return f}),e.d(M,"quat",function(){return i}),e.d(M,"quat2",function(){return a}),e.d(M,"vec2",function(){return Ps}),e.d(M,"vec3",function(){return Dn}),e.d(M,"vec4",function(){return o});var u={};e.r(u),e.d(u,"create",function(){return v}),e.d(u,"clone",function(){return m}),e.d(u,"copy",function(){return h}),e.d(u,"identity",function(){return t}),e.d(u,"fromValues",function(){return l}),e.d(u,"set",function(){return p}),e.d(u,"transpose",function(){return w}),e.d(u,"invert",function(){return S}),e.d(u,"adjoint",function(){return k}),e.d(u,"determinant",function(){return T}),e.d(u,"multiply",function(){return I}),e.d(u,"rotate",function(){return Y}),e.d(u,"scale",function(){return $}),e.d(u,"fromRotation",function(){return A}),e.d(u,"fromScaling",function(){return g}),e.d(u,"str",function(){return b}),e.d(u,"frob",function(){return d}),e.d(u,"LDU",function(){return O}),e.d(u,"add",function(){return E}),e.d(u,"subtract",function(){return D}),e.d(u,"exactEquals",function(){return W}),e.d(u,"equals",function(){return te}),e.d(u,"multiplyScalar",function(){return re}),e.d(u,"multiplyScalarAndAdd",function(){return ye}),e.d(u,"mul",function(){return q}),e.d(u,"sub",function(){return oe});var c={};e.r(c),e.d(c,"create",function(){return he}),e.d(c,"clone",function(){return ue}),e.d(c,"copy",function(){return ne}),e.d(c,"identity",function(){return se}),e.d(c,"fromValues",function(){return be}),e.d(c,"set",function(){return Z}),e.d(c,"invert",function(){return ee}),e.d(c,"determinant",function(){return ce}),e.d(c,"multiply",function(){return R}),e.d(c,"rotate",function(){return y}),e.d(c,"scale",function(){return C}),e.d(c,"translate",function(){return z}),e.d(c,"fromRotation",function(){return G}),e.d(c,"fromScaling",function(){return X}),e.d(c,"fromTranslation",function(){return pe}),e.d(c,"str",function(){return ae}),e.d(c,"frob",function(){return Se}),e.d(c,"add",function(){return Te}),e.d(c,"subtract",function(){return je}),e.d(c,"multiplyScalar",function(){return ft}),e.d(c,"multiplyScalarAndAdd",function(){return fe}),e.d(c,"exactEquals",function(){return ie}),e.d(c,"equals",function(){return ge}),e.d(c,"mul",function(){return Ve}),e.d(c,"sub",function(){return Ee});var r={};e.r(r),e.d(r,"create",function(){return Me}),e.d(r,"fromMat4",function(){return _e}),e.d(r,"clone",function(){return Re}),e.d(r,"copy",function(){return et}),e.d(r,"fromValues",function(){return Xe}),e.d(r,"set",function(){return it}),e.d(r,"identity",function(){return bt}),e.d(r,"transpose",function(){return Ct}),e.d(r,"invert",function(){return Bt}),e.d(r,"adjoint",function(){return qe}),e.d(r,"determinant",function(){return st}),e.d(r,"multiply",function(){return ut}),e.d(r,"translate",function(){return nt}),e.d(r,"rotate",function(){return kt}),e.d(r,"scale",function(){return Sn}),e.d(r,"fromTranslation",function(){return Tt}),e.d(r,"fromRotation",function(){return ht}),e.d(r,"fromScaling",function(){return Rt}),e.d(r,"fromMat2d",function(){return Ft}),e.d(r,"fromQuat",function(){return nn}),e.d(r,"normalFromMat4",function(){return bn}),e.d(r,"projection",function(){return sn}),e.d(r,"str",function(){return un}),e.d(r,"frob",function(){return Ht}),e.d(r,"add",function(){return jn}),e.d(r,"subtract",function(){return Ln}),e.d(r,"multiplyScalar",function(){return Un}),e.d(r,"multiplyScalarAndAdd",function(){return lt}),e.d(r,"exactEquals",function(){return Nt}),e.d(r,"equals",function(){return zt}),e.d(r,"mul",function(){return en}),e.d(r,"sub",function(){return tn});var f={};e.r(f),e.d(f,"create",function(){return wn}),e.d(f,"clone",function(){return on}),e.d(f,"copy",function(){return vn}),e.d(f,"fromValues",function(){return dt}),e.d(f,"set",function(){return ct}),e.d(f,"identity",function(){return Kt}),e.d(f,"transpose",function(){return pn}),e.d(f,"invert",function(){return kn}),e.d(f,"adjoint",function(){return Pt}),e.d(f,"determinant",function(){return gn}),e.d(f,"multiply",function(){return _n}),e.d(f,"translate",function(){return Kn}),e.d(f,"scale",function(){return qn}),e.d(f,"rotate",function(){return rr}),e.d(f,"rotateX",function(){return Rn}),e.d(f,"rotateY",function(){return mr}),e.d(f,"rotateZ",function(){return ar}),e.d(f,"fromTranslation",function(){return sr}),e.d(f,"fromScaling",function(){return yr}),e.d(f,"fromRotation",function(){return br}),e.d(f,"fromXRotation",function(){return _r}),e.d(f,"fromYRotation",function(){return li}),e.d(f,"fromZRotation",function(){return xi}),e.d(f,"fromRotationTranslation",function(){return Mi}),e.d(f,"fromQuat2",function(){return Fr}),e.d(f,"getTranslation",function(){return ur}),e.d(f,"getScaling",function(){return Ti}),e.d(f,"getRotation",function(){return Xi}),e.d(f,"fromRotationTranslationScale",function(){return ca}),e.d(f,"fromRotationTranslationScaleOrigin",function(){return Zi}),e.d(f,"fromQuat",function(){return xa}),e.d(f,"frustum",function(){return va}),e.d(f,"perspectiveNO",function(){return Ma}),e.d(f,"perspective",function(){return _a}),e.d(f,"perspectiveZO",function(){return na}),e.d(f,"perspectiveFromFieldOfView",function(){return sa}),e.d(f,"orthoNO",function(){return Ai}),e.d(f,"ortho",function(){return ba}),e.d(f,"orthoZO",function(){return ea}),e.d(f,"lookAt",function(){return mn}),e.d(f,"targetTo",function(){return It}),e.d(f,"str",function(){return Ue}),e.d(f,"frob",function(){return Ze}),e.d(f,"add",function(){return Pe}),e.d(f,"subtract",function(){return mt}),e.d(f,"multiplyScalar",function(){return xt}),e.d(f,"multiplyScalarAndAdd",function(){return cn}),e.d(f,"exactEquals",function(){return Ut}),e.d(f,"equals",function(){return wt}),e.d(f,"mul",function(){return Pn}),e.d(f,"sub",function(){return an});var o={};e.r(o),e.d(o,"create",function(){return Tn}),e.d(o,"clone",function(){return Zn}),e.d(o,"fromValues",function(){return Mr}),e.d(o,"copy",function(){return xr}),e.d(o,"set",function(){return Vr}),e.d(o,"add",function(){return Dr}),e.d(o,"subtract",function(){return dr}),e.d(o,"multiply",function(){return gt}),e.d(o,"divide",function(){return Rr}),e.d(o,"ceil",function(){return ci}),e.d(o,"floor",function(){return ai}),e.d(o,"min",function(){return bi}),e.d(o,"max",function(){return zr}),e.d(o,"round",function(){return Hi}),e.d(o,"scale",function(){return hi}),e.d(o,"scaleAndAdd",function(){return Ci}),e.d(o,"distance",function(){return Ii}),e.d(o,"squaredDistance",function(){return Mn}),e.d(o,"length",function(){return nr}),e.d(o,"squaredLength",function(){return cr}),e.d(o,"negate",function(){return Lr}),e.d(o,"inverse",function(){return ei}),e.d(o,"normalize",function(){return ki}),e.d(o,"dot",function(){return ua}),e.d(o,"cross",function(){return Qi}),e.d(o,"lerp",function(){return Br}),e.d(o,"random",function(){return ga}),e.d(o,"transformMat4",function(){return fa}),e.d(o,"transformQuat",function(){return Ja}),e.d(o,"zero",function(){return In}),e.d(o,"str",function(){return ve}),e.d(o,"exactEquals",function(){return x}),e.d(o,"equals",function(){return le}),e.d(o,"sub",function(){return me}),e.d(o,"mul",function(){return Ae}),e.d(o,"div",function(){return tt}),e.d(o,"dist",function(){return pt}),e.d(o,"sqrDist",function(){return ke}),e.d(o,"len",function(){return we}),e.d(o,"sqrLen",function(){return Be}),e.d(o,"forEach",function(){return Le});var i={};e.r(i),e.d(i,"create",function(){return J}),e.d(i,"identity",function(){return Ke}),e.d(i,"setAxisAngle",function(){return We}),e.d(i,"getAxisAngle",function(){return Ot}),e.d(i,"getAngle",function(){return Vt}),e.d(i,"multiply",function(){return $t}),e.d(i,"rotateX",function(){return Gt}),e.d(i,"rotateY",function(){return hn}),e.d(i,"rotateZ",function(){return $n}),e.d(i,"calculateW",function(){return Sr}),e.d(i,"exp",function(){return vr}),e.d(i,"ln",function(){return zn}),e.d(i,"pow",function(){return Tr}),e.d(i,"slerp",function(){return Qr}),e.d(i,"random",function(){return Qe}),e.d(i,"invert",function(){return Jt}),e.d(i,"conjugate",function(){return ln}),e.d(i,"fromMat3",function(){return rn}),e.d(i,"fromEuler",function(){return An}),e.d(i,"str",function(){return fr}),e.d(i,"clone",function(){return Pr}),e.d(i,"fromValues",function(){return kr}),e.d(i,"copy",function(){return Ar}),e.d(i,"set",function(){return vi}),e.d(i,"add",function(){return Wi}),e.d(i,"mul",function(){return di}),e.d(i,"scale",function(){return ri}),e.d(i,"dot",function(){return yi}),e.d(i,"lerp",function(){return Si}),e.d(i,"length",function(){return zi}),e.d(i,"len",function(){return si}),e.d(i,"squaredLength",function(){return ii}),e.d(i,"sqrLen",function(){return Yi}),e.d(i,"normalize",function(){return La}),e.d(i,"exactEquals",function(){return Wa}),e.d(i,"equals",function(){return Ri}),e.d(i,"rotationTo",function(){return Oa}),e.d(i,"sqlerp",function(){return Ha}),e.d(i,"setAxes",function(){return Za});var a={};e.r(a),e.d(a,"create",function(){return co}),e.d(a,"clone",function(){return Do}),e.d(a,"fromValues",function(){return ra}),e.d(a,"fromRotationTranslationValues",function(){return ya}),e.d(a,"fromRotationTranslation",function(){return Ra}),e.d(a,"fromTranslation",function(){return Fa}),e.d(a,"fromRotation",function(){return Ca}),e.d(a,"fromMat4",function(){return no}),e.d(a,"copy",function(){return No}),e.d(a,"identity",function(){return es}),e.d(a,"set",function(){return ds}),e.d(a,"getReal",function(){return Yr}),e.d(a,"getDual",function(){return jr}),e.d(a,"setReal",function(){return Ei}),e.d(a,"setDual",function(){return gi}),e.d(a,"getTranslation",function(){return or}),e.d(a,"translate",function(){return Ir}),e.d(a,"rotateX",function(){return Ur}),e.d(a,"rotateY",function(){return Li}),e.d(a,"rotateZ",function(){return oa}),e.d(a,"rotateByQuatAppend",function(){return Ua}),e.d(a,"rotateByQuatPrepend",function(){return $a}),e.d(a,"rotateAroundAxis",function(){return Ba}),e.d(a,"add",function(){return ro}),e.d(a,"multiply",function(){return mo}),e.d(a,"mul",function(){return oo}),e.d(a,"scale",function(){return Oo}),e.d(a,"dot",function(){return Yo}),e.d(a,"lerp",function(){return ts}),e.d(a,"invert",function(){return Os}),e.d(a,"conjugate",function(){return Rs}),e.d(a,"length",function(){return Mo}),e.d(a,"len",function(){return Bs}),e.d(a,"squaredLength",function(){return ll}),e.d(a,"sqrLen",function(){return ks}),e.d(a,"normalize",function(){return xl}),e.d(a,"str",function(){return Pl}),e.d(a,"exactEquals",function(){return Wo}),e.d(a,"equals",function(){return yl});var n=e("yU0y");function v(){var B=new n.ARRAY_TYPE(4);return n.ARRAY_TYPE!=Float32Array&&(B[1]=0,B[2]=0),B[0]=1,B[3]=1,B}function m(B){var Oe=new n.ARRAY_TYPE(4);return Oe[0]=B[0],Oe[1]=B[1],Oe[2]=B[2],Oe[3]=B[3],Oe}function h(B,Oe){return B[0]=Oe[0],B[1]=Oe[1],B[2]=Oe[2],B[3]=Oe[3],B}function t(B){return B[0]=1,B[1]=0,B[2]=0,B[3]=1,B}function l(B,Oe,St,Qt){var Cn=new n.ARRAY_TYPE(4);return Cn[0]=B,Cn[1]=Oe,Cn[2]=St,Cn[3]=Qt,Cn}function p(B,Oe,St,Qt,Cn){return B[0]=Oe,B[1]=St,B[2]=Qt,B[3]=Cn,B}function w(B,Oe){if(B===Oe){var St=Oe[1];B[1]=Oe[2],B[2]=St}else B[0]=Oe[0],B[1]=Oe[2],B[2]=Oe[1],B[3]=Oe[3];return B}function S(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=St*Nn-Cn*Qt;return Bn?(Bn=1/Bn,B[0]=Nn*Bn,B[1]=-Qt*Bn,B[2]=-Cn*Bn,B[3]=St*Bn,B):null}function k(B,Oe){var St=Oe[0];return B[0]=Oe[3],B[1]=-Oe[1],B[2]=-Oe[2],B[3]=St,B}function T(B){return B[0]*B[3]-B[2]*B[1]}function I(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=St[0],Jn=St[1],Cr=St[2],Kr=St[3];return B[0]=Qt*Xn+Nn*Jn,B[1]=Cn*Xn+Bn*Jn,B[2]=Qt*Cr+Nn*Kr,B[3]=Cn*Cr+Bn*Kr,B}function Y(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Math.sin(St),Jn=Math.cos(St);return B[0]=Qt*Jn+Nn*Xn,B[1]=Cn*Jn+Bn*Xn,B[2]=Qt*-Xn+Nn*Jn,B[3]=Cn*-Xn+Bn*Jn,B}function $(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=St[0],Jn=St[1];return B[0]=Qt*Xn,B[1]=Cn*Xn,B[2]=Nn*Jn,B[3]=Bn*Jn,B}function A(B,Oe){var St=Math.sin(Oe),Qt=Math.cos(Oe);return B[0]=Qt,B[1]=St,B[2]=-St,B[3]=Qt,B}function g(B,Oe){return B[0]=Oe[0],B[1]=0,B[2]=0,B[3]=Oe[1],B}function b(B){return"mat2("+B[0]+", "+B[1]+", "+B[2]+", "+B[3]+")"}function d(B){return Math.hypot(B[0],B[1],B[2],B[3])}function O(B,Oe,St,Qt){return B[2]=Qt[2]/Qt[0],St[0]=Qt[0],St[1]=Qt[1],St[3]=Qt[3]-B[2]*St[1],[B,Oe,St]}function E(B,Oe,St){return B[0]=Oe[0]+St[0],B[1]=Oe[1]+St[1],B[2]=Oe[2]+St[2],B[3]=Oe[3]+St[3],B}function D(B,Oe,St){return B[0]=Oe[0]-St[0],B[1]=Oe[1]-St[1],B[2]=Oe[2]-St[2],B[3]=Oe[3]-St[3],B}function W(B,Oe){return B[0]===Oe[0]&&B[1]===Oe[1]&&B[2]===Oe[2]&&B[3]===Oe[3]}function te(B,Oe){var St=B[0],Qt=B[1],Cn=B[2],Nn=B[3],Bn=Oe[0],Xn=Oe[1],Jn=Oe[2],Cr=Oe[3];return Math.abs(St-Bn)<=n.EPSILON*Math.max(1,Math.abs(St),Math.abs(Bn))&&Math.abs(Qt-Xn)<=n.EPSILON*Math.max(1,Math.abs(Qt),Math.abs(Xn))&&Math.abs(Cn-Jn)<=n.EPSILON*Math.max(1,Math.abs(Cn),Math.abs(Jn))&&Math.abs(Nn-Cr)<=n.EPSILON*Math.max(1,Math.abs(Nn),Math.abs(Cr))}function re(B,Oe,St){return B[0]=Oe[0]*St,B[1]=Oe[1]*St,B[2]=Oe[2]*St,B[3]=Oe[3]*St,B}function ye(B,Oe,St,Qt){return B[0]=Oe[0]+St[0]*Qt,B[1]=Oe[1]+St[1]*Qt,B[2]=Oe[2]+St[2]*Qt,B[3]=Oe[3]+St[3]*Qt,B}var q=I,oe=D;function he(){var B=new n.ARRAY_TYPE(6);return n.ARRAY_TYPE!=Float32Array&&(B[1]=0,B[2]=0,B[4]=0,B[5]=0),B[0]=1,B[3]=1,B}function ue(B){var Oe=new n.ARRAY_TYPE(6);return Oe[0]=B[0],Oe[1]=B[1],Oe[2]=B[2],Oe[3]=B[3],Oe[4]=B[4],Oe[5]=B[5],Oe}function ne(B,Oe){return B[0]=Oe[0],B[1]=Oe[1],B[2]=Oe[2],B[3]=Oe[3],B[4]=Oe[4],B[5]=Oe[5],B}function se(B){return B[0]=1,B[1]=0,B[2]=0,B[3]=1,B[4]=0,B[5]=0,B}function be(B,Oe,St,Qt,Cn,Nn){var Bn=new n.ARRAY_TYPE(6);return Bn[0]=B,Bn[1]=Oe,Bn[2]=St,Bn[3]=Qt,Bn[4]=Cn,Bn[5]=Nn,Bn}function Z(B,Oe,St,Qt,Cn,Nn,Bn){return B[0]=Oe,B[1]=St,B[2]=Qt,B[3]=Cn,B[4]=Nn,B[5]=Bn,B}function ee(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=Oe[4],Xn=Oe[5],Jn=St*Nn-Qt*Cn;return Jn?(Jn=1/Jn,B[0]=Nn*Jn,B[1]=-Qt*Jn,B[2]=-Cn*Jn,B[3]=St*Jn,B[4]=(Cn*Xn-Nn*Bn)*Jn,B[5]=(Qt*Bn-St*Xn)*Jn,B):null}function ce(B){return B[0]*B[3]-B[1]*B[2]}function R(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=St[0],Kr=St[1],ti=St[2],Pi=St[3],pi=St[4],Fi=St[5];return B[0]=Qt*Cr+Nn*Kr,B[1]=Cn*Cr+Bn*Kr,B[2]=Qt*ti+Nn*Pi,B[3]=Cn*ti+Bn*Pi,B[4]=Qt*pi+Nn*Fi+Xn,B[5]=Cn*pi+Bn*Fi+Jn,B}function y(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=Math.sin(St),Kr=Math.cos(St);return B[0]=Qt*Kr+Nn*Cr,B[1]=Cn*Kr+Bn*Cr,B[2]=Qt*-Cr+Nn*Kr,B[3]=Cn*-Cr+Bn*Kr,B[4]=Xn,B[5]=Jn,B}function C(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=St[0],Kr=St[1];return B[0]=Qt*Cr,B[1]=Cn*Cr,B[2]=Nn*Kr,B[3]=Bn*Kr,B[4]=Xn,B[5]=Jn,B}function z(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=St[0],Kr=St[1];return B[0]=Qt,B[1]=Cn,B[2]=Nn,B[3]=Bn,B[4]=Qt*Cr+Nn*Kr+Xn,B[5]=Cn*Cr+Bn*Kr+Jn,B}function G(B,Oe){var St=Math.sin(Oe),Qt=Math.cos(Oe);return B[0]=Qt,B[1]=St,B[2]=-St,B[3]=Qt,B[4]=0,B[5]=0,B}function X(B,Oe){return B[0]=Oe[0],B[1]=0,B[2]=0,B[3]=Oe[1],B[4]=0,B[5]=0,B}function pe(B,Oe){return B[0]=1,B[1]=0,B[2]=0,B[3]=1,B[4]=Oe[0],B[5]=Oe[1],B}function ae(B){return"mat2d("+B[0]+", "+B[1]+", "+B[2]+", "+B[3]+", "+B[4]+", "+B[5]+")"}function Se(B){return Math.hypot(B[0],B[1],B[2],B[3],B[4],B[5],1)}function Te(B,Oe,St){return B[0]=Oe[0]+St[0],B[1]=Oe[1]+St[1],B[2]=Oe[2]+St[2],B[3]=Oe[3]+St[3],B[4]=Oe[4]+St[4],B[5]=Oe[5]+St[5],B}function je(B,Oe,St){return B[0]=Oe[0]-St[0],B[1]=Oe[1]-St[1],B[2]=Oe[2]-St[2],B[3]=Oe[3]-St[3],B[4]=Oe[4]-St[4],B[5]=Oe[5]-St[5],B}function ft(B,Oe,St){return B[0]=Oe[0]*St,B[1]=Oe[1]*St,B[2]=Oe[2]*St,B[3]=Oe[3]*St,B[4]=Oe[4]*St,B[5]=Oe[5]*St,B}function fe(B,Oe,St,Qt){return B[0]=Oe[0]+St[0]*Qt,B[1]=Oe[1]+St[1]*Qt,B[2]=Oe[2]+St[2]*Qt,B[3]=Oe[3]+St[3]*Qt,B[4]=Oe[4]+St[4]*Qt,B[5]=Oe[5]+St[5]*Qt,B}function ie(B,Oe){return B[0]===Oe[0]&&B[1]===Oe[1]&&B[2]===Oe[2]&&B[3]===Oe[3]&&B[4]===Oe[4]&&B[5]===Oe[5]}function ge(B,Oe){var St=B[0],Qt=B[1],Cn=B[2],Nn=B[3],Bn=B[4],Xn=B[5],Jn=Oe[0],Cr=Oe[1],Kr=Oe[2],ti=Oe[3],Pi=Oe[4],pi=Oe[5];return Math.abs(St-Jn)<=n.EPSILON*Math.max(1,Math.abs(St),Math.abs(Jn))&&Math.abs(Qt-Cr)<=n.EPSILON*Math.max(1,Math.abs(Qt),Math.abs(Cr))&&Math.abs(Cn-Kr)<=n.EPSILON*Math.max(1,Math.abs(Cn),Math.abs(Kr))&&Math.abs(Nn-ti)<=n.EPSILON*Math.max(1,Math.abs(Nn),Math.abs(ti))&&Math.abs(Bn-Pi)<=n.EPSILON*Math.max(1,Math.abs(Bn),Math.abs(Pi))&&Math.abs(Xn-pi)<=n.EPSILON*Math.max(1,Math.abs(Xn),Math.abs(pi))}var Ve=R,Ee=je;function Me(){var B=new n.ARRAY_TYPE(9);return n.ARRAY_TYPE!=Float32Array&&(B[1]=0,B[2]=0,B[3]=0,B[5]=0,B[6]=0,B[7]=0),B[0]=1,B[4]=1,B[8]=1,B}function _e(B,Oe){return B[0]=Oe[0],B[1]=Oe[1],B[2]=Oe[2],B[3]=Oe[4],B[4]=Oe[5],B[5]=Oe[6],B[6]=Oe[8],B[7]=Oe[9],B[8]=Oe[10],B}function Re(B){var Oe=new n.ARRAY_TYPE(9);return Oe[0]=B[0],Oe[1]=B[1],Oe[2]=B[2],Oe[3]=B[3],Oe[4]=B[4],Oe[5]=B[5],Oe[6]=B[6],Oe[7]=B[7],Oe[8]=B[8],Oe}function et(B,Oe){return B[0]=Oe[0],B[1]=Oe[1],B[2]=Oe[2],B[3]=Oe[3],B[4]=Oe[4],B[5]=Oe[5],B[6]=Oe[6],B[7]=Oe[7],B[8]=Oe[8],B}function Xe(B,Oe,St,Qt,Cn,Nn,Bn,Xn,Jn){var Cr=new n.ARRAY_TYPE(9);return Cr[0]=B,Cr[1]=Oe,Cr[2]=St,Cr[3]=Qt,Cr[4]=Cn,Cr[5]=Nn,Cr[6]=Bn,Cr[7]=Xn,Cr[8]=Jn,Cr}function it(B,Oe,St,Qt,Cn,Nn,Bn,Xn,Jn,Cr){return B[0]=Oe,B[1]=St,B[2]=Qt,B[3]=Cn,B[4]=Nn,B[5]=Bn,B[6]=Xn,B[7]=Jn,B[8]=Cr,B}function bt(B){return B[0]=1,B[1]=0,B[2]=0,B[3]=0,B[4]=1,B[5]=0,B[6]=0,B[7]=0,B[8]=1,B}function Ct(B,Oe){if(B===Oe){var St=Oe[1],Qt=Oe[2],Cn=Oe[5];B[1]=Oe[3],B[2]=Oe[6],B[3]=St,B[5]=Oe[7],B[6]=Qt,B[7]=Cn}else B[0]=Oe[0],B[1]=Oe[3],B[2]=Oe[6],B[3]=Oe[1],B[4]=Oe[4],B[5]=Oe[7],B[6]=Oe[2],B[7]=Oe[5],B[8]=Oe[8];return B}function Bt(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=Oe[4],Xn=Oe[5],Jn=Oe[6],Cr=Oe[7],Kr=Oe[8],ti=Kr*Bn-Xn*Cr,Pi=-Kr*Nn+Xn*Jn,pi=Cr*Nn-Bn*Jn,Fi=St*ti+Qt*Pi+Cn*pi;return Fi?(Fi=1/Fi,B[0]=ti*Fi,B[1]=(-Kr*Qt+Cn*Cr)*Fi,B[2]=(Xn*Qt-Cn*Bn)*Fi,B[3]=Pi*Fi,B[4]=(Kr*St-Cn*Jn)*Fi,B[5]=(-Xn*St+Cn*Nn)*Fi,B[6]=pi*Fi,B[7]=(-Cr*St+Qt*Jn)*Fi,B[8]=(Bn*St-Qt*Nn)*Fi,B):null}function qe(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=Oe[4],Xn=Oe[5],Jn=Oe[6],Cr=Oe[7],Kr=Oe[8];return B[0]=Bn*Kr-Xn*Cr,B[1]=Cn*Cr-Qt*Kr,B[2]=Qt*Xn-Cn*Bn,B[3]=Xn*Jn-Nn*Kr,B[4]=St*Kr-Cn*Jn,B[5]=Cn*Nn-St*Xn,B[6]=Nn*Cr-Bn*Jn,B[7]=Qt*Jn-St*Cr,B[8]=St*Bn-Qt*Nn,B}function st(B){var Oe=B[0],St=B[1],Qt=B[2],Cn=B[3],Nn=B[4],Bn=B[5],Xn=B[6],Jn=B[7],Cr=B[8];return Oe*(Cr*Nn-Bn*Jn)+St*(-Cr*Cn+Bn*Xn)+Qt*(Jn*Cn-Nn*Xn)}function ut(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],ti=Oe[8],Pi=St[0],pi=St[1],Fi=St[2],ha=St[3],$i=St[4],wa=St[5],Lo=St[6],Co=St[7],qa=St[8];return B[0]=Pi*Qt+pi*Bn+Fi*Cr,B[1]=Pi*Cn+pi*Xn+Fi*Kr,B[2]=Pi*Nn+pi*Jn+Fi*ti,B[3]=ha*Qt+$i*Bn+wa*Cr,B[4]=ha*Cn+$i*Xn+wa*Kr,B[5]=ha*Nn+$i*Jn+wa*ti,B[6]=Lo*Qt+Co*Bn+qa*Cr,B[7]=Lo*Cn+Co*Xn+qa*Kr,B[8]=Lo*Nn+Co*Jn+qa*ti,B}function nt(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],ti=Oe[8],Pi=St[0],pi=St[1];return B[0]=Qt,B[1]=Cn,B[2]=Nn,B[3]=Bn,B[4]=Xn,B[5]=Jn,B[6]=Pi*Qt+pi*Bn+Cr,B[7]=Pi*Cn+pi*Xn+Kr,B[8]=Pi*Nn+pi*Jn+ti,B}function kt(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],ti=Oe[8],Pi=Math.sin(St),pi=Math.cos(St);return B[0]=pi*Qt+Pi*Bn,B[1]=pi*Cn+Pi*Xn,B[2]=pi*Nn+Pi*Jn,B[3]=pi*Bn-Pi*Qt,B[4]=pi*Xn-Pi*Cn,B[5]=pi*Jn-Pi*Nn,B[6]=Cr,B[7]=Kr,B[8]=ti,B}function Sn(B,Oe,St){var Qt=St[0],Cn=St[1];return B[0]=Qt*Oe[0],B[1]=Qt*Oe[1],B[2]=Qt*Oe[2],B[3]=Cn*Oe[3],B[4]=Cn*Oe[4],B[5]=Cn*Oe[5],B[6]=Oe[6],B[7]=Oe[7],B[8]=Oe[8],B}function Tt(B,Oe){return B[0]=1,B[1]=0,B[2]=0,B[3]=0,B[4]=1,B[5]=0,B[6]=Oe[0],B[7]=Oe[1],B[8]=1,B}function ht(B,Oe){var St=Math.sin(Oe),Qt=Math.cos(Oe);return B[0]=Qt,B[1]=St,B[2]=0,B[3]=-St,B[4]=Qt,B[5]=0,B[6]=0,B[7]=0,B[8]=1,B}function Rt(B,Oe){return B[0]=Oe[0],B[1]=0,B[2]=0,B[3]=0,B[4]=Oe[1],B[5]=0,B[6]=0,B[7]=0,B[8]=1,B}function Ft(B,Oe){return B[0]=Oe[0],B[1]=Oe[1],B[2]=0,B[3]=Oe[2],B[4]=Oe[3],B[5]=0,B[6]=Oe[4],B[7]=Oe[5],B[8]=1,B}function nn(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=St+St,Xn=Qt+Qt,Jn=Cn+Cn,Cr=St*Bn,Kr=Qt*Bn,ti=Qt*Xn,Pi=Cn*Bn,pi=Cn*Xn,Fi=Cn*Jn,ha=Nn*Bn,$i=Nn*Xn,wa=Nn*Jn;return B[0]=1-ti-Fi,B[3]=Kr-wa,B[6]=Pi+$i,B[1]=Kr+wa,B[4]=1-Cr-Fi,B[7]=pi-ha,B[2]=Pi-$i,B[5]=pi+ha,B[8]=1-Cr-ti,B}function bn(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=Oe[4],Xn=Oe[5],Jn=Oe[6],Cr=Oe[7],Kr=Oe[8],ti=Oe[9],Pi=Oe[10],pi=Oe[11],Fi=Oe[12],ha=Oe[13],$i=Oe[14],wa=Oe[15],Lo=St*Xn-Qt*Bn,Co=St*Jn-Cn*Bn,qa=St*Cr-Nn*Bn,Va=Qt*Jn-Cn*Xn,pa=Qt*Cr-Nn*Xn,fo=Cn*Cr-Nn*Jn,Ao=Kr*ha-ti*Fi,ko=Kr*$i-Pi*Fi,Jo=Kr*wa-pi*Fi,rs=ti*$i-Pi*ha,Cs=ti*wa-pi*ha,ms=Pi*wa-pi*$i,Po=Lo*ms-Co*Cs+qa*rs+Va*Jo-pa*ko+fo*Ao;return Po?(Po=1/Po,B[0]=(Xn*ms-Jn*Cs+Cr*rs)*Po,B[1]=(Jn*Jo-Bn*ms-Cr*ko)*Po,B[2]=(Bn*Cs-Xn*Jo+Cr*Ao)*Po,B[3]=(Cn*Cs-Qt*ms-Nn*rs)*Po,B[4]=(St*ms-Cn*Jo+Nn*ko)*Po,B[5]=(Qt*Jo-St*Cs-Nn*Ao)*Po,B[6]=(ha*fo-$i*pa+wa*Va)*Po,B[7]=($i*qa-Fi*fo-wa*Co)*Po,B[8]=(Fi*pa-ha*qa+wa*Lo)*Po,B):null}function sn(B,Oe,St){return B[0]=2/Oe,B[1]=0,B[2]=0,B[3]=0,B[4]=-2/St,B[5]=0,B[6]=-1,B[7]=1,B[8]=1,B}function un(B){return"mat3("+B[0]+", "+B[1]+", "+B[2]+", "+B[3]+", "+B[4]+", "+B[5]+", "+B[6]+", "+B[7]+", "+B[8]+")"}function Ht(B){return Math.hypot(B[0],B[1],B[2],B[3],B[4],B[5],B[6],B[7],B[8])}function jn(B,Oe,St){return B[0]=Oe[0]+St[0],B[1]=Oe[1]+St[1],B[2]=Oe[2]+St[2],B[3]=Oe[3]+St[3],B[4]=Oe[4]+St[4],B[5]=Oe[5]+St[5],B[6]=Oe[6]+St[6],B[7]=Oe[7]+St[7],B[8]=Oe[8]+St[8],B}function Ln(B,Oe,St){return B[0]=Oe[0]-St[0],B[1]=Oe[1]-St[1],B[2]=Oe[2]-St[2],B[3]=Oe[3]-St[3],B[4]=Oe[4]-St[4],B[5]=Oe[5]-St[5],B[6]=Oe[6]-St[6],B[7]=Oe[7]-St[7],B[8]=Oe[8]-St[8],B}function Un(B,Oe,St){return B[0]=Oe[0]*St,B[1]=Oe[1]*St,B[2]=Oe[2]*St,B[3]=Oe[3]*St,B[4]=Oe[4]*St,B[5]=Oe[5]*St,B[6]=Oe[6]*St,B[7]=Oe[7]*St,B[8]=Oe[8]*St,B}function lt(B,Oe,St,Qt){return B[0]=Oe[0]+St[0]*Qt,B[1]=Oe[1]+St[1]*Qt,B[2]=Oe[2]+St[2]*Qt,B[3]=Oe[3]+St[3]*Qt,B[4]=Oe[4]+St[4]*Qt,B[5]=Oe[5]+St[5]*Qt,B[6]=Oe[6]+St[6]*Qt,B[7]=Oe[7]+St[7]*Qt,B[8]=Oe[8]+St[8]*Qt,B}function Nt(B,Oe){return B[0]===Oe[0]&&B[1]===Oe[1]&&B[2]===Oe[2]&&B[3]===Oe[3]&&B[4]===Oe[4]&&B[5]===Oe[5]&&B[6]===Oe[6]&&B[7]===Oe[7]&&B[8]===Oe[8]}function zt(B,Oe){var St=B[0],Qt=B[1],Cn=B[2],Nn=B[3],Bn=B[4],Xn=B[5],Jn=B[6],Cr=B[7],Kr=B[8],ti=Oe[0],Pi=Oe[1],pi=Oe[2],Fi=Oe[3],ha=Oe[4],$i=Oe[5],wa=Oe[6],Lo=Oe[7],Co=Oe[8];return Math.abs(St-ti)<=n.EPSILON*Math.max(1,Math.abs(St),Math.abs(ti))&&Math.abs(Qt-Pi)<=n.EPSILON*Math.max(1,Math.abs(Qt),Math.abs(Pi))&&Math.abs(Cn-pi)<=n.EPSILON*Math.max(1,Math.abs(Cn),Math.abs(pi))&&Math.abs(Nn-Fi)<=n.EPSILON*Math.max(1,Math.abs(Nn),Math.abs(Fi))&&Math.abs(Bn-ha)<=n.EPSILON*Math.max(1,Math.abs(Bn),Math.abs(ha))&&Math.abs(Xn-$i)<=n.EPSILON*Math.max(1,Math.abs(Xn),Math.abs($i))&&Math.abs(Jn-wa)<=n.EPSILON*Math.max(1,Math.abs(Jn),Math.abs(wa))&&Math.abs(Cr-Lo)<=n.EPSILON*Math.max(1,Math.abs(Cr),Math.abs(Lo))&&Math.abs(Kr-Co)<=n.EPSILON*Math.max(1,Math.abs(Kr),Math.abs(Co))}var en=ut,tn=Ln;function wn(){var B=new n.ARRAY_TYPE(16);return n.ARRAY_TYPE!=Float32Array&&(B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[6]=0,B[7]=0,B[8]=0,B[9]=0,B[11]=0,B[12]=0,B[13]=0,B[14]=0),B[0]=1,B[5]=1,B[10]=1,B[15]=1,B}function on(B){var Oe=new n.ARRAY_TYPE(16);return Oe[0]=B[0],Oe[1]=B[1],Oe[2]=B[2],Oe[3]=B[3],Oe[4]=B[4],Oe[5]=B[5],Oe[6]=B[6],Oe[7]=B[7],Oe[8]=B[8],Oe[9]=B[9],Oe[10]=B[10],Oe[11]=B[11],Oe[12]=B[12],Oe[13]=B[13],Oe[14]=B[14],Oe[15]=B[15],Oe}function vn(B,Oe){return B[0]=Oe[0],B[1]=Oe[1],B[2]=Oe[2],B[3]=Oe[3],B[4]=Oe[4],B[5]=Oe[5],B[6]=Oe[6],B[7]=Oe[7],B[8]=Oe[8],B[9]=Oe[9],B[10]=Oe[10],B[11]=Oe[11],B[12]=Oe[12],B[13]=Oe[13],B[14]=Oe[14],B[15]=Oe[15],B}function dt(B,Oe,St,Qt,Cn,Nn,Bn,Xn,Jn,Cr,Kr,ti,Pi,pi,Fi,ha){var $i=new n.ARRAY_TYPE(16);return $i[0]=B,$i[1]=Oe,$i[2]=St,$i[3]=Qt,$i[4]=Cn,$i[5]=Nn,$i[6]=Bn,$i[7]=Xn,$i[8]=Jn,$i[9]=Cr,$i[10]=Kr,$i[11]=ti,$i[12]=Pi,$i[13]=pi,$i[14]=Fi,$i[15]=ha,$i}function ct(B,Oe,St,Qt,Cn,Nn,Bn,Xn,Jn,Cr,Kr,ti,Pi,pi,Fi,ha,$i){return B[0]=Oe,B[1]=St,B[2]=Qt,B[3]=Cn,B[4]=Nn,B[5]=Bn,B[6]=Xn,B[7]=Jn,B[8]=Cr,B[9]=Kr,B[10]=ti,B[11]=Pi,B[12]=pi,B[13]=Fi,B[14]=ha,B[15]=$i,B}function Kt(B){return B[0]=1,B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=1,B[6]=0,B[7]=0,B[8]=0,B[9]=0,B[10]=1,B[11]=0,B[12]=0,B[13]=0,B[14]=0,B[15]=1,B}function pn(B,Oe){if(B===Oe){var St=Oe[1],Qt=Oe[2],Cn=Oe[3],Nn=Oe[6],Bn=Oe[7],Xn=Oe[11];B[1]=Oe[4],B[2]=Oe[8],B[3]=Oe[12],B[4]=St,B[6]=Oe[9],B[7]=Oe[13],B[8]=Qt,B[9]=Nn,B[11]=Oe[14],B[12]=Cn,B[13]=Bn,B[14]=Xn}else B[0]=Oe[0],B[1]=Oe[4],B[2]=Oe[8],B[3]=Oe[12],B[4]=Oe[1],B[5]=Oe[5],B[6]=Oe[9],B[7]=Oe[13],B[8]=Oe[2],B[9]=Oe[6],B[10]=Oe[10],B[11]=Oe[14],B[12]=Oe[3],B[13]=Oe[7],B[14]=Oe[11],B[15]=Oe[15];return B}function kn(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=Oe[4],Xn=Oe[5],Jn=Oe[6],Cr=Oe[7],Kr=Oe[8],ti=Oe[9],Pi=Oe[10],pi=Oe[11],Fi=Oe[12],ha=Oe[13],$i=Oe[14],wa=Oe[15],Lo=St*Xn-Qt*Bn,Co=St*Jn-Cn*Bn,qa=St*Cr-Nn*Bn,Va=Qt*Jn-Cn*Xn,pa=Qt*Cr-Nn*Xn,fo=Cn*Cr-Nn*Jn,Ao=Kr*ha-ti*Fi,ko=Kr*$i-Pi*Fi,Jo=Kr*wa-pi*Fi,rs=ti*$i-Pi*ha,Cs=ti*wa-pi*ha,ms=Pi*wa-pi*$i,Po=Lo*ms-Co*Cs+qa*rs+Va*Jo-pa*ko+fo*Ao;return Po?(Po=1/Po,B[0]=(Xn*ms-Jn*Cs+Cr*rs)*Po,B[1]=(Cn*Cs-Qt*ms-Nn*rs)*Po,B[2]=(ha*fo-$i*pa+wa*Va)*Po,B[3]=(Pi*pa-ti*fo-pi*Va)*Po,B[4]=(Jn*Jo-Bn*ms-Cr*ko)*Po,B[5]=(St*ms-Cn*Jo+Nn*ko)*Po,B[6]=($i*qa-Fi*fo-wa*Co)*Po,B[7]=(Kr*fo-Pi*qa+pi*Co)*Po,B[8]=(Bn*Cs-Xn*Jo+Cr*Ao)*Po,B[9]=(Qt*Jo-St*Cs-Nn*Ao)*Po,B[10]=(Fi*pa-ha*qa+wa*Lo)*Po,B[11]=(ti*qa-Kr*pa-pi*Lo)*Po,B[12]=(Xn*ko-Bn*rs-Jn*Ao)*Po,B[13]=(St*rs-Qt*ko+Cn*Ao)*Po,B[14]=(ha*Co-Fi*Va-$i*Lo)*Po,B[15]=(Kr*Va-ti*Co+Pi*Lo)*Po,B):null}function Pt(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=Oe[4],Xn=Oe[5],Jn=Oe[6],Cr=Oe[7],Kr=Oe[8],ti=Oe[9],Pi=Oe[10],pi=Oe[11],Fi=Oe[12],ha=Oe[13],$i=Oe[14],wa=Oe[15];return B[0]=Xn*(Pi*wa-pi*$i)-ti*(Jn*wa-Cr*$i)+ha*(Jn*pi-Cr*Pi),B[1]=-(Qt*(Pi*wa-pi*$i)-ti*(Cn*wa-Nn*$i)+ha*(Cn*pi-Nn*Pi)),B[2]=Qt*(Jn*wa-Cr*$i)-Xn*(Cn*wa-Nn*$i)+ha*(Cn*Cr-Nn*Jn),B[3]=-(Qt*(Jn*pi-Cr*Pi)-Xn*(Cn*pi-Nn*Pi)+ti*(Cn*Cr-Nn*Jn)),B[4]=-(Bn*(Pi*wa-pi*$i)-Kr*(Jn*wa-Cr*$i)+Fi*(Jn*pi-Cr*Pi)),B[5]=St*(Pi*wa-pi*$i)-Kr*(Cn*wa-Nn*$i)+Fi*(Cn*pi-Nn*Pi),B[6]=-(St*(Jn*wa-Cr*$i)-Bn*(Cn*wa-Nn*$i)+Fi*(Cn*Cr-Nn*Jn)),B[7]=St*(Jn*pi-Cr*Pi)-Bn*(Cn*pi-Nn*Pi)+Kr*(Cn*Cr-Nn*Jn),B[8]=Bn*(ti*wa-pi*ha)-Kr*(Xn*wa-Cr*ha)+Fi*(Xn*pi-Cr*ti),B[9]=-(St*(ti*wa-pi*ha)-Kr*(Qt*wa-Nn*ha)+Fi*(Qt*pi-Nn*ti)),B[10]=St*(Xn*wa-Cr*ha)-Bn*(Qt*wa-Nn*ha)+Fi*(Qt*Cr-Nn*Xn),B[11]=-(St*(Xn*pi-Cr*ti)-Bn*(Qt*pi-Nn*ti)+Kr*(Qt*Cr-Nn*Xn)),B[12]=-(Bn*(ti*$i-Pi*ha)-Kr*(Xn*$i-Jn*ha)+Fi*(Xn*Pi-Jn*ti)),B[13]=St*(ti*$i-Pi*ha)-Kr*(Qt*$i-Cn*ha)+Fi*(Qt*Pi-Cn*ti),B[14]=-(St*(Xn*$i-Jn*ha)-Bn*(Qt*$i-Cn*ha)+Fi*(Qt*Jn-Cn*Xn)),B[15]=St*(Xn*Pi-Jn*ti)-Bn*(Qt*Pi-Cn*ti)+Kr*(Qt*Jn-Cn*Xn),B}function gn(B){var Oe=B[0],St=B[1],Qt=B[2],Cn=B[3],Nn=B[4],Bn=B[5],Xn=B[6],Jn=B[7],Cr=B[8],Kr=B[9],ti=B[10],Pi=B[11],pi=B[12],Fi=B[13],ha=B[14],$i=B[15],wa=Oe*Bn-St*Nn,Lo=Oe*Xn-Qt*Nn,Co=Oe*Jn-Cn*Nn,qa=St*Xn-Qt*Bn,Va=St*Jn-Cn*Bn,pa=Qt*Jn-Cn*Xn,fo=Cr*Fi-Kr*pi,Ao=Cr*ha-ti*pi,ko=Cr*$i-Pi*pi,Jo=Kr*ha-ti*Fi,rs=Kr*$i-Pi*Fi,Cs=ti*$i-Pi*ha;return wa*Cs-Lo*rs+Co*Jo+qa*ko-Va*Ao+pa*fo}function _n(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],ti=Oe[8],Pi=Oe[9],pi=Oe[10],Fi=Oe[11],ha=Oe[12],$i=Oe[13],wa=Oe[14],Lo=Oe[15],Co=St[0],qa=St[1],Va=St[2],pa=St[3];return B[0]=Co*Qt+qa*Xn+Va*ti+pa*ha,B[1]=Co*Cn+qa*Jn+Va*Pi+pa*$i,B[2]=Co*Nn+qa*Cr+Va*pi+pa*wa,B[3]=Co*Bn+qa*Kr+Va*Fi+pa*Lo,Co=St[4],qa=St[5],Va=St[6],pa=St[7],B[4]=Co*Qt+qa*Xn+Va*ti+pa*ha,B[5]=Co*Cn+qa*Jn+Va*Pi+pa*$i,B[6]=Co*Nn+qa*Cr+Va*pi+pa*wa,B[7]=Co*Bn+qa*Kr+Va*Fi+pa*Lo,Co=St[8],qa=St[9],Va=St[10],pa=St[11],B[8]=Co*Qt+qa*Xn+Va*ti+pa*ha,B[9]=Co*Cn+qa*Jn+Va*Pi+pa*$i,B[10]=Co*Nn+qa*Cr+Va*pi+pa*wa,B[11]=Co*Bn+qa*Kr+Va*Fi+pa*Lo,Co=St[12],qa=St[13],Va=St[14],pa=St[15],B[12]=Co*Qt+qa*Xn+Va*ti+pa*ha,B[13]=Co*Cn+qa*Jn+Va*Pi+pa*$i,B[14]=Co*Nn+qa*Cr+Va*pi+pa*wa,B[15]=Co*Bn+qa*Kr+Va*Fi+pa*Lo,B}function Kn(B,Oe,St){var Qt=St[0],Cn=St[1],Nn=St[2],Bn,Xn,Jn,Cr,Kr,ti,Pi,pi,Fi,ha,$i,wa;return Oe===B?(B[12]=Oe[0]*Qt+Oe[4]*Cn+Oe[8]*Nn+Oe[12],B[13]=Oe[1]*Qt+Oe[5]*Cn+Oe[9]*Nn+Oe[13],B[14]=Oe[2]*Qt+Oe[6]*Cn+Oe[10]*Nn+Oe[14],B[15]=Oe[3]*Qt+Oe[7]*Cn+Oe[11]*Nn+Oe[15]):(Bn=Oe[0],Xn=Oe[1],Jn=Oe[2],Cr=Oe[3],Kr=Oe[4],ti=Oe[5],Pi=Oe[6],pi=Oe[7],Fi=Oe[8],ha=Oe[9],$i=Oe[10],wa=Oe[11],B[0]=Bn,B[1]=Xn,B[2]=Jn,B[3]=Cr,B[4]=Kr,B[5]=ti,B[6]=Pi,B[7]=pi,B[8]=Fi,B[9]=ha,B[10]=$i,B[11]=wa,B[12]=Bn*Qt+Kr*Cn+Fi*Nn+Oe[12],B[13]=Xn*Qt+ti*Cn+ha*Nn+Oe[13],B[14]=Jn*Qt+Pi*Cn+$i*Nn+Oe[14],B[15]=Cr*Qt+pi*Cn+wa*Nn+Oe[15]),B}function qn(B,Oe,St){var Qt=St[0],Cn=St[1],Nn=St[2];return B[0]=Oe[0]*Qt,B[1]=Oe[1]*Qt,B[2]=Oe[2]*Qt,B[3]=Oe[3]*Qt,B[4]=Oe[4]*Cn,B[5]=Oe[5]*Cn,B[6]=Oe[6]*Cn,B[7]=Oe[7]*Cn,B[8]=Oe[8]*Nn,B[9]=Oe[9]*Nn,B[10]=Oe[10]*Nn,B[11]=Oe[11]*Nn,B[12]=Oe[12],B[13]=Oe[13],B[14]=Oe[14],B[15]=Oe[15],B}function rr(B,Oe,St,Qt){var Cn=Qt[0],Nn=Qt[1],Bn=Qt[2],Xn=Math.hypot(Cn,Nn,Bn),Jn,Cr,Kr,ti,Pi,pi,Fi,ha,$i,wa,Lo,Co,qa,Va,pa,fo,Ao,ko,Jo,rs,Cs,ms,Po,rl;return Xn<n.EPSILON?null:(Xn=1/Xn,Cn*=Xn,Nn*=Xn,Bn*=Xn,Jn=Math.sin(St),Cr=Math.cos(St),Kr=1-Cr,ti=Oe[0],Pi=Oe[1],pi=Oe[2],Fi=Oe[3],ha=Oe[4],$i=Oe[5],wa=Oe[6],Lo=Oe[7],Co=Oe[8],qa=Oe[9],Va=Oe[10],pa=Oe[11],fo=Cn*Cn*Kr+Cr,Ao=Nn*Cn*Kr+Bn*Jn,ko=Bn*Cn*Kr-Nn*Jn,Jo=Cn*Nn*Kr-Bn*Jn,rs=Nn*Nn*Kr+Cr,Cs=Bn*Nn*Kr+Cn*Jn,ms=Cn*Bn*Kr+Nn*Jn,Po=Nn*Bn*Kr-Cn*Jn,rl=Bn*Bn*Kr+Cr,B[0]=ti*fo+ha*Ao+Co*ko,B[1]=Pi*fo+$i*Ao+qa*ko,B[2]=pi*fo+wa*Ao+Va*ko,B[3]=Fi*fo+Lo*Ao+pa*ko,B[4]=ti*Jo+ha*rs+Co*Cs,B[5]=Pi*Jo+$i*rs+qa*Cs,B[6]=pi*Jo+wa*rs+Va*Cs,B[7]=Fi*Jo+Lo*rs+pa*Cs,B[8]=ti*ms+ha*Po+Co*rl,B[9]=Pi*ms+$i*Po+qa*rl,B[10]=pi*ms+wa*Po+Va*rl,B[11]=Fi*ms+Lo*Po+pa*rl,Oe!==B&&(B[12]=Oe[12],B[13]=Oe[13],B[14]=Oe[14],B[15]=Oe[15]),B)}function Rn(B,Oe,St){var Qt=Math.sin(St),Cn=Math.cos(St),Nn=Oe[4],Bn=Oe[5],Xn=Oe[6],Jn=Oe[7],Cr=Oe[8],Kr=Oe[9],ti=Oe[10],Pi=Oe[11];return Oe!==B&&(B[0]=Oe[0],B[1]=Oe[1],B[2]=Oe[2],B[3]=Oe[3],B[12]=Oe[12],B[13]=Oe[13],B[14]=Oe[14],B[15]=Oe[15]),B[4]=Nn*Cn+Cr*Qt,B[5]=Bn*Cn+Kr*Qt,B[6]=Xn*Cn+ti*Qt,B[7]=Jn*Cn+Pi*Qt,B[8]=Cr*Cn-Nn*Qt,B[9]=Kr*Cn-Bn*Qt,B[10]=ti*Cn-Xn*Qt,B[11]=Pi*Cn-Jn*Qt,B}function mr(B,Oe,St){var Qt=Math.sin(St),Cn=Math.cos(St),Nn=Oe[0],Bn=Oe[1],Xn=Oe[2],Jn=Oe[3],Cr=Oe[8],Kr=Oe[9],ti=Oe[10],Pi=Oe[11];return Oe!==B&&(B[4]=Oe[4],B[5]=Oe[5],B[6]=Oe[6],B[7]=Oe[7],B[12]=Oe[12],B[13]=Oe[13],B[14]=Oe[14],B[15]=Oe[15]),B[0]=Nn*Cn-Cr*Qt,B[1]=Bn*Cn-Kr*Qt,B[2]=Xn*Cn-ti*Qt,B[3]=Jn*Cn-Pi*Qt,B[8]=Nn*Qt+Cr*Cn,B[9]=Bn*Qt+Kr*Cn,B[10]=Xn*Qt+ti*Cn,B[11]=Jn*Qt+Pi*Cn,B}function ar(B,Oe,St){var Qt=Math.sin(St),Cn=Math.cos(St),Nn=Oe[0],Bn=Oe[1],Xn=Oe[2],Jn=Oe[3],Cr=Oe[4],Kr=Oe[5],ti=Oe[6],Pi=Oe[7];return Oe!==B&&(B[8]=Oe[8],B[9]=Oe[9],B[10]=Oe[10],B[11]=Oe[11],B[12]=Oe[12],B[13]=Oe[13],B[14]=Oe[14],B[15]=Oe[15]),B[0]=Nn*Cn+Cr*Qt,B[1]=Bn*Cn+Kr*Qt,B[2]=Xn*Cn+ti*Qt,B[3]=Jn*Cn+Pi*Qt,B[4]=Cr*Cn-Nn*Qt,B[5]=Kr*Cn-Bn*Qt,B[6]=ti*Cn-Xn*Qt,B[7]=Pi*Cn-Jn*Qt,B}function sr(B,Oe){return B[0]=1,B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=1,B[6]=0,B[7]=0,B[8]=0,B[9]=0,B[10]=1,B[11]=0,B[12]=Oe[0],B[13]=Oe[1],B[14]=Oe[2],B[15]=1,B}function yr(B,Oe){return B[0]=Oe[0],B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=Oe[1],B[6]=0,B[7]=0,B[8]=0,B[9]=0,B[10]=Oe[2],B[11]=0,B[12]=0,B[13]=0,B[14]=0,B[15]=1,B}function br(B,Oe,St){var Qt=St[0],Cn=St[1],Nn=St[2],Bn=Math.hypot(Qt,Cn,Nn),Xn,Jn,Cr;return Bn<n.EPSILON?null:(Bn=1/Bn,Qt*=Bn,Cn*=Bn,Nn*=Bn,Xn=Math.sin(Oe),Jn=Math.cos(Oe),Cr=1-Jn,B[0]=Qt*Qt*Cr+Jn,B[1]=Cn*Qt*Cr+Nn*Xn,B[2]=Nn*Qt*Cr-Cn*Xn,B[3]=0,B[4]=Qt*Cn*Cr-Nn*Xn,B[5]=Cn*Cn*Cr+Jn,B[6]=Nn*Cn*Cr+Qt*Xn,B[7]=0,B[8]=Qt*Nn*Cr+Cn*Xn,B[9]=Cn*Nn*Cr-Qt*Xn,B[10]=Nn*Nn*Cr+Jn,B[11]=0,B[12]=0,B[13]=0,B[14]=0,B[15]=1,B)}function _r(B,Oe){var St=Math.sin(Oe),Qt=Math.cos(Oe);return B[0]=1,B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=Qt,B[6]=St,B[7]=0,B[8]=0,B[9]=-St,B[10]=Qt,B[11]=0,B[12]=0,B[13]=0,B[14]=0,B[15]=1,B}function li(B,Oe){var St=Math.sin(Oe),Qt=Math.cos(Oe);return B[0]=Qt,B[1]=0,B[2]=-St,B[3]=0,B[4]=0,B[5]=1,B[6]=0,B[7]=0,B[8]=St,B[9]=0,B[10]=Qt,B[11]=0,B[12]=0,B[13]=0,B[14]=0,B[15]=1,B}function xi(B,Oe){var St=Math.sin(Oe),Qt=Math.cos(Oe);return B[0]=Qt,B[1]=St,B[2]=0,B[3]=0,B[4]=-St,B[5]=Qt,B[6]=0,B[7]=0,B[8]=0,B[9]=0,B[10]=1,B[11]=0,B[12]=0,B[13]=0,B[14]=0,B[15]=1,B}function Mi(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Qt+Qt,Jn=Cn+Cn,Cr=Nn+Nn,Kr=Qt*Xn,ti=Qt*Jn,Pi=Qt*Cr,pi=Cn*Jn,Fi=Cn*Cr,ha=Nn*Cr,$i=Bn*Xn,wa=Bn*Jn,Lo=Bn*Cr;return B[0]=1-(pi+ha),B[1]=ti+Lo,B[2]=Pi-wa,B[3]=0,B[4]=ti-Lo,B[5]=1-(Kr+ha),B[6]=Fi+$i,B[7]=0,B[8]=Pi+wa,B[9]=Fi-$i,B[10]=1-(Kr+pi),B[11]=0,B[12]=St[0],B[13]=St[1],B[14]=St[2],B[15]=1,B}function Fr(B,Oe){var St=new n.ARRAY_TYPE(3),Qt=-Oe[0],Cn=-Oe[1],Nn=-Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],ti=Qt*Qt+Cn*Cn+Nn*Nn+Bn*Bn;return ti>0?(St[0]=(Xn*Bn+Kr*Qt+Jn*Nn-Cr*Cn)*2/ti,St[1]=(Jn*Bn+Kr*Cn+Cr*Qt-Xn*Nn)*2/ti,St[2]=(Cr*Bn+Kr*Nn+Xn*Cn-Jn*Qt)*2/ti):(St[0]=(Xn*Bn+Kr*Qt+Jn*Nn-Cr*Cn)*2,St[1]=(Jn*Bn+Kr*Cn+Cr*Qt-Xn*Nn)*2,St[2]=(Cr*Bn+Kr*Nn+Xn*Cn-Jn*Qt)*2),Mi(B,Oe,St),B}function ur(B,Oe){return B[0]=Oe[12],B[1]=Oe[13],B[2]=Oe[14],B}function Ti(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[4],Bn=Oe[5],Xn=Oe[6],Jn=Oe[8],Cr=Oe[9],Kr=Oe[10];return B[0]=Math.hypot(St,Qt,Cn),B[1]=Math.hypot(Nn,Bn,Xn),B[2]=Math.hypot(Jn,Cr,Kr),B}function Xi(B,Oe){var St=new n.ARRAY_TYPE(3);Ti(St,Oe);var Qt=1/St[0],Cn=1/St[1],Nn=1/St[2],Bn=Oe[0]*Qt,Xn=Oe[1]*Cn,Jn=Oe[2]*Nn,Cr=Oe[4]*Qt,Kr=Oe[5]*Cn,ti=Oe[6]*Nn,Pi=Oe[8]*Qt,pi=Oe[9]*Cn,Fi=Oe[10]*Nn,ha=Bn+Kr+Fi,$i=0;return ha>0?($i=Math.sqrt(ha+1)*2,B[3]=.25*$i,B[0]=(ti-pi)/$i,B[1]=(Pi-Jn)/$i,B[2]=(Xn-Cr)/$i):Bn>Kr&&Bn>Fi?($i=Math.sqrt(1+Bn-Kr-Fi)*2,B[3]=(ti-pi)/$i,B[0]=.25*$i,B[1]=(Xn+Cr)/$i,B[2]=(Pi+Jn)/$i):Kr>Fi?($i=Math.sqrt(1+Kr-Bn-Fi)*2,B[3]=(Pi-Jn)/$i,B[0]=(Xn+Cr)/$i,B[1]=.25*$i,B[2]=(ti+pi)/$i):($i=Math.sqrt(1+Fi-Bn-Kr)*2,B[3]=(Xn-Cr)/$i,B[0]=(Pi+Jn)/$i,B[1]=(ti+pi)/$i,B[2]=.25*$i),B}function ca(B,Oe,St,Qt){var Cn=Oe[0],Nn=Oe[1],Bn=Oe[2],Xn=Oe[3],Jn=Cn+Cn,Cr=Nn+Nn,Kr=Bn+Bn,ti=Cn*Jn,Pi=Cn*Cr,pi=Cn*Kr,Fi=Nn*Cr,ha=Nn*Kr,$i=Bn*Kr,wa=Xn*Jn,Lo=Xn*Cr,Co=Xn*Kr,qa=Qt[0],Va=Qt[1],pa=Qt[2];return B[0]=(1-(Fi+$i))*qa,B[1]=(Pi+Co)*qa,B[2]=(pi-Lo)*qa,B[3]=0,B[4]=(Pi-Co)*Va,B[5]=(1-(ti+$i))*Va,B[6]=(ha+wa)*Va,B[7]=0,B[8]=(pi+Lo)*pa,B[9]=(ha-wa)*pa,B[10]=(1-(ti+Fi))*pa,B[11]=0,B[12]=St[0],B[13]=St[1],B[14]=St[2],B[15]=1,B}function Zi(B,Oe,St,Qt,Cn){var Nn=Oe[0],Bn=Oe[1],Xn=Oe[2],Jn=Oe[3],Cr=Nn+Nn,Kr=Bn+Bn,ti=Xn+Xn,Pi=Nn*Cr,pi=Nn*Kr,Fi=Nn*ti,ha=Bn*Kr,$i=Bn*ti,wa=Xn*ti,Lo=Jn*Cr,Co=Jn*Kr,qa=Jn*ti,Va=Qt[0],pa=Qt[1],fo=Qt[2],Ao=Cn[0],ko=Cn[1],Jo=Cn[2],rs=(1-(ha+wa))*Va,Cs=(pi+qa)*Va,ms=(Fi-Co)*Va,Po=(pi-qa)*pa,rl=(1-(Pi+wa))*pa,Rl=($i+Lo)*pa,bl=(Fi+Co)*fo,Tl=($i-Lo)*fo,ou=(1-(Pi+ha))*fo;return B[0]=rs,B[1]=Cs,B[2]=ms,B[3]=0,B[4]=Po,B[5]=rl,B[6]=Rl,B[7]=0,B[8]=bl,B[9]=Tl,B[10]=ou,B[11]=0,B[12]=St[0]+Ao-(rs*Ao+Po*ko+bl*Jo),B[13]=St[1]+ko-(Cs*Ao+rl*ko+Tl*Jo),B[14]=St[2]+Jo-(ms*Ao+Rl*ko+ou*Jo),B[15]=1,B}function xa(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=St+St,Xn=Qt+Qt,Jn=Cn+Cn,Cr=St*Bn,Kr=Qt*Bn,ti=Qt*Xn,Pi=Cn*Bn,pi=Cn*Xn,Fi=Cn*Jn,ha=Nn*Bn,$i=Nn*Xn,wa=Nn*Jn;return B[0]=1-ti-Fi,B[1]=Kr+wa,B[2]=Pi-$i,B[3]=0,B[4]=Kr-wa,B[5]=1-Cr-Fi,B[6]=pi+ha,B[7]=0,B[8]=Pi+$i,B[9]=pi-ha,B[10]=1-Cr-ti,B[11]=0,B[12]=0,B[13]=0,B[14]=0,B[15]=1,B}function va(B,Oe,St,Qt,Cn,Nn,Bn){var Xn=1/(St-Oe),Jn=1/(Cn-Qt),Cr=1/(Nn-Bn);return B[0]=Nn*2*Xn,B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=Nn*2*Jn,B[6]=0,B[7]=0,B[8]=(St+Oe)*Xn,B[9]=(Cn+Qt)*Jn,B[10]=(Bn+Nn)*Cr,B[11]=-1,B[12]=0,B[13]=0,B[14]=Bn*Nn*2*Cr,B[15]=0,B}function Ma(B,Oe,St,Qt,Cn){var Nn=1/Math.tan(Oe/2),Bn;return B[0]=Nn/St,B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=Nn,B[6]=0,B[7]=0,B[8]=0,B[9]=0,B[11]=-1,B[12]=0,B[13]=0,B[15]=0,Cn!=null&&Cn!==Infinity?(Bn=1/(Qt-Cn),B[10]=(Cn+Qt)*Bn,B[14]=2*Cn*Qt*Bn):(B[10]=-1,B[14]=-2*Qt),B}var _a=Ma;function na(B,Oe,St,Qt,Cn){var Nn=1/Math.tan(Oe/2),Bn;return B[0]=Nn/St,B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=Nn,B[6]=0,B[7]=0,B[8]=0,B[9]=0,B[11]=-1,B[12]=0,B[13]=0,B[15]=0,Cn!=null&&Cn!==Infinity?(Bn=1/(Qt-Cn),B[10]=Cn*Bn,B[14]=Cn*Qt*Bn):(B[10]=-1,B[14]=-Qt),B}function sa(B,Oe,St,Qt){var Cn=Math.tan(Oe.upDegrees*Math.PI/180),Nn=Math.tan(Oe.downDegrees*Math.PI/180),Bn=Math.tan(Oe.leftDegrees*Math.PI/180),Xn=Math.tan(Oe.rightDegrees*Math.PI/180),Jn=2/(Bn+Xn),Cr=2/(Cn+Nn);return B[0]=Jn,B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=Cr,B[6]=0,B[7]=0,B[8]=-((Bn-Xn)*Jn*.5),B[9]=(Cn-Nn)*Cr*.5,B[10]=Qt/(St-Qt),B[11]=-1,B[12]=0,B[13]=0,B[14]=Qt*St/(St-Qt),B[15]=0,B}function Ai(B,Oe,St,Qt,Cn,Nn,Bn){var Xn=1/(Oe-St),Jn=1/(Qt-Cn),Cr=1/(Nn-Bn);return B[0]=-2*Xn,B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=-2*Jn,B[6]=0,B[7]=0,B[8]=0,B[9]=0,B[10]=2*Cr,B[11]=0,B[12]=(Oe+St)*Xn,B[13]=(Cn+Qt)*Jn,B[14]=(Bn+Nn)*Cr,B[15]=1,B}var ba=Ai;function ea(B,Oe,St,Qt,Cn,Nn,Bn){var Xn=1/(Oe-St),Jn=1/(Qt-Cn),Cr=1/(Nn-Bn);return B[0]=-2*Xn,B[1]=0,B[2]=0,B[3]=0,B[4]=0,B[5]=-2*Jn,B[6]=0,B[7]=0,B[8]=0,B[9]=0,B[10]=Cr,B[11]=0,B[12]=(Oe+St)*Xn,B[13]=(Cn+Qt)*Jn,B[14]=Nn*Cr,B[15]=1,B}function mn(B,Oe,St,Qt){var Cn,Nn,Bn,Xn,Jn,Cr,Kr,ti,Pi,pi,Fi=Oe[0],ha=Oe[1],$i=Oe[2],wa=Qt[0],Lo=Qt[1],Co=Qt[2],qa=St[0],Va=St[1],pa=St[2];return Math.abs(Fi-qa)<n.EPSILON&&Math.abs(ha-Va)<n.EPSILON&&Math.abs($i-pa)<n.EPSILON?Kt(B):(Kr=Fi-qa,ti=ha-Va,Pi=$i-pa,pi=1/Math.hypot(Kr,ti,Pi),Kr*=pi,ti*=pi,Pi*=pi,Cn=Lo*Pi-Co*ti,Nn=Co*Kr-wa*Pi,Bn=wa*ti-Lo*Kr,pi=Math.hypot(Cn,Nn,Bn),pi?(pi=1/pi,Cn*=pi,Nn*=pi,Bn*=pi):(Cn=0,Nn=0,Bn=0),Xn=ti*Bn-Pi*Nn,Jn=Pi*Cn-Kr*Bn,Cr=Kr*Nn-ti*Cn,pi=Math.hypot(Xn,Jn,Cr),pi?(pi=1/pi,Xn*=pi,Jn*=pi,Cr*=pi):(Xn=0,Jn=0,Cr=0),B[0]=Cn,B[1]=Xn,B[2]=Kr,B[3]=0,B[4]=Nn,B[5]=Jn,B[6]=ti,B[7]=0,B[8]=Bn,B[9]=Cr,B[10]=Pi,B[11]=0,B[12]=-(Cn*Fi+Nn*ha+Bn*$i),B[13]=-(Xn*Fi+Jn*ha+Cr*$i),B[14]=-(Kr*Fi+ti*ha+Pi*$i),B[15]=1,B)}function It(B,Oe,St,Qt){var Cn=Oe[0],Nn=Oe[1],Bn=Oe[2],Xn=Qt[0],Jn=Qt[1],Cr=Qt[2],Kr=Cn-St[0],ti=Nn-St[1],Pi=Bn-St[2],pi=Kr*Kr+ti*ti+Pi*Pi;pi>0&&(pi=1/Math.sqrt(pi),Kr*=pi,ti*=pi,Pi*=pi);var Fi=Jn*Pi-Cr*ti,ha=Cr*Kr-Xn*Pi,$i=Xn*ti-Jn*Kr;return pi=Fi*Fi+ha*ha+$i*$i,pi>0&&(pi=1/Math.sqrt(pi),Fi*=pi,ha*=pi,$i*=pi),B[0]=Fi,B[1]=ha,B[2]=$i,B[3]=0,B[4]=ti*$i-Pi*ha,B[5]=Pi*Fi-Kr*$i,B[6]=Kr*ha-ti*Fi,B[7]=0,B[8]=Kr,B[9]=ti,B[10]=Pi,B[11]=0,B[12]=Cn,B[13]=Nn,B[14]=Bn,B[15]=1,B}function Ue(B){return"mat4("+B[0]+", "+B[1]+", "+B[2]+", "+B[3]+", "+B[4]+", "+B[5]+", "+B[6]+", "+B[7]+", "+B[8]+", "+B[9]+", "+B[10]+", "+B[11]+", "+B[12]+", "+B[13]+", "+B[14]+", "+B[15]+")"}function Ze(B){return Math.hypot(B[0],B[1],B[2],B[3],B[4],B[5],B[6],B[7],B[8],B[9],B[10],B[11],B[12],B[13],B[14],B[15])}function Pe(B,Oe,St){return B[0]=Oe[0]+St[0],B[1]=Oe[1]+St[1],B[2]=Oe[2]+St[2],B[3]=Oe[3]+St[3],B[4]=Oe[4]+St[4],B[5]=Oe[5]+St[5],B[6]=Oe[6]+St[6],B[7]=Oe[7]+St[7],B[8]=Oe[8]+St[8],B[9]=Oe[9]+St[9],B[10]=Oe[10]+St[10],B[11]=Oe[11]+St[11],B[12]=Oe[12]+St[12],B[13]=Oe[13]+St[13],B[14]=Oe[14]+St[14],B[15]=Oe[15]+St[15],B}function mt(B,Oe,St){return B[0]=Oe[0]-St[0],B[1]=Oe[1]-St[1],B[2]=Oe[2]-St[2],B[3]=Oe[3]-St[3],B[4]=Oe[4]-St[4],B[5]=Oe[5]-St[5],B[6]=Oe[6]-St[6],B[7]=Oe[7]-St[7],B[8]=Oe[8]-St[8],B[9]=Oe[9]-St[9],B[10]=Oe[10]-St[10],B[11]=Oe[11]-St[11],B[12]=Oe[12]-St[12],B[13]=Oe[13]-St[13],B[14]=Oe[14]-St[14],B[15]=Oe[15]-St[15],B}function xt(B,Oe,St){return B[0]=Oe[0]*St,B[1]=Oe[1]*St,B[2]=Oe[2]*St,B[3]=Oe[3]*St,B[4]=Oe[4]*St,B[5]=Oe[5]*St,B[6]=Oe[6]*St,B[7]=Oe[7]*St,B[8]=Oe[8]*St,B[9]=Oe[9]*St,B[10]=Oe[10]*St,B[11]=Oe[11]*St,B[12]=Oe[12]*St,B[13]=Oe[13]*St,B[14]=Oe[14]*St,B[15]=Oe[15]*St,B}function cn(B,Oe,St,Qt){return B[0]=Oe[0]+St[0]*Qt,B[1]=Oe[1]+St[1]*Qt,B[2]=Oe[2]+St[2]*Qt,B[3]=Oe[3]+St[3]*Qt,B[4]=Oe[4]+St[4]*Qt,B[5]=Oe[5]+St[5]*Qt,B[6]=Oe[6]+St[6]*Qt,B[7]=Oe[7]+St[7]*Qt,B[8]=Oe[8]+St[8]*Qt,B[9]=Oe[9]+St[9]*Qt,B[10]=Oe[10]+St[10]*Qt,B[11]=Oe[11]+St[11]*Qt,B[12]=Oe[12]+St[12]*Qt,B[13]=Oe[13]+St[13]*Qt,B[14]=Oe[14]+St[14]*Qt,B[15]=Oe[15]+St[15]*Qt,B}function Ut(B,Oe){return B[0]===Oe[0]&&B[1]===Oe[1]&&B[2]===Oe[2]&&B[3]===Oe[3]&&B[4]===Oe[4]&&B[5]===Oe[5]&&B[6]===Oe[6]&&B[7]===Oe[7]&&B[8]===Oe[8]&&B[9]===Oe[9]&&B[10]===Oe[10]&&B[11]===Oe[11]&&B[12]===Oe[12]&&B[13]===Oe[13]&&B[14]===Oe[14]&&B[15]===Oe[15]}function wt(B,Oe){var St=B[0],Qt=B[1],Cn=B[2],Nn=B[3],Bn=B[4],Xn=B[5],Jn=B[6],Cr=B[7],Kr=B[8],ti=B[9],Pi=B[10],pi=B[11],Fi=B[12],ha=B[13],$i=B[14],wa=B[15],Lo=Oe[0],Co=Oe[1],qa=Oe[2],Va=Oe[3],pa=Oe[4],fo=Oe[5],Ao=Oe[6],ko=Oe[7],Jo=Oe[8],rs=Oe[9],Cs=Oe[10],ms=Oe[11],Po=Oe[12],rl=Oe[13],Rl=Oe[14],bl=Oe[15];return Math.abs(St-Lo)<=n.EPSILON*Math.max(1,Math.abs(St),Math.abs(Lo))&&Math.abs(Qt-Co)<=n.EPSILON*Math.max(1,Math.abs(Qt),Math.abs(Co))&&Math.abs(Cn-qa)<=n.EPSILON*Math.max(1,Math.abs(Cn),Math.abs(qa))&&Math.abs(Nn-Va)<=n.EPSILON*Math.max(1,Math.abs(Nn),Math.abs(Va))&&Math.abs(Bn-pa)<=n.EPSILON*Math.max(1,Math.abs(Bn),Math.abs(pa))&&Math.abs(Xn-fo)<=n.EPSILON*Math.max(1,Math.abs(Xn),Math.abs(fo))&&Math.abs(Jn-Ao)<=n.EPSILON*Math.max(1,Math.abs(Jn),Math.abs(Ao))&&Math.abs(Cr-ko)<=n.EPSILON*Math.max(1,Math.abs(Cr),Math.abs(ko))&&Math.abs(Kr-Jo)<=n.EPSILON*Math.max(1,Math.abs(Kr),Math.abs(Jo))&&Math.abs(ti-rs)<=n.EPSILON*Math.max(1,Math.abs(ti),Math.abs(rs))&&Math.abs(Pi-Cs)<=n.EPSILON*Math.max(1,Math.abs(Pi),Math.abs(Cs))&&Math.abs(pi-ms)<=n.EPSILON*Math.max(1,Math.abs(pi),Math.abs(ms))&&Math.abs(Fi-Po)<=n.EPSILON*Math.max(1,Math.abs(Fi),Math.abs(Po))&&Math.abs(ha-rl)<=n.EPSILON*Math.max(1,Math.abs(ha),Math.abs(rl))&&Math.abs($i-Rl)<=n.EPSILON*Math.max(1,Math.abs($i),Math.abs(Rl))&&Math.abs(wa-bl)<=n.EPSILON*Math.max(1,Math.abs(wa),Math.abs(bl))}var Pn=_n,an=mt,Dn=e("n+fv");function Tn(){var B=new n.ARRAY_TYPE(4);return n.ARRAY_TYPE!=Float32Array&&(B[0]=0,B[1]=0,B[2]=0,B[3]=0),B}function Zn(B){var Oe=new n.ARRAY_TYPE(4);return Oe[0]=B[0],Oe[1]=B[1],Oe[2]=B[2],Oe[3]=B[3],Oe}function Mr(B,Oe,St,Qt){var Cn=new n.ARRAY_TYPE(4);return Cn[0]=B,Cn[1]=Oe,Cn[2]=St,Cn[3]=Qt,Cn}function xr(B,Oe){return B[0]=Oe[0],B[1]=Oe[1],B[2]=Oe[2],B[3]=Oe[3],B}function Vr(B,Oe,St,Qt,Cn){return B[0]=Oe,B[1]=St,B[2]=Qt,B[3]=Cn,B}function Dr(B,Oe,St){return B[0]=Oe[0]+St[0],B[1]=Oe[1]+St[1],B[2]=Oe[2]+St[2],B[3]=Oe[3]+St[3],B}function dr(B,Oe,St){return B[0]=Oe[0]-St[0],B[1]=Oe[1]-St[1],B[2]=Oe[2]-St[2],B[3]=Oe[3]-St[3],B}function gt(B,Oe,St){return B[0]=Oe[0]*St[0],B[1]=Oe[1]*St[1],B[2]=Oe[2]*St[2],B[3]=Oe[3]*St[3],B}function Rr(B,Oe,St){return B[0]=Oe[0]/St[0],B[1]=Oe[1]/St[1],B[2]=Oe[2]/St[2],B[3]=Oe[3]/St[3],B}function ci(B,Oe){return B[0]=Math.ceil(Oe[0]),B[1]=Math.ceil(Oe[1]),B[2]=Math.ceil(Oe[2]),B[3]=Math.ceil(Oe[3]),B}function ai(B,Oe){return B[0]=Math.floor(Oe[0]),B[1]=Math.floor(Oe[1]),B[2]=Math.floor(Oe[2]),B[3]=Math.floor(Oe[3]),B}function bi(B,Oe,St){return B[0]=Math.min(Oe[0],St[0]),B[1]=Math.min(Oe[1],St[1]),B[2]=Math.min(Oe[2],St[2]),B[3]=Math.min(Oe[3],St[3]),B}function zr(B,Oe,St){return B[0]=Math.max(Oe[0],St[0]),B[1]=Math.max(Oe[1],St[1]),B[2]=Math.max(Oe[2],St[2]),B[3]=Math.max(Oe[3],St[3]),B}function Hi(B,Oe){return B[0]=Math.round(Oe[0]),B[1]=Math.round(Oe[1]),B[2]=Math.round(Oe[2]),B[3]=Math.round(Oe[3]),B}function hi(B,Oe,St){return B[0]=Oe[0]*St,B[1]=Oe[1]*St,B[2]=Oe[2]*St,B[3]=Oe[3]*St,B}function Ci(B,Oe,St,Qt){return B[0]=Oe[0]+St[0]*Qt,B[1]=Oe[1]+St[1]*Qt,B[2]=Oe[2]+St[2]*Qt,B[3]=Oe[3]+St[3]*Qt,B}function Ii(B,Oe){var St=Oe[0]-B[0],Qt=Oe[1]-B[1],Cn=Oe[2]-B[2],Nn=Oe[3]-B[3];return Math.hypot(St,Qt,Cn,Nn)}function Mn(B,Oe){var St=Oe[0]-B[0],Qt=Oe[1]-B[1],Cn=Oe[2]-B[2],Nn=Oe[3]-B[3];return St*St+Qt*Qt+Cn*Cn+Nn*Nn}function nr(B){var Oe=B[0],St=B[1],Qt=B[2],Cn=B[3];return Math.hypot(Oe,St,Qt,Cn)}function cr(B){var Oe=B[0],St=B[1],Qt=B[2],Cn=B[3];return Oe*Oe+St*St+Qt*Qt+Cn*Cn}function Lr(B,Oe){return B[0]=-Oe[0],B[1]=-Oe[1],B[2]=-Oe[2],B[3]=-Oe[3],B}function ei(B,Oe){return B[0]=1/Oe[0],B[1]=1/Oe[1],B[2]=1/Oe[2],B[3]=1/Oe[3],B}function ki(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=St*St+Qt*Qt+Cn*Cn+Nn*Nn;return Bn>0&&(Bn=1/Math.sqrt(Bn)),B[0]=St*Bn,B[1]=Qt*Bn,B[2]=Cn*Bn,B[3]=Nn*Bn,B}function ua(B,Oe){return B[0]*Oe[0]+B[1]*Oe[1]+B[2]*Oe[2]+B[3]*Oe[3]}function Qi(B,Oe,St,Qt){var Cn=St[0]*Qt[1]-St[1]*Qt[0],Nn=St[0]*Qt[2]-St[2]*Qt[0],Bn=St[0]*Qt[3]-St[3]*Qt[0],Xn=St[1]*Qt[2]-St[2]*Qt[1],Jn=St[1]*Qt[3]-St[3]*Qt[1],Cr=St[2]*Qt[3]-St[3]*Qt[2],Kr=Oe[0],ti=Oe[1],Pi=Oe[2],pi=Oe[3];return B[0]=ti*Cr-Pi*Jn+pi*Xn,B[1]=-(Kr*Cr)+Pi*Bn-pi*Nn,B[2]=Kr*Jn-ti*Bn+pi*Cn,B[3]=-(Kr*Xn)+ti*Nn-Pi*Cn,B}function Br(B,Oe,St,Qt){var Cn=Oe[0],Nn=Oe[1],Bn=Oe[2],Xn=Oe[3];return B[0]=Cn+Qt*(St[0]-Cn),B[1]=Nn+Qt*(St[1]-Nn),B[2]=Bn+Qt*(St[2]-Bn),B[3]=Xn+Qt*(St[3]-Xn),B}function ga(B,Oe){Oe=Oe||1;var St,Qt,Cn,Nn,Bn,Xn;do St=n.RANDOM()*2-1,Qt=n.RANDOM()*2-1,Bn=St*St+Qt*Qt;while(Bn>=1);do Cn=n.RANDOM()*2-1,Nn=n.RANDOM()*2-1,Xn=Cn*Cn+Nn*Nn;while(Xn>=1);var Jn=Math.sqrt((1-Bn)/Xn);return B[0]=Oe*St,B[1]=Oe*Qt,B[2]=Oe*Cn*Jn,B[3]=Oe*Nn*Jn,B}function fa(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3];return B[0]=St[0]*Qt+St[4]*Cn+St[8]*Nn+St[12]*Bn,B[1]=St[1]*Qt+St[5]*Cn+St[9]*Nn+St[13]*Bn,B[2]=St[2]*Qt+St[6]*Cn+St[10]*Nn+St[14]*Bn,B[3]=St[3]*Qt+St[7]*Cn+St[11]*Nn+St[15]*Bn,B}function Ja(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=St[0],Xn=St[1],Jn=St[2],Cr=St[3],Kr=Cr*Qt+Xn*Nn-Jn*Cn,ti=Cr*Cn+Jn*Qt-Bn*Nn,Pi=Cr*Nn+Bn*Cn-Xn*Qt,pi=-Bn*Qt-Xn*Cn-Jn*Nn;return B[0]=Kr*Cr+pi*-Bn+ti*-Jn-Pi*-Xn,B[1]=ti*Cr+pi*-Xn+Pi*-Bn-Kr*-Jn,B[2]=Pi*Cr+pi*-Jn+Kr*-Xn-ti*-Bn,B[3]=Oe[3],B}function In(B){return B[0]=0,B[1]=0,B[2]=0,B[3]=0,B}function ve(B){return"vec4("+B[0]+", "+B[1]+", "+B[2]+", "+B[3]+")"}function x(B,Oe){return B[0]===Oe[0]&&B[1]===Oe[1]&&B[2]===Oe[2]&&B[3]===Oe[3]}function le(B,Oe){var St=B[0],Qt=B[1],Cn=B[2],Nn=B[3],Bn=Oe[0],Xn=Oe[1],Jn=Oe[2],Cr=Oe[3];return Math.abs(St-Bn)<=n.EPSILON*Math.max(1,Math.abs(St),Math.abs(Bn))&&Math.abs(Qt-Xn)<=n.EPSILON*Math.max(1,Math.abs(Qt),Math.abs(Xn))&&Math.abs(Cn-Jn)<=n.EPSILON*Math.max(1,Math.abs(Cn),Math.abs(Jn))&&Math.abs(Nn-Cr)<=n.EPSILON*Math.max(1,Math.abs(Nn),Math.abs(Cr))}var me=dr,Ae=gt,tt=Rr,pt=Ii,ke=Mn,we=nr,Be=cr,Le=function(){var B=Tn();return function(Oe,St,Qt,Cn,Nn,Bn){var Xn,Jn;for(St||(St=4),Qt||(Qt=0),Cn?Jn=Math.min(Cn*St+Qt,Oe.length):Jn=Oe.length,Xn=Qt;Xn<Jn;Xn+=St)B[0]=Oe[Xn],B[1]=Oe[Xn+1],B[2]=Oe[Xn+2],B[3]=Oe[Xn+3],Nn(B,B,Bn),Oe[Xn]=B[0],Oe[Xn+1]=B[1],Oe[Xn+2]=B[2],Oe[Xn+3]=B[3];return Oe}}();function J(){var B=new n.ARRAY_TYPE(4);return n.ARRAY_TYPE!=Float32Array&&(B[0]=0,B[1]=0,B[2]=0),B[3]=1,B}function Ke(B){return B[0]=0,B[1]=0,B[2]=0,B[3]=1,B}function We(B,Oe,St){St=St*.5;var Qt=Math.sin(St);return B[0]=Qt*Oe[0],B[1]=Qt*Oe[1],B[2]=Qt*Oe[2],B[3]=Math.cos(St),B}function Ot(B,Oe){var St=Math.acos(Oe[3])*2,Qt=Math.sin(St/2);return Qt>n.EPSILON?(B[0]=Oe[0]/Qt,B[1]=Oe[1]/Qt,B[2]=Oe[2]/Qt):(B[0]=1,B[1]=0,B[2]=0),St}function Vt(B,Oe){var St=yi(B,Oe);return Math.acos(2*St*St-1)}function $t(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=St[0],Jn=St[1],Cr=St[2],Kr=St[3];return B[0]=Qt*Kr+Bn*Xn+Cn*Cr-Nn*Jn,B[1]=Cn*Kr+Bn*Jn+Nn*Xn-Qt*Cr,B[2]=Nn*Kr+Bn*Cr+Qt*Jn-Cn*Xn,B[3]=Bn*Kr-Qt*Xn-Cn*Jn-Nn*Cr,B}function Gt(B,Oe,St){St*=.5;var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Math.sin(St),Jn=Math.cos(St);return B[0]=Qt*Jn+Bn*Xn,B[1]=Cn*Jn+Nn*Xn,B[2]=Nn*Jn-Cn*Xn,B[3]=Bn*Jn-Qt*Xn,B}function hn(B,Oe,St){St*=.5;var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Math.sin(St),Jn=Math.cos(St);return B[0]=Qt*Jn-Nn*Xn,B[1]=Cn*Jn+Bn*Xn,B[2]=Nn*Jn+Qt*Xn,B[3]=Bn*Jn-Cn*Xn,B}function $n(B,Oe,St){St*=.5;var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=Math.sin(St),Jn=Math.cos(St);return B[0]=Qt*Jn+Cn*Xn,B[1]=Cn*Jn-Qt*Xn,B[2]=Nn*Jn+Bn*Xn,B[3]=Bn*Jn-Nn*Xn,B}function Sr(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2];return B[0]=St,B[1]=Qt,B[2]=Cn,B[3]=Math.sqrt(Math.abs(1-St*St-Qt*Qt-Cn*Cn)),B}function vr(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=Math.sqrt(St*St+Qt*Qt+Cn*Cn),Xn=Math.exp(Nn),Jn=Bn>0?Xn*Math.sin(Bn)/Bn:0;return B[0]=St*Jn,B[1]=Qt*Jn,B[2]=Cn*Jn,B[3]=Xn*Math.cos(Bn),B}function zn(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=Math.sqrt(St*St+Qt*Qt+Cn*Cn),Xn=Bn>0?Math.atan2(Bn,Nn)/Bn:0;return B[0]=St*Xn,B[1]=Qt*Xn,B[2]=Cn*Xn,B[3]=.5*Math.log(St*St+Qt*Qt+Cn*Cn+Nn*Nn),B}function Tr(B,Oe,St){return zn(B,Oe),ri(B,B,St),vr(B,B),B}function Qr(B,Oe,St,Qt){var Cn=Oe[0],Nn=Oe[1],Bn=Oe[2],Xn=Oe[3],Jn=St[0],Cr=St[1],Kr=St[2],ti=St[3],Pi,pi,Fi,ha,$i;return pi=Cn*Jn+Nn*Cr+Bn*Kr+Xn*ti,pi<0&&(pi=-pi,Jn=-Jn,Cr=-Cr,Kr=-Kr,ti=-ti),1-pi>n.EPSILON?(Pi=Math.acos(pi),Fi=Math.sin(Pi),ha=Math.sin((1-Qt)*Pi)/Fi,$i=Math.sin(Qt*Pi)/Fi):(ha=1-Qt,$i=Qt),B[0]=ha*Cn+$i*Jn,B[1]=ha*Nn+$i*Cr,B[2]=ha*Bn+$i*Kr,B[3]=ha*Xn+$i*ti,B}function Qe(B){var Oe=n.RANDOM(),St=n.RANDOM(),Qt=n.RANDOM(),Cn=Math.sqrt(1-Oe),Nn=Math.sqrt(Oe);return B[0]=Cn*Math.sin(2*Math.PI*St),B[1]=Cn*Math.cos(2*Math.PI*St),B[2]=Nn*Math.sin(2*Math.PI*Qt),B[3]=Nn*Math.cos(2*Math.PI*Qt),B}function Jt(B,Oe){var St=Oe[0],Qt=Oe[1],Cn=Oe[2],Nn=Oe[3],Bn=St*St+Qt*Qt+Cn*Cn+Nn*Nn,Xn=Bn?1/Bn:0;return B[0]=-St*Xn,B[1]=-Qt*Xn,B[2]=-Cn*Xn,B[3]=Nn*Xn,B}function ln(B,Oe){return B[0]=-Oe[0],B[1]=-Oe[1],B[2]=-Oe[2],B[3]=Oe[3],B}function rn(B,Oe){var St=Oe[0]+Oe[4]+Oe[8],Qt;if(St>0)Qt=Math.sqrt(St+1),B[3]=.5*Qt,Qt=.5/Qt,B[0]=(Oe[5]-Oe[7])*Qt,B[1]=(Oe[6]-Oe[2])*Qt,B[2]=(Oe[1]-Oe[3])*Qt;else{var Cn=0;Oe[4]>Oe[0]&&(Cn=1),Oe[8]>Oe[Cn*3+Cn]&&(Cn=2);var Nn=(Cn+1)%3,Bn=(Cn+2)%3;Qt=Math.sqrt(Oe[Cn*3+Cn]-Oe[Nn*3+Nn]-Oe[Bn*3+Bn]+1),B[Cn]=.5*Qt,Qt=.5/Qt,B[3]=(Oe[Nn*3+Bn]-Oe[Bn*3+Nn])*Qt,B[Nn]=(Oe[Nn*3+Cn]+Oe[Cn*3+Nn])*Qt,B[Bn]=(Oe[Bn*3+Cn]+Oe[Cn*3+Bn])*Qt}return B}function An(B,Oe,St,Qt){var Cn=.5*Math.PI/180;Oe*=Cn,St*=Cn,Qt*=Cn;var Nn=Math.sin(Oe),Bn=Math.cos(Oe),Xn=Math.sin(St),Jn=Math.cos(St),Cr=Math.sin(Qt),Kr=Math.cos(Qt);return B[0]=Nn*Jn*Kr-Bn*Xn*Cr,B[1]=Bn*Xn*Kr+Nn*Jn*Cr,B[2]=Bn*Jn*Cr-Nn*Xn*Kr,B[3]=Bn*Jn*Kr+Nn*Xn*Cr,B}function fr(B){return"quat("+B[0]+", "+B[1]+", "+B[2]+", "+B[3]+")"}var Pr=Zn,kr=Mr,Ar=xr,vi=Vr,Wi=Dr,di=$t,ri=hi,yi=ua,Si=Br,zi=nr,si=zi,ii=cr,Yi=ii,La=ki,Wa=x,Ri=le,Oa=function(){var B=Dn.create(),Oe=Dn.fromValues(1,0,0),St=Dn.fromValues(0,1,0);return function(Qt,Cn,Nn){var Bn=Dn.dot(Cn,Nn);return Bn<-.999999?(Dn.cross(B,Oe,Cn),Dn.len(B)<1e-6&&Dn.cross(B,St,Cn),Dn.normalize(B,B),We(Qt,B,Math.PI),Qt):Bn>.999999?(Qt[0]=0,Qt[1]=0,Qt[2]=0,Qt[3]=1,Qt):(Dn.cross(B,Cn,Nn),Qt[0]=B[0],Qt[1]=B[1],Qt[2]=B[2],Qt[3]=1+Bn,La(Qt,Qt))}}(),Ha=function(){var B=J(),Oe=J();return function(St,Qt,Cn,Nn,Bn,Xn){return Qr(B,Qt,Bn,Xn),Qr(Oe,Cn,Nn,Xn),Qr(St,B,Oe,2*Xn*(1-Xn)),St}}(),Za=function(){var B=Me();return function(Oe,St,Qt,Cn){return B[0]=Qt[0],B[3]=Qt[1],B[6]=Qt[2],B[1]=Cn[0],B[4]=Cn[1],B[7]=Cn[2],B[2]=-St[0],B[5]=-St[1],B[8]=-St[2],La(Oe,rn(Oe,B))}}();function co(){var B=new n.ARRAY_TYPE(8);return n.ARRAY_TYPE!=Float32Array&&(B[0]=0,B[1]=0,B[2]=0,B[4]=0,B[5]=0,B[6]=0,B[7]=0),B[3]=1,B}function Do(B){var Oe=new n.ARRAY_TYPE(8);return Oe[0]=B[0],Oe[1]=B[1],Oe[2]=B[2],Oe[3]=B[3],Oe[4]=B[4],Oe[5]=B[5],Oe[6]=B[6],Oe[7]=B[7],Oe}function ra(B,Oe,St,Qt,Cn,Nn,Bn,Xn){var Jn=new n.ARRAY_TYPE(8);return Jn[0]=B,Jn[1]=Oe,Jn[2]=St,Jn[3]=Qt,Jn[4]=Cn,Jn[5]=Nn,Jn[6]=Bn,Jn[7]=Xn,Jn}function ya(B,Oe,St,Qt,Cn,Nn,Bn){var Xn=new n.ARRAY_TYPE(8);Xn[0]=B,Xn[1]=Oe,Xn[2]=St,Xn[3]=Qt;var Jn=Cn*.5,Cr=Nn*.5,Kr=Bn*.5;return Xn[4]=Jn*Qt+Cr*St-Kr*Oe,Xn[5]=Cr*Qt+Kr*B-Jn*St,Xn[6]=Kr*Qt+Jn*Oe-Cr*B,Xn[7]=-Jn*B-Cr*Oe-Kr*St,Xn}function Ra(B,Oe,St){var Qt=St[0]*.5,Cn=St[1]*.5,Nn=St[2]*.5,Bn=Oe[0],Xn=Oe[1],Jn=Oe[2],Cr=Oe[3];return B[0]=Bn,B[1]=Xn,B[2]=Jn,B[3]=Cr,B[4]=Qt*Cr+Cn*Jn-Nn*Xn,B[5]=Cn*Cr+Nn*Bn-Qt*Jn,B[6]=Nn*Cr+Qt*Xn-Cn*Bn,B[7]=-Qt*Bn-Cn*Xn-Nn*Jn,B}function Fa(B,Oe){return B[0]=0,B[1]=0,B[2]=0,B[3]=1,B[4]=Oe[0]*.5,B[5]=Oe[1]*.5,B[6]=Oe[2]*.5,B[7]=0,B}function Ca(B,Oe){return B[0]=Oe[0],B[1]=Oe[1],B[2]=Oe[2],B[3]=Oe[3],B[4]=0,B[5]=0,B[6]=0,B[7]=0,B}function no(B,Oe){var St=J();Xi(St,Oe);var Qt=new n.ARRAY_TYPE(3);return ur(Qt,Oe),Ra(B,St,Qt),B}function No(B,Oe){return B[0]=Oe[0],B[1]=Oe[1],B[2]=Oe[2],B[3]=Oe[3],B[4]=Oe[4],B[5]=Oe[5],B[6]=Oe[6],B[7]=Oe[7],B}function es(B){return B[0]=0,B[1]=0,B[2]=0,B[3]=1,B[4]=0,B[5]=0,B[6]=0,B[7]=0,B}function ds(B,Oe,St,Qt,Cn,Nn,Bn,Xn,Jn){return B[0]=Oe,B[1]=St,B[2]=Qt,B[3]=Cn,B[4]=Nn,B[5]=Bn,B[6]=Xn,B[7]=Jn,B}var Yr=Ar;function jr(B,Oe){return B[0]=Oe[4],B[1]=Oe[5],B[2]=Oe[6],B[3]=Oe[7],B}var Ei=Ar;function gi(B,Oe){return B[4]=Oe[0],B[5]=Oe[1],B[6]=Oe[2],B[7]=Oe[3],B}function or(B,Oe){var St=Oe[4],Qt=Oe[5],Cn=Oe[6],Nn=Oe[7],Bn=-Oe[0],Xn=-Oe[1],Jn=-Oe[2],Cr=Oe[3];return B[0]=(St*Cr+Nn*Bn+Qt*Jn-Cn*Xn)*2,B[1]=(Qt*Cr+Nn*Xn+Cn*Bn-St*Jn)*2,B[2]=(Cn*Cr+Nn*Jn+St*Xn-Qt*Bn)*2,B}function Ir(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=St[0]*.5,Jn=St[1]*.5,Cr=St[2]*.5,Kr=Oe[4],ti=Oe[5],Pi=Oe[6],pi=Oe[7];return B[0]=Qt,B[1]=Cn,B[2]=Nn,B[3]=Bn,B[4]=Bn*Xn+Cn*Cr-Nn*Jn+Kr,B[5]=Bn*Jn+Nn*Xn-Qt*Cr+ti,B[6]=Bn*Cr+Qt*Jn-Cn*Xn+Pi,B[7]=-Qt*Xn-Cn*Jn-Nn*Cr+pi,B}function Ur(B,Oe,St){var Qt=-Oe[0],Cn=-Oe[1],Nn=-Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],ti=Xn*Bn+Kr*Qt+Jn*Nn-Cr*Cn,Pi=Jn*Bn+Kr*Cn+Cr*Qt-Xn*Nn,pi=Cr*Bn+Kr*Nn+Xn*Cn-Jn*Qt,Fi=Kr*Bn-Xn*Qt-Jn*Cn-Cr*Nn;return Gt(B,Oe,St),Qt=B[0],Cn=B[1],Nn=B[2],Bn=B[3],B[4]=ti*Bn+Fi*Qt+Pi*Nn-pi*Cn,B[5]=Pi*Bn+Fi*Cn+pi*Qt-ti*Nn,B[6]=pi*Bn+Fi*Nn+ti*Cn-Pi*Qt,B[7]=Fi*Bn-ti*Qt-Pi*Cn-pi*Nn,B}function Li(B,Oe,St){var Qt=-Oe[0],Cn=-Oe[1],Nn=-Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],ti=Xn*Bn+Kr*Qt+Jn*Nn-Cr*Cn,Pi=Jn*Bn+Kr*Cn+Cr*Qt-Xn*Nn,pi=Cr*Bn+Kr*Nn+Xn*Cn-Jn*Qt,Fi=Kr*Bn-Xn*Qt-Jn*Cn-Cr*Nn;return hn(B,Oe,St),Qt=B[0],Cn=B[1],Nn=B[2],Bn=B[3],B[4]=ti*Bn+Fi*Qt+Pi*Nn-pi*Cn,B[5]=Pi*Bn+Fi*Cn+pi*Qt-ti*Nn,B[6]=pi*Bn+Fi*Nn+ti*Cn-Pi*Qt,B[7]=Fi*Bn-ti*Qt-Pi*Cn-pi*Nn,B}function oa(B,Oe,St){var Qt=-Oe[0],Cn=-Oe[1],Nn=-Oe[2],Bn=Oe[3],Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],ti=Xn*Bn+Kr*Qt+Jn*Nn-Cr*Cn,Pi=Jn*Bn+Kr*Cn+Cr*Qt-Xn*Nn,pi=Cr*Bn+Kr*Nn+Xn*Cn-Jn*Qt,Fi=Kr*Bn-Xn*Qt-Jn*Cn-Cr*Nn;return $n(B,Oe,St),Qt=B[0],Cn=B[1],Nn=B[2],Bn=B[3],B[4]=ti*Bn+Fi*Qt+Pi*Nn-pi*Cn,B[5]=Pi*Bn+Fi*Cn+pi*Qt-ti*Nn,B[6]=pi*Bn+Fi*Nn+ti*Cn-Pi*Qt,B[7]=Fi*Bn-ti*Qt-Pi*Cn-pi*Nn,B}function Ua(B,Oe,St){var Qt=St[0],Cn=St[1],Nn=St[2],Bn=St[3],Xn=Oe[0],Jn=Oe[1],Cr=Oe[2],Kr=Oe[3];return B[0]=Xn*Bn+Kr*Qt+Jn*Nn-Cr*Cn,B[1]=Jn*Bn+Kr*Cn+Cr*Qt-Xn*Nn,B[2]=Cr*Bn+Kr*Nn+Xn*Cn-Jn*Qt,B[3]=Kr*Bn-Xn*Qt-Jn*Cn-Cr*Nn,Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],B[4]=Xn*Bn+Kr*Qt+Jn*Nn-Cr*Cn,B[5]=Jn*Bn+Kr*Cn+Cr*Qt-Xn*Nn,B[6]=Cr*Bn+Kr*Nn+Xn*Cn-Jn*Qt,B[7]=Kr*Bn-Xn*Qt-Jn*Cn-Cr*Nn,B}function $a(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=St[0],Jn=St[1],Cr=St[2],Kr=St[3];return B[0]=Qt*Kr+Bn*Xn+Cn*Cr-Nn*Jn,B[1]=Cn*Kr+Bn*Jn+Nn*Xn-Qt*Cr,B[2]=Nn*Kr+Bn*Cr+Qt*Jn-Cn*Xn,B[3]=Bn*Kr-Qt*Xn-Cn*Jn-Nn*Cr,Xn=St[4],Jn=St[5],Cr=St[6],Kr=St[7],B[4]=Qt*Kr+Bn*Xn+Cn*Cr-Nn*Jn,B[5]=Cn*Kr+Bn*Jn+Nn*Xn-Qt*Cr,B[6]=Nn*Kr+Bn*Cr+Qt*Jn-Cn*Xn,B[7]=Bn*Kr-Qt*Xn-Cn*Jn-Nn*Cr,B}function Ba(B,Oe,St,Qt){if(Math.abs(Qt)<n.EPSILON)return No(B,Oe);var Cn=Math.hypot(St[0],St[1],St[2]);Qt=Qt*.5;var Nn=Math.sin(Qt),Bn=Nn*St[0]/Cn,Xn=Nn*St[1]/Cn,Jn=Nn*St[2]/Cn,Cr=Math.cos(Qt),Kr=Oe[0],ti=Oe[1],Pi=Oe[2],pi=Oe[3];B[0]=Kr*Cr+pi*Bn+ti*Jn-Pi*Xn,B[1]=ti*Cr+pi*Xn+Pi*Bn-Kr*Jn,B[2]=Pi*Cr+pi*Jn+Kr*Xn-ti*Bn,B[3]=pi*Cr-Kr*Bn-ti*Xn-Pi*Jn;var Fi=Oe[4],ha=Oe[5],$i=Oe[6],wa=Oe[7];return B[4]=Fi*Cr+wa*Bn+ha*Jn-$i*Xn,B[5]=ha*Cr+wa*Xn+$i*Bn-Fi*Jn,B[6]=$i*Cr+wa*Jn+Fi*Xn-ha*Bn,B[7]=wa*Cr-Fi*Bn-ha*Xn-$i*Jn,B}function ro(B,Oe,St){return B[0]=Oe[0]+St[0],B[1]=Oe[1]+St[1],B[2]=Oe[2]+St[2],B[3]=Oe[3]+St[3],B[4]=Oe[4]+St[4],B[5]=Oe[5]+St[5],B[6]=Oe[6]+St[6],B[7]=Oe[7]+St[7],B}function mo(B,Oe,St){var Qt=Oe[0],Cn=Oe[1],Nn=Oe[2],Bn=Oe[3],Xn=St[4],Jn=St[5],Cr=St[6],Kr=St[7],ti=Oe[4],Pi=Oe[5],pi=Oe[6],Fi=Oe[7],ha=St[0],$i=St[1],wa=St[2],Lo=St[3];return B[0]=Qt*Lo+Bn*ha+Cn*wa-Nn*$i,B[1]=Cn*Lo+Bn*$i+Nn*ha-Qt*wa,B[2]=Nn*Lo+Bn*wa+Qt*$i-Cn*ha,B[3]=Bn*Lo-Qt*ha-Cn*$i-Nn*wa,B[4]=Qt*Kr+Bn*Xn+Cn*Cr-Nn*Jn+ti*Lo+Fi*ha+Pi*wa-pi*$i,B[5]=Cn*Kr+Bn*Jn+Nn*Xn-Qt*Cr+Pi*Lo+Fi*$i+pi*ha-ti*wa,B[6]=Nn*Kr+Bn*Cr+Qt*Jn-Cn*Xn+pi*Lo+Fi*wa+ti*$i-Pi*ha,B[7]=Bn*Kr-Qt*Xn-Cn*Jn-Nn*Cr+Fi*Lo-ti*ha-Pi*$i-pi*wa,B}var oo=mo;function Oo(B,Oe,St){return B[0]=Oe[0]*St,B[1]=Oe[1]*St,B[2]=Oe[2]*St,B[3]=Oe[3]*St,B[4]=Oe[4]*St,B[5]=Oe[5]*St,B[6]=Oe[6]*St,B[7]=Oe[7]*St,B}var Yo=yi;function ts(B,Oe,St,Qt){var Cn=1-Qt;return Yo(Oe,St)<0&&(Qt=-Qt),B[0]=Oe[0]*Cn+St[0]*Qt,B[1]=Oe[1]*Cn+St[1]*Qt,B[2]=Oe[2]*Cn+St[2]*Qt,B[3]=Oe[3]*Cn+St[3]*Qt,B[4]=Oe[4]*Cn+St[4]*Qt,B[5]=Oe[5]*Cn+St[5]*Qt,B[6]=Oe[6]*Cn+St[6]*Qt,B[7]=Oe[7]*Cn+St[7]*Qt,B}function Os(B,Oe){var St=ll(Oe);return B[0]=-Oe[0]/St,B[1]=-Oe[1]/St,B[2]=-Oe[2]/St,B[3]=Oe[3]/St,B[4]=-Oe[4]/St,B[5]=-Oe[5]/St,B[6]=-Oe[6]/St,B[7]=Oe[7]/St,B}function Rs(B,Oe){return B[0]=-Oe[0],B[1]=-Oe[1],B[2]=-Oe[2],B[3]=Oe[3],B[4]=-Oe[4],B[5]=-Oe[5],B[6]=-Oe[6],B[7]=Oe[7],B}var Mo=zi,Bs=Mo,ll=ii,ks=ll;function xl(B,Oe){var St=ll(Oe);if(St>0){St=Math.sqrt(St);var Qt=Oe[0]/St,Cn=Oe[1]/St,Nn=Oe[2]/St,Bn=Oe[3]/St,Xn=Oe[4],Jn=Oe[5],Cr=Oe[6],Kr=Oe[7],ti=Qt*Xn+Cn*Jn+Nn*Cr+Bn*Kr;B[0]=Qt,B[1]=Cn,B[2]=Nn,B[3]=Bn,B[4]=(Xn-Qt*ti)/St,B[5]=(Jn-Cn*ti)/St,B[6]=(Cr-Nn*ti)/St,B[7]=(Kr-Bn*ti)/St}return B}function Pl(B){return"quat2("+B[0]+", "+B[1]+", "+B[2]+", "+B[3]+", "+B[4]+", "+B[5]+", "+B[6]+", "+B[7]+")"}function Wo(B,Oe){return B[0]===Oe[0]&&B[1]===Oe[1]&&B[2]===Oe[2]&&B[3]===Oe[3]&&B[4]===Oe[4]&&B[5]===Oe[5]&&B[6]===Oe[6]&&B[7]===Oe[7]}function yl(B,Oe){var St=B[0],Qt=B[1],Cn=B[2],Nn=B[3],Bn=B[4],Xn=B[5],Jn=B[6],Cr=B[7],Kr=Oe[0],ti=Oe[1],Pi=Oe[2],pi=Oe[3],Fi=Oe[4],ha=Oe[5],$i=Oe[6],wa=Oe[7];return Math.abs(St-Kr)<=n.EPSILON*Math.max(1,Math.abs(St),Math.abs(Kr))&&Math.abs(Qt-ti)<=n.EPSILON*Math.max(1,Math.abs(Qt),Math.abs(ti))&&Math.abs(Cn-Pi)<=n.EPSILON*Math.max(1,Math.abs(Cn),Math.abs(Pi))&&Math.abs(Nn-pi)<=n.EPSILON*Math.max(1,Math.abs(Nn),Math.abs(pi))&&Math.abs(Bn-Fi)<=n.EPSILON*Math.max(1,Math.abs(Bn),Math.abs(Fi))&&Math.abs(Xn-ha)<=n.EPSILON*Math.max(1,Math.abs(Xn),Math.abs(ha))&&Math.abs(Jn-$i)<=n.EPSILON*Math.max(1,Math.abs(Jn),Math.abs($i))&&Math.abs(Cr-wa)<=n.EPSILON*Math.max(1,Math.abs(Cr),Math.abs(wa))}var Ps=e("ZxFD")},IOzZ:function(Ie,M){function e(u,c){return function(r){return r==null?!1:r[u]===c&&(c!==void 0||u in Object(r))}}Ie.exports=e},IWTy:function(Ie,M,e){var u=e("yue5");function c(r,f,o){for(var i=-1,a=r.criteria,n=f.criteria,v=a.length,m=o.length;++i<v;){var h=u(a[i],n[i]);if(h){if(i>=m)return h;var t=o[i];return h*(t=="desc"?-1:1)}}return r.index-f.index}Ie.exports=c},Icgb:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="ClockCircleOutlined";var a=M.a=c.forwardRef(i)},IehP:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="FullscreenExitOutlined";var a=M.a=c.forwardRef(i)},Ig6t:function(Ie,M,e){var u=e("b5wT"),c=e("tQ6r");Ie.exports=r;function r(o){function i(a){var n=o.children(a),v=o.node(a);if(n.length&&u.forEach(n,i),u.has(v,"minRank")){v.borderLeft=[],v.borderRight=[];for(var m=v.minRank,h=v.maxRank+1;m<h;++m)f(o,"borderLeft","_bl",a,v,m),f(o,"borderRight","_br",a,v,m)}}u.forEach(o.children(),i)}function f(o,i,a,n,v,m){var h={width:0,height:0,rank:m,borderType:i},t=v[i][m-1],l=c.addDummyNode(o,"border",h,a);v[i][m]=l,o.setParent(l,n),t&&o.setEdge(t,l,{weight:1})}},Ioao:function(Ie,M,e){var u=e("heNW"),c=Math.max;function r(f,o,i){return o=c(o===void 0?f.length-1:o,0),function(){for(var a=arguments,n=-1,v=c(a.length-o,0),m=Array(v);++n<v;)m[n]=a[o+n];n=-1;for(var h=Array(o+1);++n<o;)h[n]=a[n];return h[o]=i(m),u(f,this,h)}}Ie.exports=r},IyW0:function(Ie,M,e){"use strict";var u=e("b5wT"),c=e("tQ6r"),r=e("jFXE").positionX;Ie.exports=f;function f(i){i=c.asNonCompoundGraph(i),o(i),u.forEach(r(i),function(a,n){i.node(n).x=a})}function o(i){var a=c.buildLayerMatrix(i),n=i.graph().ranksep,v=0;u.forEach(a,function(m){var h=u.max(u.map(m,function(t){return i.node(t).height}));u.forEach(m,function(t){i.node(t).y=v+h/2}),v+=h+n})}},IzEo:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("lnY3"),f=e.n(r),o=e("cWXX"),i=e("Znn+")},"J+ZK":function(Ie,M,e){},J2m7:function(Ie,M,e){var u=e("XKAG"),c=e("UfWW"),r=u(c);Ie.exports=r},JC6p:function(Ie,M,e){var u=e("cq/+"),c=e("7GkX");function r(f,o){return f&&u(f,o,c)}Ie.exports=r},JF8p:function(Ie,M,e){},JHRd:function(Ie,M,e){var u=e("Kz5y"),c=u.Uint8Array;Ie.exports=c},JHgL:function(Ie,M,e){var u=e("QkVE");function c(r){return u(this,r).get(r)}Ie.exports=c},"JQT/":function(Ie,M,e){"use strict";e.d(M,"a",function(){return o}),e.d(M,"b",function(){return a});var u=e("fWQN"),c=e("mtLc"),r=e("MI8n"),f=Object.freeze(function(n,v){var m=setTimeout(n.bind(v),0);return{dispose:function(){clearTimeout(m)}}}),o;(function(n){function v(m){return m===n.None||m===n.Cancelled||m instanceof i?!0:!m||typeof m!="object"?!1:typeof m.isCancellationRequested=="boolean"&&typeof m.onCancellationRequested=="function"}n.isCancellationToken=v,n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:f})})(o||(o={}));var i=function(){function n(){Object(u.a)(this,n),this._isCancelled=!1,this._emitter=null}return Object(c.a)(n,[{key:"cancel",value:function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}},{key:"isCancellationRequested",get:function(){return this._isCancelled}},{key:"onCancellationRequested",get:function(){return this._isCancelled?f:(this._emitter||(this._emitter=new r.a),this._emitter.event)}},{key:"dispose",value:function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}]),n}(),a=function(){function n(v){Object(u.a)(this,n),this._token=void 0,this._parentListener=void 0,this._parentListener=v&&v.onCancellationRequested(this.cancel,this)}return Object(c.a)(n,[{key:"token",get:function(){return this._token||(this._token=new i),this._token}},{key:"cancel",value:function(){this._token?this._token instanceof i&&this._token.cancel():this._token=o.Cancelled}},{key:"dispose",value:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;m&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof i&&this._token.dispose():this._token=o.None}}]),n}()},JRpN:function(Ie,M,e){var u=e("b5wT"),c=e("tQ6r");Ie.exports={run:r,cleanup:a};function r(n){var v=c.addDummyNode(n,"root",{},"_root"),m=o(n),h=u.max(u.values(m))-1,t=2*h+1;n.graph().nestingRoot=v,u.forEach(n.edges(),function(p){n.edge(p).minlen*=t});var l=i(n)+1;u.forEach(n.children(),function(p){f(n,v,t,l,h,m,p)}),n.graph().nodeRankFactor=t}function f(n,v,m,h,t,l,p){var w=n.children(p);if(!w.length){p!==v&&n.setEdge(v,p,{weight:0,minlen:m});return}var S=c.addBorderNode(n,"_bt"),k=c.addBorderNode(n,"_bb"),T=n.node(p);n.setParent(S,p),T.borderTop=S,n.setParent(k,p),T.borderBottom=k,u.forEach(w,function(I){f(n,v,m,h,t,l,I);var Y=n.node(I),$=Y.borderTop?Y.borderTop:I,A=Y.borderBottom?Y.borderBottom:I,g=Y.borderTop?h:2*h,b=$!==A?1:t-l[p]+1;n.setEdge(S,$,{weight:g,minlen:b,nestingEdge:!0}),n.setEdge(A,k,{weight:g,minlen:b,nestingEdge:!0})}),n.parent(p)||n.setEdge(v,S,{weight:0,minlen:t+l[p]})}function o(n){var v={};function m(h,t){var l=n.children(h);l&&l.length&&u.forEach(l,function(p){m(p,t+1)}),v[h]=t}return u.forEach(n.children(),function(h){m(h,1)}),v}function i(n){return u.reduce(n.edges(),function(v,m){return v+n.edge(m).weight},0)}function a(n){var v=n.graph();n.removeNode(v.nestingRoot),delete v.nestingRoot,u.forEach(n.edges(),function(m){var h=n.edge(m);h.nestingEdge&&n.removeEdge(m)})}},"JS/N":function(Ie,M,e){"use strict";e.d(M,"a",function(){return a}),e.d(M,"b",function(){return n});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("twdY"),o=e("09fa"),i=e("QRHv"),a=function(){function h(t,l,p){Object(c.a)(this,h),this._legend=t,this._themeService=l,this._logService=p,this._hashTable=new m,this._hasWarnedOverlappingTokens=!1}return Object(r.a)(h,[{key:"getMetadata",value:function(l,p,w){var S=this._hashTable.get(l,p,w.id),k;if(S)k=S.metadata,this._logService.getLevel()===o.c.Trace&&this._logService.trace("SemanticTokensProviderStyling [CACHED] ".concat(l," / ").concat(p,": foreground ").concat(f.C.getForeground(k),", fontStyle ").concat(f.C.getFontStyle(k).toString(2)));else{var T=this._legend.tokenTypes[l],I=[];if(T){for(var Y=p,$=0;Y>0&&$<this._legend.tokenModifiers.length;$++)Y&1&&I.push(this._legend.tokenModifiers[$]),Y=Y>>1;Y>0&&this._logService.getLevel()===o.c.Trace&&(this._logService.trace("SemanticTokensProviderStyling: unknown token modifier index: ".concat(p.toString(2)," for legend: ").concat(JSON.stringify(this._legend.tokenModifiers))),I.push("not-in-legend"));var A=this._themeService.getColorTheme().getTokenStyleMetadata(T,I,w.language);if(typeof A=="undefined")k=2147483647;else{if(k=0,typeof A.italic!="undefined"){var g=(A.italic?1:0)<<11;k|=g|1}if(typeof A.bold!="undefined"){var b=(A.bold?2:0)<<11;k|=b|2}if(typeof A.underline!="undefined"){var d=(A.underline?4:0)<<11;k|=d|4}if(A.foreground){var O=A.foreground<<14;k|=O|8}k===0&&(k=2147483647)}}else this._logService.getLevel()===o.c.Trace&&this._logService.trace("SemanticTokensProviderStyling: unknown token type index: ".concat(l," for legend: ").concat(JSON.stringify(this._legend.tokenTypes))),k=2147483647,T="not-in-legend";this._hashTable.add(l,p,w.id,k),this._logService.getLevel()===o.c.Trace&&this._logService.trace("SemanticTokensProviderStyling ".concat(l," (").concat(T,") / ").concat(p," (").concat(I.join(" "),"): foreground ").concat(f.C.getForeground(k),", fontStyle ").concat(f.C.getFontStyle(k).toString(2)))}return k}},{key:"warnOverlappingSemanticTokens",value:function(l,p){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,console.warn("Overlapping semantic tokens detected at lineNumber ".concat(l,", column ").concat(p)))}}]),h}();function n(h,t,l){for(var p=h.data,w=h.data.length/5|0,S=Math.max(Math.ceil(w/1024),400),k=[],T=0,I=1,Y=0;T<w;){var $=T,A=Math.min($+S,w);if(A<w){for(var g=A;g-1>$&&p[5*g]===0;)g--;if(g-1===$){for(var b=A;b+1<w&&p[5*b]===0;)b++;A=b}else A=g}for(var d=new Uint32Array((A-$)*4),O=0,E=0,D=0,W=0,te=0;T<A;){var re=5*T,ye=p[re],q=p[re+1],oe=I+ye,he=ye===0?Y+q:q,ue=p[re+2],ne=p[re+3],se=p[re+4],be=t.getMetadata(ne,se,l);be!==2147483647&&(E===0&&(E=oe),D===oe&&te>he&&(t.warnOverlappingSemanticTokens(oe,he+1),W<he?d[O-4+2]=he:O-=4),d[O]=oe-E,d[O+1]=he,d[O+2]=he+ue,d[O+3]=be,O+=4,D=oe,W=he,te=he+ue),I=oe,Y=he,T++}O!==d.length&&(d=d.subarray(0,O));var Z=new i.a(E,new i.c(d));k.push(Z)}return k}var v=Object(r.a)(function h(t,l,p,w){Object(c.a)(this,h),this.tokenTypeIndex=t,this.tokenModifierSet=l,this.languageId=p,this.metadata=w,this.next=null}),m=function(){function h(){Object(c.a)(this,h),this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=h._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<h._SIZES.length?2/3*this._currentLength:0),this._elements=[],h._nullOutEntries(this._elements,this._currentLength)}return Object(r.a)(h,[{key:"_hash2",value:function(l,p){return(l<<5)-l+p|0}},{key:"_hashFunc",value:function(l,p,w){return this._hash2(this._hash2(l,p),w)%this._currentLength}},{key:"get",value:function(l,p,w){for(var S=this._hashFunc(l,p,w),k=this._elements[S];k;){if(k.tokenTypeIndex===l&&k.tokenModifierSet===p&&k.languageId===w)return k;k=k.next}return null}},{key:"add",value:function(l,p,w,S){if(this._elementsCount++,this._growCount!==0&&this._elementsCount>=this._growCount){var k=this._elements;this._currentLengthIndex++,this._currentLength=h._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<h._SIZES.length?2/3*this._currentLength:0),this._elements=[],h._nullOutEntries(this._elements,this._currentLength);var T=Object(u.a)(k),I;try{for(T.s();!(I=T.n()).done;)for(var Y=I.value,$=Y;$;){var A=$.next;$.next=null,this._add($),$=A}}catch(g){T.e(g)}finally{T.f()}}this._add(new v(l,p,w,S))}},{key:"_add",value:function(l){var p=this._hashFunc(l.tokenTypeIndex,l.tokenModifierSet,l.languageId);l.next=this._elements[p],this._elements[p]=l}}],[{key:"_nullOutEntries",value:function(l,p){for(var w=0;w<p;w++)l[w]=null}}]),h}();m._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},JSQU:function(Ie,M,e){var u=e("YESw"),c="__lodash_hash_undefined__";function r(f,o){var i=this.__data__;return this.size+=this.has(f)?0:1,i[f]=u&&o===void 0?c:o,this}Ie.exports=r},JTzB:function(Ie,M,e){var u=e("NykK"),c=e("ExA7"),r="[object Arguments]";function f(o){return c(o)&&u(o)==r}Ie.exports=f},JYp7:function(Ie,M,e){"use strict";e.d(M,"a",function(){return f});var u=e("jrin"),c=e("rAM+"),r=e("qLMh"),f;(function(o){var i=Object(r.a)().mark(w),a=Object(r.a)().mark($),n=Object(r.a)().mark(A),v=Object(r.a)().mark(g),m=Object(r.a)().mark(b),h=Object(r.a)().mark(O);function t(W){return W&&typeof W=="object"&&typeof W[Symbol.iterator]=="function"}o.is=t;var l=Object.freeze([]);function p(){return l}o.empty=p;function w(W){return Object(r.a)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,W;case 2:case"end":return re.stop()}},i)}o.single=w;function S(W){return W||l}o.from=S;function k(W){return!W||W[Symbol.iterator]().next().done===!0}o.isEmpty=k;function T(W){return W[Symbol.iterator]().next().value}o.first=T;function I(W,te){var re=Object(c.a)(W),ye;try{for(re.s();!(ye=re.n()).done;){var q=ye.value;if(te(q))return!0}}catch(oe){re.e(oe)}finally{re.f()}return!1}o.some=I;function Y(W,te){var re=Object(c.a)(W),ye;try{for(re.s();!(ye=re.n()).done;){var q=ye.value;if(te(q))return q}}catch(oe){re.e(oe)}finally{re.f()}}o.find=Y;function $(W,te){var re,ye,q;return Object(r.a)().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:re=Object(c.a)(W),he.prev=1,re.s();case 3:if((ye=re.n()).done){he.next=10;break}if(q=ye.value,!te(q)){he.next=8;break}return he.next=8,q;case 8:he.next=3;break;case 10:he.next=15;break;case 12:he.prev=12,he.t0=he.catch(1),re.e(he.t0);case 15:return he.prev=15,re.f(),he.finish(15);case 18:case"end":return he.stop()}},a,null,[[1,12,15,18]])}o.filter=$;function A(W,te){var re,ye,q;return Object(r.a)().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:re=Object(c.a)(W),he.prev=1,re.s();case 3:if((ye=re.n()).done){he.next=9;break}return q=ye.value,he.next=7,te(q);case 7:he.next=3;break;case 9:he.next=14;break;case 11:he.prev=11,he.t0=he.catch(1),re.e(he.t0);case 14:return he.prev=14,re.f(),he.finish(14);case 17:case"end":return he.stop()}},n,null,[[1,11,14,17]])}o.map=A;function g(){var W,te,re,ye,q,oe,he,ue,ne,se=arguments;return Object(r.a)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:for(W=se.length,te=new Array(W),re=0;re<W;re++)te[re]=se[re];ye=0,q=te;case 2:if(!(ye<q.length)){Z.next=24;break}oe=q[ye],he=Object(c.a)(oe),Z.prev=5,he.s();case 7:if((ue=he.n()).done){Z.next=13;break}return ne=ue.value,Z.next=11,ne;case 11:Z.next=7;break;case 13:Z.next=18;break;case 15:Z.prev=15,Z.t0=Z.catch(5),he.e(Z.t0);case 18:return Z.prev=18,he.f(),Z.finish(18);case 21:ye++,Z.next=2;break;case 24:case"end":return Z.stop()}},v,null,[[5,15,18,21]])}o.concat=g;function b(W){var te,re,ye,q,oe,he;return Object(r.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:te=Object(c.a)(W),ne.prev=1,te.s();case 3:if((re=te.n()).done){ne.next=24;break}ye=re.value,q=Object(c.a)(ye),ne.prev=6,q.s();case 8:if((oe=q.n()).done){ne.next=14;break}return he=oe.value,ne.next=12,he;case 12:ne.next=8;break;case 14:ne.next=19;break;case 16:ne.prev=16,ne.t0=ne.catch(6),q.e(ne.t0);case 19:return ne.prev=19,q.f(),ne.finish(19);case 22:ne.next=3;break;case 24:ne.next=29;break;case 26:ne.prev=26,ne.t1=ne.catch(1),te.e(ne.t1);case 29:return ne.prev=29,te.f(),ne.finish(29);case 32:case"end":return ne.stop()}},m,null,[[1,26,29,32],[6,16,19,22]])}o.concatNested=b;function d(W,te,re){var ye=re,q=Object(c.a)(W),oe;try{for(q.s();!(oe=q.n()).done;){var he=oe.value;ye=te(ye,he)}}catch(ue){q.e(ue)}finally{q.f()}return ye}o.reduce=d;function O(W,te){var re,ye=arguments;return Object(r.a)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:re=ye.length>2&&ye[2]!==void 0?ye[2]:W.length,te<0&&(te+=W.length),re<0?re+=W.length:re>W.length&&(re=W.length);case 3:if(!(te<re)){oe.next=9;break}return oe.next=6,W[te];case 6:te++,oe.next=3;break;case 9:case"end":return oe.stop()}},h)}o.slice=O;function E(W){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.POSITIVE_INFINITY,re=[];if(te===0)return[re,W];for(var ye=W[Symbol.iterator](),q=0;q<te;q++){var oe=ye.next();if(oe.done)return[re,o.empty()];re.push(oe.value)}return[re,Object(u.a)({},Symbol.iterator,function(){return ye})]}o.consume=E;function D(W,te){for(var re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(ue,ne){return ue===ne},ye=W[Symbol.iterator](),q=te[Symbol.iterator]();;){var oe=ye.next(),he=q.next();if(oe.done!==he.done)return!1;if(oe.done)return!0;if(!re(oe.value,he.value))return!1}}o.equals=D})(f||(f={}))},JZKZ:function(Ie,M,e){"use strict";var u=e("pWRy"),c=Object(u.a)();M.a=c},JZM8:function(Ie,M,e){var u=e("FfPP"),c=e("xs/l"),r=c(function(f,o){return f==null?{}:u(f,o)});Ie.exports=r},JaaR:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="DoubleLeftOutlined";var a=M.a=c.forwardRef(i)},JmpY:function(Ie,M,e){var u=e("eUgh");function c(r,f){return u(f,function(o){return r[o]})}Ie.exports=c},JtZC:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("qVdP"),r=e("jsC+"),f=e("GNNt"),o=e("wEI+"),i=e("nKUr"),a=e("q1tI"),n=e("+L6B"),v=e("2/Rp"),m=e("LQCs"),h=e("MNju"),t=function(T){var I=Object(m.d)(),Y=T.onClear,$=T.onConfirm,A=T.disabled,g=T.footerRender,b=Object(a.useContext)(o.a.ConfigContext),d=b.getPrefixCls,O=d("pro-core-dropdown-footer"),E=[Object(i.jsx)(v.a,{style:{visibility:Y?"visible":"hidden"},type:"link",size:"small",disabled:A,onClick:function(te){Y&&Y(te),te.stopPropagation()},children:I.getMessage("form.lightFilter.clear","\u6E05\u9664")},"clear"),Object(i.jsx)(v.a,{"data-type":"confirm",type:"primary",size:"small",onClick:$,disabled:A,children:I.getMessage("form.lightFilter.confirm","\u786E\u8BA4")},"confirm")];if(g===!1||(g==null?void 0:g($,Y))===!1)return null;var D=(g==null?void 0:g($,Y))||E;return Object(i.jsx)("div",{className:O,onClick:function(te){return te.target.getAttribute("data-type")!=="confirm"&&te.stopPropagation()},children:D})},l=t,p=e("Pjkc"),w=function(T){var I=T.children,Y=T.label,$=T.footer,A=T.disabled,g=T.onVisibleChange,b=T.visible,d=T.footerRender,O=T.placement,E=Object(a.useContext)(o.a.ConfigContext),D=E.getPrefixCls,W=D("pro-core-field-dropdown");return Object(i.jsx)(r.a,{disabled:A,placement:O,trigger:["click"],visible:b,onVisibleChange:g,overlay:Object(i.jsxs)("div",{className:"".concat(W,"-overlay"),children:[Object(i.jsx)("div",{className:"".concat(W,"-content"),children:I}),$&&Object(i.jsx)(l,Object(u.a)({disabled:A,footerRender:d},$))]}),children:Object(i.jsx)("span",{className:"".concat(W,"-label"),children:Y})})},S=M.a=w},Juji:function(Ie,M){function e(u,c){return u!=null&&c in Object(u)}Ie.exports=e},K5yz:function(Ie,M,e){},KCY9:function(Ie,M,e){},KDc4:function(Ie,M,e){"use strict";e.d(M,"b",function(){return f}),e.d(M,"c",function(){return o}),e.d(M,"a",function(){return i});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f;(function(n){n[n.None=0]="None",n[n.Indent=1]="Indent",n[n.IndentOutdent=2]="IndentOutdent",n[n.Outdent=3]="Outdent"})(f||(f={}));var o=function(){function n(v){if(Object(c.a)(this,n),this.open=v.open,this.close=v.close,this._standardTokenMask=0,Array.isArray(v.notIn))for(var m=0,h=v.notIn.length;m<h;m++){var t=v.notIn[m];switch(t){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4;break}}}return Object(r.a)(n,[{key:"isOK",value:function(m){return(this._standardTokenMask&m)==0}}]),n}(),i=Object(r.a)(function n(v){Object(c.a)(this,n),this.autoClosingPairsOpenByStart=new Map,this.autoClosingPairsOpenByEnd=new Map,this.autoClosingPairsCloseByStart=new Map,this.autoClosingPairsCloseByEnd=new Map,this.autoClosingPairsCloseSingleChar=new Map;var m=Object(u.a)(v),h;try{for(m.s();!(h=m.n()).done;){var t=h.value;a(this.autoClosingPairsOpenByStart,t.open.charAt(0),t),a(this.autoClosingPairsOpenByEnd,t.open.charAt(t.open.length-1),t),a(this.autoClosingPairsCloseByStart,t.close.charAt(0),t),a(this.autoClosingPairsCloseByEnd,t.close.charAt(t.close.length-1),t),t.close.length===1&&t.open.length===1&&a(this.autoClosingPairsCloseSingleChar,t.close,t)}}catch(l){m.e(l)}finally{m.f()}});function a(n,v,m){n.has(v)?n.get(v).push(m):n.set(v,[m])}},KMkd:function(Ie,M){function e(){this.__data__=[],this.size=0}Ie.exports=e},KPFz:function(Ie,M,e){},"KZ/l":function(Ie,M,e){var u=e("b5wT"),c=e("F9We").Graph,r=e("RYnF");Ie.exports=o;var f=u.constant(1);function o(m,h){if(m.nodeCount()<=1)return[];var t=n(m,h||f),l=i(t.graph,t.buckets,t.zeroIdx);return u.flatten(u.map(l,function(p){return m.outEdges(p.v,p.w)}),!0)}function i(m,h,t){for(var l=[],p=h[h.length-1],w=h[0],S;m.nodeCount();){for(;S=w.dequeue();)a(m,h,t,S);for(;S=p.dequeue();)a(m,h,t,S);if(m.nodeCount()){for(var k=h.length-2;k>0;--k)if(S=h[k].dequeue(),S){l=l.concat(a(m,h,t,S,!0));break}}}return l}function a(m,h,t,l,p){var w=p?[]:void 0;return u.forEach(m.inEdges(l.v),function(S){var k=m.edge(S),T=m.node(S.v);p&&w.push({v:S.v,w:S.w}),T.out-=k,v(h,t,T)}),u.forEach(m.outEdges(l.v),function(S){var k=m.edge(S),T=S.w,I=m.node(T);I.in-=k,v(h,t,I)}),m.removeNode(l.v),w}function n(m,h){var t=new c,l=0,p=0;u.forEach(m.nodes(),function(k){t.setNode(k,{v:k,in:0,out:0})}),u.forEach(m.edges(),function(k){var T=t.edge(k.v,k.w)||0,I=h(k),Y=T+I;t.setEdge(k.v,k.w,Y),p=Math.max(p,t.node(k.v).out+=I),l=Math.max(l,t.node(k.w).in+=I)});var w=u.range(p+l+3).map(function(){return new r}),S=l+1;return u.forEach(t.nodes(),function(k){v(w,S,t.node(k))}),{graph:t,buckets:w,zeroIdx:S}}function v(m,h,t){t.out?t.in?m[t.out-t.in+h].enqueue(t):m[m.length-1].enqueue(t):m[0].enqueue(t)}},KfSR:function(Ie,M,e){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.autoprefix=void 0;var u=e("Ag8Z"),c=f(u),r=Object.assign||function(a){for(var n=1;n<arguments.length;n++){var v=arguments[n];for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(a[m]=v[m])}return a};function f(a){return a&&a.__esModule?a:{default:a}}var o={borderRadius:function(n){return{msBorderRadius:n,MozBorderRadius:n,OBorderRadius:n,WebkitBorderRadius:n,borderRadius:n}},boxShadow:function(n){return{msBoxShadow:n,MozBoxShadow:n,OBoxShadow:n,WebkitBoxShadow:n,boxShadow:n}},userSelect:function(n){return{WebkitTouchCallout:n,KhtmlUserSelect:n,MozUserSelect:n,msUserSelect:n,WebkitUserSelect:n,userSelect:n}},flex:function(n){return{WebkitBoxFlex:n,MozBoxFlex:n,WebkitFlex:n,msFlex:n,flex:n}},flexBasis:function(n){return{WebkitFlexBasis:n,flexBasis:n}},justifyContent:function(n){return{WebkitJustifyContent:n,justifyContent:n}},transition:function(n){return{msTransition:n,MozTransition:n,OTransition:n,WebkitTransition:n,transition:n}},transform:function(n){return{msTransform:n,MozTransform:n,OTransform:n,WebkitTransform:n,transform:n}},absolute:function(n){var v=n&&n.split(" ");return{position:"absolute",top:v&&v[0],right:v&&v[1],bottom:v&&v[2],left:v&&v[3]}},extend:function(n,v){var m=v[n];return m||{extend:n}}},i=M.autoprefix=function(n){var v={};return(0,c.default)(n,function(m,h){var t={};(0,c.default)(m,function(l,p){var w=o[p];w?t=r({},t,w(l)):t[p]=l}),v[h]=t}),v};M.default=i},KgQ1:function(Ie,M,e){},Kp9H:function(Ie,M,e){"use strict";var u=e("b5wT"),c=e("5jIi"),r=e("14Cm"),f=e("OOL/"),o=e("iBet"),i=e("1PPP"),a=e("F9We").Graph,n=e("tQ6r");Ie.exports=v;function v(l){var p=n.maxRank(l),w=m(l,u.range(1,p+1),"inEdges"),S=m(l,u.range(p-1,-1,-1),"outEdges"),k=c(l);t(l,k);for(var T=Number.POSITIVE_INFINITY,I,Y=0,$=0;$<4;++Y,++$){h(Y%2?w:S,Y%4>=2),k=n.buildLayerMatrix(l);var A=r(l,k);A<T&&($=0,I=u.cloneDeep(k),T=A)}t(l,I)}function m(l,p,w){return u.map(p,function(S){return o(l,S,w)})}function h(l,p){var w=new a;u.forEach(l,function(S){var k=S.graph().root,T=f(S,k,w,p);u.forEach(T.vs,function(I,Y){S.node(I).order=Y}),i(S,w,T.vs)})}function t(l,p){u.forEach(p,function(w){u.forEach(w,function(S,k){l.node(S).order=k})})}},KrTs:function(Ie,M,e){"use strict";var u=e("rePB"),c=e("U8pU"),r=e("wx14"),f=e("TSYQ"),o=e.n(f),i=e("8XRh"),a=e("q1tI"),n=e("H84U"),v=e("0n0R"),m=e("09Wf");function h(b){return m.a.includes(b)}var t=function(d){var O,E=d.className,D=d.prefixCls,W=d.style,te=d.color,re=d.children,ye=d.text,q=d.placement,oe=q===void 0?"end":q,he=a.useContext(n.b),ue=he.getPrefixCls,ne=he.direction,se=ue("ribbon",D),be=h(te),Z=o()(se,"".concat(se,"-placement-").concat(oe),(O={},Object(u.a)(O,"".concat(se,"-rtl"),ne==="rtl"),Object(u.a)(O,"".concat(se,"-color-").concat(te),be),O),E),ee={},ce={};return te&&!be&&(ee.background=te,ce.color=te),a.createElement("div",{className:"".concat(se,"-wrapper")},re,a.createElement("div",{className:Z,style:Object(r.a)(Object(r.a)({},ee),W)},a.createElement("span",{className:"".concat(se,"-text")},ye),a.createElement("div",{className:"".concat(se,"-corner"),style:ce})))},l=t,p=e("ODXe");function w(b){var d=b.prefixCls,O=b.value,E=b.current,D=b.offset,W=D===void 0?0:D,te;return W&&(te={position:"absolute",top:"".concat(W,"00%"),left:0}),a.createElement("span",{style:te,className:o()("".concat(d,"-only-unit"),{current:E})},O)}function S(b,d,O){for(var E=b,D=0;(E+10)%10!==d;)E+=O,D+=O;return D}function k(b){var d=b.prefixCls,O=b.count,E=b.value,D=Number(E),W=Math.abs(O),te=a.useState(D),re=Object(p.a)(te,2),ye=re[0],q=re[1],oe=a.useState(W),he=Object(p.a)(oe,2),ue=he[0],ne=he[1],se=function(){q(D),ne(W)};a.useEffect(function(){var z=setTimeout(function(){se()},1e3);return function(){clearTimeout(z)}},[D]);var be,Z;if(ye===D||Number.isNaN(D)||Number.isNaN(ye))be=[a.createElement(w,Object(r.a)({},b,{key:D,current:!0}))],Z={transition:"none"};else{be=[];for(var ee=D+10,ce=[],R=D;R<=ee;R+=1)ce.push(R);var y=ce.findIndex(function(z){return z%10===ye});be=ce.map(function(z,G){var X=z%10;return a.createElement(w,Object(r.a)({},b,{key:z,value:X,offset:G-y,current:G===y}))});var C=ue<W?1:-1;Z={transform:"translateY(".concat(-S(ye,D,C),"00%)")}}return a.createElement("span",{className:"".concat(d,"-only"),style:Z,onTransitionEnd:se},be)}var T=function(b,d){var O={};for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&d.indexOf(E)<0&&(O[E]=b[E]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,E=Object.getOwnPropertySymbols(b);D<E.length;D++)d.indexOf(E[D])<0&&Object.prototype.propertyIsEnumerable.call(b,E[D])&&(O[E[D]]=b[E[D]]);return O},I=function(d){var O=d.prefixCls,E=d.count,D=d.className,W=d.motionClassName,te=d.style,re=d.title,ye=d.show,q=d.component,oe=q===void 0?"sup":q,he=d.children,ue=T(d,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),ne=a.useContext(n.b),se=ne.getPrefixCls,be=se("scroll-number",O),Z=Object(r.a)(Object(r.a)({},ue),{"data-show":ye,style:te,className:o()(be,D,W),title:re}),ee=E;if(E&&Number(E)%1==0){var ce=String(E).split("");ee=ce.map(function(R,y){return a.createElement(k,{prefixCls:be,count:Number(E),value:R,key:ce.length-y})})}return te&&te.borderColor&&(Z.style=Object(r.a)(Object(r.a)({},te),{boxShadow:"0 0 0 1px ".concat(te.borderColor," inset")})),he?Object(v.a)(he,function(R){return{className:o()("".concat(be,"-custom-component"),R==null?void 0:R.className,W)}}):a.createElement(oe,Z,ee)},Y=I,$=function(b,d){var O={};for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&d.indexOf(E)<0&&(O[E]=b[E]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,E=Object.getOwnPropertySymbols(b);D<E.length;D++)d.indexOf(E[D])<0&&Object.prototype.propertyIsEnumerable.call(b,E[D])&&(O[E[D]]=b[E[D]]);return O},A=function(d){var O,E,D=d.prefixCls,W=d.scrollNumberPrefixCls,te=d.children,re=d.status,ye=d.text,q=d.color,oe=d.count,he=oe===void 0?null:oe,ue=d.overflowCount,ne=ue===void 0?99:ue,se=d.dot,be=se===void 0?!1:se,Z=d.size,ee=Z===void 0?"default":Z,ce=d.title,R=d.offset,y=d.style,C=d.className,z=d.showZero,G=z===void 0?!1:z,X=$(d,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),pe=a.useContext(n.b),ae=pe.getPrefixCls,Se=pe.direction,Te=ae("badge",D),je=he>ne?"".concat(ne,"+"):he,ft=je==="0"||je===0,fe=he===null||ft&&!G,ie=(re!=null||q!=null)&&fe,ge=be&&!ft,Ve=ge?"":je,Ee=Object(a.useMemo)(function(){var kt=Ve==null||Ve==="";return(kt||ft&&!G)&&!ge},[Ve,ft,G,ge]),Me=Object(a.useRef)(he);Ee||(Me.current=he);var _e=Me.current,Re=Object(a.useRef)(Ve);Ee||(Re.current=Ve);var et=Re.current,Xe=Object(a.useRef)(ge);Ee||(Xe.current=ge);var it=Object(a.useMemo)(function(){if(!R)return Object(r.a)({},y);var kt={marginTop:R[1]};return Se==="rtl"?kt.left=parseInt(R[0],10):kt.right=-parseInt(R[0],10),Object(r.a)(Object(r.a)({},kt),y)},[Se,R,y]),bt=ce!=null?ce:typeof _e=="string"||typeof _e=="number"?_e:void 0,Ct=Ee||!ye?null:a.createElement("span",{className:"".concat(Te,"-status-text")},ye),Bt=!_e||Object(c.a)(_e)!=="object"?void 0:Object(v.a)(_e,function(kt){return{style:Object(r.a)(Object(r.a)({},it),kt.style)}}),qe=o()((O={},Object(u.a)(O,"".concat(Te,"-status-dot"),ie),Object(u.a)(O,"".concat(Te,"-status-").concat(re),!!re),Object(u.a)(O,"".concat(Te,"-status-").concat(q),h(q)),O)),st={};q&&!h(q)&&(st.background=q);var ut=o()(Te,(E={},Object(u.a)(E,"".concat(Te,"-status"),ie),Object(u.a)(E,"".concat(Te,"-not-a-wrapper"),!te),Object(u.a)(E,"".concat(Te,"-rtl"),Se==="rtl"),E),C);if(!te&&ie){var nt=it.color;return a.createElement("span",Object(r.a)({},X,{className:ut,style:it}),a.createElement("span",{className:qe,style:st}),ye&&a.createElement("span",{style:{color:nt},className:"".concat(Te,"-status-text")},ye))}return a.createElement("span",Object(r.a)({},X,{className:ut}),te,a.createElement(i.b,{visible:!Ee,motionName:"".concat(Te,"-zoom"),motionAppear:!1,motionDeadline:1e3},function(kt){var Sn,Tt=kt.className,ht=ae("scroll-number",W),Rt=Xe.current,Ft=o()((Sn={},Object(u.a)(Sn,"".concat(Te,"-dot"),Rt),Object(u.a)(Sn,"".concat(Te,"-count"),!Rt),Object(u.a)(Sn,"".concat(Te,"-count-sm"),ee==="small"),Object(u.a)(Sn,"".concat(Te,"-multiple-words"),!Rt&&et&&et.toString().length>1),Object(u.a)(Sn,"".concat(Te,"-status-").concat(re),!!re),Object(u.a)(Sn,"".concat(Te,"-status-").concat(q),h(q)),Sn)),nn=Object(r.a)({},it);return q&&!h(q)&&(nn=nn||{},nn.background=q),a.createElement(Y,{prefixCls:ht,show:!Ee,motionClassName:Tt,className:Ft,count:et,title:bt,style:nn,key:"scrollNumber"},Bt)}),Ct)};A.Ribbon=l;var g=M.a=A},Krc3:function(Ie,M,e){},Kvyg:function(Ie,M,e){},KwMD:function(Ie,M){function e(u,c,r,f){for(var o=u.length,i=r+(f?1:-1);f?i--:++i<o;)if(c(u[i],i,u))return i;return-1}Ie.exports=e},KxFI:function(Ie,M,e){},L8xA:function(Ie,M){function e(u){var c=this.__data__,r=c.delete(u);return this.size=c.size,r}Ie.exports=e},LCkn:function(Ie,M,e){"use strict";e.d(M,"a",function(){return f}),e.d(M,"c",function(){return o}),e.d(M,"e",function(){return i}),e.d(M,"d",function(){return a}),e.d(M,"b",function(){return n});var u=e("fWQN"),c=e("mtLc"),r=e("gCVg"),f=function(){function v(m,h){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Object(u.a)(this,v),this._range=m,this._text=h,this.insertsAutoWhitespace=t}return Object(c.a)(v,[{key:"getEditOperations",value:function(h,t){t.addTrackedEditOperation(this._range,this._text)}},{key:"computeCursorState",value:function(h,t){var l=t.getInverseEditOperations(),p=l[0].range;return new r.a(p.endLineNumber,p.endColumn,p.endLineNumber,p.endColumn)}}]),v}(),o=function(){function v(m,h){Object(u.a)(this,v),this._range=m,this._text=h}return Object(c.a)(v,[{key:"getEditOperations",value:function(h,t){t.addTrackedEditOperation(this._range,this._text)}},{key:"computeCursorState",value:function(h,t){var l=t.getInverseEditOperations(),p=l[0].range;return new r.a(p.startLineNumber,p.startColumn,p.endLineNumber,p.endColumn)}}]),v}(),i=function(){function v(m,h){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Object(u.a)(this,v),this._range=m,this._text=h,this.insertsAutoWhitespace=t}return Object(c.a)(v,[{key:"getEditOperations",value:function(h,t){t.addTrackedEditOperation(this._range,this._text)}},{key:"computeCursorState",value:function(h,t){var l=t.getInverseEditOperations(),p=l[0].range;return new r.a(p.startLineNumber,p.startColumn,p.startLineNumber,p.startColumn)}}]),v}(),a=function(){function v(m,h,t,l){var p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;Object(u.a)(this,v),this._range=m,this._text=h,this._columnDeltaOffset=l,this._lineNumberDeltaOffset=t,this.insertsAutoWhitespace=p}return Object(c.a)(v,[{key:"getEditOperations",value:function(h,t){t.addTrackedEditOperation(this._range,this._text)}},{key:"computeCursorState",value:function(h,t){var l=t.getInverseEditOperations(),p=l[0].range;return new r.a(p.endLineNumber+this._lineNumberDeltaOffset,p.endColumn+this._columnDeltaOffset,p.endLineNumber+this._lineNumberDeltaOffset,p.endColumn+this._columnDeltaOffset)}}]),v}(),n=function(){function v(m,h,t){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Object(u.a)(this,v),this._range=m,this._text=h,this._initialSelection=t,this._forceMoveMarkers=l,this._selectionId=null}return Object(c.a)(v,[{key:"getEditOperations",value:function(h,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}},{key:"computeCursorState",value:function(h,t){return t.getTrackedSelection(this._selectionId)}}]),v}()},LGYb:function(Ie,M,e){var u=e("1hJj"),c=e("jbM+"),r=e("Xt/L"),f=e("xYSL"),o=e("dQpi"),i=e("rEGp"),a=200;function n(v,m,h){var t=-1,l=c,p=v.length,w=!0,S=[],k=S;if(h)w=!1,l=r;else if(p>=a){var T=m?null:o(v);if(T)return i(T);w=!1,l=f,k=new u}else k=m?[]:S;e:for(;++t<p;){var I=v[t],Y=m?m(I):I;if(I=h||I!==0?I:0,w&&Y===Y){for(var $=k.length;$--;)if(k[$]===Y)continue e;m&&k.push(Y),S.push(I)}else l(k,Y,h)||(k!==S&&k.push(Y),S.push(I))}return S}Ie.exports=n},LXxW:function(Ie,M){function e(u,c){for(var r=-1,f=u==null?0:u.length,o=0,i=[];++r<f;){var a=u[r];c(a,r,u)&&(i[o++]=a)}return i}Ie.exports=e},LcsW:function(Ie,M,e){var u=e("kekF"),c=u(Object.getPrototypeOf,Object);Ie.exports=c},"LeU+":function(Ie,M,e){"use strict";e.d(M,"b",function(){return f}),e.d(M,"a",function(){return o});var u=e("mtLc"),c=e("fWQN"),r=e("CZ1j"),f=Object(u.a)(function i(a,n){Object(c.a)(this,i),this.index=a,this.remainder=n}),o=function(){function i(a){Object(c.a)(this,i),this.values=a,this.prefixSum=new Uint32Array(a.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return Object(u.a)(i,[{key:"insertValues",value:function(n,v){n=Object(r.a)(n);var m=this.values,h=this.prefixSum,t=v.length;return t===0?!1:(this.values=new Uint32Array(m.length+t),this.values.set(m.subarray(0,n),0),this.values.set(m.subarray(n),n+t),this.values.set(v,n),n-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=n-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(h.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}},{key:"changeValue",value:function(n,v){return n=Object(r.a)(n),v=Object(r.a)(v),this.values[n]===v?!1:(this.values[n]=v,n-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=n-1),!0)}},{key:"removeValues",value:function(n,v){n=Object(r.a)(n),v=Object(r.a)(v);var m=this.values,h=this.prefixSum;if(n>=m.length)return!1;var t=m.length-n;return v>=t&&(v=t),v===0?!1:(this.values=new Uint32Array(m.length-v),this.values.set(m.subarray(0,n),0),this.values.set(m.subarray(n+v),n),this.prefixSum=new Uint32Array(this.values.length),n-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=n-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(h.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}},{key:"getTotalValue",value:function(){return this.values.length===0?0:this._getAccumulatedValue(this.values.length-1)}},{key:"getAccumulatedValue",value:function(n){return n<0?0:(n=Object(r.a)(n),this._getAccumulatedValue(n))}},{key:"_getAccumulatedValue",value:function(n){if(n<=this.prefixSumValidIndex[0])return this.prefixSum[n];var v=this.prefixSumValidIndex[0]+1;v===0&&(this.prefixSum[0]=this.values[0],v++),n>=this.values.length&&(n=this.values.length-1);for(var m=v;m<=n;m++)this.prefixSum[m]=this.prefixSum[m-1]+this.values[m];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],n),this.prefixSum[n]}},{key:"getIndexOf",value:function(n){n=Math.floor(n),this.getTotalValue();for(var v=0,m=this.values.length-1,h=0,t=0,l=0;v<=m;)if(h=v+(m-v)/2|0,t=this.prefixSum[h],l=t-this.values[h],n<l)m=h-1;else if(n>=t)v=h+1;else break;return new f(h,n-l)}}]),i}()},Ll0s:function(Ie,M,e){"use strict";e.d(M,"b",function(){return p}),e.d(M,"f",function(){return w}),e.d(M,"c",function(){return S}),e.d(M,"d",function(){return I}),e.d(M,"e",function(){return Y}),e.d(M,"a",function(){return $}),e.d(M,"g",function(){return A});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("/cxE"),o=e("N0LK"),i=e("cGHE"),a=e("aokT"),n=e("gCVg"),v=e("tX9W"),m=e("cMvZ"),h=function(){return!0},t=function(){return!1},l=function(b){return b===" "||b===" "},p=function(){function g(b,d,O){Object(c.a)(this,g),this._languageIdentifier=b;var E=O.options,D=E.get(127);this.readOnly=E.get(77),this.tabSize=d.tabSize,this.indentSize=d.indentSize,this.insertSpaces=d.insertSpaces,this.stickyTabStops=E.get(101),this.lineHeight=E.get(55),this.pageSize=Math.max(1,Math.floor(D.height/this.lineHeight)-2),this.useTabStops=E.get(112),this.wordSeparators=E.get(113),this.emptySelectionClipboard=E.get(30),this.copyWithSyntaxHighlighting=E.get(19),this.multiCursorMergeOverlapping=E.get(65),this.multiCursorPaste=E.get(67),this.autoClosingBrackets=E.get(5),this.autoClosingQuotes=E.get(8),this.autoClosingDelete=E.get(6),this.autoClosingOvertype=E.get(7),this.autoSurround=E.get(11),this.autoIndent=E.get(9),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:g._getShouldAutoClose(b,this.autoClosingQuotes),bracket:g._getShouldAutoClose(b,this.autoClosingBrackets)},this.autoClosingPairs=m.a.getAutoClosingPairs(b.id);var W=g._getSurroundingPairs(b);if(W){var te=Object(u.a)(W),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value;this.surroundingPairs[ye.open]=ye.close}}catch(q){te.e(q)}finally{te.f()}}}return Object(r.a)(g,[{key:"electricChars",get:function(){if(!this._electricChars){this._electricChars={};var d=g._getElectricCharacters(this._languageIdentifier);if(d){var O=Object(u.a)(d),E;try{for(O.s();!(E=O.n()).done;){var D=E.value;this._electricChars[D]=!0}}catch(W){O.e(W)}finally{O.f()}}}return this._electricChars}},{key:"normalizeIndentation",value:function(d){return v.b.normalizeIndentation(d,this.indentSize,this.insertSpaces)}}],[{key:"shouldRecreate",value:function(d){return d.hasChanged(127)||d.hasChanged(113)||d.hasChanged(30)||d.hasChanged(65)||d.hasChanged(67)||d.hasChanged(5)||d.hasChanged(8)||d.hasChanged(6)||d.hasChanged(7)||d.hasChanged(11)||d.hasChanged(112)||d.hasChanged(55)||d.hasChanged(77)}},{key:"_getElectricCharacters",value:function(d){try{return m.a.getElectricCharacters(d.id)}catch(O){return Object(f.e)(O),null}}},{key:"_getShouldAutoClose",value:function(d,O){switch(O){case"beforeWhitespace":return l;case"languageDefined":return g._getLanguageDefinedShouldAutoClose(d);case"always":return h;case"never":return t}}},{key:"_getLanguageDefinedShouldAutoClose",value:function(d){try{var O=m.a.getAutoCloseBeforeSet(d.id);return function(E){return O.indexOf(E)!==-1}}catch(E){return Object(f.e)(E),t}}},{key:"_getSurroundingPairs",value:function(d){try{return m.a.getSurroundingPairs(d.id)}catch(O){return Object(f.e)(O),null}}}]),g}(),w=function(){function g(b,d,O,E){Object(c.a)(this,g),this.selectionStart=b,this.selectionStartLeftoverVisibleColumns=d,this.position=O,this.leftoverVisibleColumns=E,this.selection=g._computeSelection(this.selectionStart,this.position)}return Object(r.a)(g,[{key:"equals",value:function(d){return this.selectionStartLeftoverVisibleColumns===d.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===d.leftoverVisibleColumns&&this.position.equals(d.position)&&this.selectionStart.equalsRange(d.selectionStart)}},{key:"hasSelection",value:function(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}},{key:"move",value:function(d,O,E,D){return d?new g(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new i.a(O,E),D):new g(new a.a(O,E,O,E),D,new i.a(O,E),D)}}],[{key:"_computeSelection",value:function(d,O){var E,D,W,te;return d.isEmpty()?(E=d.startLineNumber,D=d.startColumn,W=O.lineNumber,te=O.column):O.isBeforeOrEqual(d.getStartPosition())?(E=d.endLineNumber,D=d.endColumn,W=O.lineNumber,te=O.column):(E=d.startLineNumber,D=d.startColumn,W=O.lineNumber,te=O.column),new n.a(E,D,W,te)}}]),g}(),S=Object(r.a)(function g(b,d,O){Object(c.a)(this,g),this.model=b,this.coordinatesConverter=d,this.cursorConfig=O}),k=Object(r.a)(function g(b){Object(c.a)(this,g),this.modelState=b,this.viewState=null}),T=Object(r.a)(function g(b){Object(c.a)(this,g),this.modelState=null,this.viewState=b}),I=function(){function g(b,d){Object(c.a)(this,g),this.modelState=b,this.viewState=d}return Object(r.a)(g,[{key:"equals",value:function(d){return this.viewState.equals(d.viewState)&&this.modelState.equals(d.modelState)}}],[{key:"fromModelState",value:function(d){return new k(d)}},{key:"fromViewState",value:function(d){return new T(d)}},{key:"fromModelSelection",value:function(d){var O=d.selectionStartLineNumber,E=d.selectionStartColumn,D=d.positionLineNumber,W=d.positionColumn,te=new w(new a.a(O,E,O,E),0,new i.a(D,W),0);return g.fromModelState(te)}},{key:"fromModelSelections",value:function(d){for(var O=[],E=0,D=d.length;E<D;E++)O[E]=this.fromModelSelection(d[E]);return O}}]),g}(),Y=Object(r.a)(function g(b,d,O){Object(c.a)(this,g),this.type=b,this.commands=d,this.shouldPushStackElementBefore=O.shouldPushStackElementBefore,this.shouldPushStackElementAfter=O.shouldPushStackElementAfter}),$=function(){function g(){Object(c.a)(this,g)}return Object(r.a)(g,null,[{key:"visibleColumnFromColumn",value:function(d,O,E){for(var D=d.length,W=O-1<D?O-1:D,te=0,re=0;re<W;){var ye=o.z(d,W,re);if(re+=ye>=65536?2:1,ye===9)te=g.nextRenderTabStop(te,E);else{for(var q=o.x(ye);re<W;){var oe=o.z(d,W,re),he=o.x(oe);if(o.c(q,he))break;re+=oe>=65536?2:1,q=he}o.D(ye)||o.B(ye)?te=te+2:te=te+1}}return te}},{key:"visibleColumnFromColumn2",value:function(d,O,E){return this.visibleColumnFromColumn(O.getLineContent(E.lineNumber),E.column,d.tabSize)}},{key:"columnFromVisibleColumn",value:function(d,O,E){if(O<=0)return 1;for(var D=d.length,W=0,te=1,re=0;re<D;){var ye=o.z(d,D,re);re+=ye>=65536?2:1;var q=void 0;if(ye===9)q=g.nextRenderTabStop(W,E);else{for(var oe=o.x(ye);re<D;){var he=o.z(d,D,re),ue=o.x(he);if(o.c(oe,ue))break;re+=he>=65536?2:1,oe=ue}o.D(ye)||o.B(ye)?q=W+2:q=W+1}var ne=re+1;if(q>=O){var se=O-W,be=q-O;return be<se?ne:te}W=q,te=ne}return D+1}},{key:"columnFromVisibleColumn2",value:function(d,O,E,D){var W=this.columnFromVisibleColumn(O.getLineContent(E),D,d.tabSize),te=O.getLineMinColumn(E);if(W<te)return te;var re=O.getLineMaxColumn(E);return W>re?re:W}},{key:"nextRenderTabStop",value:function(d,O){return d+O-d%O}},{key:"nextIndentTabStop",value:function(d,O){return d+O-d%O}},{key:"prevRenderTabStop",value:function(d,O){return Math.max(0,d-1-(d-1)%O)}},{key:"prevIndentTabStop",value:function(d,O){return Math.max(0,d-1-(d-1)%O)}}]),g}();function A(g){return g==="'"||g==='"'||g==="`"}},LsHQ:function(Ie,M,e){var u=e("EA7m"),c=e("mv/X");function r(f){return u(function(o,i){var a=-1,n=i.length,v=n>1?i[n-1]:void 0,m=n>2?i[2]:void 0;for(v=f.length>3&&typeof v=="function"?(n--,v):void 0,m&&c(i[0],i[1],m)&&(v=n<3?void 0:v,n=1),o=Object(o);++a<n;){var h=i[a];h&&f(o,h,a,v)}return o})}Ie.exports=r},LvDl:function(Ie,M,e){(function(u,c){var r;/**
- * @license
- * Lodash <https://lodash.com/>
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */(function(){var f,o="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",v="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",h=500,t="__lodash_placeholder__",l=1,p=2,w=4,S=1,k=2,T=1,I=2,Y=4,$=8,A=16,g=32,b=64,d=128,O=256,E=512,D=30,W="...",te=800,re=16,ye=1,q=2,oe=3,he=1/0,ue=9007199254740991,ne=17976931348623157e292,se=0/0,be=4294967295,Z=be-1,ee=be>>>1,ce=[["ary",d],["bind",T],["bindKey",I],["curry",$],["curryRight",A],["flip",E],["partial",g],["partialRight",b],["rearg",O]],R="[object Arguments]",y="[object Array]",C="[object AsyncFunction]",z="[object Boolean]",G="[object Date]",X="[object DOMException]",pe="[object Error]",ae="[object Function]",Se="[object GeneratorFunction]",Te="[object Map]",je="[object Number]",ft="[object Null]",fe="[object Object]",ie="[object Promise]",ge="[object Proxy]",Ve="[object RegExp]",Ee="[object Set]",Me="[object String]",_e="[object Symbol]",Re="[object Undefined]",et="[object WeakMap]",Xe="[object WeakSet]",it="[object ArrayBuffer]",bt="[object DataView]",Ct="[object Float32Array]",Bt="[object Float64Array]",qe="[object Int8Array]",st="[object Int16Array]",ut="[object Int32Array]",nt="[object Uint8Array]",kt="[object Uint8ClampedArray]",Sn="[object Uint16Array]",Tt="[object Uint32Array]",ht=/\b__p \+= '';/g,Rt=/\b(__p \+=) '' \+/g,Ft=/(__e\(.*?\)|\b__t\)) \+\n'';/g,nn=/&(?:amp|lt|gt|quot|#39);/g,bn=/[&<>"']/g,sn=RegExp(nn.source),un=RegExp(bn.source),Ht=/<%-([\s\S]+?)%>/g,jn=/<%([\s\S]+?)%>/g,Ln=/<%=([\s\S]+?)%>/g,Un=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lt=/^\w*$/,Nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zt=/[\\^$.*+?()[\]{}|]/g,en=RegExp(zt.source),tn=/^\s+/,wn=/\s/,on=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,vn=/\{\n\/\* \[wrapped with (.+)\] \*/,dt=/,? & /,ct=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Kt=/[()=,{}\[\]\/\s]/,pn=/\\(\\)?/g,kn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Pt=/\w*$/,gn=/^[-+]0x[0-9a-f]+$/i,_n=/^0b[01]+$/i,Kn=/^\[object .+?Constructor\]$/,qn=/^0o[0-7]+$/i,rr=/^(?:0|[1-9]\d*)$/,Rn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mr=/($^)/,ar=/['\n\r\u2028\u2029\\]/g,sr="\\ud800-\\udfff",yr="\\u0300-\\u036f",br="\\ufe20-\\ufe2f",_r="\\u20d0-\\u20ff",li=yr+br+_r,xi="\\u2700-\\u27bf",Mi="a-z\\xdf-\\xf6\\xf8-\\xff",Fr="\\xac\\xb1\\xd7\\xf7",ur="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ti="\\u2000-\\u206f",Xi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ca="A-Z\\xc0-\\xd6\\xd8-\\xde",Zi="\\ufe0e\\ufe0f",xa=Fr+ur+Ti+Xi,va="['\u2019]",Ma="["+sr+"]",_a="["+xa+"]",na="["+li+"]",sa="\\d+",Ai="["+xi+"]",ba="["+Mi+"]",ea="[^"+sr+xa+sa+xi+Mi+ca+"]",mn="\\ud83c[\\udffb-\\udfff]",It="(?:"+na+"|"+mn+")",Ue="[^"+sr+"]",Ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",mt="["+ca+"]",xt="\\u200d",cn="(?:"+ba+"|"+ea+")",Ut="(?:"+mt+"|"+ea+")",wt="(?:"+va+"(?:d|ll|m|re|s|t|ve))?",Pn="(?:"+va+"(?:D|LL|M|RE|S|T|VE))?",an=It+"?",Dn="["+Zi+"]?",Tn="(?:"+xt+"(?:"+[Ue,Ze,Pe].join("|")+")"+Dn+an+")*",Zn="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xr=Dn+an+Tn,Vr="(?:"+[Ai,Ze,Pe].join("|")+")"+xr,Dr="(?:"+[Ue+na+"?",na,Ze,Pe,Ma].join("|")+")",dr=RegExp(va,"g"),gt=RegExp(na,"g"),Rr=RegExp(mn+"(?="+mn+")|"+Dr+xr,"g"),ci=RegExp([mt+"?"+ba+"+"+wt+"(?="+[_a,mt,"$"].join("|")+")",Ut+"+"+Pn+"(?="+[_a,mt+cn,"$"].join("|")+")",mt+"?"+cn+"+"+wt,mt+"+"+Pn,Mr,Zn,sa,Vr].join("|"),"g"),ai=RegExp("["+xt+sr+li+Zi+"]"),bi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,zr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Hi=-1,hi={};hi[Ct]=hi[Bt]=hi[qe]=hi[st]=hi[ut]=hi[nt]=hi[kt]=hi[Sn]=hi[Tt]=!0,hi[R]=hi[y]=hi[it]=hi[z]=hi[bt]=hi[G]=hi[pe]=hi[ae]=hi[Te]=hi[je]=hi[fe]=hi[Ve]=hi[Ee]=hi[Me]=hi[et]=!1;var Ci={};Ci[R]=Ci[y]=Ci[it]=Ci[bt]=Ci[z]=Ci[G]=Ci[Ct]=Ci[Bt]=Ci[qe]=Ci[st]=Ci[ut]=Ci[Te]=Ci[je]=Ci[fe]=Ci[Ve]=Ci[Ee]=Ci[Me]=Ci[_e]=Ci[nt]=Ci[kt]=Ci[Sn]=Ci[Tt]=!0,Ci[pe]=Ci[ae]=Ci[et]=!1;var Ii={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Mn={"&":"&","<":"<",">":">",'"':""","'":"'"},nr={"&":"&","<":"<",">":">",""":'"',"'":"'"},cr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Lr=parseFloat,ei=parseInt,ki=typeof u=="object"&&u&&u.Object===Object&&u,ua=typeof self=="object"&&self&&self.Object===Object&&self,Qi=ki||ua||Function("return this")(),Br=M&&!M.nodeType&&M,ga=Br&&typeof c=="object"&&c&&!c.nodeType&&c,fa=ga&&ga.exports===Br,Ja=fa&&ki.process,In=function(){try{var or=ga&&ga.require&&ga.require("util").types;return or||Ja&&Ja.binding&&Ja.binding("util")}catch(Ir){}}(),ve=In&&In.isArrayBuffer,x=In&&In.isDate,le=In&&In.isMap,me=In&&In.isRegExp,Ae=In&&In.isSet,tt=In&&In.isTypedArray;function pt(or,Ir,Ur){switch(Ur.length){case 0:return or.call(Ir);case 1:return or.call(Ir,Ur[0]);case 2:return or.call(Ir,Ur[0],Ur[1]);case 3:return or.call(Ir,Ur[0],Ur[1],Ur[2])}return or.apply(Ir,Ur)}function ke(or,Ir,Ur,Li){for(var oa=-1,Ua=or==null?0:or.length;++oa<Ua;){var $a=or[oa];Ir(Li,$a,Ur($a),or)}return Li}function we(or,Ir){for(var Ur=-1,Li=or==null?0:or.length;++Ur<Li&&Ir(or[Ur],Ur,or)!==!1;);return or}function Be(or,Ir){for(var Ur=or==null?0:or.length;Ur--&&Ir(or[Ur],Ur,or)!==!1;);return or}function Le(or,Ir){for(var Ur=-1,Li=or==null?0:or.length;++Ur<Li;)if(!Ir(or[Ur],Ur,or))return!1;return!0}function J(or,Ir){for(var Ur=-1,Li=or==null?0:or.length,oa=0,Ua=[];++Ur<Li;){var $a=or[Ur];Ir($a,Ur,or)&&(Ua[oa++]=$a)}return Ua}function Ke(or,Ir){var Ur=or==null?0:or.length;return!!Ur&&Qr(or,Ir,0)>-1}function We(or,Ir,Ur){for(var Li=-1,oa=or==null?0:or.length;++Li<oa;)if(Ur(Ir,or[Li]))return!0;return!1}function Ot(or,Ir){for(var Ur=-1,Li=or==null?0:or.length,oa=Array(Li);++Ur<Li;)oa[Ur]=Ir(or[Ur],Ur,or);return oa}function Vt(or,Ir){for(var Ur=-1,Li=Ir.length,oa=or.length;++Ur<Li;)or[oa+Ur]=Ir[Ur];return or}function $t(or,Ir,Ur,Li){var oa=-1,Ua=or==null?0:or.length;for(Li&&Ua&&(Ur=or[++oa]);++oa<Ua;)Ur=Ir(Ur,or[oa],oa,or);return Ur}function Gt(or,Ir,Ur,Li){var oa=or==null?0:or.length;for(Li&&oa&&(Ur=or[--oa]);oa--;)Ur=Ir(Ur,or[oa],oa,or);return Ur}function hn(or,Ir){for(var Ur=-1,Li=or==null?0:or.length;++Ur<Li;)if(Ir(or[Ur],Ur,or))return!0;return!1}var $n=rn("length");function Sr(or){return or.split("")}function vr(or){return or.match(ct)||[]}function zn(or,Ir,Ur){var Li;return Ur(or,function(oa,Ua,$a){if(Ir(oa,Ua,$a))return Li=Ua,!1}),Li}function Tr(or,Ir,Ur,Li){for(var oa=or.length,Ua=Ur+(Li?1:-1);Li?Ua--:++Ua<oa;)if(Ir(or[Ua],Ua,or))return Ua;return-1}function Qr(or,Ir,Ur){return Ir===Ir?Ra(or,Ir,Ur):Tr(or,Jt,Ur)}function Qe(or,Ir,Ur,Li){for(var oa=Ur-1,Ua=or.length;++oa<Ua;)if(Li(or[oa],Ir))return oa;return-1}function Jt(or){return or!==or}function ln(or,Ir){var Ur=or==null?0:or.length;return Ur?kr(or,Ir)/Ur:se}function rn(or){return function(Ir){return Ir==null?f:Ir[or]}}function An(or){return function(Ir){return or==null?f:or[Ir]}}function fr(or,Ir,Ur,Li,oa){return oa(or,function(Ua,$a,Ba){Ur=Li?(Li=!1,Ua):Ir(Ur,Ua,$a,Ba)}),Ur}function Pr(or,Ir){var Ur=or.length;for(or.sort(Ir);Ur--;)or[Ur]=or[Ur].value;return or}function kr(or,Ir){for(var Ur,Li=-1,oa=or.length;++Li<oa;){var Ua=Ir(or[Li]);Ua!==f&&(Ur=Ur===f?Ua:Ur+Ua)}return Ur}function Ar(or,Ir){for(var Ur=-1,Li=Array(or);++Ur<or;)Li[Ur]=Ir(Ur);return Li}function vi(or,Ir){return Ot(Ir,function(Ur){return[Ur,or[Ur]]})}function Wi(or){return or&&or.slice(0,No(or)+1).replace(tn,"")}function di(or){return function(Ir){return or(Ir)}}function ri(or,Ir){return Ot(Ir,function(Ur){return or[Ur]})}function yi(or,Ir){return or.has(Ir)}function Si(or,Ir){for(var Ur=-1,Li=or.length;++Ur<Li&&Qr(Ir,or[Ur],0)>-1;);return Ur}function zi(or,Ir){for(var Ur=or.length;Ur--&&Qr(Ir,or[Ur],0)>-1;);return Ur}function si(or,Ir){for(var Ur=or.length,Li=0;Ur--;)or[Ur]===Ir&&++Li;return Li}var ii=An(Ii),Yi=An(Mn);function La(or){return"\\"+cr[or]}function Wa(or,Ir){return or==null?f:or[Ir]}function Ri(or){return ai.test(or)}function Oa(or){return bi.test(or)}function Ha(or){for(var Ir,Ur=[];!(Ir=or.next()).done;)Ur.push(Ir.value);return Ur}function Za(or){var Ir=-1,Ur=Array(or.size);return or.forEach(function(Li,oa){Ur[++Ir]=[oa,Li]}),Ur}function co(or,Ir){return function(Ur){return or(Ir(Ur))}}function Do(or,Ir){for(var Ur=-1,Li=or.length,oa=0,Ua=[];++Ur<Li;){var $a=or[Ur];($a===Ir||$a===t)&&(or[Ur]=t,Ua[oa++]=Ur)}return Ua}function ra(or){var Ir=-1,Ur=Array(or.size);return or.forEach(function(Li){Ur[++Ir]=Li}),Ur}function ya(or){var Ir=-1,Ur=Array(or.size);return or.forEach(function(Li){Ur[++Ir]=[Li,Li]}),Ur}function Ra(or,Ir,Ur){for(var Li=Ur-1,oa=or.length;++Li<oa;)if(or[Li]===Ir)return Li;return-1}function Fa(or,Ir,Ur){for(var Li=Ur+1;Li--;)if(or[Li]===Ir)return Li;return Li}function Ca(or){return Ri(or)?ds(or):$n(or)}function no(or){return Ri(or)?Yr(or):Sr(or)}function No(or){for(var Ir=or.length;Ir--&&wn.test(or.charAt(Ir)););return Ir}var es=An(nr);function ds(or){for(var Ir=Rr.lastIndex=0;Rr.test(or);)++Ir;return Ir}function Yr(or){return or.match(Rr)||[]}function jr(or){return or.match(ci)||[]}var Ei=function or(Ir){Ir=Ir==null?Qi:gi.defaults(Qi.Object(),Ir,gi.pick(Qi,zr));var Ur=Ir.Array,Li=Ir.Date,oa=Ir.Error,Ua=Ir.Function,$a=Ir.Math,Ba=Ir.Object,ro=Ir.RegExp,mo=Ir.String,oo=Ir.TypeError,Oo=Ur.prototype,Yo=Ua.prototype,ts=Ba.prototype,Os=Ir["__core-js_shared__"],Rs=Yo.toString,Mo=ts.hasOwnProperty,Bs=0,ll=function(){var K=/[^.]+$/.exec(Os&&Os.keys&&Os.keys.IE_PROTO||"");return K?"Symbol(src)_1."+K:""}(),ks=ts.toString,xl=Rs.call(Ba),Pl=Qi._,Wo=ro("^"+Rs.call(Mo).replace(zt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yl=fa?Ir.Buffer:f,Ps=Ir.Symbol,B=Ir.Uint8Array,Oe=yl?yl.allocUnsafe:f,St=co(Ba.getPrototypeOf,Ba),Qt=Ba.create,Cn=ts.propertyIsEnumerable,Nn=Oo.splice,Bn=Ps?Ps.isConcatSpreadable:f,Xn=Ps?Ps.iterator:f,Jn=Ps?Ps.toStringTag:f,Cr=function(){try{var K=du(Ba,"defineProperty");return K({},"",{}),K}catch(de){}}(),Kr=Ir.clearTimeout!==Qi.clearTimeout&&Ir.clearTimeout,ti=Li&&Li.now!==Qi.Date.now&&Li.now,Pi=Ir.setTimeout!==Qi.setTimeout&&Ir.setTimeout,pi=$a.ceil,Fi=$a.floor,ha=Ba.getOwnPropertySymbols,$i=yl?yl.isBuffer:f,wa=Ir.isFinite,Lo=Oo.join,Co=co(Ba.keys,Ba),qa=$a.max,Va=$a.min,pa=Li.now,fo=Ir.parseInt,Ao=$a.random,ko=Oo.reverse,Jo=du(Ir,"DataView"),rs=du(Ir,"Map"),Cs=du(Ir,"Promise"),ms=du(Ir,"Set"),Po=du(Ir,"WeakMap"),rl=du(Ba,"create"),Rl=Po&&new Po,bl={},Tl=ac(Jo),ou=ac(rs),Vu=ac(Cs),Du=ac(ms),qo=ac(Po),Io=Ps?Ps.prototype:f,po=Io?Io.valueOf:f,fl=Io?Io.toString:f;function ir(K){if(Gl(K)&&!Ds(K)&&!(K instanceof vs)){if(K instanceof Vl)return K;if(Mo.call(K,"__wrapped__"))return Zc(K)}return new Vl(K)}var Al=function(){function K(){}return function(de){if(!Ul(de))return{};if(Qt)return Qt(de);K.prototype=de;var Ye=new K;return K.prototype=f,Ye}}();function gu(){}function Vl(K,de){this.__wrapped__=K,this.__actions__=[],this.__chain__=!!de,this.__index__=0,this.__values__=f}ir.templateSettings={escape:Ht,evaluate:jn,interpolate:Ln,variable:"",imports:{_:ir}},ir.prototype=gu.prototype,ir.prototype.constructor=ir,Vl.prototype=Al(gu.prototype),Vl.prototype.constructor=Vl;function vs(K){this.__wrapped__=K,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=be,this.__views__=[]}function nu(){var K=new vs(this.__wrapped__);return K.__actions__=Hl(this.__actions__),K.__dir__=this.__dir__,K.__filtered__=this.__filtered__,K.__iteratees__=Hl(this.__iteratees__),K.__takeCount__=this.__takeCount__,K.__views__=Hl(this.__views__),K}function Lt(){if(this.__filtered__){var K=new vs(this);K.__dir__=-1,K.__filtered__=!0}else K=this.clone(),K.__dir__*=-1;return K}function He(){var K=this.__wrapped__.value(),de=this.__dir__,Ye=Ds(K),Xt=de<0,Vn=Ye?K.length:0,Or=Cd(0,Vn,this.__views__),qr=Or.start,ji=Or.end,Ui=ji-qr,ka=Xt?ji:qr-1,Na=this.__iteratees__,Ya=Na.length,jo=0,Ko=Va(Ui,this.__takeCount__);if(!Ye||!Xt&&Vn==Ui&&Ko==Ui)return Sl(K,this.__actions__);var ss=[];e:for(;Ui--&&jo<Ko;){ka+=de;for(var xs=-1,ls=K[ka];++xs<Ya;){var Fs=Na[xs],$s=Fs.iteratee,sc=Fs.type,Uu=$s(ls);if(sc==q)ls=Uu;else if(!Uu){if(sc==ye)continue e;break e}}ss[jo++]=ls}return ss}vs.prototype=Al(gu.prototype),vs.prototype.constructor=vs;function F(K){var de=-1,Ye=K==null?0:K.length;for(this.clear();++de<Ye;){var Xt=K[de];this.set(Xt[0],Xt[1])}}function U(){this.__data__=rl?rl(null):{},this.size=0}function s(K){var de=this.has(K)&&delete this.__data__[K];return this.size-=de?1:0,de}function N(K){var de=this.__data__;if(rl){var Ye=de[K];return Ye===m?f:Ye}return Mo.call(de,K)?de[K]:f}function Q(K){var de=this.__data__;return rl?de[K]!==f:Mo.call(de,K)}function xe(K,de){var Ye=this.__data__;return this.size+=this.has(K)?0:1,Ye[K]=rl&&de===f?m:de,this}F.prototype.clear=U,F.prototype.delete=s,F.prototype.get=N,F.prototype.has=Q,F.prototype.set=xe;function Je(K){var de=-1,Ye=K==null?0:K.length;for(this.clear();++de<Ye;){var Xt=K[de];this.set(Xt[0],Xt[1])}}function Ge(){this.__data__=[],this.size=0}function qt(K){var de=this.__data__,Ye=ys(de,K);if(Ye<0)return!1;var Xt=de.length-1;return Ye==Xt?de.pop():Nn.call(de,Ye,1),--this.size,!0}function fn(K){var de=this.__data__,Ye=ys(de,K);return Ye<0?f:de[Ye][1]}function Wn(K){return ys(this.__data__,K)>-1}function Yt(K,de){var Ye=this.__data__,Xt=ys(Ye,K);return Xt<0?(++this.size,Ye.push([K,de])):Ye[Xt][1]=de,this}Je.prototype.clear=Ge,Je.prototype.delete=qt,Je.prototype.get=fn,Je.prototype.has=Wn,Je.prototype.set=Yt;function Yn(K){var de=-1,Ye=K==null?0:K.length;for(this.clear();++de<Ye;){var Xt=K[de];this.set(Xt[0],Xt[1])}}function hr(){this.size=0,this.__data__={hash:new F,map:new(rs||Je),string:new F}}function Wr(K){var de=Lu(this,K).delete(K);return this.size-=de?1:0,de}function $r(K){return Lu(this,K).get(K)}function wi(K){return Lu(this,K).has(K)}function fi(K,de){var Ye=Lu(this,K),Xt=Ye.size;return Ye.set(K,de),this.size+=Ye.size==Xt?0:1,this}Yn.prototype.clear=hr,Yn.prototype.delete=Wr,Yn.prototype.get=$r,Yn.prototype.has=wi,Yn.prototype.set=fi;function Vi(K){var de=-1,Ye=K==null?0:K.length;for(this.__data__=new Yn;++de<Ye;)this.add(K[de])}function da(K){return this.__data__.set(K,m),this}function ia(K){return this.__data__.has(K)}Vi.prototype.add=Vi.prototype.push=da,Vi.prototype.has=ia;function ma(K){var de=this.__data__=new Je(K);this.size=de.size}function Ea(){this.__data__=new Je,this.size=0}function Qa(K){var de=this.__data__,Ye=de.delete(K);return this.size=de.size,Ye}function eo(K){return this.__data__.get(K)}function lo(K){return this.__data__.has(K)}function ho(K,de){var Ye=this.__data__;if(Ye instanceof Je){var Xt=Ye.__data__;if(!rs||Xt.length<i-1)return Xt.push([K,de]),this.size=++Ye.size,this;Ye=this.__data__=new Yn(Xt)}return Ye.set(K,de),this.size=Ye.size,this}ma.prototype.clear=Ea,ma.prototype.delete=Qa,ma.prototype.get=eo,ma.prototype.has=lo,ma.prototype.set=ho;function Eo(K,de){var Ye=Ds(K),Xt=!Ye&&Od(K),Vn=!Ye&&!Xt&&sd(K),Or=!Ye&&!Xt&&!Vn&&Rd(K),qr=Ye||Xt||Vn||Or,ji=qr?Ar(K.length,mo):[],Ui=ji.length;for(var ka in K)(de||Mo.call(K,ka))&&!(qr&&(ka=="length"||Vn&&(ka=="offset"||ka=="parent")||Or&&(ka=="buffer"||ka=="byteLength"||ka=="byteOffset")||rc(ka,Ui)))&&ji.push(ka);return ji}function Uo(K){var de=K.length;return de?K[to(0,de-1)]:f}function us(K,de){return Qc(Hl(K),hl(de,0,K.length))}function ns(K){return Qc(Hl(K))}function is(K,de,Ye){(Ye!==f&&!wc(K[de],Ye)||Ye===f&&!(de in K))&&Ws(K,de,Ye)}function Es(K,de,Ye){var Xt=K[de];(!(Mo.call(K,de)&&wc(Xt,Ye))||Ye===f&&!(de in K))&&Ws(K,de,Ye)}function ys(K,de){for(var Ye=K.length;Ye--;)if(wc(K[Ye][0],de))return Ye;return-1}function il(K,de,Ye,Xt){return Fl(K,function(Vn,Or,qr){de(Xt,Vn,Ye(Vn),qr)}),Xt}function Ns(K,de){return K&&el(de,vu(de),K)}function Ol(K,de){return K&&el(de,Gu(de),K)}function Ws(K,de,Ye){de=="__proto__"&&Cr?Cr(K,de,{configurable:!0,enumerable:!0,value:Ye,writable:!0}):K[de]=Ye}function Yl(K,de){for(var Ye=-1,Xt=de.length,Vn=Ur(Xt),Or=K==null;++Ye<Xt;)Vn[Ye]=Or?f:nf(K,de[Ye]);return Vn}function hl(K,de,Ye){return K===K&&(Ye!==f&&(K=K<=Ye?K:Ye),de!==f&&(K=K>=de?K:de)),K}function Xs(K,de,Ye,Xt,Vn,Or){var qr,ji=de&l,Ui=de&p,ka=de&w;if(Ye&&(qr=Vn?Ye(K,Xt,Vn,Or):Ye(K)),qr!==f)return qr;if(!Ul(K))return K;var Na=Ds(K);if(Na){if(qr=Nd(K),!ji)return Hl(K,qr)}else{var Ya=Vo(K),jo=Ya==ae||Ya==Se;if(sd(K))return Hs(K,ji);if(Ya==fe||Ya==R||jo&&!Vn){if(qr=Ui||jo?{}:Ed(K),!ji)return Ui?al(K,Ol(qr,K)):lu(K,Ns(qr,K))}else{if(!Ci[Ya])return Vn?K:{};qr=Bu(K,Ya,ji)}}Or||(Or=new ma);var Ko=Or.get(K);if(Ko)return Ko;Or.set(K,qr),mf(K)?K.forEach(function(ls){qr.add(Xs(ls,de,Ye,ls,K,Or))}):vf(K)&&K.forEach(function(ls,Fs){qr.set(Fs,Xs(ls,de,Ye,Fs,K,Or))});var ss=ka?Ui?Eu:zu:Ui?Gu:vu,xs=Na?f:ss(K);return we(xs||K,function(ls,Fs){xs&&(Fs=ls,ls=K[Fs]),Es(qr,Fs,Xs(ls,de,Ye,Fs,K,Or))}),qr}function Kl(K){var de=vu(K);return function(Ye){return ul(Ye,K,de)}}function ul(K,de,Ye){var Xt=Ye.length;if(K==null)return!Xt;for(K=Ba(K);Xt--;){var Vn=Ye[Xt],Or=de[Vn],qr=K[Vn];if(qr===f&&!(Vn in K)||!Or(qr))return!1}return!0}function wu(K,de,Ye){if(typeof K!="function")throw new oo(n);return Gc(function(){K.apply(f,Ye)},de)}function kl(K,de,Ye,Xt){var Vn=-1,Or=Ke,qr=!0,ji=K.length,Ui=[],ka=de.length;if(!ji)return Ui;Ye&&(de=Ot(de,di(Ye))),Xt?(Or=We,qr=!1):de.length>=i&&(Or=yi,qr=!1,de=new Vi(de));e:for(;++Vn<ji;){var Na=K[Vn],Ya=Ye==null?Na:Ye(Na);if(Na=Xt||Na!==0?Na:0,qr&&Ya===Ya){for(var jo=ka;jo--;)if(de[jo]===Ya)continue e;Ui.push(Na)}else Or(de,Ya,Xt)||Ui.push(Na)}return Ui}var Fl=qu(El),mu=qu(Hu,!0);function Jl(K,de){var Ye=!0;return Fl(K,function(Xt,Vn,Or){return Ye=!!de(Xt,Vn,Or),Ye}),Ye}function pu(K,de,Ye){for(var Xt=-1,Vn=K.length;++Xt<Vn;){var Or=K[Xt],qr=de(Or);if(qr!=null&&(ji===f?qr===qr&&!oc(qr):Ye(qr,ji)))var ji=qr,Ui=Or}return Ui}function Ku(K,de,Ye,Xt){var Vn=K.length;for(Ye=_s(Ye),Ye<0&&(Ye=-Ye>Vn?0:Vn+Ye),Xt=Xt===f||Xt>Vn?Vn:_s(Xt),Xt<0&&(Xt+=Vn),Xt=Ye>Xt?0:yf(Xt);Ye<Xt;)K[Ye++]=de;return K}function uc(K,de){var Ye=[];return Fl(K,function(Xt,Vn,Or){de(Xt,Vn,Or)&&Ye.push(Xt)}),Ye}function Cl(K,de,Ye,Xt,Vn){var Or=-1,qr=K.length;for(Ye||(Ye=zc),Vn||(Vn=[]);++Or<qr;){var ji=K[Or];de>0&&Ye(ji)?de>1?Cl(ji,de-1,Ye,Xt,Vn):Vt(Vn,ji):Xt||(Vn[Vn.length]=ji)}return Vn}var Qu=Mc(),cc=Mc(!0);function El(K,de){return K&&Qu(K,de,vu)}function Hu(K,de){return K&&cc(K,de,vu)}function dc(K,de){return J(de,function(Ye){return qc(K[Ye])})}function ql(K,de){de=As(de,K);for(var Ye=0,Xt=de.length;K!=null&&Ye<Xt;)K=K[Su(de[Ye++])];return Ye&&Ye==Xt?K:f}function pc(K,de,Ye){var Xt=de(K);return Ds(K)?Xt:Vt(Xt,Ye(K))}function vl(K){return K==null?K===f?Re:ft:Jn&&Jn in Ba(K)?kc(K):Bd(K)}function Xu(K,de){return K>de}function Pu(K,de){return K!=null&&Mo.call(K,de)}function _u(K,de){return K!=null&&de in Ba(K)}function Uc(K,de,Ye){return K>=Va(de,Ye)&&K<qa(de,Ye)}function $e(K,de,Ye){for(var Xt=Ye?We:Ke,Vn=K[0].length,Or=K.length,qr=Or,ji=Ur(Or),Ui=Infinity,ka=[];qr--;){var Na=K[qr];qr&&de&&(Na=Ot(Na,di(de))),Ui=Va(Na.length,Ui),ji[qr]=!Ye&&(de||Vn>=120&&Na.length>=120)?new Vi(qr&&Na):f}Na=K[0];var Ya=-1,jo=ji[0];e:for(;++Ya<Vn&&ka.length<Ui;){var Ko=Na[Ya],ss=de?de(Ko):Ko;if(Ko=Ye||Ko!==0?Ko:0,!(jo?yi(jo,ss):Xt(ka,ss,Ye))){for(qr=Or;--qr;){var xs=ji[qr];if(!(xs?yi(xs,ss):Xt(K[qr],ss,Ye)))continue e}jo&&jo.push(ss),ka.push(Ko)}}return ka}function ot(K,de,Ye,Xt){return El(K,function(Vn,Or,qr){de(Xt,Ye(Vn),Or,qr)}),Xt}function _t(K,de,Ye){de=As(de,K),K=id(K,de);var Xt=K==null?K:K[Su(Ia(de))];return Xt==null?f:pt(Xt,K,Ye)}function dn(K){return Gl(K)&&vl(K)==R}function xn(K){return Gl(K)&&vl(K)==it}function Hn(K){return Gl(K)&&vl(K)==G}function er(K,de,Ye,Xt,Vn){return K===de?!0:K==null||de==null||!Gl(K)&&!Gl(de)?K!==K&&de!==de:Nr(K,de,Ye,Xt,er,Vn)}function Nr(K,de,Ye,Xt,Vn,Or){var qr=Ds(K),ji=Ds(de),Ui=qr?y:Vo(K),ka=ji?y:Vo(de);Ui=Ui==R?fe:Ui,ka=ka==R?fe:ka;var Na=Ui==fe,Ya=ka==fe,jo=Ui==ka;if(jo&&sd(K)){if(!sd(de))return!1;qr=!0,Na=!1}if(jo&&!Na)return Or||(Or=new ma),qr||Rd(K)?Is(K,de,Ye,Xt,Vn,Or):fs(K,de,Ui,Ye,Xt,Vn,Or);if(!(Ye&S)){var Ko=Na&&Mo.call(K,"__wrapped__"),ss=Ya&&Mo.call(de,"__wrapped__");if(Ko||ss){var xs=Ko?K.value():K,ls=ss?de.value():de;return Or||(Or=new ma),Vn(xs,ls,Ye,Xt,Or)}}return jo?(Or||(Or=new ma),Il(K,de,Ye,Xt,Vn,Or)):!1}function Zr(K){return Gl(K)&&Vo(K)==Te}function rt(K,de,Ye,Xt){var Vn=Ye.length,Or=Vn,qr=!Xt;if(K==null)return!Or;for(K=Ba(K);Vn--;){var ji=Ye[Vn];if(qr&&ji[2]?ji[1]!==K[ji[0]]:!(ji[0]in K))return!1}for(;++Vn<Or;){ji=Ye[Vn];var Ui=ji[0],ka=K[Ui],Na=ji[1];if(qr&&ji[2]){if(ka===f&&!(Ui in K))return!1}else{var Ya=new ma;if(Xt)var jo=Xt(ka,Na,Ui,K,de,Ya);if(!(jo===f?er(Na,ka,S|k,Xt,Ya):jo))return!1}}return!0}function Fe(K){if(!Ul(K)||Ad(K))return!1;var de=qc(K)?Wo:Kn;return de.test(ac(K))}function Et(K){return Gl(K)&&vl(K)==Ve}function at(K){return Gl(K)&&Vo(K)==Ee}function At(K){return Gl(K)&&Xd(K.length)&&!!hi[vl(K)]}function En(K){return typeof K=="function"?K:K==null?Yu:typeof K=="object"?Ds(K)?_i(K[0],K[1]):Hr(K):Lf(K)}function Gn(K){if(!Ac(K))return Co(K);var de=[];for(var Ye in Ba(K))Mo.call(K,Ye)&&Ye!="constructor"&&de.push(Ye);return de}function lr(K){if(!Ul(K))return Dd(K);var de=Ac(K),Ye=[];for(var Xt in K)Xt=="constructor"&&(de||!Mo.call(K,Xt))||Ye.push(Xt);return Ye}function pr(K,de){return K<de}function Gr(K,de){var Ye=-1,Xt=$u(K)?Ur(K.length):[];return Fl(K,function(Vn,Or,qr){Xt[++Ye]=de(Vn,Or,qr)}),Xt}function Hr(K){var de=gl(K);return de.length==1&&de[0][2]?ud(de[0][0],de[0][1]):function(Ye){return Ye===K||rt(Ye,K,de)}}function _i(K,de){return ic(K)&&Fc(de)?ud(Su(K),de):function(Ye){var Xt=nf(Ye,K);return Xt===f&&Xt===de?rf(Ye,K):er(de,Xt,S|k)}}function Gi(K,de,Ye,Xt,Vn){K!==de&&Qu(de,function(Or,qr){if(Vn||(Vn=new ma),Ul(Or))Dt(K,de,qr,Ye,Gi,Xt,Vn);else{var ji=Xt?Xt(dd(K,qr),Or,qr+"",K,de,Vn):f;ji===f&&(ji=Or),is(K,qr,ji)}},Gu)}function Dt(K,de,Ye,Xt,Vn,Or,qr){var ji=dd(K,Ye),Ui=dd(de,Ye),ka=qr.get(Ui);if(ka){is(K,Ye,ka);return}var Na=Or?Or(ji,Ui,Ye+"",K,de,qr):f,Ya=Na===f;if(Ya){var jo=Ds(Ui),Ko=!jo&&sd(Ui),ss=!jo&&!Ko&&Rd(Ui);Na=Ui,jo||Ko||ss?Ds(ji)?Na=ji:Xl(ji)?Na=Hl(ji):Ko?(Ya=!1,Na=Hs(Ui,!0)):ss?(Ya=!1,Na=Ju(Ui,!0)):Na=[]:Yd(Ui)||Od(Ui)?(Na=ji,Od(ji)?Na=bf(ji):(!Ul(ji)||qc(ji))&&(Na=Ed(Ui))):Ya=!1}Ya&&(qr.set(Ui,Na),Vn(Na,Ui,Xt,Or,qr),qr.delete(Ui)),is(K,Ye,Na)}function ta(K,de){var Ye=K.length;if(!!Ye)return de+=de<0?Ye:0,rc(de,Ye)?K[de]:f}function Ji(K,de,Ye){de.length?de=Ot(de,function(Or){return Ds(Or)?function(qr){return ql(qr,Or.length===1?Or[0]:Or)}:Or}):de=[Yu];var Xt=-1;de=Ot(de,di(Fo()));var Vn=Gr(K,function(Or,qr,ji){var Ui=Ot(de,function(ka){return ka(Or)});return{criteria:Ui,index:++Xt,value:Or}});return Pr(Vn,function(Or,qr){return Ru(Or,qr,Ye)})}function la(K,de){return Aa(K,de,function(Ye,Xt){return rf(K,Xt)})}function Aa(K,de,Ye){for(var Xt=-1,Vn=de.length,Or={};++Xt<Vn;){var qr=de[Xt],ji=ql(K,qr);Ye(ji,qr)&&so(Or,As(qr,K),ji)}return Or}function ja(K){return function(de){return ql(de,K)}}function Ta(K,de,Ye,Xt){var Vn=Xt?Qe:Qr,Or=-1,qr=de.length,ji=K;for(K===de&&(de=Hl(de)),Ye&&(ji=Ot(K,di(Ye)));++Or<qr;)for(var Ui=0,ka=de[Or],Na=Ye?Ye(ka):ka;(Ui=Vn(ji,Na,Ui,Xt))>-1;)ji!==K&&Nn.call(ji,Ui,1),Nn.call(K,Ui,1);return K}function io(K,de){for(var Ye=K?de.length:0,Xt=Ye-1;Ye--;){var Vn=de[Ye];if(Ye==Xt||Vn!==Or){var Or=Vn;rc(Vn)?Nn.call(K,Vn,1):Gs(K,Vn)}}return K}function to(K,de){return K+Fi(Ao()*(de-K+1))}function vo(K,de,Ye,Xt){for(var Vn=-1,Or=qa(pi((de-K)/(Ye||1)),0),qr=Ur(Or);Or--;)qr[Xt?Or:++Vn]=K,K+=Ye;return qr}function go(K,de){var Ye="";if(!K||de<1||de>ue)return Ye;do de%2&&(Ye+=K),de=Fi(de/2),de&&(K+=K);while(de);return Ye}function Sa(K,de){return fd(wd(K,de,Yu),K+"")}function xo(K){return Uo(kd(K))}function So(K,de){var Ye=kd(K);return Qc(Ye,hl(de,0,Ye.length))}function so(K,de,Ye,Xt){if(!Ul(K))return K;de=As(de,K);for(var Vn=-1,Or=de.length,qr=Or-1,ji=K;ji!=null&&++Vn<Or;){var Ui=Su(de[Vn]),ka=Ye;if(Ui==="__proto__"||Ui==="constructor"||Ui==="prototype")return K;if(Vn!=qr){var Na=ji[Ui];ka=Xt?Xt(Na,Ui,ji):f,ka===f&&(ka=Ul(Na)?Na:rc(de[Vn+1])?[]:{})}Es(ji,Ui,ka),ji=ji[Ui]}return K}var To=Rl?function(K,de){return Rl.set(K,de),K}:Yu,Ho=Cr?function(K,de){return Cr(K,"toString",{configurable:!0,enumerable:!1,value:of(de),writable:!0})}:Yu;function uo(K){return Qc(kd(K))}function $o(K,de,Ye){var Xt=-1,Vn=K.length;de<0&&(de=-de>Vn?0:Vn+de),Ye=Ye>Vn?Vn:Ye,Ye<0&&(Ye+=Vn),Vn=de>Ye?0:Ye-de>>>0,de>>>=0;for(var Or=Ur(Vn);++Xt<Vn;)Or[Xt]=K[Xt+de];return Or}function Us(K,de){var Ye;return Fl(K,function(Xt,Vn,Or){return Ye=de(Xt,Vn,Or),!Ye}),!!Ye}function Go(K,de,Ye){var Xt=0,Vn=K==null?Xt:K.length;if(typeof de=="number"&&de===de&&Vn<=ee){for(;Xt<Vn;){var Or=Xt+Vn>>>1,qr=K[Or];qr!==null&&!oc(qr)&&(Ye?qr<=de:qr<de)?Xt=Or+1:Vn=Or}return Vn}return Qo(K,de,Yu,Ye)}function Qo(K,de,Ye,Xt){var Vn=0,Or=K==null?0:K.length;if(Or===0)return 0;de=Ye(de);for(var qr=de!==de,ji=de===null,Ui=oc(de),ka=de===f;Vn<Or;){var Na=Fi((Vn+Or)/2),Ya=Ye(K[Na]),jo=Ya!==f,Ko=Ya===null,ss=Ya===Ya,xs=oc(Ya);if(qr)var ls=Xt||ss;else ka?ls=ss&&(Xt||jo):ji?ls=ss&&jo&&(Xt||!Ko):Ui?ls=ss&&jo&&!Ko&&(Xt||!xs):Ko||xs?ls=!1:ls=Xt?Ya<=de:Ya<de;ls?Vn=Na+1:Or=Na}return Va(Or,Z)}function cs(K,de){for(var Ye=-1,Xt=K.length,Vn=0,Or=[];++Ye<Xt;){var qr=K[Ye],ji=de?de(qr):qr;if(!Ye||!wc(ji,Ui)){var Ui=ji;Or[Vn++]=qr===0?0:qr}}return Or}function Ss(K){return typeof K=="number"?K:oc(K)?se:+K}function ps(K){if(typeof K=="string")return K;if(Ds(K))return Ot(K,ps)+"";if(oc(K))return fl?fl.call(K):"";var de=K+"";return de=="0"&&1/K==-he?"-0":de}function Ks(K,de,Ye){var Xt=-1,Vn=Ke,Or=K.length,qr=!0,ji=[],Ui=ji;if(Ye)qr=!1,Vn=We;else if(Or>=i){var ka=de?null:Oc(K);if(ka)return ra(ka);qr=!1,Vn=yi,Ui=new Vi}else Ui=de?[]:ji;e:for(;++Xt<Or;){var Na=K[Xt],Ya=de?de(Na):Na;if(Na=Ye||Na!==0?Na:0,qr&&Ya===Ya){for(var jo=Ui.length;jo--;)if(Ui[jo]===Ya)continue e;de&&Ui.push(Ya),ji.push(Na)}else Vn(Ui,Ya,Ye)||(Ui!==ji&&Ui.push(Ya),ji.push(Na))}return ji}function Gs(K,de){return de=As(de,K),K=id(K,de),K==null||delete K[Su(Ia(de))]}function Ms(K,de,Ye,Xt){return so(K,de,Ye(ql(K,de)),Xt)}function Zs(K,de,Ye,Xt){for(var Vn=K.length,Or=Xt?Vn:-1;(Xt?Or--:++Or<Vn)&&de(K[Or],Or,K););return Ye?$o(K,Xt?0:Or,Xt?Or+1:Vn):$o(K,Xt?Or+1:0,Xt?Vn:Or)}function Sl(K,de){var Ye=K;return Ye instanceof vs&&(Ye=Ye.value()),$t(de,function(Xt,Vn){return Vn.func.apply(Vn.thisArg,Vt([Xt],Vn.args))},Ye)}function bo(K,de,Ye){var Xt=K.length;if(Xt<2)return Xt?Ks(K[0]):[];for(var Vn=-1,Or=Ur(Xt);++Vn<Xt;)for(var qr=K[Vn],ji=-1;++ji<Xt;)ji!=Vn&&(Or[Vn]=kl(Or[Vn]||qr,K[ji],de,Ye));return Ks(Cl(Or,1),de,Ye)}function ol(K,de,Ye){for(var Xt=-1,Vn=K.length,Or=de.length,qr={};++Xt<Vn;){var ji=Xt<Or?de[Xt]:f;Ye(qr,K[Xt],ji)}return qr}function Js(K){return Xl(K)?K:[]}function su(K){return typeof K=="function"?K:Yu}function As(K,de){return Ds(K)?K:ic(K,de)?[K]:Xc(sl(K))}var qs=Sa;function jl(K,de,Ye){var Xt=K.length;return Ye=Ye===f?Xt:Ye,!de&&Ye>=Xt?K:$o(K,de,Ye)}var Ml=Kr||function(K){return Qi.clearTimeout(K)};function Hs(K,de){if(de)return K.slice();var Ye=K.length,Xt=Oe?Oe(Ye):new K.constructor(Ye);return K.copy(Xt),Xt}function Nl(K){var de=new K.constructor(K.byteLength);return new B(de).set(new B(K)),de}function eu(K,de){var Ye=de?Nl(K.buffer):K.buffer;return new K.constructor(Ye,K.byteOffset,K.byteLength)}function Zu(K){var de=new K.constructor(K.source,Pt.exec(K));return de.lastIndex=K.lastIndex,de}function Tu(K){return po?Ba(po.call(K)):{}}function Ju(K,de){var Ye=de?Nl(K.buffer):K.buffer;return new K.constructor(Ye,K.byteOffset,K.length)}function Iu(K,de){if(K!==de){var Ye=K!==f,Xt=K===null,Vn=K===K,Or=oc(K),qr=de!==f,ji=de===null,Ui=de===de,ka=oc(de);if(!ji&&!ka&&!Or&&K>de||Or&&qr&&Ui&&!ji&&!ka||Xt&&qr&&Ui||!Ye&&Ui||!Vn)return 1;if(!Xt&&!Or&&!ka&&K<de||ka&&Ye&&Vn&&!Xt&&!Or||ji&&Ye&&Vn||!qr&&Vn||!Ui)return-1}return 0}function Ru(K,de,Ye){for(var Xt=-1,Vn=K.criteria,Or=de.criteria,qr=Vn.length,ji=Ye.length;++Xt<qr;){var Ui=Iu(Vn[Xt],Or[Xt]);if(Ui){if(Xt>=ji)return Ui;var ka=Ye[Xt];return Ui*(ka=="desc"?-1:1)}}return K.index-de.index}function yu(K,de,Ye,Xt){for(var Vn=-1,Or=K.length,qr=Ye.length,ji=-1,Ui=de.length,ka=qa(Or-qr,0),Na=Ur(Ui+ka),Ya=!Xt;++ji<Ui;)Na[ji]=de[ji];for(;++Vn<qr;)(Ya||Vn<Or)&&(Na[Ye[Vn]]=K[Vn]);for(;ka--;)Na[ji++]=K[Vn++];return Na}function bu(K,de,Ye,Xt){for(var Vn=-1,Or=K.length,qr=-1,ji=Ye.length,Ui=-1,ka=de.length,Na=qa(Or-ji,0),Ya=Ur(Na+ka),jo=!Xt;++Vn<Na;)Ya[Vn]=K[Vn];for(var Ko=Vn;++Ui<ka;)Ya[Ko+Ui]=de[Ui];for(;++qr<ji;)(jo||Vn<Or)&&(Ya[Ko+Ye[qr]]=K[Vn++]);return Ya}function Hl(K,de){var Ye=-1,Xt=K.length;for(de||(de=Ur(Xt));++Ye<Xt;)de[Ye]=K[Ye];return de}function el(K,de,Ye,Xt){var Vn=!Ye;Ye||(Ye={});for(var Or=-1,qr=de.length;++Or<qr;){var ji=de[Or],Ui=Xt?Xt(Ye[ji],K[ji],ji,Ye,K):f;Ui===f&&(Ui=K[ji]),Vn?Ws(Ye,ji,Ui):Es(Ye,ji,Ui)}return Ye}function lu(K,de){return el(K,Nc(K),de)}function al(K,de){return el(K,ld(K),de)}function ku(K,de){return function(Ye,Xt){var Vn=Ds(Ye)?ke:il,Or=de?de():{};return Vn(Ye,K,Fo(Xt,2),Or)}}function js(K){return Sa(function(de,Ye){var Xt=-1,Vn=Ye.length,Or=Vn>1?Ye[Vn-1]:f,qr=Vn>2?Ye[2]:f;for(Or=K.length>3&&typeof Or=="function"?(Vn--,Or):f,qr&&ru(Ye[0],Ye[1],qr)&&(Or=Vn<3?f:Or,Vn=1),de=Ba(de);++Xt<Vn;){var ji=Ye[Xt];ji&&K(de,ji,Xt,Or)}return de})}function qu(K,de){return function(Ye,Xt){if(Ye==null)return Ye;if(!$u(Ye))return K(Ye,Xt);for(var Vn=Ye.length,Or=de?Vn:-1,qr=Ba(Ye);(de?Or--:++Or<Vn)&&Xt(qr[Or],Or,qr)!==!1;);return Ye}}function Mc(K){return function(de,Ye,Xt){for(var Vn=-1,Or=Ba(de),qr=Xt(de),ji=qr.length;ji--;){var Ui=qr[K?ji:++Vn];if(Ye(Or[Ui],Ui,Or)===!1)break}return de}}function fc(K,de,Ye){var Xt=de&T,Vn=nc(K);function Or(){var qr=this&&this!==Qi&&this instanceof Or?Vn:K;return qr.apply(Xt?Ye:this,arguments)}return Or}function ec(K){return function(de){de=sl(de);var Ye=Ri(de)?no(de):f,Xt=Ye?Ye[0]:de.charAt(0),Vn=Ye?jl(Ye,1).join(""):de.slice(1);return Xt[K]()+Vn}}function tc(K){return function(de){return $t(_f(wf(de).replace(dr,"")),K,"")}}function nc(K){return function(){var de=arguments;switch(de.length){case 0:return new K;case 1:return new K(de[0]);case 2:return new K(de[0],de[1]);case 3:return new K(de[0],de[1],de[2]);case 4:return new K(de[0],de[1],de[2],de[3]);case 5:return new K(de[0],de[1],de[2],de[3],de[4]);case 6:return new K(de[0],de[1],de[2],de[3],de[4],de[5]);case 7:return new K(de[0],de[1],de[2],de[3],de[4],de[5],de[6])}var Ye=Al(K.prototype),Xt=K.apply(Ye,de);return Ul(Xt)?Xt:Ye}}function yc(K,de,Ye){var Xt=nc(K);function Vn(){for(var Or=arguments.length,qr=Ur(Or),ji=Or,Ui=cu(Vn);ji--;)qr[ji]=arguments[ji];var ka=Or<3&&qr[0]!==Ui&&qr[Or-1]!==Ui?[]:Do(qr,Ui);if(Or-=ka.length,Or<Ye)return Ic(K,de,bc,Vn.placeholder,f,qr,ka,f,f,Ye-Or);var Na=this&&this!==Qi&&this instanceof Vn?Xt:K;return pt(Na,this,qr)}return Vn}function Lc(K){return function(de,Ye,Xt){var Vn=Ba(de);if(!$u(de)){var Or=Fo(Ye,3);de=vu(de),Ye=function(ji){return Or(Vn[ji],ji,Vn)}}var qr=K(de,Ye,Xt);return qr>-1?Vn[Or?de[qr]:qr]:f}}function Vc(K){return Ts(function(de){var Ye=de.length,Xt=Ye,Vn=Vl.prototype.thru;for(K&&de.reverse();Xt--;){var Or=de[Xt];if(typeof Or!="function")throw new oo(n);if(Vn&&!qr&&Fu(Or)=="wrapper")var qr=new Vl([],!0)}for(Xt=qr?Xt:Ye;++Xt<Ye;){Or=de[Xt];var ji=Fu(Or),Ui=ji=="wrapper"?uu(Or):f;Ui&&$c(Ui[0])&&Ui[1]==(d|$|g|O)&&!Ui[4].length&&Ui[9]==1?qr=qr[Fu(Ui[0])].apply(qr,Ui[3]):qr=Or.length==1&&$c(Or)?qr[ji]():qr.thru(Or)}return function(){var ka=arguments,Na=ka[0];if(qr&&ka.length==1&&Ds(Na))return qr.plant(Na).value();for(var Ya=0,jo=Ye?de[Ya].apply(this,ka):Na;++Ya<Ye;)jo=de[Ya].call(this,jo);return jo}})}function bc(K,de,Ye,Xt,Vn,Or,qr,ji,Ui,ka){var Na=de&d,Ya=de&T,jo=de&I,Ko=de&($|A),ss=de&E,xs=jo?f:nc(K);function ls(){for(var Fs=arguments.length,$s=Ur(Fs),sc=Fs;sc--;)$s[sc]=arguments[sc];if(Ko)var Uu=cu(ls),lc=si($s,Uu);if(Xt&&($s=yu($s,Xt,Vn,Ko)),Or&&($s=bu($s,Or,qr,Ko)),Fs-=lc,Ko&&Fs<ka){var Zl=Do($s,Uu);return Ic(K,de,bc,ls.placeholder,Ye,$s,Zl,ji,Ui,ka-Fs)}var _c=Ya?Ye:this,td=jo?_c[K]:K;return Fs=$s.length,ji?$s=Wd($s,ji):ss&&Fs>1&&$s.reverse(),Na&&Ui<Fs&&($s.length=Ui),this&&this!==Qi&&this instanceof ls&&(td=xs||nc(td)),td.apply(_c,$s)}return ls}function xc(K,de){return function(Ye,Xt){return ot(Ye,K,de(Xt),{})}}function Nu(K,de){return function(Ye,Xt){var Vn;if(Ye===f&&Xt===f)return de;if(Ye!==f&&(Vn=Ye),Xt!==f){if(Vn===f)return Xt;typeof Ye=="string"||typeof Xt=="string"?(Ye=ps(Ye),Xt=ps(Xt)):(Ye=Ss(Ye),Xt=Ss(Xt)),Vn=K(Ye,Xt)}return Vn}}function Pc(K){return Ts(function(de){return de=Ot(de,di(Fo())),Sa(function(Ye){var Xt=this;return K(de,function(Vn){return pt(Vn,Xt,Ye)})})})}function Tc(K,de){de=de===f?" ":ps(de);var Ye=de.length;if(Ye<2)return Ye?go(de,K):de;var Xt=go(de,pi(K/Ca(de)));return Ri(de)?jl(no(Xt),0,K).join(""):Xt.slice(0,K)}function Kc(K,de,Ye,Xt){var Vn=de&T,Or=nc(K);function qr(){for(var ji=-1,Ui=arguments.length,ka=-1,Na=Xt.length,Ya=Ur(Na+Ui),jo=this&&this!==Qi&&this instanceof qr?Or:K;++ka<Na;)Ya[ka]=Xt[ka];for(;Ui--;)Ya[ka++]=arguments[++ji];return pt(jo,Vn?Ye:this,Ya)}return qr}function Hc(K){return function(de,Ye,Xt){return Xt&&typeof Xt!="number"&&ru(de,Ye,Xt)&&(Ye=Xt=f),de=ed(de),Ye===f?(Ye=de,de=0):Ye=ed(Ye),Xt=Xt===f?de<Ye?1:-1:ed(Xt),vo(de,Ye,Xt,K)}}function Ou(K){return function(de,Ye){return typeof de=="string"&&typeof Ye=="string"||(de=mc(de),Ye=mc(Ye)),K(de,Ye)}}function Ic(K,de,Ye,Xt,Vn,Or,qr,ji,Ui,ka){var Na=de&$,Ya=Na?qr:f,jo=Na?f:qr,Ko=Na?Or:f,ss=Na?f:Or;de|=Na?g:b,de&=~(Na?b:g),de&Y||(de&=~(T|I));var xs=[K,de,Vn,Ko,Ya,ss,jo,ji,Ui,ka],ls=Ye.apply(f,xs);return $c(K)&&_d(ls,xs),ls.placeholder=Xt,Yc(ls,K,de)}function Cu(K){var de=$a[K];return function(Ye,Xt){if(Ye=mc(Ye),Xt=Xt==null?0:Va(_s(Xt),292),Xt&&wa(Ye)){var Vn=(sl(Ye)+"e").split("e"),Or=de(Vn[0]+"e"+(+Vn[1]+Xt));return Vn=(sl(Or)+"e").split("e"),+(Vn[0]+"e"+(+Vn[1]-Xt))}return de(Ye)}}var Oc=ms&&1/ra(new ms([,-0]))[1]==he?function(K){return new ms(K)}:uf;function Bl(K){return function(de){var Ye=Vo(de);return Ye==Te?Za(de):Ye==Ee?ya(de):vi(de,K(de))}}function Mu(K,de,Ye,Xt,Vn,Or,qr,ji){var Ui=de&I;if(!Ui&&typeof K!="function")throw new oo(n);var ka=Xt?Xt.length:0;if(ka||(de&=~(g|b),Xt=Vn=f),qr=qr===f?qr:qa(_s(qr),0),ji=ji===f?ji:_s(ji),ka-=Vn?Vn.length:0,de&b){var Na=Xt,Ya=Vn;Xt=Vn=f}var jo=Ui?f:uu(K),Ko=[K,de,Ye,Xt,Vn,Na,Ya,Or,qr,ji];if(jo&&Fd(Ko,jo),K=Ko[0],de=Ko[1],Ye=Ko[2],Xt=Ko[3],Vn=Ko[4],ji=Ko[9]=Ko[9]===f?Ui?0:K.length:qa(Ko[9]-ka,0),!ji&&de&($|A)&&(de&=~($|A)),!de||de==T)var ss=fc(K,de,Ye);else de==$||de==A?ss=yc(K,de,ji):(de==g||de==(T|g))&&!Vn.length?ss=Kc(K,de,Ye,Xt):ss=bc.apply(f,Ko);var xs=jo?To:_d;return Yc(xs(ss,Ko),K,de)}function Au(K,de,Ye,Xt){return K===f||wc(K,ts[Ye])&&!Mo.call(Xt,Ye)?de:K}function Rc(K,de,Ye,Xt,Vn,Or){return Ul(K)&&Ul(de)&&(Or.set(de,K),Gi(K,de,f,Rc,Or),Or.delete(de)),K}function cl(K){return Yd(K)?f:K}function Is(K,de,Ye,Xt,Vn,Or){var qr=Ye&S,ji=K.length,Ui=de.length;if(ji!=Ui&&!(qr&&Ui>ji))return!1;var ka=Or.get(K),Na=Or.get(de);if(ka&&Na)return ka==de&&Na==K;var Ya=-1,jo=!0,Ko=Ye&k?new Vi:f;for(Or.set(K,de),Or.set(de,K);++Ya<ji;){var ss=K[Ya],xs=de[Ya];if(Xt)var ls=qr?Xt(xs,ss,Ya,de,K,Or):Xt(ss,xs,Ya,K,de,Or);if(ls!==f){if(ls)continue;jo=!1;break}if(Ko){if(!hn(de,function(Fs,$s){if(!yi(Ko,$s)&&(ss===Fs||Vn(ss,Fs,Ye,Xt,Or)))return Ko.push($s)})){jo=!1;break}}else if(!(ss===xs||Vn(ss,xs,Ye,Xt,Or))){jo=!1;break}}return Or.delete(K),Or.delete(de),jo}function fs(K,de,Ye,Xt,Vn,Or,qr){switch(Ye){case bt:if(K.byteLength!=de.byteLength||K.byteOffset!=de.byteOffset)return!1;K=K.buffer,de=de.buffer;case it:return!(K.byteLength!=de.byteLength||!Or(new B(K),new B(de)));case z:case G:case je:return wc(+K,+de);case pe:return K.name==de.name&&K.message==de.message;case Ve:case Me:return K==de+"";case Te:var ji=Za;case Ee:var Ui=Xt&S;if(ji||(ji=ra),K.size!=de.size&&!Ui)return!1;var ka=qr.get(K);if(ka)return ka==de;Xt|=k,qr.set(K,de);var Na=Is(ji(K),ji(de),Xt,Vn,Or,qr);return qr.delete(K),Na;case _e:if(po)return po.call(K)==po.call(de)}return!1}function Il(K,de,Ye,Xt,Vn,Or){var qr=Ye&S,ji=zu(K),Ui=ji.length,ka=zu(de),Na=ka.length;if(Ui!=Na&&!qr)return!1;for(var Ya=Ui;Ya--;){var jo=ji[Ya];if(!(qr?jo in de:Mo.call(de,jo)))return!1}var Ko=Or.get(K),ss=Or.get(de);if(Ko&&ss)return Ko==de&&ss==K;var xs=!0;Or.set(K,de),Or.set(de,K);for(var ls=qr;++Ya<Ui;){jo=ji[Ya];var Fs=K[jo],$s=de[jo];if(Xt)var sc=qr?Xt($s,Fs,jo,de,K,Or):Xt(Fs,$s,jo,K,de,Or);if(!(sc===f?Fs===$s||Vn(Fs,$s,Ye,Xt,Or):sc)){xs=!1;break}ls||(ls=jo=="constructor")}if(xs&&!ls){var Uu=K.constructor,lc=de.constructor;Uu!=lc&&"constructor"in K&&"constructor"in de&&!(typeof Uu=="function"&&Uu instanceof Uu&&typeof lc=="function"&&lc instanceof lc)&&(xs=!1)}return Or.delete(K),Or.delete(de),xs}function Ts(K){return fd(wd(K,f,Mt),K+"")}function zu(K){return pc(K,vu,Nc)}function Eu(K){return pc(K,Gu,ld)}var uu=Rl?function(K){return Rl.get(K)}:uf;function Fu(K){for(var de=K.name+"",Ye=bl[de],Xt=Mo.call(bl,de)?Ye.length:0;Xt--;){var Vn=Ye[Xt],Or=Vn.func;if(Or==null||Or==K)return Vn.name}return de}function cu(K){var de=Mo.call(ir,"placeholder")?ir:K;return de.placeholder}function Fo(){var K=ir.iteratee||sf;return K=K===sf?En:K,arguments.length?K(arguments[0],arguments[1]):K}function Lu(K,de){var Ye=K.__data__;return Cc(de)?Ye[typeof de=="string"?"string":"hash"]:Ye.map}function gl(K){for(var de=vu(K),Ye=de.length;Ye--;){var Xt=de[Ye],Vn=K[Xt];de[Ye]=[Xt,Vn,Fc(Vn)]}return de}function du(K,de){var Ye=Wa(K,de);return Fe(Ye)?Ye:f}function kc(K){var de=Mo.call(K,Jn),Ye=K[Jn];try{K[Jn]=f;var Xt=!0}catch(Or){}var Vn=ks.call(K);return Xt&&(de?K[Jn]=Ye:delete K[Jn]),Vn}var Nc=ha?function(K){return K==null?[]:(K=Ba(K),J(ha(K),function(de){return Cn.call(K,de)}))}:cf,ld=ha?function(K){for(var de=[];K;)Vt(de,Nc(K)),K=St(K);return de}:cf,Vo=vl;(Jo&&Vo(new Jo(new ArrayBuffer(1)))!=bt||rs&&Vo(new rs)!=Te||Cs&&Vo(Cs.resolve())!=ie||ms&&Vo(new ms)!=Ee||Po&&Vo(new Po)!=et)&&(Vo=function(K){var de=vl(K),Ye=de==fe?K.constructor:f,Xt=Ye?ac(Ye):"";if(Xt)switch(Xt){case Tl:return bt;case ou:return Te;case Vu:return ie;case Du:return Ee;case qo:return et}return de});function Cd(K,de,Ye){for(var Xt=-1,Vn=Ye.length;++Xt<Vn;){var Or=Ye[Xt],qr=Or.size;switch(Or.type){case"drop":K+=qr;break;case"dropRight":de-=qr;break;case"take":de=Va(de,K+qr);break;case"takeRight":K=qa(K,de-qr);break}}return{start:K,end:de}}function nd(K){var de=K.match(vn);return de?de[1].split(dt):[]}function rd(K,de,Ye){de=As(de,K);for(var Xt=-1,Vn=de.length,Or=!1;++Xt<Vn;){var qr=Su(de[Xt]);if(!(Or=K!=null&&Ye(K,qr)))break;K=K[qr]}return Or||++Xt!=Vn?Or:(Vn=K==null?0:K.length,!!Vn&&Xd(Vn)&&rc(qr,Vn)&&(Ds(K)||Od(K)))}function Nd(K){var de=K.length,Ye=new K.constructor(de);return de&&typeof K[0]=="string"&&Mo.call(K,"index")&&(Ye.index=K.index,Ye.input=K.input),Ye}function Ed(K){return typeof K.constructor=="function"&&!Ac(K)?Al(St(K)):{}}function Bu(K,de,Ye){var Xt=K.constructor;switch(de){case it:return Nl(K);case z:case G:return new Xt(+K);case bt:return eu(K,Ye);case Ct:case Bt:case qe:case st:case ut:case nt:case kt:case Sn:case Tt:return Ju(K,Ye);case Te:return new Xt;case je:case Me:return new Xt(K);case Ve:return Zu(K);case Ee:return new Xt;case _e:return Tu(K)}}function Sd(K,de){var Ye=de.length;if(!Ye)return K;var Xt=Ye-1;return de[Xt]=(Ye>1?"& ":"")+de[Xt],de=de.join(Ye>2?", ":" "),K.replace(on,`{
- /* [wrapped with `+de+`] */
- `)}function zc(K){return Ds(K)||Od(K)||!!(Bn&&K&&K[Bn])}function rc(K,de){var Ye=typeof K;return de=de==null?ue:de,!!de&&(Ye=="number"||Ye!="symbol"&&rr.test(K))&&K>-1&&K%1==0&&K<de}function ru(K,de,Ye){if(!Ul(Ye))return!1;var Xt=typeof de;return(Xt=="number"?$u(Ye)&&rc(de,Ye.length):Xt=="string"&&de in Ye)?wc(Ye[de],K):!1}function ic(K,de){if(Ds(K))return!1;var Ye=typeof K;return Ye=="number"||Ye=="symbol"||Ye=="boolean"||K==null||oc(K)?!0:lt.test(K)||!Un.test(K)||de!=null&&K in Ba(de)}function Cc(K){var de=typeof K;return de=="string"||de=="number"||de=="symbol"||de=="boolean"?K!=="__proto__":K===null}function $c(K){var de=Fu(K),Ye=ir[de];if(typeof Ye!="function"||!(de in vs.prototype))return!1;if(K===Ye)return!0;var Xt=uu(Ye);return!!Xt&&K===Xt[0]}function Ad(K){return!!ll&&ll in K}var jd=Os?qc:df;function Ac(K){var de=K&&K.constructor,Ye=typeof de=="function"&&de.prototype||ts;return K===Ye}function Fc(K){return K===K&&!Ul(K)}function ud(K,de){return function(Ye){return Ye==null?!1:Ye[K]===de&&(de!==f||K in Ba(Ye))}}function cd(K){var de=hu(K,function(Xt){return Ye.size===h&&Ye.clear(),Xt}),Ye=de.cache;return de}function Fd(K,de){var Ye=K[1],Xt=de[1],Vn=Ye|Xt,Or=Vn<(T|I|d),qr=Xt==d&&Ye==$||Xt==d&&Ye==O&&K[7].length<=de[8]||Xt==(d|O)&&de[7].length<=de[8]&&Ye==$;if(!(Or||qr))return K;Xt&T&&(K[2]=de[2],Vn|=Ye&T?0:Y);var ji=de[3];if(ji){var Ui=K[3];K[3]=Ui?yu(Ui,ji,de[4]):ji,K[4]=Ui?Do(K[3],t):de[4]}return ji=de[5],ji&&(Ui=K[5],K[5]=Ui?bu(Ui,ji,de[6]):ji,K[6]=Ui?Do(K[5],t):de[6]),ji=de[7],ji&&(K[7]=ji),Xt&d&&(K[8]=K[8]==null?de[8]:Va(K[8],de[8])),K[9]==null&&(K[9]=de[9]),K[0]=de[0],K[1]=Vn,K}function Dd(K){var de=[];if(K!=null)for(var Ye in Ba(K))de.push(Ye);return de}function Bd(K){return ks.call(K)}function wd(K,de,Ye){return de=qa(de===f?K.length-1:de,0),function(){for(var Xt=arguments,Vn=-1,Or=qa(Xt.length-de,0),qr=Ur(Or);++Vn<Or;)qr[Vn]=Xt[de+Vn];Vn=-1;for(var ji=Ur(de+1);++Vn<de;)ji[Vn]=Xt[Vn];return ji[de]=Ye(qr),pt(K,this,ji)}}function id(K,de){return de.length<2?K:ql(K,$o(de,0,-1))}function Wd(K,de){for(var Ye=K.length,Xt=Va(de.length,Ye),Vn=Hl(K);Xt--;){var Or=de[Xt];K[Xt]=rc(Or,Ye)?Vn[Or]:f}return K}function dd(K,de){if(!(de==="constructor"&&typeof K[de]=="function")&&de!="__proto__")return K[de]}var _d=hd(To),Gc=Pi||function(K,de){return Qi.setTimeout(K,de)},fd=hd(Ho);function Yc(K,de,Ye){var Xt=de+"";return fd(K,Sd(Xt,Md(nd(Xt),Ye)))}function hd(K){var de=0,Ye=0;return function(){var Xt=pa(),Vn=re-(Xt-Ye);if(Ye=Xt,Vn>0){if(++de>=te)return arguments[0]}else de=0;return K.apply(f,arguments)}}function Qc(K,de){var Ye=-1,Xt=K.length,Vn=Xt-1;for(de=de===f?Xt:de;++Ye<de;){var Or=to(Ye,Vn),qr=K[Or];K[Or]=K[Ye],K[Ye]=qr}return K.length=de,K}var Xc=cd(function(K){var de=[];return K.charCodeAt(0)===46&&de.push(""),K.replace(Nt,function(Ye,Xt,Vn,Or){de.push(Vn?Or.replace(pn,"$1"):Xt||Ye)}),de});function Su(K){if(typeof K=="string"||oc(K))return K;var de=K+"";return de=="0"&&1/K==-he?"-0":de}function ac(K){if(K!=null){try{return Rs.call(K)}catch(de){}try{return K+""}catch(de){}}return""}function Md(K,de){return we(ce,function(Ye){var Xt="_."+Ye[0];de&Ye[1]&&!Ke(K,Xt)&&K.push(Xt)}),K.sort()}function Zc(K){if(K instanceof vs)return K.clone();var de=new Vl(K.__wrapped__,K.__chain__);return de.__actions__=Hl(K.__actions__),de.__index__=K.__index__,de.__values__=K.__values__,de}function vd(K,de,Ye){(Ye?ru(K,de,Ye):de===f)?de=1:de=qa(_s(de),0);var Xt=K==null?0:K.length;if(!Xt||de<1)return[];for(var Vn=0,Or=0,qr=Ur(pi(Xt/de));Vn<Xt;)qr[Or++]=$o(K,Vn,Vn+=de);return qr}function Ud(K){for(var de=-1,Ye=K==null?0:K.length,Xt=0,Vn=[];++de<Ye;){var Or=K[de];Or&&(Vn[Xt++]=Or)}return Vn}function Vd(){var K=arguments.length;if(!K)return[];for(var de=Ur(K-1),Ye=arguments[0],Xt=K;Xt--;)de[Xt-1]=arguments[Xt];return Vt(Ds(Ye)?Hl(Ye):[Ye],Cl(de,1))}var Kd=Sa(function(K,de){return Xl(K)?kl(K,Cl(de,1,Xl,!0)):[]}),Jc=Sa(function(K,de){var Ye=Ia(de);return Xl(Ye)&&(Ye=f),Xl(K)?kl(K,Cl(de,1,Xl,!0),Fo(Ye,2)):[]}),Ld=Sa(function(K,de){var Ye=Ia(de);return Xl(Ye)&&(Ye=f),Xl(K)?kl(K,Cl(de,1,Xl,!0),f,Ye):[]});function gd(K,de,Ye){var Xt=K==null?0:K.length;return Xt?(de=Ye||de===f?1:_s(de),$o(K,de<0?0:de,Xt)):[]}function Hd(K,de,Ye){var Xt=K==null?0:K.length;return Xt?(de=Ye||de===f?1:_s(de),de=Xt-de,$o(K,0,de<0?0:de)):[]}function xd(K,de){return K&&K.length?Zs(K,Fo(de,3),!0,!0):[]}function zd(K,de){return K&&K.length?Zs(K,Fo(de,3),!0):[]}function jt(K,de,Ye,Xt){var Vn=K==null?0:K.length;return Vn?(Ye&&typeof Ye!="number"&&ru(K,de,Ye)&&(Ye=0,Xt=Vn),Ku(K,de,Ye,Xt)):[]}function Ne(K,de,Ye){var Xt=K==null?0:K.length;if(!Xt)return-1;var Vn=Ye==null?0:_s(Ye);return Vn<0&&(Vn=qa(Xt+Vn,0)),Tr(K,Fo(de,3),Vn)}function vt(K,de,Ye){var Xt=K==null?0:K.length;if(!Xt)return-1;var Vn=Xt-1;return Ye!==f&&(Vn=_s(Ye),Vn=Ye<0?qa(Xt+Vn,0):Va(Vn,Xt-1)),Tr(K,Fo(de,3),Vn,!0)}function Mt(K){var de=K==null?0:K.length;return de?Cl(K,1):[]}function On(K){var de=K==null?0:K.length;return de?Cl(K,he):[]}function Fn(K,de){var Ye=K==null?0:K.length;return Ye?(de=de===f?1:_s(de),Cl(K,de)):[]}function Qn(K){for(var de=-1,Ye=K==null?0:K.length,Xt={};++de<Ye;){var Vn=K[de];Xt[Vn[0]]=Vn[1]}return Xt}function gr(K){return K&&K.length?K[0]:f}function Xr(K,de,Ye){var Xt=K==null?0:K.length;if(!Xt)return-1;var Vn=Ye==null?0:_s(Ye);return Vn<0&&(Vn=qa(Xt+Vn,0)),Qr(K,de,Vn)}function mi(K){var de=K==null?0:K.length;return de?$o(K,0,-1):[]}var qi=Sa(function(K){var de=Ot(K,Js);return de.length&&de[0]===K[0]?$e(de):[]}),Ka=Sa(function(K){var de=Ia(K),Ye=Ot(K,Js);return de===Ia(Ye)?de=f:Ye.pop(),Ye.length&&Ye[0]===K[0]?$e(Ye,Fo(de,2)):[]}),Xa=Sa(function(K){var de=Ia(K),Ye=Ot(K,Js);return de=typeof de=="function"?de:f,de&&Ye.pop(),Ye.length&&Ye[0]===K[0]?$e(Ye,f,de):[]});function Ni(K,de){return K==null?"":Lo.call(K,de)}function Ia(K){var de=K==null?0:K.length;return de?K[de-1]:f}function zo(K,de,Ye){var Xt=K==null?0:K.length;if(!Xt)return-1;var Vn=Xt;return Ye!==f&&(Vn=_s(Ye),Vn=Vn<0?qa(Xt+Vn,0):Va(Vn,Xt-1)),de===de?Fa(K,de,Vn):Tr(K,Jt,Vn,!0)}function Bo(K,de){return K&&K.length?ta(K,_s(de)):f}var Ys=Sa(iu);function iu(K,de){return K&&K.length&&de&&de.length?Ta(K,de):K}function ju(K,de,Ye){return K&&K.length&&de&&de.length?Ta(K,de,Fo(Ye,2)):K}function Vs(K,de,Ye){return K&&K.length&&de&&de.length?Ta(K,de,f,Ye):K}var ml=Ts(function(K,de){var Ye=K==null?0:K.length,Xt=Yl(K,de);return io(K,Ot(de,function(Vn){return rc(Vn,Ye)?+Vn:Vn}).sort(Iu)),Xt});function as(K,de){var Ye=[];if(!(K&&K.length))return Ye;var Xt=-1,Vn=[],Or=K.length;for(de=Fo(de,3);++Xt<Or;){var qr=K[Xt];de(qr,Xt,K)&&(Ye.push(qr),Vn.push(Xt))}return io(K,Vn),Ye}function hc(K){return K==null?K:ko.call(K)}function Dl(K,de,Ye){var Xt=K==null?0:K.length;return Xt?(Ye&&typeof Ye!="number"&&ru(K,de,Ye)?(de=0,Ye=Xt):(de=de==null?0:_s(de),Ye=Ye===f?Xt:_s(Ye)),$o(K,de,Ye)):[]}function Ll(K,de){return Go(K,de)}function wl(K,de,Ye){return Qo(K,de,Fo(Ye,2))}function Bc(K,de){var Ye=K==null?0:K.length;if(Ye){var Xt=Go(K,de);if(Xt<Ye&&wc(K[Xt],de))return Xt}return-1}function xu(K,de){return Go(K,de,!0)}function Ec(K,de,Ye){return Qo(K,de,Fo(Ye,2),!0)}function tl(K,de){var Ye=K==null?0:K.length;if(Ye){var Xt=Go(K,de,!0)-1;if(wc(K[Xt],de))return Xt}return-1}function vc(K){return K&&K.length?cs(K):[]}function gc(K,de){return K&&K.length?cs(K,Fo(de,2)):[]}function Wl(K){var de=K==null?0:K.length;return de?$o(K,1,de):[]}function Pd(K,de,Ye){return K&&K.length?(de=Ye||de===f?1:_s(de),$o(K,0,de<0?0:de)):[]}function Sc(K,de,Ye){var Xt=K==null?0:K.length;return Xt?(de=Ye||de===f?1:_s(de),de=Xt-de,$o(K,de<0?0:de,Xt)):[]}function md(K,de){return K&&K.length?Zs(K,Fo(de,3),!1,!0):[]}function Qs(K,de){return K&&K.length?Zs(K,Fo(de,3)):[]}var jc=Sa(function(K){return Ks(Cl(K,1,Xl,!0))}),Td=Sa(function(K){var de=Ia(K);return Xl(de)&&(de=f),Ks(Cl(K,1,Xl,!0),Fo(de,2))}),pd=Sa(function(K){var de=Ia(K);return de=typeof de=="function"?de:f,Ks(Cl(K,1,Xl,!0),f,de)});function $d(K){return K&&K.length?Ks(K):[]}function ad(K,de){return K&&K.length?Ks(K,Fo(de,2)):[]}function Gd(K,de){return de=typeof de=="function"?de:f,K&&K.length?Ks(K,f,de):[]}function od(K){if(!(K&&K.length))return[];var de=0;return K=J(K,function(Ye){if(Xl(Ye))return de=qa(Ye.length,de),!0}),Ar(de,function(Ye){return Ot(K,rn(Ye))})}function V(K,de){if(!(K&&K.length))return[];var Ye=od(K);return de==null?Ye:Ot(Ye,function(Xt){return pt(de,f,Xt)})}var De=Sa(function(K,de){return Xl(K)?kl(K,de):[]}),L=Sa(function(K){return bo(J(K,Xl))}),P=Sa(function(K){var de=Ia(K);return Xl(de)&&(de=f),bo(J(K,Xl),Fo(de,2))}),j=Sa(function(K){var de=Ia(K);return de=typeof de=="function"?de:f,bo(J(K,Xl),f,de)}),H=Sa(od);function Ce(K,de){return ol(K||[],de||[],Es)}function ze(K,de){return ol(K||[],de||[],so)}var yt=Sa(function(K){var de=K.length,Ye=de>1?K[de-1]:f;return Ye=typeof Ye=="function"?(K.pop(),Ye):f,V(K,Ye)});function Zt(K){var de=ir(K);return de.__chain__=!0,de}function Wt(K,de){return de(K),K}function yn(K,de){return de(K)}var tr=Ts(function(K){var de=K.length,Ye=de?K[0]:0,Xt=this.__wrapped__,Vn=function(Or){return Yl(Or,K)};return de>1||this.__actions__.length||!(Xt instanceof vs)||!rc(Ye)?this.thru(Vn):(Xt=Xt.slice(Ye,+Ye+(de?1:0)),Xt.__actions__.push({func:yn,args:[Vn],thisArg:f}),new Vl(Xt,this.__chain__).thru(function(Or){return de&&!Or.length&&Or.push(f),Or}))});function Er(){return Zt(this)}function ni(){return new Vl(this.value(),this.__chain__)}function Oi(){this.__values__===f&&(this.__values__=pf(this.value()));var K=this.__index__>=this.__values__.length,de=K?f:this.__values__[this.__index__++];return{done:K,value:de}}function oi(){return this}function ui(K){for(var de,Ye=this;Ye instanceof gu;){var Xt=Zc(Ye);Xt.__index__=0,Xt.__values__=f,de?Vn.__wrapped__=Xt:de=Xt;var Vn=Xt;Ye=Ye.__wrapped__}return Vn.__wrapped__=K,de}function Bi(){var K=this.__wrapped__;if(K instanceof vs){var de=K;return this.__actions__.length&&(de=new vs(this)),de=de.reverse(),de.__actions__.push({func:yn,args:[hc],thisArg:f}),new Vl(de,this.__chain__)}return this.thru(hc)}function Pa(){return Sl(this.__wrapped__,this.__actions__)}var za=ku(function(K,de,Ye){Mo.call(K,Ye)?++K[Ye]:Ws(K,Ye,1)});function wo(K,de,Ye){var Xt=Ds(K)?Le:Jl;return Ye&&ru(K,de,Ye)&&(de=f),Xt(K,Fo(de,3))}function yo(K,de){var Ye=Ds(K)?J:uc;return Ye(K,Fo(de,3))}var bs=Lc(Ne),Xo=Lc(vt);function zs(K,de){return Cl(Dc(K,de),1)}function nl(K,de){return Cl(Dc(K,de),he)}function zl(K,de,Ye){return Ye=Ye===f?1:_s(Ye),Cl(Dc(K,de),Ye)}function tu(K,de){var Ye=Ds(K)?we:Fl;return Ye(K,Fo(de,3))}function Wu(K,de){var Ye=Ds(K)?Be:mu;return Ye(K,Fo(de,3))}var hs=ku(function(K,de,Ye){Mo.call(K,Ye)?K[Ye].push(de):Ws(K,Ye,[de])});function ws(K,de,Ye,Xt){K=$u(K)?K:kd(K),Ye=Ye&&!Xt?_s(Ye):0;var Vn=K.length;return Ye<0&&(Ye=qa(Vn+Ye,0)),Zd(K)?Ye<=Vn&&K.indexOf(de,Ye)>-1:!!Vn&&Qr(K,de,Ye)>-1}var fu=Sa(function(K,de,Ye){var Xt=-1,Vn=typeof de=="function",Or=$u(K)?Ur(K.length):[];return Fl(K,function(qr){Or[++Xt]=Vn?pt(de,qr,Ye):_t(qr,de,Ye)}),Or}),au=ku(function(K,de,Ye){Ws(K,Ye,de)});function Dc(K,de){var Ye=Ds(K)?Ot:Gr;return Ye(K,Fo(de,3))}function Id(K,de,Ye,Xt){return K==null?[]:(Ds(de)||(de=de==null?[]:[de]),Ye=Xt?f:Ye,Ds(Ye)||(Ye=Ye==null?[]:[Ye]),Ji(K,de,Ye))}var Jr=ku(function(K,de,Ye){K[Ye?0:1].push(de)},function(){return[[],[]]});function wr(K,de,Ye){var Xt=Ds(K)?$t:fr,Vn=arguments.length<3;return Xt(K,Fo(de,4),Ye,Vn,Fl)}function Di(K,de,Ye){var Xt=Ds(K)?Gt:fr,Vn=arguments.length<3;return Xt(K,Fo(de,4),Ye,Vn,mu)}function aa(K,de){var Ye=Ds(K)?J:uc;return Ye(K,Qd(Fo(de,3)))}function Ki(K){var de=Ds(K)?Uo:xo;return de(K)}function Da(K,de,Ye){(Ye?ru(K,de,Ye):de===f)?de=1:de=_s(de);var Xt=Ds(K)?us:So;return Xt(K,de)}function Ga(K){var de=Ds(K)?ns:uo;return de(K)}function ao(K){if(K==null)return 0;if($u(K))return Zd(K)?Ca(K):K.length;var de=Vo(K);return de==Te||de==Ee?K.size:Gn(K).length}function _o(K,de,Ye){var Xt=Ds(K)?hn:Us;return Ye&&ru(K,de,Ye)&&(de=f),Xt(K,Fo(de,3))}var Ro=Sa(function(K,de){if(K==null)return[];var Ye=de.length;return Ye>1&&ru(K,de[0],de[1])?de=[]:Ye>2&&ru(de[0],de[1],de[2])&&(de=[de[0]]),Ji(K,Cl(de,1),[])}),Zo=ti||function(){return Qi.Date.now()};function os(K,de){if(typeof de!="function")throw new oo(n);return K=_s(K),function(){if(--K<1)return de.apply(this,arguments)}}function Ls(K,de,Ye){return de=Ye?f:de,de=K&&de==null?K.length:de,Mu(K,d,f,f,f,f,de)}function pl(K,de){var Ye;if(typeof de!="function")throw new oo(n);return K=_s(K),function(){return--K>0&&(Ye=de.apply(this,arguments)),K<=1&&(de=f),Ye}}var dl=Sa(function(K,de,Ye){var Xt=T;if(Ye.length){var Vn=Do(Ye,cu(dl));Xt|=g}return Mu(K,Xt,de,Ye,Vn)}),gs=Sa(function(K,de,Ye){var Xt=T|I;if(Ye.length){var Vn=Do(Ye,cu(gs));Xt|=g}return Mu(de,Xt,K,Ye,Vn)});function $l(K,de,Ye){de=Ye?f:de;var Xt=Mu(K,$,f,f,f,f,f,de);return Xt.placeholder=$l.placeholder,Xt}function Ql(K,de,Ye){de=Ye?f:de;var Xt=Mu(K,A,f,f,f,f,f,de);return Xt.placeholder=Ql.placeholder,Xt}function _l(K,de,Ye){var Xt,Vn,Or,qr,ji,Ui,ka=0,Na=!1,Ya=!1,jo=!0;if(typeof K!="function")throw new oo(n);de=mc(de)||0,Ul(Ye)&&(Na=!!Ye.leading,Ya="maxWait"in Ye,Or=Ya?qa(mc(Ye.maxWait)||0,de):Or,jo="trailing"in Ye?!!Ye.trailing:jo);function Ko(Zl){var _c=Xt,td=Vn;return Xt=Vn=f,ka=Zl,qr=K.apply(td,_c),qr}function ss(Zl){return ka=Zl,ji=Gc(Fs,de),Na?Ko(Zl):qr}function xs(Zl){var _c=Zl-Ui,td=Zl-ka,xf=de-_c;return Ya?Va(xf,Or-td):xf}function ls(Zl){var _c=Zl-Ui,td=Zl-ka;return Ui===f||_c>=de||_c<0||Ya&&td>=Or}function Fs(){var Zl=Zo();if(ls(Zl))return $s(Zl);ji=Gc(Fs,xs(Zl))}function $s(Zl){return ji=f,jo&&Xt?Ko(Zl):(Xt=Vn=f,qr)}function sc(){ji!==f&&Ml(ji),ka=0,Xt=Ui=Vn=ji=f}function Uu(){return ji===f?qr:$s(Zo())}function lc(){var Zl=Zo(),_c=ls(Zl);if(Xt=arguments,Vn=this,Ui=Zl,_c){if(ji===f)return ss(Ui);if(Ya)return Ml(ji),ji=Gc(Fs,de),Ko(Ui)}return ji===f&&(ji=Gc(Fs,de)),qr}return lc.cancel=sc,lc.flush=Uu,lc}var Wc=Sa(function(K,de){return wu(K,1,de)}),yd=Sa(function(K,de,Ye){return wu(K,mc(de)||0,Ye)});function bd(K){return Mu(K,E)}function hu(K,de){if(typeof K!="function"||de!=null&&typeof de!="function")throw new oo(n);var Ye=function(){var Xt=arguments,Vn=de?de.apply(this,Xt):Xt[0],Or=Ye.cache;if(Or.has(Vn))return Or.get(Vn);var qr=K.apply(this,Xt);return Ye.cache=Or.set(Vn,qr)||Or,qr};return Ye.cache=new(hu.Cache||Yn),Ye}hu.Cache=Yn;function Qd(K){if(typeof K!="function")throw new oo(n);return function(){var de=arguments;switch(de.length){case 0:return!K.call(this);case 1:return!K.call(this,de[0]);case 2:return!K.call(this,de[0],de[1]);case 3:return!K.call(this,de[0],de[1],de[2])}return!K.apply(this,de)}}function Pf(K){return pl(2,K)}var Tf=qs(function(K,de){de=de.length==1&&Ds(de[0])?Ot(de[0],di(Fo())):Ot(Cl(de,1),di(Fo()));var Ye=de.length;return Sa(function(Xt){for(var Vn=-1,Or=Va(Xt.length,Ye);++Vn<Or;)Xt[Vn]=de[Vn].call(this,Xt[Vn]);return pt(K,this,Xt)})}),qd=Sa(function(K,de){var Ye=Do(de,cu(qd));return Mu(K,g,f,de,Ye)}),ff=Sa(function(K,de){var Ye=Do(de,cu(ff));return Mu(K,b,f,de,Ye)}),If=Ts(function(K,de){return Mu(K,O,f,f,f,de)});function Rf(K,de){if(typeof K!="function")throw new oo(n);return de=de===f?de:_s(de),Sa(K,de)}function kf(K,de){if(typeof K!="function")throw new oo(n);return de=de==null?0:qa(_s(de),0),Sa(function(Ye){var Xt=Ye[de],Vn=jl(Ye,0,de);return Xt&&Vt(Vn,Xt),pt(K,this,Vn)})}function Nf(K,de,Ye){var Xt=!0,Vn=!0;if(typeof K!="function")throw new oo(n);return Ul(Ye)&&(Xt="leading"in Ye?!!Ye.leading:Xt,Vn="trailing"in Ye?!!Ye.trailing:Vn),_l(K,de,{leading:Xt,maxWait:de,trailing:Vn})}function Af(K){return Ls(K,1)}function Ff(K,de){return qd(su(de),K)}function Bf(){if(!arguments.length)return[];var K=arguments[0];return Ds(K)?K:[K]}function Wf(K){return Xs(K,w)}function Uf(K,de){return de=typeof de=="function"?de:f,Xs(K,w,de)}function Vf(K){return Xs(K,l|w)}function Kf(K,de){return de=typeof de=="function"?de:f,Xs(K,l|w,de)}function Hf(K,de){return de==null||ul(K,de,vu(de))}function wc(K,de){return K===de||K!==K&&de!==de}var zf=Ou(Xu),$f=Ou(function(K,de){return K>=de}),Od=dn(function(){return arguments}())?dn:function(K){return Gl(K)&&Mo.call(K,"callee")&&!Cn.call(K,"callee")},Ds=Ur.isArray,Gf=ve?di(ve):xn;function $u(K){return K!=null&&Xd(K.length)&&!qc(K)}function Xl(K){return Gl(K)&&$u(K)}function Yf(K){return K===!0||K===!1||Gl(K)&&vl(K)==z}var sd=$i||df,Qf=x?di(x):Hn;function Xf(K){return Gl(K)&&K.nodeType===1&&!Yd(K)}function Zf(K){if(K==null)return!0;if($u(K)&&(Ds(K)||typeof K=="string"||typeof K.splice=="function"||sd(K)||Rd(K)||Od(K)))return!K.length;var de=Vo(K);if(de==Te||de==Ee)return!K.size;if(Ac(K))return!Gn(K).length;for(var Ye in K)if(Mo.call(K,Ye))return!1;return!0}function Jf(K,de){return er(K,de)}function qf(K,de,Ye){Ye=typeof Ye=="function"?Ye:f;var Xt=Ye?Ye(K,de):f;return Xt===f?er(K,de,f,Ye):!!Xt}function ef(K){if(!Gl(K))return!1;var de=vl(K);return de==pe||de==X||typeof K.message=="string"&&typeof K.name=="string"&&!Yd(K)}function eh(K){return typeof K=="number"&&wa(K)}function qc(K){if(!Ul(K))return!1;var de=vl(K);return de==ae||de==Se||de==C||de==ge}function hf(K){return typeof K=="number"&&K==_s(K)}function Xd(K){return typeof K=="number"&&K>-1&&K%1==0&&K<=ue}function Ul(K){var de=typeof K;return K!=null&&(de=="object"||de=="function")}function Gl(K){return K!=null&&typeof K=="object"}var vf=le?di(le):Zr;function th(K,de){return K===de||rt(K,de,gl(de))}function nh(K,de,Ye){return Ye=typeof Ye=="function"?Ye:f,rt(K,de,gl(de),Ye)}function rh(K){return gf(K)&&K!=+K}function ih(K){if(jd(K))throw new oa(a);return Fe(K)}function ah(K){return K===null}function oh(K){return K==null}function gf(K){return typeof K=="number"||Gl(K)&&vl(K)==je}function Yd(K){if(!Gl(K)||vl(K)!=fe)return!1;var de=St(K);if(de===null)return!0;var Ye=Mo.call(de,"constructor")&&de.constructor;return typeof Ye=="function"&&Ye instanceof Ye&&Rs.call(Ye)==xl}var tf=me?di(me):Et;function sh(K){return hf(K)&&K>=-ue&&K<=ue}var mf=Ae?di(Ae):at;function Zd(K){return typeof K=="string"||!Ds(K)&&Gl(K)&&vl(K)==Me}function oc(K){return typeof K=="symbol"||Gl(K)&&vl(K)==_e}var Rd=tt?di(tt):At;function lh(K){return K===f}function uh(K){return Gl(K)&&Vo(K)==et}function ch(K){return Gl(K)&&vl(K)==Xe}var dh=Ou(pr),fh=Ou(function(K,de){return K<=de});function pf(K){if(!K)return[];if($u(K))return Zd(K)?no(K):Hl(K);if(Xn&&K[Xn])return Ha(K[Xn]());var de=Vo(K),Ye=de==Te?Za:de==Ee?ra:kd;return Ye(K)}function ed(K){if(!K)return K===0?K:0;if(K=mc(K),K===he||K===-he){var de=K<0?-1:1;return de*ne}return K===K?K:0}function _s(K){var de=ed(K),Ye=de%1;return de===de?Ye?de-Ye:de:0}function yf(K){return K?hl(_s(K),0,be):0}function mc(K){if(typeof K=="number")return K;if(oc(K))return se;if(Ul(K)){var de=typeof K.valueOf=="function"?K.valueOf():K;K=Ul(de)?de+"":de}if(typeof K!="string")return K===0?K:+K;K=Wi(K);var Ye=_n.test(K);return Ye||qn.test(K)?ei(K.slice(2),Ye?2:8):gn.test(K)?se:+K}function bf(K){return el(K,Gu(K))}function hh(K){return K?hl(_s(K),-ue,ue):K===0?K:0}function sl(K){return K==null?"":ps(K)}var vh=js(function(K,de){if(Ac(de)||$u(de)){el(de,vu(de),K);return}for(var Ye in de)Mo.call(de,Ye)&&Es(K,Ye,de[Ye])}),Of=js(function(K,de){el(de,Gu(de),K)}),Jd=js(function(K,de,Ye,Xt){el(de,Gu(de),K,Xt)}),gh=js(function(K,de,Ye,Xt){el(de,vu(de),K,Xt)}),mh=Ts(Yl);function ph(K,de){var Ye=Al(K);return de==null?Ye:Ns(Ye,de)}var yh=Sa(function(K,de){K=Ba(K);var Ye=-1,Xt=de.length,Vn=Xt>2?de[2]:f;for(Vn&&ru(de[0],de[1],Vn)&&(Xt=1);++Ye<Xt;)for(var Or=de[Ye],qr=Gu(Or),ji=-1,Ui=qr.length;++ji<Ui;){var ka=qr[ji],Na=K[ka];(Na===f||wc(Na,ts[ka])&&!Mo.call(K,ka))&&(K[ka]=Or[ka])}return K}),bh=Sa(function(K){return K.push(f,Rc),pt(Cf,f,K)});function Oh(K,de){return zn(K,Fo(de,3),El)}function Ch(K,de){return zn(K,Fo(de,3),Hu)}function Eh(K,de){return K==null?K:Qu(K,Fo(de,3),Gu)}function Sh(K,de){return K==null?K:cc(K,Fo(de,3),Gu)}function jh(K,de){return K&&El(K,Fo(de,3))}function Dh(K,de){return K&&Hu(K,Fo(de,3))}function wh(K){return K==null?[]:dc(K,vu(K))}function _h(K){return K==null?[]:dc(K,Gu(K))}function nf(K,de,Ye){var Xt=K==null?f:ql(K,de);return Xt===f?Ye:Xt}function Mh(K,de){return K!=null&&rd(K,de,Pu)}function rf(K,de){return K!=null&&rd(K,de,_u)}var Lh=xc(function(K,de,Ye){de!=null&&typeof de.toString!="function"&&(de=ks.call(de)),K[de]=Ye},of(Yu)),xh=xc(function(K,de,Ye){de!=null&&typeof de.toString!="function"&&(de=ks.call(de)),Mo.call(K,de)?K[de].push(Ye):K[de]=[Ye]},Fo),Ph=Sa(_t);function vu(K){return $u(K)?Eo(K):Gn(K)}function Gu(K){return $u(K)?Eo(K,!0):lr(K)}function Th(K,de){var Ye={};return de=Fo(de,3),El(K,function(Xt,Vn,Or){Ws(Ye,de(Xt,Vn,Or),Xt)}),Ye}function Ih(K,de){var Ye={};return de=Fo(de,3),El(K,function(Xt,Vn,Or){Ws(Ye,Vn,de(Xt,Vn,Or))}),Ye}var Rh=js(function(K,de,Ye){Gi(K,de,Ye)}),Cf=js(function(K,de,Ye,Xt){Gi(K,de,Ye,Xt)}),kh=Ts(function(K,de){var Ye={};if(K==null)return Ye;var Xt=!1;de=Ot(de,function(Or){return Or=As(Or,K),Xt||(Xt=Or.length>1),Or}),el(K,Eu(K),Ye),Xt&&(Ye=Xs(Ye,l|p|w,cl));for(var Vn=de.length;Vn--;)Gs(Ye,de[Vn]);return Ye});function Nh(K,de){return Ef(K,Qd(Fo(de)))}var Ah=Ts(function(K,de){return K==null?{}:la(K,de)});function Ef(K,de){if(K==null)return{};var Ye=Ot(Eu(K),function(Xt){return[Xt]});return de=Fo(de),Aa(K,Ye,function(Xt,Vn){return de(Xt,Vn[0])})}function Fh(K,de,Ye){de=As(de,K);var Xt=-1,Vn=de.length;for(Vn||(Vn=1,K=f);++Xt<Vn;){var Or=K==null?f:K[Su(de[Xt])];Or===f&&(Xt=Vn,Or=Ye),K=qc(Or)?Or.call(K):Or}return K}function Bh(K,de,Ye){return K==null?K:so(K,de,Ye)}function Wh(K,de,Ye,Xt){return Xt=typeof Xt=="function"?Xt:f,K==null?K:so(K,de,Ye,Xt)}var Sf=Bl(vu),jf=Bl(Gu);function Uh(K,de,Ye){var Xt=Ds(K),Vn=Xt||sd(K)||Rd(K);if(de=Fo(de,4),Ye==null){var Or=K&&K.constructor;Vn?Ye=Xt?new Or:[]:Ul(K)?Ye=qc(Or)?Al(St(K)):{}:Ye={}}return(Vn?we:El)(K,function(qr,ji,Ui){return de(Ye,qr,ji,Ui)}),Ye}function Vh(K,de){return K==null?!0:Gs(K,de)}function Kh(K,de,Ye){return K==null?K:Ms(K,de,su(Ye))}function Hh(K,de,Ye,Xt){return Xt=typeof Xt=="function"?Xt:f,K==null?K:Ms(K,de,su(Ye),Xt)}function kd(K){return K==null?[]:ri(K,vu(K))}function zh(K){return K==null?[]:ri(K,Gu(K))}function $h(K,de,Ye){return Ye===f&&(Ye=de,de=f),Ye!==f&&(Ye=mc(Ye),Ye=Ye===Ye?Ye:0),de!==f&&(de=mc(de),de=de===de?de:0),hl(mc(K),de,Ye)}function Gh(K,de,Ye){return de=ed(de),Ye===f?(Ye=de,de=0):Ye=ed(Ye),K=mc(K),Uc(K,de,Ye)}function Yh(K,de,Ye){if(Ye&&typeof Ye!="boolean"&&ru(K,de,Ye)&&(de=Ye=f),Ye===f&&(typeof de=="boolean"?(Ye=de,de=f):typeof K=="boolean"&&(Ye=K,K=f)),K===f&&de===f?(K=0,de=1):(K=ed(K),de===f?(de=K,K=0):de=ed(de)),K>de){var Xt=K;K=de,de=Xt}if(Ye||K%1||de%1){var Vn=Ao();return Va(K+Vn*(de-K+Lr("1e-"+((Vn+"").length-1))),de)}return to(K,de)}var Qh=tc(function(K,de,Ye){return de=de.toLowerCase(),K+(Ye?Df(de):de)});function Df(K){return af(sl(K).toLowerCase())}function wf(K){return K=sl(K),K&&K.replace(Rn,ii).replace(gt,"")}function Xh(K,de,Ye){K=sl(K),de=ps(de);var Xt=K.length;Ye=Ye===f?Xt:hl(_s(Ye),0,Xt);var Vn=Ye;return Ye-=de.length,Ye>=0&&K.slice(Ye,Vn)==de}function Zh(K){return K=sl(K),K&&un.test(K)?K.replace(bn,Yi):K}function Jh(K){return K=sl(K),K&&en.test(K)?K.replace(zt,"\\$&"):K}var qh=tc(function(K,de,Ye){return K+(Ye?"-":"")+de.toLowerCase()}),ev=tc(function(K,de,Ye){return K+(Ye?" ":"")+de.toLowerCase()}),tv=ec("toLowerCase");function nv(K,de,Ye){K=sl(K),de=_s(de);var Xt=de?Ca(K):0;if(!de||Xt>=de)return K;var Vn=(de-Xt)/2;return Tc(Fi(Vn),Ye)+K+Tc(pi(Vn),Ye)}function rv(K,de,Ye){K=sl(K),de=_s(de);var Xt=de?Ca(K):0;return de&&Xt<de?K+Tc(de-Xt,Ye):K}function iv(K,de,Ye){K=sl(K),de=_s(de);var Xt=de?Ca(K):0;return de&&Xt<de?Tc(de-Xt,Ye)+K:K}function av(K,de,Ye){return Ye||de==null?de=0:de&&(de=+de),fo(sl(K).replace(tn,""),de||0)}function ov(K,de,Ye){return(Ye?ru(K,de,Ye):de===f)?de=1:de=_s(de),go(sl(K),de)}function sv(){var K=arguments,de=sl(K[0]);return K.length<3?de:de.replace(K[1],K[2])}var lv=tc(function(K,de,Ye){return K+(Ye?"_":"")+de.toLowerCase()});function uv(K,de,Ye){return Ye&&typeof Ye!="number"&&ru(K,de,Ye)&&(de=Ye=f),Ye=Ye===f?be:Ye>>>0,Ye?(K=sl(K),K&&(typeof de=="string"||de!=null&&!tf(de))&&(de=ps(de),!de&&Ri(K))?jl(no(K),0,Ye):K.split(de,Ye)):[]}var cv=tc(function(K,de,Ye){return K+(Ye?" ":"")+af(de)});function dv(K,de,Ye){return K=sl(K),Ye=Ye==null?0:hl(_s(Ye),0,K.length),de=ps(de),K.slice(Ye,Ye+de.length)==de}function fv(K,de,Ye){var Xt=ir.templateSettings;Ye&&ru(K,de,Ye)&&(de=f),K=sl(K),de=Jd({},de,Xt,Au);var Vn=Jd({},de.imports,Xt.imports,Au),Or=vu(Vn),qr=ri(Vn,Or),ji,Ui,ka=0,Na=de.interpolate||mr,Ya="__p += '",jo=ro((de.escape||mr).source+"|"+Na.source+"|"+(Na===Ln?kn:mr).source+"|"+(de.evaluate||mr).source+"|$","g"),Ko="//# sourceURL="+(Mo.call(de,"sourceURL")?(de.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Hi+"]")+`
- `;K.replace(jo,function(ls,Fs,$s,sc,Uu,lc){return $s||($s=sc),Ya+=K.slice(ka,lc).replace(ar,La),Fs&&(ji=!0,Ya+=`' +
- __e(`+Fs+`) +
- '`),Uu&&(Ui=!0,Ya+=`';
- `+Uu+`;
- __p += '`),$s&&(Ya+=`' +
- ((__t = (`+$s+`)) == null ? '' : __t) +
- '`),ka=lc+ls.length,ls}),Ya+=`';
- `;var ss=Mo.call(de,"variable")&&de.variable;if(!ss)Ya=`with (obj) {
- `+Ya+`
- }
- `;else if(Kt.test(ss))throw new oa(v);Ya=(Ui?Ya.replace(ht,""):Ya).replace(Rt,"$1").replace(Ft,"$1;"),Ya="function("+(ss||"obj")+`) {
- `+(ss?"":`obj || (obj = {});
- `)+"var __t, __p = ''"+(ji?", __e = _.escape":"")+(Ui?`, __j = Array.prototype.join;
- function print() { __p += __j.call(arguments, '') }
- `:`;
- `)+Ya+`return __p
- }`;var xs=Mf(function(){return Ua(Or,Ko+"return "+Ya).apply(f,qr)});if(xs.source=Ya,ef(xs))throw xs;return xs}function hv(K){return sl(K).toLowerCase()}function vv(K){return sl(K).toUpperCase()}function gv(K,de,Ye){if(K=sl(K),K&&(Ye||de===f))return Wi(K);if(!K||!(de=ps(de)))return K;var Xt=no(K),Vn=no(de),Or=Si(Xt,Vn),qr=zi(Xt,Vn)+1;return jl(Xt,Or,qr).join("")}function mv(K,de,Ye){if(K=sl(K),K&&(Ye||de===f))return K.slice(0,No(K)+1);if(!K||!(de=ps(de)))return K;var Xt=no(K),Vn=zi(Xt,no(de))+1;return jl(Xt,0,Vn).join("")}function pv(K,de,Ye){if(K=sl(K),K&&(Ye||de===f))return K.replace(tn,"");if(!K||!(de=ps(de)))return K;var Xt=no(K),Vn=Si(Xt,no(de));return jl(Xt,Vn).join("")}function yv(K,de){var Ye=D,Xt=W;if(Ul(de)){var Vn="separator"in de?de.separator:Vn;Ye="length"in de?_s(de.length):Ye,Xt="omission"in de?ps(de.omission):Xt}K=sl(K);var Or=K.length;if(Ri(K)){var qr=no(K);Or=qr.length}if(Ye>=Or)return K;var ji=Ye-Ca(Xt);if(ji<1)return Xt;var Ui=qr?jl(qr,0,ji).join(""):K.slice(0,ji);if(Vn===f)return Ui+Xt;if(qr&&(ji+=Ui.length-ji),tf(Vn)){if(K.slice(ji).search(Vn)){var ka,Na=Ui;for(Vn.global||(Vn=ro(Vn.source,sl(Pt.exec(Vn))+"g")),Vn.lastIndex=0;ka=Vn.exec(Na);)var Ya=ka.index;Ui=Ui.slice(0,Ya===f?ji:Ya)}}else if(K.indexOf(ps(Vn),ji)!=ji){var jo=Ui.lastIndexOf(Vn);jo>-1&&(Ui=Ui.slice(0,jo))}return Ui+Xt}function bv(K){return K=sl(K),K&&sn.test(K)?K.replace(nn,es):K}var Ov=tc(function(K,de,Ye){return K+(Ye?" ":"")+de.toUpperCase()}),af=ec("toUpperCase");function _f(K,de,Ye){return K=sl(K),de=Ye?f:de,de===f?Oa(K)?jr(K):vr(K):K.match(de)||[]}var Mf=Sa(function(K,de){try{return pt(K,f,de)}catch(Ye){return ef(Ye)?Ye:new oa(Ye)}}),Cv=Ts(function(K,de){return we(de,function(Ye){Ye=Su(Ye),Ws(K,Ye,dl(K[Ye],K))}),K});function Ev(K){var de=K==null?0:K.length,Ye=Fo();return K=de?Ot(K,function(Xt){if(typeof Xt[1]!="function")throw new oo(n);return[Ye(Xt[0]),Xt[1]]}):[],Sa(function(Xt){for(var Vn=-1;++Vn<de;){var Or=K[Vn];if(pt(Or[0],this,Xt))return pt(Or[1],this,Xt)}})}function Sv(K){return Kl(Xs(K,l))}function of(K){return function(){return K}}function jv(K,de){return K==null||K!==K?de:K}var Dv=Vc(),wv=Vc(!0);function Yu(K){return K}function sf(K){return En(typeof K=="function"?K:Xs(K,l))}function _v(K){return Hr(Xs(K,l))}function Mv(K,de){return _i(K,Xs(de,l))}var Lv=Sa(function(K,de){return function(Ye){return _t(Ye,K,de)}}),xv=Sa(function(K,de){return function(Ye){return _t(K,Ye,de)}});function lf(K,de,Ye){var Xt=vu(de),Vn=dc(de,Xt);Ye==null&&!(Ul(de)&&(Vn.length||!Xt.length))&&(Ye=de,de=K,K=this,Vn=dc(de,vu(de)));var Or=!(Ul(Ye)&&"chain"in Ye)||!!Ye.chain,qr=qc(K);return we(Vn,function(ji){var Ui=de[ji];K[ji]=Ui,qr&&(K.prototype[ji]=function(){var ka=this.__chain__;if(Or||ka){var Na=K(this.__wrapped__),Ya=Na.__actions__=Hl(this.__actions__);return Ya.push({func:Ui,args:arguments,thisArg:K}),Na.__chain__=ka,Na}return Ui.apply(K,Vt([this.value()],arguments))})}),K}function Pv(){return Qi._===this&&(Qi._=Pl),this}function uf(){}function Tv(K){return K=_s(K),Sa(function(de){return ta(de,K)})}var Iv=Pc(Ot),Rv=Pc(Le),kv=Pc(hn);function Lf(K){return ic(K)?rn(Su(K)):ja(K)}function Nv(K){return function(de){return K==null?f:ql(K,de)}}var Av=Hc(),Fv=Hc(!0);function cf(){return[]}function df(){return!1}function Bv(){return{}}function Wv(){return""}function Uv(){return!0}function Vv(K,de){if(K=_s(K),K<1||K>ue)return[];var Ye=be,Xt=Va(K,be);de=Fo(de),K-=be;for(var Vn=Ar(Xt,de);++Ye<K;)de(Ye);return Vn}function Kv(K){return Ds(K)?Ot(K,Su):oc(K)?[K]:Hl(Xc(sl(K)))}function Hv(K){var de=++Bs;return sl(K)+de}var zv=Nu(function(K,de){return K+de},0),$v=Cu("ceil"),Gv=Nu(function(K,de){return K/de},1),Yv=Cu("floor");function Qv(K){return K&&K.length?pu(K,Yu,Xu):f}function Xv(K,de){return K&&K.length?pu(K,Fo(de,2),Xu):f}function Zv(K){return ln(K,Yu)}function Jv(K,de){return ln(K,Fo(de,2))}function qv(K){return K&&K.length?pu(K,Yu,pr):f}function eg(K,de){return K&&K.length?pu(K,Fo(de,2),pr):f}var tg=Nu(function(K,de){return K*de},1),ng=Cu("round"),rg=Nu(function(K,de){return K-de},0);function ig(K){return K&&K.length?kr(K,Yu):0}function ag(K,de){return K&&K.length?kr(K,Fo(de,2)):0}return ir.after=os,ir.ary=Ls,ir.assign=vh,ir.assignIn=Of,ir.assignInWith=Jd,ir.assignWith=gh,ir.at=mh,ir.before=pl,ir.bind=dl,ir.bindAll=Cv,ir.bindKey=gs,ir.castArray=Bf,ir.chain=Zt,ir.chunk=vd,ir.compact=Ud,ir.concat=Vd,ir.cond=Ev,ir.conforms=Sv,ir.constant=of,ir.countBy=za,ir.create=ph,ir.curry=$l,ir.curryRight=Ql,ir.debounce=_l,ir.defaults=yh,ir.defaultsDeep=bh,ir.defer=Wc,ir.delay=yd,ir.difference=Kd,ir.differenceBy=Jc,ir.differenceWith=Ld,ir.drop=gd,ir.dropRight=Hd,ir.dropRightWhile=xd,ir.dropWhile=zd,ir.fill=jt,ir.filter=yo,ir.flatMap=zs,ir.flatMapDeep=nl,ir.flatMapDepth=zl,ir.flatten=Mt,ir.flattenDeep=On,ir.flattenDepth=Fn,ir.flip=bd,ir.flow=Dv,ir.flowRight=wv,ir.fromPairs=Qn,ir.functions=wh,ir.functionsIn=_h,ir.groupBy=hs,ir.initial=mi,ir.intersection=qi,ir.intersectionBy=Ka,ir.intersectionWith=Xa,ir.invert=Lh,ir.invertBy=xh,ir.invokeMap=fu,ir.iteratee=sf,ir.keyBy=au,ir.keys=vu,ir.keysIn=Gu,ir.map=Dc,ir.mapKeys=Th,ir.mapValues=Ih,ir.matches=_v,ir.matchesProperty=Mv,ir.memoize=hu,ir.merge=Rh,ir.mergeWith=Cf,ir.method=Lv,ir.methodOf=xv,ir.mixin=lf,ir.negate=Qd,ir.nthArg=Tv,ir.omit=kh,ir.omitBy=Nh,ir.once=Pf,ir.orderBy=Id,ir.over=Iv,ir.overArgs=Tf,ir.overEvery=Rv,ir.overSome=kv,ir.partial=qd,ir.partialRight=ff,ir.partition=Jr,ir.pick=Ah,ir.pickBy=Ef,ir.property=Lf,ir.propertyOf=Nv,ir.pull=Ys,ir.pullAll=iu,ir.pullAllBy=ju,ir.pullAllWith=Vs,ir.pullAt=ml,ir.range=Av,ir.rangeRight=Fv,ir.rearg=If,ir.reject=aa,ir.remove=as,ir.rest=Rf,ir.reverse=hc,ir.sampleSize=Da,ir.set=Bh,ir.setWith=Wh,ir.shuffle=Ga,ir.slice=Dl,ir.sortBy=Ro,ir.sortedUniq=vc,ir.sortedUniqBy=gc,ir.split=uv,ir.spread=kf,ir.tail=Wl,ir.take=Pd,ir.takeRight=Sc,ir.takeRightWhile=md,ir.takeWhile=Qs,ir.tap=Wt,ir.throttle=Nf,ir.thru=yn,ir.toArray=pf,ir.toPairs=Sf,ir.toPairsIn=jf,ir.toPath=Kv,ir.toPlainObject=bf,ir.transform=Uh,ir.unary=Af,ir.union=jc,ir.unionBy=Td,ir.unionWith=pd,ir.uniq=$d,ir.uniqBy=ad,ir.uniqWith=Gd,ir.unset=Vh,ir.unzip=od,ir.unzipWith=V,ir.update=Kh,ir.updateWith=Hh,ir.values=kd,ir.valuesIn=zh,ir.without=De,ir.words=_f,ir.wrap=Ff,ir.xor=L,ir.xorBy=P,ir.xorWith=j,ir.zip=H,ir.zipObject=Ce,ir.zipObjectDeep=ze,ir.zipWith=yt,ir.entries=Sf,ir.entriesIn=jf,ir.extend=Of,ir.extendWith=Jd,lf(ir,ir),ir.add=zv,ir.attempt=Mf,ir.camelCase=Qh,ir.capitalize=Df,ir.ceil=$v,ir.clamp=$h,ir.clone=Wf,ir.cloneDeep=Vf,ir.cloneDeepWith=Kf,ir.cloneWith=Uf,ir.conformsTo=Hf,ir.deburr=wf,ir.defaultTo=jv,ir.divide=Gv,ir.endsWith=Xh,ir.eq=wc,ir.escape=Zh,ir.escapeRegExp=Jh,ir.every=wo,ir.find=bs,ir.findIndex=Ne,ir.findKey=Oh,ir.findLast=Xo,ir.findLastIndex=vt,ir.findLastKey=Ch,ir.floor=Yv,ir.forEach=tu,ir.forEachRight=Wu,ir.forIn=Eh,ir.forInRight=Sh,ir.forOwn=jh,ir.forOwnRight=Dh,ir.get=nf,ir.gt=zf,ir.gte=$f,ir.has=Mh,ir.hasIn=rf,ir.head=gr,ir.identity=Yu,ir.includes=ws,ir.indexOf=Xr,ir.inRange=Gh,ir.invoke=Ph,ir.isArguments=Od,ir.isArray=Ds,ir.isArrayBuffer=Gf,ir.isArrayLike=$u,ir.isArrayLikeObject=Xl,ir.isBoolean=Yf,ir.isBuffer=sd,ir.isDate=Qf,ir.isElement=Xf,ir.isEmpty=Zf,ir.isEqual=Jf,ir.isEqualWith=qf,ir.isError=ef,ir.isFinite=eh,ir.isFunction=qc,ir.isInteger=hf,ir.isLength=Xd,ir.isMap=vf,ir.isMatch=th,ir.isMatchWith=nh,ir.isNaN=rh,ir.isNative=ih,ir.isNil=oh,ir.isNull=ah,ir.isNumber=gf,ir.isObject=Ul,ir.isObjectLike=Gl,ir.isPlainObject=Yd,ir.isRegExp=tf,ir.isSafeInteger=sh,ir.isSet=mf,ir.isString=Zd,ir.isSymbol=oc,ir.isTypedArray=Rd,ir.isUndefined=lh,ir.isWeakMap=uh,ir.isWeakSet=ch,ir.join=Ni,ir.kebabCase=qh,ir.last=Ia,ir.lastIndexOf=zo,ir.lowerCase=ev,ir.lowerFirst=tv,ir.lt=dh,ir.lte=fh,ir.max=Qv,ir.maxBy=Xv,ir.mean=Zv,ir.meanBy=Jv,ir.min=qv,ir.minBy=eg,ir.stubArray=cf,ir.stubFalse=df,ir.stubObject=Bv,ir.stubString=Wv,ir.stubTrue=Uv,ir.multiply=tg,ir.nth=Bo,ir.noConflict=Pv,ir.noop=uf,ir.now=Zo,ir.pad=nv,ir.padEnd=rv,ir.padStart=iv,ir.parseInt=av,ir.random=Yh,ir.reduce=wr,ir.reduceRight=Di,ir.repeat=ov,ir.replace=sv,ir.result=Fh,ir.round=ng,ir.runInContext=or,ir.sample=Ki,ir.size=ao,ir.snakeCase=lv,ir.some=_o,ir.sortedIndex=Ll,ir.sortedIndexBy=wl,ir.sortedIndexOf=Bc,ir.sortedLastIndex=xu,ir.sortedLastIndexBy=Ec,ir.sortedLastIndexOf=tl,ir.startCase=cv,ir.startsWith=dv,ir.subtract=rg,ir.sum=ig,ir.sumBy=ag,ir.template=fv,ir.times=Vv,ir.toFinite=ed,ir.toInteger=_s,ir.toLength=yf,ir.toLower=hv,ir.toNumber=mc,ir.toSafeInteger=hh,ir.toString=sl,ir.toUpper=vv,ir.trim=gv,ir.trimEnd=mv,ir.trimStart=pv,ir.truncate=yv,ir.unescape=bv,ir.uniqueId=Hv,ir.upperCase=Ov,ir.upperFirst=af,ir.each=tu,ir.eachRight=Wu,ir.first=gr,lf(ir,function(){var K={};return El(ir,function(de,Ye){Mo.call(ir.prototype,Ye)||(K[Ye]=de)}),K}(),{chain:!1}),ir.VERSION=o,we(["bind","bindKey","curry","curryRight","partial","partialRight"],function(K){ir[K].placeholder=ir}),we(["drop","take"],function(K,de){vs.prototype[K]=function(Ye){Ye=Ye===f?1:qa(_s(Ye),0);var Xt=this.__filtered__&&!de?new vs(this):this.clone();return Xt.__filtered__?Xt.__takeCount__=Va(Ye,Xt.__takeCount__):Xt.__views__.push({size:Va(Ye,be),type:K+(Xt.__dir__<0?"Right":"")}),Xt},vs.prototype[K+"Right"]=function(Ye){return this.reverse()[K](Ye).reverse()}}),we(["filter","map","takeWhile"],function(K,de){var Ye=de+1,Xt=Ye==ye||Ye==oe;vs.prototype[K]=function(Vn){var Or=this.clone();return Or.__iteratees__.push({iteratee:Fo(Vn,3),type:Ye}),Or.__filtered__=Or.__filtered__||Xt,Or}}),we(["head","last"],function(K,de){var Ye="take"+(de?"Right":"");vs.prototype[K]=function(){return this[Ye](1).value()[0]}}),we(["initial","tail"],function(K,de){var Ye="drop"+(de?"":"Right");vs.prototype[K]=function(){return this.__filtered__?new vs(this):this[Ye](1)}}),vs.prototype.compact=function(){return this.filter(Yu)},vs.prototype.find=function(K){return this.filter(K).head()},vs.prototype.findLast=function(K){return this.reverse().find(K)},vs.prototype.invokeMap=Sa(function(K,de){return typeof K=="function"?new vs(this):this.map(function(Ye){return _t(Ye,K,de)})}),vs.prototype.reject=function(K){return this.filter(Qd(Fo(K)))},vs.prototype.slice=function(K,de){K=_s(K);var Ye=this;return Ye.__filtered__&&(K>0||de<0)?new vs(Ye):(K<0?Ye=Ye.takeRight(-K):K&&(Ye=Ye.drop(K)),de!==f&&(de=_s(de),Ye=de<0?Ye.dropRight(-de):Ye.take(de-K)),Ye)},vs.prototype.takeRightWhile=function(K){return this.reverse().takeWhile(K).reverse()},vs.prototype.toArray=function(){return this.take(be)},El(vs.prototype,function(K,de){var Ye=/^(?:filter|find|map|reject)|While$/.test(de),Xt=/^(?:head|last)$/.test(de),Vn=ir[Xt?"take"+(de=="last"?"Right":""):de],Or=Xt||/^find/.test(de);!Vn||(ir.prototype[de]=function(){var qr=this.__wrapped__,ji=Xt?[1]:arguments,Ui=qr instanceof vs,ka=ji[0],Na=Ui||Ds(qr),Ya=function(Fs){var $s=Vn.apply(ir,Vt([Fs],ji));return Xt&&jo?$s[0]:$s};Na&&Ye&&typeof ka=="function"&&ka.length!=1&&(Ui=Na=!1);var jo=this.__chain__,Ko=!!this.__actions__.length,ss=Or&&!jo,xs=Ui&&!Ko;if(!Or&&Na){qr=xs?qr:new vs(this);var ls=K.apply(qr,ji);return ls.__actions__.push({func:yn,args:[Ya],thisArg:f}),new Vl(ls,jo)}return ss&&xs?K.apply(this,ji):(ls=this.thru(Ya),ss?Xt?ls.value()[0]:ls.value():ls)})}),we(["pop","push","shift","sort","splice","unshift"],function(K){var de=Oo[K],Ye=/^(?:push|sort|unshift)$/.test(K)?"tap":"thru",Xt=/^(?:pop|shift)$/.test(K);ir.prototype[K]=function(){var Vn=arguments;if(Xt&&!this.__chain__){var Or=this.value();return de.apply(Ds(Or)?Or:[],Vn)}return this[Ye](function(qr){return de.apply(Ds(qr)?qr:[],Vn)})}}),El(vs.prototype,function(K,de){var Ye=ir[de];if(Ye){var Xt=Ye.name+"";Mo.call(bl,Xt)||(bl[Xt]=[]),bl[Xt].push({name:de,func:Ye})}}),bl[bc(f,I).name]=[{name:"wrapper",func:f}],vs.prototype.clone=nu,vs.prototype.reverse=Lt,vs.prototype.value=He,ir.prototype.at=tr,ir.prototype.chain=Er,ir.prototype.commit=ni,ir.prototype.next=Oi,ir.prototype.plant=ui,ir.prototype.reverse=Bi,ir.prototype.toJSON=ir.prototype.valueOf=ir.prototype.value=Pa,ir.prototype.first=ir.prototype.head,Xn&&(ir.prototype[Xn]=oi),ir},gi=Ei();Qi._=gi,r=function(){return gi}.call(M,e,M,c),r!==f&&(c.exports=r)}).call(this)}).call(this,e("IyRk"),e("hOG+")(Ie))},Lx4V:function(Ie,M,e){"use strict";e.d(M,"a",function(){return a}),e.d(M,"b",function(){return n});var u=e("oBTY"),c=e("fWQN"),r=e("mtLc"),f=e("ic2d"),o=e("6OMU"),i=e("pmY6"),a;(function(m){m[m.PRESERVE=0]="PRESERVE",m[m.LAST=1]="LAST"})(a||(a={}));var n={Quickaccess:"workbench.contributions.quickaccess"},v=function(){function m(){Object(c.a)(this,m),this.providers=[],this.defaultProvider=void 0}return Object(r.a)(m,[{key:"registerQuickAccessProvider",value:function(t){var l=this;return t.prefix.length===0?this.defaultProvider=t:this.providers.push(t),this.providers.sort(function(p,w){return w.prefix.length-p.prefix.length}),Object(i.h)(function(){l.providers.splice(l.providers.indexOf(t),1),l.defaultProvider===t&&(l.defaultProvider=void 0)})}},{key:"getQuickAccessProviders",value:function(){return Object(o.d)([this.defaultProvider].concat(Object(u.a)(this.providers)))}},{key:"getQuickAccessProvider",value:function(t){var l=t&&this.providers.find(function(p){return t.startsWith(p.prefix)})||void 0;return l||this.defaultProvider}}]),m}();f.a.add(n.Quickaccess,new v)},"M+yt":function(Ie,M,e){},M1Kb:function(Ie,M,e){"use strict";e.d(M,"d",function(){return r}),e.d(M,"c",function(){return f}),e.d(M,"e",function(){return o}),e.d(M,"b",function(){return i}),e.d(M,"f",function(){return a}),e.d(M,"a",function(){return n});var u=e("fWQN"),c=e("mtLc"),r;(function(v){v[v.Left=1]="Left",v[v.Center=2]="Center",v[v.Right=4]="Right",v[v.Full=7]="Full"})(r||(r={}));var f;(function(v){v[v.Inline=1]="Inline",v[v.Gutter=2]="Gutter"})(f||(f={}));var o=function(){function v(m){Object(u.a)(this,v),this.tabSize=Math.max(1,m.tabSize|0),this.indentSize=m.tabSize|0,this.insertSpaces=Boolean(m.insertSpaces),this.defaultEOL=m.defaultEOL|0,this.trimAutoWhitespace=Boolean(m.trimAutoWhitespace)}return Object(c.a)(v,[{key:"equals",value:function(h){return this.tabSize===h.tabSize&&this.indentSize===h.indentSize&&this.insertSpaces===h.insertSpaces&&this.defaultEOL===h.defaultEOL&&this.trimAutoWhitespace===h.trimAutoWhitespace}},{key:"createChangeEvent",value:function(h){return{tabSize:this.tabSize!==h.tabSize,indentSize:this.indentSize!==h.indentSize,insertSpaces:this.insertSpaces!==h.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==h.trimAutoWhitespace}}}]),v}(),i=Object(c.a)(function v(m,h){Object(u.a)(this,v),this.range=m,this.matches=h}),a=Object(c.a)(function v(m,h,t,l,p,w){Object(u.a)(this,v),this.identifier=m,this.range=h,this.text=t,this.forceMoveMarkers=l,this.isAutoWhitespaceEdit=p,this._isTracked=w}),n=Object(c.a)(function v(m,h,t){Object(u.a)(this,v),this.reverseEdits=m,this.changes=h,this.trimAutoWhitespaceLineNumbers=t})},M96O:function(Ie,M,e){var u;try{u={clone:e("uM7l"),constant:e("cvCv"),each:e("xkGU"),filter:e("k4Da"),has:e("OFL0"),isArray:e("Z0cm"),isEmpty:e("E+oP"),isFunction:e("lSCD"),isUndefined:e("TP7S"),keys:e("7GkX"),map:e("3WF5"),reduce:e("xaJk"),size:e("1iNE"),transform:e("UMpK"),union:e("v8eK"),values:e("P/G1")}}catch(c){}u||(u=window._),Ie.exports=u},MAL5:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("fWQN"),c=e("mtLc"),r=e("+q00"),f=e("q3PH"),o=e("6ss+"),i=function(){function a(n){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Object(u.a)(this,a),n=f.a.checkMatrix(n),n.isEmpty())throw new Error("Matrix must be non-empty");var m=n.rows,h=n.columns,t=v.computeLeftSingularVectors,l=t===void 0?!0:t,p=v.computeRightSingularVectors,w=p===void 0?!0:p,S=v.autoTranspose,k=S===void 0?!1:S,T=Boolean(l),I=Boolean(w),Y=!1,$;if(m<h)if(!k)$=n.clone(),console.warn("Computing SVD on a matrix with more columns than rows. Consider enabling autoTranspose");else{$=n.transpose(),m=$.rows,h=$.columns,Y=!0;var A=T;T=I,I=A}else $=n.clone();for(var g=Math.min(m,h),b=Math.min(m+1,h),d=new Float64Array(b),O=new r.b(m,g),E=new r.b(h,h),D=new Float64Array(h),W=new Float64Array(m),te=new Float64Array(b),re=0;re<b;re++)te[re]=re;for(var ye=Math.min(m-1,h),q=Math.max(0,Math.min(h-2,m)),oe=Math.max(ye,q),he=0;he<oe;he++){if(he<ye){d[he]=0;for(var ue=he;ue<m;ue++)d[he]=Object(o.a)(d[he],$.get(ue,he));if(d[he]!==0){$.get(he,he)<0&&(d[he]=-d[he]);for(var ne=he;ne<m;ne++)$.set(ne,he,$.get(ne,he)/d[he]);$.set(he,he,$.get(he,he)+1)}d[he]=-d[he]}for(var se=he+1;se<h;se++){if(he<ye&&d[he]!==0){for(var be=0,Z=he;Z<m;Z++)be+=$.get(Z,he)*$.get(Z,se);be=-be/$.get(he,he);for(var ee=he;ee<m;ee++)$.set(ee,se,$.get(ee,se)+be*$.get(ee,he))}D[se]=$.get(he,se)}if(T&&he<ye)for(var ce=he;ce<m;ce++)O.set(ce,he,$.get(ce,he));if(he<q){D[he]=0;for(var R=he+1;R<h;R++)D[he]=Object(o.a)(D[he],D[R]);if(D[he]!==0){D[he+1]<0&&(D[he]=0-D[he]);for(var y=he+1;y<h;y++)D[y]/=D[he];D[he+1]+=1}if(D[he]=-D[he],he+1<m&&D[he]!==0){for(var C=he+1;C<m;C++)W[C]=0;for(var z=he+1;z<m;z++)for(var G=he+1;G<h;G++)W[z]+=D[G]*$.get(z,G);for(var X=he+1;X<h;X++)for(var pe=-D[X]/D[he+1],ae=he+1;ae<m;ae++)$.set(ae,X,$.get(ae,X)+pe*W[ae])}if(I)for(var Se=he+1;Se<h;Se++)E.set(Se,he,D[Se])}}var Te=Math.min(h,m+1);if(ye<h&&(d[ye]=$.get(ye,ye)),m<Te&&(d[Te-1]=0),q+1<Te&&(D[q]=$.get(q,Te-1)),D[Te-1]=0,T){for(var je=ye;je<g;je++){for(var ft=0;ft<m;ft++)O.set(ft,je,0);O.set(je,je,1)}for(var fe=ye-1;fe>=0;fe--)if(d[fe]!==0){for(var ie=fe+1;ie<g;ie++){for(var ge=0,Ve=fe;Ve<m;Ve++)ge+=O.get(Ve,fe)*O.get(Ve,ie);ge=-ge/O.get(fe,fe);for(var Ee=fe;Ee<m;Ee++)O.set(Ee,ie,O.get(Ee,ie)+ge*O.get(Ee,fe))}for(var Me=fe;Me<m;Me++)O.set(Me,fe,-O.get(Me,fe));O.set(fe,fe,1+O.get(fe,fe));for(var _e=0;_e<fe-1;_e++)O.set(_e,fe,0)}else{for(var Re=0;Re<m;Re++)O.set(Re,fe,0);O.set(fe,fe,1)}}if(I)for(var et=h-1;et>=0;et--){if(et<q&&D[et]!==0)for(var Xe=et+1;Xe<h;Xe++){for(var it=0,bt=et+1;bt<h;bt++)it+=E.get(bt,et)*E.get(bt,Xe);it=-it/E.get(et+1,et);for(var Ct=et+1;Ct<h;Ct++)E.set(Ct,Xe,E.get(Ct,Xe)+it*E.get(Ct,et))}for(var Bt=0;Bt<h;Bt++)E.set(Bt,et,0);E.set(et,et,1)}for(var qe=Te-1,st=0,ut=Number.EPSILON;Te>0;){var nt=void 0,kt=void 0;for(nt=Te-2;nt>=-1&&nt!==-1;nt--){var Sn=Number.MIN_VALUE+ut*Math.abs(d[nt]+Math.abs(d[nt+1]));if(Math.abs(D[nt])<=Sn||Number.isNaN(D[nt])){D[nt]=0;break}}if(nt===Te-2)kt=4;else{var Tt=void 0;for(Tt=Te-1;Tt>=nt&&Tt!==nt;Tt--){var ht=(Tt!==Te?Math.abs(D[Tt]):0)+(Tt!==nt+1?Math.abs(D[Tt-1]):0);if(Math.abs(d[Tt])<=ut*ht){d[Tt]=0;break}}Tt===nt?kt=3:Tt===Te-1?kt=1:(kt=2,nt=Tt)}switch(nt++,kt){case 1:{var Rt=D[Te-2];D[Te-2]=0;for(var Ft=Te-2;Ft>=nt;Ft--){var nn=Object(o.a)(d[Ft],Rt),bn=d[Ft]/nn,sn=Rt/nn;if(d[Ft]=nn,Ft!==nt&&(Rt=-sn*D[Ft-1],D[Ft-1]=bn*D[Ft-1]),I)for(var un=0;un<h;un++)nn=bn*E.get(un,Ft)+sn*E.get(un,Te-1),E.set(un,Te-1,-sn*E.get(un,Ft)+bn*E.get(un,Te-1)),E.set(un,Ft,nn)}break}case 2:{var Ht=D[nt-1];D[nt-1]=0;for(var jn=nt;jn<Te;jn++){var Ln=Object(o.a)(d[jn],Ht),Un=d[jn]/Ln,lt=Ht/Ln;if(d[jn]=Ln,Ht=-lt*D[jn],D[jn]=Un*D[jn],T)for(var Nt=0;Nt<m;Nt++)Ln=Un*O.get(Nt,jn)+lt*O.get(Nt,nt-1),O.set(Nt,nt-1,-lt*O.get(Nt,jn)+Un*O.get(Nt,nt-1)),O.set(Nt,jn,Ln)}break}case 3:{var zt=Math.max(Math.abs(d[Te-1]),Math.abs(d[Te-2]),Math.abs(D[Te-2]),Math.abs(d[nt]),Math.abs(D[nt])),en=d[Te-1]/zt,tn=d[Te-2]/zt,wn=D[Te-2]/zt,on=d[nt]/zt,vn=D[nt]/zt,dt=((tn+en)*(tn-en)+wn*wn)/2,ct=en*wn*(en*wn),Kt=0;(dt!==0||ct!==0)&&(dt<0?Kt=0-Math.sqrt(dt*dt+ct):Kt=Math.sqrt(dt*dt+ct),Kt=ct/(dt+Kt));for(var pn=(on+en)*(on-en)+Kt,kn=on*vn,Pt=nt;Pt<Te-1;Pt++){var gn=Object(o.a)(pn,kn);gn===0&&(gn=Number.MIN_VALUE);var _n=pn/gn,Kn=kn/gn;if(Pt!==nt&&(D[Pt-1]=gn),pn=_n*d[Pt]+Kn*D[Pt],D[Pt]=_n*D[Pt]-Kn*d[Pt],kn=Kn*d[Pt+1],d[Pt+1]=_n*d[Pt+1],I)for(var qn=0;qn<h;qn++)gn=_n*E.get(qn,Pt)+Kn*E.get(qn,Pt+1),E.set(qn,Pt+1,-Kn*E.get(qn,Pt)+_n*E.get(qn,Pt+1)),E.set(qn,Pt,gn);if(gn=Object(o.a)(pn,kn),gn===0&&(gn=Number.MIN_VALUE),_n=pn/gn,Kn=kn/gn,d[Pt]=gn,pn=_n*D[Pt]+Kn*d[Pt+1],d[Pt+1]=-Kn*D[Pt]+_n*d[Pt+1],kn=Kn*D[Pt+1],D[Pt+1]=_n*D[Pt+1],T&&Pt<m-1)for(var rr=0;rr<m;rr++)gn=_n*O.get(rr,Pt)+Kn*O.get(rr,Pt+1),O.set(rr,Pt+1,-Kn*O.get(rr,Pt)+_n*O.get(rr,Pt+1)),O.set(rr,Pt,gn)}D[Te-2]=pn,st=st+1;break}case 4:{if(d[nt]<=0&&(d[nt]=d[nt]<0?-d[nt]:0,I))for(var Rn=0;Rn<=qe;Rn++)E.set(Rn,nt,-E.get(Rn,nt));for(;nt<qe&&!(d[nt]>=d[nt+1]);){var mr=d[nt];if(d[nt]=d[nt+1],d[nt+1]=mr,I&&nt<h-1)for(var ar=0;ar<h;ar++)mr=E.get(ar,nt+1),E.set(ar,nt+1,E.get(ar,nt)),E.set(ar,nt,mr);if(T&&nt<m-1)for(var sr=0;sr<m;sr++)mr=O.get(sr,nt+1),O.set(sr,nt+1,O.get(sr,nt)),O.set(sr,nt,mr);nt++}st=0,Te--;break}}}if(Y){var yr=E;E=O,O=yr}this.m=m,this.n=h,this.s=d,this.U=O,this.V=E}return Object(c.a)(a,[{key:"solve",value:function(v){for(var m=v,h=this.threshold,t=this.s.length,l=r.b.zeros(t,t),p=0;p<t;p++)Math.abs(this.s[p])<=h?l.set(p,p,0):l.set(p,p,1/this.s[p]);for(var w=this.U,S=this.rightSingularVectors,k=S.mmul(l),T=S.rows,I=w.rows,Y=r.b.zeros(T,I),$=0;$<T;$++)for(var A=0;A<I;A++){for(var g=0,b=0;b<t;b++)g+=k.get($,b)*w.get(A,b);Y.set($,A,g)}return Y.mmul(m)}},{key:"solveForDiagonal",value:function(v){return this.solve(r.b.diag(v))}},{key:"inverse",value:function(){for(var v=this.V,m=this.threshold,h=v.rows,t=v.columns,l=new r.b(h,this.s.length),p=0;p<h;p++)for(var w=0;w<t;w++)Math.abs(this.s[w])>m&&l.set(p,w,v.get(p,w)/this.s[w]);for(var S=this.U,k=S.rows,T=S.columns,I=new r.b(h,k),Y=0;Y<h;Y++)for(var $=0;$<k;$++){for(var A=0,g=0;g<T;g++)A+=l.get(Y,g)*S.get($,g);I.set(Y,$,A)}return I}},{key:"condition",get:function(){return this.s[0]/this.s[Math.min(this.m,this.n)-1]}},{key:"norm2",get:function(){return this.s[0]}},{key:"rank",get:function(){for(var v=Math.max(this.m,this.n)*this.s[0]*Number.EPSILON,m=0,h=this.s,t=0,l=h.length;t<l;t++)h[t]>v&&m++;return m}},{key:"diagonal",get:function(){return Array.from(this.s)}},{key:"threshold",get:function(){return Number.EPSILON/2*Math.max(this.m,this.n)*this.s[0]}},{key:"leftSingularVectors",get:function(){return this.U}},{key:"rightSingularVectors",get:function(){return this.V}},{key:"diagonalMatrix",get:function(){return r.b.diag(this.s)}}]),a}()},MD5Z:function(Ie,M,e){"use strict";e.d(M,"a",function(){return m}),e.d(M,"rc",function(){return l}),e.d(M,"eb",function(){return p}),e.d(M,"cb",function(){return w}),e.d(M,"fb",function(){return S}),e.d(M,"db",function(){return k}),e.d(M,"h",function(){return T}),e.d(M,"b",function(){return I}),e.d(M,"Dc",function(){return Y}),e.d(M,"Cc",function(){return $}),e.d(M,"Gc",function(){return A}),e.d(M,"jb",function(){return g}),e.d(M,"lb",function(){return b}),e.d(M,"kb",function(){return d}),e.d(M,"hb",function(){return O}),e.d(M,"gb",function(){return E}),e.d(M,"ib",function(){return D}),e.d(M,"pb",function(){return W}),e.d(M,"rb",function(){return te}),e.d(M,"qb",function(){return re}),e.d(M,"sb",function(){return ye}),e.d(M,"ub",function(){return q}),e.d(M,"tb",function(){return oe}),e.d(M,"mb",function(){return he}),e.d(M,"ob",function(){return ue}),e.d(M,"nb",function(){return ne}),e.d(M,"f",function(){return Z}),e.d(M,"e",function(){return ee}),e.d(M,"g",function(){return ce}),e.d(M,"c",function(){return R}),e.d(M,"d",function(){return y}),e.d(M,"tc",function(){return C}),e.d(M,"vc",function(){return z}),e.d(M,"wc",function(){return G}),e.d(M,"uc",function(){return X}),e.d(M,"mc",function(){return pe}),e.d(M,"s",function(){return ae}),e.d(M,"u",function(){return Se}),e.d(M,"t",function(){return Te}),e.d(M,"V",function(){return je}),e.d(M,"X",function(){return ft}),e.d(M,"W",function(){return fe}),e.d(M,"K",function(){return ie}),e.d(M,"M",function(){return ge}),e.d(M,"L",function(){return Ve}),e.d(M,"D",function(){return Ee}),e.d(M,"C",function(){return Me}),e.d(M,"r",function(){return _e}),e.d(M,"B",function(){return Re}),e.d(M,"Y",function(){return et}),e.d(M,"ab",function(){return Xe}),e.d(M,"Z",function(){return it}),e.d(M,"bb",function(){return bt}),e.d(M,"nc",function(){return Ct}),e.d(M,"oc",function(){return Bt}),e.d(M,"qc",function(){return qe}),e.d(M,"ic",function(){return st}),e.d(M,"hc",function(){return ut}),e.d(M,"vb",function(){return nt}),e.d(M,"yb",function(){return kt}),e.d(M,"wb",function(){return Sn}),e.d(M,"xb",function(){return Tt}),e.d(M,"R",function(){return ht}),e.d(M,"S",function(){return Rt}),e.d(M,"J",function(){return Ft}),e.d(M,"T",function(){return nn}),e.d(M,"U",function(){return bn}),e.d(M,"v",function(){return sn}),e.d(M,"x",function(){return un}),e.d(M,"z",function(){return Ht}),e.d(M,"w",function(){return jn}),e.d(M,"y",function(){return Ln}),e.d(M,"A",function(){return Un}),e.d(M,"H",function(){return lt}),e.d(M,"E",function(){return Nt}),e.d(M,"G",function(){return zt}),e.d(M,"F",function(){return en}),e.d(M,"I",function(){return tn}),e.d(M,"q",function(){return wn}),e.d(M,"O",function(){return on}),e.d(M,"N",function(){return vn}),e.d(M,"Q",function(){return dt}),e.d(M,"P",function(){return ct}),e.d(M,"i",function(){return Kt}),e.d(M,"j",function(){return pn}),e.d(M,"m",function(){return kn}),e.d(M,"o",function(){return Pt}),e.d(M,"n",function(){return gn}),e.d(M,"p",function(){return _n}),e.d(M,"k",function(){return Kn}),e.d(M,"l",function(){return qn}),e.d(M,"Fb",function(){return rr}),e.d(M,"Gb",function(){return Rn}),e.d(M,"Hb",function(){return mr}),e.d(M,"zb",function(){return ar}),e.d(M,"Ab",function(){return sr}),e.d(M,"Nb",function(){return yr}),e.d(M,"Ob",function(){return br}),e.d(M,"Lb",function(){return _r}),e.d(M,"Mb",function(){return li}),e.d(M,"Jb",function(){return xi}),e.d(M,"Kb",function(){return Mi}),e.d(M,"Bb",function(){return Fr}),e.d(M,"Ib",function(){return ur}),e.d(M,"Cb",function(){return Ti}),e.d(M,"Eb",function(){return Xi}),e.d(M,"Db",function(){return ca}),e.d(M,"Fc",function(){return Zi}),e.d(M,"Bc",function(){return xa}),e.d(M,"pc",function(){return Ma}),e.d(M,"Qb",function(){return _a}),e.d(M,"Rb",function(){return na}),e.d(M,"Pb",function(){return sa}),e.d(M,"Ub",function(){return Ai}),e.d(M,"Sb",function(){return ba}),e.d(M,"Tb",function(){return ea}),e.d(M,"Vb",function(){return mn}),e.d(M,"zc",function(){return It}),e.d(M,"Ac",function(){return Ue}),e.d(M,"xc",function(){return Ze}),e.d(M,"yc",function(){return Pe}),e.d(M,"fc",function(){return mt}),e.d(M,"gc",function(){return xt}),e.d(M,"Yb",function(){return cn}),e.d(M,"Zb",function(){return Ut}),e.d(M,"Xb",function(){return wt}),e.d(M,"dc",function(){return Pn}),e.d(M,"Wb",function(){return an}),e.d(M,"bc",function(){return Dn}),e.d(M,"cc",function(){return Tn}),e.d(M,"ac",function(){return Zn}),e.d(M,"jc",function(){return Mr}),e.d(M,"lc",function(){return xr}),e.d(M,"kc",function(){return Vr}),e.d(M,"Ec",function(){return gt}),e.d(M,"ec",function(){return Rr}),e.d(M,"sc",function(){return ai});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("ic2d"),o=e("zrhQ"),i=e("MI8n"),a=e("3/fG"),n=e("3Rsk"),v=e("X+cX"),m={ColorContribution:"base.contributions.colors"},h=function(){function hi(){Object(c.a)(this,hi),this._onDidChangeSchema=new i.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}return Object(r.a)(hi,[{key:"registerColor",value:function(Ii,Mn,nr){var cr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Lr=arguments.length>4?arguments[4]:void 0,ei={id:Ii,description:nr,defaults:Mn,needsTransparency:cr,deprecationMessage:Lr};this.colorsById[Ii]=ei;var ki={type:"string",description:nr,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return Lr&&(ki.deprecationMessage=Lr),this.colorSchema.properties[Ii]=ki,this.colorReferenceSchema.enum.push(Ii),this.colorReferenceSchema.enumDescriptions.push(nr),this._onDidChangeSchema.fire(),Ii}},{key:"resolveDefaultColor",value:function(Ii,Mn){var nr=this.colorsById[Ii];if(nr&&nr.defaults){var cr=nr.defaults[Mn.type];return ai(cr,Mn)}}},{key:"getColorSchema",value:function(){return this.colorSchema}},{key:"toString",value:function(){var Ii=this,Mn=function(cr,Lr){var ei=cr.indexOf(".")===-1?0:1,ki=Lr.indexOf(".")===-1?0:1;return ei!==ki?ei-ki:cr.localeCompare(Lr)};return Object.keys(this.colorsById).sort(Mn).map(function(nr){return"- `".concat(nr,"`: ").concat(Ii.colorsById[nr].description)}).join(`
- `)}}]),hi}(),t=new h;f.a.add(m.ColorContribution,t);function l(hi,Ci,Ii,Mn,nr){return t.registerColor(hi,Ci,Ii,Mn,nr)}var p=l("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},a.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),w=l("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},a.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),S=l("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},a.a("iconForeground","The default color for icons in the workbench.")),k=l("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},a.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),T=l("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},a.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),I=l("contrastActiveBorder",{light:null,dark:null,hc:k},a.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),Y=l("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},a.a("textLinkForeground","Foreground color for links in text.")),$=l("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:o.a.black},a.a("textCodeBlockBackground","Background color for code blocks in text.")),A=l("widget.shadow",{dark:gt(o.a.black,.36),light:gt(o.a.black,.16),hc:null},a.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),g=l("input.background",{dark:"#3C3C3C",light:o.a.white,hc:o.a.black},a.a("inputBoxBackground","Input box background.")),b=l("input.foreground",{dark:p,light:p,hc:p},a.a("inputBoxForeground","Input box foreground.")),d=l("input.border",{dark:null,light:null,hc:T},a.a("inputBoxBorder","Input box border.")),O=l("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:T},a.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),E=l("inputOption.activeBackground",{dark:gt(k,.4),light:gt(k,.2),hc:o.a.transparent},a.a("inputOption.activeBackground","Background color of activated options in input fields.")),D=l("inputOption.activeForeground",{dark:o.a.white,light:o.a.black,hc:null},a.a("inputOption.activeForeground","Foreground color of activated options in input fields.")),W=l("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:o.a.black},a.a("inputValidationInfoBackground","Input validation background color for information severity.")),te=l("inputValidation.infoForeground",{dark:null,light:null,hc:null},a.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),re=l("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:T},a.a("inputValidationInfoBorder","Input validation border color for information severity.")),ye=l("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},a.a("inputValidationWarningBackground","Input validation background color for warning severity.")),q=l("inputValidation.warningForeground",{dark:null,light:null,hc:null},a.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),oe=l("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:T},a.a("inputValidationWarningBorder","Input validation border color for warning severity.")),he=l("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:o.a.black},a.a("inputValidationErrorBackground","Input validation background color for error severity.")),ue=l("inputValidation.errorForeground",{dark:null,light:null,hc:null},a.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),ne=l("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:T},a.a("inputValidationErrorBorder","Input validation border color for error severity.")),se=l("dropdown.background",{dark:"#3C3C3C",light:o.a.white,hc:o.a.black},a.a("dropdownBackground","Dropdown background.")),be=l("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:o.a.white},a.a("dropdownForeground","Dropdown foreground.")),Z=l("button.foreground",{dark:o.a.white,light:o.a.white,hc:o.a.white},a.a("buttonForeground","Button foreground color.")),ee=l("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},a.a("buttonBackground","Button background color.")),ce=l("button.hoverBackground",{dark:dr(ee,.2),light:Dr(ee,.2),hc:null},a.a("buttonHoverBackground","Button background color when hovering.")),R=l("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:o.a.black},a.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),y=l("badge.foreground",{dark:o.a.white,light:"#333",hc:o.a.white},a.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),C=l("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},a.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),z=l("scrollbarSlider.background",{dark:o.a.fromHex("#797979").transparent(.4),light:o.a.fromHex("#646464").transparent(.4),hc:gt(T,.6)},a.a("scrollbarSliderBackground","Scrollbar slider background color.")),G=l("scrollbarSlider.hoverBackground",{dark:o.a.fromHex("#646464").transparent(.7),light:o.a.fromHex("#646464").transparent(.7),hc:gt(T,.8)},a.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),X=l("scrollbarSlider.activeBackground",{dark:o.a.fromHex("#BFBFBF").transparent(.4),light:o.a.fromHex("#000000").transparent(.6),hc:T},a.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),pe=l("progressBar.background",{dark:o.a.fromHex("#0E70C0"),light:o.a.fromHex("#0E70C0"),hc:T},a.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),ae=l("editorError.background",{dark:null,light:null,hc:null},a.a("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Se=l("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},a.a("editorError.foreground","Foreground color of error squigglies in the editor.")),Te=l("editorError.border",{dark:null,light:null,hc:o.a.fromHex("#E47777").transparent(.8)},a.a("errorBorder","Border color of error boxes in the editor.")),je=l("editorWarning.background",{dark:null,light:null,hc:null},a.a("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),ft=l("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hc:null},a.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),fe=l("editorWarning.border",{dark:null,light:null,hc:o.a.fromHex("#FFCC00").transparent(.8)},a.a("warningBorder","Border color of warning boxes in the editor.")),ie=l("editorInfo.background",{dark:null,light:null,hc:null},a.a("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),ge=l("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},a.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),Ve=l("editorInfo.border",{dark:null,light:null,hc:o.a.fromHex("#75BEFF").transparent(.8)},a.a("infoBorder","Border color of info boxes in the editor.")),Ee=l("editorHint.foreground",{dark:o.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},a.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),Me=l("editorHint.border",{dark:null,light:null,hc:o.a.fromHex("#eeeeee").transparent(.8)},a.a("hintBorder","Border color of hint boxes in the editor.")),_e=l("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:o.a.black},a.a("editorBackground","Editor background color.")),Re=l("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:o.a.white},a.a("editorForeground","Editor default foreground color.")),et=l("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},a.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),Xe=l("editorWidget.foreground",{dark:p,light:p,hc:p},a.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),it=l("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:T},a.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),bt=l("editorWidget.resizeBorder",{light:null,dark:null,hc:null},a.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),Ct=l("quickInput.background",{dark:et,light:et,hc:et},a.a("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),Bt=l("quickInput.foreground",{dark:Xe,light:Xe,hc:Xe},a.a("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),qe=l("quickInputTitle.background",{dark:new o.a(new o.c(255,255,255,.105)),light:new o.a(new o.c(0,0,0,.06)),hc:"#000000"},a.a("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),st=l("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:o.a.white},a.a("pickerGroupForeground","Quick picker color for grouping labels.")),ut=l("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:o.a.white},a.a("pickerGroupBorder","Quick picker color for grouping borders.")),nt=l("keybindingLabel.background",{dark:new o.a(new o.c(128,128,128,.17)),light:new o.a(new o.c(221,221,221,.4)),hc:o.a.transparent},a.a("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),kt=l("keybindingLabel.foreground",{dark:o.a.fromHex("#CCCCCC"),light:o.a.fromHex("#555555"),hc:o.a.white},a.a("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),Sn=l("keybindingLabel.border",{dark:new o.a(new o.c(51,51,51,.6)),light:new o.a(new o.c(204,204,204,.4)),hc:new o.a(new o.c(111,195,223))},a.a("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),Tt=l("keybindingLabel.bottomBorder",{dark:new o.a(new o.c(68,68,68,.6)),light:new o.a(new o.c(187,187,187,.4)),hc:new o.a(new o.c(111,195,223))},a.a("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),ht=l("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},a.a("editorSelectionBackground","Color of the editor selection.")),Rt=l("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},a.a("editorSelectionForeground","Color of the selected text for high contrast.")),Ft=l("editor.inactiveSelectionBackground",{light:gt(ht,.5),dark:gt(ht,.5),hc:gt(ht,.5)},a.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),nn=l("editor.selectionHighlightBackground",{light:ci(ht,_e,.3,.6),dark:ci(ht,_e,.3,.6),hc:null},a.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),bn=l("editor.selectionHighlightBorder",{light:null,dark:null,hc:I},a.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),sn=l("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},a.a("editorFindMatch","Color of the current search match.")),un=l("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},a.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),Ht=l("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},a.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),jn=l("editor.findMatchBorder",{light:null,dark:null,hc:I},a.a("editorFindMatchBorder","Border color of the current search match.")),Ln=l("editor.findMatchHighlightBorder",{light:null,dark:null,hc:I},a.a("findMatchHighlightBorder","Border color of the other search matches.")),Un=l("editor.findRangeHighlightBorder",{dark:null,light:null,hc:gt(I,.4)},a.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),lt=l("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},a.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),Nt=l("editorHoverWidget.background",{light:et,dark:et,hc:et},a.a("hoverBackground","Background color of the editor hover.")),zt=l("editorHoverWidget.foreground",{light:Xe,dark:Xe,hc:Xe},a.a("hoverForeground","Foreground color of the editor hover.")),en=l("editorHoverWidget.border",{light:it,dark:it,hc:it},a.a("hoverBorder","Border color of the editor hover.")),tn=l("editorHoverWidget.statusBarBackground",{dark:dr(Nt,.2),light:Dr(Nt,.05),hc:et},a.a("statusBarBackground","Background color of the editor hover status bar.")),wn=l("editorLink.activeForeground",{dark:"#4E94CE",light:o.a.blue,hc:o.a.cyan},a.a("activeLinkForeground","Color of active links.")),on=l("editorInlineHint.foreground",{dark:et,light:Xe,hc:et},a.a("editorInlineHintForeground","Foreground color of inline hints")),vn=l("editorInlineHint.background",{dark:Xe,light:et,hc:Xe},a.a("editorInlineHintBackground","Background color of inline hints")),dt=l("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},a.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),ct=l("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},a.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),Kt=new o.a(new o.c(155,185,85,.2)),pn=new o.a(new o.c(255,0,0,.2)),kn=l("diffEditor.insertedTextBackground",{dark:Kt,light:Kt,hc:null},a.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Pt=l("diffEditor.removedTextBackground",{dark:pn,light:pn,hc:null},a.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),gn=l("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},a.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),_n=l("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},a.a("diffEditorRemovedOutline","Outline color for text that got removed.")),Kn=l("diffEditor.border",{dark:null,light:null,hc:T},a.a("diffEditorBorder","Border color between the two text editors.")),qn=l("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},a.a("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),rr=l("list.focusBackground",{dark:null,light:null,hc:null},a.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Rn=l("list.focusForeground",{dark:null,light:null,hc:null},a.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),mr=l("list.focusOutline",{dark:k,light:k,hc:I},a.a("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ar=l("list.activeSelectionBackground",{dark:"#094771",light:"#0060C0",hc:null},a.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),sr=l("list.activeSelectionForeground",{dark:o.a.white,light:o.a.white,hc:null},a.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),yr=l("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},a.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),br=l("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},a.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),_r=l("list.inactiveFocusBackground",{dark:null,light:null,hc:null},a.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),li=l("list.inactiveFocusOutline",{dark:null,light:null,hc:null},a.a("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),xi=l("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},a.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),Mi=l("list.hoverForeground",{dark:null,light:null,hc:null},a.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Fr=l("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},a.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),ur=l("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:k},a.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),Ti=l("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:o.a.black},a.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),Xi=l("listFilterWidget.outline",{dark:o.a.transparent,light:o.a.transparent,hc:"#f38518"},a.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),ca=l("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:T},a.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),Zi=l("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},a.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),xa=l("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hc:null},a.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),va=l("quickInput.list.focusBackground",{dark:null,light:null,hc:null},"",void 0,a.a("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead")),Ma=l("quickInputList.focusBackground",{dark:Rr(va,rr,"#062F4A"),light:Rr(va,rr,"#D6EBFF"),hc:null},a.a("quickInput.listFocusBackground","Quick picker background color for the focused item.")),_a=l("menu.border",{dark:null,light:null,hc:T},a.a("menuBorder","Border color of menus.")),na=l("menu.foreground",{dark:be,light:p,hc:be},a.a("menuForeground","Foreground color of menu items.")),sa=l("menu.background",{dark:se,light:se,hc:se},a.a("menuBackground","Background color of menu items.")),Ai=l("menu.selectionForeground",{dark:sr,light:sr,hc:sr},a.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),ba=l("menu.selectionBackground",{dark:ar,light:ar,hc:ar},a.a("menuSelectionBackground","Background color of the selected menu item in menus.")),ea=l("menu.selectionBorder",{dark:null,light:null,hc:I},a.a("menuSelectionBorder","Border color of the selected menu item in menus.")),mn=l("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:T},a.a("menuSeparatorBackground","Color of a separator menu item in menus.")),It=l("editor.snippetTabstopHighlightBackground",{dark:new o.a(new o.c(124,124,124,.3)),light:new o.a(new o.c(10,50,100,.2)),hc:new o.a(new o.c(124,124,124,.3))},a.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),Ue=l("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},a.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),Ze=l("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},a.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),Pe=l("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.a(new o.c(10,50,100,.5)),hc:"#525252"},a.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),mt=l("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},a.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),xt=l("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},a.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),cn=l("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},a.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),Ut=l("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},a.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),wt=l("minimap.errorHighlight",{dark:new o.a(new o.c(255,18,18,.7)),light:new o.a(new o.c(255,18,18,.7)),hc:new o.a(new o.c(255,50,50,1))},a.a("minimapError","Minimap marker color for errors.")),Pn=l("minimap.warningHighlight",{dark:ft,light:ft,hc:fe},a.a("overviewRuleWarning","Minimap marker color for warnings.")),an=l("minimap.background",{dark:null,light:null,hc:null},a.a("minimapBackground","Minimap background color.")),Dn=l("minimapSlider.background",{light:gt(z,.5),dark:gt(z,.5),hc:gt(z,.5)},a.a("minimapSliderBackground","Minimap slider background color.")),Tn=l("minimapSlider.hoverBackground",{light:gt(G,.5),dark:gt(G,.5),hc:gt(G,.5)},a.a("minimapSliderHoverBackground","Minimap slider background color when hovering.")),Zn=l("minimapSlider.activeBackground",{light:gt(X,.5),dark:gt(X,.5),hc:gt(X,.5)},a.a("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),Mr=l("problemsErrorIcon.foreground",{dark:Se,light:Se,hc:Se},a.a("problemsErrorIconForeground","The color used for the problems error icon.")),xr=l("problemsWarningIcon.foreground",{dark:ft,light:ft,hc:ft},a.a("problemsWarningIconForeground","The color used for the problems warning icon.")),Vr=l("problemsInfoIcon.foreground",{dark:ge,light:ge,hc:ge},a.a("problemsInfoIconForeground","The color used for the problems info icon."));function Dr(hi,Ci){return function(Ii){var Mn=ai(hi,Ii);if(Mn)return Mn.darken(Ci)}}function dr(hi,Ci){return function(Ii){var Mn=ai(hi,Ii);if(Mn)return Mn.lighten(Ci)}}function gt(hi,Ci){return function(Ii){var Mn=ai(hi,Ii);if(Mn)return Mn.transparent(Ci)}}function Rr(){for(var hi=arguments.length,Ci=new Array(hi),Ii=0;Ii<hi;Ii++)Ci[Ii]=arguments[Ii];return function(Mn){var nr=Object(u.a)(Ci),cr;try{for(nr.s();!(cr=nr.n()).done;){var Lr=cr.value,ei=ai(Lr,Mn);if(ei)return ei}}catch(ki){nr.e(ki)}finally{nr.f()}}}function ci(hi,Ci,Ii,Mn){return function(nr){var cr=ai(hi,nr);if(cr){var Lr=ai(Ci,nr);return Lr?cr.isDarkerThan(Lr)?o.a.getLighterColor(cr,Lr,Ii).transparent(Mn):o.a.getDarkerColor(cr,Lr,Ii).transparent(Mn):cr.transparent(Ii*Mn)}}}function ai(hi,Ci){if(hi!==null){if(typeof hi=="string")return hi[0]==="#"?o.a.fromHex(hi):Ci.getColor(hi);if(hi instanceof o.a)return hi;if(typeof hi=="function")return hi(Ci)}}var bi="vscode://schemas/workbench-colors",zr=f.a.as(n.a.JSONContribution);zr.registerSchema(bi,t.getColorSchema());var Hi=new v.e(function(){return zr.notifySchemaChanged(bi)},200);t.onDidChangeSchema(function(){Hi.isScheduled()||Hi.schedule()})},MI8n:function(Ie,M,e){"use strict";e.d(M,"b",function(){return p}),e.d(M,"a",function(){return T}),e.d(M,"d",function(){return I}),e.d(M,"c",function(){return Y}),e.d(M,"e",function(){return $});var u=e("w4Tj"),c=e("oZsa"),r=e("yKVA"),f=e("879j"),o=e("rAM+"),i=e("tJVT"),a=e("fWQN"),n=e("mtLc"),v=e("oBTY"),m=e("/cxE"),h=e("pmY6"),t=e("24hK"),l=e("5Y4S"),p;(function(A){A.None=function(){return h.a.None};function g(ee){return function(ce){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=arguments.length>2?arguments[2]:void 0,C=!1,z;return z=ee(function(G){if(!C)return z?z.dispose():C=!0,ce.call(R,G)},null,y),C&&z.dispose(),z}}A.once=g;function b(ee,ce){return te(function(R){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=arguments.length>2?arguments[2]:void 0;return ee(function(z){return R.call(y,ce(z))},null,C)})}A.map=b;function d(ee,ce){return te(function(R){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=arguments.length>2?arguments[2]:void 0;return ee(function(z){ce(z),R.call(y,z)},null,C)})}A.forEach=d;function O(ee,ce){return te(function(R){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=arguments.length>2?arguments[2]:void 0;return ee(function(z){return ce(z)&&R.call(y,z)},null,C)})}A.filter=O;function E(ee){return ee}A.signal=E;function D(){for(var ee=arguments.length,ce=new Array(ee),R=0;R<ee;R++)ce[R]=arguments[R];return function(y){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,z=arguments.length>2?arguments[2]:void 0;return h.e.apply(void 0,Object(v.a)(ce.map(function(G){return G(function(X){return y.call(C,X)},null,z)})))}}A.any=D;function W(ee,ce,R){var y=R;return b(ee,function(C){return y=ce(y,C),y})}A.reduce=W;function te(ee){var ce,R=new T({onFirstListenerAdd:function(){ce=ee(R.fire,R)},onLastListenerRemove:function(){ce.dispose()}});return R.event}A.snapshot=te;function re(ee,ce){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:100,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,C=arguments.length>4?arguments[4]:void 0,z,G=void 0,X=void 0,pe=0,ae=new T({leakWarningThreshold:C,onFirstListenerAdd:function(){z=ee(function(Te){pe++,G=ce(G,Te),y&&!X&&(ae.fire(G),G=void 0),clearTimeout(X),X=setTimeout(function(){var je=G;G=void 0,X=void 0,(!y||pe>1)&&ae.fire(je),pe=0},R)})},onLastListenerRemove:function(){z.dispose()}});return ae.event}A.debounce=re;function ye(ee){var ce=new Date().getTime();return b(g(ee),function(R){return new Date().getTime()-ce})}A.stopwatch=ye;function q(ee){var ce=!0,R;return O(ee,function(y){var C=ce||y!==R;return ce=!1,R=y,C})}A.latch=q;function oe(ee){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],y=R.slice(),C=ee(function(X){y?y.push(X):G.fire(X)}),z=function(){y&&y.forEach(function(pe){return G.fire(pe)}),y=null},G=new T({onFirstListenerAdd:function(){C||(C=ee(function(pe){return G.fire(pe)}))},onFirstListenerDidAdd:function(){y&&(ce?setTimeout(z):z())},onLastListenerRemove:function(){C&&C.dispose(),C=null}});return G.event}A.buffer=oe;var he=function(){function ee(ce){Object(a.a)(this,ee),this.event=ce}return Object(n.a)(ee,[{key:"map",value:function(R){return new ee(b(this.event,R))}},{key:"forEach",value:function(R){return new ee(d(this.event,R))}},{key:"filter",value:function(R){return new ee(O(this.event,R))}},{key:"reduce",value:function(R,y){return new ee(W(this.event,R,y))}},{key:"latch",value:function(){return new ee(q(this.event))}},{key:"debounce",value:function(R){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,z=arguments.length>3?arguments[3]:void 0;return new ee(re(this.event,R,y,C,z))}},{key:"on",value:function(R,y,C){return this.event(R,y,C)}},{key:"once",value:function(R,y,C){return g(this.event)(R,y,C)}}]),ee}();function ue(ee){return new he(ee)}A.chain=ue;function ne(ee,ce){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(X){return X},y=function(){return G.fire(R.apply(void 0,arguments))},C=function(){return ee.on(ce,y)},z=function(){return ee.removeListener(ce,y)},G=new T({onFirstListenerAdd:C,onLastListenerRemove:z});return G.event}A.fromNodeEventEmitter=ne;function se(ee,ce){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(X){return X},y=function(){return G.fire(R.apply(void 0,arguments))},C=function(){return ee.addEventListener(ce,y)},z=function(){return ee.removeEventListener(ce,y)},G=new T({onFirstListenerAdd:C,onLastListenerRemove:z});return G.event}A.fromDOMEventEmitter=se;function be(ee){var ce=new T,R=!1;return ee.then(void 0,function(){return null}).then(function(){R?ce.fire(void 0):setTimeout(function(){return ce.fire(void 0)},0)}),R=!0,ce.event}A.fromPromise=be;function Z(ee){return new Promise(function(ce){return g(ee)(ce)})}A.toPromise=Z})(p||(p={}));var w=function(){function A(g){Object(a.a)(this,A),this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name="".concat(g,"_").concat(A._idPool++)}return Object(n.a)(A,[{key:"start",value:function(b){this._stopWatch=new l.a(!0),this._listenerCount=b}},{key:"stop",value:function(){if(this._stopWatch){var b=this._stopWatch.elapsed();this._elapsedOverall+=b,this._invocationCount+=1,console.info("did FIRE ".concat(this._name,": elapsed_ms: ").concat(b.toFixed(5),", listener: ").concat(this._listenerCount," (elapsed_overall: ").concat(this._elapsedOverall.toFixed(2),", invocations: ").concat(this._invocationCount,")")),this._stopWatch=void 0}}}]),A}();w._idPool=0;var S=-1,k=function(){function A(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Math.random().toString(18).slice(2,5);Object(a.a)(this,A),this.customThreshold=g,this.name=b,this._warnCountdown=0}return Object(n.a)(A,[{key:"dispose",value:function(){this._stacks&&this._stacks.clear()}},{key:"check",value:function(b){var d=this,O=S;if(typeof this.customThreshold=="number"&&(O=this.customThreshold),!(O<=0||b<O)){this._stacks||(this._stacks=new Map);var E=new Error().stack.split(`
- `).slice(3).join(`
- `),D=this._stacks.get(E)||0;if(this._stacks.set(E,D+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=O*.5;var W,te=0,re=Object(o.a)(this._stacks),ye;try{for(re.s();!(ye=re.n()).done;){var q=ye.value,oe=Object(i.a)(q,2),he=oe[0],ue=oe[1];(!W||te<ue)&&(W=he,te=ue)}}catch(ne){re.e(ne)}finally{re.f()}console.warn("[".concat(this.name,"] potential listener LEAK detected, having ").concat(b," listeners already. MOST frequent listener (").concat(te,"):")),console.warn(W)}return function(){var ne=d._stacks.get(E)||0;d._stacks.set(E,ne-1)}}}}]),A}(),T=function(){function A(g){Object(a.a)(this,A);var b;this._disposed=!1,this._options=g,this._leakageMon=S>0?new k(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=((b=this._options)===null||b===void 0?void 0:b._profName)?new w(this._options._profName):void 0}return Object(n.a)(A,[{key:"event",get:function(){var b=this;return this._event||(this._event=function(d,O,E){var D;b._listeners||(b._listeners=new t.a);var W=b._listeners.isEmpty();W&&b._options&&b._options.onFirstListenerAdd&&b._options.onFirstListenerAdd(b);var te=b._listeners.push(O?[d,O]:d);W&&b._options&&b._options.onFirstListenerDidAdd&&b._options.onFirstListenerDidAdd(b),b._options&&b._options.onListenerDidAdd&&b._options.onListenerDidAdd(b,d,O);var re=(D=b._leakageMon)===null||D===void 0?void 0:D.check(b._listeners.size),ye;return ye={dispose:function(){if(re&&re(),ye.dispose=A._noop,!b._disposed&&(te(),b._options&&b._options.onLastListenerRemove)){var oe=b._listeners&&!b._listeners.isEmpty();oe||b._options.onLastListenerRemove(b)}}},E instanceof h.b?E.add(ye):Array.isArray(E)&&E.push(ye),ye}),this._event}},{key:"fire",value:function(b){var d,O;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new t.a);var E=Object(o.a)(this._listeners),D;try{for(E.s();!(D=E.n()).done;){var W=D.value;this._deliveryQueue.push([W,b])}}catch(oe){E.e(oe)}finally{E.f()}for((d=this._perfMon)===null||d===void 0||d.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){var te=this._deliveryQueue.shift(),re=Object(i.a)(te,2),ye=re[0],q=re[1];try{typeof ye=="function"?ye.call(void 0,q):ye[0].call(ye[1],q)}catch(oe){Object(m.e)(oe)}}(O=this._perfMon)===null||O===void 0||O.stop()}}},{key:"dispose",value:function(){var b,d,O;(b=this._listeners)===null||b===void 0||b.clear(),(d=this._deliveryQueue)===null||d===void 0||d.clear(),(O=this._leakageMon)===null||O===void 0||O.dispose(),this._disposed=!0}}]),A}();T._noop=function(){};var I=function(A){Object(r.a)(b,A);var g=Object(f.a)(b);function b(d){var O;return Object(a.a)(this,b),O=g.call(this,d),O._isPaused=0,O._eventQueue=new t.a,O._mergeFn=d==null?void 0:d.merge,O}return Object(n.a)(b,[{key:"pause",value:function(){this._isPaused++}},{key:"resume",value:function(){if(this._isPaused!==0&&--this._isPaused==0)if(this._mergeFn){var O=Array.from(this._eventQueue);this._eventQueue.clear(),Object(u.a)(Object(c.a)(b.prototype),"fire",this).call(this,this._mergeFn(O))}else for(;!this._isPaused&&this._eventQueue.size!==0;)Object(u.a)(Object(c.a)(b.prototype),"fire",this).call(this,this._eventQueue.shift())}},{key:"fire",value:function(O){this._listeners&&(this._isPaused!==0?this._eventQueue.push(O):Object(u.a)(Object(c.a)(b.prototype),"fire",this).call(this,O))}}]),b}(T),Y=function(){function A(){Object(a.a)(this,A),this.buffers=[]}return Object(n.a)(A,[{key:"wrapEvent",value:function(b){var d=this;return function(O,E,D){return b(function(W){var te=d.buffers[d.buffers.length-1];te?te.push(function(){return O.call(E,W)}):O.call(E,W)},void 0,D)}}},{key:"bufferEvents",value:function(b){var d=[];this.buffers.push(d);var O=b();return this.buffers.pop(),d.forEach(function(E){return E()}),O}}]),A}(),$=function(){function A(){var g=this;Object(a.a)(this,A),this.listening=!1,this.inputEvent=p.None,this.inputEventListener=h.a.None,this.emitter=new T({onFirstListenerDidAdd:function(){g.listening=!0,g.inputEventListener=g.inputEvent(g.emitter.fire,g.emitter)},onLastListenerRemove:function(){g.listening=!1,g.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object(n.a)(A,[{key:"input",set:function(b){this.inputEvent=b,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=b(this.emitter.fire,this.emitter))}},{key:"dispose",value:function(){this.inputEventListener.dispose(),this.emitter.dispose()}}]),A}()},MJZm:function(Ie,M,e){"use strict";var u=e("fAei"),c=e("rePB"),r=e("U8pU"),f=e("wx14"),o=e("VTBJ"),i=e("q1tI"),a=e.n(i),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},v=n,m=e("6VBw"),h=function(X,pe){return i.createElement(m.a,Object(o.a)(Object(o.a)({},X),{},{ref:pe,icon:v}))};h.displayName="HolderOutlined";var t=i.forwardRef(h),l=e("TSYQ"),p=e.n(l),w=e("H84U"),S=e("EXcs"),k=4;function T(G){var X,pe=G.dropPosition,ae=G.dropLevelOffset,Se=G.prefixCls,Te=G.indent,je=G.direction,ft=je===void 0?"ltr":je,fe=ft==="ltr"?"left":"right",ie=ft==="ltr"?"right":"left",ge=(X={},Object(c.a)(X,fe,-ae*Te+k),Object(c.a)(X,ie,0),X);switch(pe){case-1:ge.top=-3;break;case 1:ge.bottom=-3;break;default:ge.bottom=-3,ge[fe]=Te+k;break}return a.a.createElement("div",{style:ge,className:"".concat(Se,"-drop-indicator")})}var I=e("2jpz"),Y=i.forwardRef(function(G,X){var pe,ae=i.useContext(w.b),Se=ae.getPrefixCls,Te=ae.direction,je=ae.virtual,ft=G.prefixCls,fe=G.className,ie=G.showIcon,ge=ie===void 0?!1:ie,Ve=G.showLine,Ee=G.switcherIcon,Me=G.blockNode,_e=Me===void 0?!1:Me,Re=G.children,et=G.checkable,Xe=et===void 0?!1:et,it=G.selectable,bt=it===void 0?!0:it,Ct=G.draggable,Bt=G.motion,qe=Bt===void 0?Object(f.a)(Object(f.a)({},S.a),{motionAppear:!1}):Bt,st=Se("tree",ft),ut=Object(f.a)(Object(f.a)({},G),{checkable:Xe,selectable:bt,showIcon:ge,motion:qe,blockNode:_e,showLine:Boolean(Ve),dropIndicatorRender:T}),nt=i.useMemo(function(){if(!Ct)return!1;var kt={};switch(Object(r.a)(Ct)){case"function":kt.nodeDraggable=Ct;break;case"object":kt=Object(f.a)({},Ct);break;default:break}return kt.icon!==!1&&(kt.icon=kt.icon||i.createElement(t,null)),kt},[Ct]);return i.createElement(u.b,Object(f.a)({itemHeight:20,ref:X,virtual:je},ut,{prefixCls:st,className:p()((pe={},Object(c.a)(pe,"".concat(st,"-icon-hide"),!ge),Object(c.a)(pe,"".concat(st,"-block-node"),_e),Object(c.a)(pe,"".concat(st,"-unselectable"),!bt),Object(c.a)(pe,"".concat(st,"-rtl"),Te==="rtl"),pe),fe),direction:Te,checkable:Xe&&i.createElement("span",{className:"".concat(st,"-checkbox-inner")}),selectable:bt,switcherIcon:function(Sn){return Object(I.a)(st,Ee,Ve,Sn)},draggable:nt}),Re)}),$=Y,A=e("KQm4"),g=e("ODXe"),b=e("9jjd"),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},O=d,E=function(X,pe){return i.createElement(m.a,Object(o.a)(Object(o.a)({},X),{},{ref:pe,icon:O}))};E.displayName="FolderOpenOutlined";var D=i.forwardRef(E),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},te=W,re=function(X,pe){return i.createElement(m.a,Object(o.a)(Object(o.a)({},X),{},{ref:pe,icon:te}))};re.displayName="FolderOutlined";var ye=i.forwardRef(re),q=e("OZM5"),oe=e("815F"),he;(function(G){G[G.None=0]="None",G[G.Start=1]="Start",G[G.End=2]="End"})(he||(he={}));function ue(G,X){function pe(ae){var Se=ae.key,Te=ae.children;X(Se,ae)!==!1&&ue(Te||[],X)}G.forEach(pe)}function ne(G){var X=G.treeData,pe=G.expandedKeys,ae=G.startKey,Se=G.endKey,Te=[],je=he.None;if(ae&&ae===Se)return[ae];if(!ae||!Se)return[];function ft(fe){return fe===ae||fe===Se}return ue(X,function(fe){if(je===he.End)return!1;if(ft(fe)){if(Te.push(fe),je===he.None)je=he.Start;else if(je===he.Start)return je=he.End,!1}else je===he.Start&&Te.push(fe);return pe.includes(fe)}),Te}function se(G,X){var pe=Object(A.a)(X),ae=[];return ue(G,function(Se,Te){var je=pe.indexOf(Se);return je!==-1&&(ae.push(Te),pe.splice(je,1)),!!pe.length}),ae}var be=function(G,X){var pe={};for(var ae in G)Object.prototype.hasOwnProperty.call(G,ae)&&X.indexOf(ae)<0&&(pe[ae]=G[ae]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ae=Object.getOwnPropertySymbols(G);Se<ae.length;Se++)X.indexOf(ae[Se])<0&&Object.prototype.propertyIsEnumerable.call(G,ae[Se])&&(pe[ae[Se]]=G[ae[Se]]);return pe};function Z(G){var X=G.isLeaf,pe=G.expanded;return X?i.createElement(b.a,null):pe?i.createElement(D,null):i.createElement(ye,null)}function ee(G){var X=G.treeData,pe=G.children;return X||Object(oe.c)(pe)}var ce=function(X,pe){var ae=X.defaultExpandAll,Se=X.defaultExpandParent,Te=X.defaultExpandedKeys,je=be(X,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),ft=i.useRef(),fe=i.useRef(),ie=function(){var bn=Object(oe.a)(ee(je)),sn=bn.keyEntities,un;return ae?un=Object.keys(sn):Se?un=Object(q.e)(je.expandedKeys||Te||[],sn):un=je.expandedKeys||Te,un},ge=i.useState(je.selectedKeys||je.defaultSelectedKeys||[]),Ve=Object(g.a)(ge,2),Ee=Ve[0],Me=Ve[1],_e=i.useState(function(){return ie()}),Re=Object(g.a)(_e,2),et=Re[0],Xe=Re[1];i.useEffect(function(){"selectedKeys"in je&&Me(je.selectedKeys)},[je.selectedKeys]),i.useEffect(function(){"expandedKeys"in je&&Xe(je.expandedKeys)},[je.expandedKeys]);var it=function(bn,sn){var un;return"expandedKeys"in je||Xe(bn),(un=je.onExpand)===null||un===void 0?void 0:un.call(je,bn,sn)},bt=function(bn,sn){var un,Ht=je.multiple,jn=sn.node,Ln=sn.nativeEvent,Un=jn.key,lt=Un===void 0?"":Un,Nt=ee(je),zt=Object(f.a)(Object(f.a)({},sn),{selected:!0}),en=(Ln==null?void 0:Ln.ctrlKey)||(Ln==null?void 0:Ln.metaKey),tn=Ln==null?void 0:Ln.shiftKey,wn;Ht&&en?(wn=bn,ft.current=lt,fe.current=wn,zt.selectedNodes=se(Nt,wn)):Ht&&tn?(wn=Array.from(new Set([].concat(Object(A.a)(fe.current||[]),Object(A.a)(ne({treeData:Nt,expandedKeys:et,startKey:lt,endKey:ft.current}))))),zt.selectedNodes=se(Nt,wn)):(wn=[lt],ft.current=lt,fe.current=wn,zt.selectedNodes=se(Nt,wn)),(un=je.onSelect)===null||un===void 0||un.call(je,wn,zt),"selectedKeys"in je||Me(wn)},Ct=i.useContext(w.b),Bt=Ct.getPrefixCls,qe=Ct.direction,st=je.prefixCls,ut=je.className,nt=je.showIcon,kt=nt===void 0?!0:nt,Sn=je.expandAction,Tt=Sn===void 0?"click":Sn,ht=be(je,["prefixCls","className","showIcon","expandAction"]),Rt=Bt("tree",st),Ft=p()("".concat(Rt,"-directory"),Object(c.a)({},"".concat(Rt,"-directory-rtl"),qe==="rtl"),ut);return i.createElement($,Object(f.a)({icon:Z,ref:pe,blockNode:!0},ht,{showIcon:kt,expandAction:Tt,prefixCls:Rt,className:Ft,expandedKeys:et,selectedKeys:Ee,onSelect:bt,onExpand:it}))},R=i.forwardRef(ce),y=R,C=$;C.DirectoryTree=y,C.TreeNode=u.a;var z=M.a=C},MMmD:function(Ie,M,e){var u=e("lSCD"),c=e("shjB");function r(f){return f!=null&&c(f.length)&&!u(f)}Ie.exports=r},MNju:function(Ie,M,e){},MNsG:function(Ie,M,e){"use strict";(function(u,c){e.d(M,"b",function(){return S}),e.d(M,"h",function(){return $}),e.d(M,"j",function(){return O}),e.d(M,"f",function(){return E}),e.d(M,"d",function(){return D}),e.d(M,"g",function(){return W}),e.d(M,"i",function(){return te}),e.d(M,"c",function(){return re}),e.d(M,"l",function(){return ye}),e.d(M,"k",function(){return q}),e.d(M,"a",function(){return oe}),e.d(M,"e",function(){return ne});var r,f="en",o=!1,i=!1,a=!1,n=!1,v=!1,m=!1,h=!1,t=void 0,l=f,p=void 0,w=void 0,S=typeof self=="object"?self:typeof u=="object"?u:{},k=void 0;typeof S.vscode!="undefined"&&typeof S.vscode.process!="undefined"?k=S.vscode.process:typeof c!="undefined"&&(k=c);var T=typeof((r=k==null?void 0:k.versions)===null||r===void 0?void 0:r.electron)=="string"&&k.type==="renderer",I=T&&(k==null?void 0:k.sandboxed),Y=function(){if(I)return"bypassHeatCheck";var se=k==null?void 0:k.env.VSCODE_BROWSER_CODE_LOADING;if(typeof se=="string")return se==="none"||se==="code"||se==="bypassHeatCheck"||se==="bypassHeatCheckAndEagerCompile"?se:"bypassHeatCheck"}(),$=typeof Y=="string";if(typeof navigator=="object"&&!T)w=navigator.userAgent,o=w.indexOf("Windows")>=0,i=w.indexOf("Macintosh")>=0,h=(w.indexOf("Macintosh")>=0||w.indexOf("iPad")>=0||w.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,a=w.indexOf("Linux")>=0,m=!0,t=navigator.language,l=t;else if(typeof k=="object"){o=k.platform==="win32",i=k.platform==="darwin",a=k.platform==="linux",n=a&&!!k.env.SNAP&&!!k.env.SNAP_REVISION,t=f,l=f;var A=k.env.VSCODE_NLS_CONFIG;if(A)try{var g=JSON.parse(A),b=g.availableLanguages["*"];t=g.locale,l=b||f,p=g._translationsConfigFile}catch(se){}v=!0}else console.error("Unable to resolve platform.");var d=0;i?d=1:o?d=3:a&&(d=2);var O=o,E=i,D=a,W=v,te=m,re=h,ye=w,q=function(){if(S.setImmediate)return S.setImmediate.bind(S);if(typeof S.postMessage=="function"&&!S.importScripts){var be=[];S.addEventListener("message",function(ce){if(ce.data&&ce.data.vscodeSetImmediateId)for(var R=0,y=be.length;R<y;R++){var C=be[R];if(C.id===ce.data.vscodeSetImmediateId){be.splice(R,1),C.callback();return}}});var Z=0;return function(ce){var R=++Z;be.push({id:R,callback:ce}),S.postMessage({vscodeSetImmediateId:R},"*")}}if(typeof(k==null?void 0:k.nextTick)=="function")return k.nextTick.bind(k);var ee=Promise.resolve();return function(ce){return ee.then(ce)}}(),oe=i||h?2:o?1:3,he=!0,ue=!1;function ne(){if(!ue){ue=!0;var se=new Uint8Array(2);se[0]=1,se[1]=2;var be=new Uint16Array(se.buffer);he=be[0]===(2<<8)+1}return he}}).call(this,e("IyRk"),e("Q2Ig"))},MXAL:function(Ie,M,e){"use strict";e.d(M,"a",function(){return f}),e.d(M,"b",function(){return o});var u=e("fWQN"),c=e("mtLc"),r=e("CZ1j"),f=function(){function i(a){Object(u.a)(this,i);var n=Object(r.b)(a);this._defaultValue=n,this._asciiMap=i._createAsciiMap(n),this._map=new Map}return Object(c.a)(i,[{key:"set",value:function(n,v){var m=Object(r.b)(v);n>=0&&n<256?this._asciiMap[n]=m:this._map.set(n,m)}},{key:"get",value:function(n){return n>=0&&n<256?this._asciiMap[n]:this._map.get(n)||this._defaultValue}}],[{key:"_createAsciiMap",value:function(n){for(var v=new Uint8Array(256),m=0;m<256;m++)v[m]=n;return v}}]),i}(),o=function(){function i(){Object(u.a)(this,i),this._actual=new f(0)}return Object(c.a)(i,[{key:"add",value:function(n){this._actual.set(n,1)}},{key:"has",value:function(n){return this._actual.get(n)===1}}]),i}()},MXD1:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("Kvyg"),f=e.n(r)},Md8J:function(Ie,M,e){"use strict";e.d(M,"c",function(){return f}),e.d(M,"b",function(){return o}),e.d(M,"a",function(){return i});var u=e("fWQN"),c=e("mtLc"),r=e("EffR");function f(t){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=i(l);return p.textContent=t,p}function o(t){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=i(l);return n(p,v(t,!!l.renderCodeSegements),l.actionHandler,l.renderCodeSegements),p}function i(t){var l=t.inline?"span":"div",p=document.createElement(l);return t.className&&(p.className=t.className),p}var a=function(){function t(l){Object(u.a)(this,t),this.source=l,this.index=0}return Object(c.a)(t,[{key:"eos",value:function(){return this.index>=this.source.length}},{key:"next",value:function(){var p=this.peek();return this.advance(),p}},{key:"peek",value:function(){return this.source[this.index]}},{key:"advance",value:function(){this.index++}}]),t}();function n(t,l,p,w){var S;if(l.type===2)S=document.createTextNode(l.content||"");else if(l.type===3)S=document.createElement("b");else if(l.type===4)S=document.createElement("i");else if(l.type===7&&w)S=document.createElement("code");else if(l.type===5&&p){var k=document.createElement("a");k.href="#",p.disposeables.add(r.addStandardDisposableListener(k,"click",function(T){p.callback(String(l.index),T)})),S=k}else l.type===8?S=document.createElement("br"):l.type===1&&(S=t);S&&t!==S&&t.appendChild(S),S&&Array.isArray(l.children)&&l.children.forEach(function(T){n(S,T,p,w)})}function v(t,l){for(var p={type:1,children:[]},w=0,S=p,k=[],T=new a(t);!T.eos();){var I=T.next(),Y=I==="\\"&&h(T.peek(),l)!==0;if(Y&&(I=T.next()),!Y&&m(I,l)&&I===T.peek()){T.advance(),S.type===2&&(S=k.pop());var $=h(I,l);if(S.type===$||S.type===5&&$===6)S=k.pop();else{var A={type:$,children:[]};$===5&&(A.index=w,w++),S.children.push(A),k.push(S),S=A}}else if(I===`
- `)S.type===2&&(S=k.pop()),S.children.push({type:8});else if(S.type!==2){var g={type:2,content:I};S.children.push(g),k.push(S),S=g}else S.content+=I}return S.type===2&&(S=k.pop()),k.length,p}function m(t,l){return h(t,l)!==0}function h(t,l){switch(t){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return l?7:0;default:return 0}}},MqQJ:function(Ie,M,e){"use strict";e.d(M,"a",function(){return m}),e.d(M,"c",function(){return h}),e.d(M,"b",function(){return l});var u=e("fWQN"),c=e("mtLc"),r=e("3/fG"),f=e("MI8n"),o=e("twdY"),i=e("cMvZ"),a=e("ic2d"),n={ModesRegistry:"editor.modesRegistry"},v=function(){function p(){Object(u.a)(this,p),this._onDidChangeLanguages=new f.a,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}return Object(c.a)(p,[{key:"registerLanguage",value:function(S){var k=this;return this._languages.push(S),this._onDidChangeLanguages.fire(void 0),{dispose:function(){for(var I=0,Y=k._languages.length;I<Y;I++)if(k._languages[I]===S){k._languages.splice(I,1);return}}}}},{key:"getLanguages",value:function(){return[].concat(this._languages).concat(this._dynamicLanguages)}}]),p}(),m=new v;a.a.add(n.ModesRegistry,m);var h="plaintext",t=".txt",l=new o.s(h,1);m.registerLanguage({id:h,extensions:[t],aliases:[r.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),i.a.register(l,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}},0)},MrPd:function(Ie,M,e){var u=e("hypo"),c=e("ljhN"),r=Object.prototype,f=r.hasOwnProperty;function o(i,a,n){var v=i[a];(!(f.call(i,a)&&c(v,n))||n===void 0&&!(a in i))&&u(i,a,n)}Ie.exports=o},MrjW:function(Ie,M,e){"use strict";e.d(M,"i",function(){return g}),e.d(M,"e",function(){return b}),e.d(M,"d",function(){return d}),e.d(M,"g",function(){return O}),e.d(M,"f",function(){return E}),e.d(M,"b",function(){return D}),e.d(M,"a",function(){return W}),e.d(M,"c",function(){return te}),e.d(M,"h",function(){return re});var u=e("mtLc"),c=e("fWQN"),r=e("yKVA"),f=e("879j"),o=e("ZKkB"),i=e("wxcJ"),a=65,n=97,v=90,m=122,h=46,t=47,l=92,p=58,w=63,S=function(ye){Object(r.a)(oe,ye);var q=Object(f.a)(oe);function oe(he,ue,ne){var se;Object(c.a)(this,oe);var be;typeof ue=="string"&&ue.indexOf("not ")===0?(be="must not be",ue=ue.replace(/^not /,"")):be="must be";var Z=he.indexOf(".")!==-1?"property":"argument",ee='The "'.concat(he,'" ').concat(Z," ").concat(be," of type ").concat(ue);return ee+=". Received type ".concat(typeof ne),se=q.call(this,ee),se.code="ERR_INVALID_ARG_TYPE",se}return Object(u.a)(oe)}(Object(o.a)(Error));function k(ye,q){if(typeof ye!="string")throw new S(q,"string",ye)}function T(ye){return ye===t||ye===l}function I(ye){return ye===t}function Y(ye){return ye>=a&&ye<=v||ye>=n&&ye<=m}function $(ye,q,oe,he){for(var ue="",ne=0,se=-1,be=0,Z=0,ee=0;ee<=ye.length;++ee){if(ee<ye.length)Z=ye.charCodeAt(ee);else{if(he(Z))break;Z=t}if(he(Z)){if(!(se===ee-1||be===1))if(be===2){if(ue.length<2||ne!==2||ue.charCodeAt(ue.length-1)!==h||ue.charCodeAt(ue.length-2)!==h){if(ue.length>2){var ce=ue.lastIndexOf(oe);ce===-1?(ue="",ne=0):(ue=ue.slice(0,ce),ne=ue.length-1-ue.lastIndexOf(oe)),se=ee,be=0;continue}else if(ue.length!==0){ue="",ne=0,se=ee,be=0;continue}}q&&(ue+=ue.length>0?"".concat(oe,".."):"..",ne=2)}else ue.length>0?ue+="".concat(oe).concat(ye.slice(se+1,ee)):ue=ye.slice(se+1,ee),ne=ee-se-1;se=ee,be=0}else Z===h&&be!==-1?++be:be=-1}return ue}function A(ye,q){if(q===null||typeof q!="object")throw new S("pathObject","Object",q);var oe=q.dir||q.root,he=q.base||"".concat(q.name||"").concat(q.ext||"");return oe?oe===q.root?"".concat(oe).concat(he):"".concat(oe).concat(ye).concat(he):he}var g={resolve:function(){for(var q="",oe="",he=!1,ue=arguments.length-1;ue>=-1;ue--){var ne=void 0;if(ue>=0){if(ne=ue<0||arguments.length<=ue?void 0:arguments[ue],k(ne,"path"),ne.length===0)continue}else q.length===0?ne=i.a():(ne=i.b["=".concat(q)]||i.a(),(ne===void 0||ne.slice(0,2).toLowerCase()!==q.toLowerCase()&&ne.charCodeAt(2)===l)&&(ne="".concat(q,"\\")));var se=ne.length,be=0,Z="",ee=!1,ce=ne.charCodeAt(0);if(se===1)T(ce)&&(be=1,ee=!0);else if(T(ce))if(ee=!0,T(ne.charCodeAt(1))){for(var R=2,y=R;R<se&&!T(ne.charCodeAt(R));)R++;if(R<se&&R!==y){var C=ne.slice(y,R);for(y=R;R<se&&T(ne.charCodeAt(R));)R++;if(R<se&&R!==y){for(y=R;R<se&&!T(ne.charCodeAt(R));)R++;(R===se||R!==y)&&(Z="\\\\".concat(C,"\\").concat(ne.slice(y,R)),be=R)}}}else be=1;else Y(ce)&&ne.charCodeAt(1)===p&&(Z=ne.slice(0,2),be=2,se>2&&T(ne.charCodeAt(2))&&(ee=!0,be=3));if(Z.length>0)if(q.length>0){if(Z.toLowerCase()!==q.toLowerCase())continue}else q=Z;if(he){if(q.length>0)break}else if(oe="".concat(ne.slice(be),"\\").concat(oe),he=ee,ee&&q.length>0)break}return oe=$(oe,!he,"\\",T),he?"".concat(q,"\\").concat(oe):"".concat(q).concat(oe)||"."},normalize:function(q){k(q,"path");var oe=q.length;if(oe===0)return".";var he=0,ue,ne=!1,se=q.charCodeAt(0);if(oe===1)return I(se)?"\\":q;if(T(se))if(ne=!0,T(q.charCodeAt(1))){for(var be=2,Z=be;be<oe&&!T(q.charCodeAt(be));)be++;if(be<oe&&be!==Z){var ee=q.slice(Z,be);for(Z=be;be<oe&&T(q.charCodeAt(be));)be++;if(be<oe&&be!==Z){for(Z=be;be<oe&&!T(q.charCodeAt(be));)be++;if(be===oe)return"\\\\".concat(ee,"\\").concat(q.slice(Z),"\\");be!==Z&&(ue="\\\\".concat(ee,"\\").concat(q.slice(Z,be)),he=be)}}}else he=1;else Y(se)&&q.charCodeAt(1)===p&&(ue=q.slice(0,2),he=2,oe>2&&T(q.charCodeAt(2))&&(ne=!0,he=3));var ce=he<oe?$(q.slice(he),!ne,"\\",T):"";return ce.length===0&&!ne&&(ce="."),ce.length>0&&T(q.charCodeAt(oe-1))&&(ce+="\\"),ue===void 0?ne?"\\".concat(ce):ce:ne?"".concat(ue,"\\").concat(ce):"".concat(ue).concat(ce)},isAbsolute:function(q){k(q,"path");var oe=q.length;if(oe===0)return!1;var he=q.charCodeAt(0);return T(he)||oe>2&&Y(he)&&q.charCodeAt(1)===p&&T(q.charCodeAt(2))},join:function(){if(arguments.length===0)return".";for(var q,oe,he=0;he<arguments.length;++he){var ue=he<0||arguments.length<=he?void 0:arguments[he];k(ue,"path"),ue.length>0&&(q===void 0?q=oe=ue:q+="\\".concat(ue))}if(q===void 0)return".";var ne=!0,se=0;if(typeof oe=="string"&&T(oe.charCodeAt(0))){++se;var be=oe.length;be>1&&T(oe.charCodeAt(1))&&(++se,be>2&&(T(oe.charCodeAt(2))?++se:ne=!1))}if(ne){for(;se<q.length&&T(q.charCodeAt(se));)se++;se>=2&&(q="\\".concat(q.slice(se)))}return g.normalize(q)},relative:function(q,oe){if(k(q,"from"),k(oe,"to"),q===oe)return"";var he=g.resolve(q),ue=g.resolve(oe);if(he===ue||(q=he.toLowerCase(),oe=ue.toLowerCase(),q===oe))return"";for(var ne=0;ne<q.length&&q.charCodeAt(ne)===l;)ne++;for(var se=q.length;se-1>ne&&q.charCodeAt(se-1)===l;)se--;for(var be=se-ne,Z=0;Z<oe.length&&oe.charCodeAt(Z)===l;)Z++;for(var ee=oe.length;ee-1>Z&&oe.charCodeAt(ee-1)===l;)ee--;for(var ce=ee-Z,R=be<ce?be:ce,y=-1,C=0;C<R;C++){var z=q.charCodeAt(ne+C);if(z!==oe.charCodeAt(Z+C))break;z===l&&(y=C)}if(C!==R){if(y===-1)return ue}else{if(ce>R){if(oe.charCodeAt(Z+C)===l)return ue.slice(Z+C+1);if(C===2)return ue.slice(Z+C)}be>R&&(q.charCodeAt(ne+C)===l?y=C:C===2&&(y=3)),y===-1&&(y=0)}var G="";for(C=ne+y+1;C<=se;++C)(C===se||q.charCodeAt(C)===l)&&(G+=G.length===0?"..":"\\..");return Z+=y,G.length>0?"".concat(G).concat(ue.slice(Z,ee)):(ue.charCodeAt(Z)===l&&++Z,ue.slice(Z,ee))},toNamespacedPath:function(q){if(typeof q!="string")return q;if(q.length===0)return"";var oe=g.resolve(q);if(oe.length<=2)return q;if(oe.charCodeAt(0)===l){if(oe.charCodeAt(1)===l){var he=oe.charCodeAt(2);if(he!==w&&he!==h)return"\\\\?\\UNC\\".concat(oe.slice(2))}}else if(Y(oe.charCodeAt(0))&&oe.charCodeAt(1)===p&&oe.charCodeAt(2)===l)return"\\\\?\\".concat(oe);return q},dirname:function(q){k(q,"path");var oe=q.length;if(oe===0)return".";var he=-1,ue=0,ne=q.charCodeAt(0);if(oe===1)return T(ne)?q:".";if(T(ne)){if(he=ue=1,T(q.charCodeAt(1))){for(var se=2,be=se;se<oe&&!T(q.charCodeAt(se));)se++;if(se<oe&&se!==be){for(be=se;se<oe&&T(q.charCodeAt(se));)se++;if(se<oe&&se!==be){for(be=se;se<oe&&!T(q.charCodeAt(se));)se++;if(se===oe)return q;se!==be&&(he=ue=se+1)}}}}else Y(ne)&&q.charCodeAt(1)===p&&(he=oe>2&&T(q.charCodeAt(2))?3:2,ue=he);for(var Z=-1,ee=!0,ce=oe-1;ce>=ue;--ce)if(T(q.charCodeAt(ce))){if(!ee){Z=ce;break}}else ee=!1;if(Z===-1){if(he===-1)return".";Z=he}return q.slice(0,Z)},basename:function(q,oe){oe!==void 0&&k(oe,"ext"),k(q,"path");var he=0,ue=-1,ne=!0,se;if(q.length>=2&&Y(q.charCodeAt(0))&&q.charCodeAt(1)===p&&(he=2),oe!==void 0&&oe.length>0&&oe.length<=q.length){if(oe===q)return"";var be=oe.length-1,Z=-1;for(se=q.length-1;se>=he;--se){var ee=q.charCodeAt(se);if(T(ee)){if(!ne){he=se+1;break}}else Z===-1&&(ne=!1,Z=se+1),be>=0&&(ee===oe.charCodeAt(be)?--be==-1&&(ue=se):(be=-1,ue=Z))}return he===ue?ue=Z:ue===-1&&(ue=q.length),q.slice(he,ue)}for(se=q.length-1;se>=he;--se)if(T(q.charCodeAt(se))){if(!ne){he=se+1;break}}else ue===-1&&(ne=!1,ue=se+1);return ue===-1?"":q.slice(he,ue)},extname:function(q){k(q,"path");var oe=0,he=-1,ue=0,ne=-1,se=!0,be=0;q.length>=2&&q.charCodeAt(1)===p&&Y(q.charCodeAt(0))&&(oe=ue=2);for(var Z=q.length-1;Z>=oe;--Z){var ee=q.charCodeAt(Z);if(T(ee)){if(!se){ue=Z+1;break}continue}ne===-1&&(se=!1,ne=Z+1),ee===h?he===-1?he=Z:be!==1&&(be=1):he!==-1&&(be=-1)}return he===-1||ne===-1||be===0||be===1&&he===ne-1&&he===ue+1?"":q.slice(he,ne)},format:A.bind(null,"\\"),parse:function(q){k(q,"path");var oe={root:"",dir:"",base:"",ext:"",name:""};if(q.length===0)return oe;var he=q.length,ue=0,ne=q.charCodeAt(0);if(he===1)return T(ne)?(oe.root=oe.dir=q,oe):(oe.base=oe.name=q,oe);if(T(ne)){if(ue=1,T(q.charCodeAt(1))){for(var se=2,be=se;se<he&&!T(q.charCodeAt(se));)se++;if(se<he&&se!==be){for(be=se;se<he&&T(q.charCodeAt(se));)se++;if(se<he&&se!==be){for(be=se;se<he&&!T(q.charCodeAt(se));)se++;se===he?ue=se:se!==be&&(ue=se+1)}}}}else if(Y(ne)&&q.charCodeAt(1)===p){if(he<=2)return oe.root=oe.dir=q,oe;if(ue=2,T(q.charCodeAt(2))){if(he===3)return oe.root=oe.dir=q,oe;ue=3}}ue>0&&(oe.root=q.slice(0,ue));for(var Z=-1,ee=ue,ce=-1,R=!0,y=q.length-1,C=0;y>=ue;--y){if(ne=q.charCodeAt(y),T(ne)){if(!R){ee=y+1;break}continue}ce===-1&&(R=!1,ce=y+1),ne===h?Z===-1?Z=y:C!==1&&(C=1):Z!==-1&&(C=-1)}return ce!==-1&&(Z===-1||C===0||C===1&&Z===ce-1&&Z===ee+1?oe.base=oe.name=q.slice(ee,ce):(oe.name=q.slice(ee,Z),oe.base=q.slice(ee,ce),oe.ext=q.slice(Z,ce))),ee>0&&ee!==ue?oe.dir=q.slice(0,ee-1):oe.dir=oe.root,oe},sep:"\\",delimiter:";",win32:null,posix:null},b={resolve:function(){for(var q="",oe=!1,he=arguments.length-1;he>=-1&&!oe;he--){var ue=he>=0?he<0||arguments.length<=he?void 0:arguments[he]:i.a();k(ue,"path"),ue.length!==0&&(q="".concat(ue,"/").concat(q),oe=ue.charCodeAt(0)===t)}return q=$(q,!oe,"/",I),oe?"/".concat(q):q.length>0?q:"."},normalize:function(q){if(k(q,"path"),q.length===0)return".";var oe=q.charCodeAt(0)===t,he=q.charCodeAt(q.length-1)===t;return q=$(q,!oe,"/",I),q.length===0?oe?"/":he?"./":".":(he&&(q+="/"),oe?"/".concat(q):q)},isAbsolute:function(q){return k(q,"path"),q.length>0&&q.charCodeAt(0)===t},join:function(){if(arguments.length===0)return".";for(var q,oe=0;oe<arguments.length;++oe){var he=oe<0||arguments.length<=oe?void 0:arguments[oe];k(he,"path"),he.length>0&&(q===void 0?q=he:q+="/".concat(he))}return q===void 0?".":b.normalize(q)},relative:function(q,oe){if(k(q,"from"),k(oe,"to"),q===oe||(q=b.resolve(q),oe=b.resolve(oe),q===oe))return"";for(var he=1,ue=q.length,ne=ue-he,se=1,be=oe.length-se,Z=ne<be?ne:be,ee=-1,ce=0;ce<Z;ce++){var R=q.charCodeAt(he+ce);if(R!==oe.charCodeAt(se+ce))break;R===t&&(ee=ce)}if(ce===Z)if(be>Z){if(oe.charCodeAt(se+ce)===t)return oe.slice(se+ce+1);if(ce===0)return oe.slice(se+ce)}else ne>Z&&(q.charCodeAt(he+ce)===t?ee=ce:ce===0&&(ee=0));var y="";for(ce=he+ee+1;ce<=ue;++ce)(ce===ue||q.charCodeAt(ce)===t)&&(y+=y.length===0?"..":"/..");return"".concat(y).concat(oe.slice(se+ee))},toNamespacedPath:function(q){return q},dirname:function(q){if(k(q,"path"),q.length===0)return".";for(var oe=q.charCodeAt(0)===t,he=-1,ue=!0,ne=q.length-1;ne>=1;--ne)if(q.charCodeAt(ne)===t){if(!ue){he=ne;break}}else ue=!1;return he===-1?oe?"/":".":oe&&he===1?"//":q.slice(0,he)},basename:function(q,oe){oe!==void 0&&k(oe,"ext"),k(q,"path");var he=0,ue=-1,ne=!0,se;if(oe!==void 0&&oe.length>0&&oe.length<=q.length){if(oe===q)return"";var be=oe.length-1,Z=-1;for(se=q.length-1;se>=0;--se){var ee=q.charCodeAt(se);if(ee===t){if(!ne){he=se+1;break}}else Z===-1&&(ne=!1,Z=se+1),be>=0&&(ee===oe.charCodeAt(be)?--be==-1&&(ue=se):(be=-1,ue=Z))}return he===ue?ue=Z:ue===-1&&(ue=q.length),q.slice(he,ue)}for(se=q.length-1;se>=0;--se)if(q.charCodeAt(se)===t){if(!ne){he=se+1;break}}else ue===-1&&(ne=!1,ue=se+1);return ue===-1?"":q.slice(he,ue)},extname:function(q){k(q,"path");for(var oe=-1,he=0,ue=-1,ne=!0,se=0,be=q.length-1;be>=0;--be){var Z=q.charCodeAt(be);if(Z===t){if(!ne){he=be+1;break}continue}ue===-1&&(ne=!1,ue=be+1),Z===h?oe===-1?oe=be:se!==1&&(se=1):oe!==-1&&(se=-1)}return oe===-1||ue===-1||se===0||se===1&&oe===ue-1&&oe===he+1?"":q.slice(oe,ue)},format:A.bind(null,"/"),parse:function(q){k(q,"path");var oe={root:"",dir:"",base:"",ext:"",name:""};if(q.length===0)return oe;var he=q.charCodeAt(0)===t,ue;he?(oe.root="/",ue=1):ue=0;for(var ne=-1,se=0,be=-1,Z=!0,ee=q.length-1,ce=0;ee>=ue;--ee){var R=q.charCodeAt(ee);if(R===t){if(!Z){se=ee+1;break}continue}be===-1&&(Z=!1,be=ee+1),R===h?ne===-1?ne=ee:ce!==1&&(ce=1):ne!==-1&&(ce=-1)}if(be!==-1){var y=se===0&&he?1:se;ne===-1||ce===0||ce===1&&ne===be-1&&ne===se+1?oe.base=oe.name=q.slice(y,be):(oe.name=q.slice(y,ne),oe.base=q.slice(y,be),oe.ext=q.slice(ne,be))}return se>0?oe.dir=q.slice(0,se-1):he&&(oe.dir="/"),oe},sep:"/",delimiter:":",win32:null,posix:null};b.win32=g.win32=g,b.posix=g.posix=b;var d=i.c==="win32"?g.normalize:b.normalize,O=i.c==="win32"?g.resolve:b.resolve,E=i.c==="win32"?g.relative:b.relative,D=i.c==="win32"?g.dirname:b.dirname,W=i.c==="win32"?g.basename:b.basename,te=i.c==="win32"?g.extname:b.extname,re=i.c==="win32"?g.sep:b.sep},MvK1:function(Ie,M,e){"use strict";e.d(M,"a",function(){return f}),e.d(M,"b",function(){return o});var u=e("fWQN"),c=e("mtLc"),r=function(){function i(a,n,v){Object(u.a)(this,i),this.from=a|0,this.to=n|0,this.colorId=v|0}return Object(c.a)(i,null,[{key:"compare",value:function(n,v){return n.colorId===v.colorId?n.from===v.from?n.to-v.to:n.from-v.from:n.colorId-v.colorId}}]),i}(),f=function(){function i(a,n,v){Object(u.a)(this,i),this.startLineNumber=a,this.endLineNumber=n,this.color=v,this._colorZone=null}return Object(c.a)(i,[{key:"setColorZone",value:function(n){this._colorZone=n}},{key:"getColorZones",value:function(){return this._colorZone}}],[{key:"compare",value:function(n,v){return n.color===v.color?n.startLineNumber===v.startLineNumber?n.endLineNumber-v.endLineNumber:n.startLineNumber-v.startLineNumber:n.color<v.color?-1:1}}]),i}(),o=function(){function i(a){Object(u.a)(this,i),this._getVerticalOffsetForLine=a,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}return Object(c.a)(i,[{key:"getId2Color",value:function(){return this._id2Color}},{key:"setZones",value:function(n){this._zones=n,this._zones.sort(f.compare)}},{key:"setLineHeight",value:function(n){return this._lineHeight===n?!1:(this._lineHeight=n,this._colorZonesInvalid=!0,!0)}},{key:"setPixelRatio",value:function(n){this._pixelRatio=n,this._colorZonesInvalid=!0}},{key:"getDOMWidth",value:function(){return this._domWidth}},{key:"getCanvasWidth",value:function(){return this._domWidth*this._pixelRatio}},{key:"setDOMWidth",value:function(n){return this._domWidth===n?!1:(this._domWidth=n,this._colorZonesInvalid=!0,!0)}},{key:"getDOMHeight",value:function(){return this._domHeight}},{key:"getCanvasHeight",value:function(){return this._domHeight*this._pixelRatio}},{key:"setDOMHeight",value:function(n){return this._domHeight===n?!1:(this._domHeight=n,this._colorZonesInvalid=!0,!0)}},{key:"getOuterHeight",value:function(){return this._outerHeight}},{key:"setOuterHeight",value:function(n){return this._outerHeight===n?!1:(this._outerHeight=n,this._colorZonesInvalid=!0,!0)}},{key:"resolveColorZones",value:function(){for(var n=this._colorZonesInvalid,v=Math.floor(this._lineHeight),m=Math.floor(this.getCanvasHeight()),h=Math.floor(this._outerHeight),t=m/h,l=Math.floor(4*this._pixelRatio/2),p=[],w=0,S=this._zones.length;w<S;w++){var k=this._zones[w];if(!n){var T=k.getColorZones();if(T){p.push(T);continue}}var I=Math.floor(t*this._getVerticalOffsetForLine(k.startLineNumber)),Y=Math.floor(t*(this._getVerticalOffsetForLine(k.endLineNumber)+v)),$=Math.floor((I+Y)/2),A=Y-$;A<l&&(A=l),$-A<0&&($=A),$+A>m&&($=m-A);var g=k.color,b=this._color2Id[g];b||(b=++this._lastAssignedId,this._color2Id[g]=b,this._id2Color[b]=g);var d=new r($-A,$+A,b);k.setColorZone(d),p.push(d)}return this._colorZonesInvalid=!1,p.sort(r.compare),p}}]),i}()},MvSz:function(Ie,M,e){var u=e("LXxW"),c=e("0ycA"),r=Object.prototype,f=r.propertyIsEnumerable,o=Object.getOwnPropertySymbols,i=o?function(a){return a==null?[]:(a=Object(a),u(o(a),function(n){return f.call(a,n)}))}:c;Ie.exports=i},N0LK:function(Ie,M,e){"use strict";e.d(M,"C",function(){return r}),e.d(M,"w",function(){return o}),e.d(M,"t",function(){return i}),e.d(M,"u",function(){return a}),e.d(M,"U",function(){return n}),e.d(M,"J",function(){return v}),e.d(M,"O",function(){return m}),e.d(M,"p",function(){return h}),e.d(M,"T",function(){return t}),e.d(M,"q",function(){return l}),e.d(M,"N",function(){return p}),e.d(M,"M",function(){return w}),e.d(M,"Q",function(){return S}),e.d(M,"v",function(){return k}),e.d(M,"y",function(){return T}),e.d(M,"I",function(){return I}),e.d(M,"f",function(){return Y}),e.d(M,"h",function(){return $}),e.d(M,"g",function(){return A}),e.d(M,"i",function(){return g}),e.d(M,"G",function(){return b}),e.d(M,"H",function(){return d}),e.d(M,"s",function(){return E}),e.d(M,"R",function(){return W}),e.d(M,"d",function(){return te}),e.d(M,"e",function(){return re}),e.d(M,"E",function(){return ye}),e.d(M,"F",function(){return q}),e.d(M,"j",function(){return oe}),e.d(M,"z",function(){return he}),e.d(M,"K",function(){return ne}),e.d(M,"L",function(){return se}),e.d(M,"r",function(){return be}),e.d(M,"m",function(){return ee}),e.d(M,"k",function(){return R}),e.d(M,"A",function(){return C}),e.d(M,"a",function(){return z}),e.d(M,"n",function(){return G}),e.d(M,"l",function(){return X}),e.d(M,"D",function(){return pe}),e.d(M,"B",function(){return ae}),e.d(M,"b",function(){return Se}),e.d(M,"S",function(){return Te}),e.d(M,"o",function(){return je}),e.d(M,"P",function(){return ft}),e.d(M,"x",function(){return fe}),e.d(M,"c",function(){return ie});var u=e("fWQN"),c=e("mtLc");function r(Ee){return!Ee||typeof Ee!="string"?!0:Ee.trim().length===0}var f=/{(\d+)}/g;function o(Ee){for(var Me=arguments.length,_e=new Array(Me>1?Me-1:0),Re=1;Re<Me;Re++)_e[Re-1]=arguments[Re];return _e.length===0?Ee:Ee.replace(f,function(et,Xe){var it=parseInt(Xe,10);return isNaN(it)||it<0||it>=_e.length?et:_e[it]})}function i(Ee){return Ee.replace(/[<>&]/g,function(Me){switch(Me){case"<":return"<";case">":return">";case"&":return"&";default:return Me}})}function a(Ee){return Ee.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function n(Ee){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:" ",_e=v(Ee,Me);return m(_e,Me)}function v(Ee,Me){if(!Ee||!Me)return Ee;var _e=Me.length;if(_e===0||Ee.length===0)return Ee;for(var Re=0;Ee.indexOf(Me,Re)===Re;)Re=Re+_e;return Ee.substring(Re)}function m(Ee,Me){if(!Ee||!Me)return Ee;var _e=Me.length,Re=Ee.length;if(_e===0||Re===0)return Ee;for(var et=Re,Xe=-1;Xe=Ee.lastIndexOf(Me,et-1),!(Xe===-1||Xe+_e!==et);){if(Xe===0)return"";et=Xe}return Ee.substring(0,et)}function h(Ee){return Ee.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function t(Ee){return Ee.replace(/\*/g,"")}function l(Ee,Me){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!Ee)throw new Error("Cannot create regex from empty string");Me||(Ee=a(Ee)),_e.wholeWord&&(/\B/.test(Ee.charAt(0))||(Ee="\\b"+Ee),/\B/.test(Ee.charAt(Ee.length-1))||(Ee=Ee+"\\b"));var Re="";return _e.global&&(Re+="g"),_e.matchCase||(Re+="i"),_e.multiline&&(Re+="m"),_e.unicode&&(Re+="u"),new RegExp(Ee,Re)}function p(Ee){if(Ee.source==="^"||Ee.source==="^$"||Ee.source==="$"||Ee.source==="^\\s*$")return!1;var Me=Ee.exec("");return!!(Me&&Ee.lastIndex===0)}function w(Ee){return(Ee.global?"g":"")+(Ee.ignoreCase?"i":"")+(Ee.multiline?"m":"")+(Ee.unicode?"u":"")}function S(Ee){return Ee.split(/\r\n|\r|\n/)}function k(Ee){for(var Me=0,_e=Ee.length;Me<_e;Me++){var Re=Ee.charCodeAt(Me);if(Re!==32&&Re!==9)return Me}return-1}function T(Ee){for(var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,_e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ee.length,Re=Me;Re<_e;Re++){var et=Ee.charCodeAt(Re);if(et!==32&&et!==9)return Ee.substring(Me,Re)}return Ee.substring(Me,_e)}function I(Ee){for(var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ee.length-1,_e=Me;_e>=0;_e--){var Re=Ee.charCodeAt(_e);if(Re!==32&&Re!==9)return _e}return-1}function Y(Ee,Me){return Ee<Me?-1:Ee>Me?1:0}function $(Ee,Me){for(var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Re=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Ee.length,et=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Xe=arguments.length>5&&arguments[5]!==void 0?arguments[5]:Me.length;_e<Re&&et<Xe;_e++,et++){var it=Ee.charCodeAt(_e),bt=Me.charCodeAt(et);if(it<bt)return-1;if(it>bt)return 1}var Ct=Re-_e,Bt=Xe-et;return Ct<Bt?-1:Ct>Bt?1:0}function A(Ee,Me){return g(Ee,Me,0,Ee.length,0,Me.length)}function g(Ee,Me){for(var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Re=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Ee.length,et=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Xe=arguments.length>5&&arguments[5]!==void 0?arguments[5]:Me.length;_e<Re&&et<Xe;_e++,et++){var it=Ee.charCodeAt(_e),bt=Me.charCodeAt(et);if(it!==bt){var Ct=it-bt;if(!(Ct===32&&d(bt))&&!(Ct===-32&&d(it)))return b(it)&&b(bt)?Ct:$(Ee.toLowerCase(),Me.toLowerCase(),_e,Re,et,Xe)}}var Bt=Re-_e,qe=Xe-et;return Bt<qe?-1:Bt>qe?1:0}function b(Ee){return Ee>=97&&Ee<=122}function d(Ee){return Ee>=65&&Ee<=90}function O(Ee){return b(Ee)||d(Ee)}function E(Ee,Me){return Ee.length===Me.length&&D(Ee,Me)}function D(Ee,Me){for(var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ee.length,Re=0;Re<_e;Re++){var et=Ee.charCodeAt(Re),Xe=Me.charCodeAt(Re);if(et!==Xe){if(O(et)&&O(Xe)){var it=Math.abs(et-Xe);if(it!==0&&it!==32)return!1}else if(String.fromCharCode(et).toLowerCase()!==String.fromCharCode(Xe).toLowerCase())return!1}}return!0}function W(Ee,Me){var _e=Me.length;return Me.length>Ee.length?!1:D(Ee,Me,_e)}function te(Ee,Me){var _e,Re=Math.min(Ee.length,Me.length);for(_e=0;_e<Re;_e++)if(Ee.charCodeAt(_e)!==Me.charCodeAt(_e))return _e;return Re}function re(Ee,Me){var _e,Re=Math.min(Ee.length,Me.length),et=Ee.length-1,Xe=Me.length-1;for(_e=0;_e<Re;_e++)if(Ee.charCodeAt(et-_e)!==Me.charCodeAt(Xe-_e))return _e;return Re}function ye(Ee){return 55296<=Ee&&Ee<=56319}function q(Ee){return 56320<=Ee&&Ee<=57343}function oe(Ee,Me){return(Ee-55296<<10)+(Me-56320)+65536}function he(Ee,Me,_e){var Re=Ee.charCodeAt(_e);if(ye(Re)&&_e+1<Me){var et=Ee.charCodeAt(_e+1);if(q(et))return oe(Re,et)}return Re}function ue(Ee,Me){var _e=Ee.charCodeAt(Me-1);if(q(_e)&&Me>1){var Re=Ee.charCodeAt(Me-2);if(ye(Re))return oe(Re,_e)}return _e}function ne(Ee,Me){var _e=ge.getInstance(),Re=Me,et=Ee.length,Xe=he(Ee,et,Me);Me+=Xe>=65536?2:1;for(var it=_e.getGraphemeBreakType(Xe);Me<et;){var bt=he(Ee,et,Me),Ct=_e.getGraphemeBreakType(bt);if(ie(it,Ct))break;Me+=bt>=65536?2:1,it=Ct}return Me-Re}function se(Ee,Me){var _e=ge.getInstance(),Re=Me,et=ue(Ee,Me);Me-=et>=65536?2:1;for(var Xe=_e.getGraphemeBreakType(et);Me>0;){var it=ue(Ee,Me),bt=_e.getGraphemeBreakType(it);if(ie(bt,Xe))break;Me-=it>=65536?2:1,Xe=bt}return Re-Me}function be(Ee){for(var Me=Ee.byteLength,_e=[],Re=0;Re<Me;){var et=Ee[Re],Xe=void 0;if(et>=240&&Re+3<Me?Xe=(Ee[Re++]&7)<<18>>>0|(Ee[Re++]&63)<<12>>>0|(Ee[Re++]&63)<<6>>>0|(Ee[Re++]&63)<<0>>>0:et>=224&&Re+2<Me?Xe=(Ee[Re++]&15)<<12>>>0|(Ee[Re++]&63)<<6>>>0|(Ee[Re++]&63)<<0>>>0:et>=192&&Re+1<Me?Xe=(Ee[Re++]&31)<<6>>>0|(Ee[Re++]&63)<<0>>>0:Xe=Ee[Re++],Xe>=0&&Xe<=55295||Xe>=57344&&Xe<=65535)_e.push(String.fromCharCode(Xe));else if(Xe>=65536&&Xe<=1114111){var it=Xe-65536,bt=55296+((it&1047552)>>>10),Ct=56320+((it&1023)>>>0);_e.push(String.fromCharCode(bt)),_e.push(String.fromCharCode(Ct))}else _e.push(String.fromCharCode(65533))}return _e.join("")}var Z=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function ee(Ee){return Z.test(Ee)}var ce=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function R(Ee){return ce.test(Ee)}var y=/^[\t\n\r\x20-\x7E]*$/;function C(Ee){return y.test(Ee)}var z=/[\u2028\u2029]/;function G(Ee){return z.test(Ee)}function X(Ee){for(var Me=0,_e=Ee.length;Me<_e;Me++)if(pe(Ee.charCodeAt(Me)))return!0;return!1}function pe(Ee){return Ee=+Ee,Ee>=11904&&Ee<=55215||Ee>=63744&&Ee<=64255||Ee>=65281&&Ee<=65374}function ae(Ee){return Ee>=127462&&Ee<=127487||Ee===8986||Ee===8987||Ee===9200||Ee===9203||Ee>=9728&&Ee<=10175||Ee===11088||Ee===11093||Ee>=127744&&Ee<=128591||Ee>=128640&&Ee<=128764||Ee>=128992&&Ee<=129003||Ee>=129280&&Ee<=129535||Ee>=129648&&Ee<=129750}var Se=String.fromCharCode(65279);function Te(Ee){return!!(Ee&&Ee.length>0&&Ee.charCodeAt(0)===65279)}function je(Ee){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ee?(Me&&(Ee=Ee.replace(/\\./g,"")),Ee.toLowerCase()!==Ee):!1}function ft(Ee){var Me=90-65+1;return Ee=Ee%(2*Me),Ee<Me?String.fromCharCode(97+Ee):String.fromCharCode(65+Ee-Me)}function fe(Ee){var Me=ge.getInstance();return Me.getGraphemeBreakType(Ee)}function ie(Ee,Me){return Ee===0?Me!==5&&Me!==7:Ee===2&&Me===3?!1:Ee===4||Ee===2||Ee===3||Me===4||Me===2||Me===3?!0:!(Ee===8&&(Me===8||Me===9||Me===11||Me===12)||(Ee===11||Ee===9)&&(Me===9||Me===10)||(Ee===12||Ee===10)&&Me===10||Me===5||Me===13||Me===7||Ee===1||Ee===13&&Me===14||Ee===6&&Me===6)}var ge=function(){function Ee(){Object(u.a)(this,Ee),this._data=Ve()}return Object(c.a)(Ee,[{key:"getGraphemeBreakType",value:function(_e){if(_e<32)return _e===10?3:_e===13?2:4;if(_e<127)return 0;for(var Re=this._data,et=Re.length/3,Xe=1;Xe<=et;)if(_e<Re[3*Xe])Xe=2*Xe;else if(_e>Re[3*Xe+1])Xe=2*Xe+1;else return Re[3*Xe+2];return 0}}],[{key:"getInstance",value:function(){return Ee._INSTANCE||(Ee._INSTANCE=new Ee),Ee._INSTANCE}}]),Ee}();ge._INSTANCE=null;function Ve(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}},NJHf:function(Ie,M,e){"use strict";var u=e("rePB"),c=e("DYRE"),r=e("zeV3"),f=e("GNNt"),o=e("wEI+"),i=e("5NDa"),a=e("5rEg"),n=e("VTBJ"),v=e("Znn+"),m=e("ZTPi"),h=e("5Dmo"),t=e("3S7+"),l=e("nKUr"),p=e("LQCs"),w=e("YSkC"),S=e("TSYQ"),k=e.n(S),T=e("q1tI"),I=e.n(T),Y=e("SE9/"),$=e("lUTK"),A=e("BvKs"),g=e("qVdP"),b=e("jsC+"),d=e("Ff2n"),O=e("ODXe"),E=e("8Skl"),D=e("6cGi"),W=e("Y79o"),te=["label","key"],re=function(se){var be=se.items,Z=be===void 0?[]:be,ee=se.type,ce=ee===void 0?"inline":ee,R=se.prefixCls,y=se.activeKey,C=Object(D.a)(y,{value:y,onChange:se.onChange}),z=Object(O.a)(C,2),G=z[0],X=z[1];if(Z.length<1)return null;var pe=Z.find(function(ae){return ae.key===G})||Z[0];return ce==="inline"?Object(l.jsx)("div",{className:k()("".concat(R,"-menu"),"".concat(R,"-inline-menu")),children:Z.map(function(ae,Se){return Object(l.jsx)("div",{onClick:function(){X(ae.key)},className:k()("".concat(R,"-inline-menu-item"),pe.key===ae.key?"".concat(R,"-inline-menu-item-active"):void 0),children:ae.label},ae.key||Se)})}):ce==="tab"?Object(l.jsx)(m.a,{activeKey:pe.key,onTabClick:function(Se){return X(Se)},children:Z.map(function(ae,Se){var Te=ae.label,je=ae.key,ft=Object(d.a)(ae,te);return Object(l.jsx)(m.a.TabPane,Object(n.a)({tab:Te},ft),je||Se)})}):Object(l.jsx)("div",{className:k()("".concat(R,"-menu"),"".concat(R,"-dropdownmenu")),children:Object(l.jsx)(b.a,{trigger:["click"],overlay:Object(l.jsx)(A.a,{selectedKeys:[pe.key],onClick:function(Se){X(Se.key)},items:Z.map(function(ae,Se){return{key:ae.key||Se,disabled:ae.disabled,label:ae.label}})}),children:Object(l.jsxs)(r.b,{className:"".concat(R,"-dropdownmenu-label"),children:[pe.label,Object(l.jsx)(E.a,{})]})})})},ye=re;function q(ne){if(I.a.isValidElement(ne))return ne;if(ne){var se=ne,be=se.icon,Z=se.tooltip,ee=se.onClick,ce=se.key;return be&&Z?Object(l.jsx)(t.a,{title:Z,children:Object(l.jsx)("span",{onClick:function(){ee&&ee(ce)},children:be},ce)}):be}return null}var oe=function(se){var be=se.prefixCls,Z=se.tabs,ee=Z===void 0?{}:Z,ce=se.multipleLine,R=se.filtersNode;return ce?Object(l.jsx)("div",{className:"".concat(be,"-extra-line"),children:ee.items&&ee.items.length?Object(l.jsx)(m.a,{activeKey:ee.activeKey,onChange:ee.onChange,tabBarExtraContent:R,children:ee.items.map(function(y,C){return Object(l.jsx)(m.a.TabPane,Object(n.a)({},y),y.key||C)})}):R}):null},he=function(se){var be=se.prefixCls,Z=se.title,ee=se.subTitle,ce=se.tooltip,R=se.className,y=se.style,C=se.search,z=se.onSearch,G=se.multipleLine,X=G===void 0?!1:G,pe=se.filter,ae=se.actions,Se=ae===void 0?[]:ae,Te=se.settings,je=Te===void 0?[]:Te,ft=se.tabs,fe=ft===void 0?{}:ft,ie=se.menu,ge=Object(p.d)(),Ve=Object(Y.a)(),Ee=Ve==="sm"||Ve==="xs",Me=ge.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),_e=Object(T.useMemo)(function(){return C?I.a.isValidElement(C)?C:Object(l.jsx)(a.a.Search,Object(n.a)(Object(n.a)({style:{width:200},placeholder:Me},C),{},{onSearch:function(){for(var Sn,Tt=arguments.length,ht=new Array(Tt),Rt=0;Rt<Tt;Rt++)ht[Rt]=arguments[Rt];z==null||z(ht==null?void 0:ht[0]),(Sn=C.onSearch)===null||Sn===void 0||Sn.call.apply(Sn,[C].concat(ht))}})):null},[Me,z,C]),Re=Object(T.useContext)(o.a.ConfigContext),et=Re.getPrefixCls,Xe=et("pro-table-list-toolbar",be),it=Object(T.useMemo)(function(){return pe?Object(l.jsx)("div",{className:"".concat(Xe,"-filter"),children:pe}):null},[pe,Xe]),bt=Object(T.useMemo)(function(){return ie||Z||ee||ce},[ie,ee,Z,ce]),Ct=Object(T.useMemo)(function(){return Array.isArray(Se)?Se.length<1?null:Object(l.jsx)(r.b,{align:"center",children:Se.map(function(kt,Sn){return I.a.isValidElement(kt)?I.a.cloneElement(kt,Object(n.a)({key:Sn},kt==null?void 0:kt.props)):Object(l.jsx)(I.a.Fragment,{children:kt},Sn)})}):Se},[Se]),Bt=Object(T.useMemo)(function(){return bt&&_e||!X&&it||Ct||(je==null?void 0:je.length)},[Ct,it,bt,X,_e,je==null?void 0:je.length]),qe=Object(T.useMemo)(function(){return ce||Z||ee||ie||!bt&&_e},[bt,ie,_e,ee,Z,ce]),st=Object(T.useMemo)(function(){return!qe&&Bt?Object(l.jsx)("div",{className:"".concat(Xe,"-left")}):!ie&&(bt||!_e)?Object(l.jsx)("div",{className:"".concat(Xe,"-left"),children:Object(l.jsx)("div",{className:"".concat(Xe,"-title"),children:Object(l.jsx)(w.a,{tooltip:ce,label:Z,subTitle:ee})})}):Object(l.jsxs)(r.b,{className:"".concat(Xe,"-left"),children:[bt&&!ie&&Object(l.jsx)("div",{className:"".concat(Xe,"-title"),children:Object(l.jsx)(w.a,{tooltip:ce,label:Z,subTitle:ee})}),ie&&Object(l.jsx)(ye,Object(n.a)(Object(n.a)({},ie),{},{prefixCls:Xe})),!bt&&_e?Object(l.jsx)("div",{className:"".concat(Xe,"-search"),children:_e}):null]})},[qe,Bt,bt,ie,Xe,_e,ee,Z,ce]),ut=Object(T.useMemo)(function(){return Bt?Object(l.jsxs)(r.b,{className:"".concat(Xe,"-right"),direction:Ee?"vertical":"horizontal",size:16,align:Ee?"end":"center",children:[bt&&_e?Object(l.jsx)("div",{className:"".concat(Xe,"-search"),children:_e}):null,X?null:it,Ct,(je==null?void 0:je.length)?Object(l.jsx)(r.b,{size:12,align:"center",className:"".concat(Xe,"-setting-items"),children:je.map(function(kt,Sn){var Tt=q(kt);return Object(l.jsx)("div",{className:"".concat(Xe,"-setting-item"),children:Tt},Sn)})}):null]}):null},[Ct,Ee,it,Bt,bt,X,Xe,_e,je]),nt=Object(T.useMemo)(function(){if(!Bt&&!qe)return null;var kt=k()("".concat(Xe,"-container"),Object(u.a)({},"".concat(Xe,"-container-mobile"),Ee));return Object(l.jsxs)("div",{className:kt,children:[st,ut]})},[qe,Bt,Ee,st,Xe,ut]);return Object(l.jsxs)("div",{style:y,className:k()("".concat(Xe),R),children:[nt,Object(l.jsx)(oe,{filtersNode:it,prefixCls:Xe,tabs:fe,multipleLine:X})]})},ue=M.a=he},NKxu:function(Ie,M,e){var u=e("lSCD"),c=e("E2jh"),r=e("GoyQ"),f=e("3Fdi"),o=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,a=Function.prototype,n=Object.prototype,v=a.toString,m=n.hasOwnProperty,h=RegExp("^"+v.call(m).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function t(l){if(!r(l)||c(l))return!1;var p=u(l)?h:i;return p.test(f(l))}Ie.exports=t},NOtv:function(Ie,M,e){(function(u){M.formatArgs=r,M.save=f,M.load=o,M.useColors=c,M.storage=i(),M.destroy=function(){var n=!1;return function(){n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}(),M.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function c(){return typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!!this.useColors){var v="color: "+this.color;n.splice(1,0,v,"color: inherit");var m=0,h=0;n[0].replace(/%[a-zA-Z%]/g,function(t){t!=="%%"&&(m++,t==="%c"&&(h=m))}),n.splice(h,0,v)}}M.log=console.debug||console.log||function(){};function f(n){try{n?M.storage.setItem("debug",n):M.storage.removeItem("debug")}catch(v){}}function o(){var n;try{n=M.storage.getItem("debug")}catch(v){}return!n&&typeof u!="undefined"&&"env"in u&&(n=Object({NODE_ENV:"production"}).DEBUG),n}function i(){try{return localStorage}catch(n){}}Ie.exports=e("3JDX")(M);var a=Ie.exports.formatters;a.j=function(n){try{return JSON.stringify(n)}catch(v){return"[UnexpectedJSONParseError]: "+v.message}}}).call(this,e("Q2Ig"))},NUBc:function(Ie,M,e){"use strict";var u=e("rePB"),c=e("wx14"),r=e("JaaR"),f=e("zs7G"),o=e("5bA4"),i=e("UESt"),a=e("TSYQ"),n=e.n(a),v=e("VTBJ"),m=e("1OyB"),h=e("vuIU"),t=e("Ji7U"),l=e("LK+K"),p=e("q1tI"),w=e.n(p),S=function(Z){var ee,ce="".concat(Z.rootPrefixCls,"-item"),R=n()(ce,"".concat(ce,"-").concat(Z.page),(ee={},Object(u.a)(ee,"".concat(ce,"-active"),Z.active),Object(u.a)(ee,"".concat(ce,"-disabled"),!Z.page),Object(u.a)(ee,Z.className,!!Z.className),ee)),y=function(){Z.onClick(Z.page)},C=function(G){Z.onKeyPress(G,Z.onClick,Z.page)};return w.a.createElement("li",{title:Z.showTitle?Z.page:null,className:R,onClick:y,onKeyPress:C,tabIndex:"0"},Z.itemRender(Z.page,"page",w.a.createElement("a",{rel:"nofollow"},Z.page)))},k=S,T={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},I=function(be){Object(t.a)(ee,be);var Z=Object(l.a)(ee);function ee(){var ce;Object(m.a)(this,ee);for(var R=arguments.length,y=new Array(R),C=0;C<R;C++)y[C]=arguments[C];return ce=Z.call.apply(Z,[this].concat(y)),ce.state={goInputText:""},ce.buildOptionText=function(z){return"".concat(z," ").concat(ce.props.locale.items_per_page)},ce.changeSize=function(z){ce.props.changeSize(Number(z))},ce.handleChange=function(z){ce.setState({goInputText:z.target.value})},ce.handleBlur=function(z){var G=ce.props,X=G.goButton,pe=G.quickGo,ae=G.rootPrefixCls,Se=ce.state.goInputText;X||Se===""||(ce.setState({goInputText:""}),!(z.relatedTarget&&(z.relatedTarget.className.indexOf("".concat(ae,"-item-link"))>=0||z.relatedTarget.className.indexOf("".concat(ae,"-item"))>=0))&&pe(ce.getValidValue()))},ce.go=function(z){var G=ce.state.goInputText;G!==""&&(z.keyCode===T.ENTER||z.type==="click")&&(ce.setState({goInputText:""}),ce.props.quickGo(ce.getValidValue()))},ce}return Object(h.a)(ee,[{key:"getValidValue",value:function(){var R=this.state.goInputText;return!R||isNaN(R)?void 0:Number(R)}},{key:"getPageSizeOptions",value:function(){var R=this.props,y=R.pageSize,C=R.pageSizeOptions;return C.some(function(z){return z.toString()===y.toString()})?C:C.concat([y.toString()]).sort(function(z,G){var X=isNaN(Number(z))?0:Number(z),pe=isNaN(Number(G))?0:Number(G);return X-pe})}},{key:"render",value:function(){var R=this,y=this.props,C=y.pageSize,z=y.locale,G=y.rootPrefixCls,X=y.changeSize,pe=y.quickGo,ae=y.goButton,Se=y.selectComponentClass,Te=y.buildOptionText,je=y.selectPrefixCls,ft=y.disabled,fe=this.state.goInputText,ie="".concat(G,"-options"),ge=Se,Ve=null,Ee=null,Me=null;if(!X&&!pe)return null;var _e=this.getPageSizeOptions();if(X&&ge){var Re=_e.map(function(et,Xe){return w.a.createElement(ge.Option,{key:Xe,value:et.toString()},(Te||R.buildOptionText)(et))});Ve=w.a.createElement(ge,{disabled:ft,prefixCls:je,showSearch:!1,className:"".concat(ie,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(C||_e[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Xe){return Xe.parentNode},"aria-label":z.page_size,defaultOpen:!1},Re)}return pe&&(ae&&(Me=typeof ae=="boolean"?w.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:ft,className:"".concat(ie,"-quick-jumper-button")},z.jump_to_confirm):w.a.createElement("span",{onClick:this.go,onKeyUp:this.go},ae)),Ee=w.a.createElement("div",{className:"".concat(ie,"-quick-jumper")},z.jump_to,w.a.createElement("input",{disabled:ft,type:"text",value:fe,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":z.page}),z.page,Me)),w.a.createElement("li",{className:"".concat(ie)},Ve,Ee)}}]),ee}(w.a.Component);I.defaultProps={pageSizeOptions:["10","20","50","100"]};var Y=I,$=e("N2Kk");function A(){}function g(be){var Z=Number(be);return typeof Z=="number"&&!isNaN(Z)&&isFinite(Z)&&Math.floor(Z)===Z}function b(be,Z,ee){return ee}function d(be,Z,ee){var ce=typeof be=="undefined"?Z.pageSize:be;return Math.floor((ee.total-1)/ce)+1}var O=function(be){Object(t.a)(ee,be);var Z=Object(l.a)(ee);function ee(ce){var R;Object(m.a)(this,ee),R=Z.call(this,ce),R.getJumpPrevPage=function(){return Math.max(1,R.state.current-(R.props.showLessItems?3:5))},R.getJumpNextPage=function(){return Math.min(d(void 0,R.state,R.props),R.state.current+(R.props.showLessItems?3:5))},R.getItemIcon=function(X,pe){var ae=R.props.prefixCls,Se=X||w.a.createElement("button",{type:"button","aria-label":pe,className:"".concat(ae,"-item-link")});return typeof X=="function"&&(Se=w.a.createElement(X,Object(v.a)({},R.props))),Se},R.savePaginationNode=function(X){R.paginationNode=X},R.isValid=function(X){var pe=R.props.total;return g(X)&&X!==R.state.current&&g(pe)&&pe>0},R.shouldDisplayQuickJumper=function(){var X=R.props,pe=X.showQuickJumper,ae=X.total,Se=R.state.pageSize;return ae<=Se?!1:pe},R.handleKeyDown=function(X){(X.keyCode===T.ARROW_UP||X.keyCode===T.ARROW_DOWN)&&X.preventDefault()},R.handleKeyUp=function(X){var pe=R.getValidValue(X),ae=R.state.currentInputValue;pe!==ae&&R.setState({currentInputValue:pe}),X.keyCode===T.ENTER?R.handleChange(pe):X.keyCode===T.ARROW_UP?R.handleChange(pe-1):X.keyCode===T.ARROW_DOWN&&R.handleChange(pe+1)},R.handleBlur=function(X){var pe=R.getValidValue(X);R.handleChange(pe)},R.changePageSize=function(X){var pe=R.state.current,ae=d(X,R.state,R.props);pe=pe>ae?ae:pe,ae===0&&(pe=R.state.current),typeof X=="number"&&("pageSize"in R.props||R.setState({pageSize:X}),"current"in R.props||R.setState({current:pe,currentInputValue:pe})),R.props.onShowSizeChange(pe,X),"onChange"in R.props&&R.props.onChange&&R.props.onChange(pe,X)},R.handleChange=function(X){var pe=R.props,ae=pe.disabled,Se=pe.onChange,Te=R.state,je=Te.pageSize,ft=Te.current,fe=Te.currentInputValue;if(R.isValid(X)&&!ae){var ie=d(void 0,R.state,R.props),ge=X;return X>ie?ge=ie:X<1&&(ge=1),"current"in R.props||R.setState({current:ge}),ge!==fe&&R.setState({currentInputValue:ge}),Se(ge,je),ge}return ft},R.prev=function(){R.hasPrev()&&R.handleChange(R.state.current-1)},R.next=function(){R.hasNext()&&R.handleChange(R.state.current+1)},R.jumpPrev=function(){R.handleChange(R.getJumpPrevPage())},R.jumpNext=function(){R.handleChange(R.getJumpNextPage())},R.hasPrev=function(){return R.state.current>1},R.hasNext=function(){return R.state.current<d(void 0,R.state,R.props)},R.runIfEnter=function(X,pe){if(X.key==="Enter"||X.charCode===13){for(var ae=arguments.length,Se=new Array(ae>2?ae-2:0),Te=2;Te<ae;Te++)Se[Te-2]=arguments[Te];pe.apply(void 0,Se)}},R.runIfEnterPrev=function(X){R.runIfEnter(X,R.prev)},R.runIfEnterNext=function(X){R.runIfEnter(X,R.next)},R.runIfEnterJumpPrev=function(X){R.runIfEnter(X,R.jumpPrev)},R.runIfEnterJumpNext=function(X){R.runIfEnter(X,R.jumpNext)},R.handleGoTO=function(X){(X.keyCode===T.ENTER||X.type==="click")&&R.handleChange(R.state.currentInputValue)};var y=ce.onChange!==A,C="current"in ce;C&&!y&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var z=ce.defaultCurrent;"current"in ce&&(z=ce.current);var G=ce.defaultPageSize;return"pageSize"in ce&&(G=ce.pageSize),z=Math.min(z,d(G,void 0,ce)),R.state={current:z,currentInputValue:z,pageSize:G},R}return Object(h.a)(ee,[{key:"componentDidUpdate",value:function(R,y){var C=this.props.prefixCls;if(y.current!==this.state.current&&this.paginationNode){var z=this.paginationNode.querySelector(".".concat(C,"-item-").concat(y.current));z&&document.activeElement===z&&z.blur()}}},{key:"getValidValue",value:function(R){var y=R.target.value,C=d(void 0,this.state,this.props),z=this.state.currentInputValue,G;return y===""?G=y:isNaN(Number(y))?G=z:y>=C?G=C:G=Number(y),G}},{key:"getShowSizeChanger",value:function(){var R=this.props,y=R.showSizeChanger,C=R.total,z=R.totalBoundaryShowSizeChanger;return typeof y!="undefined"?y:C>z}},{key:"renderPrev",value:function(R){var y=this.props,C=y.prevIcon,z=y.itemRender,G=z(R,"prev",this.getItemIcon(C,"prev page")),X=!this.hasPrev();return Object(p.isValidElement)(G)?Object(p.cloneElement)(G,{disabled:X}):G}},{key:"renderNext",value:function(R){var y=this.props,C=y.nextIcon,z=y.itemRender,G=z(R,"next",this.getItemIcon(C,"next page")),X=!this.hasNext();return Object(p.isValidElement)(G)?Object(p.cloneElement)(G,{disabled:X}):G}},{key:"render",value:function(){var R=this,y=this.props,C=y.prefixCls,z=y.className,G=y.style,X=y.disabled,pe=y.hideOnSinglePage,ae=y.total,Se=y.locale,Te=y.showQuickJumper,je=y.showLessItems,ft=y.showTitle,fe=y.showTotal,ie=y.simple,ge=y.itemRender,Ve=y.showPrevNextJumpers,Ee=y.jumpPrevIcon,Me=y.jumpNextIcon,_e=y.selectComponentClass,Re=y.selectPrefixCls,et=y.pageSizeOptions,Xe=this.state,it=Xe.current,bt=Xe.pageSize,Ct=Xe.currentInputValue;if(pe===!0&&ae<=bt)return null;var Bt=d(void 0,this.state,this.props),qe=[],st=null,ut=null,nt=null,kt=null,Sn=null,Tt=Te&&Te.goButton,ht=je?1:2,Rt=it-1>0?it-1:0,Ft=it+1<Bt?it+1:Bt,nn=Object.keys(this.props).reduce(function(wn,on){return(on.substr(0,5)==="data-"||on.substr(0,5)==="aria-"||on==="role")&&(wn[on]=R.props[on]),wn},{}),bn=fe&&w.a.createElement("li",{className:"".concat(C,"-total-text")},fe(ae,[ae===0?0:(it-1)*bt+1,it*bt>ae?ae:it*bt]));if(ie)return Tt&&(typeof Tt=="boolean"?Sn=w.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Se.jump_to_confirm):Sn=w.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Tt),Sn=w.a.createElement("li",{title:ft?"".concat(Se.jump_to).concat(it,"/").concat(Bt):null,className:"".concat(C,"-simple-pager")},Sn)),w.a.createElement("ul",Object(c.a)({className:n()(C,"".concat(C,"-simple"),Object(u.a)({},"".concat(C,"-disabled"),X),z),style:G,ref:this.savePaginationNode},nn),bn,w.a.createElement("li",{title:ft?Se.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:n()("".concat(C,"-prev"),Object(u.a)({},"".concat(C,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Rt)),w.a.createElement("li",{title:ft?"".concat(it,"/").concat(Bt):null,className:"".concat(C,"-simple-pager")},w.a.createElement("input",{type:"text",value:Ct,disabled:X,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:"3"}),w.a.createElement("span",{className:"".concat(C,"-slash")},"/"),Bt),w.a.createElement("li",{title:ft?Se.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:n()("".concat(C,"-next"),Object(u.a)({},"".concat(C,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ft)),Sn);if(Bt<=3+ht*2){var sn={locale:Se,rootPrefixCls:C,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ft,itemRender:ge};Bt||qe.push(w.a.createElement(k,Object(c.a)({},sn,{key:"noPager",page:1,className:"".concat(C,"-item-disabled")})));for(var un=1;un<=Bt;un+=1){var Ht=it===un;qe.push(w.a.createElement(k,Object(c.a)({},sn,{key:un,page:un,active:Ht})))}}else{var jn=je?Se.prev_3:Se.prev_5,Ln=je?Se.next_3:Se.next_5;Ve&&(st=w.a.createElement("li",{title:ft?jn:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:n()("".concat(C,"-jump-prev"),Object(u.a)({},"".concat(C,"-jump-prev-custom-icon"),!!Ee))},ge(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ee,"prev page"))),ut=w.a.createElement("li",{title:ft?Ln:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:n()("".concat(C,"-jump-next"),Object(u.a)({},"".concat(C,"-jump-next-custom-icon"),!!Me))},ge(this.getJumpNextPage(),"jump-next",this.getItemIcon(Me,"next page")))),kt=w.a.createElement(k,{locale:Se,last:!0,rootPrefixCls:C,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Bt,page:Bt,active:!1,showTitle:ft,itemRender:ge}),nt=w.a.createElement(k,{locale:Se,rootPrefixCls:C,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ft,itemRender:ge});var Un=Math.max(1,it-ht),lt=Math.min(it+ht,Bt);it-1<=ht&&(lt=1+ht*2),Bt-it<=ht&&(Un=Bt-ht*2);for(var Nt=Un;Nt<=lt;Nt+=1){var zt=it===Nt;qe.push(w.a.createElement(k,{locale:Se,rootPrefixCls:C,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Nt,page:Nt,active:zt,showTitle:ft,itemRender:ge}))}it-1>=ht*2&&it!==1+2&&(qe[0]=Object(p.cloneElement)(qe[0],{className:"".concat(C,"-item-after-jump-prev")}),qe.unshift(st)),Bt-it>=ht*2&&it!==Bt-2&&(qe[qe.length-1]=Object(p.cloneElement)(qe[qe.length-1],{className:"".concat(C,"-item-before-jump-next")}),qe.push(ut)),Un!==1&&qe.unshift(nt),lt!==Bt&&qe.push(kt)}var en=!this.hasPrev()||!Bt,tn=!this.hasNext()||!Bt;return w.a.createElement("ul",Object(c.a)({className:n()(C,z,Object(u.a)({},"".concat(C,"-disabled"),X)),style:G,ref:this.savePaginationNode},nn),bn,w.a.createElement("li",{title:ft?Se.prev_page:null,onClick:this.prev,tabIndex:en?null:0,onKeyPress:this.runIfEnterPrev,className:n()("".concat(C,"-prev"),Object(u.a)({},"".concat(C,"-disabled"),en)),"aria-disabled":en},this.renderPrev(Rt)),qe,w.a.createElement("li",{title:ft?Se.next_page:null,onClick:this.next,tabIndex:tn?null:0,onKeyPress:this.runIfEnterNext,className:n()("".concat(C,"-next"),Object(u.a)({},"".concat(C,"-disabled"),tn)),"aria-disabled":tn},this.renderNext(Ft)),w.a.createElement(Y,{disabled:X,locale:Se,rootPrefixCls:C,selectComponentClass:_e,selectPrefixCls:Re,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:it,pageSize:bt,pageSizeOptions:et,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Tt}))}}],[{key:"getDerivedStateFromProps",value:function(R,y){var C={};if("current"in R&&(C.current=R.current,R.current!==y.current&&(C.currentInputValue=C.current)),"pageSize"in R&&R.pageSize!==y.pageSize){var z=y.current,G=d(R.pageSize,y,R);z=z>G?G:z,"current"in R||(C.current=z,C.currentInputValue=z),C.pageSize=R.pageSize}return C}}]),ee}(w.a.Component);O.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:A,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:A,locale:$.a,style:{},itemRender:b,totalBoundaryShowSizeChanger:50};var E=O,D=e("H4fg"),W=e("H84U"),te=e("5OYt"),re=e("YMnH"),ye=e("2fM7"),q=function(Z){return p.createElement(ye.a,Object(c.a)({},Z,{size:"small"}))},oe=function(Z){return p.createElement(ye.a,Object(c.a)({},Z,{size:"middle"}))};q.Option=ye.a.Option,oe.Option=ye.a.Option;var he=function(be,Z){var ee={};for(var ce in be)Object.prototype.hasOwnProperty.call(be,ce)&&Z.indexOf(ce)<0&&(ee[ce]=be[ce]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,ce=Object.getOwnPropertySymbols(be);R<ce.length;R++)Z.indexOf(ce[R])<0&&Object.prototype.propertyIsEnumerable.call(be,ce[R])&&(ee[ce[R]]=be[ce[R]]);return ee},ue=function(Z){var ee=Z.prefixCls,ce=Z.selectPrefixCls,R=Z.className,y=Z.size,C=Z.locale,z=Z.selectComponentClass,G=Z.responsive,X=Z.showSizeChanger,pe=he(Z,["prefixCls","selectPrefixCls","className","size","locale","selectComponentClass","responsive","showSizeChanger"]),ae=Object(te.a)(G),Se=ae.xs,Te=p.useContext(W.b),je=Te.getPrefixCls,ft=Te.direction,fe=Te.pagination,ie=fe===void 0?{}:fe,ge=je("pagination",ee),Ve=X!=null?X:ie.showSizeChanger,Ee=function(){var _e=p.createElement("span",{className:"".concat(ge,"-item-ellipsis")},"\u2022\u2022\u2022"),Re=p.createElement("button",{className:"".concat(ge,"-item-link"),type:"button",tabIndex:-1},p.createElement(o.a,null)),et=p.createElement("button",{className:"".concat(ge,"-item-link"),type:"button",tabIndex:-1},p.createElement(i.a,null)),Xe=p.createElement("a",{className:"".concat(ge,"-item-link")},p.createElement("div",{className:"".concat(ge,"-item-container")},p.createElement(r.a,{className:"".concat(ge,"-item-link-icon")}),_e)),it=p.createElement("a",{className:"".concat(ge,"-item-link")},p.createElement("div",{className:"".concat(ge,"-item-container")},p.createElement(f.a,{className:"".concat(ge,"-item-link-icon")}),_e));if(ft==="rtl"){var bt=[et,Re];Re=bt[0],et=bt[1];var Ct=[it,Xe];Xe=Ct[0],it=Ct[1]}return{prevIcon:Re,nextIcon:et,jumpPrevIcon:Xe,jumpNextIcon:it}};return p.createElement(re.a,{componentName:"Pagination",defaultLocale:D.a},function(Me){var _e,Re=Object(c.a)(Object(c.a)({},Me),C),et=y==="small"||!!(Se&&!y&&G),Xe=je("select",ce),it=n()((_e={},Object(u.a)(_e,"".concat(ge,"-mini"),et),Object(u.a)(_e,"".concat(ge,"-rtl"),ft==="rtl"),_e),R);return p.createElement(E,Object(c.a)({},Ee(),pe,{prefixCls:ge,selectPrefixCls:Xe,className:it,selectComponentClass:z||(et?q:oe),locale:Re,showSizeChanger:Ve}))})},ne=ue,se=M.a=ne},NYcB:function(Ie,M,e){"use strict";e.d(M,"a",function(){return n});var u=e("Awhp"),c=e("KrTs"),r=e("nKUr"),f=e.n(r),o=e("B+1O"),i=e.n(o),a={Success:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"success",text:h})},Error:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"error",text:h})},Default:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"default",text:h})},Processing:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"processing",text:h})},Warning:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"warning",text:h})},success:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"success",text:h})},error:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"error",text:h})},default:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"default",text:h})},processing:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"processing",text:h})},warning:function(m){var h=m.children;return Object(r.jsx)(c.a,{status:"warning",text:h})}},n=function(m){var h=m.color,t=m.children;return Object(r.jsx)(c.a,{color:h,text:t})};M.b=a},Npjl:function(Ie,M){function e(u,c){return u==null?void 0:u[c]}Ie.exports=e},NvD2:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("Kwbf");function c(a,n){var v=new Set;return a.forEach(function(m){n.has(m)||v.add(m)}),v}function r(a){var n=a||{},v=n.disabled,m=n.disableCheckbox,h=n.checkable;return!!(v||m)||h===!1}function f(a,n,v,m){for(var h=new Set(a),t=new Set,l=0;l<=v;l+=1){var p=n.get(l)||new Set;p.forEach(function(T){var I=T.key,Y=T.node,$=T.children,A=$===void 0?[]:$;h.has(I)&&!m(Y)&&A.filter(function(g){return!m(g.node)}).forEach(function(g){h.add(g.key)})})}for(var w=new Set,S=v;S>=0;S-=1){var k=n.get(S)||new Set;k.forEach(function(T){var I=T.parent,Y=T.node;if(!(m(Y)||!T.parent||w.has(T.parent.key))){if(m(T.parent.node)){w.add(I.key);return}var $=!0,A=!1;(I.children||[]).filter(function(g){return!m(g.node)}).forEach(function(g){var b=g.key,d=h.has(b);$&&!d&&($=!1),!A&&(d||t.has(b))&&(A=!0)}),$&&h.add(I.key),A&&t.add(I.key),w.add(I.key)}})}return{checkedKeys:Array.from(h),halfCheckedKeys:Array.from(c(t,h))}}function o(a,n,v,m,h){for(var t=new Set(a),l=new Set(n),p=0;p<=m;p+=1){var w=v.get(p)||new Set;w.forEach(function(I){var Y=I.key,$=I.node,A=I.children,g=A===void 0?[]:A;!t.has(Y)&&!l.has(Y)&&!h($)&&g.filter(function(b){return!h(b.node)}).forEach(function(b){t.delete(b.key)})})}l=new Set;for(var S=new Set,k=m;k>=0;k-=1){var T=v.get(k)||new Set;T.forEach(function(I){var Y=I.parent,$=I.node;if(!(h($)||!I.parent||S.has(I.parent.key))){if(h(I.parent.node)){S.add(Y.key);return}var A=!0,g=!1;(Y.children||[]).filter(function(b){return!h(b.node)}).forEach(function(b){var d=b.key,O=t.has(d);A&&!O&&(A=!1),!g&&(O||l.has(d))&&(g=!0)}),A||t.delete(Y.key),g&&l.add(Y.key),S.add(Y.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(c(l,t))}}function i(a,n,v,m){var h=[],t;m?t=m:t=r;var l=new Set(a.filter(function(k){var T=!!v[k];return T||h.push(k),T})),p=new Map,w=0;Object.keys(v).forEach(function(k){var T=v[k],I=T.level,Y=p.get(I);Y||(Y=new Set,p.set(I,Y)),Y.add(T),w=Math.max(w,I)}),Object(u.a)(!h.length,"Tree missing follow keys: ".concat(h.slice(0,100).map(function(k){return"'".concat(k,"'")}).join(", ")));var S;return n===!0?S=f(l,p,w,t):S=o(l,n.halfCheckedKeys,p,w,t),S}},Nymx:function(Ie,M,e){"use strict";var u=e("oBTY"),c=e("k1fw"),r=e("tJVT"),f=e("2qc2"),o=e("q1tI"),i=e("5Dmo"),a=e("3S7+"),n=e("IehP"),v=e("3R4v"),m=e("Hp1U"),h=e("XSw6"),t=e("HOj0"),l=e("nKUr"),p=function($){var A=$.isExpand,g=$.isFold,b=$.onAction,d=$.tableId;return[A?{tooltip:Object(t.a)("pages.datastudio.label.lineage.expand.lineage"),action:"shrink",component:Object(l.jsx)(n.a,{})}:{tooltip:Object(t.a)("pages.datastudio.label.lineage.collapse.lineage"),action:"expand",component:Object(l.jsx)(v.a,{})},g?{tooltip:Object(t.a)("pages.datastudio.label.lineage.expand.field"),action:"fold",component:Object(l.jsx)(m.a,{})}:{tooltip:Object(t.a)("pages.datastudio.label.lineage.collapse.field"),action:"unfold",component:Object(l.jsx)(h.a,{})}].map(function(O){return{component:Object(l.jsx)(a.a,{title:O.tooltip,children:Object(l.jsx)("span",{onClick:function(){return b(O.action,d)},children:O.component})})}})},w=p,S=e("LvDl"),k=function(){return{tables:[],relations:[]}},T=function($){var A=$.datas,g=Object(o.useRef)(null),b=Object(o.useState)(A),d=Object(r.a)(b,2),O=d[0],E=d[1],D=Object(o.useState)(A),W=Object(r.a)(D,2),te=W[0],re=W[1],ye=Object(o.useState)(!1),q=Object(r.a)(ye,2),oe=q[0],he=q[1],ue=Object(o.useState)(!1),ne=Object(r.a)(ue,2),se=ne[0],be=ne[1],Z=function(R){var y={tables:[],relations:[]};return te.relations.forEach(function(C){if(C.srcTableId===R){y.relations.push(C);var z=C.tgtTableId;if(!y.tables.some(function(X){return X.id===z})){var G=te.tables.find(function(X){return X.id===z});y.tables.push(G)}}}),y},ee=function(R,y){var C=S.cloneDeep(O);switch(R){case"expand":{var z=C.tables.find(function(ae){return ae.id===y});z.isExpand=!0;var G=Z(y);G.tables.forEach(function(ae){C.tables.some(function(Se){return Se.id===ae.id})||C.tables.push(ae)}),G.relations.forEach(function(ae){C.relations.some(function(Se){return Se.id===ae.id})||C.relations.push(ae)}),E(Object(c.a)({},C));break}case"shrink":{var X=C.tables.find(function(ae){return ae.id===y});X.isExpand=!1;var pe=Z(y);pe.tables.forEach(function(ae){var Se=C.tables.findIndex(function(Te){return Te.id===ae.id});C.tables.splice(Se,1)}),pe.relations.forEach(function(ae){var Se=C.relations.findIndex(function(Te){return Te.id===ae.id});C.relations.splice(Se,1)}),E(Object(c.a)({},C));break}case"fold":{C.tables.forEach(function(ae){ae.id===y&&(ae.isFold=!1)}),C.tables=Object(u.a)(C.tables),E(Object(c.a)({},C));break}case"unfold":{C.tables.forEach(function(ae){ae.id===y&&(ae.isFold=!0)}),C.tables=Object(u.a)(C.tables),E(Object(c.a)({},C));break}}};return O.tables.forEach(function(ce){ce.operators=w({isExpand:!!ce.isExpand,isFold:!!ce.isFold,onAction:ee,tableId:ce.id})}),Object(l.jsx)(f.a,Object(c.a)(Object(c.a)({},O),{},{onLoaded:function(R){g.current=R},onEachFrame:function(){!g.current||(oe&&(g.current.relayout(),he(!1)),se&&(g.current.focusNode(se),be(!1)))}}))},I=M.a=T},"O/se":function(Ie,M,e){"use strict";e.d(M,"a",function(){return m});var u=e("fWQN"),c=e("mtLc"),r=e("VPJY"),f=e.n(r),o=e("EffR"),i=e("N0LK"),a=e("zrhQ"),n=e("qj0h"),v={badgeBackground:a.a.fromHex("#4D4D4D"),badgeForeground:a.a.fromHex("#FFFFFF")},m=function(){function h(t,l){Object(u.a)(this,h),this.count=0,this.options=l||Object.create(null),Object(n.f)(this.options,v,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(o.append)(t,Object(o.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}return Object(c.a)(h,[{key:"setCount",value:function(l){this.count=l,this.render()}},{key:"setTitleFormat",value:function(l){this.titleFormat=l,this.render()}},{key:"render",value:function(){this.element.textContent=Object(i.w)(this.countFormat,this.count),this.element.title=Object(i.w)(this.titleFormat,this.count),this.applyStyles()}},{key:"style",value:function(l){this.badgeBackground=l.badgeBackground,this.badgeForeground=l.badgeForeground,this.badgeBorder=l.badgeBorder,this.applyStyles()}},{key:"applyStyles",value:function(){if(this.element){var l=this.badgeBackground?this.badgeBackground.toString():"",p=this.badgeForeground?this.badgeForeground.toString():"",w=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=l,this.element.style.color=p,this.element.style.borderWidth=w?"1px":"",this.element.style.borderStyle=w?"solid":"",this.element.style.borderColor=w}}}]),h}()},O0oS:function(Ie,M,e){var u=e("Cwc5"),c=function(){try{var r=u(Object,"defineProperty");return r({},"",{}),r}catch(f){}}();Ie.exports=c},O7RO:function(Ie,M,e){var u=e("CMye"),c=e("7GkX");function r(f){for(var o=c(f),i=o.length;i--;){var a=o[i],n=f[a];o[i]=[a,n,u(n)]}return o}Ie.exports=r},OAO6:function(Ie,M,e){"use strict";e.d(M,"a",function(){return f}),e.d(M,"b",function(){return o}),e.d(M,"c",function(){return i}),e.d(M,"d",function(){return a});var u=e("mtLc"),c=e("fWQN"),r=e("Cg/j"),f=Object(r.c)("undoRedoService"),o=Object(u.a)(function n(v,m){Object(c.a)(this,n),this.resource=v,this.elements=m}),i=function(){function n(){Object(c.a)(this,n),this.id=n._ID++,this.order=1}return Object(u.a)(n,[{key:"nextOrder",value:function(){return this.id===0?0:this.order++}}]),n}();i._ID=0,i.None=new i;var a=function(){function n(){Object(c.a)(this,n),this.id=n._ID++,this.order=1}return Object(u.a)(n,[{key:"nextOrder",value:function(){return this.id===0?0:this.order++}}]),n}();a._ID=0,a.None=new a},OBOq:function(Ie,M,e){"use strict";e.d(M,"b",function(){return h}),e.d(M,"a",function(){return t}),e.d(M,"c",function(){return l});var u=e("UCkY"),c=e.n(u),r=e("MNsG"),f=e("EffR"),o=2e4,i,a,n,v,m;function h(w){i=document.createElement("div"),i.className="monaco-aria-container";var S=function(){var I=document.createElement("div");return I.className="monaco-alert",I.setAttribute("role","alert"),I.setAttribute("aria-atomic","true"),i.appendChild(I),I};a=S(),n=S();var k=function(){var I=document.createElement("div");return I.className="monaco-status",I.setAttribute("role","complementary"),I.setAttribute("aria-live","polite"),I.setAttribute("aria-atomic","true"),i.appendChild(I),I};v=k(),m=k(),w.appendChild(i)}function t(w){!i||(a.textContent!==w?(f.clearNode(n),p(a,w)):(f.clearNode(a),p(n,w)))}function l(w){!i||(r.f?t(w):v.textContent!==w?(f.clearNode(m),p(v,w)):(f.clearNode(v),p(m,w)))}function p(w,S){f.clearNode(w),S.length>o&&(S=S.substr(0,o)),w.textContent=S,w.style.visibility="hidden",w.style.visibility="visible"}},OBhP:function(Ie,M,e){var u=e("fmRc"),c=e("gFfm"),r=e("MrPd"),f=e("WwFo"),o=e("Dw+G"),i=e("5Tg0"),a=e("Q1l4"),n=e("VOtZ"),v=e("EEGq"),m=e("qZTm"),h=e("G6z8"),t=e("QqLw"),l=e("yHx3"),p=e("wrZu"),w=e("+iFO"),S=e("Z0cm"),k=e("DSRE"),T=e("zEVN"),I=e("GoyQ"),Y=e("1+5i"),$=e("7GkX"),A=e("mTTR"),g=1,b=2,d=4,O="[object Arguments]",E="[object Array]",D="[object Boolean]",W="[object Date]",te="[object Error]",re="[object Function]",ye="[object GeneratorFunction]",q="[object Map]",oe="[object Number]",he="[object Object]",ue="[object RegExp]",ne="[object Set]",se="[object String]",be="[object Symbol]",Z="[object WeakMap]",ee="[object ArrayBuffer]",ce="[object DataView]",R="[object Float32Array]",y="[object Float64Array]",C="[object Int8Array]",z="[object Int16Array]",G="[object Int32Array]",X="[object Uint8Array]",pe="[object Uint8ClampedArray]",ae="[object Uint16Array]",Se="[object Uint32Array]",Te={};Te[O]=Te[E]=Te[ee]=Te[ce]=Te[D]=Te[W]=Te[R]=Te[y]=Te[C]=Te[z]=Te[G]=Te[q]=Te[oe]=Te[he]=Te[ue]=Te[ne]=Te[se]=Te[be]=Te[X]=Te[pe]=Te[ae]=Te[Se]=!0,Te[te]=Te[re]=Te[Z]=!1;function je(ft,fe,ie,ge,Ve,Ee){var Me,_e=fe&g,Re=fe&b,et=fe&d;if(ie&&(Me=Ve?ie(ft,ge,Ve,Ee):ie(ft)),Me!==void 0)return Me;if(!I(ft))return ft;var Xe=S(ft);if(Xe){if(Me=l(ft),!_e)return a(ft,Me)}else{var it=t(ft),bt=it==re||it==ye;if(k(ft))return i(ft,_e);if(it==he||it==O||bt&&!Ve){if(Me=Re||bt?{}:w(ft),!_e)return Re?v(ft,o(Me,ft)):n(ft,f(Me,ft))}else{if(!Te[it])return Ve?ft:{};Me=p(ft,it,_e)}}Ee||(Ee=new u);var Ct=Ee.get(ft);if(Ct)return Ct;Ee.set(ft,Me),Y(ft)?ft.forEach(function(st){Me.add(je(st,fe,ie,st,ft,Ee))}):T(ft)&&ft.forEach(function(st,ut){Me.set(ut,je(st,fe,ie,ut,ft,Ee))});var Bt=et?Re?h:m:Re?A:$,qe=Xe?void 0:Bt(ft);return c(qe||ft,function(st,ut){qe&&(ut=st,st=ft[ut]),r(Me,ut,je(st,fe,ie,ut,ft,Ee))}),Me}Ie.exports=je},OFL0:function(Ie,M,e){var u=e("lvO4"),c=e("4sDh");function r(f,o){return f!=null&&c(f,o,u)}Ie.exports=r},OKK6:function(Ie,M,e){},"OOL/":function(Ie,M,e){var u=e("b5wT"),c=e("HzoJ"),r=e("2fNS"),f=e("81LO");Ie.exports=o;function o(n,v,m,h){var t=n.children(v),l=n.node(v),p=l?l.borderLeft:void 0,w=l?l.borderRight:void 0,S={};p&&(t=u.filter(t,function(A){return A!==p&&A!==w}));var k=c(n,t);u.forEach(k,function(A){if(n.children(A.v).length){var g=o(n,A.v,m,h);S[A.v]=g,u.has(g,"barycenter")&&a(A,g)}});var T=r(k,m);i(T,S);var I=f(T,h);if(p&&(I.vs=u.flatten([p,I.vs,w],!0),n.predecessors(p).length)){var Y=n.node(n.predecessors(p)[0]),$=n.node(n.predecessors(w)[0]);u.has(I,"barycenter")||(I.barycenter=0,I.weight=0),I.barycenter=(I.barycenter*I.weight+Y.order+$.order)/(I.weight+2),I.weight+=2}return I}function i(n,v){u.forEach(n,function(m){m.vs=u.flatten(m.vs.map(function(h){return v[h]?v[h].vs:h}),!0)})}function a(n,v){u.isUndefined(n.barycenter)?(n.barycenter=v.barycenter,n.weight=v.weight):(n.barycenter=(n.barycenter*n.weight+v.barycenter*v.weight)/(n.weight+v.weight),n.weight+=v.weight)}},OZM5:function(Ie,M,e){"use strict";e.d(M,"b",function(){return h}),e.d(M,"a",function(){return t}),e.d(M,"h",function(){return l}),e.d(M,"f",function(){return p}),e.d(M,"c",function(){return k}),e.d(M,"d",function(){return T}),e.d(M,"g",function(){return $}),e.d(M,"e",function(){return A});var u=e("KQm4"),c=e("U8pU"),r=e("wx14"),f=e("Ff2n"),o=e("q1tI"),i=e.n(o),a=e("Kwbf"),n=e("WaYH"),v=e("815F"),m=["children"];function h(g,b){if(!g)return[];var d=g.slice(),O=d.indexOf(b);return O>=0&&d.splice(O,1),d}function t(g,b){var d=(g||[]).slice();return d.indexOf(b)===-1&&d.push(b),d}function l(g){return g.split("-")}function p(g,b){var d=[],O=b[g];function E(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];D.forEach(function(W){var te=W.key,re=W.children;d.push(te),E(re)})}return E(O.children),d}function w(g){if(g.parent){var b=l(g.pos);return Number(b[b.length-1])===g.parent.children.length-1}return!1}function S(g){var b=l(g.pos);return Number(b[b.length-1])===0}function k(g,b,d,O,E,D,W,te,re,ye){var q,oe=g.clientX,he=g.clientY,ue=g.target.getBoundingClientRect(),ne=ue.top,se=ue.height,be=(ye==="rtl"?-1:1)*(((E==null?void 0:E.x)||0)-oe),Z=(be-12)/O,ee=te[d.props.eventKey];if(he<ne+se/2){var ce=W.findIndex(function(ft){return ft.key===ee.key}),R=ce<=0?0:ce-1,y=W[R].key;ee=te[y]}var C=ee.key,z=ee,G=ee.key,X=0,pe=0;if(!re.includes(C))for(var ae=0;ae<Z&&w(ee);ae+=1)ee=ee.parent,pe+=1;var Se=b.props.data,Te=ee.node,je=!0;return S(ee)&&ee.level===0&&he<ne+se/2&&D({dragNode:Se,dropNode:Te,dropPosition:-1})&&ee.key===d.props.eventKey?X=-1:(z.children||[]).length&&re.includes(G)?D({dragNode:Se,dropNode:Te,dropPosition:0})?X=0:je=!1:pe===0?Z>-1.5?D({dragNode:Se,dropNode:Te,dropPosition:1})?X=1:je=!1:D({dragNode:Se,dropNode:Te,dropPosition:0})?X=0:D({dragNode:Se,dropNode:Te,dropPosition:1})?X=1:je=!1:D({dragNode:Se,dropNode:Te,dropPosition:1})?X=1:je=!1,{dropPosition:X,dropLevelOffset:pe,dropTargetKey:ee.key,dropTargetPos:ee.pos,dragOverNodeKey:G,dropContainerKey:X===0?null:((q=ee.parent)===null||q===void 0?void 0:q.key)||null,dropAllowed:je}}function T(g,b){if(!!g){var d=b.multiple;return d?g.slice():g.length?[g[0]]:g}}var I=function(b){return b};function Y(g,b){if(!g)return[];var d=b||{},O=d.processProps,E=O===void 0?I:O,D=Array.isArray(g)?g:[g];return D.map(function(W){var te=W.children,re=Object(f.a)(W,m),ye=Y(te,b);return i.a.createElement(n.a,Object(r.a)({key:re.key},E(re)),ye)})}function $(g){if(!g)return null;var b;if(Array.isArray(g))b={checkedKeys:g,halfCheckedKeys:void 0};else if(Object(c.a)(g)==="object")b={checkedKeys:g.checked||void 0,halfCheckedKeys:g.halfChecked||void 0};else return Object(a.a)(!1,"`checkedKeys` is not an array or an object"),null;return b}function A(g,b){var d=new Set;function O(E){if(!d.has(E)){var D=b[E];if(!!D){d.add(E);var W=D.parent,te=D.node;te.disabled||W&&O(W.key)}}}return(g||[]).forEach(function(E){O(E)}),Object(u.a)(d)}},"Of+w":function(Ie,M,e){var u=e("Cwc5"),c=e("Kz5y"),r=u(c,"WeakMap");Ie.exports=r},"P/G1":function(Ie,M,e){var u=e("JmpY"),c=e("7GkX");function r(f){return f==null?[]:u(f,c(f))}Ie.exports=r},PArb:function(Ie,M,e){"use strict";var u=e("wx14"),c=e("rePB"),r=e("TSYQ"),f=e.n(r),o=e("q1tI"),i=e.n(o),a=e("H84U"),n=function(m,h){var t={};for(var l in m)Object.prototype.hasOwnProperty.call(m,l)&&h.indexOf(l)<0&&(t[l]=m[l]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,l=Object.getOwnPropertySymbols(m);p<l.length;p++)h.indexOf(l[p])<0&&Object.prototype.propertyIsEnumerable.call(m,l[p])&&(t[l[p]]=m[l[p]]);return t},v=function(h){var t,l=o.useContext(a.b),p=l.getPrefixCls,w=l.direction,S=h.prefixCls,k=h.type,T=k===void 0?"horizontal":k,I=h.orientation,Y=I===void 0?"center":I,$=h.orientationMargin,A=h.className,g=h.children,b=h.dashed,d=h.plain,O=n(h,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),E=p("divider",S),D=Y.length>0?"-".concat(Y):Y,W=!!g,te=Y==="left"&&$!=null,re=Y==="right"&&$!=null,ye=f()(E,"".concat(E,"-").concat(T),(t={},Object(c.a)(t,"".concat(E,"-with-text"),W),Object(c.a)(t,"".concat(E,"-with-text").concat(D),W),Object(c.a)(t,"".concat(E,"-dashed"),!!b),Object(c.a)(t,"".concat(E,"-plain"),!!d),Object(c.a)(t,"".concat(E,"-rtl"),w==="rtl"),Object(c.a)(t,"".concat(E,"-no-default-orientation-margin-left"),te),Object(c.a)(t,"".concat(E,"-no-default-orientation-margin-right"),re),t),A),q=Object(u.a)(Object(u.a)({},te&&{marginLeft:$}),re&&{marginRight:$});return o.createElement("div",Object(u.a)({className:ye},O,{role:"separator"}),g&&T!=="vertical"&&o.createElement("span",{className:"".concat(E,"-inner-text"),style:q},g))};M.a=v},PEeC:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r}),e.d(M,"b",function(){return f});var u=e("KQm4"),c=e("wgJM");function r(o){var i,a=function(m){return function(){i=null,o.apply(void 0,Object(u.a)(m))}},n=function(){if(i==null){for(var m=arguments.length,h=new Array(m),t=0;t<m;t++)h[t]=arguments[t];i=Object(c.a)(a(h))}};return n.cancel=function(){c.a.cancel(i),i=null},n}function f(){return function(i,a,n){var v=n.value,m=!1;return{configurable:!0,get:function(){if(m||this===i.prototype||this.hasOwnProperty(a))return v;var t=r(v.bind(this));return m=!0,Object.defineProperty(this,a,{value:t,configurable:!0,writable:!0}),m=!1,t}}}}},PNUv:function(Ie,M,e){"use strict";e.d(M,"a",function(){return ee});var u=e("GNNt"),c=e("wEI+"),r=e("Ff2n"),f=e("y8nQ"),o=e("Vl3Y"),i=e("14J3"),a=e("BMrR"),n=e("/zsF"),v=e("PArb"),m=e("jCWc"),h=e("kPKH"),t=e("ODXe"),l=e("VTBJ"),p=e("nKUr"),w=e("LQCs"),S=e("7z/i"),k=e("9mHw"),T=e("TSYQ"),I=e.n(T),Y=e("t23M"),$=e("6cGi"),A=e("q1tI"),g=e.n(A),b=e("T1Ok"),d=e("DYRE"),O=e("zeV3"),E=e("8Skl"),D=e("BY2G"),W=function(R,y,C,z){return R?Object(p.jsxs)(p.Fragment,{children:[C.getMessage("tableForm.collapsed","\u5C55\u5F00"),z&&"(".concat(z,")"),Object(p.jsx)(E.a,{style:{marginLeft:"0.5em",transition:"0.3s all",transform:"rotate(".concat(R?0:.5,"turn)")}})]}):Object(p.jsxs)(p.Fragment,{children:[C.getMessage("tableForm.expand","\u6536\u8D77"),Object(p.jsx)(E.a,{style:{marginLeft:"0.5em",transition:"0.3s all",transform:"rotate(".concat(R?0:.5,"turn)")}})]})},te=function(R){var y=R.setCollapsed,C=R.collapsed,z=C===void 0?!1:C,G=R.submitter,X=R.style,pe=R.hiddenNum,ae=Object(A.useContext)(c.a.ConfigContext),Se=ae.getPrefixCls,Te=Object(w.d)(),je=Object(D.a)(R.collapseRender)||W;return Object(p.jsxs)(O.b,{style:X,size:16,children:[G,R.collapseRender!==!1&&Object(p.jsx)("a",{className:Se("pro-form-collapse-button"),onClick:function(){return y(!z)},children:je==null?void 0:je(z,R,Te,pe)})]})},re=te,ye=["collapsed","layout","defaultCollapsed","defaultColsNumber","span","searchGutter","searchText","resetText","optionRender","collapseRender","onReset","onCollapse","labelWidth","style","split","preserve","ignoreRules","showHiddenNum"],q,oe,he={xs:513,sm:513,md:785,lg:992,xl:1057,xxl:Infinity},ue={vertical:[[513,1,"vertical"],[785,2,"vertical"],[1057,3,"vertical"],[Infinity,4,"vertical"]],default:[[513,1,"vertical"],[701,2,"vertical"],[1062,3,"horizontal"],[1352,3,"horizontal"],[Infinity,4,"horizontal"]]},ne=function(R,y,C){if(C&&typeof C=="number")return{span:C,layout:R};var z=C?["xs","sm","md","lg","xl","xxl"].map(function(X){return[he[X],24/C[X],"horizontal"]}):ue[R||"default"],G=(z||ue.default).find(function(X){return y<X[0]+16});return{span:24/G[1],layout:G[2]}},se=function(R,y){return R.flatMap(function(C){var z;if((C==null?void 0:C.type.displayName)==="ProForm-Group"&&!((z=C.props)===null||z===void 0?void 0:z.title))return C.props.children;if(y&&g.a.isValidElement(C)){var G;return g.a.cloneElement(C,Object(l.a)(Object(l.a)({},C.props),{},{formItemProps:Object(l.a)(Object(l.a)({},(G=C.props)===null||G===void 0?void 0:G.formItemProps),{},{rules:[]})}))}return C})},be=function(R){var y=Object(w.d)(),C=R.resetText||y.getMessage("tableForm.reset","\u91CD\u7F6E"),z=R.searchText||y.getMessage("tableForm.search","\u641C\u7D22"),G=Object($.a)(function(){return R.defaultCollapsed&&!!R.submitter},{value:R.collapsed,onChange:R.onCollapse}),X=Object(t.a)(G,2),pe=X[0],ae=X[1],Se=R.optionRender,Te=R.collapseRender,je=R.split,ft=R.items,fe=R.spanSize,ie=R.showLength,ge=R.searchGutter,Ve=R.showHiddenNum,Ee=Object(A.useMemo)(function(){return!R.submitter||Se===!1?null:g.a.cloneElement(R.submitter,Object(l.a)({searchConfig:{resetText:C,submitText:z},render:Se&&function(st,ut){return Se(Object(l.a)(Object(l.a)({},R),{},{resetText:C,searchText:z}),R,ut)}},R.submitter.props))},[R,C,z,Se]),Me=0,_e=0,Re=!1,et=0,Xe=0,it=se(ft,R.ignoreRules).map(function(st,ut){var nt,kt,Sn,Tt,ht=g.a.isValidElement(st)&&(nt=st==null||(kt=st.props)===null||kt===void 0?void 0:kt.colSize)!==null&&nt!==void 0?nt:1,Rt=Math.min(fe.span*(ht||1),24);if(Me+=Rt,et+=ht,ut===0){var Ft;Re=Rt===24&&!(st==null||(Ft=st.props)===null||Ft===void 0?void 0:Ft.hidden)}var nn=(st==null||(Sn=st.props)===null||Sn===void 0?void 0:Sn.hidden)||pe&&(Re||et>ie-1)&&!!ut&&Me>=24;_e+=1;var bn=g.a.isValidElement(st)&&(st.key||"".concat((Tt=st.props)===null||Tt===void 0?void 0:Tt.name))||ut;return g.a.isValidElement(st)&&nn?R.preserve?{itemDom:g.a.cloneElement(st,{hidden:!0,key:bn||ut}),hidden:!0,colSpan:Rt}:{itemDom:null,colSpan:0,hidden:!0}:{itemDom:st,colSpan:Rt,hidden:!1}}),bt=it.map(function(st,ut){var nt,kt,Sn=st.itemDom,Tt=st.colSpan,ht=Sn==null||(nt=Sn.props)===null||nt===void 0?void 0:nt.hidden;if(ht)return Sn;var Rt=g.a.isValidElement(Sn)&&(Sn.key||"".concat((kt=Sn.props)===null||kt===void 0?void 0:kt.name))||ut;24-Xe%24<Tt&&(Me+=24-Xe%24,Xe+=24-Xe%24),Xe+=Tt;var Ft=Object(p.jsx)(h.a,{span:Tt,children:Sn},Rt);return je&&Xe%24==0&&ut<_e-1?[Ft,Object(p.jsx)(h.a,{span:"24",children:Object(p.jsx)(v.a,{style:{marginTop:-8,marginBottom:16},dashed:!0})},"line")]:Ft}),Ct=Ve&&it.filter(function(st){return st.hidden}).length,Bt=Object(A.useMemo)(function(){return!(Me<24||et<=ie)},[et,ie,Me]),qe=Object(A.useMemo)(function(){var st=Xe%24+fe.span;return 24-st},[Xe,fe.span]);return Object(p.jsxs)(a.a,{gutter:ge,justify:"start",children:[bt,Ee&&Object(p.jsx)(h.a,{span:fe.span,offset:qe,style:{textAlign:"right"},children:Object(p.jsx)(o.a.Item,{label:" ",colon:!1,className:"pro-form-query-filter-actions",children:Object(p.jsx)(re,{hiddenNum:Ct,collapsed:pe,collapseRender:Bt?Te:!1,submitter:Ee,setCollapsed:ae},"pro-form-query-filter-actions")})},"submitter")]},"resize-observer-row")},Z=Object(S.a)()?(q=document)===null||q===void 0||(oe=q.body)===null||oe===void 0?void 0:oe.clientWidth:1024;function ee(ce){var R=ce.collapsed,y=ce.layout,C=ce.defaultCollapsed,z=C===void 0?!0:C,G=ce.defaultColsNumber,X=ce.span,pe=ce.searchGutter,ae=pe===void 0?24:pe,Se=ce.searchText,Te=ce.resetText,je=ce.optionRender,ft=ce.collapseRender,fe=ce.onReset,ie=ce.onCollapse,ge=ce.labelWidth,Ve=ge===void 0?"80":ge,Ee=ce.style,Me=ce.split,_e=ce.preserve,Re=_e===void 0?!0:_e,et=ce.ignoreRules,Xe=ce.showHiddenNum,it=Xe===void 0?!1:Xe,bt=Object(r.a)(ce,ye),Ct=Object(A.useContext)(c.a.ConfigContext),Bt=Ct.getPrefixCls("pro-form-query-filter"),qe=Object(k.a)(function(){return typeof(Ee==null?void 0:Ee.width)=="number"?Ee==null?void 0:Ee.width:Z}),st=Object(t.a)(qe,2),ut=st[0],nt=st[1],kt=Object(A.useMemo)(function(){return ne(y,ut+16,X)},[y,ut,X]),Sn=Object(A.useMemo)(function(){return G!==void 0?G-1:Math.max(1,24/kt.span-1)},[G,kt.span]),Tt=Object(A.useMemo)(function(){if(Ve&&kt.layout!=="vertical"&&Ve!=="auto")return{labelCol:{flex:"0 0 ".concat(Ve,"px")},wrapperCol:{style:{maxWidth:"calc(100% - ".concat(Ve,"px)")}},style:{flexWrap:"nowrap"}}},[kt.layout,Ve]);return Object(p.jsx)(Y.a,{onResize:function(Rt){ut!==Rt.width&&Rt.width>17&&nt(Rt.width)},children:Object(p.jsx)(b.a,Object(l.a)(Object(l.a)({isKeyPressSubmit:!0,preserve:Re},bt),{},{className:I()(Bt,bt.className),onReset:fe,style:Ee,layout:kt.layout,fieldProps:{style:{width:"100%"}},formItemProps:Tt,groupProps:{titleStyle:{display:"inline-block",marginRight:16}},contentRender:function(Rt,Ft,nn){return Object(p.jsx)(be,{spanSize:kt,collapsed:R,form:nn,collapseRender:ft,defaultCollapsed:z,onCollapse:ie,optionRender:je,submitter:Ft,items:Rt,split:Me,resetText:ce.resetText,searchText:ce.searchText,searchGutter:ae,preserve:Re,ignoreRules:et,showLength:Sn,showHiddenNum:it})}}))},"resize-observer")}},POPG:function(Ie,M,e){"use strict";var u=function(r){return r==null};M.a=u},PQMj:function(Ie,M,e){},PTeM:function(Ie,M,e){"use strict";e.d(M,"d",function(){return f}),e.d(M,"b",function(){return o}),e.d(M,"c",function(){return a}),e.d(M,"a",function(){return n});var u=e("MNsG"),c=e("N0LK"),r=e("MrjW");function f(v){return v.replace(/[\\/]/g,r.e.sep)}function o(v,m,h){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:r.h;if(v===m)return!0;if(!v||!m||m.length>v.length)return!1;if(h){var l=Object(c.R)(v,m);if(!l)return!1;if(m.length===v.length)return!0;var p=m.length;return m.charAt(m.length-1)===t&&p--,v.charAt(p)===t}return m.charAt(m.length-1)!==t&&(m+=t),v.indexOf(m)===0}function i(v){return v>=65&&v<=90||v>=97&&v<=122}function a(v){var m=Object(r.d)(v);return u.j?v.length>3?!1:n(m)&&(v.length===2||m.charCodeAt(2)===92):m===r.e.sep}function n(v){return u.j?i(v.charCodeAt(0))&&v.charCodeAt(1)===58:!1}},PdkY:function(Ie,M,e){},Pjkc:function(Ie,M,e){},"Q+g8":function(Ie,M,e){var u=e("gYXE");Ie.exports=c;function c(r){try{u(r)}catch(f){if(f instanceof u.CycleException)return!1;throw f}return!0}},Q1l4:function(Ie,M){function e(u,c){var r=-1,f=u.length;for(c||(c=Array(f));++r<f;)c[r]=u[r];return c}Ie.exports=e},Q4rV:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("HpOR"),c=e("bY76");function r(o){var i=JSON.parse(o);return i=f(i),i}function f(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!o||i>200)return o;if(typeof o=="object"){switch(o.$mid){case 1:return c.a.revive(o);case 2:return new RegExp(o.source,o.flags)}if(o instanceof u.a||o instanceof Uint8Array)return o;if(Array.isArray(o))for(var a=0;a<o.length;++a)o[a]=f(o[a],i+1);else for(var n in o)Object.hasOwnProperty.call(o,n)&&(o[n]=f(o[n],i+1))}return o}},QDVR:function(Ie,M,e){"use strict";e.d(M,"c",function(){return Y}),e.d(M,"b",function(){return $}),e.d(M,"a",function(){return g});var u=e("w4Tj"),c=e("oZsa"),r=e("yKVA"),f=e("879j"),o=e("jrin"),i=e("qLMh"),a=e("rAM+"),n=e("tJVT"),v=e("fWQN"),m=e("mtLc"),h=e("bY76"),t=e("N0LK"),l,p,w=function(){function b(){Object(v.a)(this,b),this._value="",this._pos=0}return Object(m.a)(b,[{key:"reset",value:function(O){return this._value=O,this._pos=0,this}},{key:"next",value:function(){return this._pos+=1,this}},{key:"hasNext",value:function(){return this._pos<this._value.length-1}},{key:"cmp",value:function(O){var E=O.charCodeAt(0),D=this._value.charCodeAt(this._pos);return E-D}},{key:"value",value:function(){return this._value[this._pos]}}]),b}(),S=function(){function b(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;Object(v.a)(this,b),this._caseSensitive=d}return Object(m.a)(b,[{key:"reset",value:function(O){return this._value=O,this._from=0,this._to=0,this.next()}},{key:"hasNext",value:function(){return this._to<this._value.length}},{key:"next",value:function(){this._from=this._to;for(var O=!0;this._to<this._value.length;this._to++){var E=this._value.charCodeAt(this._to);if(E===46)if(O)this._from++;else break;else O=!1}return this}},{key:"cmp",value:function(O){return this._caseSensitive?Object(t.h)(O,this._value,0,O.length,this._from,this._to):Object(t.i)(O,this._value,0,O.length,this._from,this._to)}},{key:"value",value:function(){return this._value.substring(this._from,this._to)}}]),b}(),k=function(){function b(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Object(v.a)(this,b),this._splitOnBackslash=d,this._caseSensitive=O}return Object(m.a)(b,[{key:"reset",value:function(O){return this._value=O.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()}},{key:"hasNext",value:function(){return this._to<this._value.length}},{key:"next",value:function(){this._from=this._to;for(var O=!0;this._to<this._value.length;this._to++){var E=this._value.charCodeAt(this._to);if(E===47||this._splitOnBackslash&&E===92)if(O)this._from++;else break;else O=!1}return this}},{key:"cmp",value:function(O){return this._caseSensitive?Object(t.h)(O,this._value,0,O.length,this._from,this._to):Object(t.i)(O,this._value,0,O.length,this._from,this._to)}},{key:"value",value:function(){return this._value.substring(this._from,this._to)}}]),b}(),T=function(){function b(d){Object(v.a)(this,b),this._ignorePathCasing=d,this._states=[],this._stateIdx=0}return Object(m.a)(b,[{key:"reset",value:function(O){return this._value=O,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path&&(this._pathIterator=new k(!1,!this._ignorePathCasing(O)),this._pathIterator.reset(O.path),this._pathIterator.value()&&this._states.push(3)),this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5),this._stateIdx=0,this}},{key:"next",value:function(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}},{key:"hasNext",value:function(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}},{key:"cmp",value:function(O){if(this._states[this._stateIdx]===1)return Object(t.g)(O,this._value.scheme);if(this._states[this._stateIdx]===2)return Object(t.g)(O,this._value.authority);if(this._states[this._stateIdx]===3)return this._pathIterator.cmp(O);if(this._states[this._stateIdx]===4)return Object(t.f)(O,this._value.query);if(this._states[this._stateIdx]===5)return Object(t.f)(O,this._value.fragment);throw new Error}},{key:"value",value:function(){if(this._states[this._stateIdx]===1)return this._value.scheme;if(this._states[this._stateIdx]===2)return this._value.authority;if(this._states[this._stateIdx]===3)return this._pathIterator.value();if(this._states[this._stateIdx]===4)return this._value.query;if(this._states[this._stateIdx]===5)return this._value.fragment;throw new Error}}]),b}(),I=function(){function b(){Object(v.a)(this,b)}return Object(m.a)(b,[{key:"isEmpty",value:function(){return!this.left&&!this.mid&&!this.right&&!this.value}}]),b}(),Y=function(b){function d(O){Object(v.a)(this,d),this._iter=O}return Object(m.a)(d,[{key:"clear",value:function(){this._root=void 0}},{key:"set",value:function(E,D){var W=this._iter.reset(E),te;for(this._root||(this._root=new I,this._root.segment=W.value()),te=this._root;;){var re=W.cmp(te.segment);if(re>0)te.left||(te.left=new I,te.left.segment=W.value()),te=te.left;else if(re<0)te.right||(te.right=new I,te.right.segment=W.value()),te=te.right;else if(W.hasNext())W.next(),te.mid||(te.mid=new I,te.mid.segment=W.value()),te=te.mid;else break}var ye=te.value;return te.value=D,te.key=E,ye}},{key:"get",value:function(E){var D;return(D=this._getNode(E))===null||D===void 0?void 0:D.value}},{key:"_getNode",value:function(E){for(var D=this._iter.reset(E),W=this._root;W;){var te=D.cmp(W.segment);if(te>0)W=W.left;else if(te<0)W=W.right;else if(D.hasNext())D.next(),W=W.mid;else break}return W}},{key:"has",value:function(E){var D=this._getNode(E);return!((D==null?void 0:D.value)===void 0&&(D==null?void 0:D.mid)===void 0)}},{key:"delete",value:function(E){return this._delete(E,!1)}},{key:"deleteSuperstr",value:function(E){return this._delete(E,!0)}},{key:"_delete",value:function(E,D){for(var W=this._iter.reset(E),te=[],re=this._root;re;){var ye=W.cmp(re.segment);if(ye>0)te.push([1,re]),re=re.left;else if(ye<0)te.push([-1,re]),re=re.right;else if(W.hasNext())W.next(),te.push([0,re]),re=re.mid;else{for(D?(re.left=void 0,re.mid=void 0,re.right=void 0):re.value=void 0;te.length>0&&re.isEmpty();){var q=te.pop(),oe=Object(n.a)(q,2),he=oe[0],ue=oe[1];switch(he){case 1:ue.left=void 0;break;case 0:ue.mid=void 0;break;case-1:ue.right=void 0;break}re=ue}break}}}},{key:"findSubstr",value:function(E){for(var D=this._iter.reset(E),W=this._root,te=void 0;W;){var re=D.cmp(W.segment);if(re>0)W=W.left;else if(re<0)W=W.right;else if(D.hasNext())D.next(),te=W.value||te,W=W.mid;else break}return W&&W.value||te}},{key:"findSuperstr",value:function(E){for(var D=this._iter.reset(E),W=this._root;W;){var te=D.cmp(W.segment);if(te>0)W=W.left;else if(te<0)W=W.right;else if(D.hasNext())D.next(),W=W.mid;else return W.mid?this._entries(W.mid):void 0}}},{key:"forEach",value:function(E){var D=Object(a.a)(this),W;try{for(D.s();!(W=D.n()).done;){var te=W.value,re=Object(n.a)(te,2),ye=re[0],q=re[1];E(q,ye)}}catch(oe){D.e(oe)}finally{D.f()}}},{key:b,value:Object(i.a)().mark(function O(){return Object(i.a)().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.delegateYield(this._entries(this._root),"t0",1);case 1:case"end":return D.stop()}},O,this)})},{key:"_entries",value:Object(i.a)().mark(function O(E){return Object(i.a)().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(!E){W.next=7;break}return W.delegateYield(this._entries(E.left),"t0",2);case 2:if(!E.value){W.next=5;break}return W.next=5,[E.key,E.value];case 5:return W.delegateYield(this._entries(E.mid),"t1",6);case 6:return W.delegateYield(this._entries(E.right),"t2",7);case 7:case"end":return W.stop()}},O,this)})}],[{key:"forUris",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){return!1};return new d(new T(E))}},{key:"forStrings",value:function(){return new d(new w)}},{key:"forConfigKeys",value:function(){return new d(new S)}}]),d}(Symbol.iterator),$=function(b){function d(O,E){Object(v.a)(this,d),this[l]="ResourceMap",O instanceof d?(this.map=new Map(O.map),this.toKey=E!=null?E:d.defaultToKey):(this.map=new Map,this.toKey=O!=null?O:d.defaultToKey)}return Object(m.a)(d,[{key:"set",value:function(E,D){return this.map.set(this.toKey(E),D),this}},{key:"get",value:function(E){return this.map.get(this.toKey(E))}},{key:"has",value:function(E){return this.map.has(this.toKey(E))}},{key:"size",get:function(){return this.map.size}},{key:"clear",value:function(){this.map.clear()}},{key:"delete",value:function(E){return this.map.delete(this.toKey(E))}},{key:"forEach",value:function(E,D){typeof D!="undefined"&&(E=E.bind(D));var W=Object(a.a)(this.map),te;try{for(W.s();!(te=W.n()).done;){var re=te.value,ye=Object(n.a)(re,2),q=ye[0],oe=ye[1];E(oe,h.a.parse(q),this)}}catch(he){W.e(he)}finally{W.f()}}},{key:"values",value:function(){return this.map.values()}},{key:"keys",value:Object(i.a)().mark(function O(){var E,D,W;return Object(i.a)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:E=Object(a.a)(this.map.keys()),re.prev=1,E.s();case 3:if((D=E.n()).done){re.next=9;break}return W=D.value,re.next=7,h.a.parse(W);case 7:re.next=3;break;case 9:re.next=14;break;case 11:re.prev=11,re.t0=re.catch(1),E.e(re.t0);case 14:return re.prev=14,E.f(),re.finish(14);case 17:case"end":return re.stop()}},O,this,[[1,11,14,17]])})},{key:"entries",value:Object(i.a)().mark(function O(){var E,D,W;return Object(i.a)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:E=Object(a.a)(this.map.entries()),re.prev=1,E.s();case 3:if((D=E.n()).done){re.next=9;break}return W=D.value,re.next=7,[h.a.parse(W[0]),W[1]];case 7:re.next=3;break;case 9:re.next=14;break;case 11:re.prev=11,re.t0=re.catch(1),E.e(re.t0);case 14:return re.prev=14,E.f(),re.finish(14);case 17:case"end":return re.stop()}},O,this,[[1,11,14,17]])})},{key:b,value:Object(i.a)().mark(function O(){var E,D,W;return Object(i.a)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:E=Object(a.a)(this.map),re.prev=1,E.s();case 3:if((D=E.n()).done){re.next=9;break}return W=D.value,re.next=7,[h.a.parse(W[0]),W[1]];case 7:re.next=3;break;case 9:re.next=14;break;case 11:re.prev=11,re.t0=re.catch(1),E.e(re.t0);case 14:return re.prev=14,E.f(),re.finish(14);case 17:case"end":return re.stop()}},O,this,[[1,11,14,17]])})}]),d}((l=Symbol.toStringTag,Symbol.iterator));$.defaultToKey=function(b){return b.toString()};var A=function(b){function d(){Object(v.a)(this,d),this[p]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}return Object(m.a)(d,[{key:"clear",value:function(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}},{key:"isEmpty",value:function(){return!this._head&&!this._tail}},{key:"size",get:function(){return this._size}},{key:"first",get:function(){var E;return(E=this._head)===null||E===void 0?void 0:E.value}},{key:"last",get:function(){var E;return(E=this._tail)===null||E===void 0?void 0:E.value}},{key:"has",value:function(E){return this._map.has(E)}},{key:"get",value:function(E){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,W=this._map.get(E);if(!!W)return D!==0&&this.touch(W,D),W.value}},{key:"set",value:function(E,D){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,te=this._map.get(E);if(te)te.value=D,W!==0&&this.touch(te,W);else{switch(te={key:E,value:D,next:void 0,previous:void 0},W){case 0:this.addItemLast(te);break;case 1:this.addItemFirst(te);break;case 2:this.addItemLast(te);break;default:this.addItemLast(te);break}this._map.set(E,te),this._size++}return this}},{key:"delete",value:function(E){return!!this.remove(E)}},{key:"remove",value:function(E){var D=this._map.get(E);if(!!D)return this._map.delete(E),this.removeItem(D),this._size--,D.value}},{key:"shift",value:function(){if(!(!this._head&&!this._tail)){if(!this._head||!this._tail)throw new Error("Invalid list");var E=this._head;return this._map.delete(E.key),this.removeItem(E),this._size--,E.value}}},{key:"forEach",value:function(E,D){for(var W=this._state,te=this._head;te;){if(D?E.bind(D)(te.value,te.key,this):E(te.value,te.key,this),this._state!==W)throw new Error("LinkedMap got modified during iteration.");te=te.next}}},{key:"keys",value:function(){var E,D=this,W=this._state,te=this._head,re=(E={},Object(o.a)(E,Symbol.iterator,function(){return re}),Object(o.a)(E,"next",function(){if(D._state!==W)throw new Error("LinkedMap got modified during iteration.");if(te){var q={value:te.key,done:!1};return te=te.next,q}else return{value:void 0,done:!0}}),E);return re}},{key:"values",value:function(){var E,D=this,W=this._state,te=this._head,re=(E={},Object(o.a)(E,Symbol.iterator,function(){return re}),Object(o.a)(E,"next",function(){if(D._state!==W)throw new Error("LinkedMap got modified during iteration.");if(te){var q={value:te.value,done:!1};return te=te.next,q}else return{value:void 0,done:!0}}),E);return re}},{key:"entries",value:function(){var E,D=this,W=this._state,te=this._head,re=(E={},Object(o.a)(E,Symbol.iterator,function(){return re}),Object(o.a)(E,"next",function(){if(D._state!==W)throw new Error("LinkedMap got modified during iteration.");if(te){var q={value:[te.key,te.value],done:!1};return te=te.next,q}else return{value:void 0,done:!0}}),E);return re}},{key:b,value:function(){return this.entries()}},{key:"trimOld",value:function(E){if(!(E>=this.size)){if(E===0){this.clear();return}for(var D=this._head,W=this.size;D&&W>E;)this._map.delete(D.key),D=D.next,W--;this._head=D,this._size=W,D&&(D.previous=void 0),this._state++}}},{key:"addItemFirst",value:function(E){if(!this._head&&!this._tail)this._tail=E;else if(this._head)E.next=this._head,this._head.previous=E;else throw new Error("Invalid list");this._head=E,this._state++}},{key:"addItemLast",value:function(E){if(!this._head&&!this._tail)this._head=E;else if(this._tail)E.previous=this._tail,this._tail.next=E;else throw new Error("Invalid list");this._tail=E,this._state++}},{key:"removeItem",value:function(E){if(E===this._head&&E===this._tail)this._head=void 0,this._tail=void 0;else if(E===this._head){if(!E.next)throw new Error("Invalid list");E.next.previous=void 0,this._head=E.next}else if(E===this._tail){if(!E.previous)throw new Error("Invalid list");E.previous.next=void 0,this._tail=E.previous}else{var D=E.next,W=E.previous;if(!D||!W)throw new Error("Invalid list");D.previous=W,W.next=D}E.next=void 0,E.previous=void 0,this._state++}},{key:"touch",value:function(E,D){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(D!==1&&D!==2)){if(D===1){if(E===this._head)return;var W=E.next,te=E.previous;E===this._tail?(te.next=void 0,this._tail=te):(W.previous=te,te.next=W),E.previous=void 0,E.next=this._head,this._head.previous=E,this._head=E,this._state++}else if(D===2){if(E===this._tail)return;var re=E.next,ye=E.previous;E===this._head?(re.previous=void 0,this._head=re):(re.previous=ye,ye.next=re),E.next=void 0,E.previous=this._tail,this._tail.next=E,this._tail=E,this._state++}}}},{key:"toJSON",value:function(){var E=[];return this.forEach(function(D,W){E.push([W,D])}),E}},{key:"fromJSON",value:function(E){this.clear();var D=Object(a.a)(E),W;try{for(D.s();!(W=D.n()).done;){var te=W.value,re=Object(n.a)(te,2),ye=re[0],q=re[1];this.set(ye,q)}}catch(oe){D.e(oe)}finally{D.f()}}}]),d}((p=Symbol.toStringTag,Symbol.iterator)),g=function(b){Object(r.a)(O,b);var d=Object(f.a)(O);function O(E){var D,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Object(v.a)(this,O),D=d.call(this),D._limit=E,D._ratio=Math.min(Math.max(0,W),1),D}return Object(m.a)(O,[{key:"limit",get:function(){return this._limit},set:function(D){this._limit=D,this.checkTrim()}},{key:"get",value:function(D){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Object(u.a)(Object(c.a)(O.prototype),"get",this).call(this,D,W)}},{key:"peek",value:function(D){return Object(u.a)(Object(c.a)(O.prototype),"get",this).call(this,D,0)}},{key:"set",value:function(D,W){return Object(u.a)(Object(c.a)(O.prototype),"set",this).call(this,D,W,2),this.checkTrim(),this}},{key:"checkTrim",value:function(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}]),O}(A)},QRHv:function(Ie,M,e){"use strict";e.d(M,"f",function(){return m}),e.d(M,"b",function(){return l}),e.d(M,"c",function(){return p}),e.d(M,"a",function(){return S}),e.d(M,"e",function(){return I}),e.d(M,"d",function(){return Y});var u=e("rAM+"),c=e("tJVT"),r=e("fWQN"),f=e("mtLc"),o=e("6OMU"),i=e("4bUh"),a=e("cGHE"),n=e("aokT"),v=e("twdY");function m($){for(var A=0,g=0,b=0,d=0,O=0,E=$.length;O<E;O++){var D=$.charCodeAt(O);D===13?(A===0&&(g=O),A++,O+1<E&&$.charCodeAt(O+1)===10?(d|=2,O++):d|=3,b=O+1):D===10&&(d|=1,A===0&&(g=O),A++,b=O+1)}return A===0&&(g=$.length),[A,g,$.length-b,d]}function h($){return($<<0|0<<8|0<<11|1<<14|2<<23)>>>0}var t=new Uint32Array(0).buffer,l=function(){function $(){Object(r.a)(this,$),this.tokens=[]}return Object(f.a)($,[{key:"add",value:function(g,b){if(this.tokens.length>0){var d=this.tokens[this.tokens.length-1],O=d.startLineNumber+d.tokens.length-1;if(O+1===g){d.tokens.push(b);return}}this.tokens.push(new k(g,[b]))}}]),$}(),p=function(){function $(A){Object(r.a)(this,$),this._tokens=A,this._tokenCount=A.length/4}return Object(f.a)($,[{key:"toString",value:function(g){for(var b=[],d=0;d<this._tokenCount;d++)b.push("(".concat(this._getDeltaLine(d)+g,",").concat(this._getStartCharacter(d),"-").concat(this._getEndCharacter(d),")"));return"[".concat(b.join(","),"]")}},{key:"getMaxDeltaLine",value:function(){var g=this._getTokenCount();return g===0?-1:this._getDeltaLine(g-1)}},{key:"getRange",value:function(){var g=this._getTokenCount();if(g===0)return null;var b=this._getStartCharacter(0),d=this._getDeltaLine(g-1),O=this._getEndCharacter(g-1);return new n.a(0,b+1,d,O+1)}},{key:"_getTokenCount",value:function(){return this._tokenCount}},{key:"_getDeltaLine",value:function(g){return this._tokens[4*g]}},{key:"_getStartCharacter",value:function(g){return this._tokens[4*g+1]}},{key:"_getEndCharacter",value:function(g){return this._tokens[4*g+2]}},{key:"isEmpty",value:function(){return this._getTokenCount()===0}},{key:"getLineTokens",value:function(g){for(var b=0,d=this._getTokenCount()-1;b<d;){var O=b+Math.floor((d-b)/2),E=this._getDeltaLine(O);if(E<g)b=O+1;else if(E>g)d=O-1;else{for(var D=O;D>b&&this._getDeltaLine(D-1)===g;)D--;for(var W=O;W<d&&this._getDeltaLine(W+1)===g;)W++;return new w(this._tokens.subarray(4*D,4*W+4))}}return this._getDeltaLine(b)===g?new w(this._tokens.subarray(4*b,4*b+4)):null}},{key:"clear",value:function(){this._tokenCount=0}},{key:"removeTokens",value:function(g,b,d,O){for(var E=this._tokens,D=this._tokenCount,W=0,te=!1,re=0,ye=0;ye<D;ye++){var q=4*ye,oe=E[q],he=E[q+1],ue=E[q+2],ne=E[q+3];if((oe>g||oe===g&&ue>=b)&&(oe<d||oe===d&&he<=O))te=!0;else{if(W===0&&(re=oe),te){var se=4*W;E[se]=oe-re,E[se+1]=he,E[se+2]=ue,E[se+3]=ne}W++}}return this._tokenCount=W,re}},{key:"split",value:function(g,b,d,O){for(var E=this._tokens,D=this._tokenCount,W=[],te=[],re=W,ye=0,q=0,oe=0;oe<D;oe++){var he=4*oe,ue=E[he],ne=E[he+1],se=E[he+2],be=E[he+3];if(ue>g||ue===g&&se>=b){if(ue<d||ue===d&&ne<=O)continue;re!==te&&(re=te,ye=0,q=ue)}re[ye++]=ue-q,re[ye++]=ne,re[ye++]=se,re[ye++]=be}return[new $(new Uint32Array(W)),new $(new Uint32Array(te)),q]}},{key:"acceptDeleteRange",value:function(g,b,d,O,E){for(var D=this._tokens,W=this._tokenCount,te=O-b,re=0,ye=!1,q=0;q<W;q++){var oe=4*q,he=D[oe],ue=D[oe+1],ne=D[oe+2],se=D[oe+3];if(he<b||he===b&&ne<=d){re++;continue}else if(he===b&&ue<d)he===O&&ne>E?ne-=E-d:ne=d;else if(he===b&&ue===d)if(he===O&&ne>E)ne-=E-d;else{ye=!0;continue}else if(he<O||he===O&&ue<E)if(he===O&&ne>E)he===b?(ue=d,ne=ue+(ne-E)):(ue=0,ne=ue+(ne-E));else{ye=!0;continue}else if(he>O){if(te===0&&!ye){re=W;break}he-=te}else if(he===O&&ue>=E)g&&he===0&&(ue+=g,ne+=g),he-=te,ue-=E-d,ne-=E-d;else throw new Error("Not possible!");var be=4*re;D[be]=he,D[be+1]=ue,D[be+2]=ne,D[be+3]=se,re++}this._tokenCount=re}},{key:"acceptInsertText",value:function(g,b,d,O,E,D){for(var W=d===0&&O===1&&(D>=48&&D<=57||D>=65&&D<=90||D>=97&&D<=122),te=this._tokens,re=this._tokenCount,ye=0;ye<re;ye++){var q=4*ye,oe=te[q],he=te[q+1],ue=te[q+2];if(!(oe<g||oe===g&&ue<b)){if(oe===g&&ue===b)if(W)ue+=1;else continue;else if(oe===g&&he<b&&b<ue)d===0?ue+=O:ue=b;else{if(oe===g&&he===b&&W)continue;if(oe===g)if(oe+=d,d===0)he+=O,ue+=O;else{var ne=ue-he;he=E+(he-b),ue=he+ne}else oe+=d}te[q]=oe,te[q+1]=he,te[q+2]=ue}}}}]),$}(),w=function(){function $(A){Object(r.a)(this,$),this._tokens=A}return Object(f.a)($,[{key:"getCount",value:function(){return this._tokens.length/4}},{key:"getStartCharacter",value:function(g){return this._tokens[4*g+1]}},{key:"getEndCharacter",value:function(g){return this._tokens[4*g+2]}},{key:"getMetadata",value:function(g){return this._tokens[4*g+3]}}]),$}(),S=function(){function $(A,g){Object(r.a)(this,$),this.startLineNumber=A,this.tokens=g,this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}return Object(f.a)($,[{key:"toString",value:function(){return this.tokens.toString(this.startLineNumber)}},{key:"_updateEndLineNumber",value:function(){this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}},{key:"isEmpty",value:function(){return this.tokens.isEmpty()}},{key:"getLineTokens",value:function(g){return this.startLineNumber<=g&&g<=this.endLineNumber?this.tokens.getLineTokens(g-this.startLineNumber):null}},{key:"getRange",value:function(){var g=this.tokens.getRange();return g&&new n.a(this.startLineNumber+g.startLineNumber,g.startColumn,this.startLineNumber+g.endLineNumber,g.endColumn)}},{key:"removeTokens",value:function(g){var b=g.startLineNumber-this.startLineNumber,d=g.endLineNumber-this.startLineNumber;this.startLineNumber+=this.tokens.removeTokens(b,g.startColumn-1,d,g.endColumn-1),this._updateEndLineNumber()}},{key:"split",value:function(g){var b=g.startLineNumber-this.startLineNumber,d=g.endLineNumber-this.startLineNumber,O=this.tokens.split(b,g.startColumn-1,d,g.endColumn-1),E=Object(c.a)(O,3),D=E[0],W=E[1],te=E[2];return[new $(this.startLineNumber,D),new $(this.startLineNumber+te,W)]}},{key:"applyEdit",value:function(g,b){var d=m(b),O=Object(c.a)(d,3),E=O[0],D=O[1],W=O[2];this.acceptEdit(g,E,D,W,b.length>0?b.charCodeAt(0):0)}},{key:"acceptEdit",value:function(g,b,d,O,E){this._acceptDeleteRange(g),this._acceptInsertText(new a.a(g.startLineNumber,g.startColumn),b,d,O,E),this._updateEndLineNumber()}},{key:"_acceptDeleteRange",value:function(g){if(!(g.startLineNumber===g.endLineNumber&&g.startColumn===g.endColumn)){var b=g.startLineNumber-this.startLineNumber,d=g.endLineNumber-this.startLineNumber;if(d<0){var O=d-b;this.startLineNumber-=O;return}var E=this.tokens.getMaxDeltaLine();if(!(b>=E+1)){if(b<0&&d>=E+1){this.startLineNumber=0,this.tokens.clear();return}if(b<0){var D=-b;this.startLineNumber-=D,this.tokens.acceptDeleteRange(g.startColumn-1,0,0,d,g.endColumn-1)}else this.tokens.acceptDeleteRange(0,b,g.startColumn-1,d,g.endColumn-1)}}}},{key:"_acceptInsertText",value:function(g,b,d,O,E){if(!(b===0&&d===0)){var D=g.lineNumber-this.startLineNumber;if(D<0){this.startLineNumber+=b;return}var W=this.tokens.getMaxDeltaLine();D>=W+1||this.tokens.acceptInsertText(D,g.column-1,b,d,O,E)}}}]),$}(),k=Object(f.a)(function $(A,g){Object(r.a)(this,$),this.startLineNumber=A,this.tokens=g});function T($){return $ instanceof Uint32Array?$:new Uint32Array($)}var I=function(){function $(){Object(r.a)(this,$),this._pieces=[],this._isComplete=!1}return Object(f.a)($,[{key:"flush",value:function(){this._pieces=[],this._isComplete=!1}},{key:"isEmpty",value:function(){return this._pieces.length===0}},{key:"set",value:function(g,b){this._pieces=g||[],this._isComplete=b}},{key:"setPartial",value:function(g,b){var d=g;if(b.length>0){var O=b[0].getRange(),E=b[b.length-1].getRange();if(!O||!E)return g;d=g.plusRange(O).plusRange(E)}for(var D=null,W=0,te=this._pieces.length;W<te;W++){var re=this._pieces[W];if(!(re.endLineNumber<d.startLineNumber)){if(re.startLineNumber>d.endLineNumber){D=D||{index:W};break}if(re.removeTokens(d),re.isEmpty()){this._pieces.splice(W,1),W--,te--;continue}if(!(re.endLineNumber<d.startLineNumber)){if(re.startLineNumber>d.endLineNumber){D=D||{index:W};continue}var ye=re.split(d),q=Object(c.a)(ye,2),oe=q[0],he=q[1];if(oe.isEmpty()){D=D||{index:W};continue}he.isEmpty()||(this._pieces.splice(W,1,oe,he),W++,te++,D=D||{index:W})}}}return D=D||{index:this._pieces.length},b.length>0&&(this._pieces=o.a(this._pieces,D.index,b)),d}},{key:"isComplete",value:function(){return this._isComplete}},{key:"addSemanticTokens",value:function(g,b){var d=this._pieces;if(d.length===0)return b;var O=$._findFirstPieceWithLine(d,g),E=d[O].getLineTokens(g);if(!E)return b;for(var D=b.getCount(),W=E.getCount(),te=0,re=[],ye=0,q=0,oe=function(R,y){R!==q&&(q=R,re[ye++]=R,re[ye++]=y)},he=0;he<W;he++){for(var ue=E.getStartCharacter(he),ne=E.getEndCharacter(he),se=E.getMetadata(he),be=((se&1?2048:0)|(se&2?4096:0)|(se&4?8192:0)|(se&8?8372224:0)|(se&16?4286578688:0))>>>0,Z=~be>>>0;te<D&&b.getEndOffset(te)<=ue;)oe(b.getEndOffset(te),b.getMetadata(te)),te++;for(te<D&&b.getStartOffset(te)<ue&&oe(ue,b.getMetadata(te));te<D&&b.getEndOffset(te)<ne;)oe(b.getEndOffset(te),b.getMetadata(te)&Z|se&be),te++;if(te<D)oe(ne,b.getMetadata(te)&Z|se&be),b.getEndOffset(te)===ne&&te++;else{var ee=Math.min(Math.max(0,te-1),D-1);oe(ne,b.getMetadata(ee)&Z|se&be)}}for(;te<D;)oe(b.getEndOffset(te),b.getMetadata(te)),te++;return new i.a(new Uint32Array(re),b.getLineContent())}},{key:"acceptEdit",value:function(g,b,d,O,E){var D=Object(u.a)(this._pieces),W;try{for(D.s();!(W=D.n()).done;){var te=W.value;te.acceptEdit(g,b,d,O,E)}}catch(re){D.e(re)}finally{D.f()}}}],[{key:"_findFirstPieceWithLine",value:function(g,b){for(var d=0,O=g.length-1;d<O;){var E=d+Math.floor((O-d)/2);if(g[E].endLineNumber<b)d=E+1;else if(g[E].startLineNumber>b)O=E-1;else{for(;E>d&&g[E-1].startLineNumber<=b&&b<=g[E-1].endLineNumber;)E--;return E}}return d}}]),$}(),Y=function(){function $(){Object(r.a)(this,$),this._lineTokens=[],this._len=0}return Object(f.a)($,[{key:"flush",value:function(){this._lineTokens=[],this._len=0}},{key:"getTokens",value:function(g,b,d){var O=null;if(b<this._len&&(O=this._lineTokens[b]),O!==null&&O!==t)return new i.a(T(O),d);var E=new Uint32Array(2);return E[0]=d.length,E[1]=h(g),new i.a(E,d)}},{key:"_ensureLine",value:function(g){for(;g>=this._len;)this._lineTokens[this._len]=null,this._len++}},{key:"_deleteLines",value:function(g,b){b!==0&&(g+b>this._len&&(b=this._len-g),this._lineTokens.splice(g,b),this._len-=b)}},{key:"_insertLines",value:function(g,b){if(b!==0){for(var d=[],O=0;O<b;O++)d[O]=null;this._lineTokens=o.a(this._lineTokens,g,d),this._len+=b}}},{key:"setTokens",value:function(g,b,d,O,E){var D=$._massageTokens(g,d,O);this._ensureLine(b);var W=this._lineTokens[b];return this._lineTokens[b]=D,E?!$._equals(W,D):!1}},{key:"acceptEdit",value:function(g,b,d){this._acceptDeleteRange(g),this._acceptInsertText(new a.a(g.startLineNumber,g.startColumn),b,d)}},{key:"_acceptDeleteRange",value:function(g){var b=g.startLineNumber-1;if(!(b>=this._len)){if(g.startLineNumber===g.endLineNumber){if(g.startColumn===g.endColumn)return;this._lineTokens[b]=$._delete(this._lineTokens[b],g.startColumn-1,g.endColumn-1);return}this._lineTokens[b]=$._deleteEnding(this._lineTokens[b],g.startColumn-1);var d=g.endLineNumber-1,O=null;d<this._len&&(O=$._deleteBeginning(this._lineTokens[d],g.endColumn-1)),this._lineTokens[b]=$._append(this._lineTokens[b],O),this._deleteLines(g.startLineNumber,g.endLineNumber-g.startLineNumber)}}},{key:"_acceptInsertText",value:function(g,b,d){if(!(b===0&&d===0)){var O=g.lineNumber-1;if(!(O>=this._len)){if(b===0){this._lineTokens[O]=$._insert(this._lineTokens[O],g.column-1,d);return}this._lineTokens[O]=$._deleteEnding(this._lineTokens[O],g.column-1),this._lineTokens[O]=$._insert(this._lineTokens[O],g.column-1,d),this._insertLines(g.lineNumber,b)}}}}],[{key:"_massageTokens",value:function(g,b,d){var O=d?T(d):null;if(b===0){var E=!1;if(O&&O.length>1&&(E=v.C.getLanguageId(O[1])!==g),!E)return t}if(!O||O.length===0){var D=new Uint32Array(2);return D[0]=b,D[1]=h(g),D.buffer}return O[O.length-2]=b,O.byteOffset===0&&O.byteLength===O.buffer.byteLength?O.buffer:O}},{key:"_equals",value:function(g,b){if(!g||!b)return!g&&!b;var d=T(g),O=T(b);if(d.length!==O.length)return!1;for(var E=0,D=d.length;E<D;E++)if(d[E]!==O[E])return!1;return!0}},{key:"_deleteBeginning",value:function(g,b){return g===null||g===t?g:$._delete(g,0,b)}},{key:"_deleteEnding",value:function(g,b){if(g===null||g===t)return g;var d=T(g),O=d[d.length-2];return $._delete(g,b,O)}},{key:"_delete",value:function(g,b,d){if(g===null||g===t||b===d)return g;var O=T(g),E=O.length>>>1;if(b===0&&O[O.length-2]===d)return t;var D=i.a.findIndexInTokensArray(O,b),W=D>0?O[D-1<<1]:0,te=O[D<<1];if(d<te){for(var re=d-b,ye=D;ye<E;ye++)O[ye<<1]-=re;return g}var q,oe;W!==b?(O[D<<1]=b,q=D+1<<1,oe=b):(q=D<<1,oe=W);for(var he=d-b,ue=D+1;ue<E;ue++){var ne=O[ue<<1]-he;ne>oe&&(O[q++]=ne,O[q++]=O[(ue<<1)+1],oe=ne)}if(q===O.length)return g;var se=new Uint32Array(q);return se.set(O.subarray(0,q),0),se.buffer}},{key:"_append",value:function(g,b){if(b===t)return g;if(g===t)return b;if(g===null)return g;if(b===null)return null;var d=T(g),O=T(b),E=O.length>>>1,D=new Uint32Array(d.length+O.length);D.set(d,0);for(var W=d.length,te=d[d.length-2],re=0;re<E;re++)D[W++]=O[re<<1]+te,D[W++]=O[(re<<1)+1];return D.buffer}},{key:"_insert",value:function(g,b,d){if(g===null||g===t)return g;var O=T(g),E=O.length>>>1,D=i.a.findIndexInTokensArray(O,b);if(D>0){var W=O[D-1<<1];W===b&&D--}for(var te=D;te<E;te++)O[te<<1]+=d;return g}}]),$}()},QbM5:function(Ie,M,e){},QcOe:function(Ie,M,e){var u=e("GoyQ"),c=e("6sVZ"),r=e("7Ix3"),f=Object.prototype,o=f.hasOwnProperty;function i(a){if(!u(a))return r(a);var n=c(a),v=[];for(var m in a)m=="constructor"&&(n||!o.call(a,m))||v.push(m);return v}Ie.exports=i},QeVK:function(Ie,M,e){},Qiat:function(Ie,M,e){"use strict";var u=e("LQCs"),c=e("mWMg");M.a=c.a},QkVE:function(Ie,M,e){var u=e("EpBk");function c(r,f){var o=r.__data__;return u(f)?o[typeof f=="string"?"string":"hash"]:o.map}Ie.exports=c},QkVN:function(Ie,M,e){var u=e("+Qka"),c=e("LsHQ"),r=c(function(f,o,i){u(f,o,i)});Ie.exports=r},QoRX:function(Ie,M){function e(u,c){for(var r=-1,f=u==null?0:u.length;++r<f;)if(c(u[r],r,u))return!0;return!1}Ie.exports=e},QqLw:function(Ie,M,e){var u=e("tadb"),c=e("ebwN"),r=e("HOxn"),f=e("yGk4"),o=e("Of+w"),i=e("NykK"),a=e("3Fdi"),n="[object Map]",v="[object Object]",m="[object Promise]",h="[object Set]",t="[object WeakMap]",l="[object DataView]",p=a(u),w=a(c),S=a(r),k=a(f),T=a(o),I=i;(u&&I(new u(new ArrayBuffer(1)))!=l||c&&I(new c)!=n||r&&I(r.resolve())!=m||f&&I(new f)!=h||o&&I(new o)!=t)&&(I=function(Y){var $=i(Y),A=$==v?Y.constructor:void 0,g=A?a(A):"";if(g)switch(g){case p:return l;case w:return n;case S:return m;case k:return h;case T:return t}return $}),Ie.exports=I},QuOb:function(Ie,M,e){"use strict";e.d(M,"a",function(){return m});var u=e("w4Tj"),c=e("oZsa"),r=e("yKVA"),f=e("879j"),o=e("fWQN"),i=e("mtLc"),a=e("MI8n"),n=e("pmY6"),v=function(){function k(T,I,Y,$,A,g){Object(o.a)(this,k),T=T|0,I=I|0,Y=Y|0,$=$|0,A=A|0,g=g|0,this.rawScrollLeft=Y,this.rawScrollTop=g,T<0&&(T=0),Y+T>I&&(Y=I-T),Y<0&&(Y=0),$<0&&($=0),g+$>A&&(g=A-$),g<0&&(g=0),this.width=T,this.scrollWidth=I,this.scrollLeft=Y,this.height=$,this.scrollHeight=A,this.scrollTop=g}return Object(i.a)(k,[{key:"equals",value:function(I){return this.rawScrollLeft===I.rawScrollLeft&&this.rawScrollTop===I.rawScrollTop&&this.width===I.width&&this.scrollWidth===I.scrollWidth&&this.scrollLeft===I.scrollLeft&&this.height===I.height&&this.scrollHeight===I.scrollHeight&&this.scrollTop===I.scrollTop}},{key:"withScrollDimensions",value:function(I,Y){return new k(typeof I.width!="undefined"?I.width:this.width,typeof I.scrollWidth!="undefined"?I.scrollWidth:this.scrollWidth,Y?this.rawScrollLeft:this.scrollLeft,typeof I.height!="undefined"?I.height:this.height,typeof I.scrollHeight!="undefined"?I.scrollHeight:this.scrollHeight,Y?this.rawScrollTop:this.scrollTop)}},{key:"withScrollPosition",value:function(I){return new k(this.width,this.scrollWidth,typeof I.scrollLeft!="undefined"?I.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,typeof I.scrollTop!="undefined"?I.scrollTop:this.rawScrollTop)}},{key:"createScrollEvent",value:function(I,Y){var $=this.width!==I.width,A=this.scrollWidth!==I.scrollWidth,g=this.scrollLeft!==I.scrollLeft,b=this.height!==I.height,d=this.scrollHeight!==I.scrollHeight,O=this.scrollTop!==I.scrollTop;return{inSmoothScrolling:Y,oldWidth:I.width,oldScrollWidth:I.scrollWidth,oldScrollLeft:I.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:I.height,oldScrollHeight:I.scrollHeight,oldScrollTop:I.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:$,scrollWidthChanged:A,scrollLeftChanged:g,heightChanged:b,scrollHeightChanged:d,scrollTopChanged:O}}}]),k}(),m=function(k){Object(r.a)(I,k);var T=Object(f.a)(I);function I(Y,$){var A;return Object(o.a)(this,I),A=T.call(this),A._onScroll=A._register(new a.a),A.onScroll=A._onScroll.event,A._smoothScrollDuration=Y,A._scheduleAtNextAnimationFrame=$,A._state=new v(0,0,0,0,0,0),A._smoothScrolling=null,A}return Object(i.a)(I,[{key:"dispose",value:function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),Object(u.a)(Object(c.a)(I.prototype),"dispose",this).call(this)}},{key:"setSmoothScrollDuration",value:function($){this._smoothScrollDuration=$}},{key:"validateScrollPosition",value:function($){return this._state.withScrollPosition($)}},{key:"getScrollDimensions",value:function(){return this._state}},{key:"setScrollDimensions",value:function($,A){var g=this._state.withScrollDimensions($,A);this._setState(g,Boolean(this._smoothScrolling)),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}},{key:"getFutureScrollPosition",value:function(){return this._smoothScrolling?this._smoothScrolling.to:this._state}},{key:"getCurrentScrollPosition",value:function(){return this._state}},{key:"setScrollPositionNow",value:function($){var A=this._state.withScrollPosition($);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(A,!1)}},{key:"setScrollPositionSmooth",value:function($,A){var g=this;if(this._smoothScrollDuration===0)return this.setScrollPositionNow($);if(this._smoothScrolling){$={scrollLeft:typeof $.scrollLeft=="undefined"?this._smoothScrolling.to.scrollLeft:$.scrollLeft,scrollTop:typeof $.scrollTop=="undefined"?this._smoothScrolling.to.scrollTop:$.scrollTop};var b=this._state.withScrollPosition($);if(this._smoothScrolling.to.scrollLeft===b.scrollLeft&&this._smoothScrolling.to.scrollTop===b.scrollTop)return;var d;A?d=new p(this._smoothScrolling.from,b,this._smoothScrolling.startTime,this._smoothScrolling.duration):d=this._smoothScrolling.combine(this._state,b,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=d}else{var O=this._state.withScrollPosition($);this._smoothScrolling=p.start(this._state,O,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(function(){!g._smoothScrolling||(g._smoothScrolling.animationFrameDisposable=null,g._performSmoothScrolling())})}},{key:"_performSmoothScrolling",value:function(){var $=this;if(!!this._smoothScrolling){var A=this._smoothScrolling.tick(),g=this._state.withScrollPosition(A);if(this._setState(g,!0),!!this._smoothScrolling){if(A.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(function(){!$._smoothScrolling||($._smoothScrolling.animationFrameDisposable=null,$._performSmoothScrolling())})}}}},{key:"_setState",value:function($,A){var g=this._state;g.equals($)||(this._state=$,this._onScroll.fire(this._state.createScrollEvent(g,A)))}}]),I}(n.a),h=Object(i.a)(function k(T,I,Y){Object(o.a)(this,k),this.scrollLeft=T,this.scrollTop=I,this.isDone=Y});function t(k,T){var I=T-k;return function(Y){return k+I*S(Y)}}function l(k,T,I){return function(Y){return Y<I?k(Y/I):T((Y-I)/(1-I))}}var p=function(){function k(T,I,Y,$){Object(o.a)(this,k),this.from=T,this.to=I,this.duration=$,this.startTime=Y,this.animationFrameDisposable=null,this._initAnimations()}return Object(i.a)(k,[{key:"_initAnimations",value: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)}},{key:"_initAnimation",value:function(I,Y,$){var A=Math.abs(I-Y);if(A>2.5*$){var g,b;return I<Y?(g=I+.75*$,b=Y-.75*$):(g=I-.75*$,b=Y+.75*$),l(t(I,g),t(b,Y),.33)}return t(I,Y)}},{key:"dispose",value:function(){this.animationFrameDisposable!==null&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}},{key:"acceptScrollDimensions",value:function(I){this.to=I.withScrollPosition(this.to),this._initAnimations()}},{key:"tick",value:function(){return this._tick(Date.now())}},{key:"_tick",value:function(I){var Y=(I-this.startTime)/this.duration;if(Y<1){var $=this.scrollLeft(Y),A=this.scrollTop(Y);return new h($,A,!1)}return new h(this.to.scrollLeft,this.to.scrollTop,!0)}},{key:"combine",value:function(I,Y,$){return k.start(I,Y,$)}}],[{key:"start",value:function(I,Y,$){$=$+10;var A=Date.now()-10;return new k(I,Y,A,$)}}]),k}();function w(k){return Math.pow(k,3)}function S(k){return 1-w(1-k)}},QupR:function(Ie,M,e){"use strict";M.a=function(u){return(u()-.5)*1e-6}},"R/W3":function(Ie,M,e){var u=e("KwMD"),c=e("2ajD"),r=e("CZoQ");function f(o,i,a){return i===i?r(o,i,a):u(o,c,a)}Ie.exports=f},R3nR:function(Ie,M,e){"use strict";e.d(M,"b",function(){return r}),e.d(M,"a",function(){return f});var u=e("Cg/j"),c=e("T8No"),r=Object(u.c)("accessibilityService"),f=new c.c("accessibilityModeEnabled",!1)},R5Y4:function(Ie,M){var e=Math.ceil,u=Math.max;function c(r,f,o,i){for(var a=-1,n=u(e((f-r)/(o||1)),0),v=Array(n);n--;)v[i?n:++a]=r,r+=o;return v}Ie.exports=c},R8sh:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("labelService")},RBan:function(Ie,M){function e(u){var c=u==null?0:u.length;return c?u[c-1]:void 0}Ie.exports=e},RC8p:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("Ehk+"),f=e.n(r)},RYnF:function(Ie,M){Ie.exports=e;function e(){var r={};r._next=r._prev=r,this._sentinel=r}e.prototype.dequeue=function(){var r=this._sentinel,f=r._prev;if(f!==r)return u(f),f},e.prototype.enqueue=function(r){var f=this._sentinel;r._prev&&r._next&&u(r),r._next=f._next,f._next._prev=r,f._next=r,r._prev=f},e.prototype.toString=function(){for(var r=[],f=this._sentinel,o=f._prev;o!==f;)r.push(JSON.stringify(o,c)),o=o._prev;return"["+r.join(", ")+"]"};function u(r){r._prev._next=r._next,r._next._prev=r._prev,delete r._next,delete r._prev}function c(r,f){if(r!=="_next"&&r!=="_prev")return f}},Re5C:function(Ie,M,e){"use strict";var u=e("b5wT"),c=e("tQ6r");Ie.exports={run:r,undo:o};function r(i){i.graph().dummyChains=[],u.forEach(i.edges(),function(a){f(i,a)})}function f(i,a){var n=a.v,v=i.node(n).rank,m=a.w,h=i.node(m).rank,t=a.name,l=i.edge(a),p=l.labelRank;if(h!==v+1){i.removeEdge(a);var w,S,k;for(k=0,++v;v<h;++k,++v)l.points=[],S={width:0,height:0,edgeLabel:l,edgeObj:a,rank:v},w=c.addDummyNode(i,"edge",S,"_d"),v===p&&(S.width=l.width,S.height=l.height,S.dummy="edge-label",S.labelpos=l.labelpos),i.setEdge(n,w,{weight:l.weight},t),k===0&&i.graph().dummyChains.push(w),n=w;i.setEdge(n,m,{weight:l.weight},t)}}function o(i){u.forEach(i.graph().dummyChains,function(a){var n=i.node(a),v=n.edgeLabel,m;for(i.setEdge(n.edgeObj,v);n.dummy;)m=i.successors(a)[0],i.removeNode(a),v.points.push({x:n.x,y:n.y}),n.dummy==="edge-label"&&(v.x=n.x,v.y=n.y,v.width=n.width,v.height=n.height),a=m,n=i.node(a)})}},RqAY:function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});function u(c){return Object.keys(c).reduce(function(r,f){return(f.startsWith("data-")||f.startsWith("aria-")||f==="role")&&!f.startsWith("data-__")&&(r[f]=c[f]),r},{})}},S3by:function(Ie,M,e){"use strict";var u=e("N0LK"),c;(function(r){r[r.Ignore=0]="Ignore",r[r.Info=1]="Info",r[r.Warning=2]="Warning",r[r.Error=3]="Error"})(c||(c={})),function(r){var f="error",o="warning",i="warn",a="info",n="ignore";function v(h){return h?u.s(f,h)?r.Error:u.s(o,h)||u.s(i,h)?r.Warning:u.s(a,h)?r.Info:r.Ignore:r.Ignore}r.fromValue=v;function m(h){switch(h){case r.Error:return f;case r.Warning:return o;case r.Info:return a;default:return n}}r.toString=m}(c||(c={})),M.a=c},S76h:function(Ie,M,e){},"SE9/":function(Ie,M,e){"use strict";var u=e("q1tI");function c(I,Y){return a(I)||i(I,Y)||f(I,Y)||r()}function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(I,Y){if(!!I){if(typeof I=="string")return o(I,Y);var $=Object.prototype.toString.call(I).slice(8,-1);if($==="Object"&&I.constructor&&($=I.constructor.name),$==="Map"||$==="Set")return Array.from(I);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return o(I,Y)}}function o(I,Y){(Y==null||Y>I.length)&&(Y=I.length);for(var $=0,A=new Array(Y);$<Y;$++)A[$]=I[$];return A}function i(I,Y){var $=I&&(typeof Symbol!="undefined"&&I[Symbol.iterator]||I["@@iterator"]);if($!=null){var A=[],g=!0,b=!1,d,O;try{for($=$.call(I);!(g=(d=$.next()).done)&&(A.push(d.value),!(Y&&A.length===Y));g=!0);}catch(E){b=!0,O=E}finally{try{!g&&$.return!=null&&$.return()}finally{if(b)throw O}}return A}}function a(I){if(Array.isArray(I))return I}function n(I){var Y=typeof window=="undefined",$=Object(u.useState)(function(){return Y?!1:window.matchMedia(I).matches}),A=c($,2),g=A[0],b=A[1];return Object(u.useLayoutEffect)(function(){if(!Y){var d=window.matchMedia(I),O=function(D){return b(D.matches)};return d.addListener(O),function(){return d.removeListener(O)}}},[I]),g}function v(I,Y){return p(I)||l(I,Y)||h(I,Y)||m()}function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(I,Y){if(!!I){if(typeof I=="string")return t(I,Y);var $=Object.prototype.toString.call(I).slice(8,-1);if($==="Object"&&I.constructor&&($=I.constructor.name),$==="Map"||$==="Set")return Array.from(I);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return t(I,Y)}}function t(I,Y){(Y==null||Y>I.length)&&(Y=I.length);for(var $=0,A=new Array(Y);$<Y;$++)A[$]=I[$];return A}function l(I,Y){var $=I&&(typeof Symbol!="undefined"&&I[Symbol.iterator]||I["@@iterator"]);if($!=null){var A=[],g=!0,b=!1,d,O;try{for($=$.call(I);!(g=(d=$.next()).done)&&(A.push(d.value),!(Y&&A.length===Y));g=!0);}catch(E){b=!0,O=E}finally{try{!g&&$.return!=null&&$.return()}finally{if(b)throw O}}return A}}function p(I){if(Array.isArray(I))return I}var w={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},S=function(){var Y="md";if(typeof window=="undefined")return Y;var $=Object.keys(w).find(function(A){var g=w[A].matchMedia;return!!window.matchMedia(g).matches});return Y=$,Y},k=function(){var Y=n(w.md.matchMedia),$=n(w.lg.matchMedia),A=n(w.xxl.matchMedia),g=n(w.xl.matchMedia),b=n(w.sm.matchMedia),d=n(w.xs.matchMedia),O=Object(u.useState)(S()),E=v(O,2),D=E[0],W=E[1];return Object(u.useEffect)(function(){if(A){W("xxl");return}if(g){W("xl");return}if($){W("lg");return}if(Y){W("md");return}if(b){W("sm");return}if(d){W("xs");return}W("md")},[Y,$,A,g,b,d]),D},T=M.a=k},SKAX:function(Ie,M,e){var u=e("JC6p"),c=e("lQqw"),r=c(u);Ie.exports=r},Sdnv:function(Ie,M,e){"use strict";e.d(M,"b",function(){return r}),e.d(M,"a",function(){return f});var u=e("fWQN"),c=e("mtLc");function r(o,i,a){return Math.min(Math.max(o,i),a)}var f=function(){function o(){Object(u.a)(this,o),this._n=1,this._val=0}return Object(c.a)(o,[{key:"update",value:function(a){return this._val=this._val+(a-this._val)/this._n,this._n+=1,this}},{key:"value",get:function(){return this._val}}]),o}()},SfRM:function(Ie,M,e){var u=e("YESw");function c(){this.__data__=u?u(null):{},this.size=0}Ie.exports=c},SmQN:function(Ie,M,e){"use strict";e.d(M,"a",function(){return ht});var u=e("tS8v"),c=e("w4Tj"),r=e("oZsa"),f=e("yKVA"),o=e("879j"),i=e("rAM+"),a=e("fWQN"),n=e("mtLc"),v=e("lKfe"),m=e("3/fG"),h=e("EffR"),t=e("ZlPH"),l=e("cMOf"),p=e("X+cX"),w=e("MI8n"),S=e("pmY6"),k=e("HdwC"),T=e("vATl"),I=e("Vxe3"),Y=e("nB0o"),$=e("qLMh"),A=e("DTDp"),g=e("WqXY"),b=e("GJhM"),d=e("8HAY"),O=e("sswD"),E=e("/UlZ"),D=e("4bUh"),W=e("cGHE"),te=e("kYye"),re=e("baJR"),ye=e("qNAo"),q=e("T8No"),oe=e("MD5Z"),he=e("t9D7"),ue=e("Vhoy"),ne=e("v1vZ"),se=function(tn,wn,on,vn){function dt(ct){return ct instanceof on?ct:new on(function(Kt){Kt(ct)})}return new(on||(on=Promise))(function(ct,Kt){function pn(gn){try{Pt(vn.next(gn))}catch(_n){Kt(_n)}}function kn(gn){try{Pt(vn.throw(gn))}catch(_n){Kt(_n)}}function Pt(gn){gn.done?ct(gn.value):dt(gn.value).then(pn,kn)}Pt((vn=vn.apply(tn,wn||[])).next())})},be,Z=3,ee=function(){function tn(wn,on,vn,dt){Object(a.a)(this,tn),this.originalLineStart=wn,this.originalLineEnd=on,this.modifiedLineStart=vn,this.modifiedLineEnd=dt}return Object(n.a)(tn,[{key:"getType",value:function(){return this.originalLineStart===0?1:this.modifiedLineStart===0?2:0}}]),tn}(),ce=Object(n.a)(function tn(wn){Object(a.a)(this,tn),this.entries=wn}),R=Object(ne.b)("diff-review-insert",ue.b.add,m.a("diffReviewInsertIcon","Icon for 'Insert' in diff review.")),y=Object(ne.b)("diff-review-remove",ue.b.remove,m.a("diffReviewRemoveIcon","Icon for 'Remove' in diff review.")),C=Object(ne.b)("diff-review-close",ue.b.close,m.a("diffReviewCloseIcon","Icon for 'Close' in diff review.")),z=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(vn){var dt;return Object(a.a)(this,on),dt=wn.call(this),dt._width=0,dt._diffEditor=vn,dt._isVisible=!1,dt.shadow=Object(t.b)(document.createElement("div")),dt.shadow.setClassName("diff-review-shadow"),dt.actionBarContainer=Object(t.b)(document.createElement("div")),dt.actionBarContainer.setClassName("diff-review-actions"),dt._actionBar=dt._register(new g.a(dt.actionBarContainer.domNode)),dt._actionBar.push(new d.a("diffreview.close",m.a("label.close","Close"),"close-diff-review "+he.d.asClassName(C),!0,function(){return se(Object(u.a)(dt),void 0,void 0,Object($.a)().mark(function ct(){return Object($.a)().wrap(function(pn){for(;;)switch(pn.prev=pn.next){case 0:return pn.abrupt("return",this.hide());case 1:case"end":return pn.stop()}},ct,this)}))}),{label:!1,icon:!0}),dt.domNode=Object(t.b)(document.createElement("div")),dt.domNode.setClassName("diff-review monaco-editor-background"),dt._content=Object(t.b)(document.createElement("div")),dt._content.setClassName("diff-review-content"),dt._content.setAttribute("role","code"),dt.scrollbar=dt._register(new b.a(dt._content.domNode,{})),dt.domNode.domNode.appendChild(dt.scrollbar.getDomNode()),dt._register(vn.onDidUpdateDiff(function(){!dt._isVisible||(dt._diffs=dt._compute(),dt._render())})),dt._register(vn.getModifiedEditor().onDidChangeCursorPosition(function(){!dt._isVisible||dt._render()})),dt._register(h.addStandardDisposableListener(dt.domNode.domNode,"click",function(ct){ct.preventDefault();var Kt=h.findParentWithClass(ct.target,"diff-review-row");Kt&&dt._goToRow(Kt)})),dt._register(h.addStandardDisposableListener(dt.domNode.domNode,"keydown",function(ct){(ct.equals(18)||ct.equals(2048|18)||ct.equals(512|18))&&(ct.preventDefault(),dt._goToRow(dt._getNextRow())),(ct.equals(16)||ct.equals(2048|16)||ct.equals(512|16))&&(ct.preventDefault(),dt._goToRow(dt._getPrevRow())),(ct.equals(9)||ct.equals(2048|9)||ct.equals(512|9)||ct.equals(1024|9))&&(ct.preventDefault(),dt.hide()),(ct.equals(10)||ct.equals(3))&&(ct.preventDefault(),dt.accept())})),dt._diffs=[],dt._currentDiff=null,dt}return Object(n.a)(on,[{key:"prev",value:function(){var dt=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var ct=-1,Kt=0,pn=this._diffs.length;Kt<pn;Kt++)if(this._diffs[Kt]===this._currentDiff){ct=Kt;break}dt=this._diffs.length+ct-1}else dt=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs.length!==0){dt=dt%this._diffs.length;var kn=this._diffs[dt].entries;this._diffEditor.setPosition(new W.a(kn[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:kn[0].modifiedLineStart,endColumn:1073741824,endLineNumber:kn[kn.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}}},{key:"next",value:function(){var dt=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var ct=-1,Kt=0,pn=this._diffs.length;Kt<pn;Kt++)if(this._diffs[Kt]===this._currentDiff){ct=Kt;break}dt=ct+1}else dt=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs.length!==0){dt=dt%this._diffs.length;var kn=this._diffs[dt].entries;this._diffEditor.setPosition(new W.a(kn[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:kn[0].modifiedLineStart,endColumn:1073741824,endLineNumber:kn[kn.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}}},{key:"accept",value:function(){var dt=-1,ct=this._getCurrentFocusedRow();if(ct){var Kt=parseInt(ct.getAttribute("data-line"),10);isNaN(Kt)||(dt=Kt)}this.hide(),dt!==-1&&(this._diffEditor.setPosition(new W.a(dt,1)),this._diffEditor.revealPosition(new W.a(dt,1),1))}},{key:"hide",value:function(){this._isVisible=!1,this._diffEditor.updateOptions({readOnly:!1}),this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()}},{key:"_getPrevRow",value:function(){var dt=this._getCurrentFocusedRow();return dt?dt.previousElementSibling?dt.previousElementSibling:dt:this._getFirstRow()}},{key:"_getNextRow",value:function(){var dt=this._getCurrentFocusedRow();return dt?dt.nextElementSibling?dt.nextElementSibling:dt:this._getFirstRow()}},{key:"_getFirstRow",value:function(){return this.domNode.domNode.querySelector(".diff-review-row")}},{key:"_getCurrentFocusedRow",value:function(){var dt=document.activeElement;return dt&&/diff-review-row/.test(dt.className)?dt:null}},{key:"_goToRow",value:function(dt){var ct=this._getCurrentFocusedRow();dt.tabIndex=0,dt.focus(),ct&&ct!==dt&&(ct.tabIndex=-1),this.scrollbar.scanDomNode()}},{key:"isVisible",value:function(){return this._isVisible}},{key:"layout",value:function(dt,ct,Kt){this._width=ct,this.shadow.setTop(dt-6),this.shadow.setWidth(ct),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(dt),this.domNode.setWidth(ct),this.domNode.setHeight(Kt),this._content.setHeight(Kt),this._content.setWidth(ct),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))}},{key:"_compute",value:function(){var dt=this._diffEditor.getLineChanges();if(!dt||dt.length===0)return[];var ct=this._diffEditor.getOriginalEditor().getModel(),Kt=this._diffEditor.getModifiedEditor().getModel();return!ct||!Kt?[]:on._mergeAdjacent(dt,ct.getLineCount(),Kt.getLineCount())}},{key:"_findDiffIndex",value:function(dt){for(var ct=dt.lineNumber,Kt=0,pn=this._diffs.length;Kt<pn;Kt++){var kn=this._diffs[Kt].entries,Pt=kn[kn.length-1].modifiedLineEnd;if(ct<=Pt)return Kt}return 0}},{key:"_render",value:function(){var dt=this._diffEditor.getOriginalEditor().getOptions(),ct=this._diffEditor.getModifiedEditor().getOptions(),Kt=this._diffEditor.getOriginalEditor().getModel(),pn=this._diffEditor.getModifiedEditor().getModel(),kn=Kt.getOptions(),Pt=pn.getOptions();if(!this._isVisible||!Kt||!pn){h.clearNode(this._content.domNode),this._currentDiff=null,this.scrollbar.scanDomNode();return}this._diffEditor.updateOptions({readOnly:!0});var gn=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[gn]!==this._currentDiff){this._currentDiff=this._diffs[gn];var _n=this._diffs[gn].entries,Kn=document.createElement("div");Kn.className="diff-review-table",Kn.setAttribute("role","list"),Kn.setAttribute("aria-label",'Difference review. Use "Stage | Unstage | Revert Selected Ranges" commands'),k.a.applyFontInfoSlow(Kn,ct.get(40));for(var qn=0,rr=0,Rn=0,mr=0,ar=0,sr=_n.length;ar<sr;ar++){var yr=_n[ar],br=yr.originalLineStart,_r=yr.originalLineEnd,li=yr.modifiedLineStart,xi=yr.modifiedLineEnd;br!==0&&(qn===0||br<qn)&&(qn=br),_r!==0&&(rr===0||_r>rr)&&(rr=_r),li!==0&&(Rn===0||li<Rn)&&(Rn=li),xi!==0&&(mr===0||xi>mr)&&(mr=xi)}var Mi=document.createElement("div");Mi.className="diff-review-row";var Fr=document.createElement("div");Fr.className="diff-review-cell diff-review-summary";var ur=rr-qn+1,Ti=mr-Rn+1;Fr.appendChild(document.createTextNode("".concat(gn+1,"/").concat(this._diffs.length,": @@ -").concat(qn,",").concat(ur," +").concat(Rn,",").concat(Ti," @@"))),Mi.setAttribute("data-line",String(Rn));var Xi=function(Ai){return Ai===0?m.a("no_lines_changed","no lines changed"):Ai===1?m.a("one_line_changed","1 line changed"):m.a("more_lines_changed","{0} lines changed",Ai)},ca=Xi(ur),Zi=Xi(Ti);Mi.setAttribute("aria-label",m.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 changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",gn+1,this._diffs.length,qn,ca,Rn,Zi)),Mi.appendChild(Fr),Mi.setAttribute("role","listitem"),Kn.appendChild(Mi);for(var xa=ct.get(55),va=Rn,Ma=0,_a=_n.length;Ma<_a;Ma++){var na=_n[Ma];on._renderSection(Kn,na,va,xa,this._width,dt,Kt,kn,ct,pn,Pt),na.modifiedLineStart!==0&&(va=na.modifiedLineEnd)}h.clearNode(this._content.domNode),this._content.domNode.appendChild(Kn),this.scrollbar.scanDomNode()}}}],[{key:"_mergeAdjacent",value:function(dt,ct,Kt){if(!dt||dt.length===0)return[];for(var pn=[],kn=0,Pt=0,gn=dt.length;Pt<gn;Pt++){var _n=dt[Pt],Kn=_n.originalStartLineNumber,qn=_n.originalEndLineNumber,rr=_n.modifiedStartLineNumber,Rn=_n.modifiedEndLineNumber,mr=[],ar=0;{var sr=qn===0?Kn:Kn-1,yr=Rn===0?rr:rr-1,br=1,_r=1;if(Pt>0){var li=dt[Pt-1];li.originalEndLineNumber===0?br=li.originalStartLineNumber+1:br=li.originalEndLineNumber+1,li.modifiedEndLineNumber===0?_r=li.modifiedStartLineNumber+1:_r=li.modifiedEndLineNumber+1}var xi=sr-Z+1,Mi=yr-Z+1;if(xi<br){var Fr=br-xi;xi=xi+Fr,Mi=Mi+Fr}if(Mi<_r){var ur=_r-Mi;xi=xi+ur,Mi=Mi+ur}mr[ar++]=new ee(xi,sr,Mi,yr)}qn!==0&&(mr[ar++]=new ee(Kn,qn,0,0)),Rn!==0&&(mr[ar++]=new ee(0,0,rr,Rn));{var Ti=qn===0?Kn+1:qn+1,Xi=Rn===0?rr+1:Rn+1,ca=ct,Zi=Kt;if(Pt+1<gn){var xa=dt[Pt+1];xa.originalEndLineNumber===0?ca=xa.originalStartLineNumber:ca=xa.originalStartLineNumber-1,xa.modifiedEndLineNumber===0?Zi=xa.modifiedStartLineNumber:Zi=xa.modifiedStartLineNumber-1}var va=Ti+Z-1,Ma=Xi+Z-1;if(va>ca){var _a=ca-va;va=va+_a,Ma=Ma+_a}if(Ma>Zi){var na=Zi-Ma;va=va+na,Ma=Ma+na}mr[ar++]=new ee(Ti,va,Xi,Ma)}pn[kn++]=new ce(mr)}for(var sa=pn[0].entries,Ai=[],ba=0,ea=1,mn=pn.length;ea<mn;ea++){var It=pn[ea].entries,Ue=sa[sa.length-1],Ze=It[0];if(Ue.getType()===0&&Ze.getType()===0&&Ze.originalLineStart<=Ue.originalLineEnd){sa[sa.length-1]=new ee(Ue.originalLineStart,Ze.originalLineEnd,Ue.modifiedLineStart,Ze.modifiedLineEnd),sa=sa.concat(It.slice(1));continue}Ai[ba++]=new ce(sa),sa=It}return Ai[ba++]=new ce(sa),Ai}},{key:"_renderSection",value:function(dt,ct,Kt,pn,kn,Pt,gn,_n,Kn,qn,rr){var Rn=ct.getType(),mr="diff-review-row",ar="",sr="diff-review-spacer",yr=null;switch(Rn){case 1:mr="diff-review-row line-insert",ar=" char-insert",yr=R;break;case 2:mr="diff-review-row line-delete",ar=" char-delete",yr=y;break}for(var br=ct.originalLineStart,_r=ct.originalLineEnd,li=ct.modifiedLineStart,xi=ct.modifiedLineEnd,Mi=Math.max(xi-li,_r-br),Fr=Pt.get(127),ur=Fr.glyphMarginWidth+Fr.lineNumbersWidth,Ti=Kn.get(127),Xi=10+Ti.glyphMarginWidth+Ti.lineNumbersWidth,ca=0;ca<=Mi;ca++){var Zi=br===0?0:br+ca,xa=li===0?0:li+ca,va=document.createElement("div");va.style.minWidth=kn+"px",va.className=mr,va.setAttribute("role","listitem"),xa!==0&&(Kt=xa),va.setAttribute("data-line",String(Kt));var Ma=document.createElement("div");Ma.className="diff-review-cell",Ma.style.height="".concat(pn,"px"),va.appendChild(Ma);var _a=document.createElement("span");_a.style.width=ur+"px",_a.style.minWidth=ur+"px",_a.className="diff-review-line-number"+ar,Zi!==0?_a.appendChild(document.createTextNode(String(Zi))):_a.innerText="\xA0",Ma.appendChild(_a);var na=document.createElement("span");na.style.width=Xi+"px",na.style.minWidth=Xi+"px",na.style.paddingRight="10px",na.className="diff-review-line-number"+ar,xa!==0?na.appendChild(document.createTextNode(String(xa))):na.innerText="\xA0",Ma.appendChild(na);var sa=document.createElement("span");if(sa.className=sr,yr){var Ai=document.createElement("span");Ai.className=he.d.asClassName(yr),Ai.innerText="\xA0\xA0",sa.appendChild(Ai)}else sa.innerText="\xA0\xA0";Ma.appendChild(sa);var ba=void 0;if(xa!==0){var ea=this._renderLine(qn,Kn,rr.tabSize,xa);on._ttPolicy&&(ea=on._ttPolicy.createHTML(ea)),Ma.insertAdjacentHTML("beforeend",ea),ba=qn.getLineContent(xa)}else{var mn=this._renderLine(gn,Pt,_n.tabSize,Zi);on._ttPolicy&&(mn=on._ttPolicy.createHTML(mn)),Ma.insertAdjacentHTML("beforeend",mn),ba=gn.getLineContent(Zi)}ba.length===0&&(ba=m.a("blankLine","blank"));var It="";switch(Rn){case 0:Zi===xa?It=m.a({key:"unchangedLine",comment:["The placeholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",ba,Zi):It=m.a("equalLine","{0} original line {1} modified line {2}",ba,Zi,xa);break;case 1:It=m.a("insertLine","+ {0} modified line {1}",ba,xa);break;case 2:It=m.a("deleteLine","- {0} original line {1}",ba,Zi);break}va.setAttribute("aria-label",It),dt.appendChild(va)}}},{key:"_renderLine",value:function(dt,ct,Kt,pn){var kn=dt.getLineContent(pn),Pt=ct.get(40),gn=(0<<11|1<<14|2<<23)>>>0,_n=new Uint32Array(2);_n[0]=kn.length,_n[1]=gn;var Kn=new D.a(_n,kn),qn=ye.e.isBasicASCII(kn,dt.mightContainNonBasicASCII()),rr=ye.e.containsRTL(kn,qn,dt.mightContainRTL()),Rn=Object(re.e)(new re.c(Pt.isMonospace&&!ct.get(27),Pt.canUseHalfwidthRightwardsArrow,kn,!1,qn,rr,0,Kn,[],Kt,0,Pt.spaceWidth,Pt.middotWidth,Pt.wsmiddotWidth,ct.get(102),ct.get(85),ct.get(79),ct.get(41)!==E.e.OFF,null));return Rn.html}}]),on}(S.a);z._ttPolicy=(be=window.trustedTypes)===null||be===void 0?void 0:be.createPolicy("diffReview",{createHTML:function(wn){return wn}}),Object(he.f)(function(tn,wn){var on=tn.getColor(te.k);on&&wn.addRule(".monaco-diff-editor .diff-review-line-number { color: ".concat(on,"; }"));var vn=tn.getColor(oe.tc);vn&&wn.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: ".concat(vn," 0 -6px 6px -6px inset; }"))});var G=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(){return Object(a.a)(this,on),wn.call(this,{id:"editor.action.diffReview.next",label:m.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:q.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}return Object(n.a)(on,[{key:"run",value:function(dt,ct){var Kt=pe(dt);Kt&&Kt.diffReviewNext()}}]),on}(O.b),X=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(){return Object(a.a)(this,on),wn.call(this,{id:"editor.action.diffReview.prev",label:m.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:q.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1024|65,weight:100}})}return Object(n.a)(on,[{key:"run",value:function(dt,ct){var Kt=pe(dt);Kt&&Kt.diffReviewPrev()}}]),on}(O.b);function pe(tn){var wn=tn.get(I.a),on=wn.listDiffEditors(),vn=wn.getActiveCodeEditor();if(!vn)return null;for(var dt=0,ct=on.length;dt<ct;dt++){var Kt=on[dt];if(Kt.getModifiedEditor().getId()===vn.getId()||Kt.getOriginalEditor().getId()===vn.getId())return Kt}return null}Object(O.j)(G),Object(O.j)(X);var ae=e("aokT"),Se=e("erNZ"),Te=e("iuje"),je=e("tX9W"),ft=e("pAvP"),fe=e("MvK1"),ie=e("dBaI"),ge=e("Cg/j"),Ve=e("8HsV"),Ee=e("sM1p"),Me=e("Uzvx"),_e=function(tn,wn,on,vn){function dt(ct){return ct instanceof on?ct:new on(function(Kt){Kt(ct)})}return new(on||(on=Promise))(function(ct,Kt){function pn(gn){try{Pt(vn.next(gn))}catch(_n){Kt(_n)}}function kn(gn){try{Pt(vn.throw(gn))}catch(_n){Kt(_n)}}function Pt(gn){gn.done?ct(gn.value):dt(gn.value).then(pn,kn)}Pt((vn=vn.apply(tn,wn||[])).next())})},Re=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(vn,dt,ct,Kt,pn,kn){var Pt;Object(a.a)(this,on),Pt=wn.call(this),Pt._viewZoneId=vn,Pt._marginDomNode=dt,Pt.editor=ct,Pt.diff=Kt,Pt._contextMenuService=pn,Pt._clipboardService=kn,Pt._visibility=!1,Pt._marginDomNode.style.zIndex="10",Pt._diffActions=document.createElement("div"),Pt._diffActions.className=ue.b.lightBulb.classNames+" lightbulb-glyph",Pt._diffActions.style.position="absolute";var gn=ct.getOption(55),_n=ct.getModel().getEOL();Pt._diffActions.style.right="0px",Pt._diffActions.style.visibility="hidden",Pt._diffActions.style.height="".concat(gn,"px"),Pt._diffActions.style.lineHeight="".concat(gn,"px"),Pt._marginDomNode.appendChild(Pt._diffActions);var Kn=[];Kn.push(new d.a("diff.clipboard.copyDeletedContent",Kt.originalEndLineNumber>Kt.modifiedStartLineNumber?m.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):m.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,function(){return _e(Object(u.a)(Pt),void 0,void 0,Object($.a)().mark(function ar(){var sr,yr;return Object($.a)().wrap(function(_r){for(;;)switch(_r.prev=_r.next){case 0:return sr=new ae.a(Kt.originalStartLineNumber,1,Kt.originalEndLineNumber+1,1),yr=Kt.originalModel.getValueInRange(sr),_r.next=4,this._clipboardService.writeText(yr);case 4:case"end":return _r.stop()}},ar,this)}))}));var qn=0,rr=void 0;Kt.originalEndLineNumber>Kt.modifiedStartLineNumber&&(rr=new d.a("diff.clipboard.copyDeletedLineContent",m.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",Kt.originalStartLineNumber),void 0,!0,function(){return _e(Object(u.a)(Pt),void 0,void 0,Object($.a)().mark(function ar(){var sr;return Object($.a)().wrap(function(br){for(;;)switch(br.prev=br.next){case 0:return sr=Kt.originalModel.getLineContent(Kt.originalStartLineNumber+qn),br.next=3,this._clipboardService.writeText(sr);case 3:case"end":return br.stop()}},ar,this)}))}),Kn.push(rr));var Rn=ct.getOption(77);Rn||Kn.push(new d.a("diff.inline.revertChange",m.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,function(){return _e(Object(u.a)(Pt),void 0,void 0,Object($.a)().mark(function ar(){var sr,yr,br,_r;return Object($.a)().wrap(function(xi){for(;;)switch(xi.prev=xi.next){case 0:sr=new ae.a(Kt.originalStartLineNumber,1,Kt.originalEndLineNumber,Kt.originalModel.getLineMaxColumn(Kt.originalEndLineNumber)),yr=Kt.originalModel.getValueInRange(sr),Kt.modifiedEndLineNumber===0?(br=ct.getModel().getLineMaxColumn(Kt.modifiedStartLineNumber),ct.executeEdits("diffEditor",[{range:new ae.a(Kt.modifiedStartLineNumber,br,Kt.modifiedStartLineNumber,br),text:_n+yr}])):(_r=ct.getModel().getLineMaxColumn(Kt.modifiedEndLineNumber),ct.executeEdits("diffEditor",[{range:new ae.a(Kt.modifiedStartLineNumber,1,Kt.modifiedEndLineNumber,_r),text:yr}]));case 3:case"end":return xi.stop()}},ar)}))}));var mr=function(sr,yr){Pt._contextMenuService.showContextMenu({getAnchor:function(){return{x:sr,y:yr}},getActions:function(){return rr&&(rr.label=m.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",Kt.originalStartLineNumber+qn)),Kn},autoSelectFirstItem:!0})};return Pt._register(h.addStandardDisposableListener(Pt._diffActions,"mousedown",function(ar){var sr=h.getDomNodePagePosition(Pt._diffActions),yr=sr.top,br=sr.height,_r=Math.floor(gn/3);ar.preventDefault(),mr(ar.posx,yr+br+_r)})),Pt._register(ct.onMouseMove(function(ar){if(ar.target.type===8||ar.target.type===5){var sr=ar.target.detail.viewZoneId;sr===Pt._viewZoneId?(Pt.visibility=!0,qn=Pt._updateLightBulbPosition(Pt._marginDomNode,ar.event.browserEvent.y,gn)):Pt.visibility=!1}else Pt.visibility=!1})),Pt._register(ct.onMouseDown(function(ar){if(!!ar.event.rightButton&&(ar.target.type===8||ar.target.type===5)){var sr=ar.target.detail.viewZoneId;sr===Pt._viewZoneId&&(ar.event.preventDefault(),qn=Pt._updateLightBulbPosition(Pt._marginDomNode,ar.event.browserEvent.y,gn),mr(ar.event.posx,ar.event.posy+gn))}})),Pt}return Object(n.a)(on,[{key:"visibility",get:function(){return this._visibility},set:function(dt){this._visibility!==dt&&(this._visibility=dt,dt?this._diffActions.style.visibility="visible":this._diffActions.style.visibility="hidden")}},{key:"_updateLightBulbPosition",value:function(dt,ct,Kt){var pn=h.getDomNodePagePosition(dt),kn=pn.top,Pt=ct-kn,gn=Math.floor(Pt/Kt),_n=gn*Kt;if(this._diffActions.style.top="".concat(_n,"px"),this.diff.viewLineCounts){for(var Kn=0,qn=0;qn<this.diff.viewLineCounts.length;qn++)if(Kn+=this.diff.viewLineCounts[qn],gn<Kn)return qn}return gn}}]),on}(S.a),et=e("9XeP"),Xe=e("/cxE"),it=e("tTk5"),bt=e("o39E"),Ct=e("51su"),Bt=function(tn,wn,on,vn){var dt=arguments.length,ct=dt<3?wn:vn===null?vn=Object.getOwnPropertyDescriptor(wn,on):vn,Kt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ct=Reflect.decorate(tn,wn,on,vn);else for(var pn=tn.length-1;pn>=0;pn--)(Kt=tn[pn])&&(ct=(dt<3?Kt(ct):dt>3?Kt(wn,on,ct):Kt(wn,on))||ct);return dt>3&&ct&&Object.defineProperty(wn,on,ct),ct},qe=function(tn,wn){return function(on,vn){wn(on,vn,tn)}},st,ut=function(){function tn(wn,on){Object(a.a)(this,tn),this._contextMenuService=wn,this._clipboardService=on,this._zones=[],this._inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}return Object(n.a)(tn,[{key:"getForeignViewZones",value:function(on){var vn=this;return on.filter(function(dt){return!vn._zonesMap[String(dt.id)]})}},{key:"clean",value:function(on){var vn=this;this._zones.length>0&&on.changeViewZones(function(dt){var ct=Object(i.a)(vn._zones),Kt;try{for(ct.s();!(Kt=ct.n()).done;){var pn=Kt.value;dt.removeZone(pn)}}catch(kn){ct.e(kn)}finally{ct.f()}}),this._zones=[],this._zonesMap={},this._decorations=on.deltaDecorations(this._decorations,[])}},{key:"apply",value:function(on,vn,dt,ct){var Kt=this,pn=ct?T.c.capture(on):null;on.changeViewZones(function(kn){var Pt=Object(i.a)(Kt._zones),gn;try{for(Pt.s();!(gn=Pt.n()).done;){var _n=gn.value;kn.removeZone(_n)}}catch(yr){Pt.e(yr)}finally{Pt.f()}var Kn=Object(i.a)(Kt._inlineDiffMargins),qn;try{for(Kn.s();!(qn=Kn.n()).done;){var rr=qn.value;rr.dispose()}}catch(yr){Kn.e(yr)}finally{Kn.f()}Kt._zones=[],Kt._zonesMap={},Kt._inlineDiffMargins=[];for(var Rn=0,mr=dt.zones.length;Rn<mr;Rn++){var ar=dt.zones[Rn];ar.suppressMouseDown=!0;var sr=kn.addZone(ar);Kt._zones.push(sr),Kt._zonesMap[String(sr)]=!0,dt.zones[Rn].diff&&ar.marginDomNode&&(ar.suppressMouseDown=!1,Kt._inlineDiffMargins.push(new Re(sr,ar.marginDomNode,on,dt.zones[Rn].diff,Kt._contextMenuService,Kt._clipboardService)))}}),pn&&pn.restore(on),this._decorations=on.deltaDecorations(this._decorations,dt.decorations),vn&&vn.setZones(dt.overviewZones)}}]),tn}(),nt=0,kt=Object(ne.b)("diff-insert",ue.b.add,m.a("diffInsertIcon","Line decoration for inserts in the diff editor.")),Sn=Object(ne.b)("diff-remove",ue.b.remove,m.a("diffRemoveIcon","Line decoration for removals in the diff editor.")),Tt=(st=window.trustedTypes)===null||st===void 0?void 0:st.createPolicy("diffEditorWidget",{createHTML:function(wn){return wn}}),ht=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(vn,dt,ct,Kt,pn,kn,Pt,gn,_n,Kn,qn,rr){var Rn;Object(a.a)(this,on),Rn=wn.call(this),Rn._editorProgressService=rr,Rn._onDidDispose=Rn._register(new w.a),Rn.onDidDispose=Rn._onDidDispose.event,Rn._onDidUpdateDiff=Rn._register(new w.a),Rn.onDidUpdateDiff=Rn._onDidUpdateDiff.event,Rn._onDidContentSizeChange=Rn._register(new w.a),Rn._lastOriginalWarning=null,Rn._lastModifiedWarning=null,Rn._editorWorkerService=pn,Rn._codeEditorService=gn,Rn._contextKeyService=Rn._register(kn.createScoped(vn)),Rn._instantiationService=Pt.createChild(new Ve.a([q.b,Rn._contextKeyService])),Rn._contextKeyService.createKey("isInDiffEditor",!0),Rn._themeService=_n,Rn._notificationService=Kn,Rn._id=++nt,Rn._state=0,Rn._updatingDiffProgress=null,Rn._domElement=vn,dt=dt||{},Rn._renderSideBySide=!0,typeof dt.renderSideBySide!="undefined"&&(Rn._renderSideBySide=dt.renderSideBySide),Rn._maxComputationTime=5e3,typeof dt.maxComputationTime!="undefined"&&(Rn._maxComputationTime=dt.maxComputationTime),Rn._ignoreTrimWhitespace=!0,typeof dt.ignoreTrimWhitespace!="undefined"&&(Rn._ignoreTrimWhitespace=dt.ignoreTrimWhitespace),Rn._renderIndicators=!0,typeof dt.renderIndicators!="undefined"&&(Rn._renderIndicators=dt.renderIndicators),Rn._originalIsEditable=Object(E.k)(dt.originalEditable,!1),Rn._diffCodeLens=Object(E.k)(dt.diffCodeLens,!1),Rn._diffWordWrap=Un(dt.diffWordWrap,"inherit"),typeof dt.isInEmbeddedEditor!="undefined"?Rn._contextKeyService.createKey("isInEmbeddedDiffEditor",dt.isInEmbeddedEditor):Rn._contextKeyService.createKey("isInEmbeddedDiffEditor",!1),Rn._renderOverviewRuler=!0,typeof dt.renderOverviewRuler!="undefined"&&(Rn._renderOverviewRuler=Boolean(dt.renderOverviewRuler)),Rn._updateDecorationsRunner=Rn._register(new p.e(function(){return Rn._updateDecorations()},0)),Rn._containerDomElement=document.createElement("div"),Rn._containerDomElement.className=on._getClassName(Rn._themeService.getColorTheme(),Rn._renderSideBySide),Rn._containerDomElement.style.position="relative",Rn._containerDomElement.style.height="100%",Rn._domElement.appendChild(Rn._containerDomElement),Rn._overviewViewportDomElement=Object(t.b)(document.createElement("div")),Rn._overviewViewportDomElement.setClassName("diffViewport"),Rn._overviewViewportDomElement.setPosition("absolute"),Rn._overviewDomElement=document.createElement("div"),Rn._overviewDomElement.className="diffOverview",Rn._overviewDomElement.style.position="absolute",Rn._overviewDomElement.appendChild(Rn._overviewViewportDomElement.domNode),Rn._register(h.addStandardDisposableListener(Rn._overviewDomElement,"mousedown",function(br){Rn._modifiedEditor.delegateVerticalScrollbarMouseDown(br)})),Rn._renderOverviewRuler&&Rn._containerDomElement.appendChild(Rn._overviewDomElement),Rn._originalDomNode=document.createElement("div"),Rn._originalDomNode.className="editor original",Rn._originalDomNode.style.position="absolute",Rn._originalDomNode.style.height="100%",Rn._containerDomElement.appendChild(Rn._originalDomNode),Rn._modifiedDomNode=document.createElement("div"),Rn._modifiedDomNode.className="editor modified",Rn._modifiedDomNode.style.position="absolute",Rn._modifiedDomNode.style.height="100%",Rn._containerDomElement.appendChild(Rn._modifiedDomNode),Rn._beginUpdateDecorationsTimeout=-1,Rn._currentlyChangingViewZones=!1,Rn._diffComputationToken=0,Rn._originalEditorState=new ut(qn,Kt),Rn._modifiedEditorState=new ut(qn,Kt),Rn._isVisible=!0,Rn._isHandlingScrollEvent=!1,Rn._elementSizeObserver=Rn._register(new bt.a(Rn._containerDomElement,dt.dimension,function(){return Rn._onDidContainerSizeChanged()})),dt.automaticLayout&&Rn._elementSizeObserver.startObserving(),Rn._diffComputationResult=null,Rn._originalEditor=Rn._createLeftHandSideEditor(dt,ct.originalEditor||{}),Rn._modifiedEditor=Rn._createRightHandSideEditor(dt,ct.modifiedEditor||{}),Rn._originalOverviewRuler=null,Rn._modifiedOverviewRuler=null,Rn._reviewPane=new z(Object(u.a)(Rn)),Rn._containerDomElement.appendChild(Rn._reviewPane.domNode.domNode),Rn._containerDomElement.appendChild(Rn._reviewPane.shadow.domNode),Rn._containerDomElement.appendChild(Rn._reviewPane.actionBarContainer.domNode),Rn._enableSplitViewResizing=!0,typeof dt.enableSplitViewResizing!="undefined"&&(Rn._enableSplitViewResizing=dt.enableSplitViewResizing),Rn._renderSideBySide?Rn._setStrategy(new un(Rn._createDataSource(),Rn._enableSplitViewResizing)):Rn._setStrategy(new jn(Rn._createDataSource(),Rn._enableSplitViewResizing)),Rn._register(_n.onDidColorThemeChange(function(br){Rn._strategy&&Rn._strategy.applyColors(br)&&Rn._updateDecorationsRunner.schedule(),Rn._containerDomElement.className=on._getClassName(Rn._themeService.getColorTheme(),Rn._renderSideBySide)}));var mr=O.d.getDiffEditorContributions(),ar=Object(i.a)(mr),sr;try{for(ar.s();!(sr=ar.n()).done;){var yr=sr.value;try{Rn._register(Pt.createInstance(yr.ctor,Object(u.a)(Rn)))}catch(br){Object(Xe.e)(br)}}}catch(br){ar.e(br)}finally{ar.f()}return Rn._codeEditorService.addDiffEditor(Object(u.a)(Rn)),Rn}return Object(n.a)(on,[{key:"_setState",value:function(dt){this._state!==dt&&(this._state=dt,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),this._state===1&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}},{key:"diffReviewNext",value:function(){this._reviewPane.next()}},{key:"diffReviewPrev",value:function(){this._reviewPane.prev()}},{key:"_recreateOverviewRulers",value:function(){!this._renderOverviewRuler||(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())}},{key:"_createLeftHandSideEditor",value:function(dt,ct){var Kt=this,pn=this._createInnerEditor(this._instantiationService,this._originalDomNode,this._adjustOptionsForLeftHandSide(dt),ct);this._register(pn.onDidScrollChange(function(Pt){Kt._isHandlingScrollEvent||!Pt.scrollTopChanged&&!Pt.scrollLeftChanged&&!Pt.scrollHeightChanged||(Kt._isHandlingScrollEvent=!0,Kt._modifiedEditor.setScrollPosition({scrollLeft:Pt.scrollLeft,scrollTop:Pt.scrollTop}),Kt._isHandlingScrollEvent=!1,Kt._layoutOverviewViewport())})),this._register(pn.onDidChangeViewZones(function(){Kt._onViewZonesChanged()})),this._register(pn.onDidChangeConfiguration(function(Pt){!pn.getModel()||(Pt.hasChanged(40)&&Kt._updateDecorationsRunner.schedule(),Pt.hasChanged(128)&&(Kt._updateDecorationsRunner.cancel(),Kt._updateDecorations()))})),this._register(pn.onDidChangeModelContent(function(){Kt._isVisible&&Kt._beginUpdateDecorationsSoon()}));var kn=this._contextKeyService.createKey("isInDiffLeftEditor",pn.hasWidgetFocus());return this._register(pn.onDidFocusEditorWidget(function(){return kn.set(!0)})),this._register(pn.onDidBlurEditorWidget(function(){return kn.set(!1)})),this._register(pn.onDidContentSizeChange(function(Pt){var gn=Kt._originalEditor.getContentWidth()+Kt._modifiedEditor.getContentWidth()+on.ONE_OVERVIEW_WIDTH,_n=Math.max(Kt._modifiedEditor.getContentHeight(),Kt._originalEditor.getContentHeight());Kt._onDidContentSizeChange.fire({contentHeight:_n,contentWidth:gn,contentHeightChanged:Pt.contentHeightChanged,contentWidthChanged:Pt.contentWidthChanged})})),pn}},{key:"_createRightHandSideEditor",value:function(dt,ct){var Kt=this,pn=this._createInnerEditor(this._instantiationService,this._modifiedDomNode,this._adjustOptionsForRightHandSide(dt),ct);this._register(pn.onDidScrollChange(function(Pt){Kt._isHandlingScrollEvent||!Pt.scrollTopChanged&&!Pt.scrollLeftChanged&&!Pt.scrollHeightChanged||(Kt._isHandlingScrollEvent=!0,Kt._originalEditor.setScrollPosition({scrollLeft:Pt.scrollLeft,scrollTop:Pt.scrollTop}),Kt._isHandlingScrollEvent=!1,Kt._layoutOverviewViewport())})),this._register(pn.onDidChangeViewZones(function(){Kt._onViewZonesChanged()})),this._register(pn.onDidChangeConfiguration(function(Pt){!pn.getModel()||(Pt.hasChanged(40)&&Kt._updateDecorationsRunner.schedule(),Pt.hasChanged(128)&&(Kt._updateDecorationsRunner.cancel(),Kt._updateDecorations()))})),this._register(pn.onDidChangeModelContent(function(){Kt._isVisible&&Kt._beginUpdateDecorationsSoon()})),this._register(pn.onDidChangeModelOptions(function(Pt){Pt.tabSize&&Kt._updateDecorationsRunner.schedule()}));var kn=this._contextKeyService.createKey("isInDiffRightEditor",pn.hasWidgetFocus());return this._register(pn.onDidFocusEditorWidget(function(){return kn.set(!0)})),this._register(pn.onDidBlurEditorWidget(function(){return kn.set(!1)})),this._register(pn.onDidContentSizeChange(function(Pt){var gn=Kt._originalEditor.getContentWidth()+Kt._modifiedEditor.getContentWidth()+on.ONE_OVERVIEW_WIDTH,_n=Math.max(Kt._modifiedEditor.getContentHeight(),Kt._originalEditor.getContentHeight());Kt._onDidContentSizeChange.fire({contentHeight:_n,contentWidth:gn,contentHeightChanged:Pt.contentHeightChanged,contentWidthChanged:Pt.contentWidthChanged})})),pn}},{key:"_createInnerEditor",value:function(dt,ct,Kt,pn){return dt.createInstance(Y.a,ct,Kt,pn)}},{key:"dispose",value:function(){this._codeEditorService.removeDiffEditor(this),this._beginUpdateDecorationsTimeout!==-1&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._renderOverviewRuler&&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(),Object(c.a)(Object(r.a)(on.prototype),"dispose",this).call(this)}},{key:"getId",value:function(){return this.getEditorType()+":"+this._id}},{key:"getEditorType",value:function(){return Te.a.IDiffEditor}},{key:"getLineChanges",value:function(){return this._diffComputationResult?this._diffComputationResult.changes:null}},{key:"getOriginalEditor",value:function(){return this._originalEditor}},{key:"getModifiedEditor",value:function(){return this._modifiedEditor}},{key:"updateOptions",value:function(dt){var ct=!1;typeof dt.renderSideBySide!="undefined"&&this._renderSideBySide!==dt.renderSideBySide&&(this._renderSideBySide=dt.renderSideBySide,ct=!0),typeof dt.maxComputationTime!="undefined"&&(this._maxComputationTime=dt.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon());var Kt=!1;typeof dt.ignoreTrimWhitespace!="undefined"&&this._ignoreTrimWhitespace!==dt.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=dt.ignoreTrimWhitespace,Kt=!0),typeof dt.renderIndicators!="undefined"&&this._renderIndicators!==dt.renderIndicators&&(this._renderIndicators=dt.renderIndicators,Kt=!0),Kt&&this._beginUpdateDecorations(),this._originalIsEditable=Object(E.k)(dt.originalEditable,this._originalIsEditable),this._diffCodeLens=Object(E.k)(dt.diffCodeLens,this._diffCodeLens),this._diffWordWrap=Un(dt.diffWordWrap,this._diffWordWrap),this._modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(dt)),this._originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(dt)),typeof dt.enableSplitViewResizing!="undefined"&&(this._enableSplitViewResizing=dt.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),ct&&(this._renderSideBySide?this._setStrategy(new un(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new jn(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=on._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)),typeof dt.renderOverviewRuler!="undefined"&&this._renderOverviewRuler!==dt.renderOverviewRuler&&(this._renderOverviewRuler=dt.renderOverviewRuler,this._renderOverviewRuler?this._containerDomElement.appendChild(this._overviewDomElement):this._containerDomElement.removeChild(this._overviewDomElement))}},{key:"getModel",value:function(){return{original:this._originalEditor.getModel(),modified:this._modifiedEditor.getModel()}}},{key:"setModel",value:function(dt){if(dt&&(!dt.original||!dt.modified))throw new Error(dt.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this._originalEditor.setModel(dt?dt.original:null),this._modifiedEditor.setModel(dt?dt.modified:null),this._updateDecorationsRunner.cancel(),dt&&(this._originalEditor.setScrollTop(0),this._modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),dt&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}},{key:"getDomNode",value:function(){return this._domElement}},{key:"getVisibleColumnFromPosition",value:function(dt){return this._modifiedEditor.getVisibleColumnFromPosition(dt)}},{key:"getPosition",value:function(){return this._modifiedEditor.getPosition()}},{key:"setPosition",value:function(dt){this._modifiedEditor.setPosition(dt)}},{key:"revealLine",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealLine(dt,ct)}},{key:"revealLineInCenter",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealLineInCenter(dt,ct)}},{key:"revealLineInCenterIfOutsideViewport",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealLineInCenterIfOutsideViewport(dt,ct)}},{key:"revealLineNearTop",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealLineNearTop(dt,ct)}},{key:"revealPosition",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealPosition(dt,ct)}},{key:"revealPositionInCenter",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealPositionInCenter(dt,ct)}},{key:"revealPositionInCenterIfOutsideViewport",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealPositionInCenterIfOutsideViewport(dt,ct)}},{key:"revealPositionNearTop",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealPositionNearTop(dt,ct)}},{key:"getSelection",value:function(){return this._modifiedEditor.getSelection()}},{key:"getSelections",value:function(){return this._modifiedEditor.getSelections()}},{key:"setSelection",value:function(dt){this._modifiedEditor.setSelection(dt)}},{key:"setSelections",value:function(dt){this._modifiedEditor.setSelections(dt)}},{key:"revealLines",value:function(dt,ct){var Kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._modifiedEditor.revealLines(dt,ct,Kt)}},{key:"revealLinesInCenter",value:function(dt,ct){var Kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._modifiedEditor.revealLinesInCenter(dt,ct,Kt)}},{key:"revealLinesInCenterIfOutsideViewport",value:function(dt,ct){var Kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._modifiedEditor.revealLinesInCenterIfOutsideViewport(dt,ct,Kt)}},{key:"revealLinesNearTop",value:function(dt,ct){var Kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._modifiedEditor.revealLinesNearTop(dt,ct,Kt)}},{key:"revealRange",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;this._modifiedEditor.revealRange(dt,ct,Kt,pn)}},{key:"revealRangeInCenter",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealRangeInCenter(dt,ct)}},{key:"revealRangeInCenterIfOutsideViewport",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealRangeInCenterIfOutsideViewport(dt,ct)}},{key:"revealRangeNearTop",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealRangeNearTop(dt,ct)}},{key:"revealRangeNearTopIfOutsideViewport",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealRangeNearTopIfOutsideViewport(dt,ct)}},{key:"revealRangeAtTop",value:function(dt){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._modifiedEditor.revealRangeAtTop(dt,ct)}},{key:"getSupportedActions",value:function(){return this._modifiedEditor.getSupportedActions()}},{key:"saveViewState",value:function(){var dt=this._originalEditor.saveViewState(),ct=this._modifiedEditor.saveViewState();return{original:dt,modified:ct}}},{key:"restoreViewState",value:function(dt){if(dt&&dt.original&&dt.modified){var ct=dt;this._originalEditor.restoreViewState(ct.original),this._modifiedEditor.restoreViewState(ct.modified)}}},{key:"layout",value:function(dt){this._elementSizeObserver.observe(dt)}},{key:"focus",value:function(){this._modifiedEditor.focus()}},{key:"hasTextFocus",value:function(){return this._originalEditor.hasTextFocus()||this._modifiedEditor.hasTextFocus()}},{key:"trigger",value:function(dt,ct,Kt){this._modifiedEditor.trigger(dt,ct,Kt)}},{key:"changeDecorations",value:function(dt){return this._modifiedEditor.changeDecorations(dt)}},{key:"_onDidContainerSizeChanged",value:function(){this._doLayout()}},{key:"_getReviewHeight",value:function(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}},{key:"_layoutOverviewRulers",value:function(){if(!!this._renderOverviewRuler&&!(!this._originalOverviewRuler||!this._modifiedOverviewRuler)){var dt=this._elementSizeObserver.getHeight(),ct=this._getReviewHeight(),Kt=on.ENTIRE_DIFF_OVERVIEW_WIDTH-2*on.ONE_OVERVIEW_WIDTH,pn=this._modifiedEditor.getLayoutInfo();pn&&(this._originalOverviewRuler.setLayout({top:0,width:on.ONE_OVERVIEW_WIDTH,right:Kt+on.ONE_OVERVIEW_WIDTH,height:dt-ct}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:on.ONE_OVERVIEW_WIDTH,height:dt-ct}))}}},{key:"_onViewZonesChanged",value:function(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}},{key:"_beginUpdateDecorationsSoon",value:function(){var dt=this;this._beginUpdateDecorationsTimeout!==-1&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(function(){return dt._beginUpdateDecorations()},on.UPDATE_DIFF_DECORATIONS_DELAY)}},{key:"_beginUpdateDecorations",value:function(){var dt=this;this._beginUpdateDecorationsTimeout=-1;var ct=this._originalEditor.getModel(),Kt=this._modifiedEditor.getModel();if(!(!ct||!Kt)){this._diffComputationToken++;var pn=this._diffComputationToken;if(this._setState(1),!this._editorWorkerService.canComputeDiff(ct.uri,Kt.uri)){(!on._equals(ct.uri,this._lastOriginalWarning)||!on._equals(Kt.uri,this._lastModifiedWarning))&&(this._lastOriginalWarning=ct.uri,this._lastModifiedWarning=Kt.uri,this._notificationService.warn(m.a("diff.tooLarge","Cannot compare files because one file is too large.")));return}this._editorWorkerService.computeDiff(ct.uri,Kt.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then(function(kn){pn===dt._diffComputationToken&&ct===dt._originalEditor.getModel()&&Kt===dt._modifiedEditor.getModel()&&(dt._setState(2),dt._diffComputationResult=kn,dt._updateDecorationsRunner.schedule(),dt._onDidUpdateDiff.fire())},function(kn){pn===dt._diffComputationToken&&ct===dt._originalEditor.getModel()&&Kt===dt._modifiedEditor.getModel()&&(dt._setState(2),dt._diffComputationResult=null,dt._updateDecorationsRunner.schedule())})}}},{key:"_cleanViewZonesAndDecorations",value:function(){this._originalEditorState.clean(this._originalEditor),this._modifiedEditorState.clean(this._modifiedEditor)}},{key:"_updateDecorations",value:function(){if(!(!this._originalEditor.getModel()||!this._modifiedEditor.getModel())){var dt=this._diffComputationResult?this._diffComputationResult.changes:[],ct=this._originalEditorState.getForeignViewZones(this._originalEditor.getWhitespaces()),Kt=this._modifiedEditorState.getForeignViewZones(this._modifiedEditor.getWhitespaces()),pn=this._strategy.getEditorsDiffDecorations(dt,this._ignoreTrimWhitespace,this._renderIndicators,ct,Kt);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this._originalEditor,this._originalOverviewRuler,pn.original,!1),this._modifiedEditorState.apply(this._modifiedEditor,this._modifiedOverviewRuler,pn.modified,!0)}finally{this._currentlyChangingViewZones=!1}}}},{key:"_adjustOptionsForSubEditor",value:function(dt){var ct=Object.assign({},dt);return ct.inDiffEditor=!0,ct.automaticLayout=!1,ct.scrollbar=Object.assign({},ct.scrollbar||{}),ct.scrollbar.vertical="visible",ct.folding=!1,ct.codeLens=this._diffCodeLens,ct.fixedOverflowWidgets=!0,ct.minimap=Object.assign({},ct.minimap||{}),ct.minimap.enabled=!1,ct}},{key:"_adjustOptionsForLeftHandSide",value:function(dt){var ct=this._adjustOptionsForSubEditor(dt);return this._renderSideBySide?ct.wordWrapOverride1=this._diffWordWrap:ct.wordWrapOverride1="off",dt.originalAriaLabel&&(ct.ariaLabel=dt.originalAriaLabel),ct.readOnly=!this._originalIsEditable,ct.extraEditorClassName="original-in-monaco-diff-editor",Object.assign(Object.assign({},ct),{dimension:{height:0,width:0}})}},{key:"_adjustOptionsForRightHandSide",value:function(dt){var ct=this._adjustOptionsForSubEditor(dt);return dt.modifiedAriaLabel&&(ct.ariaLabel=dt.modifiedAriaLabel),ct.wordWrapOverride1=this._diffWordWrap,ct.revealHorizontalRightPadding=E.g.revealHorizontalRightPadding.defaultValue+on.ENTIRE_DIFF_OVERVIEW_WIDTH,ct.scrollbar.verticalHasArrows=!1,ct.extraEditorClassName="modified-in-monaco-diff-editor",Object.assign(Object.assign({},ct),{dimension:{height:0,width:0}})}},{key:"doLayout",value:function(){this._elementSizeObserver.observe(),this._doLayout()}},{key:"_doLayout",value:function(){var dt=this._elementSizeObserver.getWidth(),ct=this._elementSizeObserver.getHeight(),Kt=this._getReviewHeight(),pn=this._strategy.layout();this._originalDomNode.style.width=pn+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=dt-pn+"px",this._modifiedDomNode.style.left=pn+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=ct-Kt+"px",this._overviewDomElement.style.width=on.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=dt-on.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(on.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this._originalEditor.layout({width:pn,height:ct-Kt}),this._modifiedEditor.layout({width:dt-pn-(this._renderOverviewRuler?on.ENTIRE_DIFF_OVERVIEW_WIDTH:0),height:ct-Kt}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(ct-Kt,dt,Kt),this._layoutOverviewViewport()}},{key:"_layoutOverviewViewport",value:function(){var dt=this._computeOverviewViewport();dt?(this._overviewViewportDomElement.setTop(dt.top),this._overviewViewportDomElement.setHeight(dt.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}},{key:"_computeOverviewViewport",value:function(){var dt=this._modifiedEditor.getLayoutInfo();if(!dt)return null;var ct=this._modifiedEditor.getScrollTop(),Kt=this._modifiedEditor.getScrollHeight(),pn=Math.max(0,dt.height),kn=Math.max(0,pn-2*0),Pt=Kt>0?kn/Kt:0,gn=Math.max(0,Math.floor(dt.height*Pt)),_n=Math.floor(ct*Pt);return{height:gn,top:_n}}},{key:"_createDataSource",value:function(){var dt=this;return{getWidth:function(){return dt._elementSizeObserver.getWidth()},getHeight:function(){return dt._elementSizeObserver.getHeight()-dt._getReviewHeight()},getOptions:function(){return{renderOverviewRuler:dt._renderOverviewRuler}},getContainerDomNode:function(){return dt._containerDomElement},relayoutEditors:function(){dt._doLayout()},getOriginalEditor:function(){return dt._originalEditor},getModifiedEditor:function(){return dt._modifiedEditor}}}},{key:"_setStrategy",value:function(dt){this._strategy&&this._strategy.dispose(),this._strategy=dt,dt.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}},{key:"_getLineChangeAtOrBeforeLineNumber",value:function(dt,ct){var Kt=this._diffComputationResult?this._diffComputationResult.changes:[];if(Kt.length===0||dt<ct(Kt[0]))return null;for(var pn=0,kn=Kt.length-1;pn<kn;){var Pt=Math.floor((pn+kn)/2),gn=ct(Kt[Pt]),_n=Pt+1<=kn?ct(Kt[Pt+1]):1073741824;dt<gn?kn=Pt-1:dt>=_n?pn=Pt+1:(pn=Pt,kn=Pt)}return Kt[pn]}},{key:"_getEquivalentLineForOriginalLineNumber",value:function(dt){var ct=this._getLineChangeAtOrBeforeLineNumber(dt,function(_n){return _n.originalStartLineNumber});if(!ct)return dt;var Kt=ct.originalStartLineNumber+(ct.originalEndLineNumber>0?-1:0),pn=ct.modifiedStartLineNumber+(ct.modifiedEndLineNumber>0?-1:0),kn=ct.originalEndLineNumber>0?ct.originalEndLineNumber-ct.originalStartLineNumber+1:0,Pt=ct.modifiedEndLineNumber>0?ct.modifiedEndLineNumber-ct.modifiedStartLineNumber+1:0,gn=dt-Kt;return gn<=kn?pn+Math.min(gn,Pt):pn+Pt-kn+gn}},{key:"_getEquivalentLineForModifiedLineNumber",value:function(dt){var ct=this._getLineChangeAtOrBeforeLineNumber(dt,function(_n){return _n.modifiedStartLineNumber});if(!ct)return dt;var Kt=ct.originalStartLineNumber+(ct.originalEndLineNumber>0?-1:0),pn=ct.modifiedStartLineNumber+(ct.modifiedEndLineNumber>0?-1:0),kn=ct.originalEndLineNumber>0?ct.originalEndLineNumber-ct.originalStartLineNumber+1:0,Pt=ct.modifiedEndLineNumber>0?ct.modifiedEndLineNumber-ct.modifiedStartLineNumber+1:0,gn=dt-pn;return gn<=Pt?Kt+Math.min(gn,kn):Kt+kn-Pt+gn}},{key:"getDiffLineInformationForOriginal",value:function(dt){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(dt)}:null}},{key:"getDiffLineInformationForModified",value:function(dt){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(dt)}:null}}],[{key:"_getClassName",value:function(dt,ct){var Kt="monaco-diff-editor monaco-editor-background ";return ct&&(Kt+="side-by-side "),Kt+=Object(he.e)(dt.type),Kt}},{key:"_equals",value:function(dt,ct){return!dt&&!ct?!0:!dt||!ct?!1:dt.toString()===ct.toString()}}]),on}(S.a);ht.ONE_OVERVIEW_WIDTH=15,ht.ENTIRE_DIFF_OVERVIEW_WIDTH=30,ht.UPDATE_DIFF_DECORATIONS_DELAY=200,ht=Bt([qe(3,et.a),qe(4,ft.a),qe(5,q.b),qe(6,ge.a),qe(7,I.a),qe(8,he.b),qe(9,Ee.a),qe(10,Me.a),qe(11,it.a)],ht);var Rt=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(vn){var dt;return Object(a.a)(this,on),dt=wn.call(this),dt._dataSource=vn,dt._insertColor=null,dt._removeColor=null,dt}return Object(n.a)(on,[{key:"applyColors",value:function(dt){var ct=(dt.getColor(oe.m)||oe.i).transparent(2),Kt=(dt.getColor(oe.o)||oe.j).transparent(2),pn=!ct.equals(this._insertColor)||!Kt.equals(this._removeColor);return this._insertColor=ct,this._removeColor=Kt,pn}},{key:"getEditorsDiffDecorations",value:function(dt,ct,Kt,pn,kn){kn=kn.sort(function(Kn,qn){return Kn.afterLineNumber-qn.afterLineNumber}),pn=pn.sort(function(Kn,qn){return Kn.afterLineNumber-qn.afterLineNumber});var Pt=this._getViewZones(dt,pn,kn,Kt),gn=this._getOriginalEditorDecorations(dt,ct,Kt),_n=this._getModifiedEditorDecorations(dt,ct,Kt);return{original:{decorations:gn.decorations,overviewZones:gn.overviewZones,zones:Pt.original},modified:{decorations:_n.decorations,overviewZones:_n.overviewZones,zones:Pt.modified}}}}]),on}(S.a),Ft=function(){function tn(wn){Object(a.a)(this,tn),this._source=wn,this._index=-1,this.current=null,this.advance()}return Object(n.a)(tn,[{key:"advance",value:function(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null}}]),tn}(),nn=function(){function tn(wn,on,vn,dt,ct){Object(a.a)(this,tn),this._lineChanges=wn,this._originalForeignVZ=on,this._modifiedForeignVZ=vn,this._originalEditor=dt,this._modifiedEditor=ct}return Object(n.a)(tn,[{key:"getViewZones",value:function(){for(var on=this._originalEditor.getOption(55),vn=this._modifiedEditor.getOption(55),dt=this._originalEditor.getOption(128).wrappingColumn!==-1,ct=this._modifiedEditor.getOption(128).wrappingColumn!==-1,Kt=dt||ct,pn=this._originalEditor.getModel(),kn=this._originalEditor._getViewModel().coordinatesConverter,Pt=this._modifiedEditor._getViewModel().coordinatesConverter,gn={original:[],modified:[]},_n=0,Kn=0,qn=0,rr=0,Rn=0,mr=0,ar=function(xt,cn){return xt.afterLineNumber-cn.afterLineNumber},sr=function(xt,cn){if(cn.domNode===null&&xt.length>0){var Ut=xt[xt.length-1];if(Ut.afterLineNumber===cn.afterLineNumber&&Ut.domNode===null){Ut.heightInLines+=cn.heightInLines;return}}xt.push(cn)},yr=new Ft(this._modifiedForeignVZ),br=new Ft(this._originalForeignVZ),_r=1,li=1,xi=0,Mi=this._lineChanges.length;xi<=Mi;xi++){var Fr=xi<Mi?this._lineChanges[xi]:null;Fr!==null?(qn=Fr.originalStartLineNumber+(Fr.originalEndLineNumber>0?-1:0),rr=Fr.modifiedStartLineNumber+(Fr.modifiedEndLineNumber>0?-1:0),Kn=Fr.originalEndLineNumber>0?tn._getViewLineCount(this._originalEditor,Fr.originalStartLineNumber,Fr.originalEndLineNumber):0,_n=Fr.modifiedEndLineNumber>0?tn._getViewLineCount(this._modifiedEditor,Fr.modifiedStartLineNumber,Fr.modifiedEndLineNumber):0,Rn=Math.max(Fr.originalStartLineNumber,Fr.originalEndLineNumber),mr=Math.max(Fr.modifiedStartLineNumber,Fr.modifiedEndLineNumber)):(qn+=1e7+Kn,rr+=1e7+_n,Rn=qn,mr=rr);var ur=[],Ti=[];if(Kt){var Xi=void 0;Fr?Fr.originalEndLineNumber>0?Xi=Fr.originalStartLineNumber-_r:Xi=Fr.modifiedStartLineNumber-li:Xi=pn.getLineCount()-_r;for(var ca=0;ca<Xi;ca++){var Zi=_r+ca,xa=li+ca,va=kn.getModelLineViewLineCount(Zi),Ma=Pt.getModelLineViewLineCount(xa);va<Ma?ur.push({afterLineNumber:Zi,heightInLines:Ma-va,domNode:null,marginDomNode:null}):va>Ma&&Ti.push({afterLineNumber:xa,heightInLines:va-Ma,domNode:null,marginDomNode:null})}Fr&&(_r=(Fr.originalEndLineNumber>0?Fr.originalEndLineNumber:Fr.originalStartLineNumber)+1,li=(Fr.modifiedEndLineNumber>0?Fr.modifiedEndLineNumber:Fr.modifiedStartLineNumber)+1)}for(;yr.current&&yr.current.afterLineNumber<=mr;){var _a=void 0;yr.current.afterLineNumber<=rr?_a=qn-rr+yr.current.afterLineNumber:_a=Rn;var na=null;Fr&&Fr.modifiedStartLineNumber<=yr.current.afterLineNumber&&yr.current.afterLineNumber<=Fr.modifiedEndLineNumber&&(na=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),ur.push({afterLineNumber:_a,heightInLines:yr.current.height/vn,domNode:null,marginDomNode:na}),yr.advance()}for(;br.current&&br.current.afterLineNumber<=Rn;){var sa=void 0;br.current.afterLineNumber<=qn?sa=rr-qn+br.current.afterLineNumber:sa=mr,Ti.push({afterLineNumber:sa,heightInLines:br.current.height/on,domNode:null}),br.advance()}if(Fr!==null&<(Fr)){var Ai=this._produceOriginalFromDiff(Fr,Kn,_n);Ai&&ur.push(Ai)}if(Fr!==null&&Nt(Fr)){var ba=this._produceModifiedFromDiff(Fr,Kn,_n);ba&&Ti.push(ba)}var ea=0,mn=0;for(ur=ur.sort(ar),Ti=Ti.sort(ar);ea<ur.length&&mn<Ti.length;){var It=ur[ea],Ue=Ti[mn],Ze=It.afterLineNumber-qn,Pe=Ue.afterLineNumber-rr;Ze<Pe?(sr(gn.original,It),ea++):Pe<Ze?(sr(gn.modified,Ue),mn++):It.shouldNotShrink?(sr(gn.original,It),ea++):Ue.shouldNotShrink?(sr(gn.modified,Ue),mn++):It.heightInLines>=Ue.heightInLines?(It.heightInLines-=Ue.heightInLines,mn++):(Ue.heightInLines-=It.heightInLines,ea++)}for(;ea<ur.length;)sr(gn.original,ur[ea]),ea++;for(;mn<Ti.length;)sr(gn.modified,Ti[mn]),mn++}return{original:tn._ensureDomNodes(gn.original),modified:tn._ensureDomNodes(gn.modified)}}}],[{key:"_getViewLineCount",value:function(on,vn,dt){var ct=on.getModel(),Kt=on._getViewModel();if(ct&&Kt){var pn=en(ct,Kt,vn,dt);return pn.endLineNumber-pn.startLineNumber+1}return dt-vn+1}},{key:"_ensureDomNodes",value:function(on){return on.map(function(vn){return vn.domNode||(vn.domNode=zt()),vn})}}]),tn}();function bn(tn,wn,on,vn,dt){return{range:new ae.a(tn,wn,on,vn),options:dt}}var sn={charDelete:je.a.register({className:"char-delete"}),charDeleteWholeLine:je.a.register({className:"char-delete",isWholeLine:!0}),charInsert:je.a.register({className:"char-insert"}),charInsertWholeLine:je.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:je.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:je.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign "+he.d.asClassName(kt),marginClassName:"line-insert",isWholeLine:!0}),lineDelete:je.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:je.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign "+he.d.asClassName(Sn),marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:je.a.register({marginClassName:"line-delete"})},un=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(vn,dt){var ct;return Object(a.a)(this,on),ct=wn.call(this,vn),ct._disableSash=dt===!1,ct._sashRatio=null,ct._sashPosition=null,ct._startSashPosition=null,ct._sash=ct._register(new l.b(ct._dataSource.getContainerDomNode(),Object(u.a)(ct),{orientation:0})),ct._disableSash&&(ct._sash.state=0),ct._sash.onDidStart(function(){return ct._onSashDragStart()}),ct._sash.onDidChange(function(Kt){return ct._onSashDrag(Kt)}),ct._sash.onDidEnd(function(){return ct._onSashDragEnd()}),ct._sash.onDidReset(function(){return ct._onSashReset()}),ct}return Object(n.a)(on,[{key:"setEnableSplitViewResizing",value:function(dt){var ct=dt===!1;this._disableSash!==ct&&(this._disableSash=ct,this._sash.state=this._disableSash?0:3)}},{key:"layout",value:function(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this._sashRatio,ct=this._dataSource.getWidth(),Kt=ct-(this._dataSource.getOptions().renderOverviewRuler?ht.ENTIRE_DIFF_OVERVIEW_WIDTH:0),pn=Math.floor((dt||.5)*Kt),kn=Math.floor(.5*Kt);return pn=this._disableSash?kn:pn||kn,Kt>on.MINIMUM_EDITOR_WIDTH*2?(pn<on.MINIMUM_EDITOR_WIDTH&&(pn=on.MINIMUM_EDITOR_WIDTH),pn>Kt-on.MINIMUM_EDITOR_WIDTH&&(pn=Kt-on.MINIMUM_EDITOR_WIDTH)):pn=kn,this._sashPosition!==pn&&(this._sashPosition=pn,this._sash.layout()),this._sashPosition}},{key:"_onSashDragStart",value:function(){this._startSashPosition=this._sashPosition}},{key:"_onSashDrag",value:function(dt){var ct=this._dataSource.getWidth(),Kt=ct-(this._dataSource.getOptions().renderOverviewRuler?ht.ENTIRE_DIFF_OVERVIEW_WIDTH:0),pn=this.layout((this._startSashPosition+(dt.currentX-dt.startX))/Kt);this._sashRatio=pn/Kt,this._dataSource.relayoutEditors()}},{key:"_onSashDragEnd",value:function(){this._sash.layout()}},{key:"_onSashReset",value:function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}},{key:"getVerticalSashTop",value:function(dt){return 0}},{key:"getVerticalSashLeft",value:function(dt){return this._sashPosition}},{key:"getVerticalSashHeight",value:function(dt){return this._dataSource.getHeight()}},{key:"_getViewZones",value:function(dt,ct,Kt){var pn=this._dataSource.getOriginalEditor(),kn=this._dataSource.getModifiedEditor(),Pt=new Ht(dt,ct,Kt,pn,kn);return Pt.getViewZones()}},{key:"_getOriginalEditorDecorations",value:function(dt,ct,Kt){var pn=this._dataSource.getOriginalEditor(),kn=String(this._removeColor),Pt={decorations:[],overviewZones:[]},gn=pn.getModel(),_n=pn._getViewModel(),Kn=Object(i.a)(dt),qn;try{for(Kn.s();!(qn=Kn.n()).done;){var rr=qn.value;if(Nt(rr)){Pt.decorations.push({range:new ae.a(rr.originalStartLineNumber,1,rr.originalEndLineNumber,1073741824),options:Kt?sn.lineDeleteWithSign:sn.lineDelete}),(!lt(rr)||!rr.charChanges)&&Pt.decorations.push(bn(rr.originalStartLineNumber,1,rr.originalEndLineNumber,1073741824,sn.charDeleteWholeLine));var Rn=en(gn,_n,rr.originalStartLineNumber,rr.originalEndLineNumber);if(Pt.overviewZones.push(new fe.a(Rn.startLineNumber,Rn.endLineNumber,kn)),rr.charChanges){var mr=Object(i.a)(rr.charChanges),ar;try{for(mr.s();!(ar=mr.n()).done;){var sr=ar.value;if(Nt(sr))if(ct)for(var yr=sr.originalStartLineNumber;yr<=sr.originalEndLineNumber;yr++){var br=void 0,_r=void 0;yr===sr.originalStartLineNumber?br=sr.originalStartColumn:br=gn.getLineFirstNonWhitespaceColumn(yr),yr===sr.originalEndLineNumber?_r=sr.originalEndColumn:_r=gn.getLineLastNonWhitespaceColumn(yr),Pt.decorations.push(bn(yr,br,yr,_r,sn.charDelete))}else Pt.decorations.push(bn(sr.originalStartLineNumber,sr.originalStartColumn,sr.originalEndLineNumber,sr.originalEndColumn,sn.charDelete))}}catch(li){mr.e(li)}finally{mr.f()}}}}}catch(li){Kn.e(li)}finally{Kn.f()}return Pt}},{key:"_getModifiedEditorDecorations",value:function(dt,ct,Kt){var pn=this._dataSource.getModifiedEditor(),kn=String(this._insertColor),Pt={decorations:[],overviewZones:[]},gn=pn.getModel(),_n=pn._getViewModel(),Kn=Object(i.a)(dt),qn;try{for(Kn.s();!(qn=Kn.n()).done;){var rr=qn.value;if(lt(rr)){Pt.decorations.push({range:new ae.a(rr.modifiedStartLineNumber,1,rr.modifiedEndLineNumber,1073741824),options:Kt?sn.lineInsertWithSign:sn.lineInsert}),(!Nt(rr)||!rr.charChanges)&&Pt.decorations.push(bn(rr.modifiedStartLineNumber,1,rr.modifiedEndLineNumber,1073741824,sn.charInsertWholeLine));var Rn=en(gn,_n,rr.modifiedStartLineNumber,rr.modifiedEndLineNumber);if(Pt.overviewZones.push(new fe.a(Rn.startLineNumber,Rn.endLineNumber,kn)),rr.charChanges){var mr=Object(i.a)(rr.charChanges),ar;try{for(mr.s();!(ar=mr.n()).done;){var sr=ar.value;if(lt(sr))if(ct)for(var yr=sr.modifiedStartLineNumber;yr<=sr.modifiedEndLineNumber;yr++){var br=void 0,_r=void 0;yr===sr.modifiedStartLineNumber?br=sr.modifiedStartColumn:br=gn.getLineFirstNonWhitespaceColumn(yr),yr===sr.modifiedEndLineNumber?_r=sr.modifiedEndColumn:_r=gn.getLineLastNonWhitespaceColumn(yr),Pt.decorations.push(bn(yr,br,yr,_r,sn.charInsert))}else Pt.decorations.push(bn(sr.modifiedStartLineNumber,sr.modifiedStartColumn,sr.modifiedEndLineNumber,sr.modifiedEndColumn,sn.charInsert))}}catch(li){mr.e(li)}finally{mr.f()}}}}}catch(li){Kn.e(li)}finally{Kn.f()}return Pt}}]),on}(Rt);un.MINIMUM_EDITOR_WIDTH=100;var Ht=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(vn,dt,ct,Kt,pn){return Object(a.a)(this,on),wn.call(this,vn,dt,ct,Kt,pn)}return Object(n.a)(on,[{key:"_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion",value:function(){return null}},{key:"_produceOriginalFromDiff",value:function(dt,ct,Kt){return Kt>ct?{afterLineNumber:Math.max(dt.originalStartLineNumber,dt.originalEndLineNumber),heightInLines:Kt-ct,domNode:null}:null}},{key:"_produceModifiedFromDiff",value:function(dt,ct,Kt){return ct>Kt?{afterLineNumber:Math.max(dt.modifiedStartLineNumber,dt.modifiedEndLineNumber),heightInLines:ct-Kt,domNode:null}:null}}]),on}(nn),jn=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(vn,dt){var ct;return Object(a.a)(this,on),ct=wn.call(this,vn),ct._decorationsLeft=vn.getOriginalEditor().getLayoutInfo().decorationsLeft,ct._register(vn.getOriginalEditor().onDidLayoutChange(function(Kt){ct._decorationsLeft!==Kt.decorationsLeft&&(ct._decorationsLeft=Kt.decorationsLeft,vn.relayoutEditors())})),ct}return Object(n.a)(on,[{key:"setEnableSplitViewResizing",value:function(dt){}},{key:"_getViewZones",value:function(dt,ct,Kt,pn){var kn=this._dataSource.getOriginalEditor(),Pt=this._dataSource.getModifiedEditor(),gn=new Ln(dt,ct,Kt,kn,Pt,pn);return gn.getViewZones()}},{key:"_getOriginalEditorDecorations",value:function(dt,ct,Kt){var pn=String(this._removeColor),kn={decorations:[],overviewZones:[]},Pt=this._dataSource.getOriginalEditor(),gn=Pt.getModel(),_n=Pt._getViewModel(),Kn=Object(i.a)(dt),qn;try{for(Kn.s();!(qn=Kn.n()).done;){var rr=qn.value;if(Nt(rr)){kn.decorations.push({range:new ae.a(rr.originalStartLineNumber,1,rr.originalEndLineNumber,1073741824),options:sn.lineDeleteMargin});var Rn=en(gn,_n,rr.originalStartLineNumber,rr.originalEndLineNumber);kn.overviewZones.push(new fe.a(Rn.startLineNumber,Rn.endLineNumber,pn))}}}catch(mr){Kn.e(mr)}finally{Kn.f()}return kn}},{key:"_getModifiedEditorDecorations",value:function(dt,ct,Kt){var pn=this._dataSource.getModifiedEditor(),kn=String(this._insertColor),Pt={decorations:[],overviewZones:[]},gn=pn.getModel(),_n=pn._getViewModel(),Kn=Object(i.a)(dt),qn;try{for(Kn.s();!(qn=Kn.n()).done;){var rr=qn.value;if(lt(rr)){Pt.decorations.push({range:new ae.a(rr.modifiedStartLineNumber,1,rr.modifiedEndLineNumber,1073741824),options:Kt?sn.lineInsertWithSign:sn.lineInsert});var Rn=en(gn,_n,rr.modifiedStartLineNumber,rr.modifiedEndLineNumber);if(Pt.overviewZones.push(new fe.a(Rn.startLineNumber,Rn.endLineNumber,kn)),rr.charChanges){var mr=Object(i.a)(rr.charChanges),ar;try{for(mr.s();!(ar=mr.n()).done;){var sr=ar.value;if(lt(sr))if(ct)for(var yr=sr.modifiedStartLineNumber;yr<=sr.modifiedEndLineNumber;yr++){var br=void 0,_r=void 0;yr===sr.modifiedStartLineNumber?br=sr.modifiedStartColumn:br=gn.getLineFirstNonWhitespaceColumn(yr),yr===sr.modifiedEndLineNumber?_r=sr.modifiedEndColumn:_r=gn.getLineLastNonWhitespaceColumn(yr),Pt.decorations.push(bn(yr,br,yr,_r,sn.charInsert))}else Pt.decorations.push(bn(sr.modifiedStartLineNumber,sr.modifiedStartColumn,sr.modifiedEndLineNumber,sr.modifiedEndColumn,sn.charInsert))}}catch(li){mr.e(li)}finally{mr.f()}}else Pt.decorations.push(bn(rr.modifiedStartLineNumber,1,rr.modifiedEndLineNumber,1073741824,sn.charInsertWholeLine))}}}catch(li){Kn.e(li)}finally{Kn.f()}return Pt}},{key:"layout",value:function(){return Math.max(5,this._decorationsLeft)}}]),on}(Rt),Ln=function(tn){Object(f.a)(on,tn);var wn=Object(o.a)(on);function on(vn,dt,ct,Kt,pn,kn){var Pt;return Object(a.a)(this,on),Pt=wn.call(this,vn,dt,ct,Kt,pn),Pt._originalModel=Kt.getModel(),Pt._renderIndicators=kn,Pt._pendingLineChange=[],Pt._pendingViewZones=[],Pt._lineBreaksComputer=Pt._modifiedEditor._getViewModel().createLineBreaksComputer(),Pt}return Object(n.a)(on,[{key:"getViewZones",value:function(){var dt=Object(c.a)(Object(r.a)(on.prototype),"getViewZones",this).call(this);return this._finalize(dt),dt}},{key:"_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion",value:function(){var dt=document.createElement("div");return dt.className="inline-added-margin-view-zone",dt}},{key:"_produceOriginalFromDiff",value:function(dt,ct,Kt){var pn=document.createElement("div");return pn.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(dt.originalStartLineNumber,dt.originalEndLineNumber),heightInLines:Kt,domNode:document.createElement("div"),marginDomNode:pn}}},{key:"_produceModifiedFromDiff",value:function(dt,ct,Kt){var pn=document.createElement("div");pn.className="view-lines line-delete ".concat(Ct.a);var kn=document.createElement("div");kn.className="inline-deleted-margin-view-zone";for(var Pt={shouldNotShrink:!0,afterLineNumber:dt.modifiedEndLineNumber===0?dt.modifiedStartLineNumber:dt.modifiedStartLineNumber-1,heightInLines:ct,minWidthInPx:0,domNode:pn,marginDomNode:kn,diff:{originalStartLineNumber:dt.originalStartLineNumber,originalEndLineNumber:dt.originalEndLineNumber,modifiedStartLineNumber:dt.modifiedStartLineNumber,modifiedEndLineNumber:dt.modifiedEndLineNumber,originalModel:this._originalModel,viewLineCounts:null}},gn=dt.originalStartLineNumber;gn<=dt.originalEndLineNumber;gn++)this._lineBreaksComputer.addRequest(this._originalModel.getLineContent(gn),null);return this._pendingLineChange.push(dt),this._pendingViewZones.push(Pt),Pt}},{key:"_finalize",value:function(dt){for(var ct=this._modifiedEditor.getOptions(),Kt=this._modifiedEditor.getModel().getOptions().tabSize,pn=ct.get(40),kn=ct.get(27),Pt=pn.typicalHalfwidthCharacterWidth,gn=ct.get(90),_n=this._originalModel.mightContainNonBasicASCII(),Kn=this._originalModel.mightContainRTL(),qn=ct.get(55),rr=ct.get(127),Rn=rr.decorationsWidth,mr=ct.get(102),ar=ct.get(85),sr=ct.get(79),yr=ct.get(41),br=this._lineBreaksComputer.finalize(),_r=0,li=0;li<this._pendingLineChange.length;li++){var xi=this._pendingLineChange[li],Mi=this._pendingViewZones[li],Fr=Mi.domNode;k.a.applyFontInfoSlow(Fr,pn);var ur=Mi.marginDomNode;k.a.applyFontInfoSlow(ur,pn);var Ti=[];if(xi.charChanges){var Xi=Object(i.a)(xi.charChanges),ca;try{for(Xi.s();!(ca=Xi.n()).done;){var Zi=ca.value;Nt(Zi)&&Ti.push(new ye.a(new ae.a(Zi.originalStartLineNumber,Zi.originalStartColumn,Zi.originalEndLineNumber,Zi.originalEndColumn),"char-delete",0))}}catch(Dn){Xi.e(Dn)}finally{Xi.f()}}for(var xa=Ti.length>0,va=Object(Se.a)(1e4),Ma=0,_a=0,na=null,sa=xi.originalStartLineNumber;sa<=xi.originalEndLineNumber;sa++){var Ai=sa-xi.originalStartLineNumber,ba=this._originalModel.getLineTokens(sa),ea=ba.getLineContent(),mn=br[_r++],It=ie.a.filter(Ti,sa,1,ea.length+1);if(mn){var Ue=0,Ze=Object(i.a)(mn.breakOffsets),Pe;try{for(Ze.s();!(Pe=Ze.n()).done;){var mt=Pe.value,xt=ba.sliceAndInflate(Ue,mt,0),cn=ea.substring(Ue,mt);Ma=Math.max(Ma,this._renderOriginalLine(_a++,cn,xt,ie.a.extractWrapped(It,Ue,mt),xa,_n,Kn,pn,kn,qn,Rn,mr,ar,sr,yr,Kt,va,ur)),Ue=mt}}catch(Dn){Ze.e(Dn)}finally{Ze.f()}for(na||(na=[]);na.length<Ai;)na[na.length]=1;na[Ai]=mn.breakOffsets.length,Mi.heightInLines+=mn.breakOffsets.length-1;var Ut=document.createElement("div");Ut.className="line-delete",dt.original.push({afterLineNumber:sa,afterColumn:0,heightInLines:mn.breakOffsets.length-1,domNode:zt(),marginDomNode:Ut})}else Ma=Math.max(Ma,this._renderOriginalLine(_a++,ea,ba,It,xa,_n,Kn,pn,kn,qn,Rn,mr,ar,sr,yr,Kt,va,ur))}Ma+=gn;var wt=va.build(),Pn=Tt?Tt.createHTML(wt):wt;if(Fr.innerHTML=Pn,Mi.minWidthInPx=Ma*Pt,na)for(var an=xi.originalEndLineNumber-xi.originalStartLineNumber;na.length<=an;)na[na.length]=1;Mi.diff.viewLineCounts=na}dt.original.sort(function(Dn,Tn){return Dn.afterLineNumber-Tn.afterLineNumber})}},{key:"_renderOriginalLine",value:function(dt,ct,Kt,pn,kn,Pt,gn,_n,Kn,qn,rr,Rn,mr,ar,sr,yr,br,_r){br.appendASCIIString('<div class="view-line'),kn||br.appendASCIIString(" char-delete"),br.appendASCIIString('" style="top:'),br.appendASCIIString(String(dt*qn)),br.appendASCIIString('px;width:1000000px;">');var li=ye.e.isBasicASCII(ct,Pt),xi=ye.e.containsRTL(ct,li,gn),Mi=Object(re.d)(new re.c(_n.isMonospace&&!Kn,_n.canUseHalfwidthRightwardsArrow,ct,!1,li,xi,0,Kt,pn,yr,0,_n.spaceWidth,_n.middotWidth,_n.wsmiddotWidth,Rn,mr,ar,sr!==E.e.OFF,null),br);if(br.appendASCIIString("</div>"),this._renderIndicators){var Fr=document.createElement("div");Fr.className="delete-sign ".concat(he.d.asClassName(Sn)),Fr.setAttribute("style","position:absolute;top:".concat(dt*qn,"px;width:").concat(rr,"px;height:").concat(qn,"px;right:0;")),_r.appendChild(Fr)}var ur=Mi.characterMapping.getAbsoluteOffsets();return ur.length>0?ur[ur.length-1]:0}}]),on}(nn);function Un(tn,wn){return Object(E.n)(tn,wn,["off","on","inherit"])}function lt(tn){return tn.modifiedEndLineNumber>0}function Nt(tn){return tn.originalEndLineNumber>0}function zt(){var tn=document.createElement("div");return tn.className="diagonal-fill",tn}function en(tn,wn,on,vn){var dt=tn.getLineCount();return on=Math.min(dt,Math.max(1,on)),vn=Math.min(dt,Math.max(1,vn)),wn.coordinatesConverter.convertModelRangeToViewRange(new ae.a(on,tn.getLineMinColumn(on),vn,tn.getLineMaxColumn(vn)))}Object(he.f)(function(tn,wn){var on=tn.getColor(oe.m);on&&(wn.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: ".concat(on,"; }")),wn.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: ".concat(on,"; }")),wn.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: ".concat(on,"; }")));var vn=tn.getColor(oe.o);vn&&(wn.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ".concat(vn,"; }")),wn.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ".concat(vn,"; }")),wn.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: ".concat(vn,"; }")));var dt=tn.getColor(oe.n);dt&&wn.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ".concat(tn.type==="hc"?"dashed":"solid"," ").concat(dt,"; }"));var ct=tn.getColor(oe.p);ct&&wn.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ".concat(tn.type==="hc"?"dashed":"solid"," ").concat(ct,"; }"));var Kt=tn.getColor(oe.tc);Kt&&wn.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ".concat(Kt,"; }"));var pn=tn.getColor(oe.k);pn&&wn.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ".concat(pn,"; }"));var kn=tn.getColor(oe.vc);kn&&wn.addRule(`
- .monaco-diff-editor .diffViewport {
- background: `.concat(kn,`;
- }
- `));var Pt=tn.getColor(oe.wc);Pt&&wn.addRule(`
- .monaco-diff-editor .diffViewport:hover {
- background: `.concat(Pt,`;
- }
- `));var gn=tn.getColor(oe.uc);gn&&wn.addRule(`
- .monaco-diff-editor .diffViewport:active {
- background: `.concat(gn,`;
- }
- `));var _n=tn.getColor(oe.l);wn.addRule(`
- .monaco-editor .diagonal-fill {
- background-image: linear-gradient(
- -45deg,
- `.concat(_n,` 12.5%,
- #0000 12.5%, #0000 50%,
- `).concat(_n," 50%, ").concat(_n,` 62.5%,
- #0000 62.5%, #0000 100%
- );
- background-size: 8px 8px;
- }
- `))})},"SmY/":function(Ie,M,e){},Sxd8:function(Ie,M,e){var u=e("ZCgT");function c(r){var f=u(r),o=f%1;return f===f?o?f-o:f:0}Ie.exports=c},T1AV:function(Ie,M,e){var u=e("t2Dn"),c=e("5Tg0"),r=e("yP5f"),f=e("Q1l4"),o=e("+iFO"),i=e("03A+"),a=e("Z0cm"),n=e("3L66"),v=e("DSRE"),m=e("lSCD"),h=e("GoyQ"),t=e("YO3V"),l=e("c6wG"),p=e("itsj"),w=e("jeLo");function S(k,T,I,Y,$,A,g){var b=p(k,I),d=p(T,I),O=g.get(d);if(O){u(k,I,O);return}var E=A?A(b,d,I+"",k,T,g):void 0,D=E===void 0;if(D){var W=a(d),te=!W&&v(d),re=!W&&!te&&l(d);E=d,W||te||re?a(b)?E=b:n(b)?E=f(b):te?(D=!1,E=c(d,!0)):re?(D=!1,E=r(d,!0)):E=[]:t(d)||i(d)?(E=b,i(b)?E=w(b):(!h(b)||m(b))&&(E=o(d))):D=!1}D&&(g.set(d,E),$(E,d,Y,A,g),g.delete(d)),u(k,I,E)}Ie.exports=S},T1Ok:function(Ie,M,e){"use strict";e.d(M,"a",function(){return Me});var u=e("T2oS"),c=e("W9HT"),r=e("ODXe"),f=e("rePB"),o=e("VTBJ"),i=e("x+uP"),a=e("HaE+"),n=e("GNNt"),v=e("wEI+"),m=e("y8nQ"),h=e("Vl3Y"),t=e("Ff2n"),l=e("nKUr"),p=e("LQCs"),w=e("uX+g"),S=e("+i8S"),k=e("ft2k"),T=e("ipCM"),I=e("wUu8"),Y=e("9mHw"),$=e("tW0b"),A=e("q1tI"),g=e.n(A),b=e("Lpa7"),d=0;function O(_e){var Re=Object(A.useState)(function(){return _e.proFieldKey?_e.proFieldKey.toString():(d+=1,d.toString())}),et=Object(r.a)(Re,1),Xe=et[0],it=Object(A.useRef)(Xe),bt=function(){var st=Object(a.a)(Object(i.a)().mark(function ut(){var nt,kt;return Object(i.a)().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:return Tt.next=2,(nt=_e.request)===null||nt===void 0?void 0:nt.call(_e,_e.params,_e);case 2:return kt=Tt.sent,Tt.abrupt("return",kt);case 4:case"end":return Tt.stop()}},ut)}));return function(){return st.apply(this,arguments)}}();Object(A.useEffect)(function(){return function(){d+=1}},[]);var Ct=Object(b.b)([it.current,_e.params],bt,{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Bt=Ct.data,qe=Ct.error;return[Bt||qe]}var E=O,D=e("KQm4"),W=e("U8pU"),te=e("ub+h"),re=e("bG1m"),ye=e("POPG"),q=e("/PRe");function oe(_e){return Object(W.a)(_e)!=="object"?!1:_e===null?!0:!(g.a.isValidElement(_e)||_e.constructor===RegExp||_e instanceof Map||_e instanceof Set||_e instanceof HTMLElement||_e instanceof Blob||_e instanceof File||Array.isArray(_e))}var he=function(Re,et){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,it=Object.keys(et).reduce(function(Bt,qe){var st=et[qe];return Object(ye.a)(st)||(Bt[qe]=st),Bt},{});if(Object.keys(it).length<1||typeof window=="undefined"||Object(W.a)(Re)!=="object"||Object(ye.a)(Re)||Re instanceof Blob)return Re;var bt=Array.isArray(Re)?[]:{},Ct=function Bt(qe,st){var ut=Array.isArray(qe),nt=ut?[]:{};return qe==null||qe===void 0?nt:(Object.keys(qe).forEach(function(kt){var Sn=st?[st,kt].flat(1):[kt].flat(1),Tt=qe[kt],ht=Object(te.a)(it,Sn),Rt=function bn(sn){return Array.isArray(sn)&&sn.forEach(function(un,Ht){!un||(typeof un=="function"&&(Tt[Ht]=un(Tt,kt,qe)),Object(W.a)(un)==="object"&&!Array.isArray(un)&&Object.keys(un).forEach(function(jn){if(typeof un[jn]=="function"){var Ln=un[jn](qe[kt][Ht][jn],kt,qe);Tt[Ht][jn]=Object(W.a)(Ln)==="object"?Ln[jn]:Ln}}),Object(W.a)(un)==="object"&&Array.isArray(un)&&bn(un))}),kt},Ft=function(){var sn=typeof ht=="function"?ht==null?void 0:ht(Tt,kt,qe):Rt(ht);if(Array.isArray(sn)){nt=Object(re.a)(nt,sn,Tt);return}Object(W.a)(sn)==="object"&&!Array.isArray(bt)?bt=Object(o.a)(Object(o.a)({},bt),sn):Object(W.a)(sn)==="object"&&Array.isArray(bt)?nt=Object(o.a)(Object(o.a)({},nt),sn):sn&&(nt=Object(re.a)(nt,[sn],Tt))};if(ht&&typeof ht=="function"&&Ft(),typeof window!="undefined"){if(oe(Tt)){var nn=Bt(Tt,Sn);if(Object.keys(nn).length<1)return;nt=Object(re.a)(nt,[kt],nn);return}Ft()}}),Xe?nt:qe)};return bt=Array.isArray(Re)&&Array.isArray(bt)?Object(D.a)(Ct(Re)):Object(q.a)({},Ct(Re),bt),bt},ue=he,ne=e("1O3P"),se=function(){return se=Object.assign||function(_e){for(var Re,et=1,Xe=arguments.length;et<Xe;et++){Re=arguments[et];for(var it in Re)Object.prototype.hasOwnProperty.call(Re,it)&&(_e[it]=Re[it])}return _e},se.apply(this,arguments)};function be(_e){var Re,et=(typeof window!="undefined"?window:{}).URL,Xe=new et((Re=window==null?void 0:window.location)===null||Re===void 0?void 0:Re.href);return Object.keys(_e).forEach(function(it){var bt=_e[it];bt!=null?Array.isArray(bt)?(Xe.searchParams.delete(it),bt.forEach(function(Ct){Xe.searchParams.append(it,Ct)})):bt instanceof Date?Number.isNaN(bt.getTime())||Xe.searchParams.set(it,bt.toISOString()):typeof bt=="object"?Xe.searchParams.set(it,JSON.stringify(bt)):Xe.searchParams.set(it,bt):Xe.searchParams.delete(it)}),Xe}function Z(_e,Re){var et;_e===void 0&&(_e={}),Re===void 0&&(Re={disabled:!1});var Xe=Object(A.useState)(),it=Xe[1],bt=typeof window!="undefined"&&((et=window==null?void 0:window.location)===null||et===void 0?void 0:et.search),Ct=Object(A.useMemo)(function(){return Re.disabled?{}:new URLSearchParams(bt||{})},[Re.disabled,bt]),Bt=Object(A.useMemo)(function(){if(Re.disabled)return{};if(typeof window=="undefined"||!window.URL)return{};var ut=[];Ct.forEach(function(kt,Sn){ut.push({key:Sn,value:kt})}),ut=ut.reduce(function(kt,Sn){return(kt[Sn.key]=kt[Sn.key]||[]).push(Sn),kt},{}),ut=Object.keys(ut).map(function(kt){var Sn=ut[kt];return Sn.length===1?[kt,Sn[0].value]:[kt,Sn.map(function(Tt){var ht=Tt.value;return ht})]});var nt=se({},_e);return ut.forEach(function(kt){var Sn=kt[0],Tt=kt[1];nt[Sn]=ce(Sn,Tt,{},_e)}),nt},[Re.disabled,_e,Ct]);function qe(ut){if(!(typeof window=="undefined"||!window.URL)){var nt=be(ut);window.location.search!==nt.search&&window.history.replaceState({},"",nt.toString()),Ct.toString()!==nt.searchParams.toString()&&it({})}}Object(A.useEffect)(function(){Re.disabled||typeof window=="undefined"||!window.URL||qe(se(se({},_e),Bt))},[Re.disabled,Bt]);var st=function(nt){qe(nt)};return Object(A.useEffect)(function(){if(Re.disabled)return function(){};if(typeof window=="undefined"||!window.URL)return function(){};var ut=function(){it({})};return window.addEventListener("popstate",ut),function(){window.removeEventListener("popstate",ut)}},[Re.disabled]),[Bt,st]}var ee={true:!0,false:!1};function ce(_e,Re,et,Xe){if(!et)return Re;var it=et[_e],bt=Re===void 0?Xe[_e]:Re;return it===Number?Number(bt):it===Boolean||Re==="true"||Re==="false"?ee[bt]:Array.isArray(it)?it.find(function(Ct){return Ct==bt})||Xe[_e]:bt}var R=e("BGR+"),y=e("Kwbf"),C=e("DYRE"),z=e("zeV3"),G=e("+L6B"),X=e("2/Rp"),pe=function(Re){var et=Object(p.d)(),Xe=h.a.useFormInstance();if(Re.render===!1)return null;var it=Re.onSubmit,bt=Re.render,Ct=Re.onReset,Bt=Re.searchConfig,qe=Bt===void 0?{}:Bt,st=Re.submitButtonProps,ut=Re.resetButtonProps,nt=ut===void 0?{}:ut,kt=function(){Xe.submit(),it==null||it()},Sn=function(){Xe.resetFields(),Ct==null||Ct()},Tt=qe.submitText,ht=Tt===void 0?et.getMessage("tableForm.submit","\u63D0\u4EA4"):Tt,Rt=qe.resetText,Ft=Rt===void 0?et.getMessage("tableForm.reset","\u91CD\u7F6E"):Rt,nn=[];nt!==!1&&nn.push(Object(A.createElement)(X.a,Object(o.a)(Object(o.a)({},Object(R.a)(nt,["preventDefault"])),{},{key:"rest",onClick:function(un){var Ht;(nt==null?void 0:nt.preventDefault)||Sn(),nt==null||(Ht=nt.onClick)===null||Ht===void 0||Ht.call(nt,un)}}),Ft)),st!==!1&&nn.push(Object(A.createElement)(X.a,Object(o.a)(Object(o.a)({type:"primary"},Object(R.a)(st||{},["preventDefault"])),{},{key:"submit",onClick:function(un){var Ht;(st==null?void 0:st.preventDefault)||kt(),st==null||(Ht=st.onClick)===null||Ht===void 0||Ht.call(st,un)}}),ht));var bn=bt?bt(Object(o.a)(Object(o.a)({},Re),{},{form:Xe,submit:kt,reset:Sn}),nn):nn;return bn?Array.isArray(bn)?(bn==null?void 0:bn.length)<1?null:(bn==null?void 0:bn.length)===1?bn[0]:Object(l.jsx)(z.b,{wrap:!0,children:bn}):bn:null},ae=pe,Se=e("lS/g"),Te=e("a7SZ"),je=e("08ff"),ft=["children","contentRender","submitter","fieldProps","formItemProps","groupProps","transformKey","formRef","onInit","form","loading","formComponentType","extraUrlParams","syncToUrl","onUrlSearchChange","onReset","omitNil","isKeyPressSubmit","autoFocusFirstInput","grid","rowProps","colProps"],fe=["extraUrlParams","syncToUrl","isKeyPressSubmit","syncToUrlAsImportant","syncToInitialValues","children","contentRender","submitter","fieldProps","formItemProps","groupProps","dateFormatter","formRef","onInit","form","formComponentType","onReset","grid","rowProps","colProps","omitNil","request","params","initialValues","formKey","readonly"],ie=function(Re,et,Xe){return Re===!0?et:Object(w.a)(Re,et,Xe)},ge=function(Re){return!Re||Array.isArray(Re)?Re:[Re]};function Ve(_e){var Re=_e.children,et=_e.contentRender,Xe=_e.submitter,it=_e.fieldProps,bt=_e.formItemProps,Ct=_e.groupProps,Bt=_e.transformKey,qe=_e.formRef,st=_e.onInit,ut=_e.form,nt=_e.loading,kt=_e.formComponentType,Sn=_e.extraUrlParams,Tt=Sn===void 0?{}:Sn,ht=_e.syncToUrl,Rt=_e.onUrlSearchChange,Ft=_e.onReset,nn=_e.omitNil,bn=nn===void 0?!0:nn,sn=_e.isKeyPressSubmit,un=_e.autoFocusFirstInput,Ht=un===void 0?!0:un,jn=_e.grid,Ln=_e.rowProps,Un=_e.colProps,lt=Object(t.a)(_e,ft),Nt=h.a.useFormInstance(),zt=Object(A.useContext)(v.a.SizeContext),en=Object(A.useRef)(ut||Nt),tn=Object(Te.b)({grid:jn,rowProps:Ln}),wn=tn.RowWrapper,on=Object(S.a)(function(){return Nt}),vn=Object(A.useMemo)(function(){return{getFieldsFormatValue:function(gn){var _n;return Bt((_n=on())===null||_n===void 0?void 0:_n.getFieldsValue(gn),bn)},getFieldFormatValue:function(){var gn,_n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Kn=ge(_n);if(!Kn)throw new Error("nameList is require");var qn=(gn=on())===null||gn===void 0?void 0:gn.getFieldValue(Kn),rr=Kn?Object(re.a)({},Kn,qn):qn;return Object(te.a)(Bt(rr,bn,Kn),Kn)},getFieldFormatValueObject:function(gn){var _n,Kn=ge(gn),qn=(_n=on())===null||_n===void 0?void 0:_n.getFieldValue(Kn),rr=Kn?Object(re.a)({},Kn,qn):qn;return Bt(rr,bn,Kn)},validateFieldsReturnFormatValue:function(){var Pt=Object(a.a)(Object(i.a)().mark(function _n(Kn){var qn,rr,Rn;return Object(i.a)().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(!(!Array.isArray(Kn)&&Kn)){ar.next=2;break}throw new Error("nameList must be array");case 2:return ar.next=4,(qn=on())===null||qn===void 0?void 0:qn.validateFields(Kn);case 4:return rr=ar.sent,Rn=Bt(rr,bn),ar.abrupt("return",Rn||{});case 7:case"end":return ar.stop()}},_n)}));function gn(_n){return Pt.apply(this,arguments)}return gn}(),formRef:en}},[bn,Bt]),dt=Object(A.useMemo)(function(){return g.a.Children.toArray(Re).map(function(Pt,gn){return gn===0&&g.a.isValidElement(Pt)&&Ht?g.a.cloneElement(Pt,Object(o.a)(Object(o.a)({},Pt.props),{},{autoFocus:Ht})):Pt})},[Ht,Re]),ct=Object(A.useMemo)(function(){return typeof Xe=="boolean"||!Xe?{}:Xe},[Xe]);Object(A.useImperativeHandle)(qe,function(){return Object(o.a)(Object(o.a)({},Nt),vn)},[vn,Nt]);var Kt=Object(A.useMemo)(function(){if(Xe!==!1)return Object(l.jsx)(ae,Object(o.a)(Object(o.a)({},ct),{},{onReset:function(){var gn,_n,Kn=Bt((gn=en.current)===null||gn===void 0?void 0:gn.getFieldsValue(),bn);if(ct==null||(_n=ct.onReset)===null||_n===void 0||_n.call(ct,Kn),Ft==null||Ft(Kn),ht){var qn,rr=Object.keys(Bt((qn=en.current)===null||qn===void 0?void 0:qn.getFieldsValue(),!1)).reduce(function(Rn,mr){return Object(o.a)(Object(o.a)({},Rn),{},Object(f.a)({},mr,Kn[mr]||void 0))},Tt);Rt(ie(ht,rr,"set"))}},submitButtonProps:Object(o.a)({loading:nt},ct.submitButtonProps)}),"submitter")},[Xe,ct,nt,Bt,bn,Ft,ht,Tt,Rt]),pn=Object(A.useMemo)(function(){var Pt=jn?Object(l.jsx)(wn,{children:dt}):dt;return et?et(Pt,Kt,en.current):Pt},[jn,wn,dt,et,Kt]),kn=Object(k.a)(_e.initialValues);return Object(A.useEffect)(function(){if(!(ht||!_e.initialValues||!kn||lt.request)){var Pt=Object(T.a)(_e.initialValues,kn);Object(y.b)(Pt,"initialValues \u53EA\u5728 form \u521D\u59CB\u5316\u65F6\u751F\u6548\uFF0C\u5982\u679C\u4F60\u9700\u8981\u5F02\u6B65\u52A0\u8F7D\u63A8\u8350\u4F7F\u7528 request\uFF0C\u6216\u8005 initialValues ? <Form/> : null "),Object(y.b)(Pt,"The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? <Form/> : null ")}},[_e.initialValues]),Object(A.useEffect)(function(){var Pt,gn,_n=Bt((Pt=en.current)===null||Pt===void 0||(gn=Pt.getFieldsValue)===null||gn===void 0?void 0:gn.call(Pt,!0),bn);st==null||st(_n,en.current)},[]),Object(l.jsx)(I.a.Provider,{value:vn,children:Object(l.jsx)(v.a.SizeContext.Provider,{value:lt.size||zt,children:Object(l.jsxs)(Te.a.Provider,{value:{grid:jn,colProps:Un},children:[lt.component!==!1&&Object(l.jsx)("input",{type:"text",style:{display:"none"}}),pn]})})})}var Ee=0;function Me(_e){var Re=_e.extraUrlParams,et=Re===void 0?{}:Re,Xe=_e.syncToUrl,it=_e.isKeyPressSubmit,bt=_e.syncToUrlAsImportant,Ct=bt===void 0?!1:bt,Bt=_e.syncToInitialValues,qe=Bt===void 0?!0:Bt,st=_e.children,ut=_e.contentRender,nt=_e.submitter,kt=_e.fieldProps,Sn=_e.formItemProps,Tt=_e.groupProps,ht=_e.dateFormatter,Rt=ht===void 0?"string":ht,Ft=_e.formRef,nn=_e.onInit,bn=_e.form,sn=_e.formComponentType,un=_e.onReset,Ht=_e.grid,jn=_e.rowProps,Ln=_e.colProps,Un=_e.omitNil,lt=Un===void 0?!0:Un,Nt=_e.request,zt=_e.params,en=_e.initialValues,tn=_e.formKey,wn=tn===void 0?Ee:tn,on=_e.readonly,vn=Object(t.a)(_e,fe),dt=Object(A.useRef)({}),ct=Object(Y.a)(!1),Kt=Object(r.a)(ct,2),pn=Kt[0],kn=Kt[1],Pt=Z({},{disabled:!Xe}),gn=Object(r.a)(Pt,2),_n=gn[0],Kn=gn[1],qn=Object(A.useRef)(Object($.a)());Object(A.useEffect)(function(){Ee+=0},[]);var rr=E({request:Nt,params:zt,proFieldKey:wn}),Rn=Object(r.a)(rr,1),mr=Rn[0],ar=Object(A.useState)(function(){return Xe?ie(Xe,_n,"get"):{}}),sr=Object(r.a)(ar,2),yr=sr[0],br=sr[1],_r=Object(A.useRef)({}),li=Object(A.useRef)({}),xi=Object(A.useCallback)(function(ur,Ti,Xi){return ue(Object(ne.b)(ur,Rt,li.current,Ti,Xi),_r.current,Ti)},[Rt]);Object(A.useEffect)(function(){qe||br({})},[qe]),Object(A.useEffect)(function(){!Xe||Kn(Object(o.a)(Object(o.a)({},_n),et))},[et,Xe]);var Mi=Object(A.useMemo)(function(){if(typeof window!="undefined"&&sn&&["DrawerForm"].includes(sn))return function(ur){return ur.parentNode||document.body}},[sn]),Fr=Object(S.a)(Object(a.a)(Object(i.a)().mark(function ur(){var Ti,Xi,ca,Zi,xa,va;return Object(i.a)().wrap(function(_a){for(;;)switch(_a.prev=_a.next){case 0:if(vn.onFinish){_a.next=2;break}return _a.abrupt("return");case 2:if(!pn){_a.next=4;break}return _a.abrupt("return");case 4:return kn(!0),_a.prev=5,ca=dt==null||(Ti=dt.current)===null||Ti===void 0||(Xi=Ti.getFieldsFormatValue)===null||Xi===void 0?void 0:Xi.call(Ti),_a.next=9,vn.onFinish(ca);case 9:Xe&&(va=Object.keys(dt==null||(Zi=dt.current)===null||Zi===void 0||(xa=Zi.getFieldsFormatValue)===null||xa===void 0?void 0:xa.call(Zi,void 0,!1)).reduce(function(na,sa){var Ai;return Object(o.a)(Object(o.a)({},na),{},Object(f.a)({},sa,(Ai=ca[sa])!==null&&Ai!==void 0?Ai:void 0))},et),Object.keys(_n).forEach(function(na){va[na]!==!1&&va[na]!==0&&!va[na]&&(va[na]=void 0)}),Kn(ie(Xe,va,"set"))),kn(!1),_a.next=16;break;case 13:_a.prev=13,_a.t0=_a.catch(5),kn(!1);case 16:case"end":return _a.stop()}},ur,null,[[5,13]])})));return Object(A.useImperativeHandle)(Ft,function(){return dt.current},[!mr]),!mr&&_e.request?Object(l.jsx)("div",{style:{paddingTop:50,paddingBottom:50,textAlign:"center"},children:Object(l.jsx)(c.a,{})}):Object(l.jsx)(je.a.Provider,{value:{mode:_e.readonly?"read":"edit"},children:Object(l.jsx)(p.a,{children:Object(l.jsx)(Se.b.Provider,{value:{formRef:dt,fieldProps:kt,formItemProps:Sn,groupProps:Tt,formComponentType:sn,getPopupContainer:Mi,formKey:qn.current,setFieldValueType:function(Ti,Xi){var ca=Xi.valueType,Zi=ca===void 0?"text":ca,xa=Xi.dateFormat,va=Xi.transform;!Array.isArray(Ti)||(_r.current=Object(re.a)(_r.current,Ti,va),li.current=Object(re.a)(li.current,Ti,{valueType:Zi,dateFormat:xa}))}},children:Object(l.jsx)(h.a,Object(o.a)(Object(o.a)({onKeyPress:function(Ti){if(!!it&&Ti.key==="Enter"){var Xi;(Xi=dt.current)===null||Xi===void 0||Xi.submit()}},autoComplete:"off",form:bn},Object(R.a)(vn,["autoFocusFirstInput"])),{},{initialValues:Ct?Object(o.a)(Object(o.a)(Object(o.a)({},mr),en),yr):Object(o.a)(Object(o.a)(Object(o.a)({},yr),mr),en),onValuesChange:function(Ti,Xi){var ca;vn==null||(ca=vn.onValuesChange)===null||ca===void 0||ca.call(vn,xi(Ti,!!lt),xi(Xi,!!lt))},onFinish:Fr,children:Object(l.jsx)(Ve,Object(o.a)(Object(o.a)({transformKey:xi,autoComplete:"off",loading:pn,onUrlSearchChange:Kn},_e),{},{formRef:dt,initialValues:Object(o.a)(Object(o.a)({},en),mr)}))}))})})})}},T8No:function(Ie,M,e){"use strict";e.d(M,"a",function(){return l}),e.d(M,"c",function(){return re}),e.d(M,"b",function(){return ye}),e.d(M,"d",function(){return q});var u=e("yKVA"),c=e("879j"),r=e("oBTY"),f=e("rAM+"),o=e("fWQN"),i=e("mtLc"),a=e("N0LK"),n=e("Cg/j"),v=e("MNsG"),m=v.l||"",h=new Map;h.set("false",!1),h.set("true",!0),h.set("isMac",v.f),h.set("isLinux",v.d),h.set("isWindows",v.j),h.set("isWeb",v.i),h.set("isMacNative",v.f&&!v.i),h.set("isEdge",m.indexOf("Edg/")>=0),h.set("isFirefox",m.indexOf("Firefox")>=0),h.set("isChrome",m.indexOf("Chrome")>=0),h.set("isSafari",m.indexOf("Safari")>=0),h.set("isIPad",m.indexOf("iPad")>=0);var t=Object.prototype.hasOwnProperty,l=function(){function ue(){Object(o.a)(this,ue)}return Object(i.a)(ue,null,[{key:"has",value:function(se){return k.create(se)}},{key:"equals",value:function(se,be){return T.create(se,be)}},{key:"regex",value:function(se,be){return E.create(se,be)}},{key:"not",value:function(se){return A.create(se)}},{key:"and",value:function(){for(var se=arguments.length,be=new Array(se),Z=0;Z<se;Z++)be[Z]=arguments[Z];return W.create(be)}},{key:"or",value:function(){for(var se=arguments.length,be=new Array(se),Z=0;Z<se;Z++)be[Z]=arguments[Z];return te.create(be)}},{key:"deserialize",value:function(se){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!!se)return this._deserializeOrExpression(se,be)}},{key:"_deserializeOrExpression",value:function(se,be){var Z=this,ee=se.split("||");return te.create(ee.map(function(ce){return Z._deserializeAndExpression(ce,be)}))}},{key:"_deserializeAndExpression",value:function(se,be){var Z=this,ee=se.split("&&");return W.create(ee.map(function(ce){return Z._deserializeOne(ce,be)}))}},{key:"_deserializeOne",value:function(se,be){if(se=se.trim(),se.indexOf("!=")>=0){var Z=se.split("!=");return $.create(Z[0].trim(),this._deserializeValue(Z[1],be))}if(se.indexOf("==")>=0){var ee=se.split("==");return T.create(ee[0].trim(),this._deserializeValue(ee[1],be))}if(se.indexOf("=~")>=0){var ce=se.split("=~");return E.create(ce[0].trim(),this._deserializeRegexValue(ce[1],be))}if(se.indexOf(" in ")>=0){var R=se.split(" in ");return I.create(R[0].trim(),R[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(se)){var y=se.split(">=");return b.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(se)){var C=se.split(">");return g.create(C[0].trim(),C[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(se)){var z=se.split("<=");return O.create(z[0].trim(),z[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(se)){var G=se.split("<");return d.create(G[0].trim(),G[1].trim())}return/^\!\s*/.test(se)?A.create(se.substr(1).trim()):k.create(se)}},{key:"_deserializeValue",value:function(se,be){if(se=se.trim(),se==="true")return!0;if(se==="false")return!1;var Z=/^'([^']*)'$/.exec(se);return Z?Z[1].trim():se}},{key:"_deserializeRegexValue",value:function(se,be){if(Object(a.C)(se)){if(be)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}var Z=se.indexOf("/"),ee=se.lastIndexOf("/");if(Z===ee||Z<0){if(be)throw new Error("bad regexp-value '".concat(se,"', missing /-enclosure"));return console.warn("bad regexp-value '".concat(se,"', missing /-enclosure")),null}var ce=se.slice(Z+1,ee),R=se[ee+1]==="i"?"i":"";try{return new RegExp(ce,R)}catch(y){if(be)throw new Error("bad regexp-value '".concat(se,"', parse error: ").concat(y));return console.warn("bad regexp-value '".concat(se,"', parse error: ").concat(y)),null}}}]),ue}();function p(ue,ne){return ue.cmp(ne)}var w=function(){function ue(){Object(o.a)(this,ue),this.type=0}return Object(i.a)(ue,[{key:"cmp",value:function(se){return this.type-se.type}},{key:"equals",value:function(se){return se.type===this.type}},{key:"evaluate",value:function(se){return!1}},{key:"serialize",value:function(){return"false"}},{key:"keys",value:function(){return[]}},{key:"negate",value:function(){return S.INSTANCE}}]),ue}();w.INSTANCE=new w;var S=function(){function ue(){Object(o.a)(this,ue),this.type=1}return Object(i.a)(ue,[{key:"cmp",value:function(se){return this.type-se.type}},{key:"equals",value:function(se){return se.type===this.type}},{key:"evaluate",value:function(se){return!0}},{key:"serialize",value:function(){return"true"}},{key:"keys",value:function(){return[]}},{key:"negate",value:function(){return w.INSTANCE}}]),ue}();S.INSTANCE=new S;var k=function(){function ue(ne){Object(o.a)(this,ue),this.key=ne,this.type=2}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:oe(this.key,se.key)}},{key:"equals",value:function(se){return se.type===this.type?this.key===se.key:!1}},{key:"evaluate",value:function(se){return!!se.getValue(this.key)}},{key:"serialize",value:function(){return this.key}},{key:"keys",value:function(){return[this.key]}},{key:"negate",value:function(){return A.create(this.key)}}],[{key:"create",value:function(se){var be=h.get(se);return typeof be=="boolean"?be?S.INSTANCE:w.INSTANCE:new ue(se)}}]),ue}(),T=function(){function ue(ne,se){Object(o.a)(this,ue),this.key=ne,this.value=se,this.type=4}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:he(this.key,this.value,se.key,se.value)}},{key:"equals",value:function(se){return se.type===this.type?this.key===se.key&&this.value===se.value:!1}},{key:"evaluate",value:function(se){return se.getValue(this.key)==this.value}},{key:"serialize",value:function(){return"".concat(this.key," == '").concat(this.value,"'")}},{key:"keys",value:function(){return[this.key]}},{key:"negate",value:function(){return $.create(this.key,this.value)}}],[{key:"create",value:function(se,be){if(typeof be=="boolean")return be?k.create(se):A.create(se);var Z=h.get(se);if(typeof Z=="boolean"){var ee=Z?"true":"false";return be===ee?S.INSTANCE:w.INSTANCE}return new ue(se,be)}}]),ue}(),I=function(){function ue(ne,se){Object(o.a)(this,ue),this.key=ne,this.valueKey=se,this.type=10}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:he(this.key,this.valueKey,se.key,se.valueKey)}},{key:"equals",value:function(se){return se.type===this.type?this.key===se.key&&this.valueKey===se.valueKey:!1}},{key:"evaluate",value:function(se){var be=se.getValue(this.valueKey),Z=se.getValue(this.key);return Array.isArray(be)?be.indexOf(Z)>=0:typeof Z=="string"&&typeof be=="object"&&be!==null?t.call(be,Z):!1}},{key:"serialize",value:function(){return"".concat(this.key," in '").concat(this.valueKey,"'")}},{key:"keys",value:function(){return[this.key,this.valueKey]}},{key:"negate",value:function(){return Y.create(this)}}],[{key:"create",value:function(se,be){return new ue(se,be)}}]),ue}(),Y=function(){function ue(ne){Object(o.a)(this,ue),this._actual=ne,this.type=11}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:this._actual.cmp(se._actual)}},{key:"equals",value:function(se){return se.type===this.type?this._actual.equals(se._actual):!1}},{key:"evaluate",value:function(se){return!this._actual.evaluate(se)}},{key:"serialize",value:function(){throw new Error("Method not implemented.")}},{key:"keys",value:function(){return this._actual.keys()}},{key:"negate",value:function(){return this._actual}}],[{key:"create",value:function(se){return new ue(se)}}]),ue}(),$=function(){function ue(ne,se){Object(o.a)(this,ue),this.key=ne,this.value=se,this.type=5}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:he(this.key,this.value,se.key,se.value)}},{key:"equals",value:function(se){return se.type===this.type?this.key===se.key&&this.value===se.value:!1}},{key:"evaluate",value:function(se){return se.getValue(this.key)!=this.value}},{key:"serialize",value:function(){return"".concat(this.key," != '").concat(this.value,"'")}},{key:"keys",value:function(){return[this.key]}},{key:"negate",value:function(){return T.create(this.key,this.value)}}],[{key:"create",value:function(se,be){if(typeof be=="boolean")return be?A.create(se):k.create(se);var Z=h.get(se);if(typeof Z=="boolean"){var ee=Z?"true":"false";return be===ee?w.INSTANCE:S.INSTANCE}return new ue(se,be)}}]),ue}(),A=function(){function ue(ne){Object(o.a)(this,ue),this.key=ne,this.type=3}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:oe(this.key,se.key)}},{key:"equals",value:function(se){return se.type===this.type?this.key===se.key:!1}},{key:"evaluate",value:function(se){return!se.getValue(this.key)}},{key:"serialize",value:function(){return"!".concat(this.key)}},{key:"keys",value:function(){return[this.key]}},{key:"negate",value:function(){return k.create(this.key)}}],[{key:"create",value:function(se){var be=h.get(se);return typeof be=="boolean"?be?w.INSTANCE:S.INSTANCE:new ue(se)}}]),ue}(),g=function(){function ue(ne,se){Object(o.a)(this,ue),this.key=ne,this.value=se,this.type=12}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:he(this.key,this.value,se.key,se.value)}},{key:"equals",value:function(se){return se.type===this.type?this.key===se.key&&this.value===se.value:!1}},{key:"evaluate",value:function(se){return parseFloat(se.getValue(this.key))>parseFloat(this.value)}},{key:"serialize",value:function(){return"".concat(this.key," > ").concat(this.value)}},{key:"keys",value:function(){return[this.key]}},{key:"negate",value:function(){return O.create(this.key,this.value)}}],[{key:"create",value:function(se,be){return new ue(se,be)}}]),ue}(),b=function(){function ue(ne,se){Object(o.a)(this,ue),this.key=ne,this.value=se,this.type=13}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:he(this.key,this.value,se.key,se.value)}},{key:"equals",value:function(se){return se.type===this.type?this.key===se.key&&this.value===se.value:!1}},{key:"evaluate",value:function(se){return parseFloat(se.getValue(this.key))>=parseFloat(this.value)}},{key:"serialize",value:function(){return"".concat(this.key," >= ").concat(this.value)}},{key:"keys",value:function(){return[this.key]}},{key:"negate",value:function(){return d.create(this.key,this.value)}}],[{key:"create",value:function(se,be){return new ue(se,be)}}]),ue}(),d=function(){function ue(ne,se){Object(o.a)(this,ue),this.key=ne,this.value=se,this.type=14}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:he(this.key,this.value,se.key,se.value)}},{key:"equals",value:function(se){return se.type===this.type?this.key===se.key&&this.value===se.value:!1}},{key:"evaluate",value:function(se){return parseFloat(se.getValue(this.key))<parseFloat(this.value)}},{key:"serialize",value:function(){return"".concat(this.key," < ").concat(this.value)}},{key:"keys",value:function(){return[this.key]}},{key:"negate",value:function(){return b.create(this.key,this.value)}}],[{key:"create",value:function(se,be){return new ue(se,be)}}]),ue}(),O=function(){function ue(ne,se){Object(o.a)(this,ue),this.key=ne,this.value=se,this.type=15}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:he(this.key,this.value,se.key,se.value)}},{key:"equals",value:function(se){return se.type===this.type?this.key===se.key&&this.value===se.value:!1}},{key:"evaluate",value:function(se){return parseFloat(se.getValue(this.key))<=parseFloat(this.value)}},{key:"serialize",value:function(){return"".concat(this.key," <= ").concat(this.value)}},{key:"keys",value:function(){return[this.key]}},{key:"negate",value:function(){return g.create(this.key,this.value)}}],[{key:"create",value:function(se,be){return new ue(se,be)}}]),ue}(),E=function(){function ue(ne,se){Object(o.a)(this,ue),this.key=ne,this.regexp=se,this.type=7}return Object(i.a)(ue,[{key:"cmp",value:function(se){if(se.type!==this.type)return this.type-se.type;if(this.key<se.key)return-1;if(this.key>se.key)return 1;var be=this.regexp?this.regexp.source:"",Z=se.regexp?se.regexp.source:"";return be<Z?-1:be>Z?1:0}},{key:"equals",value:function(se){if(se.type===this.type){var be=this.regexp?this.regexp.source:"",Z=se.regexp?se.regexp.source:"";return this.key===se.key&&be===Z}return!1}},{key:"evaluate",value:function(se){var be=se.getValue(this.key);return this.regexp?this.regexp.test(be):!1}},{key:"serialize",value:function(){var se=this.regexp?"/".concat(this.regexp.source,"/").concat(this.regexp.ignoreCase?"i":""):"/invalid/";return"".concat(this.key," =~ ").concat(se)}},{key:"keys",value:function(){return[this.key]}},{key:"negate",value:function(){return D.create(this)}}],[{key:"create",value:function(se,be){return new ue(se,be)}}]),ue}(),D=function(){function ue(ne){Object(o.a)(this,ue),this._actual=ne,this.type=8}return Object(i.a)(ue,[{key:"cmp",value:function(se){return se.type!==this.type?this.type-se.type:this._actual.cmp(se._actual)}},{key:"equals",value:function(se){return se.type===this.type?this._actual.equals(se._actual):!1}},{key:"evaluate",value:function(se){return!this._actual.evaluate(se)}},{key:"serialize",value:function(){throw new Error("Method not implemented.")}},{key:"keys",value:function(){return this._actual.keys()}},{key:"negate",value:function(){return this._actual}}],[{key:"create",value:function(se){return new ue(se)}}]),ue}(),W=function(){function ue(ne){Object(o.a)(this,ue),this.expr=ne,this.type=6}return Object(i.a)(ue,[{key:"cmp",value:function(se){if(se.type!==this.type)return this.type-se.type;if(this.expr.length<se.expr.length)return-1;if(this.expr.length>se.expr.length)return 1;for(var be=0,Z=this.expr.length;be<Z;be++){var ee=p(this.expr[be],se.expr[be]);if(ee!==0)return ee}return 0}},{key:"equals",value:function(se){if(se.type===this.type){if(this.expr.length!==se.expr.length)return!1;for(var be=0,Z=this.expr.length;be<Z;be++)if(!this.expr[be].equals(se.expr[be]))return!1;return!0}return!1}},{key:"evaluate",value:function(se){for(var be=0,Z=this.expr.length;be<Z;be++)if(!this.expr[be].evaluate(se))return!1;return!0}},{key:"serialize",value:function(){return this.expr.map(function(se){return se.serialize()}).join(" && ")}},{key:"keys",value:function(){var se=[],be=Object(f.a)(this.expr),Z;try{for(be.s();!(Z=be.n()).done;){var ee=Z.value;se.push.apply(se,Object(r.a)(ee.keys()))}}catch(ce){be.e(ce)}finally{be.f()}return se}},{key:"negate",value:function(){var se=[],be=Object(f.a)(this.expr),Z;try{for(be.s();!(Z=be.n()).done;){var ee=Z.value;se.push(ee.negate())}}catch(ce){be.e(ce)}finally{be.f()}return te.create(se)}}],[{key:"create",value:function(se){return ue._normalizeArr(se)}},{key:"_normalizeArr",value:function(se){var be=[],Z=!1,ee=Object(f.a)(se),ce;try{for(ee.s();!(ce=ee.n()).done;){var R=ce.value;if(!!R){if(R.type===1){Z=!0;continue}if(R.type===0)return w.INSTANCE;if(R.type===6){be.push.apply(be,Object(r.a)(R.expr));continue}be.push(R)}}}catch(z){ee.e(z)}finally{ee.f()}if(be.length===0&&Z)return S.INSTANCE;if(be.length!==0){if(be.length===1)return be[0];be.sort(p);for(var y=function(){var G=be[be.length-1];if(G.type!==9)return"break";be.pop();var X=be.pop(),pe=te.create(G.expr.map(function(ae){return ue.create([ae,X])}));pe&&(be.push(pe),be.sort(p))};be.length>1;){var C=y();if(C==="break")break}return be.length===1?be[0]:new ue(be)}}}]),ue}(),te=function(){function ue(ne){Object(o.a)(this,ue),this.expr=ne,this.type=9}return Object(i.a)(ue,[{key:"cmp",value:function(se){if(se.type!==this.type)return this.type-se.type;if(this.expr.length<se.expr.length)return-1;if(this.expr.length>se.expr.length)return 1;for(var be=0,Z=this.expr.length;be<Z;be++){var ee=p(this.expr[be],se.expr[be]);if(ee!==0)return ee}return 0}},{key:"equals",value:function(se){if(se.type===this.type){if(this.expr.length!==se.expr.length)return!1;for(var be=0,Z=this.expr.length;be<Z;be++)if(!this.expr[be].equals(se.expr[be]))return!1;return!0}return!1}},{key:"evaluate",value:function(se){for(var be=0,Z=this.expr.length;be<Z;be++)if(this.expr[be].evaluate(se))return!0;return!1}},{key:"serialize",value:function(){return this.expr.map(function(se){return se.serialize()}).join(" || ")}},{key:"keys",value:function(){var se=[],be=Object(f.a)(this.expr),Z;try{for(be.s();!(Z=be.n()).done;){var ee=Z.value;se.push.apply(se,Object(r.a)(ee.keys()))}}catch(ce){be.e(ce)}finally{be.f()}return se}},{key:"negate",value:function(){var se=[],be=Object(f.a)(this.expr),Z;try{for(be.s();!(Z=be.n()).done;){var ee=Z.value;se.push(ee.negate())}}catch(Te){be.e(Te)}finally{be.f()}for(var ce=function(je){return je.type===9?je.expr:[je]};se.length>1;){var R=se.shift(),y=se.shift(),C=[],z=Object(f.a)(ce(R)),G;try{for(z.s();!(G=z.n()).done;){var X=G.value,pe=Object(f.a)(ce(y)),ae;try{for(pe.s();!(ae=pe.n()).done;){var Se=ae.value;C.push(l.and(X,Se))}}catch(Te){pe.e(Te)}finally{pe.f()}}}catch(Te){z.e(Te)}finally{z.f()}se.unshift(l.or.apply(l,C))}return se[0]}}],[{key:"create",value:function(se){var be=ue._normalizeArr(se);if(be.length!==0)return be.length===1?be[0]:new ue(be)}},{key:"_normalizeArr",value:function(se){var be=[],Z=!1;if(se){for(var ee=0,ce=se.length;ee<ce;ee++){var R=se[ee];if(!!R){if(R.type===0){Z=!0;continue}if(R.type===1)return[S.INSTANCE];if(R.type===9){be=be.concat(R.expr);continue}be.push(R)}}if(be.length===0&&Z)return[w.INSTANCE];be.sort(p)}return be}}]),ue}(),re=function(ue){Object(u.a)(se,ue);var ne=Object(c.a)(se);function se(be,Z,ee){var ce;return Object(o.a)(this,se),ce=ne.call(this,be),ce._defaultValue=Z,typeof ee=="object"?se._info.push(Object.assign(Object.assign({},ee),{key:be})):ee!==!0&&se._info.push({key:be,description:ee,type:Z!=null?typeof Z:void 0}),ce}return Object(i.a)(se,[{key:"bindTo",value:function(Z){return Z.createKey(this.key,this._defaultValue)}},{key:"getValue",value:function(Z){return Z.getContextKeyValue(this.key)}},{key:"toNegated",value:function(){return l.not(this.key)}},{key:"isEqualTo",value:function(Z){return l.equals(this.key,Z)}}],[{key:"all",value:function(){return se._info.values()}}]),se}(k);re._info=[];var ye=Object(n.c)("contextKeyService"),q="setContext";function oe(ue,ne){return ue<ne?-1:ue>ne?1:0}function he(ue,ne,se,be){return ue<se?-1:ue>se?1:ne<be?-1:ne>be?1:0}},TLLU:function(Ie,M,e){"use strict";var u=e("5OYt");function c(){return Object(u.a)()}M.a={useBreakpoint:c}},TP7S:function(Ie,M){function e(u){return u===void 0}Ie.exports=e},TQUy:function(Ie,M,e){"use strict";e.d(M,"b",function(){return o}),e.d(M,"a",function(){return i});var u=e("N0LK"),c=e("4bUh"),r=e("i/Ef"),f={getInitialState:function(){return r.c},tokenize2:function(v,m,h,t){return Object(r.e)(0,v,h,t)}};function o(n){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f;return a(n,v||f)}function i(n,v,m,h,t,l,p){for(var w="<div>",S=h,k=0,T=0,I=v.getCount();T<I;T++){var Y=v.getEndOffset(T);if(!(Y<=h)){for(var $="";S<Y&&S<t;S++){var A=n.charCodeAt(S);switch(A){case 9:var g=l-(S+k)%l;for(k+=g-1;g>0;)$+=p?" ":" ",g--;break;case 60:$+="<";break;case 62:$+=">";break;case 38:$+="&";break;case 0:$+="�";break;case 65279:case 8232:case 8233:case 133:$+="\uFFFD";break;case 13:$+="​";break;case 32:$+=p?" ":" ";break;default:$+=String.fromCharCode(A)}}if(w+='<span style="'.concat(v.getInlineStyle(T,m),'">').concat($,"</span>"),Y>t||S>=t)break}}return w+="</div>",w}function a(n,v){for(var m='<div class="monaco-tokenized-source">',h=u.Q(n),t=v.getInitialState(),l=0,p=h.length;l<p;l++){var w=h[l];l>0&&(m+="<br/>");var S=v.tokenize2(w,!0,t,0);c.a.convertToEndOffset(S.tokens,w.length);for(var k=new c.a(S.tokens,w),T=k.inflate(),I=0,Y=0,$=T.getCount();Y<$;Y++){var A=T.getClassName(Y),g=T.getEndOffset(Y);m+='<span class="'.concat(A,'">').concat(u.t(w.substring(I,g)),"</span>"),I=g}t=S.endState}return m+="</div>",m}},TT2d:function(Ie,M,e){},TYy9:function(Ie,M,e){var u=e("XGnz");function c(r){var f=r==null?0:r.length;return f?u(r,1):[]}Ie.exports=c},Tcc1:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r}),e.d(M,"b",function(){return f}),e.d(M,"c",function(){return o});var u=e("fWQN"),c=e("mtLc"),r=function(){function i(a,n,v){Object(u.a)(this,i),this.offset=a|0,this.type=n,this.language=v}return Object(c.a)(i,[{key:"toString",value:function(){return"("+this.offset+", "+this.type+")"}}]),i}(),f=Object(c.a)(function i(a,n){Object(u.a)(this,i),this.tokens=a,this.endState=n}),o=Object(c.a)(function i(a,n){Object(u.a)(this,i),this.tokens=a,this.endState=n})},Txda:function(Ie,M,e){var u=e("3y7U");Ie.exports=c;function c(r,f){return u(r,f,"post")}},U9X9:function(Ie,M,e){"use strict";var u=e("uX+g"),c=function(f,o,i){return o===void 0?f:Object(u.a)(f,o,i)};M.a=c},UCkY:function(Ie,M,e){},UMpK:function(Ie,M,e){var u=e("gFfm"),c=e("dTAl"),r=e("JC6p"),f=e("ut/Y"),o=e("LcsW"),i=e("Z0cm"),a=e("DSRE"),n=e("lSCD"),v=e("GoyQ"),m=e("c6wG");function h(t,l,p){var w=i(t),S=w||a(t)||m(t);if(l=f(l,4),p==null){var k=t&&t.constructor;S?p=w?new k:[]:v(t)?p=n(k)?c(o(t)):{}:p={}}return(S?u:r)(t,function(T,I,Y){return l(p,T,I,Y)}),p}Ie.exports=h},"UNi/":function(Ie,M){function e(u,c){for(var r=-1,f=Array(u);++r<u;)f[r]=c(r);return f}Ie.exports=e},UfWW:function(Ie,M,e){var u=e("KwMD"),c=e("ut/Y"),r=e("Sxd8"),f=Math.max;function o(i,a,n){var v=i==null?0:i.length;if(!v)return-1;var m=n==null?0:r(n);return m<0&&(m=f(v+m,0)),u(i,c(a,3),m)}Ie.exports=o},Urep:function(Ie,M,e){},Uzvx:function(Ie,M,e){"use strict";e.d(M,"b",function(){return c}),e.d(M,"a",function(){return r});var u=e("Cg/j"),c=Object(u.c)("contextViewService"),r=Object(u.c)("contextMenuService")},V6Ve:function(Ie,M,e){var u=e("kekF"),c=u(Object.keys,Object);Ie.exports=c},V9xz:function(Ie,M){function e(u,c){return u>c}Ie.exports=e},VA6q:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="RedoOutlined";var a=M.a=c.forwardRef(i)},VIHS:function(Ie,M,e){"use strict";e.d(M,"b",function(){return l}),e.d(M,"c",function(){return p});var u={value:function(){}};function c(){for(var T=0,I=arguments.length,Y={},$;T<I;++T){if(!($=arguments[T]+"")||$ in Y||/[\s.]/.test($))throw new Error("illegal type: "+$);Y[$]=[]}return new r(Y)}function r(T){this._=T}function f(T,I){return T.trim().split(/^|\s+/).map(function(Y){var $="",A=Y.indexOf(".");if(A>=0&&($=Y.slice(A+1),Y=Y.slice(0,A)),Y&&!I.hasOwnProperty(Y))throw new Error("unknown type: "+Y);return{type:Y,name:$}})}r.prototype=c.prototype={constructor:r,on:function(I,Y){var $=this._,A=f(I+"",$),g,b=-1,d=A.length;if(arguments.length<2){for(;++b<d;)if((g=(I=A[b]).type)&&(g=o($[g],I.name)))return g;return}if(Y!=null&&typeof Y!="function")throw new Error("invalid callback: "+Y);for(;++b<d;)if(g=(I=A[b]).type)$[g]=i($[g],I.name,Y);else if(Y==null)for(g in $)$[g]=i($[g],I.name,null);return this},copy:function(){var I={},Y=this._;for(var $ in Y)I[$]=Y[$].slice();return new r(I)},call:function(I,Y){if((g=arguments.length-2)>0)for(var $=new Array(g),A=0,g,b;A<g;++A)$[A]=arguments[A+2];if(!this._.hasOwnProperty(I))throw new Error("unknown type: "+I);for(b=this._[I],A=0,g=b.length;A<g;++A)b[A].value.apply(Y,$)},apply:function(I,Y,$){if(!this._.hasOwnProperty(I))throw new Error("unknown type: "+I);for(var A=this._[I],g=0,b=A.length;g<b;++g)A[g].value.apply(Y,$)}};function o(T,I){for(var Y=0,$=T.length,A;Y<$;++Y)if((A=T[Y]).name===I)return A.value}function i(T,I,Y){for(var $=0,A=T.length;$<A;++$)if(T[$].name===I){T[$]=u,T=T.slice(0,$).concat(T.slice($+1));break}return Y!=null&&T.push({name:I,value:Y}),T}var a=c,n=e("dPRQ"),v=1664525,m=1013904223,h=4294967296,t=function(){var T=1;return function(){return(T=(v*T+m)%h)/h}};function l(T){return T.x}function p(T){return T.y}var w=10,S=Math.PI*(3-Math.sqrt(5)),k=M.a=function(T){var I,Y=1,$=.001,A=1-Math.pow($,1/300),g=0,b=.6,d=new Map,O=Object(n.a)(W),E=a("tick","end"),D=t();T==null&&(T=[]);function W(){te(),E.call("tick",I),Y<$&&(O.stop(),E.call("end",I))}function te(q){var oe,he=T.length,ue;q===void 0&&(q=1);for(var ne=0;ne<q;++ne)for(Y+=(g-Y)*A,d.forEach(function(se){se(Y)}),oe=0;oe<he;++oe)ue=T[oe],ue.fx==null?ue.x+=ue.vx*=b:(ue.x=ue.fx,ue.vx=0),ue.fy==null?ue.y+=ue.vy*=b:(ue.y=ue.fy,ue.vy=0);return I}function re(){for(var q=0,oe=T.length,he;q<oe;++q){if(he=T[q],he.index=q,he.fx!=null&&(he.x=he.fx),he.fy!=null&&(he.y=he.fy),isNaN(he.x)||isNaN(he.y)){var ue=w*Math.sqrt(.5+q),ne=q*S;he.x=ue*Math.cos(ne),he.y=ue*Math.sin(ne)}(isNaN(he.vx)||isNaN(he.vy))&&(he.vx=he.vy=0)}}function ye(q){return q.initialize&&q.initialize(T,D),q}return re(),I={tick:te,restart:function(){return O.restart(W),I},stop:function(){return O.stop(),I},nodes:function(oe){return arguments.length?(T=oe,re(),d.forEach(ye),I):T},alpha:function(oe){return arguments.length?(Y=+oe,I):Y},alphaMin:function(oe){return arguments.length?($=+oe,I):$},alphaDecay:function(oe){return arguments.length?(A=+oe,I):+A},alphaTarget:function(oe){return arguments.length?(g=+oe,I):g},velocityDecay:function(oe){return arguments.length?(b=1-oe,I):1-b},randomSource:function(oe){return arguments.length?(D=oe,d.forEach(ye),I):D},force:function(oe,he){return arguments.length>1?(he==null?d.delete(oe):d.set(oe,ye(he)),I):d.get(oe)},find:function(oe,he,ue){var ne=0,se=T.length,be,Z,ee,ce,R;for(ue==null?ue=Infinity:ue*=ue,ne=0;ne<se;++ne)ce=T[ne],be=oe-ce.x,Z=he-ce.y,ee=be*be+Z*Z,ee<ue&&(R=ce,ue=ee);return R},on:function(oe,he){return arguments.length>1?(E.on(oe,he),I):E.on(oe)}}}},VJLA:function(Ie,M,e){var u=e("MrPd"),c=e("1w02");function r(f,o){return c(f||[],o||[],u)}Ie.exports=r},VMEa:function(Ie,M,e){"use strict";var u=e("M+yt"),c=e.n(u),r=e("hkzD");M.a=r.a},VOtZ:function(Ie,M,e){var u=e("juv8"),c=e("MvSz");function r(f,o){return u(f,c(f),o)}Ie.exports=r},VOwL:function(Ie,M,e){"use strict";e.d(M,"b",function(){return u}),e.d(M,"a",function(){return c}),e.d(M,"f",function(){return r}),e.d(M,"c",function(){return f}),e.d(M,"g",function(){return o}),e.d(M,"e",function(){return i}),e.d(M,"d",function(){return a});var u={LOCAL:"local",STANDALONE:"standalone",YARN_SESSION:"yarn-session",YARN_PER_JOB:"yarn-per-job",YARN_APPLICATION:"yarn-application",KUBERNETES_SESSION:"kubernetes-session",KUBERNETES_APPLICATION:"kubernetes-application"},c={FLINKSQL:"FlinkSql",FLINKJAR:"FlinkJar",FLINKSQLENV:"FlinkSqlEnv",SQL:"Sql",MYSQL:"Mysql",ORACLE:"Oracle",SQLSERVER:"SqlServer",POSTGRESQL:"PostgreSql",CLICKHOUSE:"ClickHouse",DORIS:"Doris",HIVE:"Hive",PHOENIX:"Phoenix",STARROCKS:"StarRocks",PRESTO:"Presto",KUBERNETES_APPLICATION:"KubernetesApplaction",JAVA:"Java",SCALA:"Scala",PYTHON:"Python"},r=function(v){switch(v){case c.SQL:case c.MYSQL:case c.ORACLE:case c.SQLSERVER:case c.POSTGRESQL:case c.CLICKHOUSE:case c.PHOENIX:case c.DORIS:case c.HIVE:case c.STARROCKS:case c.PRESTO:return!0;default:return!1}},f=function(v){if(!v)return!0;switch(v){case c.SQL:case c.MYSQL:case c.ORACLE:case c.SQLSERVER:case c.POSTGRESQL:case c.CLICKHOUSE:case c.DORIS:case c.PHOENIX:case c.FLINKSQL:case c.HIVE:case c.STARROCKS:case c.PRESTO:return!0;default:return!1}},o=function(v){if(!v)return!0;switch(v){case c.SQL:case c.MYSQL:case c.ORACLE:case c.SQLSERVER:case c.POSTGRESQL:case c.CLICKHOUSE:case c.DORIS:case c.PHOENIX:case c.FLINKSQL:case c.FLINKJAR:case c.HIVE:case c.STARROCKS:case c.PRESTO:case c.KUBERNETES_APPLICATION:return!0;default:return!1}},i=function(v){return!!(v&&v!=0)},a=function(v){switch(v){case u.LOCAL:case u.STANDALONE:case u.YARN_SESSION:case u.KUBERNETES_SESSION:return!0;default:return!1}}},VPJY:function(Ie,M,e){},VYtm:function(Ie,M,e){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.hover=void 0;var u=Object.assign||function(v){for(var m=1;m<arguments.length;m++){var h=arguments[m];for(var t in h)Object.prototype.hasOwnProperty.call(h,t)&&(v[t]=h[t])}return v},c=e("q1tI"),r=f(c);function f(v){return v&&v.__esModule?v:{default:v}}function o(v,m){if(!(v instanceof m))throw new TypeError("Cannot call a class as a function")}function i(v,m){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:v}function a(v,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);v.prototype=Object.create(m&&m.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(v,m):v.__proto__=m)}var n=M.hover=function(m){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(t){a(l,t);function l(){var p,w,S,k;o(this,l);for(var T=arguments.length,I=Array(T),Y=0;Y<T;Y++)I[Y]=arguments[Y];return k=(w=(S=i(this,(p=l.__proto__||Object.getPrototypeOf(l)).call.apply(p,[this].concat(I))),S),S.state={hover:!1},S.handleMouseOver=function(){return S.setState({hover:!0})},S.handleMouseOut=function(){return S.setState({hover:!1})},S.render=function(){return r.default.createElement(h,{onMouseOver:S.handleMouseOver,onMouseOut:S.handleMouseOut},r.default.createElement(m,u({},S.props,S.state)))},w),i(S,k)}return l}(r.default.Component)};M.default=n},VaNO:function(Ie,M){function e(u){return this.__data__.has(u)}Ie.exports=e},Vhoy:function(Ie,M,e){"use strict";e.d(M,"d",function(){return a}),e.d(M,"e",function(){return n}),e.d(M,"c",function(){return v}),e.d(M,"b",function(){return m}),e.d(M,"a",function(){return h});var u=e("tJVT"),c=e("fWQN"),r=e("mtLc"),f=e("MI8n"),o=function(){function t(){Object(c.a)(this,t),this._icons=new Map,this._onDidRegister=new f.a}return Object(r.a)(t,[{key:"add",value:function(p){var w=this._icons.get(p.id);w?p.description?w.description=p.description:console.error("Duplicate registration of codicon ".concat(p.id)):(this._icons.set(p.id,p),this._onDidRegister.fire(p))}},{key:"get",value:function(p){return this._icons.get(p)}},{key:"all",get:function(){return this._icons.values()}},{key:"onDidRegister",get:function(){return this._onDidRegister.event}}]),t}(),i=new o,a=i;function n(t,l){return new m(t,l)}function v(t){return t?t.replace(/\$\((.*?)\)/g,function(l,p){return" ".concat(p," ")}).trim():""}var m=function(){function t(l,p,w){Object(c.a)(this,t),this.id=l,this.definition=p,this.description=w,i.add(this)}return Object(r.a)(t,[{key:"classNames",get:function(){return"codicon codicon-"+this.id}},{key:"classNamesArray",get:function(){return["codicon","codicon-"+this.id]}},{key:"cssSelector",get:function(){return".codicon.codicon-"+this.id}}]),t}(),h;(function(t){t.iconNameSegment="[A-Za-z0-9]+",t.iconNameExpression="[A-Za-z0-9\\-]+",t.iconModifierExpression="~[A-Za-z]+";var l=new RegExp("^(".concat(t.iconNameExpression,")(").concat(t.iconModifierExpression,")?$"));function p(k){if(k instanceof m)return["codicon","codicon-"+k.id];var T=l.exec(k.id);if(!T)return p(m.error);var I=Object(u.a)(T,3),Y=I[1],$=I[2],A=["codicon","codicon-"+Y];return $&&A.push("codicon-modifier-"+$.substr(1)),A}t.asClassNameArray=p;function w(k){return p(k).join(" ")}t.asClassName=w;function S(k){return"."+p(k).join(".")}t.asCSSSelector=S})(h||(h={})),function(t){t.add=new t("add",{fontCharacter:"\\ea60"}),t.plus=new t("plus",{fontCharacter:"\\ea60"}),t.gistNew=new t("gist-new",{fontCharacter:"\\ea60"}),t.repoCreate=new t("repo-create",{fontCharacter:"\\ea60"}),t.lightbulb=new t("lightbulb",{fontCharacter:"\\ea61"}),t.lightBulb=new t("light-bulb",{fontCharacter:"\\ea61"}),t.repo=new t("repo",{fontCharacter:"\\ea62"}),t.repoDelete=new t("repo-delete",{fontCharacter:"\\ea62"}),t.gistFork=new t("gist-fork",{fontCharacter:"\\ea63"}),t.repoForked=new t("repo-forked",{fontCharacter:"\\ea63"}),t.gitPullRequest=new t("git-pull-request",{fontCharacter:"\\ea64"}),t.gitPullRequestAbandoned=new t("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),t.recordKeys=new t("record-keys",{fontCharacter:"\\ea65"}),t.keyboard=new t("keyboard",{fontCharacter:"\\ea65"}),t.tag=new t("tag",{fontCharacter:"\\ea66"}),t.tagAdd=new t("tag-add",{fontCharacter:"\\ea66"}),t.tagRemove=new t("tag-remove",{fontCharacter:"\\ea66"}),t.person=new t("person",{fontCharacter:"\\ea67"}),t.personFollow=new t("person-follow",{fontCharacter:"\\ea67"}),t.personOutline=new t("person-outline",{fontCharacter:"\\ea67"}),t.personFilled=new t("person-filled",{fontCharacter:"\\ea67"}),t.gitBranch=new t("git-branch",{fontCharacter:"\\ea68"}),t.gitBranchCreate=new t("git-branch-create",{fontCharacter:"\\ea68"}),t.gitBranchDelete=new t("git-branch-delete",{fontCharacter:"\\ea68"}),t.sourceControl=new t("source-control",{fontCharacter:"\\ea68"}),t.mirror=new t("mirror",{fontCharacter:"\\ea69"}),t.mirrorPublic=new t("mirror-public",{fontCharacter:"\\ea69"}),t.star=new t("star",{fontCharacter:"\\ea6a"}),t.starAdd=new t("star-add",{fontCharacter:"\\ea6a"}),t.starDelete=new t("star-delete",{fontCharacter:"\\ea6a"}),t.starEmpty=new t("star-empty",{fontCharacter:"\\ea6a"}),t.comment=new t("comment",{fontCharacter:"\\ea6b"}),t.commentAdd=new t("comment-add",{fontCharacter:"\\ea6b"}),t.alert=new t("alert",{fontCharacter:"\\ea6c"}),t.warning=new t("warning",{fontCharacter:"\\ea6c"}),t.search=new t("search",{fontCharacter:"\\ea6d"}),t.searchSave=new t("search-save",{fontCharacter:"\\ea6d"}),t.logOut=new t("log-out",{fontCharacter:"\\ea6e"}),t.signOut=new t("sign-out",{fontCharacter:"\\ea6e"}),t.logIn=new t("log-in",{fontCharacter:"\\ea6f"}),t.signIn=new t("sign-in",{fontCharacter:"\\ea6f"}),t.eye=new t("eye",{fontCharacter:"\\ea70"}),t.eyeUnwatch=new t("eye-unwatch",{fontCharacter:"\\ea70"}),t.eyeWatch=new t("eye-watch",{fontCharacter:"\\ea70"}),t.circleFilled=new t("circle-filled",{fontCharacter:"\\ea71"}),t.primitiveDot=new t("primitive-dot",{fontCharacter:"\\ea71"}),t.closeDirty=new t("close-dirty",{fontCharacter:"\\ea71"}),t.debugBreakpoint=new t("debug-breakpoint",{fontCharacter:"\\ea71"}),t.debugBreakpointDisabled=new t("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),t.debugHint=new t("debug-hint",{fontCharacter:"\\ea71"}),t.primitiveSquare=new t("primitive-square",{fontCharacter:"\\ea72"}),t.edit=new t("edit",{fontCharacter:"\\ea73"}),t.pencil=new t("pencil",{fontCharacter:"\\ea73"}),t.info=new t("info",{fontCharacter:"\\ea74"}),t.issueOpened=new t("issue-opened",{fontCharacter:"\\ea74"}),t.gistPrivate=new t("gist-private",{fontCharacter:"\\ea75"}),t.gitForkPrivate=new t("git-fork-private",{fontCharacter:"\\ea75"}),t.lock=new t("lock",{fontCharacter:"\\ea75"}),t.mirrorPrivate=new t("mirror-private",{fontCharacter:"\\ea75"}),t.close=new t("close",{fontCharacter:"\\ea76"}),t.removeClose=new t("remove-close",{fontCharacter:"\\ea76"}),t.x=new t("x",{fontCharacter:"\\ea76"}),t.repoSync=new t("repo-sync",{fontCharacter:"\\ea77"}),t.sync=new t("sync",{fontCharacter:"\\ea77"}),t.clone=new t("clone",{fontCharacter:"\\ea78"}),t.desktopDownload=new t("desktop-download",{fontCharacter:"\\ea78"}),t.beaker=new t("beaker",{fontCharacter:"\\ea79"}),t.microscope=new t("microscope",{fontCharacter:"\\ea79"}),t.vm=new t("vm",{fontCharacter:"\\ea7a"}),t.deviceDesktop=new t("device-desktop",{fontCharacter:"\\ea7a"}),t.file=new t("file",{fontCharacter:"\\ea7b"}),t.fileText=new t("file-text",{fontCharacter:"\\ea7b"}),t.more=new t("more",{fontCharacter:"\\ea7c"}),t.ellipsis=new t("ellipsis",{fontCharacter:"\\ea7c"}),t.kebabHorizontal=new t("kebab-horizontal",{fontCharacter:"\\ea7c"}),t.mailReply=new t("mail-reply",{fontCharacter:"\\ea7d"}),t.reply=new t("reply",{fontCharacter:"\\ea7d"}),t.organization=new t("organization",{fontCharacter:"\\ea7e"}),t.organizationFilled=new t("organization-filled",{fontCharacter:"\\ea7e"}),t.organizationOutline=new t("organization-outline",{fontCharacter:"\\ea7e"}),t.newFile=new t("new-file",{fontCharacter:"\\ea7f"}),t.fileAdd=new t("file-add",{fontCharacter:"\\ea7f"}),t.newFolder=new t("new-folder",{fontCharacter:"\\ea80"}),t.fileDirectoryCreate=new t("file-directory-create",{fontCharacter:"\\ea80"}),t.trash=new t("trash",{fontCharacter:"\\ea81"}),t.trashcan=new t("trashcan",{fontCharacter:"\\ea81"}),t.history=new t("history",{fontCharacter:"\\ea82"}),t.clock=new t("clock",{fontCharacter:"\\ea82"}),t.folder=new t("folder",{fontCharacter:"\\ea83"}),t.fileDirectory=new t("file-directory",{fontCharacter:"\\ea83"}),t.symbolFolder=new t("symbol-folder",{fontCharacter:"\\ea83"}),t.logoGithub=new t("logo-github",{fontCharacter:"\\ea84"}),t.markGithub=new t("mark-github",{fontCharacter:"\\ea84"}),t.github=new t("github",{fontCharacter:"\\ea84"}),t.terminal=new t("terminal",{fontCharacter:"\\ea85"}),t.console=new t("console",{fontCharacter:"\\ea85"}),t.repl=new t("repl",{fontCharacter:"\\ea85"}),t.zap=new t("zap",{fontCharacter:"\\ea86"}),t.symbolEvent=new t("symbol-event",{fontCharacter:"\\ea86"}),t.error=new t("error",{fontCharacter:"\\ea87"}),t.stop=new t("stop",{fontCharacter:"\\ea87"}),t.variable=new t("variable",{fontCharacter:"\\ea88"}),t.symbolVariable=new t("symbol-variable",{fontCharacter:"\\ea88"}),t.array=new t("array",{fontCharacter:"\\ea8a"}),t.symbolArray=new t("symbol-array",{fontCharacter:"\\ea8a"}),t.symbolModule=new t("symbol-module",{fontCharacter:"\\ea8b"}),t.symbolPackage=new t("symbol-package",{fontCharacter:"\\ea8b"}),t.symbolNamespace=new t("symbol-namespace",{fontCharacter:"\\ea8b"}),t.symbolObject=new t("symbol-object",{fontCharacter:"\\ea8b"}),t.symbolMethod=new t("symbol-method",{fontCharacter:"\\ea8c"}),t.symbolFunction=new t("symbol-function",{fontCharacter:"\\ea8c"}),t.symbolConstructor=new t("symbol-constructor",{fontCharacter:"\\ea8c"}),t.symbolBoolean=new t("symbol-boolean",{fontCharacter:"\\ea8f"}),t.symbolNull=new t("symbol-null",{fontCharacter:"\\ea8f"}),t.symbolNumeric=new t("symbol-numeric",{fontCharacter:"\\ea90"}),t.symbolNumber=new t("symbol-number",{fontCharacter:"\\ea90"}),t.symbolStructure=new t("symbol-structure",{fontCharacter:"\\ea91"}),t.symbolStruct=new t("symbol-struct",{fontCharacter:"\\ea91"}),t.symbolParameter=new t("symbol-parameter",{fontCharacter:"\\ea92"}),t.symbolTypeParameter=new t("symbol-type-parameter",{fontCharacter:"\\ea92"}),t.symbolKey=new t("symbol-key",{fontCharacter:"\\ea93"}),t.symbolText=new t("symbol-text",{fontCharacter:"\\ea93"}),t.symbolReference=new t("symbol-reference",{fontCharacter:"\\ea94"}),t.goToFile=new t("go-to-file",{fontCharacter:"\\ea94"}),t.symbolEnum=new t("symbol-enum",{fontCharacter:"\\ea95"}),t.symbolValue=new t("symbol-value",{fontCharacter:"\\ea95"}),t.symbolRuler=new t("symbol-ruler",{fontCharacter:"\\ea96"}),t.symbolUnit=new t("symbol-unit",{fontCharacter:"\\ea96"}),t.activateBreakpoints=new t("activate-breakpoints",{fontCharacter:"\\ea97"}),t.archive=new t("archive",{fontCharacter:"\\ea98"}),t.arrowBoth=new t("arrow-both",{fontCharacter:"\\ea99"}),t.arrowDown=new t("arrow-down",{fontCharacter:"\\ea9a"}),t.arrowLeft=new t("arrow-left",{fontCharacter:"\\ea9b"}),t.arrowRight=new t("arrow-right",{fontCharacter:"\\ea9c"}),t.arrowSmallDown=new t("arrow-small-down",{fontCharacter:"\\ea9d"}),t.arrowSmallLeft=new t("arrow-small-left",{fontCharacter:"\\ea9e"}),t.arrowSmallRight=new t("arrow-small-right",{fontCharacter:"\\ea9f"}),t.arrowSmallUp=new t("arrow-small-up",{fontCharacter:"\\eaa0"}),t.arrowUp=new t("arrow-up",{fontCharacter:"\\eaa1"}),t.bell=new t("bell",{fontCharacter:"\\eaa2"}),t.bold=new t("bold",{fontCharacter:"\\eaa3"}),t.book=new t("book",{fontCharacter:"\\eaa4"}),t.bookmark=new t("bookmark",{fontCharacter:"\\eaa5"}),t.debugBreakpointConditionalUnverified=new t("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),t.debugBreakpointConditional=new t("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),t.debugBreakpointConditionalDisabled=new t("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),t.debugBreakpointDataUnverified=new t("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),t.debugBreakpointData=new t("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),t.debugBreakpointDataDisabled=new t("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),t.debugBreakpointLogUnverified=new t("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),t.debugBreakpointLog=new t("debug-breakpoint-log",{fontCharacter:"\\eaab"}),t.debugBreakpointLogDisabled=new t("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),t.briefcase=new t("briefcase",{fontCharacter:"\\eaac"}),t.broadcast=new t("broadcast",{fontCharacter:"\\eaad"}),t.browser=new t("browser",{fontCharacter:"\\eaae"}),t.bug=new t("bug",{fontCharacter:"\\eaaf"}),t.calendar=new t("calendar",{fontCharacter:"\\eab0"}),t.caseSensitive=new t("case-sensitive",{fontCharacter:"\\eab1"}),t.check=new t("check",{fontCharacter:"\\eab2"}),t.checklist=new t("checklist",{fontCharacter:"\\eab3"}),t.chevronDown=new t("chevron-down",{fontCharacter:"\\eab4"}),t.chevronLeft=new t("chevron-left",{fontCharacter:"\\eab5"}),t.chevronRight=new t("chevron-right",{fontCharacter:"\\eab6"}),t.chevronUp=new t("chevron-up",{fontCharacter:"\\eab7"}),t.chromeClose=new t("chrome-close",{fontCharacter:"\\eab8"}),t.chromeMaximize=new t("chrome-maximize",{fontCharacter:"\\eab9"}),t.chromeMinimize=new t("chrome-minimize",{fontCharacter:"\\eaba"}),t.chromeRestore=new t("chrome-restore",{fontCharacter:"\\eabb"}),t.circleOutline=new t("circle-outline",{fontCharacter:"\\eabc"}),t.debugBreakpointUnverified=new t("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),t.circleSlash=new t("circle-slash",{fontCharacter:"\\eabd"}),t.circuitBoard=new t("circuit-board",{fontCharacter:"\\eabe"}),t.clearAll=new t("clear-all",{fontCharacter:"\\eabf"}),t.clippy=new t("clippy",{fontCharacter:"\\eac0"}),t.closeAll=new t("close-all",{fontCharacter:"\\eac1"}),t.cloudDownload=new t("cloud-download",{fontCharacter:"\\eac2"}),t.cloudUpload=new t("cloud-upload",{fontCharacter:"\\eac3"}),t.code=new t("code",{fontCharacter:"\\eac4"}),t.collapseAll=new t("collapse-all",{fontCharacter:"\\eac5"}),t.colorMode=new t("color-mode",{fontCharacter:"\\eac6"}),t.commentDiscussion=new t("comment-discussion",{fontCharacter:"\\eac7"}),t.compareChanges=new t("compare-changes",{fontCharacter:"\\eafd"}),t.creditCard=new t("credit-card",{fontCharacter:"\\eac9"}),t.dash=new t("dash",{fontCharacter:"\\eacc"}),t.dashboard=new t("dashboard",{fontCharacter:"\\eacd"}),t.database=new t("database",{fontCharacter:"\\eace"}),t.debugContinue=new t("debug-continue",{fontCharacter:"\\eacf"}),t.debugDisconnect=new t("debug-disconnect",{fontCharacter:"\\ead0"}),t.debugPause=new t("debug-pause",{fontCharacter:"\\ead1"}),t.debugRestart=new t("debug-restart",{fontCharacter:"\\ead2"}),t.debugStart=new t("debug-start",{fontCharacter:"\\ead3"}),t.debugStepInto=new t("debug-step-into",{fontCharacter:"\\ead4"}),t.debugStepOut=new t("debug-step-out",{fontCharacter:"\\ead5"}),t.debugStepOver=new t("debug-step-over",{fontCharacter:"\\ead6"}),t.debugStop=new t("debug-stop",{fontCharacter:"\\ead7"}),t.debug=new t("debug",{fontCharacter:"\\ead8"}),t.deviceCameraVideo=new t("device-camera-video",{fontCharacter:"\\ead9"}),t.deviceCamera=new t("device-camera",{fontCharacter:"\\eada"}),t.deviceMobile=new t("device-mobile",{fontCharacter:"\\eadb"}),t.diffAdded=new t("diff-added",{fontCharacter:"\\eadc"}),t.diffIgnored=new t("diff-ignored",{fontCharacter:"\\eadd"}),t.diffModified=new t("diff-modified",{fontCharacter:"\\eade"}),t.diffRemoved=new t("diff-removed",{fontCharacter:"\\eadf"}),t.diffRenamed=new t("diff-renamed",{fontCharacter:"\\eae0"}),t.diff=new t("diff",{fontCharacter:"\\eae1"}),t.discard=new t("discard",{fontCharacter:"\\eae2"}),t.editorLayout=new t("editor-layout",{fontCharacter:"\\eae3"}),t.emptyWindow=new t("empty-window",{fontCharacter:"\\eae4"}),t.exclude=new t("exclude",{fontCharacter:"\\eae5"}),t.extensions=new t("extensions",{fontCharacter:"\\eae6"}),t.eyeClosed=new t("eye-closed",{fontCharacter:"\\eae7"}),t.fileBinary=new t("file-binary",{fontCharacter:"\\eae8"}),t.fileCode=new t("file-code",{fontCharacter:"\\eae9"}),t.fileMedia=new t("file-media",{fontCharacter:"\\eaea"}),t.filePdf=new t("file-pdf",{fontCharacter:"\\eaeb"}),t.fileSubmodule=new t("file-submodule",{fontCharacter:"\\eaec"}),t.fileSymlinkDirectory=new t("file-symlink-directory",{fontCharacter:"\\eaed"}),t.fileSymlinkFile=new t("file-symlink-file",{fontCharacter:"\\eaee"}),t.fileZip=new t("file-zip",{fontCharacter:"\\eaef"}),t.files=new t("files",{fontCharacter:"\\eaf0"}),t.filter=new t("filter",{fontCharacter:"\\eaf1"}),t.flame=new t("flame",{fontCharacter:"\\eaf2"}),t.foldDown=new t("fold-down",{fontCharacter:"\\eaf3"}),t.foldUp=new t("fold-up",{fontCharacter:"\\eaf4"}),t.fold=new t("fold",{fontCharacter:"\\eaf5"}),t.folderActive=new t("folder-active",{fontCharacter:"\\eaf6"}),t.folderOpened=new t("folder-opened",{fontCharacter:"\\eaf7"}),t.gear=new t("gear",{fontCharacter:"\\eaf8"}),t.gift=new t("gift",{fontCharacter:"\\eaf9"}),t.gistSecret=new t("gist-secret",{fontCharacter:"\\eafa"}),t.gist=new t("gist",{fontCharacter:"\\eafb"}),t.gitCommit=new t("git-commit",{fontCharacter:"\\eafc"}),t.gitCompare=new t("git-compare",{fontCharacter:"\\eafd"}),t.gitMerge=new t("git-merge",{fontCharacter:"\\eafe"}),t.githubAction=new t("github-action",{fontCharacter:"\\eaff"}),t.githubAlt=new t("github-alt",{fontCharacter:"\\eb00"}),t.globe=new t("globe",{fontCharacter:"\\eb01"}),t.grabber=new t("grabber",{fontCharacter:"\\eb02"}),t.graph=new t("graph",{fontCharacter:"\\eb03"}),t.gripper=new t("gripper",{fontCharacter:"\\eb04"}),t.heart=new t("heart",{fontCharacter:"\\eb05"}),t.home=new t("home",{fontCharacter:"\\eb06"}),t.horizontalRule=new t("horizontal-rule",{fontCharacter:"\\eb07"}),t.hubot=new t("hubot",{fontCharacter:"\\eb08"}),t.inbox=new t("inbox",{fontCharacter:"\\eb09"}),t.issueClosed=new t("issue-closed",{fontCharacter:"\\eb0a"}),t.issueReopened=new t("issue-reopened",{fontCharacter:"\\eb0b"}),t.issues=new t("issues",{fontCharacter:"\\eb0c"}),t.italic=new t("italic",{fontCharacter:"\\eb0d"}),t.jersey=new t("jersey",{fontCharacter:"\\eb0e"}),t.json=new t("json",{fontCharacter:"\\eb0f"}),t.kebabVertical=new t("kebab-vertical",{fontCharacter:"\\eb10"}),t.key=new t("key",{fontCharacter:"\\eb11"}),t.law=new t("law",{fontCharacter:"\\eb12"}),t.lightbulbAutofix=new t("lightbulb-autofix",{fontCharacter:"\\eb13"}),t.linkExternal=new t("link-external",{fontCharacter:"\\eb14"}),t.link=new t("link",{fontCharacter:"\\eb15"}),t.listOrdered=new t("list-ordered",{fontCharacter:"\\eb16"}),t.listUnordered=new t("list-unordered",{fontCharacter:"\\eb17"}),t.liveShare=new t("live-share",{fontCharacter:"\\eb18"}),t.loading=new t("loading",{fontCharacter:"\\eb19"}),t.location=new t("location",{fontCharacter:"\\eb1a"}),t.mailRead=new t("mail-read",{fontCharacter:"\\eb1b"}),t.mail=new t("mail",{fontCharacter:"\\eb1c"}),t.markdown=new t("markdown",{fontCharacter:"\\eb1d"}),t.megaphone=new t("megaphone",{fontCharacter:"\\eb1e"}),t.mention=new t("mention",{fontCharacter:"\\eb1f"}),t.milestone=new t("milestone",{fontCharacter:"\\eb20"}),t.mortarBoard=new t("mortar-board",{fontCharacter:"\\eb21"}),t.move=new t("move",{fontCharacter:"\\eb22"}),t.multipleWindows=new t("multiple-windows",{fontCharacter:"\\eb23"}),t.mute=new t("mute",{fontCharacter:"\\eb24"}),t.noNewline=new t("no-newline",{fontCharacter:"\\eb25"}),t.note=new t("note",{fontCharacter:"\\eb26"}),t.octoface=new t("octoface",{fontCharacter:"\\eb27"}),t.openPreview=new t("open-preview",{fontCharacter:"\\eb28"}),t.package_=new t("package",{fontCharacter:"\\eb29"}),t.paintcan=new t("paintcan",{fontCharacter:"\\eb2a"}),t.pin=new t("pin",{fontCharacter:"\\eb2b"}),t.play=new t("play",{fontCharacter:"\\eb2c"}),t.run=new t("run",{fontCharacter:"\\eb2c"}),t.plug=new t("plug",{fontCharacter:"\\eb2d"}),t.preserveCase=new t("preserve-case",{fontCharacter:"\\eb2e"}),t.preview=new t("preview",{fontCharacter:"\\eb2f"}),t.project=new t("project",{fontCharacter:"\\eb30"}),t.pulse=new t("pulse",{fontCharacter:"\\eb31"}),t.question=new t("question",{fontCharacter:"\\eb32"}),t.quote=new t("quote",{fontCharacter:"\\eb33"}),t.radioTower=new t("radio-tower",{fontCharacter:"\\eb34"}),t.reactions=new t("reactions",{fontCharacter:"\\eb35"}),t.references=new t("references",{fontCharacter:"\\eb36"}),t.refresh=new t("refresh",{fontCharacter:"\\eb37"}),t.regex=new t("regex",{fontCharacter:"\\eb38"}),t.remoteExplorer=new t("remote-explorer",{fontCharacter:"\\eb39"}),t.remote=new t("remote",{fontCharacter:"\\eb3a"}),t.remove=new t("remove",{fontCharacter:"\\eb3b"}),t.replaceAll=new t("replace-all",{fontCharacter:"\\eb3c"}),t.replace=new t("replace",{fontCharacter:"\\eb3d"}),t.repoClone=new t("repo-clone",{fontCharacter:"\\eb3e"}),t.repoForcePush=new t("repo-force-push",{fontCharacter:"\\eb3f"}),t.repoPull=new t("repo-pull",{fontCharacter:"\\eb40"}),t.repoPush=new t("repo-push",{fontCharacter:"\\eb41"}),t.report=new t("report",{fontCharacter:"\\eb42"}),t.requestChanges=new t("request-changes",{fontCharacter:"\\eb43"}),t.rocket=new t("rocket",{fontCharacter:"\\eb44"}),t.rootFolderOpened=new t("root-folder-opened",{fontCharacter:"\\eb45"}),t.rootFolder=new t("root-folder",{fontCharacter:"\\eb46"}),t.rss=new t("rss",{fontCharacter:"\\eb47"}),t.ruby=new t("ruby",{fontCharacter:"\\eb48"}),t.saveAll=new t("save-all",{fontCharacter:"\\eb49"}),t.saveAs=new t("save-as",{fontCharacter:"\\eb4a"}),t.save=new t("save",{fontCharacter:"\\eb4b"}),t.screenFull=new t("screen-full",{fontCharacter:"\\eb4c"}),t.screenNormal=new t("screen-normal",{fontCharacter:"\\eb4d"}),t.searchStop=new t("search-stop",{fontCharacter:"\\eb4e"}),t.server=new t("server",{fontCharacter:"\\eb50"}),t.settingsGear=new t("settings-gear",{fontCharacter:"\\eb51"}),t.settings=new t("settings",{fontCharacter:"\\eb52"}),t.shield=new t("shield",{fontCharacter:"\\eb53"}),t.smiley=new t("smiley",{fontCharacter:"\\eb54"}),t.sortPrecedence=new t("sort-precedence",{fontCharacter:"\\eb55"}),t.splitHorizontal=new t("split-horizontal",{fontCharacter:"\\eb56"}),t.splitVertical=new t("split-vertical",{fontCharacter:"\\eb57"}),t.squirrel=new t("squirrel",{fontCharacter:"\\eb58"}),t.starFull=new t("star-full",{fontCharacter:"\\eb59"}),t.starHalf=new t("star-half",{fontCharacter:"\\eb5a"}),t.symbolClass=new t("symbol-class",{fontCharacter:"\\eb5b"}),t.symbolColor=new t("symbol-color",{fontCharacter:"\\eb5c"}),t.symbolConstant=new t("symbol-constant",{fontCharacter:"\\eb5d"}),t.symbolEnumMember=new t("symbol-enum-member",{fontCharacter:"\\eb5e"}),t.symbolField=new t("symbol-field",{fontCharacter:"\\eb5f"}),t.symbolFile=new t("symbol-file",{fontCharacter:"\\eb60"}),t.symbolInterface=new t("symbol-interface",{fontCharacter:"\\eb61"}),t.symbolKeyword=new t("symbol-keyword",{fontCharacter:"\\eb62"}),t.symbolMisc=new t("symbol-misc",{fontCharacter:"\\eb63"}),t.symbolOperator=new t("symbol-operator",{fontCharacter:"\\eb64"}),t.symbolProperty=new t("symbol-property",{fontCharacter:"\\eb65"}),t.wrench=new t("wrench",{fontCharacter:"\\eb65"}),t.wrenchSubaction=new t("wrench-subaction",{fontCharacter:"\\eb65"}),t.symbolSnippet=new t("symbol-snippet",{fontCharacter:"\\eb66"}),t.tasklist=new t("tasklist",{fontCharacter:"\\eb67"}),t.telescope=new t("telescope",{fontCharacter:"\\eb68"}),t.textSize=new t("text-size",{fontCharacter:"\\eb69"}),t.threeBars=new t("three-bars",{fontCharacter:"\\eb6a"}),t.thumbsdown=new t("thumbsdown",{fontCharacter:"\\eb6b"}),t.thumbsup=new t("thumbsup",{fontCharacter:"\\eb6c"}),t.tools=new t("tools",{fontCharacter:"\\eb6d"}),t.triangleDown=new t("triangle-down",{fontCharacter:"\\eb6e"}),t.triangleLeft=new t("triangle-left",{fontCharacter:"\\eb6f"}),t.triangleRight=new t("triangle-right",{fontCharacter:"\\eb70"}),t.triangleUp=new t("triangle-up",{fontCharacter:"\\eb71"}),t.twitter=new t("twitter",{fontCharacter:"\\eb72"}),t.unfold=new t("unfold",{fontCharacter:"\\eb73"}),t.unlock=new t("unlock",{fontCharacter:"\\eb74"}),t.unmute=new t("unmute",{fontCharacter:"\\eb75"}),t.unverified=new t("unverified",{fontCharacter:"\\eb76"}),t.verified=new t("verified",{fontCharacter:"\\eb77"}),t.versions=new t("versions",{fontCharacter:"\\eb78"}),t.vmActive=new t("vm-active",{fontCharacter:"\\eb79"}),t.vmOutline=new t("vm-outline",{fontCharacter:"\\eb7a"}),t.vmRunning=new t("vm-running",{fontCharacter:"\\eb7b"}),t.watch=new t("watch",{fontCharacter:"\\eb7c"}),t.whitespace=new t("whitespace",{fontCharacter:"\\eb7d"}),t.wholeWord=new t("whole-word",{fontCharacter:"\\eb7e"}),t.window=new t("window",{fontCharacter:"\\eb7f"}),t.wordWrap=new t("word-wrap",{fontCharacter:"\\eb80"}),t.zoomIn=new t("zoom-in",{fontCharacter:"\\eb81"}),t.zoomOut=new t("zoom-out",{fontCharacter:"\\eb82"}),t.listFilter=new t("list-filter",{fontCharacter:"\\eb83"}),t.listFlat=new t("list-flat",{fontCharacter:"\\eb84"}),t.listSelection=new t("list-selection",{fontCharacter:"\\eb85"}),t.selection=new t("selection",{fontCharacter:"\\eb85"}),t.listTree=new t("list-tree",{fontCharacter:"\\eb86"}),t.debugBreakpointFunctionUnverified=new t("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),t.debugBreakpointFunction=new t("debug-breakpoint-function",{fontCharacter:"\\eb88"}),t.debugBreakpointFunctionDisabled=new t("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),t.debugStackframeActive=new t("debug-stackframe-active",{fontCharacter:"\\eb89"}),t.debugStackframeDot=new t("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),t.debugStackframe=new t("debug-stackframe",{fontCharacter:"\\eb8b"}),t.debugStackframeFocused=new t("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),t.debugBreakpointUnsupported=new t("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),t.symbolString=new t("symbol-string",{fontCharacter:"\\eb8d"}),t.debugReverseContinue=new t("debug-reverse-continue",{fontCharacter:"\\eb8e"}),t.debugStepBack=new t("debug-step-back",{fontCharacter:"\\eb8f"}),t.debugRestartFrame=new t("debug-restart-frame",{fontCharacter:"\\eb90"}),t.callIncoming=new t("call-incoming",{fontCharacter:"\\eb92"}),t.callOutgoing=new t("call-outgoing",{fontCharacter:"\\eb93"}),t.menu=new t("menu",{fontCharacter:"\\eb94"}),t.expandAll=new t("expand-all",{fontCharacter:"\\eb95"}),t.feedback=new t("feedback",{fontCharacter:"\\eb96"}),t.groupByRefType=new t("group-by-ref-type",{fontCharacter:"\\eb97"}),t.ungroupByRefType=new t("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),t.account=new t("account",{fontCharacter:"\\eb99"}),t.bellDot=new t("bell-dot",{fontCharacter:"\\eb9a"}),t.debugConsole=new t("debug-console",{fontCharacter:"\\eb9b"}),t.library=new t("library",{fontCharacter:"\\eb9c"}),t.output=new t("output",{fontCharacter:"\\eb9d"}),t.runAll=new t("run-all",{fontCharacter:"\\eb9e"}),t.syncIgnored=new t("sync-ignored",{fontCharacter:"\\eb9f"}),t.pinned=new t("pinned",{fontCharacter:"\\eba0"}),t.githubInverted=new t("github-inverted",{fontCharacter:"\\eba1"}),t.debugAlt=new t("debug-alt",{fontCharacter:"\\eb91"}),t.serverProcess=new t("server-process",{fontCharacter:"\\eba2"}),t.serverEnvironment=new t("server-environment",{fontCharacter:"\\eba3"}),t.pass=new t("pass",{fontCharacter:"\\eba4"}),t.stopCircle=new t("stop-circle",{fontCharacter:"\\eba5"}),t.playCircle=new t("play-circle",{fontCharacter:"\\eba6"}),t.record=new t("record",{fontCharacter:"\\eba7"}),t.debugAltSmall=new t("debug-alt-small",{fontCharacter:"\\eba8"}),t.vmConnect=new t("vm-connect",{fontCharacter:"\\eba9"}),t.cloud=new t("cloud",{fontCharacter:"\\ebaa"}),t.merge=new t("merge",{fontCharacter:"\\ebab"}),t.exportIcon=new t("export",{fontCharacter:"\\ebac"}),t.graphLeft=new t("graph-left",{fontCharacter:"\\ebad"}),t.magnet=new t("magnet",{fontCharacter:"\\ebae"}),t.notebook=new t("notebook",{fontCharacter:"\\ebaf"}),t.redo=new t("redo",{fontCharacter:"\\ebb0"}),t.checkAll=new t("check-all",{fontCharacter:"\\ebb1"}),t.pinnedDirty=new t("pinned-dirty",{fontCharacter:"\\ebb2"}),t.passFilled=new t("pass-filled",{fontCharacter:"\\ebb3"}),t.circleLargeFilled=new t("circle-large-filled",{fontCharacter:"\\ebb4"}),t.circleLargeOutline=new t("circle-large-outline",{fontCharacter:"\\ebb5"}),t.combine=new t("combine",{fontCharacter:"\\ebb6"}),t.gather=new t("gather",{fontCharacter:"\\ebb6"}),t.table=new t("table",{fontCharacter:"\\ebb7"}),t.variableGroup=new t("variable-group",{fontCharacter:"\\ebb8"}),t.typeHierarchy=new t("type-hierarchy",{fontCharacter:"\\ebb9"}),t.typeHierarchySub=new t("type-hierarchy-sub",{fontCharacter:"\\ebba"}),t.typeHierarchySuper=new t("type-hierarchy-super",{fontCharacter:"\\ebbb"}),t.gitPullRequestCreate=new t("git-pull-request-create",{fontCharacter:"\\ebbc"}),t.runAbove=new t("run-above",{fontCharacter:"\\ebbd"}),t.runBelow=new t("run-below",{fontCharacter:"\\ebbe"}),t.notebookTemplate=new t("notebook-template",{fontCharacter:"\\ebbf"}),t.debugRerun=new t("debug-rerun",{fontCharacter:"\\ebc0"}),t.workspaceTrusted=new t("workspace-trusted",{fontCharacter:"\\ebc1"}),t.workspaceUntrusted=new t("workspace-untrusted",{fontCharacter:"\\ebc2"}),t.workspaceUnspecified=new t("workspace-unspecified",{fontCharacter:"\\ebc3"}),t.terminalCmd=new t("terminal-cmd",{fontCharacter:"\\ebc4"}),t.terminalDebian=new t("terminal-debian",{fontCharacter:"\\ebc5"}),t.terminalLinux=new t("terminal-linux",{fontCharacter:"\\ebc6"}),t.terminalPowershell=new t("terminal-powershell",{fontCharacter:"\\ebc7"}),t.terminalTmux=new t("terminal-tmux",{fontCharacter:"\\ebc8"}),t.terminalUbuntu=new t("terminal-ubuntu",{fontCharacter:"\\ebc9"}),t.terminalBash=new t("terminal-bash",{fontCharacter:"\\ebca"}),t.arrowSwap=new t("arrow-swap",{fontCharacter:"\\ebcb"}),t.copy=new t("copy",{fontCharacter:"\\ebcc"}),t.personAdd=new t("person-add",{fontCharacter:"\\ebcd"}),t.filterFilled=new t("filter-filled",{fontCharacter:"\\ebce"}),t.wand=new t("wand",{fontCharacter:"\\ebcf"}),t.debugLineByLine=new t("debug-line-by-line",{fontCharacter:"\\ebd0"}),t.dropDownButton=new t("drop-down-button",t.chevronDown.definition)}(m||(m={}))},Vtyv:function(Ie,M,e){},VvMK:function(Ie,M,e){},Vxe3:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("codeEditorService")},VzZb:function(Ie,M,e){},W38Z:function(Ie,M,e){},W3HW:function(Ie,M,e){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.flattenNames=void 0;var u=e("4qC0"),c=v(u),r=e("Ag8Z"),f=v(r),o=e("YO3V"),i=v(o),a=e("3WF5"),n=v(a);function v(h){return h&&h.__esModule?h:{default:h}}var m=M.flattenNames=function h(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=[];return(0,n.default)(t,function(p){Array.isArray(p)?h(p).map(function(w){return l.push(w)}):(0,i.default)(p)?(0,f.default)(p,function(w,S){w===!0&&l.push(S),l.push(S+"-"+w)}):(0,c.default)(p)&&l.push(p)}),l};M.default=m},W9cx:function(Ie,M,e){"use strict";e.d(M,"a",function(){return a}),e.d(M,"b",function(){return n}),e.d(M,"c",function(){return v});var u=e("qLMh"),c=e("pmY6"),r=e("N0LK"),f=e("bY76"),o=e("Cg/j"),i=function(m,h,t,l){function p(w){return w instanceof t?w:new t(function(S){S(w)})}return new(t||(t=Promise))(function(w,S){function k(Y){try{I(l.next(Y))}catch($){S($)}}function T(Y){try{I(l.throw(Y))}catch($){S($)}}function I(Y){Y.done?w(Y.value):p(Y.value).then(k,T)}I((l=l.apply(m,h||[])).next())})},a=Object(o.c)("openerService"),n=Object.freeze({_serviceBrand:void 0,registerOpener:function(){return c.a.None},registerValidator:function(){return c.a.None},registerExternalUriResolver:function(){return c.a.None},setDefaultExternalOpener:function(){},registerExternalOpener:function(){return c.a.None},open:function(){return i(this,void 0,void 0,Object(u.a)().mark(function h(){return Object(u.a)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",!1);case 1:case"end":return l.stop()}},h)}))},resolveExternalUri:function(h){return i(this,void 0,void 0,Object(u.a)().mark(function t(){return Object(u.a)().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",{resolved:h,dispose:function(){}});case 1:case"end":return p.stop()}},t)}))}});function v(m,h){return f.a.isUri(m)?Object(r.s)(m.scheme,h):Object(r.R)(m,h+":")}},WBhO:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("modeService")},WFLz:function(Ie,M,e){"use strict";e.d(M,"a",function(){return E});var u=e("rePB"),c=e("ODXe"),r=e("VTBJ"),f=e("Ff2n"),o=e("nKUr"),i=e("PjWh"),a=["colon","dependencies","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","initialValue","noStyle","label","labelAlign","labelCol","name","preserve","normalize","required","rules","shouldUpdate","trigger","validateFirst","validateStatus","validateTrigger","valuePropName","wrapperCol","hidden","addonBefore","addonAfter"];function n(D){var W={};return a.forEach(function(te){D[te]!==void 0&&(W[te]=D[te])}),W}var v=e("ft2k"),m=e("ipCM"),h=e("TSYQ"),t=e.n(h),l=e("85Yc"),p=e("Kwbf"),w=e("q1tI"),S=e.n(w),k=e("AMKO"),T=e("DVw6"),I=e("WuYN"),Y=e("lS/g"),$=e("a7SZ"),A=["valueType","customLightMode","lightFilterLabelFormatter","valuePropName","ignoreWidth","defaultProps"],g=["label","tooltip","placeholder","width","bordered","messageVariables","ignoreFormItem","transform","convertValue","readonly","allowClear","colSize","getFormItemProps","getFieldProps","filedConfig","cacheForSwr","proFieldProps"],b=Symbol("ProFormComponent"),d={xs:104,s:216,sm:216,m:328,md:328,l:440,lg:440,xl:552},O=["switch","radioButton","radio","rate"];function E(D,W){D.displayName="ProFormComponent";var te=function(q){var oe=Object(r.a)(Object(r.a)({},q==null?void 0:q.filedConfig),W)||{},he=oe.valueType,ue=oe.customLightMode,ne=oe.lightFilterLabelFormatter,se=oe.valuePropName,be=se===void 0?"value":se,Z=oe.ignoreWidth,ee=oe.defaultProps,ce=Object(f.a)(oe,A),R=Object(r.a)(Object(r.a)({},ee),q),y=R.label,C=R.tooltip,z=R.placeholder,G=R.width,X=R.bordered,pe=R.messageVariables,ae=R.ignoreFormItem,Se=R.transform,Te=R.convertValue,je=R.readonly,ft=R.allowClear,fe=R.colSize,ie=R.getFormItemProps,ge=R.getFieldProps,Ve=R.filedConfig,Ee=R.cacheForSwr,Me=R.proFieldProps,_e=Object(f.a)(R,g),Re=he||_e.valueType,et=Object(w.useMemo)(function(){return Z||O.includes(Re)},[Z,Re]),Xe=Object(w.useState)(),it=Object(c.a)(Xe,2),bt=it[1],Ct=Object(w.useState)(),Bt=Object(c.a)(Ct,2),qe=Bt[0],st=Bt[1],ut=S.a.useContext(Y.b),nt=Object(w.useMemo)(function(){return{formItemProps:ie==null?void 0:ie(),fieldProps:ge==null?void 0:ge()}},[ge,ie,_e.dependenciesValues,qe]),kt=Object(w.useMemo)(function(){var en=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},ae?Object(i.a)({value:_e.value}):{}),{},{placeholder:z,disabled:q.disabled},ut.fieldProps),nt.fieldProps),_e.fieldProps);return en.style=Object(i.a)(en==null?void 0:en.style),en},[ae,_e.value,_e.fieldProps,z,q.disabled,ut.fieldProps,nt.fieldProps]),Sn=n(_e),Tt=Object(w.useMemo)(function(){return Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},ut.formItemProps),Sn),nt.formItemProps),_e.formItemProps)},[nt.formItemProps,ut.formItemProps,_e.formItemProps,Sn]),ht=Object(w.useMemo)(function(){return Object(r.a)(Object(r.a)({messageVariables:pe},ce),Tt)},[ce,Tt,pe]);Object(p.b)(!_e.defaultValue,"\u8BF7\u4E0D\u8981\u5728 Form \u4E2D\u4F7F\u7528 defaultXXX\u3002\u5982\u679C\u9700\u8981\u9ED8\u8BA4\u503C\u8BF7\u4F7F\u7528 initialValues \u548C initialValue\u3002");var Rt=Object(w.useContext)(l.FieldContext),Ft=Rt.prefixName,nn=Object(w.useMemo)(function(){var en,tn=ht==null?void 0:ht.name;Array.isArray(tn)&&(tn=tn.join("_")),Array.isArray(Ft)&&tn&&(tn="".concat(Ft.join("."),".").concat(tn));var wn=tn&&"form-".concat((en=ut.formKey)!==null&&en!==void 0?en:"","-field-").concat(tn);return wn},[Object(k.a)(ht==null?void 0:ht.name),Ft,ut.formKey]),bn=Object(v.a)(_e),sn=Object(w.useCallback)(function(){var en;ie||ge?st([]):_e.renderFormItem&&bt([]);for(var tn=arguments.length,wn=new Array(tn),on=0;on<tn;on++)wn[on]=arguments[on];kt==null||(en=kt.onChange)===null||en===void 0||en.call.apply(en,[kt].concat(wn))},[ge,ie,kt,_e.renderFormItem]),un=Object(w.useMemo)(function(){var en=Object(r.a)({width:G&&!d[G]?G:ut.grid?"100%":void 0},kt==null?void 0:kt.style);return et&&Reflect.deleteProperty(en,"width"),Object(i.a)(en)},[Object(k.a)(kt==null?void 0:kt.style),ut.grid,et,G]),Ht=Object(w.useMemo)(function(){var en=G&&d[G];return t()(kt==null?void 0:kt.className,Object(u.a)({"pro-field":en},"pro-field-".concat(G),en&&!et))||void 0},[G,kt==null?void 0:kt.className,et]),jn=Object(w.useMemo)(function(){return Object(i.a)(Object(r.a)({mode:_e==null?void 0:_e.mode,readonly:je,params:_e.params,proFieldKey:nn,cacheForSwr:Ee},Me))},[_e==null?void 0:_e.mode,_e.params,je,nn,Ee,Me]),Ln=Object(w.useMemo)(function(){return Object(r.a)(Object(r.a)({onChange:sn,allowClear:ft},kt),{},{style:un,className:Ht})},[ft,Ht,sn,kt,un]),Un=Object(w.useMemo)(function(){return Object(o.jsx)(D,Object(r.a)(Object(r.a)({},_e),{},{fieldProps:Ln,proFieldProps:jn,ref:q==null?void 0:q.fieldRef}),q.proFormFieldKey||q.name)},[jn,Ln,Object(m.a)(bn,_e,["onChange","onBlur","onFocus","record"])?void 0:{}]),lt=Object(w.useMemo)(function(){var en,tn,wn,on;return Object(o.jsx)(T.a,Object(r.a)(Object(r.a)({label:y&&(Me==null?void 0:Me.light)!==!0?y:void 0,tooltip:(Me==null?void 0:Me.light)!==!0&&C,valuePropName:be},ht),{},{ignoreFormItem:ae,transform:Se,dataFormat:kt==null?void 0:kt.format,valueType:Re,messageVariables:Object(r.a)({label:y||""},ht==null?void 0:ht.messageVariables),convertValue:Te,lightProps:Object(i.a)(Object(r.a)(Object(r.a)(Object(r.a)({},kt),{},{valueType:Re,bordered:X,allowClear:(en=Un==null||(tn=Un.props)===null||tn===void 0?void 0:tn.allowClear)!==null&&en!==void 0?en:ft,light:Me==null?void 0:Me.light,label:y,customLightMode:ue,labelFormatter:ne,valuePropName:be,footerRender:Un==null||(wn=Un.props)===null||wn===void 0?void 0:wn.footerRender},_e.lightProps),ht.lightProps)),children:Un}),q.proFormFieldKey||((on=ht.name)===null||on===void 0?void 0:on.toString()))},[y,Me==null?void 0:Me.light,C,be,q.proFormFieldKey,ht,ae,Se,kt,Re,Te,X,Un,ft,ue,ne,_e.lightProps]),Nt=Object($.b)(_e),zt=Nt.ColWrapper;return Object(o.jsx)(zt,{children:lt})},re=function(q){var oe=q.dependencies;return oe?Object(o.jsx)(I.a,{name:oe,children:function(ue){return Object(o.jsx)(te,Object(r.a)({dependenciesValues:ue,dependencies:oe},q))}}):Object(o.jsx)(te,Object(r.a)({dependencies:oe},q))};return re}},WPeF:function(Ie,M){function e(u,c,r,f,o){return o(u,function(i,a,n){r=f?(f=!1,i):c(r,i,a,n)}),r}Ie.exports=e},WaYH:function(Ie,M,e){"use strict";var u=e("wx14"),c=e("rePB"),r=e("Ff2n"),f=e("VTBJ"),o=e("1OyB"),i=e("vuIU"),a=e("JX7q"),n=e("Ji7U"),v=e("LK+K"),m=e("TSYQ"),h=e.n(m),t=e("bX4T"),l=e("q1tI"),p=e("sboe"),w=function(O){for(var E=O.prefixCls,D=O.level,W=O.isStart,te=O.isEnd,re="".concat(E,"-indent-unit"),ye=[],q=0;q<D;q+=1){var oe;ye.push(l.createElement("span",{key:q,className:h()(re,(oe={},Object(c.a)(oe,"".concat(re,"-start"),W[q]),Object(c.a)(oe,"".concat(re,"-end"),te[q]),oe))}))}return l.createElement("span",{"aria-hidden":"true",className:"".concat(E,"-indent")},ye)},S=l.memo(w),k=e("815F"),T=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],I="open",Y="close",$="---",A=function(d){Object(n.a)(E,d);var O=Object(v.a)(E);function E(){var D;Object(o.a)(this,E);for(var W=arguments.length,te=new Array(W),re=0;re<W;re++)te[re]=arguments[re];return D=O.call.apply(O,[this].concat(te)),D.state={dragNodeHighlight:!1},D.selectHandle=void 0,D.cacheIndent=void 0,D.onSelectorClick=function(ye){var q=D.props.context.onNodeClick;q(ye,Object(k.b)(D.props)),D.isSelectable()?D.onSelect(ye):D.onCheck(ye)},D.onSelectorDoubleClick=function(ye){var q=D.props.context.onNodeDoubleClick;q(ye,Object(k.b)(D.props))},D.onSelect=function(ye){if(!D.isDisabled()){var q=D.props.context.onNodeSelect;ye.preventDefault(),q(ye,Object(k.b)(D.props))}},D.onCheck=function(ye){if(!D.isDisabled()){var q=D.props,oe=q.disableCheckbox,he=q.checked,ue=D.props.context.onNodeCheck;if(!(!D.isCheckable()||oe)){ye.preventDefault();var ne=!he;ue(ye,Object(k.b)(D.props),ne)}}},D.onMouseEnter=function(ye){var q=D.props.context.onNodeMouseEnter;q(ye,Object(k.b)(D.props))},D.onMouseLeave=function(ye){var q=D.props.context.onNodeMouseLeave;q(ye,Object(k.b)(D.props))},D.onContextMenu=function(ye){var q=D.props.context.onNodeContextMenu;q(ye,Object(k.b)(D.props))},D.onDragStart=function(ye){var q=D.props.context.onNodeDragStart;ye.stopPropagation(),D.setState({dragNodeHighlight:!0}),q(ye,Object(a.a)(D));try{ye.dataTransfer.setData("text/plain","")}catch(oe){}},D.onDragEnter=function(ye){var q=D.props.context.onNodeDragEnter;ye.preventDefault(),ye.stopPropagation(),q(ye,Object(a.a)(D))},D.onDragOver=function(ye){var q=D.props.context.onNodeDragOver;ye.preventDefault(),ye.stopPropagation(),q(ye,Object(a.a)(D))},D.onDragLeave=function(ye){var q=D.props.context.onNodeDragLeave;ye.stopPropagation(),q(ye,Object(a.a)(D))},D.onDragEnd=function(ye){var q=D.props.context.onNodeDragEnd;ye.stopPropagation(),D.setState({dragNodeHighlight:!1}),q(ye,Object(a.a)(D))},D.onDrop=function(ye){var q=D.props.context.onNodeDrop;ye.preventDefault(),ye.stopPropagation(),D.setState({dragNodeHighlight:!1}),q(ye,Object(a.a)(D))},D.onExpand=function(ye){var q=D.props,oe=q.loading,he=q.context.onNodeExpand;oe||he(ye,Object(k.b)(D.props))},D.setSelectHandle=function(ye){D.selectHandle=ye},D.getNodeState=function(){var ye=D.props.expanded;return D.isLeaf()?null:ye?I:Y},D.hasChildren=function(){var ye=D.props.eventKey,q=D.props.context.keyEntities,oe=q[ye]||{},he=oe.children;return!!(he||[]).length},D.isLeaf=function(){var ye=D.props,q=ye.isLeaf,oe=ye.loaded,he=D.props.context.loadData,ue=D.hasChildren();return q===!1?!1:q||!he&&!ue||he&&oe&&!ue},D.isDisabled=function(){var ye=D.props.disabled,q=D.props.context.disabled;return!!(q||ye)},D.isCheckable=function(){var ye=D.props.checkable,q=D.props.context.checkable;return!q||ye===!1?!1:q},D.syncLoadData=function(ye){var q=ye.expanded,oe=ye.loading,he=ye.loaded,ue=D.props.context,ne=ue.loadData,se=ue.onNodeLoad;oe||ne&&q&&!D.isLeaf()&&!D.hasChildren()&&!he&&se(Object(k.b)(D.props))},D.isDraggable=function(){var ye=D.props,q=ye.data,oe=ye.context.draggable;return!!(oe&&(!oe.nodeDraggable||oe.nodeDraggable(q)))},D.renderDragHandler=function(){var ye=D.props.context,q=ye.draggable,oe=ye.prefixCls;return(q==null?void 0:q.icon)?l.createElement("span",{className:"".concat(oe,"-draggable-icon")},q.icon):null},D.renderSwitcherIconDom=function(ye){var q=D.props.switcherIcon,oe=D.props.context.switcherIcon,he=q||oe;return typeof he=="function"?he(Object(f.a)(Object(f.a)({},D.props),{},{isLeaf:ye})):he},D.renderSwitcher=function(){var ye=D.props.expanded,q=D.props.context.prefixCls;if(D.isLeaf()){var oe=D.renderSwitcherIconDom(!0);return oe!==!1?l.createElement("span",{className:h()("".concat(q,"-switcher"),"".concat(q,"-switcher-noop"))},oe):null}var he=h()("".concat(q,"-switcher"),"".concat(q,"-switcher_").concat(ye?I:Y)),ue=D.renderSwitcherIconDom(!1);return ue!==!1?l.createElement("span",{onClick:D.onExpand,className:he},ue):null},D.renderCheckbox=function(){var ye=D.props,q=ye.checked,oe=ye.halfChecked,he=ye.disableCheckbox,ue=D.props.context.prefixCls,ne=D.isDisabled(),se=D.isCheckable();if(!se)return null;var be=typeof se!="boolean"?se:null;return l.createElement("span",{className:h()("".concat(ue,"-checkbox"),q&&"".concat(ue,"-checkbox-checked"),!q&&oe&&"".concat(ue,"-checkbox-indeterminate"),(ne||he)&&"".concat(ue,"-checkbox-disabled")),onClick:D.onCheck},be)},D.renderIcon=function(){var ye=D.props.loading,q=D.props.context.prefixCls;return l.createElement("span",{className:h()("".concat(q,"-iconEle"),"".concat(q,"-icon__").concat(D.getNodeState()||"docu"),ye&&"".concat(q,"-icon_loading"))})},D.renderSelector=function(){var ye=D.state.dragNodeHighlight,q=D.props,oe=q.title,he=oe===void 0?$:oe,ue=q.selected,ne=q.icon,se=q.loading,be=q.data,Z=D.props.context,ee=Z.prefixCls,ce=Z.showIcon,R=Z.icon,y=Z.loadData,C=Z.titleRender,z=D.isDisabled(),G="".concat(ee,"-node-content-wrapper"),X;if(ce){var pe=ne||R;X=pe?l.createElement("span",{className:h()("".concat(ee,"-iconEle"),"".concat(ee,"-icon__customize"))},typeof pe=="function"?pe(D.props):pe):D.renderIcon()}else y&&se&&(X=D.renderIcon());var ae;typeof he=="function"?ae=he(be):C?ae=C(be):ae=he;var Se=l.createElement("span",{className:"".concat(ee,"-title")},ae);return l.createElement("span",{ref:D.setSelectHandle,title:typeof he=="string"?he:"",className:h()("".concat(G),"".concat(G,"-").concat(D.getNodeState()||"normal"),!z&&(ue||ye)&&"".concat(ee,"-node-selected")),onMouseEnter:D.onMouseEnter,onMouseLeave:D.onMouseLeave,onContextMenu:D.onContextMenu,onClick:D.onSelectorClick,onDoubleClick:D.onSelectorDoubleClick},X,Se,D.renderDropIndicator())},D.renderDropIndicator=function(){var ye=D.props,q=ye.disabled,oe=ye.eventKey,he=D.props.context,ue=he.draggable,ne=he.dropLevelOffset,se=he.dropPosition,be=he.prefixCls,Z=he.indent,ee=he.dropIndicatorRender,ce=he.dragOverNodeKey,R=he.direction,y=!!ue,C=!q&&y&&ce===oe,z=Z!=null?Z:D.cacheIndent;return D.cacheIndent=Z,C?ee({dropPosition:se,dropLevelOffset:ne,indent:z,prefixCls:be,direction:R}):null},D}return Object(i.a)(E,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var W=this.props.selectable,te=this.props.context.selectable;return typeof W=="boolean"?W:te}},{key:"render",value:function(){var W,te=this.props,re=te.eventKey,ye=te.className,q=te.style,oe=te.dragOver,he=te.dragOverGapTop,ue=te.dragOverGapBottom,ne=te.isLeaf,se=te.isStart,be=te.isEnd,Z=te.expanded,ee=te.selected,ce=te.checked,R=te.halfChecked,y=te.loading,C=te.domRef,z=te.active,G=te.data,X=te.onMouseMove,pe=te.selectable,ae=Object(r.a)(te,T),Se=this.props.context,Te=Se.prefixCls,je=Se.filterTreeNode,ft=Se.keyEntities,fe=Se.dropContainerKey,ie=Se.dropTargetKey,ge=Se.draggingNodeKey,Ve=this.isDisabled(),Ee=Object(t.a)(ae,{aria:!0,data:!0}),Me=ft[re]||{},_e=Me.level,Re=be[be.length-1],et=this.isDraggable(),Xe=!Ve&&et,it=ge===re,bt=pe!==void 0?{"aria-selected":!!pe}:void 0;return l.createElement("div",Object(u.a)({ref:C,className:h()(ye,"".concat(Te,"-treenode"),(W={},Object(c.a)(W,"".concat(Te,"-treenode-disabled"),Ve),Object(c.a)(W,"".concat(Te,"-treenode-switcher-").concat(Z?"open":"close"),!ne),Object(c.a)(W,"".concat(Te,"-treenode-checkbox-checked"),ce),Object(c.a)(W,"".concat(Te,"-treenode-checkbox-indeterminate"),R),Object(c.a)(W,"".concat(Te,"-treenode-selected"),ee),Object(c.a)(W,"".concat(Te,"-treenode-loading"),y),Object(c.a)(W,"".concat(Te,"-treenode-active"),z),Object(c.a)(W,"".concat(Te,"-treenode-leaf-last"),Re),Object(c.a)(W,"".concat(Te,"-treenode-draggable"),et),Object(c.a)(W,"dragging",it),Object(c.a)(W,"drop-target",ie===re),Object(c.a)(W,"drop-container",fe===re),Object(c.a)(W,"drag-over",!Ve&&oe),Object(c.a)(W,"drag-over-gap-top",!Ve&&he),Object(c.a)(W,"drag-over-gap-bottom",!Ve&&ue),Object(c.a)(W,"filter-node",je&&je(Object(k.b)(this.props))),W)),style:q,draggable:Xe,"aria-grabbed":it,onDragStart:Xe?this.onDragStart:void 0,onDragEnter:et?this.onDragEnter:void 0,onDragOver:et?this.onDragOver:void 0,onDragLeave:et?this.onDragLeave:void 0,onDrop:et?this.onDrop:void 0,onDragEnd:et?this.onDragEnd:void 0,onMouseMove:X},bt,Ee),l.createElement(S,{prefixCls:Te,level:_e,isStart:se,isEnd:be}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),E}(l.Component),g=function(O){return l.createElement(p.a.Consumer,null,function(E){return l.createElement(A,Object(u.a)({},O,{context:E}))})};g.displayName="TreeNode",g.isTreeNode=1;var b=M.a=g},"Wc6/":function(Ie,M,e){"use strict";e.d(M,"a",function(){return t}),e.d(M,"c",function(){return l});var u=e("+BJd"),c=e("mr32"),r=e("Ue1A"),f=e("zsHu"),o=e("2BaD"),i=e("wlus"),a=e("Icgb"),n=e("Lyp1"),v=e("HOj0"),m=e("nKUr"),h=e.n(m),t={FINISHED:"FINISHED",RUNNING:"RUNNING",FAILED:"FAILED",CANCELED:"CANCELED",INITIALIZING:"INITIALIZING",RESTARTING:"RESTARTING",CREATED:"CREATED",FAILING:"FAILING",SUSPENDED:"SUSPENDED",CANCELLING:"CANCELLING",RECONNECTING:"RECONNECTING",UNKNOWN:"UNKNOWN"};function l(w){if(!w)return!0;switch(w){case t.FAILED:case t.CANCELED:case t.FINISHED:case t.UNKNOWN:return!0;default:return!1}}var p=function(S){var k=S.status;return Object(m.jsx)(m.Fragment,{children:k==="FINISHED"?Object(m.jsx)(c.a,{icon:Object(m.jsx)(r.a,{}),color:"blue",children:Object(v.a)("pages.devops.jobstatus.FINISHED")}):k==="RUNNING"?Object(m.jsx)(c.a,{icon:Object(m.jsx)(f.a,{spin:!0}),color:"green",children:Object(v.a)("pages.devops.jobstatus.RUNNING")}):k==="FAILED"?Object(m.jsx)(c.a,{icon:Object(m.jsx)(o.a,{}),color:"error",children:Object(v.a)("pages.devops.jobstatus.FAILED")}):k==="CANCELED"?Object(m.jsx)(c.a,{icon:Object(m.jsx)(i.a,{}),color:"orange",children:Object(v.a)("pages.devops.jobstatus.CANCELED")}):k==="INITIALIZING"?Object(m.jsx)(c.a,{icon:Object(m.jsx)(a.a,{}),color:"default",children:Object(v.a)("pages.devops.jobstatus.INITIALIZING")}):k==="RESTARTING"?Object(m.jsx)(c.a,{icon:Object(m.jsx)(a.a,{}),color:"default",children:Object(v.a)("pages.devops.jobstatus.RESTARTING")}):k==="CREATED"?Object(m.jsx)(c.a,{icon:Object(m.jsx)(a.a,{}),color:"default",children:Object(v.a)("pages.devops.jobstatus.CREATED")}):k==="RECONNECTING"?Object(m.jsx)(c.a,{icon:Object(m.jsx)(a.a,{}),color:"default",children:Object(v.a)("pages.devops.jobstatus.RECONNECTING")}):Object(m.jsx)(c.a,{icon:Object(m.jsx)(n.a,{}),color:"default",children:Object(v.a)("pages.devops.jobstatus.UNKNOWN")})})};M.b=p},WjpJ:function(Ie,M,e){var u=e("HLqC"),c=u();Ie.exports=c},WqXY:function(Ie,M,e){"use strict";e.d(M,"a",function(){return T});var u=e("qLMh"),c=e("fWQN"),r=e("mtLc"),f=e("w4Tj"),o=e("oZsa"),i=e("yKVA"),a=e("879j"),n=e("yEoX"),v=e.n(n),m=e("pmY6"),h=e("8HAY"),t=e("EffR"),l=e("746U"),p=e("uDWl"),w=e("MI8n"),S=e("7/Ik"),k=function(I,Y,$,A){function g(b){return b instanceof $?b:new $(function(d){d(b)})}return new($||($=Promise))(function(b,d){function O(W){try{D(A.next(W))}catch(te){d(te)}}function E(W){try{D(A.throw(W))}catch(te){d(te)}}function D(W){W.done?b(W.value):g(W.value).then(O,E)}D((A=A.apply(I,Y||[])).next())})},T=function(I){Object(i.a)($,I);var Y=Object(a.a)($);function $(A){var g,b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Object(c.a)(this,$);var d,O,E,D,W,te;g=Y.call(this),g.triggerKeyDown=!1,g.focusable=!0,g._onDidBlur=g._register(new w.a),g.onDidBlur=g._onDidBlur.event,g._onDidCancel=g._register(new w.a({onFirstListenerAdd:function(){return g.cancelHasListener=!0}})),g.onDidCancel=g._onDidCancel.event,g.cancelHasListener=!1,g._onDidRun=g._register(new w.a),g.onDidRun=g._onDidRun.event,g._onBeforeRun=g._register(new w.a),g.onBeforeRun=g._onBeforeRun.event,g.options=b,g._context=(d=b.context)!==null&&d!==void 0?d:null,g._orientation=(O=g.options.orientation)!==null&&O!==void 0?O:0,g._triggerKeys={keyDown:(D=(E=g.options.triggerKeys)===null||E===void 0?void 0:E.keyDown)!==null&&D!==void 0?D:!1,keys:(te=(W=g.options.triggerKeys)===null||W===void 0?void 0:W.keys)!==null&&te!==void 0?te:[3,10]},g.options.actionRunner?g._actionRunner=g.options.actionRunner:(g._actionRunner=new h.b,g._register(g._actionRunner)),g._register(g._actionRunner.onDidRun(function(q){return g._onDidRun.fire(q)})),g._register(g._actionRunner.onBeforeRun(function(q){return g._onBeforeRun.fire(q)})),g._actionIds=[],g.viewItems=[],g.focusedItem=void 0,g.domNode=document.createElement("div"),g.domNode.className="monaco-action-bar",b.animated!==!1&&g.domNode.classList.add("animated");var re,ye;switch(g._orientation){case 0:re=[15],ye=[17];break;case 1:re=[16],ye=[18],g.domNode.className+=" vertical";break}return g._register(t.addDisposableListener(g.domNode,t.EventType.KEY_DOWN,function(q){var oe=new p.a(q),he=!0,ue=typeof g.focusedItem=="number"?g.viewItems[g.focusedItem]:void 0;re&&(oe.equals(re[0])||oe.equals(re[1]))?he=g.focusPrevious():ye&&(oe.equals(ye[0])||oe.equals(ye[1]))?he=g.focusNext():oe.equals(9)&&g.cancelHasListener?g._onDidCancel.fire():oe.equals(14)?he=g.focusFirst():oe.equals(13)?he=g.focusLast():oe.equals(2)&&ue instanceof S.b&&ue.trapsArrowNavigation?he=g.focusNext():g.isTriggerKeyEvent(oe)?g._triggerKeys.keyDown?g.doTrigger(oe):g.triggerKeyDown=!0:he=!1,he&&(oe.preventDefault(),oe.stopPropagation())})),g._register(t.addDisposableListener(g.domNode,t.EventType.KEY_UP,function(q){var oe=new p.a(q);g.isTriggerKeyEvent(oe)?(!g._triggerKeys.keyDown&&g.triggerKeyDown&&(g.triggerKeyDown=!1,g.doTrigger(oe)),oe.preventDefault(),oe.stopPropagation()):(oe.equals(2)||oe.equals(1024|2))&&g.updateFocusedItem()})),g.focusTracker=g._register(t.trackFocus(g.domNode)),g._register(g.focusTracker.onDidBlur(function(){(t.getActiveElement()===g.domNode||!t.isAncestor(t.getActiveElement(),g.domNode))&&(g._onDidBlur.fire(),g.focusedItem=void 0,g.triggerKeyDown=!1)})),g._register(g.focusTracker.onDidFocus(function(){return g.updateFocusedItem()})),g.actionsList=document.createElement("ul"),g.actionsList.className="actions-container",g.actionsList.setAttribute("role","toolbar"),g.options.ariaLabel&&g.actionsList.setAttribute("aria-label",g.options.ariaLabel),g.domNode.appendChild(g.actionsList),A.appendChild(g.domNode),g}return Object(r.a)($,[{key:"isTriggerKeyEvent",value:function(g){var b=!1;return this._triggerKeys.keys.forEach(function(d){b=b||g.equals(d)}),b}},{key:"updateFocusedItem",value:function(){for(var g=0;g<this.actionsList.children.length;g++){var b=this.actionsList.children[g];if(t.isAncestor(t.getActiveElement(),b)){this.focusedItem=g;break}}}},{key:"context",get:function(){return this._context},set:function(g){this._context=g,this.viewItems.forEach(function(b){return b.setActionContext(g)})}},{key:"actionRunner",get:function(){return this._actionRunner},set:function(g){g&&(this._actionRunner=g,this.viewItems.forEach(function(b){return b.actionRunner=g}))}},{key:"getContainer",value:function(){return this.domNode}},{key:"push",value:function(g){var b=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=Array.isArray(g)?g:[g],E=l.h(d.index)?d.index:null;O.forEach(function(D){var W=document.createElement("li");W.className="action-item",W.setAttribute("role","presentation"),b.options.allowContextMenu||b._register(t.addDisposableListener(W,t.EventType.CONTEXT_MENU,function(re){t.EventHelper.stop(re,!0)}));var te;b.options.actionViewItemProvider&&(te=b.options.actionViewItemProvider(D)),te||(te=new S.a(b.context,D,d)),te.actionRunner=b._actionRunner,te.setActionContext(b.context),te.render(W),b.focusable&&te instanceof S.b&&b.viewItems.length===0&&te.setFocusable(!0),E===null||E<0||E>=b.actionsList.children.length?(b.actionsList.appendChild(W),b.viewItems.push(te),b._actionIds.push(D.id)):(b.actionsList.insertBefore(W,b.actionsList.children[E]),b.viewItems.splice(E,0,te),b._actionIds.splice(E,0,D.id),E++)}),typeof this.focusedItem=="number"&&this.focus(this.focusedItem)}},{key:"clear",value:function(){Object(m.f)(this.viewItems),this.viewItems=[],this._actionIds=[],t.clearNode(this.actionsList)}},{key:"length",value:function(){return this.viewItems.length}},{key:"focus",value:function(g){var b=!1,d=void 0;if(g===void 0?b=!0:typeof g=="number"?d=g:typeof g=="boolean"&&(b=g),b&&typeof this.focusedItem=="undefined"){var O=this.viewItems.findIndex(function(E){return E.isEnabled()});this.focusedItem=O===-1?void 0:O,this.updateFocus()}else d!==void 0&&(this.focusedItem=d),this.updateFocus()}},{key:"focusFirst",value:function(){return this.focusedItem=this.length()>1?1:0,this.focusPrevious()}},{key:"focusLast",value:function(){return this.focusedItem=this.length()<2?0:this.length()-2,this.focusNext()}},{key:"focusNext",value:function(){if(typeof this.focusedItem=="undefined")this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;var g=this.focusedItem,b;do{if(this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=g,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,b=this.viewItems[this.focusedItem]}while(this.focusedItem!==g&&this.options.focusOnlyEnabledItems&&!b.isEnabled());return this.updateFocus(),!0}},{key:"focusPrevious",value:function(){if(typeof this.focusedItem=="undefined")this.focusedItem=0;else if(this.viewItems.length<=1)return!1;var g=this.focusedItem,b;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(this.options.preventLoopNavigation)return this.focusedItem=g,!1;this.focusedItem=this.viewItems.length-1}b=this.viewItems[this.focusedItem]}while(this.focusedItem!==g&&this.options.focusOnlyEnabledItems&&!b.isEnabled());return this.updateFocus(!0),!0}},{key:"updateFocus",value:function(g,b){typeof this.focusedItem=="undefined"&&this.actionsList.focus({preventScroll:b});for(var d=0;d<this.viewItems.length;d++){var O=this.viewItems[d],E=O;if(d===this.focusedItem){var D=!0;l.g(E.focus)||(D=!1),this.options.focusOnlyEnabledItems&&l.g(O.isEnabled)&&!O.isEnabled()&&(D=!1),D?E.focus(g):this.actionsList.focus({preventScroll:b})}else l.g(E.blur)&&E.blur()}}},{key:"doTrigger",value:function(g){if(typeof this.focusedItem!="undefined"){var b=this.viewItems[this.focusedItem];if(b instanceof S.b){var d=b._context===null||b._context===void 0?g:b._context;this.run(b._action,d)}}}},{key:"run",value:function(g,b){return k(this,void 0,void 0,Object(u.a)().mark(function d(){return Object(u.a)().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,this._actionRunner.run(g,b);case 2:case"end":return E.stop()}},d,this)}))}},{key:"dispose",value:function(){Object(m.f)(this.viewItems),this.viewItems=[],this._actionIds=[],this.getContainer().remove(),Object(f.a)(Object(o.a)($.prototype),"dispose",this).call(this)}}]),$}(m.a)},WuYN:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("y8nQ"),r=e("Vl3Y"),f=e("Ff2n"),o=e("nKUr"),i=e.n(o),a=e("wUu8"),n=e("ipCM"),v=e("/PRe"),m=e("ub+h"),h=e("bG1m"),t=e("q1tI"),l=e.n(t),p=e("x1Ii"),w=["name","children","ignoreFormListField"],S=function(T){var I=T.name,Y=T.children,$=T.ignoreFormListField,A=Object(f.a)(T,w),g=Object(t.useContext)(a.a),b=Object(t.useContext)(p.a),d=Object(t.useMemo)(function(){return I.map(function(O){var E,D=[O];return!$&&b.name!==void 0&&((E=b.listName)===null||E===void 0?void 0:E.length)&&D.unshift(b.listName),D.flat(1)})},[b.listName,b.name,$,I]);return Object(o.jsx)(r.a.Item,Object(u.a)(Object(u.a)({},A),{},{noStyle:!0,shouldUpdate:function(E,D,W){if(typeof A.shouldUpdate=="boolean")return A.shouldUpdate;if(typeof A.shouldUpdate=="function"){var te;return(te=A.shouldUpdate)===null||te===void 0?void 0:te.call(A,E,D,W)}return d.some(function(re){return!Object(n.a)(Object(m.a)(E,re),Object(m.a)(D,re))})},children:function(E){for(var D={},W=0;W<I.length;W++){var te,re=d[W],ye=I[W],q=[ye].flat(1),oe=(te=g.getFieldFormatValueObject)===null||te===void 0?void 0:te.call(g,re);if(oe&&Object.keys(oe).length)D=Object(v.a)({},D,oe),Object(m.a)(oe,re)&&(D=Object(h.a)(D,q,Object(m.a)(oe,re),!1));else{var he;oe=(he=E.getFieldValue)===null||he===void 0?void 0:he.call(E,re),typeof oe!="undefined"&&(D=Object(h.a)(D,q,oe,!1))}}return Y==null?void 0:Y(D,Object(u.a)(Object(u.a)({},E),g))}}))};M.a=S},WwFo:function(Ie,M,e){var u=e("juv8"),c=e("7GkX");function r(f,o){return f&&u(o,c(o),f)}Ie.exports=r},"X+cX":function(Ie,M,e){"use strict";e.d(M,"k",function(){return n}),e.d(M,"h",function(){return v}),e.d(M,"l",function(){return m}),e.d(M,"a",function(){return t}),e.d(M,"f",function(){return l}),e.d(M,"n",function(){return p}),e.d(M,"i",function(){return w}),e.d(M,"j",function(){return S}),e.d(M,"g",function(){return k}),e.d(M,"c",function(){return T}),e.d(M,"e",function(){return I}),e.d(M,"m",function(){return Y}),e.d(M,"b",function(){return $}),e.d(M,"d",function(){return A});var u=e("qLMh"),c=e("fWQN"),r=e("mtLc"),f=e("JQT/"),o=e("/cxE"),i=e("pmY6"),a=function(g,b,d,O){function E(D){return D instanceof d?D:new d(function(W){W(D)})}return new(d||(d=Promise))(function(D,W){function te(q){try{ye(O.next(q))}catch(oe){W(oe)}}function re(q){try{ye(O.throw(q))}catch(oe){W(oe)}}function ye(q){q.done?D(q.value):E(q.value).then(te,re)}ye((O=O.apply(g,b||[])).next())})};function n(g){return!!g&&typeof g.then=="function"}function v(g){var b=new f.b,d=g(b.token),O=new Promise(function(E,D){b.token.onCancellationRequested(function(){D(Object(o.a)())}),Promise.resolve(d).then(function(W){b.dispose(),E(W)},function(W){b.dispose(),D(W)})});return new(function(){function E(){Object(c.a)(this,E)}return Object(r.a)(E,[{key:"cancel",value:function(){b.cancel()}},{key:"then",value:function(W,te){return O.then(W,te)}},{key:"catch",value:function(W){return this.then(void 0,W)}},{key:"finally",value:function(W){return O.finally(W)}}]),E}())}function m(g,b,d){return Promise.race([g,new Promise(function(O){return b.onCancellationRequested(function(){return O(d)})})])}var h=function(){function g(){Object(c.a)(this,g),this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}return Object(r.a)(g,[{key:"queue",value:function(d){var O=this;if(this.activePromise){if(this.queuedPromiseFactory=d,!this.queuedPromise){var E=function(){O.queuedPromise=null;var W=O.queue(O.queuedPromiseFactory);return O.queuedPromiseFactory=null,W};this.queuedPromise=new Promise(function(D){O.activePromise.then(E,E).then(D)})}return new Promise(function(D,W){O.queuedPromise.then(D,W)})}return this.activePromise=d(),new Promise(function(D,W){O.activePromise.then(function(te){O.activePromise=null,D(te)},function(te){O.activePromise=null,W(te)})})}}]),g}(),t=function(){function g(b){Object(c.a)(this,g),this.defaultDelay=b,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}return Object(r.a)(g,[{key:"trigger",value:function(d){var O=this,E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.defaultDelay;return this.task=d,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(function(D,W){O.doResolve=D,O.doReject=W}).then(function(){if(O.completionPromise=null,O.doResolve=null,O.task){var D=O.task;return O.task=null,D()}})),this.timeout=setTimeout(function(){O.timeout=null,O.doResolve&&O.doResolve(null)},E),this.completionPromise}},{key:"isTriggered",value:function(){return this.timeout!==null}},{key:"cancel",value:function(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(Object(o.a)()),this.completionPromise=null)}},{key:"cancelTimeout",value:function(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)}},{key:"dispose",value:function(){this.cancelTimeout()}}]),g}(),l=function(){function g(b){Object(c.a)(this,g),this.delayer=new t(b),this.throttler=new h}return Object(r.a)(g,[{key:"trigger",value:function(d,O){var E=this;return this.delayer.trigger(function(){return E.throttler.queue(d)},O)}},{key:"cancel",value:function(){this.delayer.cancel()}},{key:"dispose",value:function(){this.delayer.dispose()}}]),g}();function p(g,b){return b?new Promise(function(d,O){var E=setTimeout(d,g);b.onCancellationRequested(function(){clearTimeout(E),O(Object(o.a)())})}):v(function(d){return p(g,d)})}function w(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,d=setTimeout(g,b);return Object(i.h)(function(){return clearTimeout(d)})}function S(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(W){return!!W},d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,O=0,E=g.length,D=function W(){if(O>=E)return Promise.resolve(d);var te=g[O++],re=Promise.resolve(te());return re.then(function(ye){return b(ye)?Promise.resolve(ye):W()})};return D()}var k=function(){function g(b,d){Object(c.a)(this,g),this._token=-1,typeof b=="function"&&typeof d=="number"&&this.setIfNotSet(b,d)}return Object(r.a)(g,[{key:"dispose",value:function(){this.cancel()}},{key:"cancel",value:function(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}},{key:"cancelAndSet",value:function(d,O){var E=this;this.cancel(),this._token=setTimeout(function(){E._token=-1,d()},O)}},{key:"setIfNotSet",value:function(d,O){var E=this;this._token===-1&&(this._token=setTimeout(function(){E._token=-1,d()},O))}}]),g}(),T=function(){function g(){Object(c.a)(this,g),this._token=-1}return Object(r.a)(g,[{key:"dispose",value:function(){this.cancel()}},{key:"cancel",value:function(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}},{key:"cancelAndSet",value:function(d,O){this.cancel(),this._token=setInterval(function(){d()},O)}}]),g}(),I=function(){function g(b,d){Object(c.a)(this,g),this.timeoutToken=-1,this.runner=b,this.timeout=d,this.timeoutHandler=this.onTimeout.bind(this)}return Object(r.a)(g,[{key:"dispose",value:function(){this.cancel(),this.runner=null}},{key:"cancel",value:function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}},{key:"schedule",value:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.timeout;this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,d)}},{key:"delay",get:function(){return this.timeout},set:function(d){this.timeout=d}},{key:"isScheduled",value:function(){return this.timeoutToken!==-1}},{key:"onTimeout",value:function(){this.timeoutToken=-1,this.runner&&this.doRun()}},{key:"doRun",value:function(){this.runner&&this.runner()}}]),g}(),Y;(function(){if(typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"){var g=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});Y=function(d){var O=setTimeout(function(){return d(g)}),E=!1;return{dispose:function(){E||(E=!0,clearTimeout(O))}}}}else Y=function(d,O){var E=requestIdleCallback(d,typeof O=="number"?{timeout:O}:void 0),D=!1;return{dispose:function(){D||(D=!0,cancelIdleCallback(E))}}}})();var $=function(){function g(b){var d=this;Object(c.a)(this,g),this._didRun=!1,this._executor=function(){try{d._value=b()}catch(O){d._error=O}finally{d._didRun=!0}},this._handle=Y(function(){return d._executor()})}return Object(r.a)(g,[{key:"dispose",value:function(){this._handle.dispose()}},{key:"value",get:function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}}]),g}(),A;(function(g){function b(D){return a(this,void 0,void 0,Object(u.a)().mark(function W(){return Object(u.a)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:if(typeof Promise.allSettled!="function"){re.next=2;break}return re.abrupt("return",d(D));case 2:return re.abrupt("return",O(D));case 3:case"end":return re.stop()}},W)}))}g.allSettled=b;function d(D){return a(this,void 0,void 0,Object(u.a)().mark(function W(){return Object(u.a)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.abrupt("return",Promise.allSettled(D));case 1:case"end":return re.stop()}},W)}))}function O(D){return a(this,void 0,void 0,Object(u.a)().mark(function W(){return Object(u.a)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.abrupt("return",Promise.all(D.map(function(ye){return ye.then(function(q){var oe={status:"fulfilled",value:q};return oe},function(q){var oe={status:"rejected",reason:q};return oe})})));case 1:case"end":return re.stop()}},W)}))}function E(D){return a(this,void 0,void 0,Object(u.a)().mark(function W(){var te,re;return Object(u.a)().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return te=void 0,q.next=3,Promise.all(D.map(function(oe){return oe.then(function(he){return he},function(he){te||(te=he)})}));case 3:if(re=q.sent,typeof te=="undefined"){q.next=6;break}throw te;case 6:return q.abrupt("return",re);case 7:case"end":return q.stop()}},W)}))}g.settled=E})(A||(A={}))},XCrF:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("QeVK"),f=e.n(r)},XGnz:function(Ie,M,e){var u=e("CH3K"),c=e("BiGR");function r(f,o,i,a,n){var v=-1,m=f.length;for(i||(i=c),n||(n=[]);++v<m;){var h=f[v];o>0&&i(h)?o>1?r(h,o-1,i,a,n):u(n,h):a||(n[n.length]=h)}return n}Ie.exports=r},XKAG:function(Ie,M,e){var u=e("ut/Y"),c=e("MMmD"),r=e("7GkX");function f(o){return function(i,a,n){var v=Object(i);if(!c(i)){var m=u(a,3);i=r(i),a=function(t){return m(v[t],t,v)}}var h=o(i,a,n);return h>-1?v[m?i[h]:h]:void 0}}Ie.exports=f},XQL4:function(Ie,M,e){},XQvf:function(Ie,M,e){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.active=void 0;var u=Object.assign||function(v){for(var m=1;m<arguments.length;m++){var h=arguments[m];for(var t in h)Object.prototype.hasOwnProperty.call(h,t)&&(v[t]=h[t])}return v},c=e("q1tI"),r=f(c);function f(v){return v&&v.__esModule?v:{default:v}}function o(v,m){if(!(v instanceof m))throw new TypeError("Cannot call a class as a function")}function i(v,m){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:v}function a(v,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);v.prototype=Object.create(m&&m.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(v,m):v.__proto__=m)}var n=M.active=function(m){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(t){a(l,t);function l(){var p,w,S,k;o(this,l);for(var T=arguments.length,I=Array(T),Y=0;Y<T;Y++)I[Y]=arguments[Y];return k=(w=(S=i(this,(p=l.__proto__||Object.getPrototypeOf(l)).call.apply(p,[this].concat(I))),S),S.state={active:!1},S.handleMouseDown=function(){return S.setState({active:!0})},S.handleMouseUp=function(){return S.setState({active:!1})},S.render=function(){return r.default.createElement(h,{onMouseDown:S.handleMouseDown,onMouseUp:S.handleMouseUp},r.default.createElement(m,u({},S.props,S.state)))},w),i(S,k)}return l}(r.default.Component)};M.default=n},XSiN:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i}),e.d(M,"b",function(){return a});var u=e("fWQN"),c=e("mtLc"),r=e("D3Dy"),f=e("51f4"),o=e("MNsG"),i=function(){function n(v){Object(u.a)(this,n),this.timestamp=Date.now(),this.browserEvent=v,this.leftButton=v.button===0,this.middleButton=v.button===1,this.rightButton=v.button===2,this.buttons=v.buttons,this.target=v.target,this.detail=v.detail||1,v.type==="dblclick"&&(this.detail=2),this.ctrlKey=v.ctrlKey,this.shiftKey=v.shiftKey,this.altKey=v.altKey,this.metaKey=v.metaKey,typeof v.pageX=="number"?(this.posx=v.pageX,this.posy=v.pageY):(this.posx=v.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=v.clientY+document.body.scrollTop+document.documentElement.scrollTop);var m=f.a.getPositionOfChildWindowRelativeToAncestorWindow(self,v.view);this.posx-=m.left,this.posy-=m.top}return Object(c.a)(n,[{key:"preventDefault",value:function(){this.browserEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.browserEvent.stopPropagation()}}]),n}(),a=function(){function n(v){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(Object(u.a)(this,n),this.browserEvent=v||null,this.target=v?v.target||v.targetNode||v.srcElement:null,this.deltaY=h,this.deltaX=m,v){var t=v,l=v;if(typeof t.wheelDeltaY!="undefined")this.deltaY=t.wheelDeltaY/120;else if(typeof l.VERTICAL_AXIS!="undefined"&&l.axis===l.VERTICAL_AXIS)this.deltaY=-l.detail/3;else if(v.type==="wheel"){var p=v;p.deltaMode===p.DOM_DELTA_LINE?r.g&&!o.f?this.deltaY=-v.deltaY/3:this.deltaY=-v.deltaY:this.deltaY=-v.deltaY/40}if(typeof t.wheelDeltaX!="undefined")r.i&&o.j?this.deltaX=-(t.wheelDeltaX/120):this.deltaX=t.wheelDeltaX/120;else if(typeof l.HORIZONTAL_AXIS!="undefined"&&l.axis===l.HORIZONTAL_AXIS)this.deltaX=-v.detail/3;else if(v.type==="wheel"){var w=v;w.deltaMode===w.DOM_DELTA_LINE?r.g&&!o.f?this.deltaX=-v.deltaX/3:this.deltaX=-v.deltaX:this.deltaX=-v.deltaX/40}this.deltaY===0&&this.deltaX===0&&v.wheelDelta&&(this.deltaY=v.wheelDelta/120)}}return Object(c.a)(n,[{key:"preventDefault",value:function(){this.browserEvent&&this.browserEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.browserEvent&&this.browserEvent.stopPropagation()}}]),n}()},XSw6:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="VerticalAlignTopOutlined";var a=M.a=c.forwardRef(i)},XXBq:function(Ie,M,e){},XXUj:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("telemetryService")},XYm9:function(Ie,M,e){var u=e("+K+b");function c(r,f){var o=f?u(r.buffer):r.buffer;return new r.constructor(o,r.byteOffset,r.byteLength)}Ie.exports=c},Xi7e:function(Ie,M,e){var u=e("KMkd"),c=e("adU4"),r=e("tMB7"),f=e("+6XX"),o=e("Z8oC");function i(a){var n=-1,v=a==null?0:a.length;for(this.clear();++n<v;){var m=a[n];this.set(m[0],m[1])}}i.prototype.clear=u,i.prototype.delete=c,i.prototype.get=r,i.prototype.has=f,i.prototype.set=o,Ie.exports=i},"Xt/L":function(Ie,M){function e(u,c,r){for(var f=-1,o=u==null?0:u.length;++f<o;)if(r(c,u[f]))return!0;return!1}Ie.exports=e},"Y+p1":function(Ie,M,e){var u=e("wF/u");function c(r,f){return u(r,f)}Ie.exports=c},Y79o:function(Ie,M,e){},YESw:function(Ie,M,e){var u=e("Cwc5"),c=u(Object,"create");Ie.exports=c},YO3V:function(Ie,M,e){var u=e("NykK"),c=e("LcsW"),r=e("ExA7"),f="[object Object]",o=Function.prototype,i=Object.prototype,a=o.toString,n=i.hasOwnProperty,v=a.call(Object);function m(h){if(!r(h)||u(h)!=f)return!1;var t=c(h);if(t===null)return!0;var l=n.call(t,"constructor")&&t.constructor;return typeof l=="function"&&l instanceof l&&a.call(l)==v}Ie.exports=m},YSkC:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("5Dmo"),r=e("3S7+"),f=e("rePB"),o=e("GNNt"),i=e("wEI+"),a=e("nKUr"),n=e.n(a),v=e("+YFz"),m=e("TSYQ"),h=e.n(m),t=e("q1tI"),l=e.n(t),p=e("slOs"),w=e.n(p),S=function(T){var I=T.label,Y=T.tooltip,$=T.ellipsis,A=T.subTitle,g=Object(t.useContext)(i.a.ConfigContext),b=g.getPrefixCls;if(!Y&&!A)return Object(a.jsx)(a.Fragment,{children:I});var d=b("pro-core-label-tip"),O=typeof Y=="string"||l.a.isValidElement(Y)?{title:Y}:Y,E=(O==null?void 0:O.icon)||Object(a.jsx)(v.a,{});return Object(a.jsxs)("div",{className:d,onMouseDown:function(W){return W.stopPropagation()},onMouseLeave:function(W){return W.stopPropagation()},onMouseMove:function(W){return W.stopPropagation()},children:[Object(a.jsx)("div",{className:h()("".concat(d,"-title"),Object(f.a)({},"".concat(d,"-title-ellipsis"),$)),children:I}),A&&Object(a.jsx)("div",{className:"".concat(d,"-subtitle"),children:A}),Y&&Object(a.jsx)(r.a,Object(u.a)(Object(u.a)({},O),{},{children:Object(a.jsx)("span",{className:"".concat(d,"-icon"),children:E})}))]})};M.a=l.a.memo(S)},"YV/h":function(Ie,M,e){},YWTS:function(Ie,M,e){"use strict";e.d(M,"a",function(){return f});var u=e("U8pU"),c=e("q1tI"),r=e.n(c);function f(o,i,a){var n=c.useRef({});function v(m){if(!n.current||n.current.data!==o||n.current.childrenColumnName!==i||n.current.getRowKey!==a){var h=function l(p){p.forEach(function(w,S){var k=a(w,S);t.set(k,w),w&&Object(u.a)(w)==="object"&&i in w&&l(w[i]||[])})},t=new Map;h(o),n.current={data:o,childrenColumnName:i,kvMap:t,getRowKey:a}}return n.current.kvMap.get(m)}return[v]}},Yen4:function(Ie,M,e){var u=e("M96O"),c=e("lnHP"),r=e("AevD");Ie.exports=f;function f(o,i){var a=new c,n={},v=new r,m;function h(l){var p=l.v===m?l.w:l.v,w=v.priority(p);if(w!==void 0){var S=i(l);S<w&&(n[p]=m,v.decrease(p,S))}}if(o.nodeCount()===0)return a;u.each(o.nodes(),function(l){v.add(l,Number.POSITIVE_INFINITY),a.setNode(l)}),v.decrease(o.nodes()[0],0);for(var t=!1;v.size()>0;){if(m=v.removeMin(),u.has(n,m))a.setEdge(m,n[m]);else{if(t)throw new Error("Input graph is not connected: "+o);t=!0}o.nodeEdges(m).forEach(h)}return a}},YkAm:function(Ie,M,e){},Yr1X:function(Ie,M,e){"use strict";e.d(M,"a",function(){return f});var u=e("fWQN"),c=e("mtLc"),r=e("MI8n"),f=new(function(){function o(){Object(u.a)(this,o),this._zoomLevel=0,this._onDidChangeZoomLevel=new r.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return Object(c.a)(o,[{key:"getZoomLevel",value:function(){return this._zoomLevel}},{key:"setZoomLevel",value:function(a){a=Math.min(Math.max(-5,a),20),this._zoomLevel!==a&&(this._zoomLevel=a,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}]),o}())},Z0cm:function(Ie,M){var e=Array.isArray;Ie.exports=e},Z1HP:function(Ie,M,e){var u=e("ycre"),c=e("quyA"),r=e("q4HE");function f(o){return c(o)?r(o):u(o)}Ie.exports=f},Z1je:function(Ie,M,e){},Z1pP:function(Ie,M,e){},Z8oC:function(Ie,M,e){var u=e("y1pI");function c(r,f){var o=this.__data__,i=u(o,r);return i<0?(++this.size,o.push([r,f])):o[i][1]=f,this}Ie.exports=c},Z9Ww:function(Ie,M,e){"use strict";var u=e("z6FA"),c=e("nXVj"),r=e("QupR"),f=e("VIHS");M.a=function(){var o,i,a,n,v=Object(c.a)(-30),m,h=1,t=Infinity,l=.81;function p(T){var I,Y=o.length,$=Object(u.a)(o,f.b,f.c).visitAfter(S);for(n=T,I=0;I<Y;++I)i=o[I],$.visit(k)}function w(){if(!!o){var T,I=o.length,Y;for(m=new Array(I),T=0;T<I;++T)Y=o[T],m[Y.index]=+v(Y,T,o)}}function S(T){var I=0,Y,$,A=0,g,b,d;if(T.length){for(g=b=d=0;d<4;++d)(Y=T[d])&&($=Math.abs(Y.value))&&(I+=Y.value,A+=$,g+=$*Y.x,b+=$*Y.y);T.x=g/A,T.y=b/A}else{Y=T,Y.x=Y.data.x,Y.y=Y.data.y;do I+=m[Y.data.index];while(Y=Y.next)}T.value=I}function k(T,I,Y,$){if(!T.value)return!0;var A=T.x-i.x,g=T.y-i.y,b=$-I,d=A*A+g*g;if(b*b/l<d)return d<t&&(A===0&&(A=Object(r.a)(a),d+=A*A),g===0&&(g=Object(r.a)(a),d+=g*g),d<h&&(d=Math.sqrt(h*d)),i.vx+=A*T.value*n/d,i.vy+=g*T.value*n/d),!0;if(T.length||d>=t)return;(T.data!==i||T.next)&&(A===0&&(A=Object(r.a)(a),d+=A*A),g===0&&(g=Object(r.a)(a),d+=g*g),d<h&&(d=Math.sqrt(h*d)));do T.data!==i&&(b=m[T.data.index]*n/d,i.vx+=A*b,i.vy+=g*b);while(T=T.next)}return p.initialize=function(T,I){o=T,a=I,w()},p.strength=function(T){return arguments.length?(v=typeof T=="function"?T:Object(c.a)(+T),w(),p):v},p.distanceMin=function(T){return arguments.length?(h=T*T,p):Math.sqrt(h)},p.distanceMax=function(T){return arguments.length?(t=T*T,p):Math.sqrt(t)},p.theta=function(T){return arguments.length?(l=T*T,p):Math.sqrt(l)},p}},ZCR3:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=0;function c(){var f="$memoize".concat(u++),o=void 0,i=function(n,v,m){var h=null,t=null;if(typeof m.value=="function"?(h="value",t=m.value,t.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof m.get=="function"&&(h="get",t=m.get),!t)throw new Error("not supported");var l="".concat(f,":").concat(v);m[h]=function(){if(o=this,!this.hasOwnProperty(l)){for(var p=arguments.length,w=new Array(p),S=0;S<p;S++)w[S]=arguments[S];Object.defineProperty(this,l,{configurable:!0,enumerable:!1,writable:!0,value:t.apply(this,w)})}return this[l]}};return i.clear=function(){typeof o!="undefined"&&Object.getOwnPropertyNames(o).forEach(function(a){a.indexOf(f)===0&&delete o[a]})},i}function r(f,o,i){return c()(f,o,i)}},ZCgT:function(Ie,M,e){var u=e("tLB3"),c=1/0,r=17976931348623157e292;function f(o){if(!o)return o===0?o:0;if(o=u(o),o===c||o===-c){var i=o<0?-1:1;return i*r}return o===o?o:0}Ie.exports=f},ZCpW:function(Ie,M,e){var u=e("lm/5"),c=e("O7RO"),r=e("IOzZ");function f(o){var i=c(o);return i.length==1&&i[0][2]?r(i[0][0],i[0][1]):function(a){return a===o||u(a,o,i)}}Ie.exports=f},ZKkB:function(Ie,M,e){"use strict";e.d(M,"a",function(){return o});var u=e("oZsa"),c=e("iZzK");function r(i){return Function.toString.call(i).indexOf("[native code]")!==-1}var f=e("xdlL");function o(i){var a=typeof Map=="function"?new Map:void 0;return o=function(v){if(v===null||!r(v))return v;if(typeof v!="function")throw new TypeError("Super expression must either be null or a function");if(typeof a!="undefined"){if(a.has(v))return a.get(v);a.set(v,m)}function m(){return Object(f.a)(v,arguments,Object(u.a)(this).constructor)}return m.prototype=Object.create(v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),Object(c.a)(m,v)},o(i)}},ZQ78:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r}),e.d(M,"b",function(){return f}),e.d(M,"c",function(){return o});var u=e("fWQN"),c=e("mtLc"),r={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"},f=function(){function i(a){Object(u.a)(this,i),this.data=a}return Object(c.a)(i,[{key:"update",value:function(){}},{key:"getData",value:function(){return this.data}}]),i}(),o={CurrentDragAndDropData:void 0}},ZTW2:function(Ie,M,e){},ZWtO:function(Ie,M,e){var u=e("4uTw"),c=e("9Nap");function r(f,o){o=u(o,f);for(var i=0,a=o.length;f!=null&&i<a;)f=f[c(o[i++])];return i&&i==a?f:void 0}Ie.exports=r},ZlPH:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r}),e.d(M,"b",function(){return f});var u=e("fWQN"),c=e("mtLc"),r=function(){function o(i){Object(u.a)(this,o),this.domNode=i,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}return Object(c.a)(o,[{key:"setMaxWidth",value:function(a){this._maxWidth!==a&&(this._maxWidth=a,this.domNode.style.maxWidth=this._maxWidth+"px")}},{key:"setWidth",value:function(a){this._width!==a&&(this._width=a,this.domNode.style.width=this._width+"px")}},{key:"setHeight",value:function(a){this._height!==a&&(this._height=a,this.domNode.style.height=this._height+"px")}},{key:"setTop",value:function(a){this._top!==a&&(this._top=a,this.domNode.style.top=this._top+"px")}},{key:"unsetTop",value:function(){this._top!==-1&&(this._top=-1,this.domNode.style.top="")}},{key:"setLeft",value:function(a){this._left!==a&&(this._left=a,this.domNode.style.left=this._left+"px")}},{key:"setBottom",value:function(a){this._bottom!==a&&(this._bottom=a,this.domNode.style.bottom=this._bottom+"px")}},{key:"setRight",value:function(a){this._right!==a&&(this._right=a,this.domNode.style.right=this._right+"px")}},{key:"setFontFamily",value:function(a){this._fontFamily!==a&&(this._fontFamily=a,this.domNode.style.fontFamily=this._fontFamily)}},{key:"setFontWeight",value:function(a){this._fontWeight!==a&&(this._fontWeight=a,this.domNode.style.fontWeight=this._fontWeight)}},{key:"setFontSize",value:function(a){this._fontSize!==a&&(this._fontSize=a,this.domNode.style.fontSize=this._fontSize+"px")}},{key:"setFontFeatureSettings",value:function(a){this._fontFeatureSettings!==a&&(this._fontFeatureSettings=a,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}},{key:"setLineHeight",value:function(a){this._lineHeight!==a&&(this._lineHeight=a,this.domNode.style.lineHeight=this._lineHeight+"px")}},{key:"setLetterSpacing",value:function(a){this._letterSpacing!==a&&(this._letterSpacing=a,this.domNode.style.letterSpacing=this._letterSpacing+"px")}},{key:"setClassName",value:function(a){this._className!==a&&(this._className=a,this.domNode.className=this._className)}},{key:"toggleClassName",value:function(a,n){this.domNode.classList.toggle(a,n),this._className=this.domNode.className}},{key:"setDisplay",value:function(a){this._display!==a&&(this._display=a,this.domNode.style.display=this._display)}},{key:"setPosition",value:function(a){this._position!==a&&(this._position=a,this.domNode.style.position=this._position)}},{key:"setVisibility",value:function(a){this._visibility!==a&&(this._visibility=a,this.domNode.style.visibility=this._visibility)}},{key:"setBackgroundColor",value:function(a){this._backgroundColor!==a&&(this._backgroundColor=a,this.domNode.style.backgroundColor=this._backgroundColor)}},{key:"setLayerHinting",value:function(a){this._layerHint!==a&&(this._layerHint=a,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}},{key:"setBoxShadow",value:function(a){this._boxShadow!==a&&(this._boxShadow=a,this.domNode.style.boxShadow=a)}},{key:"setContain",value:function(a){this._contain!==a&&(this._contain=a,this.domNode.style.contain=this._contain)}},{key:"setAttribute",value:function(a,n){this.domNode.setAttribute(a,n)}},{key:"removeAttribute",value:function(a){this.domNode.removeAttribute(a)}},{key:"appendChild",value:function(a){this.domNode.appendChild(a.domNode)}},{key:"removeChild",value:function(a){this.domNode.removeChild(a.domNode)}}]),o}();function f(o){return new r(o)}},Zr1c:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("Cg/j"),c=e("zdb4");e.d(M,"b",function(){return c.a});var r=Object(u.c)("quickInputService")},ZxFD:function(Ie,M,e){"use strict";e.r(M),e.d(M,"create",function(){return c}),e.d(M,"clone",function(){return r}),e.d(M,"fromValues",function(){return f}),e.d(M,"copy",function(){return o}),e.d(M,"set",function(){return i}),e.d(M,"add",function(){return a}),e.d(M,"subtract",function(){return n}),e.d(M,"multiply",function(){return v}),e.d(M,"divide",function(){return m}),e.d(M,"ceil",function(){return h}),e.d(M,"floor",function(){return t}),e.d(M,"min",function(){return l}),e.d(M,"max",function(){return p}),e.d(M,"round",function(){return w}),e.d(M,"scale",function(){return S}),e.d(M,"scaleAndAdd",function(){return k}),e.d(M,"distance",function(){return T}),e.d(M,"squaredDistance",function(){return I}),e.d(M,"length",function(){return Y}),e.d(M,"squaredLength",function(){return $}),e.d(M,"negate",function(){return A}),e.d(M,"inverse",function(){return g}),e.d(M,"normalize",function(){return b}),e.d(M,"dot",function(){return d}),e.d(M,"cross",function(){return O}),e.d(M,"lerp",function(){return E}),e.d(M,"random",function(){return D}),e.d(M,"transformMat2",function(){return W}),e.d(M,"transformMat2d",function(){return te}),e.d(M,"transformMat3",function(){return re}),e.d(M,"transformMat4",function(){return ye}),e.d(M,"rotate",function(){return q}),e.d(M,"angle",function(){return oe}),e.d(M,"zero",function(){return he}),e.d(M,"str",function(){return ue}),e.d(M,"exactEquals",function(){return ne}),e.d(M,"equals",function(){return se}),e.d(M,"len",function(){return be}),e.d(M,"sub",function(){return Z}),e.d(M,"mul",function(){return ee}),e.d(M,"div",function(){return ce}),e.d(M,"dist",function(){return R}),e.d(M,"sqrDist",function(){return y}),e.d(M,"sqrLen",function(){return C}),e.d(M,"forEach",function(){return z});var u=e("yU0y");function c(){var G=new u.ARRAY_TYPE(2);return u.ARRAY_TYPE!=Float32Array&&(G[0]=0,G[1]=0),G}function r(G){var X=new u.ARRAY_TYPE(2);return X[0]=G[0],X[1]=G[1],X}function f(G,X){var pe=new u.ARRAY_TYPE(2);return pe[0]=G,pe[1]=X,pe}function o(G,X){return G[0]=X[0],G[1]=X[1],G}function i(G,X,pe){return G[0]=X,G[1]=pe,G}function a(G,X,pe){return G[0]=X[0]+pe[0],G[1]=X[1]+pe[1],G}function n(G,X,pe){return G[0]=X[0]-pe[0],G[1]=X[1]-pe[1],G}function v(G,X,pe){return G[0]=X[0]*pe[0],G[1]=X[1]*pe[1],G}function m(G,X,pe){return G[0]=X[0]/pe[0],G[1]=X[1]/pe[1],G}function h(G,X){return G[0]=Math.ceil(X[0]),G[1]=Math.ceil(X[1]),G}function t(G,X){return G[0]=Math.floor(X[0]),G[1]=Math.floor(X[1]),G}function l(G,X,pe){return G[0]=Math.min(X[0],pe[0]),G[1]=Math.min(X[1],pe[1]),G}function p(G,X,pe){return G[0]=Math.max(X[0],pe[0]),G[1]=Math.max(X[1],pe[1]),G}function w(G,X){return G[0]=Math.round(X[0]),G[1]=Math.round(X[1]),G}function S(G,X,pe){return G[0]=X[0]*pe,G[1]=X[1]*pe,G}function k(G,X,pe,ae){return G[0]=X[0]+pe[0]*ae,G[1]=X[1]+pe[1]*ae,G}function T(G,X){var pe=X[0]-G[0],ae=X[1]-G[1];return Math.hypot(pe,ae)}function I(G,X){var pe=X[0]-G[0],ae=X[1]-G[1];return pe*pe+ae*ae}function Y(G){var X=G[0],pe=G[1];return Math.hypot(X,pe)}function $(G){var X=G[0],pe=G[1];return X*X+pe*pe}function A(G,X){return G[0]=-X[0],G[1]=-X[1],G}function g(G,X){return G[0]=1/X[0],G[1]=1/X[1],G}function b(G,X){var pe=X[0],ae=X[1],Se=pe*pe+ae*ae;return Se>0&&(Se=1/Math.sqrt(Se)),G[0]=X[0]*Se,G[1]=X[1]*Se,G}function d(G,X){return G[0]*X[0]+G[1]*X[1]}function O(G,X,pe){var ae=X[0]*pe[1]-X[1]*pe[0];return G[0]=G[1]=0,G[2]=ae,G}function E(G,X,pe,ae){var Se=X[0],Te=X[1];return G[0]=Se+ae*(pe[0]-Se),G[1]=Te+ae*(pe[1]-Te),G}function D(G,X){X=X||1;var pe=u.RANDOM()*2*Math.PI;return G[0]=Math.cos(pe)*X,G[1]=Math.sin(pe)*X,G}function W(G,X,pe){var ae=X[0],Se=X[1];return G[0]=pe[0]*ae+pe[2]*Se,G[1]=pe[1]*ae+pe[3]*Se,G}function te(G,X,pe){var ae=X[0],Se=X[1];return G[0]=pe[0]*ae+pe[2]*Se+pe[4],G[1]=pe[1]*ae+pe[3]*Se+pe[5],G}function re(G,X,pe){var ae=X[0],Se=X[1];return G[0]=pe[0]*ae+pe[3]*Se+pe[6],G[1]=pe[1]*ae+pe[4]*Se+pe[7],G}function ye(G,X,pe){var ae=X[0],Se=X[1];return G[0]=pe[0]*ae+pe[4]*Se+pe[12],G[1]=pe[1]*ae+pe[5]*Se+pe[13],G}function q(G,X,pe,ae){var Se=X[0]-pe[0],Te=X[1]-pe[1],je=Math.sin(ae),ft=Math.cos(ae);return G[0]=Se*ft-Te*je+pe[0],G[1]=Se*je+Te*ft+pe[1],G}function oe(G,X){var pe=G[0],ae=G[1],Se=X[0],Te=X[1],je=Math.sqrt(pe*pe+ae*ae)*Math.sqrt(Se*Se+Te*Te),ft=je&&(pe*Se+ae*Te)/je;return Math.acos(Math.min(Math.max(ft,-1),1))}function he(G){return G[0]=0,G[1]=0,G}function ue(G){return"vec2("+G[0]+", "+G[1]+")"}function ne(G,X){return G[0]===X[0]&&G[1]===X[1]}function se(G,X){var pe=G[0],ae=G[1],Se=X[0],Te=X[1];return Math.abs(pe-Se)<=u.EPSILON*Math.max(1,Math.abs(pe),Math.abs(Se))&&Math.abs(ae-Te)<=u.EPSILON*Math.max(1,Math.abs(ae),Math.abs(Te))}var be=Y,Z=n,ee=v,ce=m,R=T,y=I,C=$,z=function(){var G=c();return function(X,pe,ae,Se,Te,je){var ft,fe;for(pe||(pe=2),ae||(ae=0),Se?fe=Math.min(Se*pe+ae,X.length):fe=X.length,ft=ae;ft<fe;ft+=pe)G[0]=X[ft],G[1]=X[ft+1],Te(G,G,je),X[ft]=G[0],X[ft+1]=G[1];return X}}()},ZzYp:function(Ie,M,e){var u=e("M96O");Ie.exports=r;var c=u.constant(1);function r(o,i,a){return f(o,i||c,a||function(n){return o.outEdges(n)})}function f(o,i,a){var n={},v=o.nodes();return v.forEach(function(m){n[m]={},n[m][m]={distance:0},v.forEach(function(h){m!==h&&(n[m][h]={distance:Number.POSITIVE_INFINITY})}),a(m).forEach(function(h){var t=h.v===m?h.w:h.v,l=i(h);n[m][t]={distance:l,predecessor:m}})}),v.forEach(function(m){var h=n[m];v.forEach(function(t){var l=n[t];v.forEach(function(p){var w=l[m],S=h[p],k=l[p],T=w.distance+S.distance;T<k.distance&&(k.distance=T,k.predecessor=S.predecessor)})})}),n}},a7SZ:function(Ie,M,e){"use strict";e.d(M,"a",function(){return p}),e.d(M,"b",function(){return S});var u=e("U8pU"),c=e("jCWc"),r=e("kPKH"),f=e("VTBJ"),o=e("14J3"),i=e("BMrR"),a=e("Ff2n"),n=e("nKUr"),v=e.n(n),m=e("q1tI"),h=e.n(m),t=["children","Wrapper"],l=["children","Wrapper"],p=Object(m.createContext)({grid:!1,colProps:void 0,rowProps:void 0}),w=function(T){var I=T.grid,Y=T.rowProps,$=T.colProps;return{grid:!!I,RowWrapper:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=g.children,d=g.Wrapper,O=Object(a.a)(g,t);return I?Object(n.jsx)(i.a,Object(f.a)(Object(f.a)(Object(f.a)({gutter:8},Y),O),{},{children:b})):d?Object(n.jsx)(d,{children:b}):b},ColWrapper:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=g.children,d=g.Wrapper,O=Object(a.a)(g,l),E=Object(m.useMemo)(function(){var D=Object(f.a)(Object(f.a)({},$),O);return typeof D.span=="undefined"&&typeof D.xs=="undefined"&&(D.xs=24),D},[O]);return I?Object(n.jsx)(r.a,Object(f.a)(Object(f.a)({},E),{},{children:b})):d?Object(n.jsx)(d,{children:b}):b}}},S=function(T){var I=Object(m.useMemo)(function(){return Object(u.a)(T)==="object"?T:{grid:T}},[T]),Y=Object(m.useContext)(p),$=Y.grid,A=Y.colProps;return Object(m.useMemo)(function(){return w({grid:!!($||I.grid),rowProps:I==null?void 0:I.rowProps,colProps:(I==null?void 0:I.colProps)||A,Wrapper:I==null?void 0:I.Wrapper})},[I==null?void 0:I.Wrapper,I.grid,$,JSON.stringify([A,I==null?void 0:I.colProps,I==null?void 0:I.rowProps])])}},"aK+R":function(Ie,M,e){},adU4:function(Ie,M,e){var u=e("y1pI"),c=Array.prototype,r=c.splice;function f(o){var i=this.__data__,a=u(i,o);if(a<0)return!1;var n=i.length-1;return a==n?i.pop():r.call(i,a,1),--this.size,!0}Ie.exports=f},adzw:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("Ff2n"),r=e("nKUr"),f=e.n(r),o=e("/s86"),i=e("uX+g"),a=e("ipCM"),n=e("q1tI"),v=e.n(n),m=e("WFLz"),h=e("08ff"),t=["fieldProps","children","labelCol","label","autoFocus","isDefaultDom","render","proFieldProps","renderFormItem","valueType","initialValue","onChange","valueEnum","params","name","dependenciesValues","cacheForSwr","valuePropName"],l=function(S){var k=S.fieldProps,T=S.children,I=S.labelCol,Y=S.label,$=S.autoFocus,A=S.isDefaultDom,g=S.render,b=S.proFieldProps,d=S.renderFormItem,O=S.valueType,E=S.initialValue,D=S.onChange,W=S.valueEnum,te=S.params,re=S.name,ye=S.dependenciesValues,q=S.cacheForSwr,oe=q===void 0?!1:q,he=S.valuePropName,ue=he===void 0?"value":he,ne=Object(c.a)(S,t),se=Object(n.useContext)(h.a),be=Object(n.useMemo)(function(){return ye&&ne.request?Object(u.a)(Object(u.a)({},te),ye||{}):te},[ye,te,ne.request]),Z=Object(n.useMemo)(function(){if(T)return v.a.isValidElement(T)?v.a.cloneElement(T,Object(u.a)(Object(u.a)({},ne),{},{onChange:function(){for(var ce=arguments.length,R=new Array(ce),y=0;y<ce;y++)R[y]=arguments[y];if(k==null?void 0:k.onChange){var C;k==null||(C=k.onChange)===null||C===void 0||C.call.apply(C,[k].concat(R));return}D==null||D.apply(void 0,R)}},T.props)):Object(r.jsx)(r.Fragment,{children:T})},[T,k==null?void 0:k.onChange,D,ne]);return Z||Object(r.jsx)(o.a,Object(u.a)(Object(u.a)(Object(u.a)({text:k==null?void 0:k[ue],render:g,renderFormItem:d,valueType:O||"text",cacheForSwr:oe,fieldProps:Object(u.a)(Object(u.a)({autoFocus:$},k),{},{onChange:function(){if(k==null?void 0:k.onChange){for(var ce,R=arguments.length,y=new Array(R),C=0;C<R;C++)y[C]=arguments[C];k==null||(ce=k.onChange)===null||ce===void 0||ce.call.apply(ce,[k].concat(y));return}}}),valueEnum:Object(i.a)(W)},b),ne),{},{mode:(b==null?void 0:b.mode)||se.mode||"edit",params:be}))},p=Object(m.a)(Object(n.memo)(l,function(w,S){return Object(a.a)(S,w,["onChange","onBlur"])}));M.a=p},al33:function(Ie,M,e){"use strict";e.d(M,"a",function(){return p}),e.d(M,"b",function(){return w});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("MI8n"),o=e("7afs"),i=e("pmY6"),a=e("QDVR"),n=e("Sdnv"),v=e("l2gE"),m=e("MrjW");function h(S,k,T,I){if(Array.isArray(S)){var Y=0,$=Object(u.a)(S),A;try{for($.s();!(A=$.n()).done;){var g=A.value,b=h(g,k,T,I);if(b===10)return b;b>Y&&(Y=b)}}catch(re){$.e(re)}finally{$.f()}return Y}else{if(typeof S=="string")return I?S==="*"?5:S===T?10:0:0;if(S){var d=S.language,O=S.pattern,E=S.scheme,D=S.hasAccessToAllModels;if(!I&&!D)return 0;var W=0;if(E)if(E===k.scheme)W=10;else if(E==="*")W=5;else return 0;if(d)if(d===T)W=10;else if(d==="*")W=Math.max(W,5);else return 0;if(O){var te;if(typeof O=="string"?te=O:te=Object.assign(Object.assign({},O),{base:Object(m.d)(O.base)}),te===k.fsPath||Object(v.a)(te,k.fsPath))W=10;else return 0}return W}else return 0}}var t=e("G2kB");function l(S){return typeof S=="string"?!1:Array.isArray(S)?S.every(l):!!S.exclusive}var p=function(){function S(){Object(c.a)(this,S),this._clock=0,this._entries=[],this._onDidChange=new f.a}return Object(r.a)(S,[{key:"onDidChange",get:function(){return this._onDidChange.event}},{key:"register",value:function(T,I){var Y=this,$={selector:T,provider:I,_score:-1,_time:this._clock++};return this._entries.push($),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(i.h)(function(){if($){var A=Y._entries.indexOf($);A>=0&&(Y._entries.splice(A,1),Y._lastCandidate=void 0,Y._onDidChange.fire(Y._entries.length),$=void 0)}})}},{key:"has",value:function(T){return this.all(T).length>0}},{key:"all",value:function(T){if(!T)return[];this._updateScores(T);var I=[],Y=Object(u.a)(this._entries),$;try{for(Y.s();!($=Y.n()).done;){var A=$.value;A._score>0&&I.push(A.provider)}}catch(g){Y.e(g)}finally{Y.f()}return I}},{key:"ordered",value:function(T){var I=[];return this._orderedForEach(T,function(Y){return I.push(Y.provider)}),I}},{key:"orderedGroups",value:function(T){var I=[],Y,$;return this._orderedForEach(T,function(A){Y&&$===A._score?Y.push(A.provider):($=A._score,Y=[A.provider],I.push(Y))}),I}},{key:"_orderedForEach",value:function(T,I){if(!!T){this._updateScores(T);var Y=Object(u.a)(this._entries),$;try{for(Y.s();!($=Y.n()).done;){var A=$.value;A._score>0&&I(A)}}catch(g){Y.e(g)}finally{Y.f()}}}},{key:"_updateScores",value:function(T){var I={uri:T.uri.toString(),language:T.getLanguageIdentifier().language};if(!(this._lastCandidate&&this._lastCandidate.language===I.language&&this._lastCandidate.uri===I.uri)){this._lastCandidate=I;var Y=Object(u.a)(this._entries),$;try{for(Y.s();!($=Y.n()).done;){var A=$.value;if(A._score=h(A.selector,T.uri,T.getLanguageIdentifier().language,Object(t.b)(T)),l(A.selector)&&A._score>0){var g=Object(u.a)(this._entries),b;try{for(g.s();!(b=g.n()).done;){var d=b.value;d._score=0}}catch(O){g.e(O)}finally{g.f()}A._score=1e3;break}}}catch(O){Y.e(O)}finally{Y.f()}this._entries.sort(S._compareByScoreAndTime)}}}],[{key:"_compareByScoreAndTime",value:function(T,I){return T._score<I._score?1:T._score>I._score?-1:T._time<I._time?1:T._time>I._time?-1:0}}]),S}(),w=function(){function S(k,T){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.MAX_SAFE_INTEGER;Object(c.a)(this,S),this._registry=k,this.min=T,this.max=I,this._cache=new a.a(50,.7)}return Object(r.a)(S,[{key:"_key",value:function(T){return T.id+Object(o.b)(this._registry.all(T))}},{key:"_clamp",value:function(T){return T===void 0?this.min:Math.min(this.max,Math.max(this.min,Math.floor(T*1.3)))}},{key:"get",value:function(T){var I=this._key(T),Y=this._cache.get(I);return this._clamp(Y==null?void 0:Y.value)}},{key:"update",value:function(T,I){var Y=this._key(T),$=this._cache.get(Y);return $||($=new n.a,this._cache.set(Y,$)),$.update(I),this.get(T)}}]),S}()},alwl:function(Ie,M,e){var u=e("eUgh"),c=e("ZWtO"),r=e("ut/Y"),f=e("l9OW"),o=e("1LK5"),i=e("sEf8"),a=e("IWTy"),n=e("zZ0H"),v=e("Z0cm");function m(h,t,l){t.length?t=u(t,function(S){return v(S)?function(k){return c(k,S.length===1?S[0]:S)}:S}):t=[n];var p=-1;t=u(t,i(r));var w=f(h,function(S,k,T){var I=u(t,function(Y){return Y(S)});return{criteria:I,index:++p,value:S}});return o(w,function(S,k){return a(S,k,l)})}Ie.exports=m},aokT:function(Ie,M,e){"use strict";e.d(M,"a",function(){return f});var u=e("fWQN"),c=e("mtLc"),r=e("cGHE"),f=function(){function o(i,a,n,v){Object(u.a)(this,o),i>n||i===n&&a>v?(this.startLineNumber=n,this.startColumn=v,this.endLineNumber=i,this.endColumn=a):(this.startLineNumber=i,this.startColumn=a,this.endLineNumber=n,this.endColumn=v)}return Object(c.a)(o,[{key:"isEmpty",value:function(){return o.isEmpty(this)}},{key:"containsPosition",value:function(a){return o.containsPosition(this,a)}},{key:"containsRange",value:function(a){return o.containsRange(this,a)}},{key:"strictContainsRange",value:function(a){return o.strictContainsRange(this,a)}},{key:"plusRange",value:function(a){return o.plusRange(this,a)}},{key:"intersectRanges",value:function(a){return o.intersectRanges(this,a)}},{key:"equalsRange",value:function(a){return o.equalsRange(this,a)}},{key:"getEndPosition",value:function(){return o.getEndPosition(this)}},{key:"getStartPosition",value:function(){return o.getStartPosition(this)}},{key:"toString",value:function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}},{key:"setEndPosition",value:function(a,n){return new o(this.startLineNumber,this.startColumn,a,n)}},{key:"setStartPosition",value:function(a,n){return new o(a,n,this.endLineNumber,this.endColumn)}},{key:"collapseToStart",value:function(){return o.collapseToStart(this)}}],[{key:"isEmpty",value:function(a){return a.startLineNumber===a.endLineNumber&&a.startColumn===a.endColumn}},{key:"containsPosition",value:function(a,n){return!(n.lineNumber<a.startLineNumber||n.lineNumber>a.endLineNumber||n.lineNumber===a.startLineNumber&&n.column<a.startColumn||n.lineNumber===a.endLineNumber&&n.column>a.endColumn)}},{key:"containsRange",value:function(a,n){return!(n.startLineNumber<a.startLineNumber||n.endLineNumber<a.startLineNumber||n.startLineNumber>a.endLineNumber||n.endLineNumber>a.endLineNumber||n.startLineNumber===a.startLineNumber&&n.startColumn<a.startColumn||n.endLineNumber===a.endLineNumber&&n.endColumn>a.endColumn)}},{key:"strictContainsRange",value:function(a,n){return!(n.startLineNumber<a.startLineNumber||n.endLineNumber<a.startLineNumber||n.startLineNumber>a.endLineNumber||n.endLineNumber>a.endLineNumber||n.startLineNumber===a.startLineNumber&&n.startColumn<=a.startColumn||n.endLineNumber===a.endLineNumber&&n.endColumn>=a.endColumn)}},{key:"plusRange",value:function(a,n){var v,m,h,t;return n.startLineNumber<a.startLineNumber?(v=n.startLineNumber,m=n.startColumn):n.startLineNumber===a.startLineNumber?(v=n.startLineNumber,m=Math.min(n.startColumn,a.startColumn)):(v=a.startLineNumber,m=a.startColumn),n.endLineNumber>a.endLineNumber?(h=n.endLineNumber,t=n.endColumn):n.endLineNumber===a.endLineNumber?(h=n.endLineNumber,t=Math.max(n.endColumn,a.endColumn)):(h=a.endLineNumber,t=a.endColumn),new o(v,m,h,t)}},{key:"intersectRanges",value:function(a,n){var v=a.startLineNumber,m=a.startColumn,h=a.endLineNumber,t=a.endColumn,l=n.startLineNumber,p=n.startColumn,w=n.endLineNumber,S=n.endColumn;return v<l?(v=l,m=p):v===l&&(m=Math.max(m,p)),h>w?(h=w,t=S):h===w&&(t=Math.min(t,S)),v>h||v===h&&m>t?null:new o(v,m,h,t)}},{key:"equalsRange",value:function(a,n){return!!a&&!!n&&a.startLineNumber===n.startLineNumber&&a.startColumn===n.startColumn&&a.endLineNumber===n.endLineNumber&&a.endColumn===n.endColumn}},{key:"getEndPosition",value:function(a){return new r.a(a.endLineNumber,a.endColumn)}},{key:"getStartPosition",value:function(a){return new r.a(a.startLineNumber,a.startColumn)}},{key:"collapseToStart",value:function(a){return new o(a.startLineNumber,a.startColumn,a.startLineNumber,a.startColumn)}},{key:"fromPositions",value:function(a){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a;return new o(a.lineNumber,a.column,n.lineNumber,n.column)}},{key:"lift",value:function(a){return a?new o(a.startLineNumber,a.startColumn,a.endLineNumber,a.endColumn):null}},{key:"isIRange",value:function(a){return a&&typeof a.startLineNumber=="number"&&typeof a.startColumn=="number"&&typeof a.endLineNumber=="number"&&typeof a.endColumn=="number"}},{key:"areIntersectingOrTouching",value:function(a,n){return!(a.endLineNumber<n.startLineNumber||a.endLineNumber===n.startLineNumber&&a.endColumn<n.startColumn||n.endLineNumber<a.startLineNumber||n.endLineNumber===a.startLineNumber&&n.endColumn<a.startColumn)}},{key:"areIntersecting",value:function(a,n){return!(a.endLineNumber<n.startLineNumber||a.endLineNumber===n.startLineNumber&&a.endColumn<=n.startColumn||n.endLineNumber<a.startLineNumber||n.endLineNumber===a.startLineNumber&&n.endColumn<=a.startColumn)}},{key:"compareRangesUsingStarts",value:function(a,n){if(a&&n){var v=a.startLineNumber|0,m=n.startLineNumber|0;if(v===m){var h=a.startColumn|0,t=n.startColumn|0;if(h===t){var l=a.endLineNumber|0,p=n.endLineNumber|0;if(l===p){var w=a.endColumn|0,S=n.endColumn|0;return w-S}return l-p}return h-t}return v-m}var k=a?1:0,T=n?1:0;return k-T}},{key:"compareRangesUsingEnds",value:function(a,n){return a.endLineNumber===n.endLineNumber?a.endColumn===n.endColumn?a.startLineNumber===n.startLineNumber?a.startColumn-n.startColumn:a.startLineNumber-n.startLineNumber:a.endColumn-n.endColumn:a.endLineNumber-n.endLineNumber}},{key:"spansMultipleLines",value:function(a){return a.endLineNumber>a.startLineNumber}}]),o}()},asDA:function(Ie,M){function e(u,c,r,f){var o=-1,i=u==null?0:u.length;for(f&&i&&(r=u[++o]);++o<i;)r=c(r,u[o],o,u);return r}Ie.exports=e},b2XM:function(Ie,M,e){},b2z7:function(Ie,M){var e=/\w*$/;function u(c){var r=new c.constructor(c.source,e.exec(c));return r.lastIndex=c.lastIndex,r}Ie.exports=u},b5wT:function(Ie,M,e){var u;try{u={cloneDeep:e("BkRI"),constant:e("cvCv"),defaults:e("la6v"),each:e("xkGU"),filter:e("k4Da"),find:e("J2m7"),flatten:e("TYy9"),forEach:e("bNQv"),forIn:e("mUg4"),has:e("OFL0"),isUndefined:e("TP7S"),last:e("RBan"),map:e("3WF5"),mapValues:e("noZS"),max:e("q92V"),merge:e("QkVN"),min:e("AE40"),minBy:e("gPaA"),now:e("QIyF"),pick:e("JZM8"),range:e("WjpJ"),reduce:e("xaJk"),sortBy:e("xweI"),uniqueId:e("mNz5"),values:e("P/G1"),zipObject:e("VJLA")}}catch(c){}u||(u=window._),Ie.exports=u},b80T:function(Ie,M,e){var u=e("UNi/"),c=e("03A+"),r=e("Z0cm"),f=e("DSRE"),o=e("wJg7"),i=e("c6wG"),a=Object.prototype,n=a.hasOwnProperty;function v(m,h){var t=r(m),l=!t&&c(m),p=!t&&!l&&f(m),w=!t&&!l&&!p&&i(m),S=t||l||p||w,k=S?u(m.length,String):[],T=k.length;for(var I in m)(h||n.call(m,I))&&!(S&&(I=="length"||p&&(I=="offset"||I=="parent")||w&&(I=="buffer"||I=="byteLength"||I=="byteOffset")||o(I,T)))&&k.push(I);return k}Ie.exports=v},bE4E:function(Ie,M,e){},bNQv:function(Ie,M,e){var u=e("gFfm"),c=e("SKAX"),r=e("EwQA"),f=e("Z0cm");function o(i,a){var n=f(i)?u:c;return n(i,r(a))}Ie.exports=o},bP8k:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("jhiw"),f=e.n(r)},bXwp:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("8ub7"),c=e("VOwL"),r=e("nKUr"),f=e.n(r),o="20px",i=function(d){switch(d){case c.a.SQL:return Object(r.jsx)(u.a,{component:n});case c.a.FLINKJAR:return Object(r.jsx)(u.a,{component:v});case c.a.MYSQL:return Object(r.jsx)(u.a,{component:m});case c.a.ORACLE:return Object(r.jsx)(u.a,{component:h});case c.a.SQLSERVER:return Object(r.jsx)(u.a,{component:t});case c.a.POSTGRESQL:return Object(r.jsx)(u.a,{component:l});case c.a.CLICKHOUSE:return Object(r.jsx)(u.a,{component:p});case c.a.DORIS:return Object(r.jsx)(u.a,{component:S});case c.a.HIVE:return Object(r.jsx)(u.a,{component:I});case c.a.PHOENIX:return Object(r.jsx)(u.a,{component:w});case c.a.STARROCKS:return Object(r.jsx)(u.a,{component:k});case c.a.PRESTO:return Object(r.jsx)(u.a,{component:T});case c.a.JAVA:return Object(r.jsx)(u.a,{component:Y});case c.a.SCALA:return Object(r.jsx)(u.a,{component:$});case c.a.PYTHON:return Object(r.jsx)(u.a,{component:A});default:return Object(r.jsx)(u.a,{component:a})}},a=function(){return Object(r.jsxs)("svg",{t:"1640784681443",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6264",width:o,height:o,children:[Object(r.jsx)("path",{d:"M821.76 870.4s-5.12 33.28 5.12 48.64l43.52 30.72-2.56 10.24v15.36l10.24 2.56 15.36-2.56 2.56 5.12 7.68 10.24h10.24l10.24-23.04v-10.24l10.24-2.56s69.12-23.04 53.76-48.64l-5.12-2.56s-30.72 12.8-43.52 10.24c0 0-58.88 2.56-87.04-17.92l-30.72-25.6z",fill:"#D77083","p-id":"6265"}),Object(r.jsx)("path",{d:"M837.12 849.92s-28.16 0-10.24 28.16c0 0 28.16 30.72 81.92 38.4 0 0 79.36 0 84.48-25.6 0 0-2.56-30.72-25.6-28.16-23.04 7.68-130.56-12.8-130.56-12.8z",fill:"#733D48","p-id":"6266"}),Object(r.jsx)("path",{d:"M960 768s35.84 38.4 20.48 97.28c0 0-2.56 25.6-23.04 33.28 0 0-38.4 7.68-48.64 2.56 0 0-48.64-2.56-64-28.16 0 0-20.48-20.48-2.56-43.52 0 0 35.84-15.36 43.52-38.4 0 0 12.8-10.24 28.16-7.68 15.36 2.56 28.16 10.24 28.16 10.24s23.04-17.92 17.92-25.6z",fill:"#D59D52","p-id":"6267"}),Object(r.jsx)("path",{d:"M865.28 798.72s17.92 38.4 61.44 40.96c0 0 40.96 0 58.88-25.6l-15.36-38.4-28.16-7.68s-74.24-23.04-76.8 30.72z",fill:"#DBAE62","p-id":"6268"}),Object(r.jsx)("path",{d:"M960 768s17.92 23.04-5.12 28.16c0 0-23.04 5.12-35.84 0 0 0-79.36 23.04-58.88 89.6 0 0-15.36 0-23.04-38.4L844.8 768s107.52-20.48 115.2 0z",fill:"#B88F4D","p-id":"6269"}),Object(r.jsx)("path",{d:"M949.76 806.4s10.24 20.48 2.56 30.72c0 0-2.56 5.12 10.24 7.68 0 0 15.36-17.92-2.56-46.08 0 0-10.24-2.56-10.24 7.68z",fill:"#FFFFFF","p-id":"6270"}),Object(r.jsx)("path",{d:"M954.88 803.84m-5.12 0a5.12 5.12 0 1 0 10.24 0 5.12 5.12 0 1 0-10.24 0Z",fill:"#FFFFFF","p-id":"6271"}),Object(r.jsx)("path",{d:"M957.44 839.68m-5.12 0a5.12 5.12 0 1 0 10.24 0 5.12 5.12 0 1 0-10.24 0Z",fill:"#FFFFFF","p-id":"6272"}),Object(r.jsx)("path",{d:"M988.16 870.4s23.04-58.88-20.48-104.96h-7.68v12.8s25.6 28.16 17.92 61.44c0 0-2.56 28.16-7.68 40.96 0 0-17.92 17.92-38.4 17.92 0 0-43.52 0-79.36-20.48 0 0-17.92-20.48-10.24-43.52h-5.12c0-2.56-2.56-5.12-12.8 0 0 0 5.12 7.68-5.12 10.24 0 0-20.48 10.24-15.36 51.2 2.56 35.84 48.64 58.88 48.64 58.88s2.56 2.56 2.56 7.68-2.56 17.92 12.8 20.48c0 0 10.24 2.56 15.36-2.56 0 0 7.68 23.04 23.04 17.92 15.36-5.12 20.48-20.48 12.8-33.28 0 0 35.84-5.12 58.88-33.28 5.12 0 35.84-33.28 10.24-61.44z m-10.24 48.64c-5.12 7.68-15.36 30.72-51.2 38.4 0 0-20.48 0-28.16-2.56 0 0-20.48 7.68 2.56 5.12 0 0 17.92 0 15.36 12.8 0 0-2.56 12.8-7.68 12.8 0 0-5.12 5.12-12.8-10.24 0 0 2.56-5.12-7.68-5.12 0 0-17.92 7.68-17.92-10.24 0 0 5.12-10.24 10.24-12.8 0 0-51.2-15.36-58.88-58.88 0 0-5.12-10.24 2.56-7.68 35.84 33.28 79.36 38.4 79.36 38.4 38.4 5.12 71.68-10.24 71.68-10.24 2.56 2.56 5.12 5.12 2.56 10.24z m7.68-23.04s-2.56 5.12-5.12 7.68c-2.56 0-2.56 2.56-5.12 2.56-46.08 20.48-102.4 0-102.4 0-43.52-23.04-46.08-38.4-46.08-40.96 0-2.56 0-5.12 2.56-5.12 0 0 5.12-10.24 10.24-5.12 0 7.68 5.12 17.92 10.24 23.04 15.36 12.8 35.84 23.04 69.12 25.6 33.28 2.56 51.2-7.68 58.88-23.04 5.12 2.56 10.24 10.24 7.68 15.36z","p-id":"6273"}),Object(r.jsx)("path",{d:"M35.84 563.2s15.36 125.44 112.64 207.36l115.2-99.84L435.2 665.6l220.16-125.44s133.12-84.48 128-179.2c0 0-145.92 66.56-179.2 46.08L547.84 435.2 486.4 478.72l-89.6 7.68-12.8 15.36-166.4 51.2s-23.04-71.68 53.76-192l25.6-40.96-110.08 51.2-2.56-25.6-12.8 2.56-20.48 64-23.04 7.68-64 110.08-7.68-17.92h-10.24v51.2h-10.24z",fill:"#947BB0","p-id":"6274"}),Object(r.jsx)("path",{d:"M757.76 460.8l23.04-7.68 28.16-40.96h10.24l17.92 2.56 7.68 15.36 15.36 15.36 28.16 7.68 25.6 10.24 23.04 20.48 10.24 15.36 12.8 23.04 10.24 35.84 7.68 25.6 5.12 17.92 5.12 15.36-2.56 23.04-7.68 17.92-10.24 12.8-25.6 7.68-7.68 7.68-33.28 5.12h-23.04l-15.36 10.24 2.56 12.8h15.36l28.16-7.68 28.16 2.56 17.92 15.36 7.68 7.68 2.56 17.92v25.6l-17.92 15.36-17.92-2.56-12.8-5.12-23.04 2.56-7.68 10.24-15.36 15.36-28.16 15.36-25.6 5.12-38.4 5.12-2.56 10.24v10.24l-5.12 20.48-15.36 20.48-15.36 23.04 30.72 2.56 28.16 5.12 12.8 15.36 5.12 15.36-5.12 12.8-17.92 15.36-40.96 2.56H384s-204.8 0-289.28-148.48-53.76-243.2-53.76-243.2l5.12-23.04s33.28 117.76 89.6 176.64l15.36 17.92s10.24-2.56 17.92-43.52c0 0 17.92-84.48 227.84-84.48l87.04-46.08 87.04-25.6 64-15.36 51.2-25.6 71.68-69.12z",fill:"#D77083","p-id":"6275"}),Object(r.jsx)("path",{d:"M870.4 555.52s15.36-23.04 46.08-7.68c0 0 30.72 17.92 10.24 58.88 0 0-12.8-2.56-23.04 0-2.56 0-61.44 2.56-33.28-51.2z","p-id":"6276"}),Object(r.jsx)("path",{d:"M880.64 581.12s-7.68-7.68-2.56-17.92l-7.68-7.68s-12.8 15.36 10.24 33.28c0 0 10.24 7.68 33.28 7.68 0 0 7.68 2.56 7.68 5.12v-20.48s-5.12 12.8-12.8 12.8c0 0-17.92-2.56-28.16-12.8z",fill:"#FFFFFF","p-id":"6277"}),Object(r.jsx)("path",{d:"M901.12 568.32m-15.36 0a15.36 15.36 0 1 0 30.72 0 15.36 15.36 0 1 0-30.72 0Z",fill:"#D19B52","p-id":"6278"}),Object(r.jsx)("path",{d:"M888.32 558.08m-7.68 0a7.68 7.68 0 1 0 15.36 0 7.68 7.68 0 1 0-15.36 0Z",fill:"#FFFFFF","p-id":"6279"}),Object(r.jsx)("path",{d:"M312.32 153.6l2.56-25.6 66.56-48.64 30.72-15.36s40.96-35.84 99.84-35.84l71.68 7.68 51.2 17.92 38.4 23.04 30.72 15.36 38.4 25.6-7.68 46.08-7.68 33.28 10.24 46.08-15.36 23.04s-7.68 20.48-48.64 53.76l-23.04 43.52-40.96 51.2L537.6 460.8l-61.44 17.92-48.64 5.12L250.88 537.6l-33.28 15.36s-20.48-110.08 53.76-192l46.08-40.96s30.72-25.6 35.84-66.56l28.16 48.64 20.48-43.52c0-2.56 2.56-112.64-89.6-104.96z",fill:"#E7DFAB","p-id":"6280"}),Object(r.jsx)("path",{d:"M765.44 99.84L742.4 128l-7.68 25.6-5.12 58.88-7.68 53.76s-30.72 48.64-43.52 43.52l-10.24 23.04-5.12 17.92 40.96-35.84 53.76-23.04 30.72-12.8 12.8-25.6-12.8-48.64-2.56-30.72-15.36-5.12s-7.68-40.96 5.12-56.32l-10.24-12.8z",fill:"#D19456","p-id":"6281"}),Object(r.jsx)("path",{d:"M642.56 373.76s51.2-61.44 115.2-89.6v15.36l64-35.84h15.36l-5.12 33.28-17.92 23.04-20.48 33.28-33.28 23.04-69.12 25.6-66.56 15.36 17.92-43.52z",fill:"#D77083","p-id":"6282"}),Object(r.jsx)("path",{d:"M396.8 174.08s84.48-23.04 112.64 0c28.16 23.04 104.96-5.12 104.96-5.12l69.12 40.96-5.12 97.28s-7.68-64-81.92-71.68-71.68-20.48-117.76-43.52-35.84 2.56-81.92-17.92z",fill:"#D89E52","p-id":"6283"}),Object(r.jsx)("path",{d:"M396.8 174.08s10.24 30.72 61.44 33.28 215.04 87.04 151.04 156.16c0 0-10.24 76.8-74.24 94.72 0 0 51.2-66.56 17.92-138.24 0 0-7.68-58.88-79.36-76.8 2.56 0-43.52-20.48-76.8-69.12z",fill:"#D89E52","p-id":"6284"}),Object(r.jsx)("path",{d:"M445.44 273.92s25.6 79.36 69.12 92.16c0 0 51.2 46.08 5.12 79.36l-92.16 38.4-158.72 40.96-56.32 20.48s64-81.92 107.52-102.4c0 0 76.8-20.48 110.08-102.4l15.36-66.56z",fill:"#D89E52","p-id":"6285"}),Object(r.jsx)("path",{d:"M371.2 273.92s-17.92 76.8-94.72 151.04C238.08 460.8 230.4 506.88 222.72 540.16c0 0 20.48-71.68 76.8-117.76 33.28-28.16 69.12-71.68 71.68-148.48z",fill:"#814879","p-id":"6286"}),Object(r.jsx)("path",{d:"M437.76 496.64s48.64 2.56 66.56 17.92c0 0-15.36-12.8-28.16-17.92 0 0 76.8 10.24 107.52 23.04 0 0 35.84 7.68 56.32 0 0 0-56.32-2.56-79.36-17.92 0 0-46.08-17.92-74.24-15.36l-48.64 10.24z",fill:"#785085","p-id":"6287"}),Object(r.jsx)("path",{d:"M601.6 437.76s23.04-5.12 53.76 0c0 0 48.64 25.6 104.96-12.8 0 0-43.52 53.76-79.36 46.08 0 0-99.84-17.92-120.32-10.24 2.56 2.56 33.28-7.68 40.96-23.04z",fill:"#E1CAC9","p-id":"6288"}),Object(r.jsx)("path",{d:"M378.88 156.16s35.84-30.72 51.2-35.84c0 0 69.12-17.92 40.96 0l-12.8 15.36s25.6-12.8 53.76-10.24l-12.8 10.24s43.52-7.68 48.64 0c0 0 17.92 20.48 35.84 10.24 0 0-7.68 20.48-51.2-2.56 0 0-30.72 0 0 12.8-2.56 0-84.48-20.48-153.6 0z",fill:"#FFFFFF","p-id":"6289"}),Object(r.jsx)("path",{d:"M345.6 709.12s-35.84 5.12-35.84 58.88c0 0 7.68 43.52 40.96 56.32 0 0-15.36-66.56 7.68-112.64l-12.8-2.56z",fill:"#A04F5D","p-id":"6290"}),Object(r.jsx)("path",{d:"M675.84 724.48s-5.12 89.6 30.72 128c0 0 30.72 30.72 71.68 25.6 0 0 23.04-38.4-23.04-40.96 0 0-46.08-10.24-58.88-56.32-2.56 2.56-7.68-51.2-20.48-56.32z",fill:"#9A505E","p-id":"6291"}),Object(r.jsx)("path",{d:"M714.24 642.56s-17.92 71.68 58.88 92.16c0 0 61.44 7.68 79.36-25.6 0 0-64 12.8-97.28-20.48-2.56 0-38.4-25.6-40.96-46.08zM824.32 427.52s-48.64 30.72-12.8 64c0 0 7.68-35.84 15.36-46.08 10.24-10.24-2.56-17.92-2.56-17.92z",fill:"#A04F5E","p-id":"6292"}),Object(r.jsx)("path",{d:"M819.2 450.56s-12.8 28.16-7.68 38.4c0 0 7.68 17.92 12.8 15.36 0 0-12.8-25.6 2.56-48.64 0 0 12.8-17.92 0-43.52 0 2.56 5.12 20.48-7.68 38.4zM844.8 501.76s30.72-17.92 10.24-46.08c0 0 5.12 25.6-10.24 46.08zM714.24 640c0-2.56 0 0 0 0zM714.24 640c10.24 74.24 89.6 69.12 89.6 69.12-79.36-15.36-89.6-66.56-89.6-69.12z","p-id":"6293"}),Object(r.jsx)("path",{d:"M985.6 591.36s-10.24-35.84-10.24-53.76c0 0-17.92-94.72-115.2-99.84 0 0-10.24-30.72-40.96-30.72 0 0-17.92 2.56-46.08 38.4-5.12 5.12-5.12-2.56-5.12-2.56 5.12-5.12 5.12-10.24 5.12-10.24 17.92-20.48 28.16-64 33.28-81.92 10.24-7.68 17.92-17.92 25.6-28.16l10.24-33.28s-5.12 0-10.24 7.68 17.92-40.96 10.24-53.76c0 0-30.72 15.36-33.28 23.04 0 0-7.68-46.08-17.92-69.12 0 0 0-33.28 10.24-38.4 0 0-10.24-12.8-25.6 10.24 0 0-17.92-17.92 7.68-66.56 0 0 5.12-10.24-20.48-2.56 0 0-20.48 20.48-23.04 25.6 0 0-10.24-12.8-15.36-28.16 0 0-2.56-2.56-5.12 0 0 0-5.12 7.68-7.68-7.68 0 0-10.24-17.92-15.36-17.92 0 0 2.56 12.8 0 12.8 0 0-2.56 0-10.24-5.12 0 0-38.4-25.6-97.28-38.4 0 0-12.8-5.12-17.92-7.68 0 0-2.56 0-5.12 2.56 0 0-10.24 0-17.92-2.56-28.16-12.8-40.96 0-40.96 0-145.92 0-192 94.72-192 94.72-15.36 15.36-2.56 25.6-2.56 25.6h23.04c97.28 61.44 35.84 120.32 35.84 120.32l-10.24-33.28c-23.04-23.04-15.36 0-15.36 0 7.68 35.84-17.92 58.88-17.92 58.88-76.8 23.04-133.12 56.32-133.12 56.32-15.36-2.56 7.68-25.6-10.24-23.04s-28.16 48.64-28.16 48.64C107.52 417.28 66.56 486.4 51.2 512c0-5.12-2.56-38.4-2.56-56.32 0 0-17.92 43.52-7.68 89.6 0 0-7.68 20.48-12.8 46.08 0 0 0 5.12-2.56 10.24v33.28c0 40.96 2.56 102.4 28.16 153.6 0 0 38.4 120.32 197.12 186.88 0 0 64 23.04 120.32 23.04h384s53.76 0 61.44-28.16c7.68-30.72-10.24-61.44-61.44-53.76 0 0-15.36 2.56 5.12-12.8 0 0 17.92-15.36 17.92-48.64 0 0-7.68-12.8 17.92-10.24 0 0 17.92 0 28.16-2.56 0 0 48.64-10.24 66.56-51.2 0 0 17.92-7.68 28.16 0 0 0 20.48 10.24 25.6 2.56 0 0 2.56-2.56 15.36-10.24 0 0 5.12 2.56 10.24-35.84 0 0 0-15.36-10.24-23.04 0 0-5.12-7.68-7.68-12.8 0 0-12.8-17.92-56.32-10.24 0 0-23.04 15.36-28.16 7.68-5.12-7.68 7.68-7.68 7.68-7.68s51.2-2.56 71.68-17.92c0 0 33.28-2.56 35.84-38.4 2.56-5.12 23.04-23.04 2.56-53.76z m-220.16-168.96c-46.08 94.72-135.68 122.88-135.68 122.88-46.08 0-56.32 2.56-56.32 2.56 33.28 5.12 25.6 10.24 25.6 10.24-71.68 7.68-97.28 20.48-97.28 20.48-94.72-15.36-145.92-5.12-145.92-5.12-115.2 20.48-163.84 74.24-163.84 74.24 102.4-58.88 171.52-64 171.52-64 112.64-7.68 120.32 0 120.32 0-30.72 5.12-69.12 33.28-69.12 33.28-17.92 12.8-97.28 25.6-97.28 25.6-28.16 2.56-79.36 17.92-79.36 17.92-79.36 25.6-79.36 97.28-79.36 97.28-25.6-28.16-23.04-76.8-23.04-76.8l-2.56-2.56c2.56-10.24 7.68-20.48 17.92-43.52 23.04-53.76 38.4-56.32 79.36-81.92s192-53.76 192-53.76c148.48-17.92 189.44-71.68 189.44-71.68 2.56-2.56 7.68-7.68 15.36-12.8h2.56s87.04-2.56 156.16-48.64c-2.56 23.04-20.48 56.32-20.48 56.32z m64-153.6s-5.12 43.52-38.4 71.68c0 0-48.64 48.64-153.6 66.56l-5.12 2.56c7.68-10.24 17.92-17.92 17.92-17.92 84.48-12.8 135.68-74.24 135.68-74.24-74.24 53.76-130.56 64-130.56 64 7.68-10.24 12.8-23.04 20.48-35.84 10.24-7.68 43.52-35.84 71.68-43.52 0 0-12.8 23.04-28.16 33.28 0 0 23.04-2.56 61.44-38.4-2.56-5.12 28.16-28.16 48.64-28.16z m-92.16-94.72c5.12-43.52 28.16-64 28.16-64 10.24 7.68 0 15.36 0 15.36-7.68 25.6-2.56 58.88-2.56 58.88l-25.6 58.88c0-2.56-5.12-25.6 0-69.12z m-381.44 92.16c33.28 43.52-20.48 115.2-20.48 115.2 92.16-71.68 71.68-138.24 71.68-138.24 0-66.56-53.76-87.04-53.76-87.04-28.16-5.12-23.04-15.36-23.04-15.36 76.8-87.04 148.48-71.68 148.48-71.68 0-12.8-53.76-5.12-53.76-5.12 17.92-25.6 79.36-20.48 79.36-20.48 10.24 2.56 33.28 12.8 33.28 12.8l-10.24-20.48c7.68 2.56 12.8 5.12 17.92 7.68 5.12 2.56 10.24 2.56 10.24 2.56 7.68 0 17.92 2.56 33.28 2.56 0 0 15.36 2.56 28.16 28.16 0 0-2.56-15.36-5.12-20.48 0 0 17.92 10.24 25.6 23.04 0 0 2.56-2.56 0-12.8 0 0 33.28 15.36 46.08 35.84 0 0 2.56 2.56 2.56-5.12 0 0 2.56-15.36 7.68 0 0 0-2.56 15.36 2.56 12.8 0 0 5.12-5.12 5.12-12.8 0 0 5.12-2.56 5.12 5.12 0 0 5.12 5.12 10.24 0 0 0 5.12 5.12 7.68 15.36 2.56 10.24 7.68 17.92 7.68 17.92s-10.24 25.6-7.68 53.76c0 0 0 71.68-10.24 84.48 0 0 30.72-12.8 43.52-66.56 0 0 17.92-46.08 20.48-17.92 0 0-5.12 12.8 0 28.16 0 0-7.68 30.72-15.36 35.84 0 0 15.36-10.24 23.04-23.04 0 0 7.68 25.6-5.12 33.28 0 0-35.84 23.04-69.12 30.72 0 0-23.04 12.8-30.72 28.16l-5.12 7.68c12.8-30.72 20.48-61.44 20.48-61.44 12.8-10.24 17.92-30.72 17.92-30.72-5.12 0-15.36 12.8-15.36 12.8-10.24 10.24-5.12-17.92-5.12-17.92 5.12-7.68 10.24-20.48 10.24-20.48 0-10.24-10.24 2.56-10.24 2.56-10.24 5.12-5.12-12.8-5.12-12.8 7.68-15.36 2.56-20.48 2.56-20.48-5.12 0-12.8 23.04-12.8 23.04-2.56 15.36-15.36-15.36-15.36-15.36-12.8-10.24-10.24-35.84-10.24-35.84-2.56-15.36-5.12 0-5.12 0-2.56 17.92-5.12 7.68-5.12 7.68 0-12.8-2.56-23.04-2.56-23.04v20.48c-5.12 7.68-10.24-10.24-10.24-10.24-2.56-17.92-7.68-15.36-7.68-15.36-2.56 10.24 2.56 15.36 0 17.92-2.56 2.56-10.24-7.68-10.24-17.92 0-10.24-7.68-5.12-7.68-5.12 0 17.92-5.12 10.24-5.12 10.24-133.12-58.88-189.44-12.8-189.44-12.8 122.88-51.2 232.96 69.12 232.96 69.12-17.92-7.68-48.64-2.56-48.64-2.56-35.84 15.36-56.32 5.12-56.32 5.12 12.8 15.36 64 7.68 64 7.68 20.48-7.68 38.4 2.56 38.4 2.56 23.04 20.48-5.12 20.48-5.12 20.48 25.6 10.24 33.28 48.64 33.28 48.64-7.68 104.96-117.76 158.72-117.76 158.72 53.76-81.92 20.48-130.56 20.48-130.56-17.92-40.96-92.16-58.88-92.16-58.88 74.24 33.28 79.36 76.8 79.36 76.8 7.68 76.8-35.84 122.88-35.84 122.88l-25.6 10.24c17.92-23.04 15.36-64 15.36-64-12.8 53.76-64 79.36-64 79.36 17.92-28.16 15.36-53.76 15.36-53.76-5.12 25.6-46.08 56.32-46.08 56.32-17.92 23.04-135.68 51.2-145.92 51.2-5.12 0-30.72 7.68-46.08 15.36-28.16-81.92 81.92-199.68 81.92-199.68 38.4-25.6 48.64-74.24 48.64-74.24z m-220.16 161.28c-12.8 145.92 35.84 143.36 35.84 143.36-56.32-38.4-5.12-199.68-5.12-199.68 15.36-38.4 17.92 0 17.92 0-23.04 43.52-15.36 84.48-15.36 84.48 12.8-102.4 107.52-115.2 107.52-115.2-69.12 99.84-64 204.8-64 204.8h2.56c-7.68 0-10.24 2.56-10.24 2.56-20.48-56.32 0-130.56 0-130.56-35.84 38.4-15.36 156.16-15.36 156.16-2.56 7.68-12.8 2.56-12.8 2.56-10.24 0-28.16 38.4-28.16 38.4-5.12 0-12.8-17.92-12.8-17.92-5.12 12.8 0 17.92 0 17.92 5.12 30.72 2.56 25.6 2.56 25.6-5.12 2.56-10.24-15.36-10.24-15.36-7.68 15.36 2.56 33.28 2.56 33.28l-2.56 15.36s-46.08-64-66.56-130.56c20.48-56.32 74.24-115.2 74.24-115.2z m-87.04 92.16s-5.12 33.28 79.36 168.96c0 15.36 0 30.72 2.56 46.08 0 0-61.44-56.32-76.8-158.72 0 0-7.68-48.64-5.12-56.32z m934.4 115.2s-17.92-20.48-23.04-10.24l17.92 15.36s0 30.72-35.84 33.28c0 0-12.8 17.92-53.76 17.92 0 0-25.6 2.56-33.28 10.24 0 0-10.24 7.68-46.08 5.12 0 0 10.24 5.12 30.72 5.12 0 0 12.8-2.56 15.36 2.56 0 0 20.48 7.68 20.48 10.24s53.76-30.72 74.24 0c0 0 5.12 10.24 10.24 10.24 0 0 2.56 12.8 0 15.36s-10.24-7.68-10.24 0c0 0 17.92 2.56 10.24 23.04 0 0-15.36 23.04-35.84 5.12 0 0-28.16 5.12-35.84 0 0 0-23.04 74.24-138.24 53.76 0 0-46.08-10.24-66.56-76.8 0 0-28.16-120.32-140.8-89.6 0 0 71.68-5.12 104.96 40.96 0 0 25.6 20.48 40.96 81.92 0 0 17.92 43.52 64 51.2 0 0 33.28 2.56 10.24 46.08 0 0-12.8 20.48-40.96 35.84 0 0-10.24 5.12-7.68 12.8 0 0-2.56 15.36 12.8 2.56 0 0 58.88-33.28 76.8 12.8 0 0 5.12 10.24 0 12.8 0 0-5.12 0-7.68-5.12 0 0-5.12-12.8-12.8-10.24 0 0 15.36 10.24 10.24 30.72 0 0-12.8 15.36-17.92 0 0 0 5.12-28.16-15.36-23.04 0 0 20.48 15.36 5.12 30.72 0 0-7.68 5.12-23.04 2.56 0 0-7.68-10.24-46.08 0h-332.8s-174.08-2.56-276.48-156.16c0 0-46.08-84.48-48.64-140.8L76.8 742.4l-33.28-81.92v-56.32c0-10.24 2.56-20.48 2.56-25.6 2.56-10.24 12.8 79.36 89.6 176.64 10.24 40.96 30.72 66.56 30.72 66.56-20.48 0-48.64-28.16-48.64-28.16 30.72 48.64 76.8 61.44 76.8 61.44 61.44 51.2 122.88 64 122.88 64-43.52-10.24-92.16-51.2-92.16-51.2-46.08-35.84-69.12-94.72-69.12-94.72 0-20.48 23.04-56.32 23.04-56.32 30.72-46.08 110.08-58.88 110.08-58.88 46.08-2.56 102.4-12.8 102.4-12.8-12.8 5.12-30.72 43.52-30.72 43.52-2.56 5.12-23.04 7.68-23.04 7.68C248.32 706.56 230.4 742.4 230.4 742.4c15.36-12.8 43.52-23.04 43.52-23.04 15.36-7.68 71.68-10.24 71.68-10.24-23.04 87.04 10.24 156.16 10.24 156.16-30.72-94.72 12.8-163.84 12.8-163.84 56.32-84.48 148.48-102.4 148.48-102.4 33.28-10.24 115.2-30.72 115.2-30.72 56.32-20.48 84.48-58.88 84.48-58.88 12.8-20.48 40.96-33.28 51.2-38.4 0 7.68 5.12 15.36 12.8 20.48 0 0 10.24 2.56 5.12-15.36 0 0-10.24-10.24 5.12-33.28 0 0 17.92-20.48 30.72-23.04 0 0 23.04 17.92 25.6 35.84 0 0 97.28 15.36 110.08 99.84 0 0 2.56 15.36 2.56 20.48 0 0 0 10.24 10.24 25.6 5.12-5.12 20.48 20.48 12.8 33.28z","p-id":"6294"})]})},n=function(){return Object(r.jsxs)("svg",{t:"1640788645374",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9314",width:o,height:o,children:[Object(r.jsx)("path",{d:"M145.621959 0c-44.79888 0-79.998 36.81188-79.998 81.61076v860.77848c0 44.79888 35.19912 81.61076 79.998 81.61076h732.781681a81.969151 81.969151 0 0 0 81.61076-81.61076V324.80468L657.60916 0h-511.987201z",fill:"#A4D3EE","p-id":"9315"}),Object(r.jsx)("path",{d:"M657.60916 0v233.59416c0 25.59936 17.61236 92.79768 97.61036 92.79768h204.79488L657.60916 0z",fill:"#FFFFFF","p-id":"9316"}),Object(r.jsx)("path",{d:"M243.565111 696.532987c3.404715 1.20317 6.886228 2.611135 10.418939 4.198295s7.21902 3.123122 11.033325 4.582285 7.782205 2.662333 11.929301 3.686308 8.575786 1.510362 13.286068 1.510362c5.503862 0 11.058924-0.639984 16.639584-1.945551s11.084523-3.225519 16.434789-5.785455 10.470138-5.657459 15.385216-9.292568 9.394965-7.884603 13.490862-12.671683c4.505487-5.094273 8.242994-9.727757 11.238119-13.874854s5.427064-7.859004 7.270219-11.110122 3.174321-6.041449 3.967901-8.39659 1.20317-4.377491 1.203169-6.067048c0-2.508737-0.844779-4.684683-2.559936-6.527837s-3.967901-3.379116-6.835029-4.582285-6.067048-2.073548-9.676558-2.636734-7.347016-0.81918-11.238119-0.81918c-2.303942 0-4.991875 0.076798-8.089398 0.230394l-9.446163 0.460789-9.292568 0.38399a150.39624 150.39624 0 0 1-7.807805 0.153596c-3.302317 0-6.732632-0.38399-10.265343-1.126372s-7.014225-1.971151-10.41894-3.686307-6.553436-3.9935-9.446164-6.911828a35.403915 35.403915 0 0 1-8.831779-15.743606 24.626584 24.626584 0 0 1-0.742381-6.143846c0-2.40634 0.179196-4.684683 0.537586-6.83503s0.767981-4.223894 1.279968-6.220644c1.407965-4.991875 3.737507-10.086148 6.963026-15.231619s7.142221-10.162946 11.698908-15.078023 9.497363-9.650959 14.847629-14.258844 10.854129-8.934177 16.511587-12.978875 11.21252-7.705407 16.639584-10.956526 10.521337-6.01585 15.231619-8.319792c6.604635-3.19992 13.337267-5.529462 20.172296-6.963026s13.61886-2.175946 20.325891-2.175946c3.9935 0 7.807805 0.537587 11.391716 1.58716s6.78383 2.585535 9.522962 4.582286 4.915077 4.479888 6.527836 7.423814 2.40634 6.323042 2.40634 10.137347c0 2.201545-0.255994 4.044699-0.742381 5.555061s-1.151971 2.713532-1.945552 3.686308-1.663958 1.61276-2.636734 2.022349-1.919952 0.588785-2.918327 0.588785c-2.687933 0-5.171071-0.307192-7.423814-0.895977s-4.428689-1.279968-6.527837-2.02235-4.198295-1.459164-6.297442-2.099147-4.40309-0.972776-6.911828-0.972776c-7.398215 0-14.924427 1.484763-22.578635 4.428689s-15.103622 6.707032-22.348241 11.23812-14.105247 9.625359-20.556287 15.231619-12.236494 11.058924-17.330766 16.357991c-2.687933 2.79033-4.684683 5.60626-5.913452 8.39659s-1.868753 5.452664-1.868754 7.961401c0 3.711907 1.61276 6.604635 4.81268 8.703782s7.091023 3.148721 11.698907 3.148722c2.687933 0 5.759856-0.051199 9.138972-0.153597a796.140096 796.140096 0 0 0 20.761081-0.844779c3.353516-0.153596 6.323042-0.230394 8.934177-0.230394 6.195045 0 12.159696 0.870378 17.842754 2.636734s10.751731 4.326292 15.154821 7.731007 7.935802 7.628609 10.572535 12.671683 3.967901 10.828529 3.967901 17.330767c0 3.9935-0.588785 8.038199-1.791955 12.159696s-2.841529 8.217395-4.940677 12.364491-4.505487 8.242994-7.19342 12.287693-5.555061 8.0126-8.550186 11.929301c-5.401465 6.988625-11.417315 13.59326-18.073148 19.788306s-13.721257 11.59651-21.22187 16.204395-15.436414 8.242994-23.781805 10.956526-16.921177 4.044699-25.727357 4.044699a74.724532 74.724532 0 0 1-23.551411-4.121497c-3.891103-1.356766-7.577411-3.046324-11.033324-5.094273s-6.476638-4.377491-9.062174-6.963026-4.684683-5.478263-6.220644-8.626984-2.40634-6.655834-2.40634-10.342142c0-1.791955 0.281593-3.532712 0.81918-5.17107s1.945551-2.483138 4.147096-2.483138zM577.150371 752.621184c0.79358 0.79358 1.382365 1.740756 1.715157 2.841529s0.537587 2.201545 0.537587 3.302318c0 2.508737-0.81918 4.761481-2.483138 6.758231s-3.60951 3.686308-5.862253 5.017474-4.582285 2.38074-6.963026 3.071924-4.351891 1.049574-5.862254 1.049573c-1.61276 0-3.148721-0.40959-4.659083-1.203169s-2.841529-1.740756-4.044699-2.841529-2.252744-2.201545-3.148721-3.302318l-1.945552-2.40634a122.211345 122.211345 0 0 1-13.030074-22.809029c-1.791955-4.095898-3.532712-8.39659-5.171071-12.902078s-3.276718-9.292568-4.863878-14.41244c-1.510362 0.204795-3.251119 0.40959-5.247869 0.588786s-4.044699 0.38399-6.143846 0.537586l-6.143847 0.383991s-3.711907 0.153596-5.094272 0.153596c-10.905327 0-20.377091-1.740756-28.41529-5.247869s-14.924427-9.292568-20.633084-17.407565c-3.711907-5.19667-6.527837-11.135722-8.473388-17.765956s-2.918327-13.977251-2.918327-21.964251c0-7.500612 1.100772-15.257219 3.302317-23.244218s5.222269-15.9996 9.062173-24.0122 8.447789-15.846004 13.798055-23.551411 11.161321-15.026824 17.407565-21.964251 12.850879-13.362866 19.788306-19.276318 14.028449-10.982125 21.221869-15.23162 14.361241-7.577411 21.452264-9.98375 13.951651-3.60951 20.556286-3.60951c2.687933 0 4.863878 0.332792 6.527837 0.972776l5.478263 2.175946 4.940676 2.099147c2.79033 0.511987 5.375866 1.023974 7.731007 1.58716s4.633484 1.20317 6.835029 1.945552 4.428689 1.663958 6.681433 2.764731 4.684683 2.457539 7.270218 4.044698c4.198295 2.611135 7.833404 6.195045 10.879728 10.80293s5.555061 9.702157 7.500613 15.308418 3.404715 11.519712 4.351891 17.765956 1.433564 12.313292 1.433564 18.226744c0 11.59651-2.201545 22.78343-6.604635 33.535162s-10.316542 20.940276-17.765956 30.591235-16.127597 18.661933-26.034549 27.007325a258.911927 258.911927 0 0 1-33.381565 23.935401 2.047949 2.047949 0 0 0-0.665584 1.638359c1.407965 5.299068 2.892728 9.958151 4.505488 13.951651s3.455914 7.705407 5.555061 11.110123 4.531087 6.681433 7.270218 9.830154 5.939052 6.553436 9.753356 10.137346z m-112.201995-111.894802c-0.691183 2.79033-1.254369 5.555061-1.638359 8.242994s-0.588785 5.299068-0.588785 7.807805c0 4.505487 0.639984 8.729382 1.945551 12.671683s3.276718 7.372616 5.913452 10.265343 6.01585 5.171071 10.137347 6.835029 9.010975 2.483138 14.694033 2.483138a101.706257 101.706257 0 0 0 10.77733-0.537586c1.484763-0.153596 2.969526-0.38399 4.42869-0.665584l4.428689-0.895977-1.126372-6.527837a311.032224 311.032224 0 0 1-2.252744-15.154821c-0.255994-2.252744-0.38399-3.967901-0.38399-5.171071s0.102397-2.662333 0.307192-4.351891 0.767981-3.327917 1.715157-4.863879 2.38074-2.867128 4.275093-3.9679 4.556686-1.638359 7.961401-1.638359c3.788705 0 6.655834 1.177571 8.550187 3.532711s3.379116 5.273468 4.428689 8.780581 1.868753 7.270218 2.483138 11.314917 1.510362 7.833404 2.687933 11.314917c6.707032-3.9935 13.362866-8.626984 20.018699-13.874853s12.876478-11.135722 18.661934-17.61236 10.982125-13.721257 15.513212-21.682658 8.063798-16.716382 10.572536-26.316142c0.588785-2.508737 1.075173-4.991875 1.433564-7.500612s0.537587-4.991875 0.537586-7.500613c0-5.094273-0.691183-10.214145-2.099147-15.385215s-3.58391-9.778956-6.527837-13.874853-6.758231-7.449414-11.391715-10.060549-10.162946-3.891103-16.562786-3.891103c-4.505487 0-8.831779 0.332792-12.978876 0.972776s-8.319792 1.715157-12.518087 3.22552-8.575786 3.481513-13.132471 5.913452-9.420564 5.478263-14.617235 9.062173c-6.39984 4.40309-12.543686 9.625359-18.457139 15.666808s-11.263718 12.543686-16.127596 19.506713-9.087773 14.182045-12.748482 21.682658-6.425439 14.898828-8.319792 22.194645zM663.394615 653.782055c4.505487-13.798055 8.80618-27.058524 12.902078-39.755806s7.731007-24.447389 10.879728-35.250318 5.657459-20.351491 7.500612-28.645684 2.867128-14.898828 3.071923-19.788306c1.20317-4.710282 3.327917-8.447789 6.374241-11.238119s6.579036-4.198295 10.572536-4.198295c2.40634 0 4.454289 0.537587 6.143846 1.638359s3.071923 2.559936 4.121497 4.351892 1.817555 3.814305 2.329542 6.067048 0.742381 4.531087 0.742381 6.835029c0 1.689558-0.102397 3.251119-0.307192 4.659084s-0.460788 2.739132-0.742382 4.044698c-2.303942 9.19017-5.043074 18.687533-8.242994 28.492088s-6.476638 19.737107-9.830154 29.772056-6.681433 20.121097-9.98375 30.232844-6.246244 19.9931-8.857379 29.695258l-2.687933 10.188545c-1.407965 5.19667-2.611135 10.137347-3.609509 14.847629s-1.510362 8.498988-1.510363 11.391715c0 1.61276 0.307192 2.867128 0.895978 3.814305s1.740756 1.433564 3.455914 1.433564c4.095898 0 8.908577-0.665583 14.412439-2.02235s11.21252-2.995125 17.100373-4.940676 11.775706-4.095898 17.61236-6.451039 11.21252-4.582285 16.127596-6.681433l6.681433-2.841529 6.911828-2.918327 11.033324-4.582285 19.045924-7.961401 3.686307-1.279968a9.087773 9.087773 0 0 1 7.039824 0.358391c1.151971 0.588785 2.047949 1.407965 2.687933 2.40634s1.126372 2.150346 1.433564 3.455913 0.460788 2.611135 0.460789 3.891103a27.647309 27.647309 0 0 1-1.663959 9.906952c-1.20317 1.894353-2.739132 3.635109-4.659083 5.171071s-3.891103 2.892728-5.99025 4.044699-4.147096 2.124747-6.143847 2.918327-3.660708 1.407965-4.940676 1.791955l-6.374241 2.40634-8.626984 3.302317a1375.556011 1375.556011 0 0 1-18.892328 7.21902l-7.731007 2.918327c-2.252744 0.844779-3.814305 1.433564-4.735881 1.715157l-14.335642 5.401465c-5.273468 1.99675-10.470138 3.891103-15.666808 5.708657s-10.137347 3.327917-14.770831 4.582286-8.524587 1.868753-11.622109 1.868753c-3.788705 0-6.78383-0.307192-8.934177-0.895978s-4.070298-1.433564-5.785455-2.483137-3.430314-2.329542-5.171071-3.814305-4.070298-3.148721-6.963026-4.940677c-2.611135-1.61276-4.454289-3.788705-5.555061-6.604634s-1.638359-5.811055-1.638359-9.010975c0-1.61276 0.127997-3.455914 0.38399-5.555061a121.59696 121.59696 0 0 1 2.329542-13.362866 60.158496 60.158496 0 0 1 1.638359-5.862254l8.39659-25.445764z",fill:"#FFFFFF","p-id":"9317"})]})},v=function(){return Object(r.jsx)("svg",{t:"1643818254563",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6735",width:o,height:o,children:Object(r.jsx)("path",{d:"M320.192 64c76.864 0 141.632 28.48 186.496 84.096 34.112 42.24 52.224 95.68 52.224 140.992 0 38.144-8.768 66.688-33.536 107.52l-7.936 12.608-7.232 10.88 13.824-7.936c12.352-6.912 25.728-13.888 40.768-21.248l15.616-7.552 16.768-7.936a212.8 212.8 0 0 0 89.408-79.36c4.288-6.848 8.064-13.888 11.328-20.992l4.48-10.752 74.944-149.376 62.336 144 13.696 9.408c7.424 5.312 15.104 11.264 22.592 17.536l11.008 9.536 8.32 7.808c41.472 41.088 67.584 85.952 64.448 140.544-2.048 36.16-17.472 66.048-47.36 83.008-5.696 3.2-10.88 5.44-15.232 7.04-15.744 5.76-31.36 7.936-49.152 8.256-5.184 0.064-9.92 0-15.424-0.192l-9.024-0.384-10.304-0.448a36.48 36.48 0 0 0-7.872 0.512l-2.368 0.64-1.664 0.512 1.408 4.032 1.152 2.368 35.776 109.056h-106.624l-0.96 2.304-0.384 3.328c0.32 3.456 2.112 7.36 7.04 12.48l4.288 4.096 6.912 6.528c20.16 20.16 33.408 46.208 32.32 79.744a110.656 110.656 0 0 1-36.864 77.184l-8.512 7.168 4.672-3.968L827.52 960 640 959.936V896h42.304a69.376 69.376 0 0 1-12.48-26.624l-1.28-7.296a67.2 67.2 0 0 1 21.76-56.96l6.4-5.44 5.696-5.056a37.12 37.12 0 0 0 11.072-23.936 34.752 34.752 0 0 0-10.88-24.96l-3.456-3.264-8.128-7.744c-17.792-18.368-27.584-38.784-29.312-60.928a92.16 92.16 0 0 1 21.76-65.28c11.52-14.08 32.128-23.04 52.864-23.04 2.752 0 5.504 0.256 8.32 0.576a101.312 101.312 0 0 1-7.808-18.944 77.952 77.952 0 0 1 2.56-54.272c12.096-27.392 40.64-44.352 74.688-46.08l9.408-0.128h29.376c10.048 0 20.096 0 28.16-2.944 5.632-2.112 13.76-5.824 14.848-26.048 1.92-33.6-22.848-65.28-43.712-85.952l-9.856-9.088-9.6-8.128-12.032-9.152-10.24-7.104-17.344-11.072a37.44 37.44 0 0 1-10.752-13.248l-2.112-5.44-1.216-3.904c-5.824 15.36-13.44 30.848-22.848 45.952a294.848 294.848 0 0 1-124.352 110.336c-47.424 22.08-85.568 41.664-117.76 65.664-32.96 24.64-58.88 53.504-81.472 90.88-13.184 21.76-18.048 48.768-18.88 74.624H304.192c0.064-17.152 2.048-34.816 5.952-52.736 9.472-44.16 30.208-90.24 63.168-140.16l12.928-18.944 32-44.16 16.96-23.744c27.264-39.168 48.64-76.16 48.64-109.312 0-23.68-9.472-63.232-36.608-96.896C416.192 147.584 371.712 128 314.88 128c-82.56 0-123.328 32.768-141.696 55.552 25.024 26.24 37.12 54.144 37.632 86.272 0.512 30.912-10.048 61.184-23.552 95.04l-5.952 14.72-9.792 24.512c-19.968 50.88-40.768 113.728-43.392 200-0.768 24 0.64 46.656 4.032 67.904H67.904a424.96 424.96 0 0 1-3.648-72.64c2.56-83.648 16.384-139.968 48-221.248l9.088-22.848 8.256-20.672 6.144-16.512c1.728-4.864 3.2-9.216 4.352-13.184l1.536-5.568 2.112-9.664c0.704-4.48 0.96-8.32 0.896-12.16a42.56 42.56 0 0 0-10.816-27.968l-5.248-6.016-44.928-47.104 40.896-50.752C164.8 95.744 230.4 64 320.192 64zM184.768 761.6v119.488l-0.128 8.96a103.04 103.04 0 0 1-3.968 27.136 51.072 51.072 0 0 1-20.096 26.432c-9.728 6.656-22.464 9.984-38.4 9.984-18.56 0-32.96-5.184-43.008-15.616-10.048-10.432-15.104-25.792-15.168-45.952l35.904-4.096 0.576 7.488a38.208 38.208 0 0 0 4.224 15.424 20.48 20.48 0 0 0 18.816 10.176c8.448 0 14.464-2.432 17.984-7.296 3.52-4.864 5.312-14.912 5.312-30.208V761.6h37.952zM320 761.6l75.584 188.8h-41.472l-16.448-42.88h-75.52l-15.552 42.88h-40.448l73.6-188.8H320z m176.192 0l9.6 0.128c15.296 0.512 26.752 2.112 34.368 4.928a43.392 43.392 0 0 1 21.952 18.112 54.4 54.4 0 0 1 8.192 29.76 50.368 50.368 0 0 1-12.48 35.072c-8.32 9.216-20.736 15.04-37.312 17.472 8.256 4.8 15.04 10.048 20.416 15.808 5.376 5.76 12.608 16 21.696 30.72l23.04 36.8h-45.568l-27.584-41.088-4.608-6.912a203.008 203.008 0 0 0-15.488-20.864 29.248 29.248 0 0 0-11.456-7.808 62.848 62.848 0 0 0-19.2-2.176h-7.68v78.848h-38.144V761.6h80.256z m-196.8 44.032l-25.472 70.08h51.52l-26.048-70.08z m154.688-12.096v47.872h28.16c18.304 0 29.696-0.768 34.24-2.304a20.48 20.48 0 0 0 10.688-7.936 24.576 24.576 0 0 0 3.84-14.208c0-6.4-1.664-11.52-5.056-15.36a23.36 23.36 0 0 0-14.336-7.424 228.992 228.992 0 0 0-20.608-0.64h-36.928z m343.68-433.536c20.608 0 35.968 17.472 36.864 38.08 0.96 20.48-17.6 38.08-36.864 38.08-20.672 0-35.968-17.408-36.864-38.08-0.96-20.48 17.6-38.08 36.864-38.08z","p-id":"6736",fill:"#D77083"})})},m=function(){return Object(r.jsx)("svg",{t:"1641038977488",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3761",width:o,height:o,children:Object(r.jsx)("path",{d:"M326.357333 333.781333c-12.501333 0-16.896-11.52-18.602666-15.829333a2749.653333 2749.653333 0 0 0-10.709334-17.834667l1.493334-5.973333-3.669334 2.261333c-14.549333-14.506667-8.746667-25.088-4.138666-30.208a24.192 24.192 0 0 1 18.56-8.021333c5.12 0 10.581333 1.408 15.658666 4.096 16 8.490667 25.130667 21.290667 25.6 35.925333-0.469333 10.666667-1.706667 29.824-18.773333 34.773334a20.181333 20.181333 0 0 1-5.418667 0.810666m559.616 565.12c-7.338667 0-12.8-4.266667-16.682666-7.338666-15.146667-11.264-30.122667-18.816-46.08-26.794667-16.469333-8.32-33.322667-16.725333-48.896-28.330667-17.322667-12.885333-36.821333-29.44-50.176-54.058666-2.176-4.010667-8.789333-16.213333-4.138667-27.946667 4.096-10.410667 14.208-14.677333 21.461333-17.066667 22.442667-7.253333 48.512-14.933333 76.458667-16.042666l-1.749333-1.322667c-32.597333-24.448-61.482667-46.122667-96.896-54.613333-48.256-11.434667-69.376-44.245333-83.669334-74.837334a1563.733333 1563.733333 0 0 1-26.496-60.842666c-18.346667-43.605333-37.12-88.32-63.658666-127.573334-42.88-63.402667-97.834667-112.64-163.413334-146.261333-18.090667-9.301333-42.368-19.968-69.248-19.968h-4.48c-21.76 0-40.32-7.125333-56.96-21.845333-13.696-12.074667-31.445333-18.858667-50.261333-26.069334l-8.533333-3.242666a25.258667 25.258667 0 0 0-9.088-2.133334c-4.053333 2.048-6.101333 4.352 0.298666 14.165334 9.173333 14.037333 19.456 28.586667 31.530667 44.458666 21.589333 28.416 32.938667 60.885333 40.362667 86.058667 10.496 35.584 21.930667 63.914667 43.776 86.570667 20.224 21.034667 9.770667 44.458667 2.901333 59.989333l-5.888 2.730667 3.925333 1.664c-18.688 43.733333-18.56 89.856 0.341334 149.461333 1.536 4.693333 4.096 9.642667 6.4 13.824l0.298666 0.554667c2.56-27.306667 5.717333-57.941333 27.306667-83.712 5.205333-8.277333 11.050667-17.834667 22.869333-17.834667 16.896 1.834667 19.968 15.786667 21.162667 21.12 21.674667 58.282667 53.504 108.885333 81.792 152.021333a13.44 13.44 0 0 1 1.152 12.330667 13.397333 13.397333 0 0 1-9.6 7.893333 37.930667 37.930667 0 0 1-7.296 0.768c-15.786667 0-25.642667-10.026667-54.528-41.728-8.576-9.429333-14.762667-20.394667-20.181333-30.037333l-4.181334-7.296c-0.426667 5.290667-0.981333 9.898667-2.176 14.464-6.570667 25.258667-23.552 40.96-44.245333 40.96-12.842667 0-25.6-6.058667-36.864-17.493333-25.344-25.642667-39.296-58.965333-44.032-104.746667-4.693333-45.653333 0.256-88.832 14.762667-128.512 3.968-10.922667 3.968-16.512-3.925334-26.112-26.282667-32.213333-38.912-71.808-49.578666-109.568-7.125333-25.258667-20.394667-45.738667-38.186667-68.693333-13.226667-16.981333-24.874667-32-30.592-51.754667-5.888-20.096-3.2-39.253333 7.466667-53.802667 10.496-14.293333 27.306667-22.186667 47.36-22.357333 42.496 0 75.946667 21.418667 104.064 41.386667l4.608 3.498666c5.205333 4.053333 7.808 5.845333 10.965333 5.845334 88.448 0 152.490667 50.048 210.517333 101.290666a478.037333 478.037333 0 0 1 129.109334 183.04c11.477333 29.013333 25.429333 57.898667 38.912 85.76 6.485333 13.482667 13.141333 27.221333 19.456 40.874667 3.370667 7.253333 8.192 11.648 16.597333 15.104 68.565333 28.16 123.733333 66.517333 168.618667 117.077333 6.4 7.210667 13.354667 16.853333 10.026666 27.733334-3.669333 11.946667-16.725333 15.146667-25.344 17.237333-11.562667 2.858667-23.466667 4.650667-34.986666 6.4-13.226667 1.962667-26.794667 4.010667-39.936 7.808 5.333333 4.778667 11.648 8.234667 17.322666 11.008 26.026667 12.885333 45.056 32.938667 63.402667 52.266667 5.845333 6.186667 10.24 10.88 14.677333 15.317333 16.725333 16.64 9.301333 28.8 6.570667 32.085333a18.432 18.432 0 0 1-14.506667 7.168",fill:"#1296db","p-id":"3762"})})},h=function(){return Object(r.jsx)("svg",{t:"1640789029266",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11509",width:o,height:o,children:Object(r.jsx)("path",{d:"M670.62528 711.899955h-316.933062c-57.361215 0-103.363076-14.287388-127.492886-71.40166H175.999449c28.292555 71.401661 94.931753 114.228546 177.692769 114.228546h316.545009c82.902126 0 149.541324-42.826885 177.728047-114.228546h-49.847108C773.988356 697.612568 728.021773 711.899955 670.62528 711.899955zM353.727495 312.100045H670.62528c57.361215 0 103.363076 14.287388 127.492886 71.40166h49.847108c-28.186723-71.401661-94.825921-114.228546-177.728047-114.228546h-316.545009c-82.761016 0-149.400214 42.826885-177.692769 114.228546h50.23516c24.12981-57.14955 70.131671-71.401661 127.492886-71.40166zM313.616977 513.569849c0-47.095463-39.193303-85.406828-87.382368-85.406828H151.375754c-48.189065 0-87.382368 38.311365-87.382369 85.406828s39.193303 85.406828 87.382369 85.406828h74.894133c48.189065 0 87.347091-38.346643 87.34709-85.406828z m-207.996141 0c0-24.658973 20.531505-44.73187 45.754918-44.731871h74.894133c25.223413 0 45.754918 20.072898 45.754917 44.731871s-20.531505 44.73187-45.754917 44.73187H151.375754c-25.25869 0-45.754918-20.072898-45.754918-44.73187z m416.73311-22.471768c0-34.71306-28.892273-62.970338-64.416715-62.970338h-124.882351v171.342819H374.647053v-83.325456l79.44493 83.325456h56.867331l-43.779378-45.896028c31.18531-4.409688 55.17401-30.726703 55.17401-62.476453z m-64.416715 22.471768H374.647053V468.837978h83.290178c12.594068 0 22.789265 10.089365 22.789265 22.436491 0.035278 12.27657-10.195198 22.29538-22.789265 22.29538z m170.249216-44.767148h86.500431l41.592173-40.674958h-128.092604c-48.189065 0-87.382368 38.311365-87.382368 85.406828s39.193303 85.406828 87.382368 85.406828h85.442106l41.592173-40.674957h-127.069556c-25.25869 0-45.754918-20.072898-45.754918-44.731871 0.035278-24.658973 20.566783-44.73187 45.790195-44.73187z m188.487684 81.561581v-122.201261h-49.917663v171.025321h143.297206l49.917663-48.788783H816.674131z",fill:"#E04E31","p-id":"11510"})})},t=function(){return Object(r.jsxs)("svg",{t:"1643294227675",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2303",width:o,height:o,children:[Object(r.jsx)("path",{d:"M215.846 671.657c54.004-35.684 107.171-74.018 165.288-102.444 60.464-26.253 120.071-47.82 182.395-70.003 60.822-22.361 122.782-40.591 185.705-56.6 62.935-15.947 126.791-28.496 191.238-37.383l-9.76 19.962c-14.888-24.35-34.334-45.821-56.344-64.332-22.02-18.564-46.653-34.11-72.414-47.6a497.77 497.77 0 0 0-19.584-9.685c-6.597-3.106-13.241-6.132-19.963-9.003a599.898 599.898 0 0 0-20.331-8.266 695.449 695.449 0 0 0-20.608-7.678c-27.652-9.841-55.948-18.185-84.619-25.233-28.659-7.003-57.794-12.756-86.917-16.841-3.636-0.498-7.247-0.97-10.797-1.349l-11.274-1.236a2146.98 2146.98 0 0 1-22.539-2.722c-15.023-1.862-30.02-4.012-44.999-6.311-29.939-4.727-59.814-10.263-89.313-17.815-7.368-1.917-14.71-3.951-22.012-6.155-7.301-2.205-14.569-4.561-21.728-7.285-7.159-2.713-14.259-5.65-21.132-9.179-3.424-1.788-6.796-3.715-10.028-5.926-1.614-1.111-3.196-2.288-4.697-3.616a27.685 27.685 0 0 1-2.167-2.143c-0.347-0.386-0.683-0.79-1.006-1.225a11.139 11.139 0 0 1-0.477-0.691l-0.232-0.388c-0.081-0.149-0.142-0.252-0.271-0.547a1.62 1.62 0 1 1 2.971-1.294c-0.026-0.083 0.031 0.018 0.078 0.066l0.166 0.193c0.121 0.135 0.257 0.276 0.4 0.415 0.286 0.279 0.601 0.555 0.932 0.822a23.997 23.997 0 0 0 2.122 1.519c1.484 0.962 3.066 1.832 4.69 2.633 3.253 1.602 6.669 2.955 10.136 4.177 6.931 2.464 14.076 4.447 21.288 6.168 14.442 3.405 29.1 6.078 43.857 8.208 29.503 4.34 59.261 7.279 89.071 9.662 14.902 1.23 29.833 2.21 44.766 3.183l22.415 1.309 11.216 0.625c3.95 0.212 7.823 0.513 11.665 0.833 15.366 1.279 30.547 3.217 45.704 5.485 15.153 2.25 30.215 5.067 45.224 8.19 29.998 6.318 59.705 14.396 88.786 24.637 7.262 2.579 14.496 5.261 21.674 8.104a633.708 633.708 0 0 1 21.366 9.004c7.068 3.145 14.1 6.396 21.039 9.854a530.944 530.944 0 0 1 20.593 10.872 434.182 434.182 0 0 1 39.592 24.811c12.771 8.993 25.085 18.719 36.728 29.26 23.299 21.032 43.896 45.489 59.789 72.911l10.27 17.718-20.028 2.244c-63.62 7.125-126.857 18.122-189.391 32.393-62.549 14.216-124.444 32.854-185.355 53.341-60.944 20.386-120.986 42.426-179.757 68.681-29.383 13.128-58.455 26.986-87.121 41.661-14.349 7.303-28.602 14.803-42.719 22.554-14.101 7.766-28.14 15.716-41.803 24.169l-0.029 0.018a1.623 1.623 0 0 1-1.749-2.732z","p-id":"2304"}),Object(r.jsx)("path",{d:"M209.963 677.652c20.688-16.411 40.803-33.515 59.903-51.661 19.143-18.088 37.364-37.122 54.246-57.217 8.426-10.058 16.51-20.385 24.139-31.006 7.608-10.626 14.793-21.563 21.103-32.862a183.354 183.354 0 0 0 4.47-8.515l0.506-1.056 0.557-1.205 0.991-2.27 1.889-4.479a313.186 313.186 0 0 0 3.579-9.053 301.38 301.38 0 0 0 3.343-9.108 325.21 325.21 0 0 0 5.77-18.427c1.738-6.176 3.177-12.413 4.475-18.649a227.377 227.377 0 0 0 3.041-18.802c0.772-6.281 1.302-12.572 1.521-18.859 0.115-3.143 0.151-6.285 0.117-9.42-0.01-3.136-0.095-6.268-0.254-9.392a192.937 192.937 0 0 0-1.856-18.635c-3.512-24.695-11.826-48.505-23.843-70.371-5.981-10.957-12.992-21.366-20.633-31.296-7.681-9.896-16.184-19.212-25.226-27.776a175.341 175.341 0 0 0-6.899-6.159l-1.733-1.436-1.576-1.252c0.077 0.06-0.885-0.679-0.535-0.417l-0.117-0.102-0.233-0.204-0.466-0.407-0.948-0.874-1.88-1.762-3.716-3.564a282.594 282.594 0 0 1-3.577-3.748c-2.395-2.494-4.61-5.203-6.828-7.915-4.306-5.549-8.327-11.507-11.268-18.321-1.43-3.413-2.653-7.043-3.015-10.975-0.187-1.948-0.123-4.001 0.423-5.963 0.294-0.976 0.716-1.918 1.291-2.729 0.559-0.808 1.319-1.497 2.181-1.788-0.704 1.638-0.39 3.185 0.184 4.521 0.554 1.347 1.395 2.552 2.299 3.71 1.866 2.293 4.085 4.373 6.421 6.364 4.685 3.976 9.759 7.672 14.905 11.32 2.526 1.876 5.178 3.629 7.736 5.496 1.294 0.917 2.601 1.824 3.917 2.721l3.889 2.773 3.523 2.455 1.247 0.924 1.1 0.842 2.118 1.674a198.672 198.672 0 0 1 8.03 6.844c10.402 9.296 19.787 19.517 28.375 30.409 8.616 10.868 16.206 22.564 22.811 34.816 6.636 12.24 11.99 25.197 16.188 38.51 4.164 13.33 6.91 27.101 8.338 40.964 2.73 27.772-0.331 55.83-8.101 82.046-1.896 6.572-4.157 13.016-6.587 19.364-2.426 6.352-5.143 12.571-8.058 18.671a308.25 308.25 0 0 1-4.513 9.065 325.117 325.117 0 0 1-4.848 8.863l-2.528 4.382-1.267 2.135-0.513 1.027-0.6 1.157c-1.605 3.046-3.298 5.961-5.037 8.852-6.976 11.521-14.706 22.418-22.84 32.979-8.137 10.557-16.735 20.716-25.658 30.556-35.729 39.361-76.427 73.677-119.473 104.235z","p-id":"2305"}),Object(r.jsx)("path",{d:"M690.811 462.863c-11.202-10.033-23.855-19.852-35.554-29.38-11.68-9.552-23.726-18.717-36.167-27.376-6.239-4.303-12.542-8.533-18.979-12.561a597.859 597.859 0 0 0-19.576-11.684c-26.471-14.997-54.155-28.04-82.668-39.175-28.453-11.315-57.758-20.741-87.595-28.368-29.823-7.76-27.023-23.895 4.021-18.259 31.023 5.783 61.779 13.468 91.98 23.226 30.136 9.932 59.694 21.938 88.283 36.152a624.38 624.38 0 0 1 21.287 11.007c7.038 3.795 14.057 7.649 20.979 11.689 13.88 8.018 27.484 16.59 40.701 25.777 13.191 9.221 25.917 19.161 37.968 29.873a391.554 391.554 0 0 1 17.569 16.581","p-id":"2306"}),Object(r.jsx)("path",{d:"M504.265 210.272c7.783 20.086 13.193 41.187 16.299 62.71 3.1 21.525 3.785 43.508 1.912 65.352a297.933 297.933 0 0 1-1.9 16.374 214.153 214.153 0 0 1-1.403 8.137 249.382 249.382 0 0 1-1.724 8.121c-2.505 10.788-5.811 21.432-10.021 31.704-4.19 10.278-9.157 20.225-14.752 29.741-5.613 9.508-11.797 18.612-18.305 27.395-6.501 8.792-13.396 17.21-20.378 25.483-7.015 8.273-14.046 16.353-21.409 24.36-14.654 15.997-30.276 31.101-46.621 45.297-16.339 14.21-33.456 27.443-51.069 39.884a713.556 713.556 0 0 1-26.824 18.032 1231.056 1231.056 0 0 1-13.691 8.56c-4.612 2.777-9.218 5.555-13.899 8.215l12.484-10.215c4.177-3.373 8.331-6.772 12.459-10.198a1921.952 1921.952 0 0 0 24.653-20.604c16.29-13.859 32.193-28.084 47.546-42.809a789.044 789.044 0 0 0 44.143-45.921c3.516-3.964 6.976-7.995 10.467-12.047 3.489-4.036 6.954-8.08 10.37-12.151 6.84-8.134 13.449-16.402 19.757-24.824 6.299-8.429 12.219-17.076 17.55-26.025 5.357-8.931 10.134-18.162 14.155-27.707 4.007-9.548 7.361-19.368 9.895-29.436a234.407 234.407 0 0 0 1.772-7.585c0.542-2.582 1.021-4.99 1.513-7.687a294.292 294.292 0 0 0 2.503-15.502c2.848-20.812 3.639-41.967 2.602-63.149-1.024-21.194-3.927-42.38-8.084-63.505zM654.02 238.096c0.518 2.054 0.892 4.13 1.276 6.211 0.327 2.083 0.623 4.175 0.888 6.277 0.492 4.202 0.758 8.433 0.847 12.671a159.8 159.8 0 0 1-1.553 25.397c-0.272 2.107-0.622 4.201-0.985 6.293l-0.568 3.133-0.146 0.783-0.037 0.196-0.048 0.217-0.089 0.377-0.355 1.51c-0.983 4.118-2.055 8.2-3.201 12.268a305.387 305.387 0 0 1-7.876 24.147c-6.003 15.864-13.405 31.254-22.155 45.773-8.718 14.542-18.58 28.298-29.112 41.369a580.201 580.201 0 0 1-16.155 19.239l-8.222 9.268-8.147 9.285c-5.462 6.183-10.864 12.463-16.47 18.629a647.404 647.404 0 0 1-8.477 9.225 474.458 474.458 0 0 1-8.775 9.014 324.52 324.52 0 0 1-38.248 32.636c-6.761 4.911-13.643 9.618-20.685 14.061a599.722 599.722 0 0 1-10.618 6.553c-3.593 2.097-7.168 4.209-10.821 6.199l9.5-8.051a724.68 724.68 0 0 0 9.454-8.048c6.244-5.421 12.45-10.848 18.486-16.427 12.113-11.12 23.596-22.724 34.324-35.011 10.743-12.269 20.933-25.157 31.472-37.996 2.617-3.221 5.307-6.392 7.984-9.578 2.676-3.174 5.42-6.377 8.074-9.454 5.335-6.216 10.599-12.472 15.667-18.857 10.133-12.769 19.664-25.921 28.028-39.733 8.354-13.812 15.638-28.22 21.504-43.251a291.694 291.694 0 0 0 7.984-22.877 337.49 337.49 0 0 0 3.316-11.68l0.398-1.5 0.1-0.375 0.1-0.34 0.219-0.725 0.86-2.906 1.649-5.834c2.136-7.801 4.107-15.67 5.84-23.667a524.034 524.034 0 0 0 2.471-12.092c0.412-2.032 0.794-4.076 1.145-6.13l1.157-6.199zM822.932 290.223c-3.896 19.357-10.441 38.246-19.119 56.222-8.687 17.978-19.675 34.894-32.108 50.501-12.437 15.627-26.202 30.026-40.509 43.656-7.143 6.636-14.486 13.05-22.189 19.208a221.19 221.19 0 0 1-11.889 8.92c-4.093 2.849-8.298 5.586-12.806 7.972 2.541-4.421 5.308-8.567 8.153-12.638 2.847-4.068 5.8-8.029 8.868-11.893 6.117-7.736 12.646-15.163 19.583-22.159 13.807-13.665 27.259-27.554 39.798-42.145 12.549-14.581 24.136-29.908 34.447-46.224a393.993 393.993 0 0 0 14.589-25.138c4.585-8.592 8.915-17.377 13.182-26.282z","p-id":"2307"}),Object(r.jsx)("path",{d:"M345.965 547.814c33.042-32.345 69.5-61.194 107.723-87.398 38.283-26.148 78.514-49.519 120.168-69.979 41.652-20.465 84.758-37.989 128.859-52.278 44.111-14.228 89.215-25.373 134.961-32.052-44.042 13.988-87.524 28.726-130.216 45.387a1606.714 1606.714 0 0 0-125.675 55.097 1600.647 1600.647 0 0 0-120.477 65.695c-39.289 23.588-77.555 48.94-115.343 75.528zM393.713 444.275a383.308 383.308 0 0 1 14.563-17.172c4.999-5.596 10.141-11.057 15.365-16.442 10.466-10.75 21.354-21.084 32.536-31.091 22.4-19.971 46.024-38.562 70.553-55.831a836.583 836.583 0 0 1 76.195-47.736c13.12-7.242 26.423-14.146 39.945-20.604 6.768-3.216 13.57-6.355 20.448-9.339a446.32 446.32 0 0 1 20.835-8.515 987.665 987.665 0 0 1-18.4 12.902l-18.481 12.625-36.948 24.996c-24.595 16.627-49.021 33.367-73.24 50.387a3321.594 3321.594 0 0 0-71.992 52.044c-11.912 8.828-23.761 17.766-35.621 26.754l-17.811 13.515a1597.439 1597.439 0 0 1-17.947 13.507zM394.681 318.676c1.843-3.003 3.827-5.863 5.873-8.676 2.037-2.817 4.156-5.553 6.308-8.26 4.318-5.397 8.851-10.586 13.516-15.641 9.362-10.074 19.302-19.556 29.712-28.485a363.39 363.39 0 0 1 32.68-25.008c5.703-3.84 11.517-7.531 17.503-10.982 3.002-1.715 6.025-3.397 9.116-4.987 3.085-1.597 6.214-3.131 9.461-4.503-2.156 2.79-4.425 5.426-6.72 8.021-2.288 2.605-4.634 5.128-6.985 7.641-4.72 5.001-9.559 9.832-14.452 14.583-9.814 9.467-19.885 18.567-30.198 27.384-10.311 8.819-20.847 17.371-31.695 25.625-5.44 4.109-10.947 8.157-16.598 12.07-2.835 1.947-5.68 3.887-8.595 5.762-2.906 1.879-5.851 3.734-8.926 5.456z","p-id":"2308"}),Object(r.jsx)("path",{d:"M377.385 198.376c7.314 10.42 13.067 21.728 18.192 33.278 2.505 5.8 4.857 11.673 6.954 17.642 0.531 1.49 1.042 2.987 1.542 4.489 0.529 1.601 1.014 2.927 1.52 4.539 0.979 3.108 1.859 6.175 2.617 9.317 3.056 12.519 4.389 25.521 3.754 38.388a123.34 123.34 0 0 1-2.46 19.107c-1.343 6.278-3.107 12.454-5.732 18.401-1.064-6.414-1.678-12.653-2.379-18.819a1281.01 1281.01 0 0 0-2.105-18.259c-1.469-12.039-3.251-23.862-5.484-35.695l-1.735-8.858c-0.27-1.405-0.624-3.078-0.93-4.478l-1.037-4.493c-1.406-5.988-2.791-12.004-4.25-18.017-2.814-12.069-5.852-24.104-8.467-36.542zM400.461 418.669c3.467 0.23 6.864 0.806 10.224 1.573 3.365 0.756 6.67 1.755 9.938 2.907 6.52 2.334 12.803 5.438 18.746 9.173 11.894 7.464 22.255 17.681 30.145 29.499 7.903 11.82 13.317 25.195 15.93 38.873 1.309 6.843 1.981 13.755 1.945 20.638-0.039 3.445-0.206 6.874-0.597 10.289-0.379 3.412-0.928 6.805-1.798 10.171-1.359-3.2-2.545-6.363-3.734-9.485l-3.545-9.241c-2.362-6.078-4.739-12.002-7.301-17.747-5.113-11.491-10.798-22.307-17.533-32.398-6.715-10.105-14.476-19.442-23.241-28.313-4.378-4.444-9.038-8.73-13.914-12.995-2.432-2.145-4.94-4.247-7.484-6.394-2.553-2.137-5.163-4.266-7.781-6.55zM213.98 674.63s-101.966 69.187-52.733 141.79c0 0 35.523 62.631 161.722 96.598 0 0 144.272 33.34 219.991 29.601 0 0 9.038-1.869-16.203-6.854 0 0-72.877-10.811-146.453-25.862-51.476-10.532-100.322-31.201-122.46-45.183 0 0-129.315-71.046-68.864-149.258 0 0 20.914-32.032 52.056-54.967","p-id":"2309"}),Object(r.jsx)("path",{d:"M535.012 942.074s48.847-108.205 75.021-251.542c0 0 17.688-104.204 0-192.57l19.944-7.041s19.941 83.071-3.116 230.147c0 0-20.753 119.558-82.45 220.829","p-id":"2310"}),Object(r.jsx)("path",{d:"M542.96 941.841s-1.385 0.233-3.722 0.233c-3.706 0-3.725-1.792-3.725-1.792M165.298 756.591s225.6-62.942 291.66-90.364c0 0 127.756-49.232 165.772-87.871v13.088s-109.256 83.509-222.27 112.177c0 0-131.71 39.884-235.163 59.205v-6.235z","p-id":"2311"}),Object(r.jsx)("path",{d:"M224.502 848.203s129.095-167.642 164.884-266.732l25.194-11.84S384.845 679.34 303.65 759.708c0 0-57.958 72.292-74.162 95.351l-4.986-6.856zM501.206 532.861s14.539 90.365-58.479 216.252c0 0-63.669 121.524-102.308 162.034h11.841s63.547-54.22 132.733-205.034c0 0 44.714-112.178 32.958-178.237l-16.745 4.985zM359.115 911.147s196.478-57.505 215.629-65.438v6.232c0 0.001-149.569 59.83-215.629 59.206z","p-id":"2312"}),Object(r.jsx)("path",{d:"M581.599 842.594s-136.481-18.072-211.889-88.495c0 0-83.509-62.943-50.167-143.337l-27.733 6.232s-20.566 76.654 39.262 129.626c-0.001 0 87.247 98.466 250.527 95.974zM414.58 567.138s28.667 115.293 199.425 145.207l8.726-3.74s-192.562-64.189-192.562-149.777l-15.589 8.31z","p-id":"2313"}),Object(r.jsx)("path",{d:"M235.098 855.059s199.9-66.06 244.919-86.626c0 0 82.264-26.798 142.714-66.059l-4.985 9.971s-56.089 38.639-150.815 75.407c0 0-100.336 41.755-236.819 72.915l4.986-5.608zM519.92 530.369s99.071 59.827 110.913 60.451v-4.363s-96.444-57.958-105.322-64.19l-5.591 8.102zM549.186 219.389s-55.458-79.146-70.416-150.815c0 0-206.281 68.553-194.44 105.322l25.76 12.556 4.154-1.961s-19.942-18.696 48.61-56.089c0 0 66.06-36.146 112.177-51.103 0 0 15.58 108.438 52.973 138.975l21.182 3.115z","p-id":"2314"}),Object(r.jsx)("path",{d:"M341.042 134.633l50.526 67.306 24.944 2.493-75.47-76.654z","p-id":"2315"}),Object(r.jsx)("path",{d:"M501.206 162.054s-160.164-11.217-153.309-34.276h8.102s136.751 26.976 145.207 25.552v8.724zM456.766 206.301s48.179-37.954 50.048-38.607l-3.116-5.64s-61.386 34.808-72.759 37.658c-11.374 2.851 25.827 6.589 25.827 6.589z","p-id":"2316"}),Object(r.jsx)("path",{d:"M215.846 671.657c54.004-35.684 107.171-74.018 165.288-102.444 60.464-26.253 120.071-47.82 182.395-70.003 60.822-22.361 122.782-40.591 185.705-56.6 62.935-15.947 126.791-28.496 191.238-37.383l-9.76 19.962c-14.888-24.35-34.334-45.821-56.344-64.332-22.02-18.564-46.653-34.11-72.414-47.6a497.77 497.77 0 0 0-19.584-9.685c-6.597-3.106-13.241-6.132-19.963-9.003a599.898 599.898 0 0 0-20.331-8.266 695.449 695.449 0 0 0-20.608-7.678c-27.652-9.841-55.948-18.185-84.619-25.233-28.659-7.003-57.794-12.756-86.917-16.841-3.636-0.498-7.247-0.97-10.797-1.349l-11.274-1.236a2146.98 2146.98 0 0 1-22.539-2.722c-15.023-1.862-30.02-4.012-44.999-6.311-29.939-4.727-59.814-10.263-89.313-17.815-7.368-1.917-14.71-3.951-22.012-6.155-7.301-2.205-14.569-4.561-21.728-7.285-7.159-2.713-14.259-5.65-21.132-9.179-3.424-1.788-6.796-3.715-10.028-5.926-1.614-1.111-3.196-2.288-4.697-3.616a27.685 27.685 0 0 1-2.167-2.143c-0.347-0.386-0.683-0.79-1.006-1.225a11.139 11.139 0 0 1-0.477-0.691l-0.232-0.388c-0.081-0.149-0.142-0.252-0.271-0.547a1.62 1.62 0 1 1 2.971-1.294c-0.026-0.083 0.031 0.018 0.078 0.066l0.166 0.193c0.121 0.135 0.257 0.276 0.4 0.415 0.286 0.279 0.601 0.555 0.932 0.822a23.997 23.997 0 0 0 2.122 1.519c1.484 0.962 3.066 1.832 4.69 2.633 3.253 1.602 6.669 2.955 10.136 4.177 6.931 2.464 14.076 4.447 21.288 6.168 14.442 3.405 29.1 6.078 43.857 8.208 29.503 4.34 59.261 7.279 89.071 9.662 14.902 1.23 29.833 2.21 44.766 3.183l22.415 1.309 11.216 0.625c3.95 0.212 7.823 0.513 11.665 0.833 15.366 1.279 30.547 3.217 45.704 5.485 15.153 2.25 30.215 5.067 45.224 8.19 29.998 6.318 59.705 14.396 88.786 24.637 7.262 2.579 14.496 5.261 21.674 8.104a633.708 633.708 0 0 1 21.366 9.004c7.068 3.145 14.1 6.396 21.039 9.854a530.944 530.944 0 0 1 20.593 10.872 434.182 434.182 0 0 1 39.592 24.811c12.771 8.993 25.085 18.719 36.728 29.26 23.299 21.032 43.896 45.489 59.789 72.911l10.27 17.718-20.028 2.244c-63.62 7.125-126.857 18.122-189.391 32.393-62.549 14.216-124.444 32.854-185.355 53.341-60.944 20.386-120.986 42.426-179.757 68.681-29.383 13.128-58.455 26.986-87.121 41.661-14.349 7.303-28.602 14.803-42.719 22.554-14.101 7.766-28.14 15.716-41.803 24.169l-0.029 0.018a1.623 1.623 0 0 1-1.749-2.732z",fill:"#d81e06","p-id":"2317"}),Object(r.jsx)("path",{d:"M209.963 677.652c41.157-33.063 79.92-69.152 113.493-109.449 8.364-10.084 16.385-20.433 23.952-31.061 7.543-10.635 14.661-21.577 20.888-32.849a181.168 181.168 0 0 0 4.4-8.473l1.057-2.271 0.956-2.286 1.811-4.49a309.195 309.195 0 0 0 3.422-9.077 297.476 297.476 0 0 0 3.198-9.113 337.505 337.505 0 0 0 5.489-18.396c1.652-6.155 2.99-12.367 4.214-18.561a224.385 224.385 0 0 0 2.809-18.658c0.702-6.223 1.173-12.449 1.331-18.663 0.085-3.106 0.092-6.209 0.031-9.306-0.033-3.095-0.14-6.185-0.318-9.267a189.717 189.717 0 0 0-1.964-18.362c-3.604-24.317-11.887-47.708-23.759-69.25-5.903-10.798-12.843-21.048-20.365-30.862-7.569-9.773-15.963-18.979-24.838-27.453a174.746 174.746 0 0 0-6.759-6.075l-1.686-1.406-1.482-1.188c0.106 0.081-1.082-0.831-0.637-0.496l-0.115-0.103-0.231-0.206-0.462-0.414-0.945-0.897-1.87-1.811-3.696-3.662-3.535-3.875c-2.375-2.572-4.537-5.397-6.716-8.212-4.201-5.783-8.093-12.021-10.82-19.185-1.318-3.587-2.418-7.409-2.595-11.542-0.101-2.046 0.081-4.204 0.753-6.241 0.363-1.011 0.828-1.993 1.505-2.808 0.654-0.811 1.506-1.478 2.423-1.709-0.584 1.762-0.026 3.268 0.639 4.522 0.68 1.271 1.639 2.372 2.629 3.432 2.051 2.092 4.394 3.979 6.841 5.796 4.9 3.625 10.104 7.044 15.353 10.458 2.564 1.773 5.27 3.408 7.849 5.198l3.958 2.594 3.911 2.675 3.442 2.293 1.311 0.968 1.13 0.863 2.166 1.703a202.806 202.806 0 0 1 8.169 6.928c10.57 9.387 20.062 19.719 28.763 30.734 8.736 10.982 16.397 22.838 23.08 35.25 6.721 12.396 12.093 25.551 16.321 39.05 4.184 13.521 6.898 27.496 8.289 41.545 2.614 28.153-0.677 56.531-8.782 82.9-1.97 6.613-4.333 13.083-6.848 19.452-2.511 6.374-5.327 12.602-8.339 18.702a306.657 306.657 0 0 1-4.658 9.061 327.575 327.575 0 0 1-5.004 8.84l-2.606 4.37-1.301 2.118-1.119 2.175c-1.632 3.072-3.347 5.995-5.107 8.893-7.058 11.548-14.855 22.44-23.054 32.993-8.199 10.549-16.86 20.686-25.844 30.5-17.956 19.641-37.226 37.955-57.332 55.201a801.43 801.43 0 0 1-62.796 48.463z",fill:"#d81e06","p-id":"2318"}),Object(r.jsx)("path",{d:"M690.811 462.863c-11.202-10.033-23.855-19.852-35.554-29.38-11.68-9.552-23.726-18.717-36.167-27.376-6.239-4.303-12.542-8.533-18.979-12.561a597.859 597.859 0 0 0-19.576-11.684c-26.471-14.997-54.155-28.04-82.668-39.175-28.453-11.315-57.758-20.741-87.595-28.368-29.823-7.76-27.023-23.895 4.021-18.259 31.023 5.783 61.779 13.468 91.98 23.226 30.136 9.932 59.694 21.938 88.283 36.152a624.38 624.38 0 0 1 21.287 11.007c7.038 3.795 14.057 7.649 20.979 11.689 13.88 8.018 27.484 16.59 40.701 25.777 13.191 9.221 25.917 19.161 37.968 29.873a391.554 391.554 0 0 1 17.569 16.581",fill:"#d81e06","p-id":"2319"}),Object(r.jsx)("path",{d:"M504.265 210.272c8.23 19.958 13.948 41.048 17.311 62.613a281.744 281.744 0 0 1 2.469 65.623 298.03 298.03 0 0 1-1.825 16.481c-0.375 2.582-0.886 5.504-1.393 8.193a245.919 245.919 0 0 1-1.716 8.188c-2.502 10.876-5.801 21.622-10.037 31.982-4.21 10.369-9.201 20.403-14.825 29.992-5.648 9.578-11.865 18.737-18.398 27.563-6.525 8.837-13.455 17.274-20.455 25.565-7.036 8.293-14.069 16.366-21.479 24.381-14.725 16.011-30.459 31.089-46.925 45.221-16.46 14.145-33.728 27.258-51.503 39.521a661.29 661.29 0 0 1-27.092 17.716 1221.997 1221.997 0 0 1-13.843 8.358c-4.669 2.697-9.327 5.403-14.073 7.968l24.617-20.859a2431.026 2431.026 0 0 0 24.386-20.923c16.127-14.034 31.881-28.382 47.111-43.169a828.927 828.927 0 0 0 43.838-45.999c3.495-3.96 6.938-7.99 10.421-12.042 3.481-4.033 6.939-8.071 10.345-12.135a573.112 573.112 0 0 0 19.681-24.744c6.273-8.385 12.16-16.977 17.458-25.855 5.328-8.86 10.081-18.002 14.081-27.457 3.982-9.458 7.342-19.177 9.879-29.155a230.665 230.665 0 0 0 1.778-7.52c0.546-2.57 1.021-4.922 1.525-7.631a295.142 295.142 0 0 0 2.579-15.396c2.967-20.684 3.939-41.738 3.158-62.878-0.768-21.152-3.362-42.347-7.073-63.602zM654.02 238.096c2.406 8.22 3.54 16.717 3.97 25.251 0.398 8.536 0.044 17.126-1.024 25.611-0.237 2.126-0.563 4.238-0.905 6.348l-0.531 3.162-0.138 0.789-0.033 0.198-0.05 0.225-0.088 0.378-0.35 1.511a310.785 310.785 0 0 1-3.186 12.34 307.855 307.855 0 0 1-7.864 24.303c-6.02 15.967-13.436 31.479-22.234 46.085-8.762 14.632-18.667 28.462-29.248 41.57a572.384 572.384 0 0 1-16.213 19.286l-8.241 9.245-8.168 9.25c-10.93 12.319-21.915 24.936-33.998 36.728a314.736 314.736 0 0 1-38.731 32.343 373.459 373.459 0 0 1-20.948 13.78 357.946 357.946 0 0 1-21.753 12.328c12.455-11.08 24.957-21.916 36.863-33.229 11.941-11.279 23.257-22.964 33.842-35.304 10.596-12.322 20.698-25.239 31.193-38.135 2.603-3.238 5.293-6.415 7.964-9.615 2.671-3.183 5.418-6.41 8.057-9.477 5.314-6.208 10.563-12.445 15.607-18.81 10.083-12.732 19.574-25.81 27.895-39.532 8.304-13.725 15.574-28.012 21.423-42.94a289.39 289.39 0 0 0 7.998-22.721 341.978 341.978 0 0 0 3.33-11.608l0.403-1.498 0.102-0.375 0.026-0.093c0.009-0.039 0.002 0.001 0.02-0.059l0.055-0.179 0.228-0.718 0.897-2.877 1.73-5.779c2.254-7.726 4.402-15.517 6.368-23.453 1.998-7.938 3.735-16.007 5.732-24.329zM822.932 290.223c-3.33 19.547-9.583 38.631-18.054 56.813-8.486 18.183-19.401 35.294-31.819 51.028-12.424 15.755-26.229 30.216-40.597 43.842-7.168 6.592-14.612 12.882-22.511 18.844-3.939 2.983-8.016 5.854-12.26 8.554-4.248 2.697-8.631 5.262-13.38 7.397 2.298-4.671 4.889-8.992 7.58-13.212a197.146 197.146 0 0 1 8.496-12.259c5.923-7.931 12.35-15.483 19.262-22.523 13.745-13.669 27.159-27.496 39.711-41.958 12.563-14.455 24.224-29.585 34.734-45.696 10.567-16.088 19.774-33.202 28.838-50.83z",fill:"#d81e06","p-id":"2320"}),Object(r.jsx)("path",{d:"M345.965 547.814a554.561 554.561 0 0 1 25.007-24.114c8.562-7.806 17.35-15.363 26.277-22.762 17.879-14.767 36.438-28.729 55.501-41.985 38.164-26.459 78.401-50.008 120.13-70.507 41.727-20.505 84.978-37.926 129.251-51.931 22.144-6.98 44.542-13.115 67.147-18.258 11.308-2.555 22.654-4.9 34.056-6.94a594.59 594.59 0 0 1 34.343-5.212l-32.763 11.264c-10.886 3.781-21.745 7.563-32.546 11.472-21.612 7.778-43.068 15.82-64.323 24.294-42.53 16.878-84.302 35.349-125.282 55.445-40.977 20.104-81.146 41.848-120.515 65.167-19.703 11.632-39.191 23.681-58.536 36.055-19.37 12.348-38.491 25.146-57.747 38.012zM393.713 444.275c9.035-12.098 18.943-23.434 29.211-34.426 10.293-10.968 21.066-21.47 32.155-31.625 22.229-20.251 45.81-38.995 70.375-56.296a759.91 759.91 0 0 1 76.561-47.41c13.221-7.112 26.646-13.838 40.313-20.063 6.844-3.096 13.723-6.107 20.693-8.933a383.03 383.03 0 0 1 21.133-7.977c-11.965 9.213-24.18 17.829-36.34 26.475-12.179 8.606-24.398 17.063-36.577 25.538-24.396 16.885-48.696 33.723-72.875 50.714a5613.08 5613.08 0 0 0-72.171 51.577l-36 26.22-18.112 13.153a989.284 989.284 0 0 1-18.366 13.053zM394.681 318.676c1.69-3.162 3.557-6.145 5.497-9.073 1.928-2.933 3.958-5.767 6.025-8.568 4.152-5.583 8.573-10.903 13.13-16.087 9.161-10.32 19.057-19.883 29.473-28.832 10.428-8.937 21.396-17.241 32.981-24.723a248.85 248.85 0 0 1 17.886-10.531c3.083-1.617 6.188-3.195 9.378-4.66 3.183-1.474 6.417-2.872 9.798-4.069-2.021 2.964-4.184 5.736-6.381 8.455-2.19 2.729-4.453 5.356-6.722 7.967a360.601 360.601 0 0 1-14.071 15.035c-9.607 9.7-19.605 18.857-29.898 27.669-10.304 8.8-20.885 17.27-31.935 25.277-5.548 3.979-11.166 7.897-16.984 11.624-2.919 1.854-5.854 3.696-8.877 5.454-3.01 1.766-6.073 3.497-9.3 5.062z",fill:"#d81e06","p-id":"2321"}),Object(r.jsx)("path",{d:"M377.385 198.376c7.893 10.171 13.98 21.39 19.39 32.877 2.634 5.773 5.105 11.629 7.288 17.595a208.038 208.038 0 0 1 1.603 4.488c0.557 1.625 1.058 2.91 1.593 4.547 1.024 3.13 1.943 6.208 2.726 9.374 3.157 12.603 4.434 25.751 3.541 38.719a112.472 112.472 0 0 1-3.022 19.212c-1.595 6.292-3.653 12.46-6.732 18.349-1.518-6.472-2.425-12.718-3.378-18.871l-2.668-18.153c-1.728-11.938-3.566-23.616-5.697-35.365l-1.626-8.801a186.252 186.252 0 0 0-0.857-4.471l-0.974-4.493-3.917-18.063c-2.531-12.133-5.235-24.257-7.27-36.944zM400.461 418.669c3.572-0.022 7.066 0.362 10.524 0.96 3.467 0.584 6.87 1.447 10.241 2.477a89.806 89.806 0 0 1 19.348 8.694c12.266 7.308 22.957 17.621 30.989 29.654 8.052 12.031 13.415 25.727 15.745 39.667 1.187 6.97 1.588 14.02 1.273 20.998-0.19 3.494-0.52 6.966-1.107 10.417-0.573 3.448-1.335 6.87-2.48 10.256-1.634-3.18-3.034-6.314-4.417-9.401l-4.055-9.112a633.294 633.294 0 0 0-7.974-17.387c-5.396-11.228-11.132-21.724-17.718-31.604-6.573-9.891-14.004-19.131-22.397-28.158a343.862 343.862 0 0 0-13.311-13.475c-2.33-2.267-4.739-4.505-7.182-6.824-2.453-2.305-4.965-4.626-7.479-7.162zM213.98 674.63s-101.966 69.187-52.733 141.79c0 0 35.523 62.631 161.722 96.598 0 0 144.272 33.34 219.991 29.601 0 0 9.038-1.869-16.203-6.854 0 0-72.877-10.811-146.453-25.862-51.476-10.532-100.322-31.201-122.46-45.183 0 0-129.315-71.046-68.864-149.258 0 0 20.914-32.032 52.056-54.967","p-id":"2322"}),Object(r.jsx)("path",{d:"M535.012 942.074s48.847-108.205 75.021-251.542c0 0 17.688-104.204 0-192.57l19.944-7.041s19.941 83.071-3.116 230.147c0 0-20.753 119.558-82.45 220.829","p-id":"2323"}),Object(r.jsx)("path",{d:"M542.96 941.841s-1.385 0.233-3.722 0.233c-3.706 0-3.725-1.792-3.725-1.792M165.298 756.591s225.6-62.942 291.66-90.364c0 0 127.756-49.232 165.772-87.871v13.088s-109.256 83.509-222.27 112.177c0 0-131.71 39.884-235.163 59.205v-6.235z","p-id":"2324"}),Object(r.jsx)("path",{d:"M224.502 848.203s129.095-167.642 164.884-266.732l25.194-11.84S384.845 679.34 303.65 759.708c0 0-57.958 72.292-74.162 95.351l-4.986-6.856zM501.206 532.861s14.539 90.365-58.479 216.252c0 0-63.669 121.524-102.308 162.034h11.841s63.547-54.22 132.733-205.034c0 0 44.714-112.178 32.958-178.237l-16.745 4.985zM359.115 911.147s196.478-57.505 215.629-65.438v6.232c0 0.001-149.569 59.83-215.629 59.206z","p-id":"2325"}),Object(r.jsx)("path",{d:"M581.599 842.594s-136.481-18.072-211.889-88.495c0 0-83.509-62.943-50.167-143.337l-27.733 6.232s-20.566 76.654 39.262 129.626c-0.001 0 87.247 98.466 250.527 95.974zM414.58 567.138s28.667 115.293 199.425 145.207l8.726-3.74s-192.562-64.189-192.562-149.777l-15.589 8.31z","p-id":"2326"}),Object(r.jsx)("path",{d:"M235.098 855.059s199.9-66.06 244.919-86.626c0 0 82.264-26.798 142.714-66.059l-4.985 9.971s-56.089 38.639-150.815 75.407c0 0-100.336 41.755-236.819 72.915l4.986-5.608zM519.92 530.369s99.071 59.827 110.913 60.451v-4.363s-96.444-57.958-105.322-64.19l-5.591 8.102zM549.186 219.389s-55.458-79.146-70.416-150.815c0 0-206.281 68.553-194.44 105.322l25.76 12.556 4.154-1.961s-19.942-18.696 48.61-56.089c0 0 66.06-36.146 112.177-51.103 0 0 15.58 108.438 52.973 138.975l21.182 3.115z","p-id":"2327"}),Object(r.jsx)("path",{d:"M341.042 134.633l50.526 67.306 24.944 2.493-75.47-76.654z","p-id":"2328"}),Object(r.jsx)("path",{d:"M501.206 162.054s-160.164-11.217-153.309-34.276h8.102s136.751 26.976 145.207 25.552v8.724zM456.766 206.301s48.179-37.954 50.048-38.607l-3.116-5.64s-61.386 34.808-72.759 37.658c-11.374 2.851 25.827 6.589 25.827 6.589z","p-id":"2329"})]})},l=function(){return Object(r.jsxs)("svg",{t:"1640789293797",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"12358",width:o,height:o,children:[Object(r.jsx)("path",{d:"M930.56415839 579.12956914c-14.30569336-12.26202276-32.69872793-14.30569336-51.09176337-8.17468154-14.30569336 4.08734121-30.65505732 6.13101182-44.96075156 6.13101094 40.87341035-67.44112734 71.52846768-141.01326563 91.96517373-218.67274424 10.21835214-34.74239854 16.34936396-71.52846768 16.34936396-110.35820831 4.08734121-30.65505732-4.08734121-61.31011552-22.48037578-85.83416102-51.0917625-65.39745674-130.7949126-102.18352588-212.5417333-100.13985528h-6.13101181c-34.74239854 0-69.48479707 6.13101182-102.18352588 14.30569336h-2.04367061c-20.43670518-4.08734121-42.91708096-6.13101182-63.35378525-6.13101182-38.82973974-2.0436706-79.7031501 8.17468242-114.44554864 28.6113876-49.04809277-18.39303457-104.22719648-26.567717-157.36262959-24.52404639-49.04809277 0-98.09618467 20.43670518-132.83858408 55.17910371-36.78606914 38.82973974-55.17910371 98.09618467-53.13543311 181.88667598 4.08734121 36.78606914 10.21835214 73.57213828 18.39303458 108.31453681 12.26202276 53.1354331 26.567717 104.22719648 44.96075156 155.31895898 14.30569336 47.00442217 38.82973974 91.96517286 71.52846767 128.75124288 16.34936396 16.34936396 38.82973974 26.567717 63.35378614 28.61138672 18.39303457 0 34.74239854-8.17468242 49.04809189-20.4367043 12.26202276 14.30569336 28.6113876 22.48037578 47.00442217 26.56771612 24.52404638 6.13101182 49.04809277 8.17468242 73.57213828 4.08734121 12.26202276-2.0436706 22.48037578-6.13101182 32.69872881-10.21835303 0 12.26202276 0 24.52404638 2.0436706 36.78607002-2.0436706 36.78606914 4.08734121 71.52846768 14.30569336 106.27086621 4.08734121 20.43670518 14.30569336 38.82973974 28.61138672 55.17910372 28.6113876 26.567717 67.44112734 36.78606914 104.22719648 28.61138759 38.82973974-6.13101182 75.61580888-26.567717 98.09618468-57.22277431 26.567717-36.78606914 38.82973974-91.96517286 40.87341034-179.84300538 0-4.08734121 2.0436706-8.17468242 2.04367061-12.26202275h6.13101182c34.74239854 2.0436706 69.48479707-4.08734121 100.13985439-16.34936484 24.52404638-10.21835214 47.00442217-26.567717 63.35378613-49.0480919 4.08734121-8.17468242 8.17468242-16.34936396 10.21835304-24.52404639 2.0436706-16.34936396-4.08734121-30.65505732-16.34936397-40.87341035z m-12.26202362 47.00442217c-14.30569336 18.39303457-30.65505732 30.65505732-53.13543311 38.82973975-24.52404638 10.21835214-51.0917625 14.30569336-77.65947949 14.30569336-12.26202276 0-24.52404638-2.0436706-36.78606914-4.08734122-6.13101182 51.0917625-10.21835214 102.18352588-20.43670517 153.27528926-2.0436706 24.52404638-14.30569336 49.04809277-30.65505821 69.48479707-20.43670518 18.39303457-44.96075156 30.65505732-71.52846767 32.69872793-30.65505732 8.17468242-61.31011552 2.0436706-85.83416192-16.34936397-14.30569336-12.26202276-24.52404638-30.65505732-32.69872793-49.04809189-4.08734121-12.26202276-6.13101182-22.48037578-8.17468242-34.74239941-2.0436706-18.39303457-4.08734121-36.78606914-4.08734033-53.13543311-2.0436706-32.69872793-2.0436706-63.35378614-2.04367061-94.00884345-16.34936396 14.30569336-36.78606914 24.52404638-57.22277432 28.6113876-20.43670518 4.08734121-42.91708096 2.0436706-63.35378612-4.08734122-6.13101182-2.0436706-12.26202276-4.08734121-18.39303458-8.17468242-8.17468242-2.0436706-12.26202276-8.17468242-16.34936396-14.30569336-2.0436706-4.08734121-4.08734121-10.21835214-2.04367061-14.30569336 2.0436706-4.08734121 4.08734121-10.21835214 8.17468155-12.26202363 10.21835214-6.13101182 20.43670518-10.21835214 32.6987288-12.26202276 14.30569336-2.0436706 28.6113876-6.13101182 42.91708008-12.26202363 8.17468242-6.13101182 14.30569336-14.30569336 20.43670518-22.4803749v-2.04367061c-18.39303457 0-34.74239854-6.13101182-51.0917625-12.26202363-6.13101182 6.13101182-32.69872793 34.74239854-69.48479708 77.65947949-12.26202276 16.34936396-28.6113876 26.567717-49.04809277 28.6113876-18.39303457 0-34.74239854-8.17468242-47.00442216-20.43670517-30.65505732-34.74239854-51.0917625-75.61580888-65.39745586-118.53288985-16.34936396-53.1354331-30.65505732-104.22719648-40.87341036-155.31895898-8.17468242-34.74239854-14.30569336-67.44112734-18.39303456-102.18352588-4.08734121-77.65947949 14.30569336-128.751242 44.96075068-161.44997081 30.65505732-30.65505732 71.52846768-47.00442217 116.48922011-49.04809188 55.17910371-2.0436706 110.35820742 8.17468242 161.44996992 28.61138671 32.69872793-20.43670518 69.48479707-30.65505732 108.3145377-30.65505733 20.43670518 0 42.91708096 4.08734121 63.35378613 8.17468242 8.17468242-4.08734121 18.39303457-6.13101182 28.61138672-8.17468242 26.567717-6.13101182 51.0917625-8.17468242 77.6594795-10.21835302 77.65947949-2.0436706 151.23161777 30.65505732 200.27971054 91.96517373 12.26202276 20.43670518 18.39303457 47.00442217 16.34936397 71.52846767-2.0436706 34.74239854-8.17468242 69.48479707-16.34936397 104.22719649-22.48037578 85.83416191-59.26644492 167.58098174-108.3145377 243.19679062 2.0436706 2.0436706 4.08734121 2.0436706 6.13101182 4.08734122 28.6113876 6.13101182 57.22277432 6.13101182 85.83416192-2.04367061 10.21835214-4.08734121 22.48037578-2.0436706 32.69872793 2.04367061 4.08734121 4.08734121 8.17468242 10.21835214 8.17468242 16.34936396-6.13101182 0-6.13101182 6.13101182-8.17468242 10.21835303z","p-id":"12359"}),Object(r.jsx)("path",{d:"M703.71673086 111.12902158h-6.13101182c-20.43670518 0-42.91708096 2.0436706-63.35378525 8.17468243 40.87341035 18.39303457 77.65947949 49.04809277 106.27086621 83.79049042 16.34936396 22.48037578 30.65505732 44.96075156 42.91708096 71.52846856 4.08734121 10.21835214 8.17468242 18.39303457 10.21835214 24.52404638 0 4.08734121 2.0436706 6.13101182 2.04367061 10.21835216v6.13101181c2.0436706 32.69872793-8.17468242 53.1354331-8.17468154 85.83416103 0 22.48037578 6.13101182 49.04809277 6.13101093 77.6594795 4.08734121 30.65505732-4.08734121 61.31011552-20.43670429 85.83416191 2.0436706 2.0436706 4.08734121 4.08734121 4.08734033 6.13101182 42.91708096-69.48479707 77.65947949-145.10060683 98.09618467-224.80375693 8.17468242-32.69872793 14.30569336-65.39745674 14.30569424-98.09618468 2.0436706-18.39303457-2.0436706-36.78606914-10.21835303-55.1791037-40.87341035-55.17910371-106.27086709-83.79049131-175.75566416-81.74682071z",fill:"#306092","p-id":"12360"}),Object(r.jsx)("path",{d:"M527.9610667 119.30370401c-36.78606914-2.0436706-71.52846768 10.21835214-98.09618467 32.69872792-24.52404638 20.43670518-40.87341035 49.04809277-53.1354331 77.6594795-10.21835214 28.6113876-16.34936396 59.26644492-18.39303458 89.92150312 16.34936396-8.17468242 32.69872793-14.30569336 51.0917625-18.39303545 18.39303457-4.08734121 38.82973974-4.08734121 57.22277432 2.04367061 20.43670518 8.17468242 34.74239854 26.567717 38.82973975 49.04809277 26.567717 120.57656045-8.17468242 165.53731201-20.43670517 202.32338115-6.13101182 12.26202276-10.21835214 24.52404638-12.26202276 36.78606914 2.0436706 0 4.08734121 0 6.13101182-2.0436706 6.13101182 0 14.30569336 2.0436706 20.4367043 4.08734121 12.26202276 6.13101182 22.48037578 16.34936396 26.56771698 30.65505732 2.0436706 4.08734121 2.0436706 8.17468242 2.04367061 10.21835215v6.13101182c-2.0436706 47.00442217-2.0436706 94.00884346 0 141.01326562 0 18.39303457 2.0436706 34.74239854 4.08734121 53.1354331 0 10.21835214 2.0436706 18.39303457 6.13101094 28.6113876 4.08734121 14.30569336 12.26202276 26.567717 24.52404638 36.78606914s30.65505732 16.34936396 63.35378614 10.21835216c20.43670518-2.0436706 40.87341035-12.26202276 57.22277431-26.56771612 12.26202276-16.34936396 20.43670518-34.74239854 22.48037578-55.17910371 8.17468242-38.82973974 20.43670518-153.27528838 22.48037578-173.71199444 0-12.26202276 2.0436706-26.567717 8.17468155-36.78606914 4.08734121-8.17468242 12.26202276-14.30569336 20.43670517-18.39303456 4.08734121-2.0436706 6.13101182-2.0436706 10.21835304-4.08734122-4.08734121-4.08734121-6.13101182-8.17468242-10.21835304-12.26202275-10.21835214-12.26202276-18.39303457-26.567717-24.5240455-40.87341035-4.08734121-6.13101182-6.13101182-12.26202276-10.21835303-18.39303458-6.13101182-10.21835214-10.21835214-20.43670518-18.39303457-32.69872792-14.30569336-26.567717-26.567717-55.17910371-34.74239854-85.83416192-8.17468242-30.65505732-10.21835214-59.26644492 10.21835216-81.7468207 16.34936396-18.39303457 47.00442217-28.6113876 91.96517372-22.48037578-2.0436706-4.08734121-2.0436706-8.17468242-4.0873412-12.26202275-8.17468242-24.52404638-22.48037578-47.00442217-38.82973976-65.39745674-44.96075156-61.31011552-116.48921924-96.05251406-192.10502812-98.09618467l-8.17468242-6.13101093z",fill:"#306092","p-id":"12361"}),Object(r.jsx)("path",{d:"M278.63326426 121.34737461h-14.30569424c-36.78606914 0-73.57213828 14.30569336-98.09618466 40.87341035-26.567717 26.567717-44.96075156 71.52846768-40.87340948 147.14427656 4.08734121 32.69872793 10.21835214 65.39745674 16.34936396 98.09618467 10.21835214 51.0917625 24.52404638 100.13985528 42.91708096 149.18794717 12.26202276 40.87341035 32.69872793 77.65947949 59.26644404 110.3582083 6.13101182 8.17468242 16.34936396 12.26202276 28.6113876 12.26202276 12.26202276-2.0436706 22.48037578-8.17468242 30.65505733-18.39303458 22.48037578-26.567717 44.96075156-53.1354331 67.44112734-75.61580888-34.74239854-28.6113876-51.0917625-73.57213828-42.91708096-118.53288984 2.0436706-24.52404638 4.08734121-49.04809277 4.08734122-75.61580889 0-20.43670518-2.0436706-32.69872793-2.04367061-40.87341036V348.19480127c0-42.91708096 8.17468242-85.83416191 22.48037578-126.70757139 10.21835214-28.6113876 26.567717-55.17910371 49.04809189-77.65948037-34.74239854-12.26202276-71.52846768-18.39303457-108.31453681-20.43670518-6.13101182-2.0436706-10.21835214-2.0436706-14.30569336-2.04366972zM760.93950518 399.28656377c2.0436706-32.69872793 8.17468242-53.1354331 8.17468242-75.61580888-10.21835214-2.0436706-18.39303457-2.0436706-28.6113876-2.04367062-16.34936396-2.0436706-32.69872793 4.08734121-47.00442128 14.30569425-10.21835214 10.21835214-10.21835214 32.69872793-6.13101182 59.26644492 8.17468242 28.6113876 18.39303457 55.17910371 32.69872792 79.7031501 6.13101182 12.26202276 12.26202276 22.48037578 16.34936397 32.69872792 4.08734121 6.13101182 8.17468242 14.30569336 10.21835303 20.43670518 2.0436706 4.08734121 4.08734121 10.21835214 8.17468154 12.26202276 8.17468242-20.43670518 12.26202276-40.87341035 10.21835302-61.31011553 2.0436706-24.52404638-4.08734121-53.1354331-4.0873412-79.7031501z m-14.30569336-61.31011465c0 2.0436706 0 4.08734121-2.0436706 6.13101094-2.0436706 2.0436706-2.0436706 4.08734121-4.08734122 6.13101181-4.08734121 4.08734121-10.21835214 6.13101182-14.30569336 8.17468243-6.13101182 0-10.21835214 0-14.30569336-4.08734121-2.0436706-2.0436706-4.08734121-2.0436706-6.13101182-4.08734122-2.0436706 0-2.0436706-2.0436706-2.0436706-4.0873412s0-4.08734121 2.0436706-6.13101182l4.08734122-4.08734033c6.13101182-4.08734121 14.30569336-6.13101182 20.43670518-6.13101182h10.21835214c2.0436706 0 4.08734121 2.0436706 6.13101182 2.04367061v6.13101181z",fill:"#306092","p-id":"12362"}),Object(r.jsx)("path",{d:"M478.9129748 356.36948369c-2.0436706-14.30569336-10.21835214-26.567717-24.52404638-32.69872881-6.13101182-2.0436706-12.26202276-2.0436706-18.39303457-2.04367061-8.17468242 0-14.30569336 2.0436706-22.48037578 2.04367061-14.30569336 4.08734121-28.6113876 10.21835214-42.91708096 16.34936397-4.08734121 2.0436706-8.17468242 6.13101182-12.26202276 10.21835302 0 6.13101182 2.0436706 18.39303457 2.04367062 36.78606915 0 26.567717 0 53.1354331-4.08734122 77.65947948-10.21835214 55.17910371 26.567717 106.27086709 81.7468207 116.48921924 4.08734121 0 6.13101182 0 10.21835215 2.04367062 4.08734121-12.26202276 10.21835214-26.567717 12.26202275-40.87341036 12.26202276-36.78606914 42.91708096-67.44112734 18.39303545-185.97401631z m-14.30569423 2.04367061l-6.13101094 6.13101093c-4.08734121 4.08734121-10.21835214 6.13101182-16.34936484 4.08734121-6.13101182-2.0436706-10.21835214-4.08734121-14.30569336-10.21835214-2.0436706-2.0436706-4.08734121-4.08734121-4.08734122-6.13101182-4.08734121-4.08734121-4.08734121-6.13101182-4.08734033-8.17468242 0-4.08734121 4.08734121-6.13101182 8.17468155-8.17468154 4.08734121-2.0436706 8.17468242-2.0436706 10.21835302-2.04367061h6.13101094c6.13101182 0 10.21835214 2.0436706 14.30569424 6.13101094 2.0436706 2.0436706 4.08734121 2.0436706 6.13101094 4.08734121s2.0436706 4.08734121 2.0436706 8.17468242c-2.0436706 2.0436706-2.0436706 4.08734121-2.0436706 6.13101182zM777.28886914 611.82829795c-4.08734121 2.0436706-8.17468242 2.0436706-12.26202276 2.04367061-4.08734121 2.0436706-6.13101182 4.08734121-10.21835302 8.17468154-2.0436706 8.17468242-4.08734121 16.34936396-4.08734033 24.52404638 2.0436706 2.0436706 4.08734121 2.0436706 6.13101093 2.04367061 8.17468242 2.0436706 18.39303457 4.08734121 28.6113876 4.08734121 24.52404638 0 47.00442217-4.08734121 69.48479707-12.26202363 12.26202276-6.13101182 24.52404638-12.26202276 34.74239942-22.48037579-53.1354331 10.21835214-79.7031501 8.17468242-98.09618467 0-6.13101182-2.0436706-10.21835214-4.08734121-14.30569424-6.13101093zM476.8693042 615.91563828c-2.0436706 0-6.13101182 0-10.21835303 8.17468242-12.26202276 14.30569336-16.34936396 24.52404638-28.61138672 32.69872794-16.34936396 10.21835214-32.69872793 16.34936396-53.13543398 18.39303456-6.13101182 0-12.26202276 2.0436706-16.34936396 6.13101182l2.0436706 2.04367061c4.08734121 2.0436706 10.21835214 4.08734121 12.26202276 6.13101181 16.34936396 4.08734121 34.74239854 6.13101182 53.13543398 4.08734034 24.52404638-4.08734121 47.00442217-18.39303457 59.26644492-38.82973975 4.08734121-6.13101182 4.08734121-12.26202276 0-18.39303457-2.0436706-6.13101182-8.17468242-12.26202276-12.26202364-14.30569336 0-6.13101182-4.08734121-6.13101182-6.13101093-6.13101182z",fill:"#306092","p-id":"12363"})]})},p=function(){return Object(r.jsxs)("svg",{t:"1640789681111",className:"icon",viewBox:"0 0 1152 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"13211",width:o,height:o,children:[Object(r.jsx)("path",{d:"M0 896h128v128H0z",fill:"#ff0000","p-id":"13212"}),Object(r.jsx)("path",{d:"M0 0h128v896H0zM256 0h128v1024H256zM512 0h128v1024H512zM768 0h128v1024H768zM1024 416h128v192H1024z",fill:"#ffcc00","p-id":"13213"})]})},w=function(){return Object(r.jsxs)("svg",{t:"987654321",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9314",width:o,height:o,children:[Object(r.jsx)("path",{d:"M896 1024H128C57.6 1024 0 966.4 0 896V128C0 57.6 57.6 0 128 0h768c70.4 0 128 57.6 128 128v768c0 70.4-57.6 128-128 128z",fill:"#FFFFFF","p-id":"1695"}),Object(r.jsx)("path",{d:"M726.4 216.533c39.467-129.066 55.467-141.866 55.467-141.866s-107.734 38.4-141.867 147.2C605.867 331.733 663.467 464 675.2 508.8c10.667 44.8 76.8 304-145.067 318.933C369.067 838.4 323.2 670.933 339.2 596.267c4.267-19.2 21.333-90.667 52.267-141.867C422.4 403.2 435.2 324.267 435.2 324.267s25.6 5.333 37.333-14.934c0 0-23.466 0-8.533-11.733 13.867-11.733 8.533-25.6 8.533-25.6s-25.6 17.067-52.266 3.2c-25.6-13.867-84.267-52.267-124.8 8.533 0 0-43.734 7.467-64 35.2 0 0 43.733-17.066 64-5.333 21.333 11.733 54.4 37.333 20.266 118.4C281.6 513.067 190.933 577.067 240 724.267c49.067 147.2 160 205.866 304 205.866S792.533 784 792.533 641.067c0-142.934-105.6-295.467-66.133-424.534zM487.467 541.867c-51.2-43.734-52.267-150.4-52.267-150.4-17.067 120.533-8.533 194.133 72.533 240C588.8 678.4 612.267 736 612.267 736c3.2-32-72.534-150.4-124.8-194.133z m145.066 179.2s32-109.867 0-208c-28.8-87.467-53.333-117.334-52.266-179.2 1.066-61.867 29.866-182.4 45.866-197.334 0 0-100.266 89.6-101.333 185.6-1.067 96 39.467 141.867 64 182.4 24.533 40.534 57.6 110.934 43.733 216.534zM522.667 214.4s-80 118.4-60.8 228.267C464 461.867 476.8 498.133 528 552.533c51.2 54.4 92.8 148.267 96 167.467 0 0-2.133-104.533-40.533-173.867C545.067 476.8 478.933 388.267 502.4 294.4c4.267-23.467 20.267-80 20.267-80z",fill:"#EC4C2E","p-id":"1696"})]})},S=function(){return Object(r.jsxs)("svg",{t:"1640789853861",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"13678",width:o,height:o,children:[Object(r.jsx)("path",{d:"M272.816 43.1136c57.4848-57.4848 150.688-57.4848 208.1728 0l113.136 113.136c57.4848 57.488 57.4848 150.688 0 208.1728l-85.984 85.984a25.6 25.6 0 0 1-36.2048 0L272.816 251.2864c-57.4848-57.4848-57.4848-150.688 0-208.1728z",fill:"#14A9CA","p-id":"13679"}),Object(r.jsx)("path",{d:"M277.3408 771.7152l391.472-391.472c11.5744-14.4288 21.1296-30.6176 28.6656-48.5696 7.536-17.952 12.3904-38.6304 14.56-62.0384l137.776 137.7792c57.4848 57.4848 57.4848 150.688 0 208.1728L485.5136 979.888c-57.4848 57.4848-150.688 57.4848-208.1728 0s-57.4848-150.688 0-208.1728z",fill:"#52CAA4","p-id":"13680"}),Object(r.jsx)("path",{d:"M177.1648 246.144l249.5168 249.5168a25.6 25.6 0 0 1 0 36.2048l-249.5168 249.5168A28.8 28.8 0 0 1 128 761.0176V266.5088a28.8 28.8 0 0 1 49.1648-20.3648z",fill:"#5168AC","p-id":"13681"})]})},k=function(){return Object(r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 54 60.45",width:o,height:o,children:[Object(r.jsx)("path",{fill:"#fabf00",d:"M16.17,26.33c-4-3.27-8.36-6.88-10.69-8.81L3.85,16.18c-1.13-.93-2-2.58-.1-3.71C4.58,12,18.78,3.83,24,.8A5.94,5.94,0,0,1,30,.8L40,6.59a1.18,1.18,0,0,1,0,2.05L16.52,22.11A2.57,2.57,0,0,0,16.17,26.33Z"}),Object(r.jsx)("path",{fill:"#337e8d",d:"M22,35.88,12.48,50.45a2.37,2.37,0,0,1-3.17.75L3,47.55A6,6,0,0,1,0,42.4V18.08a5.94,5.94,0,0,1,2.39-4.76c-1.7,1.31-1,2.78.1,3.72L21.57,32.75A2.38,2.38,0,0,1,22,35.88Z"}),Object(r.jsx)("path",{fill:"#337e8d",d:"M37.83,34.11l10.69,8.81,1.63,1.34c1.13.94,2,2.59.1,3.72-.83.49-15,8.64-20.27,11.67a6,6,0,0,1-5.95,0L14,53.86a1.19,1.19,0,0,1,0-2.06L37.48,38.34A2.58,2.58,0,0,0,37.83,34.11Z"}),Object(r.jsx)("path",{fill:"#337e8d",d:"M32,24.57,41.52,10a2.37,2.37,0,0,1,3.17-.75L51,12.9a5.94,5.94,0,0,1,3,5.15V42.37a5.94,5.94,0,0,1-2.39,4.76c1.7-1.31,1-2.78-.1-3.72L32.43,27.69A2.37,2.37,0,0,1,32,24.57Z"})]})},T=function(){return Object(r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 348.418 300.463",width:o,height:o,children:Object(r.jsxs)("g",{"data-name":"Group 406",transform:"translate(-107.354)",children:[Object(r.jsx)("circle",{"data-name":"Ellipse 154",cx:"15.683",cy:"15.683",r:"15.683",transform:"rotate(-45 164.143 -320.553)",fill:"#5d88d6"}),Object(r.jsx)("circle",{"data-name":"Ellipse 155",cx:"17.423",cy:"17.423",r:"17.423",transform:"rotate(-45 236.512 -348.067)",fill:"#5d88d6"}),Object(r.jsx)("circle",{"data-name":"Ellipse 156",cx:"19.163",cy:"19.163",r:"19.163",transform:"rotate(-45 308.884 -375.574)",fill:"#5d88d6"}),Object(r.jsx)("circle",{"data-name":"Ellipse 157",cx:"20.902",cy:"20.902",r:"20.902",transform:"rotate(-45 381.172 -403.063)",fill:"#5d88d6"}),Object(r.jsx)("circle",{"data-name":"Ellipse 158",cx:"13.943",cy:"13.943",r:"13.943",transform:"rotate(-45 122.284 -219.497)",fill:"#32dbfc"}),Object(r.jsx)("circle",{"data-name":"Ellipse 159",cx:"15.683",cy:"15.683",r:"15.683",transform:"rotate(-45 194.653 -247.009)",fill:"#32dbfc"}),Object(r.jsx)("circle",{"data-name":"Ellipse 160",cx:"17.423",cy:"17.423",r:"17.423",transform:"rotate(-45 266.949 -274.494)",fill:"#32dbfc"}),Object(r.jsx)("circle",{"data-name":"Ellipse 161",cx:"19.163",cy:"19.163",r:"19.163",transform:"rotate(-45 339.278 -301.998)",fill:"#32dbfc"}),Object(r.jsx)("circle",{"data-name":"Ellipse 162",cx:"20.902",cy:"20.902",r:"20.902",transform:"rotate(-45 411.681 -329.508)",fill:"#32dbfc"}),Object(r.jsx)("circle",{"data-name":"Ellipse 163",cx:"12.203",cy:"12.203",r:"12.203",transform:"rotate(-45 80.509 -118.474)"}),Object(r.jsx)("circle",{"data-name":"Ellipse 164",cx:"13.943",cy:"13.943",r:"13.943",transform:"rotate(-45 152.754 -145.942)"}),Object(r.jsx)("circle",{"data-name":"Ellipse 165",cx:"15.683",cy:"15.683",r:"15.683",transform:"rotate(-45 225.165 -173.465)"}),Object(r.jsx)("circle",{"data-name":"Ellipse 166",cx:"17.423",cy:"17.423",r:"17.423",transform:"rotate(-45 297.49 -200.963)"}),Object(r.jsx)("circle",{"data-name":"Ellipse 167",cx:"19.163",cy:"19.163",r:"19.163",transform:"rotate(-45 369.83 -228.455)"}),Object(r.jsx)("circle",{"data-name":"Ellipse 168",cx:"20.902",cy:"20.902",r:"20.902",transform:"rotate(-45 442.075 -255.942)"}),Object(r.jsxs)("g",{"data-name":"Group 120",transform:"translate(110.646 174.812)",fill:"#5d88d6",children:[Object(r.jsx)("circle",{"data-name":"Ellipse 169",cx:"13.943",cy:"13.943",r:"13.943",transform:"rotate(-45 63.994 -87.174)"}),Object(r.jsx)("circle",{"data-name":"Ellipse 170",cx:"13.943",cy:"13.943",transform:"translate(43.075 48.862)",r:"13.943"}),Object(r.jsx)("circle",{"data-name":"Ellipse 171",cx:"13.943",cy:"13.943",transform:"translate(0 91.982)",r:"13.943"}),Object(r.jsx)("circle",{"data-name":"Ellipse 172",cx:"13.943",cy:"13.943",transform:"translate(86.164 91.957)",r:"13.943"}),Object(r.jsx)("circle",{"data-name":"Ellipse 173",cx:"13.943",cy:"13.943",r:"13.943",transform:"rotate(-45 211.16 -148.109)"}),Object(r.jsx)("circle",{"data-name":"Ellipse 174",cx:"13.943",cy:"13.943",r:"13.943",transform:"rotate(-45 137.546 -117.642)"})]})]})})},I=function(){return Object(r.jsxs)("svg",{t:"1647425762735",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3247",width:o,height:o,children:[Object(r.jsx)("path",{d:"M608.6656 764.3136V954.368h46.42133333v-87.38133333h9.8304v87.38133333h46.96746667v-190.0544H664.91733333v70.4512h-9.8304v-70.4512h-46.42133333z m161.65546667 0H724.992V954.368h45.32906667v-190.0544z m7.09973333 0l36.0448 190.0544h54.0672l36.0448-190.0544h-48.05973333l-12.01493334 81.37386667c-1.09226667 3.2768-4.36906667 3.2768-4.9152 0l-12.01493333-81.37386667h-49.152z m226.0992 0h-90.112V954.368H1003.52v-49.69813333l-50.24426667-0.54613334v-21.2992h24.02986667v-49.69813333h-24.02986667v-19.11466667h50.24426667v-49.69813333z","p-id":"3248"}),Object(r.jsx)("path",{d:"M516.36906667 187.5968c-7.64586667-20.75306667-269.24373333-122.33386667-272.52053334-111.4112-48.05973333 12.56106667-67.72053333 67.72053333-100.48853333 102.67306667l-73.18186667-4.36906667c-32.22186667 41.50613333-49.152 84.10453333-37.6832 127.7952C74.00106667 359.08266667 122.0608 407.1424 151.552 477.5936c2.18453333 33.31413333 143.63306667 3.2768 174.21653333-3.2768-41.50613333 29.4912-77.55093333 75.3664-61.71306666 208.0768 14.19946667 62.2592 24.02986667 131.61813333 149.0944 201.5232 16.384 9.28426667 50.7904 20.20693333 71.54346666 27.8528 20.20693333 9.28426667 43.69066667 13.1072 110.31893334-7.09973333 38.77546667-16.384 80.2816-26.76053333 117.9648-43.14453334l-45.32906667 2.18453334c-62.2592 1.09226667-110.86506667 6.00746667-125.61066667-11.4688L484.69333333 752.29866667l33.31413334-64.98986667c46.42133333 4.9152 61.71306667 42.5984 102.67306666 56.79786667l48.05973334-35.49866667c139.81013333 82.46613333 195.51573333-52.4288 211.3536-157.2864-1.6384-42.5984-92.84266667 13.65333333-86.8352-6.5536 2.18453333-45.8752-35.49866667-105.94986667-59.52853334-152.91733333l27.8528-108.68053334c12.56106667-11.4688-58.9824-132.16426667-117.41866666-146.90986666-50.7904-13.65333333-127.7952 51.33653333-127.7952 51.33653333z",fill:"#FDEE21","p-id":"3249"}),Object(r.jsx)("path",{d:"M746.2912 418.06506667c0.54613333 11.4688 0.54613333 25.66826667 1.6384 34.4064 0 6.5536-5.46133333 7.09973333-9.28426667 8.192l27.30666667 9.8304c5.46133333 9.28426667 9.8304 18.0224 14.19946667 27.30666666 4.9152 22.39146667 1.09226667 22.9376-2.18453334 24.576-9.8304 0-19.6608 0-28.94506666-1.6384 4.36906667 2.18453333 4.9152 3.82293333 5.46133333 6.5536 0.54613333 4.9152-2.73066667 12.01493333-8.192 19.11466667 8.192 4.36906667 22.9376 8.73813333 33.86026667 13.1072l12.56106666-27.8528c-6.00746667-40.41386667-22.9376-77.55093333-46.42133333-113.59573333z m50.7904 136.53333333c15.29173333 6.5536 36.0448 4.36906667 64.98986667-10.37653333 4.36906667-3.2768 8.192-1.09226667 0.54613333 3.82293333-38.22933333 33.86026667-56.25173333 16.93013333-65.536 6.5536z",fill:"#C8C037","p-id":"3250"}),Object(r.jsx)("path",{d:"M864.80213333 539.8528c4.36906667 8.73813333 1.6384 15.29173333 0 22.9376-4.9152 37.13706667-16.384 66.08213333-38.77546666 96.6656-73.18186667 117.9648-147.456 44.2368-206.4384-3.82293333l-24.576 61.16693333c-1.09226667 5.46133333-6.5536 9.28426667 31.67573333 26.2144l38.77546667-27.30666667c148.54826667 112.50346667 253.40586667-158.37866667 199.33866666-175.85493333zM637.61066667 645.25653333c-9.8304 0.54613333-39.86773333 10.92266667-40.96 16.93013334l13.65333333-20.20693334 27.30666667 3.2768z m-19.6608-125.06453333c1.6384 0 10.37653333 2.18453333 9.8304 1.6384-1.09226667-0.54613333 0 12.56106667 2.73066666 19.11466667l-10.92266666 23.48373333c20.75306667-23.48373333 52.97493333-22.39146667 83.01226666-25.12213333l-14.19946666-8.73813334c2.73066667-8.192-0.54613333-14.7456-1.6384-21.84533333l-68.8128 11.4688z m50.7904-70.4512c-21.84533333 6.5536-43.14453333 18.0224-57.344 41.50613333 10.92266667-38.77546667 13.1072-37.13706667 16.384-39.3216 15.29173333-7.09973333 27.8528-2.73066667 40.96-2.18453333z",fill:"#C8C037","p-id":"3251"}),Object(r.jsx)("path",{d:"M550.77546667 904.66986667c-26.76053333 29.4912-86.28906667-2.18453333-135.44106667-18.56853334-125.61066667-79.73546667-150.18666667-155.10186667-151.82506667-228.82986666-6.5536-105.94986667 26.2144-167.1168 67.1744-181.8624-27.30666667 52.4288-39.86773333 146.36373333-27.30666666 216.2688 10.37653333 38.77546667 10.37653333 104.31146667 75.3664 139.81013333 31.67573333 18.0224 23.48373333 31.67573333 44.78293333 48.60586667 23.48373333 18.56853333 89.56586667 36.0448 127.24906667 24.576z m39.86773333-488.2432c-45.32906667-63.8976-108.68053333-87.92746667-180.224-90.65813334 14.19946667-4.9152 28.94506667-7.09973333 43.14453333-14.19946666 3.2768-3.82293333 2.18453333-10.37653333 1.09226667-16.93013334-68.8128-18.0224-112.50346667-40.41386667-167.66293333-61.16693333L435.54133333 269.5168c100.48853333 3.82293333 91.7504 28.94506667 155.10186667 146.90986667z",fill:"#FCF6A0","p-id":"3252"}),Object(r.jsx)("path",{d:"M639.24906667 385.29706667c-33.31413333-47.5136-65.536-105.40373333-109.7728-142.5408C423.5264 195.24266667 318.12266667 159.744 195.24266667 127.52213333l39.3216-50.24426666C365.09013333 107.3152 487.424 157.01333333 597.1968 238.93333333c19.11466667 46.96746667 31.1296 93.93493333 42.05226667 146.36373334z m67.1744-84.10453334s-18.56853333-42.05226667-27.8528-57.89013333c-21.2992-23.48373333-31.67573333-67.1744-75.3664-87.92746667 13.65333333 3.82293333 22.9376-0.54613333 50.7904 24.576l44.2368 83.5584 8.192 37.6832z",fill:"#FCF6A0","p-id":"3253"}),Object(r.jsx)("path",{d:"M729.9072 373.82826667c4.36906667-36.59093333 12.56106667-94.48106667 3.2768-117.9648-26.2144-34.95253333-52.4288-71.54346667-78.6432-104.8576-4.36906667-3.82293333-7.64586667-9.8304-10.92266667-13.65333334 37.13706667 9.8304 75.91253333 35.49866667 127.7952 137.07946667l-41.50613333 99.39626667z",fill:"#FCF6A0","p-id":"3254"}),Object(r.jsx)("path",{d:"M573.71306667 378.19733333c-14.7456-11.4688-27.8528-52.4288-50.24426667-61.16693333-20.75306667-1.6384-28.39893333-8.192-55.7056-2.73066667 9.8304-4.9152 19.11466667-11.4688 29.4912-14.7456 7.09973333-1.6384 13.65333333 0 20.75306667 1.09226667 1.6384-0.54613333 2.73066667-1.6384 2.18453333-3.2768-27.30666667-16.93013333-83.5584-16.93013333-121.78773333-26.76053333 44.2368 1.6384 92.84266667-1.09226667 126.1568 9.8304 26.76053333 23.48373333 35.49866667 68.26666667 49.152 97.75786666z m80.82773333-198.2464c6.00746667 0.54613333 38.77546667 52.4288 40.41386667 61.16693334 2.73066667 19.11466667 9.28426667 39.86773333 11.4688 60.07466666-5.46133333-19.11466667-11.4688-38.22933333-18.56853334-56.79786666-2.18453333-5.46133333-7.64586667-16.93013333-22.9376-33.86026667-7.09973333-12.01493333-8.73813333-21.2992-10.37653333-30.58346667z m111.4112 283.4432h-14.19946667l15.29173334 3.82293334-1.09226667-3.82293334z m-96.11946667-13.65333333c-14.19946667-1.6384-28.39893333-2.18453333-42.5984 1.09226667-6.00746667 7.64586667-6.00746667 15.83786667-8.73813333 22.9376 16.93013333-19.11466667 24.02986667-20.20693333 51.33653333-24.02986667z m193.3312 97.75786667c-7.64586667 6.00746667-8.73813333 12.01493333-32.22186666 19.11466666-16.93013333 3.82293333-26.76053333-2.73066667-34.4064-12.01493333 12.01493333 3.2768 14.19946667 12.56106667 46.42133333 2.18453333l20.20693333-9.28426666z m-70.4512 3.82293333c-5.46133333 15.83786667-12.01493333 31.1296-18.0224 45.8752-14.7456 17.47626667-8.192 7.64586667-30.58346666 33.86026667 7.09973333-10.92266667 16.384-21.2992 20.75306666-32.768 3.2768-7.64586667 7.64586667-15.29173333 9.28426667-21.84533334-6.00746667-2.73066667-17.47626667-3.2768-19.11466667-2.18453333-19.6608 11.4688-22.9376 23.48373333-34.4064 35.49866667 8.192-13.1072 15.29173333-27.8528 25.12213334-39.86773334 1.09226667-1.6384 8.192-1.6384 12.56106666-2.73066666-7.09973333-1.09226667-19.6608-3.82293333-20.75306666-3.2768-12.56106667 3.2768-19.6608 14.19946667-29.4912 21.2992 7.09973333-9.8304 13.1072-20.20693333 21.84533333-28.94506667 1.09226667-1.09226667 24.576 1.09226667 36.59093333 6.00746667v4.9152l7.09973334 2.73066666 5.46133333-13.1072 13.65333333-5.46133333z m-154.55573333 93.93493333c-3.2768-1.09226667-31.1296-4.9152-31.1296-3.82293333-10.92266667 7.64586667-12.01493333 14.7456-12.01493333 21.2992 17.47626667-17.47626667 16.93013333-17.47626667 43.14453333-17.47626667z m-21.2992-125.61066666s20.20693333-2.73066667 19.6608-1.09226667c-1.6384 7.09973333 2.73066667 24.02986667 2.73066667 21.2992l-11.4688 9.28426667c23.48373333-12.01493333 48.60586667-9.28426667 73.728-11.4688 0 0-21.2992-6.00746667-19.6608-6.00746667 4.9152-0.54613333-1.09226667-21.84533333-2.73066667-22.39146667 3.82293333-1.09226667 8.192-2.18453333 12.01493333-3.2768-30.58346667-7.64586667-48.05973333-3.2768-74.27413333 13.65333334z","p-id":"3255"}),Object(r.jsx)("path",{d:"M789.98186667 534.9376l-4.36906667 2.18453333c-0.54613333-13.1072-14.7456-12.01493333-26.2144-12.01493333l-9.8304-2.18453333c2.73066667 2.73066667 12.01493333 2.73066667 8.192 8.192-3.2768 1.6384-4.36906667 8.73813333-6.00746667 14.7456h-5.46133333c9.28426667 3.82293333 18.0224 6.5536 27.8528 10.92266666l6.00746667 1.09226667 14.19946666-7.64586667-4.36906666-15.29173333z","p-id":"3256"}),Object(r.jsx)("path",{d:"M657.27146667 525.65333333c-2.18453333-4.36906667-13.65333333-3.82293333-15.83786667-1.09226666-2.18453333 2.18453333 0 17.47626667 2.18453333 14.7456 3.82293333-3.2768 8.73813333-4.36906667 14.19946667-4.36906667 1.09226667-2.73066667 0.54613333-6.00746667-0.54613333-9.28426667z m108.68053333 22.39146667c1.09226667-0.54613333 3.2768-8.192 2.73066667-10.37653333-1.6384-5.46133333-12.01493333-4.36906667-12.01493334-4.36906667-2.73066667 1.6384-4.9152 9.8304-3.82293333 12.56106667 0.54613333 2.73066667 11.4688 3.2768 13.1072 2.18453333z",fill:"#FFFFFF","p-id":"3257"}),Object(r.jsx)("path",{d:"M315.392 808.5504l6.5536 0.54613333c39.3216 19.11466667 104.31146667 48.05973333 198.79253333 32.768l14.7456 23.48373334c-41.50613333 20.20693333-86.28906667 15.29173333-127.7952 16.93013333L315.392 808.5504z m-56.79786667-153.46346667l19.6608 83.01226667c52.97493333 33.31413333 143.63306667 70.99733333 218.99946667 67.72053333l-16.93013333-38.22933333c-157.2864-32.768-170.3936-75.3664-221.73013334-112.50346667z m49.152-169.84746666c9.8304 64.44373333 22.39146667 113.0496 78.6432 154.0096 34.4064 24.576 68.26666667 49.152 109.7728 69.35893333 0 0-3.82293333 19.11466667-6.5536 18.56853333-123.42613333-13.65333333-213.53813333-115.78026667-224.4608-162.74773333 10.37653333-35.49866667 25.66826667-57.89013333 42.5984-79.18933333z m58.9824-36.59093334c16.384 71.54346667 55.7056 143.63306667 94.48106667 209.16906667 14.19946667 18.0224 18.0224 26.2144 39.86773333 37.13706667 29.4912 9.28426667 50.7904 7.09973333 72.0896 5.46133333-6.00746667-10.92266667-10.92266667-22.39146667-18.0224-32.768-48.05973333-38.22933333-26.2144-73.18186667-13.1072-95.0272-26.76053333-6.5536-62.2592-21.2992-67.1744-40.41386667-7.64586667-61.16693333-3.2768-80.2816 4.36906667-111.95733333-36.0448 7.64586667-73.18186667 15.29173333-112.50346667 28.39893333z","p-id":"3258"}),Object(r.jsx)("path",{d:"M233.472 69.632c-12.01493333 7.64586667-23.48373333 19.11466667-36.0448 31.67573333-20.75306667 21.2992-34.4064 42.05226667-55.15946667 57.344-4.36906667 3.82293333-15.83786667 9.28426667-30.58346666 10.37653334-7.09973333 0.54613333-11.4688 1.6384-24.02986667 0-11.4688-6.00746667-21.84533333-2.18453333-32.22186667 10.37653333-11.4688 16.384-26.2144 47.5136-32.22186666 67.72053333C10.6496 296.82346667 42.32533333 338.3296 72.9088 370.00533333c27.30666667 26.2144 42.5984 43.14453333 53.52106667 67.1744 8.192 15.83786667 14.7456 37.13706667 21.2992 52.4288 2.18453333 4.9152 2.18453333 4.9152 8.73813333 6.00746667 14.19946667 3.2768 33.86026667 3.2768 51.33653333 4.36906667 7.64586667 0 18.0224 0 27.8528-1.09226667 13.65333333-2.73066667 29.4912-4.9152 42.5984-9.8304 13.1072-3.2768 24.576-7.64586667 34.95253334-11.4688-1.09226667 4.36906667-11.4688 8.73813333-15.29173334 14.7456-35.49866667 50.7904-45.32906667 96.11946667-38.77546666 167.1168 3.2768 31.67573333 10.92266667 57.89013333 21.84533333 87.92746667 4.9152 13.65333333 15.83786667 35.49866667 25.66826667 49.69813333 30.58346667 43.14453333 98.304 97.75786667 192.78506666 119.05706667 16.384 2.18453333 34.95253333 1.09226667 52.97493334-3.82293334 46.42133333-14.19946667 141.99466667-47.5136 141.99466666-47.5136s-84.65066667 7.09973333-122.88 3.2768c-8.73813333-1.6384-18.56853333-1.6384-25.12213333-8.192-1.09226667-1.09226667-4.9152-8.73813333-2.18453333-9.28426666 3.2768 0 13.1072-3.82293333 27.8528-5.46133334-31.67573333-3.2768-31.1296-3.2768-33.31413334-9.28426666-4.36906667-10.92266667-9.28426667-21.2992-14.7456-31.67573334 13.65333333 1.09226667 44.78293333 2.73066667 55.15946667-7.64586666 0 0-18.0224 2.18453333-34.4064 0-5.46133333-0.54613333-14.7456-3.82293333-17.47626667-4.9152-7.09973333-2.73066667-13.1072-3.82293333-14.7456-5.46133334-2.73066667-6.5536-4.36906667-8.73813333-7.09973333-16.93013333-4.36906667-11.4688-4.36906667-24.02986667-5.46133333-35.49866667 10.37653333 13.1072 24.02986667 24.02986667 41.50613333 29.4912 0-0.54613333 22.9376 9.8304 39.86773333 4.36906667l3.2768-1.09226667c0 0.54613333-10.92266667 1.09226667-15.29173333-1.09226666-33.86026667-14.19946667-38.77546667-26.76053333-44.2368-33.31413334l-14.7456-21.84533333c4.36906667-8.73813333 7.09973333-9.28426667 12.56106667-9.28426667 17.47626667 2.18453333 25.66826667 3.2768 36.0448 1.09226667 7.09973333 15.29173333 9.28426667 30.03733333 25.66826666 40.96 55.15946667 16.384 67.1744-4.9152 80.82773334-23.48373333 39.86773333 29.4912 104.8576 38.22933333 149.64053333 0.54613333 57.344-66.08213333 75.3664-170.3936 70.4512-176.40106667-7.09973333-12.01493333-16.384-24.576-24.576-22.9376-28.94506667 7.64586667-39.3216 22.39146667-67.72053333 19.11466667 3.2768 0 9.28426667 0 9.28426666-0.54613333 2.18453333-24.02986667 0-35.49866667-1.09226666-37.6832-8.73813333-19.11466667-20.20693333-39.3216-27.8528-54.0672-2.18453333-3.2768-8.192-26.76053333-18.0224-36.0448-4.36906667-3.82293333-14.7456-13.1072-14.7456-13.1072l-1.09226667 10.37653333s4.36906667 0.54613333 5.46133333 7.09973333c6.00746667 24.02986667 36.0448 81.37386667 38.22933334 84.10453334 10.92266667 17.47626667 1.09226667 38.77546667 9.28426666 50.7904 0.54613333 1.6384 16.384 0 28.94506667 0.54613333 20.20693333-4.36906667 19.11466667-13.1072 36.59093333-14.7456 12.01493333-1.09226667 13.1072 21.2992 12.56106667 22.9376-2.18453333 24.576-9.8304 52.4288-20.75306667 78.6432-23.48373333 45.32906667-49.69813333 86.28906667-87.38133333 91.7504-45.8752 8.192-69.35893333-12.01493333-93.93493333-24.576l-9.28426667 8.192c-32.22186667 32.22186667-70.4512 28.94506667-85.74293333-12.56106667-7.64586667-16.384-18.0224-26.2144-26.76053334-39.86773333l-45.8752 33.31413333c-3.82293333 7.64586667-8.73813333 20.20693333-14.19946666 33.86026667-3.82293333 9.8304-7.09973333 26.2144-7.09973334 39.86773333-6.00746667 9.8304 20.20693333 50.7904 37.13706667 75.3664 4.9152 7.09973333 14.19946667 20.20693333 14.19946667 20.75306667 3.2768 8.73813333 10.37653333 16.384 10.92266666 16.93013333 31.1296 40.41386667-38.77546667 31.1296-53.52106666 28.39893334-28.39893333-4.36906667-56.25173333-16.384-82.46613334-32.22186667-1.6384-1.09226667-3.2768-1.6384-4.36906666-2.73066667-31.1296-19.6608-59.52853333-44.78293333-84.10453334-69.35893333-14.7456-16.384-28.39893333-50.24426667-38.77546666-73.728-15.29173333-57.344-37.13706667-156.74026667 22.39146666-232.10666667 3.82293333-4.36906667 7.64586667-11.4688 11.4688-13.1072 17.47626667-12.01493333 37.13706667-20.20693333 57.344-24.576l-2.18453333-13.1072c-10.37653333 2.18453333-44.78293333 15.29173333-54.61333333 20.20693334-22.39146667 6.5536-40.96 13.1072-69.35893334 20.20693333-9.28426667 1.09226667-18.0224 1.09226667-27.30666666 0-20.20693333-2.73066667-55.15946667-0.54613333-57.344-2.18453333-13.65333333-19.11466667-17.47626667-54.0672-30.03733334-72.63573334-7.64586667-9.8304-15.83786667-18.0224-24.576-26.2144-30.03733333-30.03733333-56.25173333-58.9824-63.35146666-90.112-1.6384-9.28426667-6.5536-18.56853333-3.82293334-45.32906666 7.09973333-25.12213333 19.11466667-45.8752 39.3216-66.08213334 20.75306667 0.54613333 41.50613333 0.54613333 57.89013334 3.82293334 7.64586667 1.09226667 22.9376 3.2768 38.77546666 9.28426666 40.41386667 14.7456 93.3888 39.86773333 93.3888 39.86773334-39.86773333-21.84533333-84.65066667-50.24426667-112.50346666-56.25173334-4.36906667-0.54613333-6.5536-2.73066667-8.192-6.00746666 42.5984-25.12213333 50.24426667-54.0672 78.09706666-80.2816 12.56106667-5.46133333 17.47626667-8.192 28.39893334-9.28426667 99.9424 15.83786667 163.29386667 55.7056 212.992 82.46613333 20.20693333 10.92266667 38.77546667 19.11466667 56.25173333 29.4912 15.29173333 4.9152 61.71306667 39.86773333 75.3664 58.9824 13.65333333 28.94506667 24.02986667 60.6208 33.31413333 91.20426667 6.5536 31.1296 12.56106667 43.69066667 12.56106667 43.69066667s-5.46133333-25.66826667-4.9152-30.58346667c6.00746667 2.18453333 19.6608 6.5536 25.12213333 6.00746667 0 0-25.66826667-13.1072-28.94506666-24.576-10.92266667-37.13706667-21.2992-95.57333333-24.576-98.304-8.192-10.37653333-42.05226667-36.0448-62.80533334-48.05973334-7.64586667-4.36906667-12.01493333-7.64586667-12.56106666-9.28426666 6.5536-6.5536 14.7456-15.83786667 22.39146666-21.2992 7.09973333-5.46133333 13.65333333-11.4688 23.48373334-15.29173334 43.14453333-19.6608 68.26666667 7.64586667 73.728 2.18453334 0 0-9.28426667-10.92266667-4.9152-8.73813334 4.36906667 2.18453333 18.0224 4.9152 19.6608 6.5536 15.83786667 12.56106667 57.344 57.344 81.92 105.40373334 6.00746667 11.4688 8.192 19.11466667 5.46133333 33.31413333-2.73066667 14.19946667-4.9152 21.84533333-8.192 31.1296-2.73066667 6.00746667-18.0224 49.152-18.0224 55.15946667-3.2768 23.48373333 10.37653333 52.97493333 10.37653333 52.97493333 0-8.192-0.54613333-12.56106667 0-18.0224l1.09226667-10.37653333s-0.54613333-2.73066667-0.54613333-3.82293334c0.54613333-7.09973333 2.18453333-13.1072 2.73066666-16.93013333 4.9152-30.58346667 13.65333333-52.97493333 23.48373334-80.2816 2.73066667-6.5536 6.5536-10.37653333 6.5536-15.83786667 0-9.28426667-8.192-21.2992-14.19946667-33.86026666-6.5536-13.65333333-14.19946667-27.30666667-22.39146667-40.41386667-21.2992-31.1296-39.86773333-55.15946667-73.18186666-70.4512-9.28426667-4.36906667-46.42133333-8.192-58.9824-6.00746667-15.29173333 3.2768-28.94506667 6.5536-39.3216 13.1072-16.93013333 10.92266667-30.03733333 27.30666667-45.32906667 37.13706667-33.86026667-16.93013333-50.24426667-30.03733333-53.52106667-31.67573333-20.20693333-10.92266667-44.78293333-23.48373333-70.4512-35.49866667C382.5664 103.49226667 305.01546667 75.09333333 233.472 69.632z m435.8144 635.6992c-20.75306667-16.384-38.77546667-33.31413333-50.24426667-50.7904-3.82293333 20.20693333-17.47626667 34.95253333-28.39893333 49.152-2.18453333 3.2768-3.82293333 8.192 6.5536 22.39146667 2.73066667 3.82293333 13.1072 4.36906667 19.6608 4.36906666-7.09973333-5.46133333-17.47626667-10.92266667-19.11466667-15.83786666 12.56106667 8.192 23.48373333 10.92266667 33.86026667 9.28426666 2.18453333 0 5.46133333-2.73066667 7.64586667-6.5536 4.36906667-9.8304 8.192-12.01493333 12.01493333-14.7456l8.192 10.37653334 9.8304-7.64586667z","p-id":"3259"})]})},Y=function(){return Object(r.jsxs)("svg",{t:"1640791080436",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19717",width:o,height:o,children:[Object(r.jsx)("path",{d:"M558.08 472.064c48.128 53.248-13.312 103.424-13.312 103.424s119.808-61.44 65.536-139.264c-51.2-71.68-91.136-107.52 122.88-232.448 0 1.024-335.872 86.016-175.104 268.288",fill:"#FF0000","p-id":"19718"}),Object(r.jsx)("path",{d:"M610.304 5.12s101.376 101.376-96.256 258.048C356.352 389.12 478.208 460.8 514.048 543.744 420.864 459.776 354.304 386.048 399.36 317.44 463.872 216.064 651.264 166.912 610.304 5.12",fill:"#FF0000","p-id":"19719"}),Object(r.jsx)("path",{d:"M720.896 757.76c183.296-95.232 98.304-188.416 39.936-175.104-15.36 3.072-21.504 5.12-21.504 5.12s5.12-8.192 16.384-11.264c117.76-40.96 207.872 120.832-37.888 186.368-1.024 0 2.048-3.072 3.072-5.12m-337.92 38.912s-37.888 21.504 26.624 29.696c76.8 8.192 117.76 8.192 202.752-8.192 0 0 23.552 15.36 53.248 26.624-191.488 80.896-433.152-5.12-282.624-48.128m-23.552-106.496s-43.008 31.744 23.552 37.888c82.944 8.192 149.504 10.24 261.12-13.312 0 0 16.384 16.384 40.96 24.576-231.424 68.608-490.496 5.12-325.632-49.152",fill:"#6699FF","p-id":"19720"}),Object(r.jsx)("path",{d:"M811.008 876.544s27.648 23.552-31.744 40.96c-111.616 34.816-460.8 45.056-558.08 2.048-34.816-15.36 31.744-35.84 51.2-40.96 21.504-5.12 34.816-3.072 34.816-3.072-38.912-28.672-251.904 52.224-107.52 75.776 390.144 62.464 712.704-28.672 611.328-74.752M400.384 578.56s-178.176 43.008-63.488 56.32c49.152 6.144 146.432 5.12 235.52-3.072 73.728-6.144 147.456-19.456 147.456-19.456s-26.624 11.264-45.056 24.576c-181.248 48.128-530.432 26.624-430.08-23.552 88.064-39.936 155.648-34.816 155.648-34.816",fill:"#6699FF","p-id":"19721"}),Object(r.jsx)("path",{d:"M418.816 1015.808c176.128 11.264 446.464-6.144 453.632-90.112 0 0-13.312 31.744-146.432 56.32-150.528 27.648-336.896 24.576-446.464 6.144 2.048 1.024 24.576 20.48 139.264 27.648",fill:"#6699FF","p-id":"19722"})]})},$=function(){return Object(r.jsxs)("svg",{t:"1666600662911",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"816",width:o,height:o,children:[Object(r.jsx)("path",{d:"M213.844 203.564l596.4-87.928v197.952l-596.4 87.928zM213.788 457.312l596.4-87.928v197.952l-596.4 87.928zM213.768 710.4l596.392-87.932v197.952L213.768 908.348z",fill:"#F44336","p-id":"817"}),Object(r.jsx)("path",{d:"M225.12 366.636l382.416 123.684-11.328 35.028-382.416-123.684zM427.76 245.496l382.416 123.688-11.328 35.028-382.416-123.688zM225.112 620.148l382.416 123.684-11.328 35.032-382.416-123.688zM427.792 498.604l382.416 123.688-11.332 35.028-382.412-123.688z",fill:"#F44336","p-id":"818"})]})},A=function(){return Object(r.jsxs)("svg",{t:"1666454409766",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2303",width:o,height:o,children:[Object(r.jsx)("path",{d:"M366.635375 495.627875c8.93024999-1.488375 17.8605-2.480625 26.79075-2.48062499h-7.44187499 241.61287499c10.418625 0 20.341125-1.488375 30.26362501-3.969 44.65124999-12.403125 77.3955-52.093125 77.3955-101.20950002V185.053625c0-57.5505-49.116375-101.2095-107.65912501-110.63587501-37.209375-5.9535-91.287-8.93024999-128.00025-8.93024999-36.71325001 0-71.938125 3.472875-103.194 8.93024999C305.115875 90.29374999 288.74374999 123.534125 288.74374999 185.053625v66.48075h223.25625001V288.74374999H216.3095C133.456625 288.74374999 65.983625 387.96874999 65.4875 510.0155v1.9845c0 22.325625 1.9845 43.659 6.449625 63.504C90.29374999 667.78325001 147.84424999 735.25625001 216.3095 735.25625001h35.224875v-106.66687501c0-62.51174999 46.63574999-120.558375 115.101-132.9615z m23.814-283.7835c-22.325625 0-40.68225001-18.356625-40.18612499-40.68225 0-22.325625 17.8605-40.68225001 40.18612499-40.68225s40.68225001 18.356625 40.68225 40.68225c-0.496125 22.82175001-18.356625 40.68225001-40.68225 40.68225z",fill:"#0075AA","p-id":"2304"}),Object(r.jsx)("path",{d:"M949.086125 434.108375C927.75275001 349.271 872.682875 288.74374999 807.6905 288.74374999h-35.224875v94.75987501c0 78.883875-51.597 135.93825001-115.101 145.86075-6.449625 0.99224999-12.89925001 1.488375-19.34887499 1.48837501H396.402875c-10.418625 0-20.341125 1.488375-30.26362499 3.969-44.65124999 11.907-77.3955 48.62025001-77.3955 96.74437499V834.48125001c0 57.5505 58.046625 91.783125 115.10099998 108.15524999 67.969125 19.845 142.387875 23.317875 224.24850002 0 54.077625-15.379875 107.163-46.63574999 107.16299998-108.15525001v-61.5195h-223.25624999V735.25625001h295.6905c58.54275001 0 109.643625-49.6125 134.449875-122.04675001 10.418625-30.263625 16.372125-64.49625001 16.372125-101.2095 0-27.286875-3.472875-53.5815-9.426375-77.891625z m-316.52775 372.58987501c22.325625 0 40.186125 18.356625 40.186125 40.68224999 0 22.325625-18.356625 40.68225001-40.186125 40.68225001-22.325625 0-40.68225001-18.356625-40.68225-40.68225001 0.496125-22.325625 18.356625-40.68225001 40.68225-40.68225001z",fill:"#FFD400","p-id":"2305"})]})},g=function(){return Object(r.jsxs)("svg",{t:"1640792304032",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"28067",width:o,height:o,children:[Object(r.jsx)("path",{d:"M234.56 1024a164.288 164.288 0 0 0 150.656-118.848l0.64-2.112c32.512-126.08 84.224-325.888 122.56-471.232h137.152a43.84 43.84 0 1 0 0-87.488h-113.92c12.288-45.76 21.248-78.4 24.768-89.6l3.904-12.48c14.464-46.272 48.384-154.752 100.8-154.752 48.64 0 55.872 70.4 56.192 73.536a45.632 45.632 0 0 0 50.112 40.064 44.8 44.8 0 0 0 43.136-46.912A157.12 157.12 0 0 0 660.928 0C538.496 0 492.544 147.2 470.464 217.6l-3.776 11.904c-4.48 13.952-16.256 57.088-31.616 114.688H271.744a43.84 43.84 0 1 0 0 87.488h140.288c-47.936 182.208-109.952 422.4-116.736 449.088-2.56 6.912-21.696 55.616-60.864 55.616-59.84 0-85.696-78.656-85.952-79.232a47.168 47.168 0 0 0-57.6-29.888 43.456 43.456 0 0 0-32 54.208A193.216 193.216 0 0 0 234.56 1024z",fill:"#262626","p-id":"28068"}),Object(r.jsx)("path",{d:"M919.68 911.168a45.952 45.952 0 0 0 47.488-47.488 59.392 59.392 0 0 0-16.96-39.36l-90.88-104.448 88.192-103.104a54.848 54.848 0 0 0 14.208-35.264 45.568 45.568 0 0 0-48.192-44.8 59.456 59.456 0 0 0-44.8 26.496l-68.48 89.6-67.136-89.6a58.944 58.944 0 0 0-48.128-26.432 45.952 45.952 0 0 0-47.488 47.488 59.456 59.456 0 0 0 16.96 39.296l84.8 97.664-92.928 109.824a51.52 51.52 0 0 0-14.208 35.264 45.568 45.568 0 0 0 48.128 44.8 59.392 59.392 0 0 0 44.8-26.432l73.216-96 73.216 96a58.944 58.944 0 0 0 48.192 26.496z",fill:"#5764FC","fill-opacity":"0.9","p-id":"28069"})]})}},bY76:function(Ie,M,e){"use strict";e.d(M,"a",function(){return T}),e.d(M,"b",function(){return b});var u=e("jrin"),c=e("yKVA"),r=e("879j"),f=e("fWQN"),o=e("mtLc"),i=e("MNsG"),a=e("MrjW"),n,v=/^\w[\w\d+.-]*$/,m=/^\//,h=/^\/\//;function t(W,te){if(!W.scheme&&te)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(W.authority,'", path: "').concat(W.path,'", query: "').concat(W.query,'", fragment: "').concat(W.fragment,'"}'));if(W.scheme&&!v.test(W.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(W.path){if(W.authority){if(!m.test(W.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(h.test(W.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function l(W,te){return!W&&!te?"file":W}function p(W,te){switch(W){case"https":case"http":case"file":te?te[0]!==S&&(te=S+te):te=S;break}return te}var w="",S="/",k=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,T=function(){function W(te,re,ye,q,oe){var he=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;Object(f.a)(this,W),typeof te=="object"?(this.scheme=te.scheme||w,this.authority=te.authority||w,this.path=te.path||w,this.query=te.query||w,this.fragment=te.fragment||w):(this.scheme=l(te,he),this.authority=re||w,this.path=p(this.scheme,ye||w),this.query=q||w,this.fragment=oe||w,t(this,he))}return Object(o.a)(W,[{key:"fsPath",get:function(){return b(this,!1)}},{key:"with",value:function(re){if(!re)return this;var ye=re.scheme,q=re.authority,oe=re.path,he=re.query,ue=re.fragment;return ye===void 0?ye=this.scheme:ye===null&&(ye=w),q===void 0?q=this.authority:q===null&&(q=w),oe===void 0?oe=this.path:oe===null&&(oe=w),he===void 0?he=this.query:he===null&&(he=w),ue===void 0?ue=this.fragment:ue===null&&(ue=w),ye===this.scheme&&q===this.authority&&oe===this.path&&he===this.query&&ue===this.fragment?this:new Y(ye,q,oe,he,ue)}},{key:"toString",value:function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return d(this,re)}},{key:"toJSON",value:function(){return this}}],[{key:"isUri",value:function(re){return re instanceof W?!0:re?typeof re.authority=="string"&&typeof re.fragment=="string"&&typeof re.path=="string"&&typeof re.query=="string"&&typeof re.scheme=="string"&&typeof re.fsPath=="string"&&typeof re.with=="function"&&typeof re.toString=="function":!1}},{key:"parse",value:function(re){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,q=k.exec(re);return q?new Y(q[2]||w,D(q[4]||w),D(q[5]||w),D(q[7]||w),D(q[9]||w),ye):new Y(w,w,w,w,w)}},{key:"file",value:function(re){var ye=w;if(i.j&&(re=re.replace(/\\/g,S)),re[0]===S&&re[1]===S){var q=re.indexOf(S,2);q===-1?(ye=re.substring(2),re=S):(ye=re.substring(2,q),re=re.substring(q)||S)}return new Y("file",ye,re,w,w)}},{key:"from",value:function(re){return new Y(re.scheme,re.authority,re.path,re.query,re.fragment)}},{key:"joinPath",value:function(re){if(!re.path)throw new Error("[UriError]: cannot call joinPath on URI without path");for(var ye,q=arguments.length,oe=new Array(q>1?q-1:0),he=1;he<q;he++)oe[he-1]=arguments[he];if(i.j&&re.scheme==="file"){var ue;ye=W.file((ue=a.i).join.apply(ue,[b(re,!0)].concat(oe))).path}else{var ne;ye=(ne=a.e).join.apply(ne,[re.path].concat(oe))}return re.with({path:ye})}},{key:"revive",value:function(re){if(re){if(re instanceof W)return re;var ye=new Y(re);return ye._formatted=re.external,ye._fsPath=re._sep===I?re.fsPath:null,ye}else return re}}]),W}(),I=i.j?1:void 0,Y=function(W){Object(c.a)(re,W);var te=Object(r.a)(re);function re(){var ye;return Object(f.a)(this,re),ye=te.apply(this,arguments),ye._formatted=null,ye._fsPath=null,ye}return Object(o.a)(re,[{key:"fsPath",get:function(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath}},{key:"toString",value:function(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return q?d(this,!0):(this._formatted||(this._formatted=d(this,!1)),this._formatted)}},{key:"toJSON",value:function(){var q={$mid:1};return this._fsPath&&(q.fsPath=this._fsPath,q._sep=I),this._formatted&&(q.external=this._formatted),this.path&&(q.path=this.path),this.scheme&&(q.scheme=this.scheme),this.authority&&(q.authority=this.authority),this.query&&(q.query=this.query),this.fragment&&(q.fragment=this.fragment),q}}]),re}(T),$=(n={},Object(u.a)(n,58,"%3A"),Object(u.a)(n,47,"%2F"),Object(u.a)(n,63,"%3F"),Object(u.a)(n,35,"%23"),Object(u.a)(n,91,"%5B"),Object(u.a)(n,93,"%5D"),Object(u.a)(n,64,"%40"),Object(u.a)(n,33,"%21"),Object(u.a)(n,36,"%24"),Object(u.a)(n,38,"%26"),Object(u.a)(n,39,"%27"),Object(u.a)(n,40,"%28"),Object(u.a)(n,41,"%29"),Object(u.a)(n,42,"%2A"),Object(u.a)(n,43,"%2B"),Object(u.a)(n,44,"%2C"),Object(u.a)(n,59,"%3B"),Object(u.a)(n,61,"%3D"),Object(u.a)(n,32,"%20"),n);function A(W,te){for(var re=void 0,ye=-1,q=0;q<W.length;q++){var oe=W.charCodeAt(q);if(oe>=97&&oe<=122||oe>=65&&oe<=90||oe>=48&&oe<=57||oe===45||oe===46||oe===95||oe===126||te&&oe===47)ye!==-1&&(re+=encodeURIComponent(W.substring(ye,q)),ye=-1),re!==void 0&&(re+=W.charAt(q));else{re===void 0&&(re=W.substr(0,q));var he=$[oe];he!==void 0?(ye!==-1&&(re+=encodeURIComponent(W.substring(ye,q)),ye=-1),re+=he):ye===-1&&(ye=q)}}return ye!==-1&&(re+=encodeURIComponent(W.substring(ye))),re!==void 0?re:W}function g(W){for(var te=void 0,re=0;re<W.length;re++){var ye=W.charCodeAt(re);ye===35||ye===63?(te===void 0&&(te=W.substr(0,re)),te+=$[ye]):te!==void 0&&(te+=W[re])}return te!==void 0?te:W}function b(W,te){var re;return W.authority&&W.path.length>1&&W.scheme==="file"?re="//".concat(W.authority).concat(W.path):W.path.charCodeAt(0)===47&&(W.path.charCodeAt(1)>=65&&W.path.charCodeAt(1)<=90||W.path.charCodeAt(1)>=97&&W.path.charCodeAt(1)<=122)&&W.path.charCodeAt(2)===58?te?re=W.path.substr(1):re=W.path[1].toLowerCase()+W.path.substr(2):re=W.path,i.j&&(re=re.replace(/\//g,"\\")),re}function d(W,te){var re=te?g:A,ye="",q=W.scheme,oe=W.authority,he=W.path,ue=W.query,ne=W.fragment;if(q&&(ye+=q,ye+=":"),(oe||q==="file")&&(ye+=S,ye+=S),oe){var se=oe.indexOf("@");if(se!==-1){var be=oe.substr(0,se);oe=oe.substr(se+1),se=be.indexOf(":"),se===-1?ye+=re(be,!1):(ye+=re(be.substr(0,se),!1),ye+=":",ye+=re(be.substr(se+1),!1)),ye+="@"}oe=oe.toLowerCase(),se=oe.indexOf(":"),se===-1?ye+=re(oe,!1):(ye+=re(oe.substr(0,se),!1),ye+=oe.substr(se))}if(he){if(he.length>=3&&he.charCodeAt(0)===47&&he.charCodeAt(2)===58){var Z=he.charCodeAt(1);Z>=65&&Z<=90&&(he="/".concat(String.fromCharCode(Z+32),":").concat(he.substr(3)))}else if(he.length>=2&&he.charCodeAt(1)===58){var ee=he.charCodeAt(0);ee>=65&&ee<=90&&(he="".concat(String.fromCharCode(ee+32),":").concat(he.substr(2)))}ye+=re(he,!0)}return ue&&(ye+="?",ye+=re(ue,!1)),ne&&(ye+="#",ye+=te?ne:A(ne,!1)),ye}function O(W){try{return decodeURIComponent(W)}catch(te){return W.length>3?W.substr(0,3)+O(W.substr(3)):W}}var E=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function D(W){return W.match(E)?W.replace(E,function(te){return O(te)}):W}},baJR:function(Ie,M,e){"use strict";e.d(M,"b",function(){return n}),e.d(M,"c",function(){return v}),e.d(M,"a",function(){return m}),e.d(M,"d",function(){return t}),e.d(M,"e",function(){return p});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("N0LK"),o=e("erNZ"),i=e("dBaI"),a=function(){function A(g,b,d){Object(c.a)(this,A),this.endIndex=g,this.type=b,this.metadata=d}return Object(r.a)(A,[{key:"isWhitespace",value:function(){return!!(this.metadata&1)}}]),A}(),n=function(){function A(g,b){Object(c.a)(this,A),this.startOffset=g,this.endOffset=b}return Object(r.a)(A,[{key:"equals",value:function(b){return this.startOffset===b.startOffset&&this.endOffset===b.endOffset}}]),A}(),v=function(){function A(g,b,d,O,E,D,W,te,re,ye,q,oe,he,ue,ne,se,be,Z,ee){Object(c.a)(this,A),this.useMonospaceOptimizations=g,this.canUseHalfwidthRightwardsArrow=b,this.lineContent=d,this.continuesWithWrappedLine=O,this.isBasicASCII=E,this.containsRTL=D,this.fauxIndentLength=W,this.lineTokens=te,this.lineDecorations=re.sort(i.a.compare),this.tabSize=ye,this.startVisibleColumn=q,this.spaceWidth=oe,this.stopRenderingLineAfter=ne,this.renderWhitespace=se==="all"?4:se==="boundary"?1:se==="selection"?2:se==="trailing"?3:0,this.renderControlCharacters=be,this.fontLigatures=Z,this.selectionsOnLine=ee&&ee.sort(function(y,C){return y.startOffset<C.startOffset?-1:1});var ce=Math.abs(ue-oe),R=Math.abs(he-oe);ce<R?(this.renderSpaceWidth=ue,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=he,this.renderSpaceCharCode=183)}return Object(r.a)(A,[{key:"sameSelection",value:function(b){if(this.selectionsOnLine===null)return b===null;if(b===null||b.length!==this.selectionsOnLine.length)return!1;for(var d=0;d<this.selectionsOnLine.length;d++)if(!this.selectionsOnLine[d].equals(b[d]))return!1;return!0}},{key:"equals",value:function(b){return this.useMonospaceOptimizations===b.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===b.canUseHalfwidthRightwardsArrow&&this.lineContent===b.lineContent&&this.continuesWithWrappedLine===b.continuesWithWrappedLine&&this.isBasicASCII===b.isBasicASCII&&this.containsRTL===b.containsRTL&&this.fauxIndentLength===b.fauxIndentLength&&this.tabSize===b.tabSize&&this.startVisibleColumn===b.startVisibleColumn&&this.spaceWidth===b.spaceWidth&&this.renderSpaceWidth===b.renderSpaceWidth&&this.renderSpaceCharCode===b.renderSpaceCharCode&&this.stopRenderingLineAfter===b.stopRenderingLineAfter&&this.renderWhitespace===b.renderWhitespace&&this.renderControlCharacters===b.renderControlCharacters&&this.fontLigatures===b.fontLigatures&&i.a.equalsArr(this.lineDecorations,b.lineDecorations)&&this.lineTokens.equals(b.lineTokens)&&this.sameSelection(b.selectionsOnLine)}}]),A}(),m=function(){function A(g,b){Object(c.a)(this,A),this.length=g,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}return Object(r.a)(A,[{key:"setPartData",value:function(b,d,O,E){var D=(d<<16|O<<0)>>>0;this._data[b]=D,this._absoluteOffsets[b]=E+O}},{key:"getAbsoluteOffsets",value:function(){return this._absoluteOffsets}},{key:"charOffsetToPartData",value:function(b){return this.length===0?0:b<0?this._data[0]:b>=this.length?this._data[this.length-1]:this._data[b]}},{key:"partDataToCharOffset",value:function(b,d,O){if(this.length===0)return 0;for(var E=(b<<16|O<<0)>>>0,D=0,W=this.length-1;D+1<W;){var te=D+W>>>1,re=this._data[te];if(re===E)return te;re>E?W=te:D=te}if(D===W)return D;var ye=this._data[D],q=this._data[W];if(ye===E)return D;if(q===E)return W;var oe=A.getPartIndex(ye),he=A.getCharIndex(ye),ue=A.getPartIndex(q),ne;oe!==ue?ne=d:ne=A.getCharIndex(q);var se=O-he,be=ne-O;return se<=be?D:W}}],[{key:"getPartIndex",value:function(b){return(b&4294901760)>>>16}},{key:"getCharIndex",value:function(b){return(b&65535)>>>0}}]),A}(),h=Object(r.a)(function A(g,b,d){Object(c.a)(this,A),this.characterMapping=g,this.containsRTL=b,this.containsForeignElements=d});function t(A,g){if(A.lineContent.length===0){if(A.lineDecorations.length>0){g.appendASCIIString("<span>");var b=0,d=0,O=0,E=Object(u.a)(A.lineDecorations),D;try{for(E.s();!(D=E.n()).done;){var W=D.value;(W.type===1||W.type===2)&&(g.appendASCIIString('<span class="'),g.appendASCIIString(W.className),g.appendASCIIString('"></span>'),W.type===1&&(O|=1,b++),W.type===2&&(O|=2,d++))}}catch(re){E.e(re)}finally{E.f()}g.appendASCIIString("</span>");var te=new m(1,b+d);return te.setPartData(0,b,0,0),new h(te,!1,O)}return g.appendASCIIString("<span><span></span></span>"),new h(new m(0,0),!1,0)}return $(S(A),g)}var l=Object(r.a)(function A(g,b,d,O){Object(c.a)(this,A),this.characterMapping=g,this.html=b,this.containsRTL=d,this.containsForeignElements=O});function p(A){var g=Object(o.a)(1e4),b=t(A,g);return new l(b.characterMapping,g.build(),b.containsRTL,b.containsForeignElements)}var w=Object(r.a)(function A(g,b,d,O,E,D,W,te,re,ye,q,oe,he,ue,ne){Object(c.a)(this,A),this.fontIsMonospace=g,this.canUseHalfwidthRightwardsArrow=b,this.lineContent=d,this.len=O,this.isOverflowing=E,this.parts=D,this.containsForeignElements=W,this.fauxIndentLength=te,this.tabSize=re,this.startVisibleColumn=ye,this.containsRTL=q,this.spaceWidth=oe,this.renderSpaceCharCode=he,this.renderWhitespace=ue,this.renderControlCharacters=ne});function S(A){var g=A.lineContent,b,d;A.stopRenderingLineAfter!==-1&&A.stopRenderingLineAfter<g.length?(b=!0,d=A.stopRenderingLineAfter):(b=!1,d=g.length);var O=k(A.lineTokens,A.fauxIndentLength,d);(A.renderWhitespace===4||A.renderWhitespace===1||A.renderWhitespace===2&&!!A.selectionsOnLine||A.renderWhitespace===3)&&(O=I(A,g,d,O));var E=0;if(A.lineDecorations.length>0){for(var D=0,W=A.lineDecorations.length;D<W;D++){var te=A.lineDecorations[D];te.type===3||te.type===1?E|=1:te.type===2&&(E|=2)}O=Y(g,d,O,A.lineDecorations)}return A.containsRTL||(O=T(g,O,!A.isBasicASCII||A.fontLigatures)),new w(A.useMonospaceOptimizations,A.canUseHalfwidthRightwardsArrow,g,d,b,O,E,A.fauxIndentLength,A.tabSize,A.startVisibleColumn,A.containsRTL,A.spaceWidth,A.renderSpaceCharCode,A.renderWhitespace,A.renderControlCharacters)}function k(A,g,b){var d=[],O=0;g>0&&(d[O++]=new a(g,"",0));for(var E=0,D=A.getCount();E<D;E++){var W=A.getEndOffset(E);if(!(W<=g)){var te=A.getClassName(E);if(W>=b){d[O++]=new a(b,te,0);break}d[O++]=new a(W,te,0)}}return d}function T(A,g,b){var d=0,O=[],E=0;if(b)for(var D=0,W=g.length;D<W;D++){var te=g[D],re=te.endIndex;if(d+50<re){for(var ye=te.type,q=te.metadata,oe=-1,he=d,ue=d;ue<re;ue++)A.charCodeAt(ue)===32&&(oe=ue),oe!==-1&&ue-he>=50&&(O[E++]=new a(oe+1,ye,q),he=oe+1,oe=-1);he!==re&&(O[E++]=new a(re,ye,q))}else O[E++]=te;d=re}else for(var ne=0,se=g.length;ne<se;ne++){var be=g[ne],Z=be.endIndex,ee=Z-d;if(ee>50){for(var ce=be.type,R=be.metadata,y=Math.ceil(ee/50),C=1;C<y;C++){var z=d+C*50;O[E++]=new a(z,ce,R)}O[E++]=new a(Z,ce,R)}else O[E++]=be;d=Z}return O}function I(A,g,b,d){var O=A.continuesWithWrappedLine,E=A.fauxIndentLength,D=A.tabSize,W=A.startVisibleColumn,te=A.useMonospaceOptimizations,re=A.selectionsOnLine,ye=A.renderWhitespace===1,q=A.renderWhitespace===3,oe=A.renderSpaceWidth!==A.spaceWidth,he=[],ue=0,ne=0,se=d[ne].type,be=d[ne].endIndex,Z=d.length,ee=!1,ce=f.v(g),R;ce===-1?(ee=!0,ce=b,R=b):R=f.I(g);for(var y=!1,C=0,z=re&&re[C],G=W%D,X=E;X<b;X++){var pe=g.charCodeAt(X);z&&X>=z.endOffset&&(C++,z=re&&re[C]);var ae=void 0;if(X<ce||X>R)ae=!0;else if(pe===9)ae=!0;else if(pe===32)if(ye)if(y)ae=!0;else{var Se=X+1<b?g.charCodeAt(X+1):0;ae=Se===32||Se===9}else ae=!0;else ae=!1;if(ae&&re&&(ae=!!z&&z.startOffset<=X&&z.endOffset>X),ae&&q&&(ae=ee||X>R),y){if(!ae||!te&&G>=D){if(oe)for(var Te=ue>0?he[ue-1].endIndex:E,je=Te+1;je<=X;je++)he[ue++]=new a(je,"mtkw",1);else he[ue++]=new a(X,"mtkw",1);G=G%D}}else(X===be||ae&&X>E)&&(he[ue++]=new a(X,se,0),G=G%D);for(pe===9?G=D:f.D(pe)?G+=2:G++,y=ae;X===be;)ne++,ne<Z&&(se=d[ne].type,be=d[ne].endIndex)}var ft=!1;if(y)if(O&&ye){var fe=b>0?g.charCodeAt(b-1):0,ie=b>1?g.charCodeAt(b-2):0,ge=fe===32&&ie!==32&&ie!==9;ge||(ft=!0)}else ft=!0;if(ft)if(oe)for(var Ve=ue>0?he[ue-1].endIndex:E,Ee=Ve+1;Ee<=b;Ee++)he[ue++]=new a(Ee,"mtkw",1);else he[ue++]=new a(b,"mtkw",1);else he[ue++]=new a(b,se,0);return he}function Y(A,g,b,d){d.sort(i.a.compare);for(var O=i.b.normalize(A,d),E=O.length,D=0,W=[],te=0,re=0,ye=0,q=b.length;ye<q;ye++){for(var oe=b[ye],he=oe.endIndex,ue=oe.type,ne=oe.metadata;D<E&&O[D].startOffset<he;){var se=O[D];if(se.startOffset>re&&(re=se.startOffset,W[te++]=new a(re,ue,ne)),se.endOffset+1<=he)re=se.endOffset+1,W[te++]=new a(re,ue+" "+se.className,ne|se.metadata),D++;else{re=he,W[te++]=new a(re,ue+" "+se.className,ne|se.metadata);break}}he>re&&(re=he,W[te++]=new a(re,ue,ne))}var be=b[b.length-1].endIndex;if(D<E&&O[D].startOffset===be){for(var Z=[],ee=0;D<E&&O[D].startOffset===be;)Z.push(O[D].className),ee|=O[D].metadata,D++;W[te++]=new a(re,Z.join(" "),ee)}return W}function $(A,g){var b=A.fontIsMonospace,d=A.canUseHalfwidthRightwardsArrow,O=A.containsForeignElements,E=A.lineContent,D=A.len,W=A.isOverflowing,te=A.parts,re=A.fauxIndentLength,ye=A.tabSize,q=A.startVisibleColumn,oe=A.containsRTL,he=A.spaceWidth,ue=A.renderSpaceCharCode,ne=A.renderWhitespace,se=A.renderControlCharacters,be=new m(D+1,te.length),Z=0,ee=q,ce=0,R=0,y=0,C=0;oe?g.appendASCIIString('<span dir="ltr">'):g.appendASCIIString("<span>");for(var z=0,G=te.length;z<G;z++){C+=y;var X=te[z],pe=X.endIndex,ae=X.type,Se=ne!==0&&X.isWhitespace(),Te=Se&&!b&&(ae==="mtkw"||!O),je=Z===pe&&X.metadata===4;if(ce=0,g.appendASCIIString('<span class="'),g.appendASCIIString(Te?"mtkz":ae),g.appendASCII(34),Se){for(var ft=0,fe=Z,ie=ee;fe<pe;fe++){var ge=E.charCodeAt(fe),Ve=(ge===9?ye-ie%ye:1)|0;ft+=Ve,fe>=re&&(ie+=Ve)}for(Te&&(g.appendASCIIString(' style="width:'),g.appendASCIIString(String(he*ft)),g.appendASCIIString('px"')),g.appendASCII(62);Z<pe;Z++){be.setPartData(Z,z-R,ce,C),R=0;var Ee=E.charCodeAt(Z),Me=void 0;if(Ee===9){Me=ye-ee%ye|0,!d||Me>1?g.write1(8594):g.write1(65515);for(var _e=2;_e<=Me;_e++)g.write1(160)}else Me=1,g.write1(ue);ce+=Me,Z>=re&&(ee+=Me)}y=ft}else{var Re=0;for(g.appendASCII(62);Z<pe;Z++){be.setPartData(Z,z-R,ce,C),R=0;var et=E.charCodeAt(Z),Xe=1,it=1;switch(et){case 9:Xe=ye-ee%ye,it=Xe;for(var bt=1;bt<=Xe;bt++)g.write1(160);break;case 32:g.write1(160);break;case 60:g.appendASCIIString("<");break;case 62:g.appendASCIIString(">");break;case 38:g.appendASCIIString("&");break;case 0:se?g.write1(9216):g.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:g.write1(65533);break;default:f.D(et)&&it++,se&&et<32?g.write1(9216+et):se&&et===127?g.write1(9249):g.write1(et)}ce+=Xe,Re+=Xe,Z>=re&&(ee+=it)}y=Re}je?R++:R=0,g.appendASCIIString("</span>")}return be.setPartData(D,te.length-1,ce,C),W&&g.appendASCIIString("<span>…</span>"),g.appendASCIIString("</span>"),new h(be,oe,O)}},bbsP:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("CWI+"),f=e.n(r)},bexQ:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("keybindingService")},biw7:function(Ie,M,e){"use strict";var u=e("q1tI"),c=e.n(u),r=u.createContext(null);M.a=r},bpiW:function(Ie,M,e){},bx4M:function(Ie,M,e){"use strict";var u=e("rePB"),c=e("wx14"),r=e("TSYQ"),f=e.n(r),o=e("bT9E"),i=e("q1tI"),a=e("H84U"),n=e("3Nzz"),v=e("/ezw"),m=e("ZTPi"),h=function(g,b){var d={};for(var O in g)Object.prototype.hasOwnProperty.call(g,O)&&b.indexOf(O)<0&&(d[O]=g[O]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,O=Object.getOwnPropertySymbols(g);E<O.length;E++)b.indexOf(O[E])<0&&Object.prototype.propertyIsEnumerable.call(g,O[E])&&(d[O[E]]=g[O[E]]);return d},t=function(b){var d=b.prefixCls,O=b.className,E=b.hoverable,D=E===void 0?!0:E,W=h(b,["prefixCls","className","hoverable"]);return i.createElement(a.a,null,function(te){var re=te.getPrefixCls,ye=re("card",d),q=f()("".concat(ye,"-grid"),O,Object(u.a)({},"".concat(ye,"-grid-hoverable"),D));return i.createElement("div",Object(c.a)({},W,{className:q}))})},l=t,p=function(g,b){var d={};for(var O in g)Object.prototype.hasOwnProperty.call(g,O)&&b.indexOf(O)<0&&(d[O]=g[O]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,O=Object.getOwnPropertySymbols(g);E<O.length;E++)b.indexOf(O[E])<0&&Object.prototype.propertyIsEnumerable.call(g,O[E])&&(d[O[E]]=g[O[E]]);return d};function w(g){var b=g.map(function(d,O){return i.createElement("li",{style:{width:"".concat(100/g.length,"%")},key:"action-".concat(O)},i.createElement("span",null,d))});return b}var S=i.forwardRef(function(g,b){var d,O,E=i.useContext(a.b),D=E.getPrefixCls,W=E.direction,te=i.useContext(n.b),re=function(st){var ut;(ut=g.onTabChange)===null||ut===void 0||ut.call(g,st)},ye=function(){var st;return i.Children.forEach(g.children,function(ut){ut&&ut.type&&ut.type===l&&(st=!0)}),st},q=g.prefixCls,oe=g.className,he=g.extra,ue=g.headStyle,ne=ue===void 0?{}:ue,se=g.bodyStyle,be=se===void 0?{}:se,Z=g.title,ee=g.loading,ce=g.bordered,R=ce===void 0?!0:ce,y=g.size,C=g.type,z=g.cover,G=g.actions,X=g.tabList,pe=g.children,ae=g.activeTabKey,Se=g.defaultActiveTabKey,Te=g.tabBarExtraContent,je=g.hoverable,ft=g.tabProps,fe=ft===void 0?{}:ft,ie=p(g,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),ge=D("card",q),Ve=i.createElement(v.a,{loading:!0,active:!0,paragraph:{rows:4},title:!1},pe),Ee=ae!==void 0,Me=Object(c.a)(Object(c.a)({},fe),(d={},Object(u.a)(d,Ee?"activeKey":"defaultActiveKey",Ee?ae:Se),Object(u.a)(d,"tabBarExtraContent",Te),d)),_e,Re=X&&X.length?i.createElement(m.a,Object(c.a)({size:"large"},Me,{className:"".concat(ge,"-head-tabs"),onChange:re,items:X.map(function(qe){var st;return{label:qe.tab,key:qe.key,disabled:(st=qe.disabled)!==null&&st!==void 0?st:!1}})})):null;(Z||he||Re)&&(_e=i.createElement("div",{className:"".concat(ge,"-head"),style:ne},i.createElement("div",{className:"".concat(ge,"-head-wrapper")},Z&&i.createElement("div",{className:"".concat(ge,"-head-title")},Z),he&&i.createElement("div",{className:"".concat(ge,"-extra")},he)),Re));var et=z?i.createElement("div",{className:"".concat(ge,"-cover")},z):null,Xe=i.createElement("div",{className:"".concat(ge,"-body"),style:be},ee?Ve:pe),it=G&&G.length?i.createElement("ul",{className:"".concat(ge,"-actions")},w(G)):null,bt=Object(o.a)(ie,["onTabChange"]),Ct=y||te,Bt=f()(ge,(O={},Object(u.a)(O,"".concat(ge,"-loading"),ee),Object(u.a)(O,"".concat(ge,"-bordered"),R),Object(u.a)(O,"".concat(ge,"-hoverable"),je),Object(u.a)(O,"".concat(ge,"-contain-grid"),ye()),Object(u.a)(O,"".concat(ge,"-contain-tabs"),X&&X.length),Object(u.a)(O,"".concat(ge,"-").concat(Ct),Ct),Object(u.a)(O,"".concat(ge,"-type-").concat(C),!!C),Object(u.a)(O,"".concat(ge,"-rtl"),W==="rtl"),O),oe);return i.createElement("div",Object(c.a)({ref:b},bt,{className:Bt}),_e,et,Xe,it)}),k=S,T=function(g,b){var d={};for(var O in g)Object.prototype.hasOwnProperty.call(g,O)&&b.indexOf(O)<0&&(d[O]=g[O]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,O=Object.getOwnPropertySymbols(g);E<O.length;E++)b.indexOf(O[E])<0&&Object.prototype.propertyIsEnumerable.call(g,O[E])&&(d[O[E]]=g[O[E]]);return d},I=function(b){return i.createElement(a.a,null,function(d){var O=d.getPrefixCls,E=b.prefixCls,D=b.className,W=b.avatar,te=b.title,re=b.description,ye=T(b,["prefixCls","className","avatar","title","description"]),q=O("card",E),oe=f()("".concat(q,"-meta"),D),he=W?i.createElement("div",{className:"".concat(q,"-meta-avatar")},W):null,ue=te?i.createElement("div",{className:"".concat(q,"-meta-title")},te):null,ne=re?i.createElement("div",{className:"".concat(q,"-meta-description")},re):null,se=ue||ne?i.createElement("div",{className:"".concat(q,"-meta-detail")},ue,ne):null;return i.createElement("div",Object(c.a)({},ye,{className:oe}),he,se)})},Y=I,$=k;$.Grid=l,$.Meta=Y;var A=M.a=$},c6wG:function(Ie,M,e){var u=e("dD9F"),c=e("sEf8"),r=e("mdPL"),f=r&&r.isTypedArray,o=f?c(f):u;Ie.exports=o},cGHE:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("fWQN"),c=e("mtLc"),r=function(){function f(o,i){Object(u.a)(this,f),this.lineNumber=o,this.column=i}return Object(c.a)(f,[{key:"with",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.lineNumber,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.column;return i===this.lineNumber&&a===this.column?this:new f(i,a)}},{key:"delta",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this.with(this.lineNumber+i,this.column+a)}},{key:"equals",value:function(i){return f.equals(this,i)}},{key:"isBefore",value:function(i){return f.isBefore(this,i)}},{key:"isBeforeOrEqual",value:function(i){return f.isBeforeOrEqual(this,i)}},{key:"clone",value:function(){return new f(this.lineNumber,this.column)}},{key:"toString",value:function(){return"("+this.lineNumber+","+this.column+")"}}],[{key:"equals",value:function(i,a){return!i&&!a?!0:!!i&&!!a&&i.lineNumber===a.lineNumber&&i.column===a.column}},{key:"isBefore",value:function(i,a){return i.lineNumber<a.lineNumber?!0:a.lineNumber<i.lineNumber?!1:i.column<a.column}},{key:"isBeforeOrEqual",value:function(i,a){return i.lineNumber<a.lineNumber?!0:a.lineNumber<i.lineNumber?!1:i.column<=a.column}},{key:"compare",value:function(i,a){var n=i.lineNumber|0,v=a.lineNumber|0;if(n===v){var m=i.column|0,h=a.column|0;return m-h}return n-v}},{key:"lift",value:function(i){return new f(i.lineNumber,i.column)}},{key:"isIPosition",value:function(i){return i&&typeof i.lineNumber=="number"&&typeof i.column=="number"}}]),f}()},cIqD:function(Ie,M,e){"use strict";e.d(M,"a",function(){return o});var u=e("tJVT"),c=e("fWQN"),r=e("mtLc"),f=e("Ll0s"),o=function(){function i(){Object(c.a)(this,i)}return Object(r.a)(i,null,[{key:"whitespaceVisibleColumn",value:function(n,v,m){for(var h=n.length,t=0,l=-1,p=-1,w=0;w<h;w++){if(w===v)return[l,p,t];t%m==0&&(l=w,p=t);var S=n.charCodeAt(w);switch(S){case 32:t+=1;break;case 9:t=f.a.nextRenderTabStop(t,m);break;default:return[-1,-1,-1]}}return v===h?[l,p,t]:[-1,-1,-1]}},{key:"atomicPosition",value:function(n,v,m,h){var t=n.length,l=i.whitespaceVisibleColumn(n,v,m),p=Object(u.a)(l,3),w=p[0],S=p[1],k=p[2];if(k===-1)return-1;var T;switch(h){case 0:T=!0;break;case 1:T=!1;break;case 2:if(k%m==0)return v;T=k%m<=m/2;break}if(T){if(w===-1)return-1;for(var I=S,Y=w;Y<t;++Y){if(I===S+m)return w;var $=n.charCodeAt(Y);switch($){case 32:I+=1;break;case 9:I=f.a.nextRenderTabStop(I,m);break;default:return-1}}return I===S+m?w:-1}for(var A=f.a.nextRenderTabStop(k,m),g=k,b=v;b<t;b++){if(g===A)return b;var d=n.charCodeAt(b);switch(d){case 32:g+=1;break;case 9:g=f.a.nextRenderTabStop(g,m);break;default:return-1}}return g===A?t:-1}}]),i}()},cLAn:function(Ie,M,e){(function(u){"use strict";var c=I(),r=Y(),f=$(),o=A(),i={imagePlaceholder:void 0,cacheBust:!1},a={toSvg:n,toPng:m,toJpeg:h,toBlob:t,toPixelData:v,impl:{fontFaces:f,images:o,util:c,inliner:r,options:{}}};Ie.exports=a;function n(g,b){return b=b||{},l(b),Promise.resolve(g).then(function(O){return w(O,b.filter,!0)}).then(S).then(k).then(d).then(function(O){return T(O,b.width||c.width(g),b.height||c.height(g))});function d(O){return b.bgcolor&&(O.style.backgroundColor=b.bgcolor),b.width&&(O.style.width=b.width+"px"),b.height&&(O.style.height=b.height+"px"),b.style&&Object.keys(b.style).forEach(function(E){O.style[E]=b.style[E]}),O}}function v(g,b){return p(g,b||{}).then(function(d){return d.getContext("2d").getImageData(0,0,c.width(g),c.height(g)).data})}function m(g,b){return p(g,b||{}).then(function(d){return d.toDataURL()})}function h(g,b){return b=b||{},p(g,b).then(function(d){return d.toDataURL("image/jpeg",b.quality||1)})}function t(g,b){return p(g,b||{}).then(c.canvasToBlob)}function l(g){typeof g.imagePlaceholder=="undefined"?a.impl.options.imagePlaceholder=i.imagePlaceholder:a.impl.options.imagePlaceholder=g.imagePlaceholder,typeof g.cacheBust=="undefined"?a.impl.options.cacheBust=i.cacheBust:a.impl.options.cacheBust=g.cacheBust}function p(g,b){return n(g,b).then(c.makeImage).then(c.delay(100)).then(function(O){var E=d(g);return E.getContext("2d").drawImage(O,0,0),E});function d(O){var E=document.createElement("canvas");if(E.width=b.width||c.width(O),E.height=b.height||c.height(O),b.bgcolor){var D=E.getContext("2d");D.fillStyle=b.bgcolor,D.fillRect(0,0,E.width,E.height)}return E}}function w(g,b,d){if(!d&&b&&!b(g))return Promise.resolve();return Promise.resolve(g).then(O).then(function(W){return E(g,W,b)}).then(function(W){return D(g,W)});function O(W){return W instanceof HTMLCanvasElement?c.makeImage(W.toDataURL()):W.cloneNode(!1)}function E(W,te,re){var ye=W.childNodes;if(ye.length===0)return Promise.resolve(te);return q(te,c.asArray(ye),re).then(function(){return te});function q(oe,he,ue){var ne=Promise.resolve();return he.forEach(function(se){ne=ne.then(function(){return w(se,ue)}).then(function(be){be&&oe.appendChild(be)})}),ne}}function D(W,te){if(!(te instanceof Element))return te;return Promise.resolve().then(re).then(ye).then(q).then(oe).then(function(){return te});function re(){he(window.getComputedStyle(W),te.style);function he(ue,ne){ue.cssText?ne.cssText=ue.cssText:se(ue,ne);function se(be,Z){c.asArray(be).forEach(function(ee){Z.setProperty(ee,be.getPropertyValue(ee),be.getPropertyPriority(ee))})}}}function ye(){[":before",":after"].forEach(function(ue){he(ue)});function he(ue){var ne=window.getComputedStyle(W,ue),se=ne.getPropertyValue("content");if(se===""||se==="none")return;var be=c.uid();te.className=te.className+" "+be;var Z=document.createElement("style");Z.appendChild(ee(be,ue,ne)),te.appendChild(Z);function ee(ce,R,y){var C="."+ce+":"+R,z=y.cssText?G(y):X(y);return document.createTextNode(C+"{"+z+"}");function G(pe){var ae=pe.getPropertyValue("content");return pe.cssText+" content: "+ae+";"}function X(pe){return c.asArray(pe).map(ae).join("; ")+";";function ae(Se){return Se+": "+pe.getPropertyValue(Se)+(pe.getPropertyPriority(Se)?" !important":"")}}}}}function q(){W instanceof HTMLTextAreaElement&&(te.innerHTML=W.value),W instanceof HTMLInputElement&&te.setAttribute("value",W.value)}function oe(){te instanceof SVGElement&&(te.setAttribute("xmlns","http://www.w3.org/2000/svg"),te instanceof SVGRectElement&&["width","height"].forEach(function(he){var ue=te.getAttribute(he);!ue||te.style.setProperty(he,ue)}))}}}function S(g){return f.resolveAll().then(function(b){var d=document.createElement("style");return g.appendChild(d),d.appendChild(document.createTextNode(b)),g})}function k(g){return o.inlineAll(g).then(function(){return g})}function T(g,b,d){return Promise.resolve(g).then(function(O){return O.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(O)}).then(c.escapeXhtml).then(function(O){return'<foreignObject x="0" y="0" width="100%" height="100%">'+O+"</foreignObject>"}).then(function(O){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+b+'" height="'+d+'">'+O+"</svg>"}).then(function(O){return"data:image/svg+xml;charset=utf-8,"+O})}function I(){return{escape:oe,parseExtension:b,mimeType:d,dataAsUrl:q,isDataUrl:O,canvasToBlob:D,resolveUrl:W,getAndEncode:ye,uid:te(),delay:he,asArray:ue,escapeXhtml:ne,makeImage:re,width:se,height:be};function g(){var ee="application/font-woff",ce="image/jpeg";return{woff:ee,woff2:ee,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:ce,jpeg:ce,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function b(ee){var ce=/\.([^\.\/]*?)$/g.exec(ee);return ce?ce[1]:""}function d(ee){var ce=b(ee).toLowerCase();return g()[ce]||""}function O(ee){return ee.search(/^(data:)/)!==-1}function E(ee){return new Promise(function(ce){for(var R=window.atob(ee.toDataURL().split(",")[1]),y=R.length,C=new Uint8Array(y),z=0;z<y;z++)C[z]=R.charCodeAt(z);ce(new Blob([C],{type:"image/png"}))})}function D(ee){return ee.toBlob?new Promise(function(ce){ee.toBlob(ce)}):E(ee)}function W(ee,ce){var R=document.implementation.createHTMLDocument(),y=R.createElement("base");R.head.appendChild(y);var C=R.createElement("a");return R.body.appendChild(C),y.href=ce,C.href=ee,C.href}function te(){var ee=0;return function(){return"u"+ce()+ee++;function ce(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}}}function re(ee){return new Promise(function(ce,R){var y=new Image;y.onload=function(){ce(y)},y.onerror=R,y.src=ee})}function ye(ee){var ce=3e4;return a.impl.options.cacheBust&&(ee+=(/\?/.test(ee)?"&":"?")+new Date().getTime()),new Promise(function(R){var y=new XMLHttpRequest;y.onreadystatechange=G,y.ontimeout=X,y.responseType="blob",y.timeout=ce,y.open("GET",ee,!0),y.send();var C;if(a.impl.options.imagePlaceholder){var z=a.impl.options.imagePlaceholder.split(/,/);z&&z[1]&&(C=z[1])}function G(){if(y.readyState===4){if(y.status!==200){C?R(C):pe("cannot fetch resource: "+ee+", status: "+y.status);return}var ae=new FileReader;ae.onloadend=function(){var Se=ae.result.split(/,/)[1];R(Se)},ae.readAsDataURL(y.response)}}function X(){C?R(C):pe("timeout of "+ce+"ms occured while fetching resource: "+ee)}function pe(ae){console.error(ae),R("")}})}function q(ee,ce){return"data:"+ce+";base64,"+ee}function oe(ee){return ee.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")}function he(ee){return function(ce){return new Promise(function(R){setTimeout(function(){R(ce)},ee)})}}function ue(ee){for(var ce=[],R=ee.length,y=0;y<R;y++)ce.push(ee[y]);return ce}function ne(ee){return ee.replace(/#/g,"%23").replace(/\n/g,"%0A")}function se(ee){var ce=Z(ee,"border-left-width"),R=Z(ee,"border-right-width");return ee.scrollWidth+ce+R}function be(ee){var ce=Z(ee,"border-top-width"),R=Z(ee,"border-bottom-width");return ee.scrollHeight+ce+R}function Z(ee,ce){var R=window.getComputedStyle(ee).getPropertyValue(ce);return parseFloat(R.replace("px",""))}}function Y(){var g=/url\(['"]?([^'"]+?)['"]?\)/g;return{inlineAll:E,shouldProcess:b,impl:{readUrls:d,inline:O}};function b(D){return D.search(g)!==-1}function d(D){for(var W=[],te;(te=g.exec(D))!==null;)W.push(te[1]);return W.filter(function(re){return!c.isDataUrl(re)})}function O(D,W,te,re){return Promise.resolve(W).then(function(q){return te?c.resolveUrl(q,te):q}).then(re||c.getAndEncode).then(function(q){return c.dataAsUrl(q,c.mimeType(W))}).then(function(q){return D.replace(ye(W),"$1"+q+"$3")});function ye(q){return new RegExp(`(url\\(['"]?)(`+c.escape(q)+`)(['"]?\\))`,"g")}}function E(D,W,te){if(re())return Promise.resolve(D);return Promise.resolve(D).then(d).then(function(ye){var q=Promise.resolve(D);return ye.forEach(function(oe){q=q.then(function(he){return O(he,oe,W,te)})}),q});function re(){return!b(D)}}}function $(){return{resolveAll:g,impl:{readAll:b}};function g(){return b(document).then(function(d){return Promise.all(d.map(function(O){return O.resolve()}))}).then(function(d){return d.join(`
- `)})}function b(){return Promise.resolve(c.asArray(document.styleSheets)).then(O).then(d).then(function(D){return D.map(E)});function d(D){return D.filter(function(W){return W.type===CSSRule.FONT_FACE_RULE}).filter(function(W){return r.shouldProcess(W.style.getPropertyValue("src"))})}function O(D){var W=[];return D.forEach(function(te){try{c.asArray(te.cssRules||[]).forEach(W.push.bind(W))}catch(re){console.log("Error while reading CSS rules from "+te.href,re.toString())}}),W}function E(D){return{resolve:function(){var te=(D.parentStyleSheet||{}).href;return r.inlineAll(D.cssText,te)},src:function(){return D.style.getPropertyValue("src")}}}}}function A(){return{inlineAll:b,impl:{newImage:g}};function g(d){return{inline:O};function O(E){return c.isDataUrl(d.src)?Promise.resolve():Promise.resolve(d.src).then(E||c.getAndEncode).then(function(D){return c.dataAsUrl(D,c.mimeType(d.src))}).then(function(D){return new Promise(function(W,te){d.onload=W,d.onerror=te,d.src=D})})}}function b(d){if(!(d instanceof Element))return Promise.resolve(d);return O(d).then(function(){return d instanceof HTMLImageElement?g(d).inline():Promise.all(c.asArray(d.childNodes).map(function(E){return b(E)}))});function O(E){var D=E.style.getPropertyValue("background");return D?r.inlineAll(D).then(function(W){E.style.setProperty("background",W,E.style.getPropertyPriority("background"))}).then(function(){return E}):Promise.resolve(E)}}}})(this)},cMOf:function(Ie,M,e){"use strict";e.d(M,"a",function(){return A}),e.d(M,"b",function(){return E});var u=e("rAM+"),c=e("oBTY"),r=e("fWQN"),f=e("mtLc"),o=e("tS8v"),i=e("w4Tj"),a=e("oZsa"),n=e("yKVA"),v=e("879j"),m=e("undH"),h=e.n(m),t=e("pmY6"),l=e("MNsG"),p=e("746U"),w=e("pg8w"),S=e("XSiN"),k=e("MI8n"),T=e("EffR"),I=e("4y0V"),Y=e("X+cX"),$=!1,A;(function(D){D.North="north",D.South="south",D.East="east",D.West="west"})(A||(A={}));var g=4,b=new k.a,d=300,O=new k.a,E=function(D){Object(n.a)(te,D);var W=Object(v.a)(te);function te(re,ye,q){var oe;return Object(r.a)(this,te),oe=W.call(this),oe.hoverDelay=d,oe.hoverDelayer=oe._register(new Y.a(oe.hoverDelay)),oe._state=3,oe._onDidEnablementChange=oe._register(new k.a),oe.onDidEnablementChange=oe._onDidEnablementChange.event,oe._onDidStart=oe._register(new k.a),oe.onDidStart=oe._onDidStart.event,oe._onDidChange=oe._register(new k.a),oe.onDidChange=oe._onDidChange.event,oe._onDidReset=oe._register(new k.a),oe.onDidReset=oe._onDidReset.event,oe._onDidEnd=oe._register(new k.a),oe.onDidEnd=oe._onDidEnd.event,oe.linkedSash=void 0,oe.orthogonalStartSashDisposables=oe._register(new t.b),oe.orthogonalStartDragHandleDisposables=oe._register(new t.b),oe.orthogonalEndSashDisposables=oe._register(new t.b),oe.orthogonalEndDragHandleDisposables=oe._register(new t.b),oe.el=Object(T.append)(re,Object(T.$)(".monaco-sash")),q.orthogonalEdge&&oe.el.classList.add("orthogonal-edge-".concat(q.orthogonalEdge)),l.f&&oe.el.classList.add("mac"),oe._register(Object(I.a)(oe.el,"mousedown")(oe.onMouseDown,Object(o.a)(oe))),oe._register(Object(I.a)(oe.el,"dblclick")(oe.onMouseDoubleClick,Object(o.a)(oe))),oe._register(Object(I.a)(oe.el,"mouseenter")(function(){return te.onMouseEnter(Object(o.a)(oe))})),oe._register(Object(I.a)(oe.el,"mouseleave")(function(){return te.onMouseLeave(Object(o.a)(oe))})),oe._register(w.b.addTarget(oe.el)),oe._register(Object(I.a)(oe.el,w.a.Start)(function(he){return oe.onTouchStart(he)},Object(o.a)(oe))),typeof q.size=="number"?(oe.size=q.size,q.orientation===0?oe.el.style.width="".concat(oe.size,"px"):oe.el.style.height="".concat(oe.size,"px")):(oe.size=g,oe._register(b.event(function(he){oe.size=he,oe.layout()}))),oe._register(O.event(function(he){return oe.hoverDelay=he})),oe.hidden=!1,oe.layoutProvider=ye,oe.orthogonalStartSash=q.orthogonalStartSash,oe.orthogonalEndSash=q.orthogonalEndSash,oe.orientation=q.orientation||0,oe.orientation===1?(oe.el.classList.add("horizontal"),oe.el.classList.remove("vertical")):(oe.el.classList.remove("horizontal"),oe.el.classList.add("vertical")),oe.el.classList.toggle("debug",$),oe.layout(),oe}return Object(f.a)(te,[{key:"state",get:function(){return this._state},set:function(ye){this._state!==ye&&(this.el.classList.toggle("disabled",ye===0),this.el.classList.toggle("minimum",ye===1),this.el.classList.toggle("maximum",ye===2),this._state=ye,this._onDidEnablementChange.fire(ye))}},{key:"orthogonalStartSash",get:function(){return this._orthogonalStartSash},set:function(ye){var q=this;if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),ye){var oe=function(ue){q.orthogonalStartDragHandleDisposables.clear(),ue!==0&&(q._orthogonalStartDragHandle=Object(T.append)(q.el,Object(T.$)(".orthogonal-drag-handle.start")),q.orthogonalStartDragHandleDisposables.add(Object(t.h)(function(){return q._orthogonalStartDragHandle.remove()})),Object(I.a)(q._orthogonalStartDragHandle,"mouseenter")(function(){return te.onMouseEnter(ye)},void 0,q.orthogonalStartDragHandleDisposables),Object(I.a)(q._orthogonalStartDragHandle,"mouseleave")(function(){return te.onMouseLeave(ye)},void 0,q.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(ye.onDidEnablementChange(oe,this)),oe(ye.state)}this._orthogonalStartSash=ye}},{key:"orthogonalEndSash",get:function(){return this._orthogonalEndSash},set:function(ye){var q=this;if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),ye){var oe=function(ue){q.orthogonalEndDragHandleDisposables.clear(),ue!==0&&(q._orthogonalEndDragHandle=Object(T.append)(q.el,Object(T.$)(".orthogonal-drag-handle.end")),q.orthogonalEndDragHandleDisposables.add(Object(t.h)(function(){return q._orthogonalEndDragHandle.remove()})),Object(I.a)(q._orthogonalEndDragHandle,"mouseenter")(function(){return te.onMouseEnter(ye)},void 0,q.orthogonalEndDragHandleDisposables),Object(I.a)(q._orthogonalEndDragHandle,"mouseleave")(function(){return te.onMouseLeave(ye)},void 0,q.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(ye.onDidEnablementChange(oe,this)),oe(ye.state)}this._orthogonalEndSash=ye}},{key:"onMouseDown",value:function(ye){var q=this;T.EventHelper.stop(ye,!1);var oe=!1;if(!ye.__orthogonalSashEvent){var he=this.getOrthogonalSash(ye);he&&(oe=!0,ye.__orthogonalSashEvent=!0,he.onMouseDown(ye))}if(this.linkedSash&&!ye.__linkedSashEvent&&(ye.__linkedSashEvent=!0,this.linkedSash.onMouseDown(ye)),!!this.state){var ue=[].concat(Object(c.a)(Object(T.getElementsByTagName)("iframe")),Object(c.a)(Object(T.getElementsByTagName)("webview"))),ne=Object(u.a)(ue),se;try{for(ne.s();!(se=ne.n()).done;){var be=se.value;be.style.pointerEvents="none"}}catch(ae){ne.e(ae)}finally{ne.f()}var Z=new S.a(ye),ee=Z.posx,ce=Z.posy,R=Z.altKey,y={startX:ee,currentX:ee,startY:ce,currentY:ce,altKey:R};this.el.classList.add("active"),this._onDidStart.fire(y);var C=Object(T.createStyleSheet)(this.el),z=function(){var Se="";oe?Se="all-scroll":q.orientation===1?q.state===1?Se="s-resize":q.state===2?Se="n-resize":Se=l.f?"row-resize":"ns-resize":q.state===1?Se="e-resize":q.state===2?Se="w-resize":Se=l.f?"col-resize":"ew-resize",C.textContent="* { cursor: ".concat(Se," !important; }")},G=new t.b;z(),oe||this.onDidEnablementChange(z,null,G);var X=function(Se){T.EventHelper.stop(Se,!1);var Te=new S.a(Se),je={startX:ee,currentX:Te.posx,startY:ce,currentY:Te.posy,altKey:R};q._onDidChange.fire(je)},pe=function(Se){T.EventHelper.stop(Se,!1),q.el.removeChild(C),q.el.classList.remove("active"),q._onDidEnd.fire(),G.dispose();var Te=Object(u.a)(ue),je;try{for(Te.s();!(je=Te.n()).done;){var ft=je.value;ft.style.pointerEvents="auto"}}catch(fe){Te.e(fe)}finally{Te.f()}};Object(I.a)(window,"mousemove")(X,null,G),Object(I.a)(window,"mouseup")(pe,null,G)}}},{key:"onMouseDoubleClick",value:function(ye){var q=this.getOrthogonalSash(ye);q&&q._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}},{key:"onTouchStart",value:function(ye){var q=this;T.EventHelper.stop(ye);var oe=[],he=ye.pageX,ue=ye.pageY,ne=ye.altKey;this._onDidStart.fire({startX:he,currentX:he,startY:ue,currentY:ue,altKey:ne}),oe.push(Object(T.addDisposableListener)(this.el,w.a.Change,function(se){p.h(se.pageX)&&p.h(se.pageY)&&q._onDidChange.fire({startX:he,currentX:se.pageX,startY:ue,currentY:se.pageY,altKey:ne})})),oe.push(Object(T.addDisposableListener)(this.el,w.a.End,function(){q._onDidEnd.fire(),Object(t.f)(oe)}))}},{key:"clearSashHoverState",value:function(){te.onMouseLeave(this)}},{key:"layout",value:function(){if(this.orientation===0){var ye=this.layoutProvider;this.el.style.left=ye.getVerticalSashLeft(this)-this.size/2+"px",ye.getVerticalSashTop&&(this.el.style.top=ye.getVerticalSashTop(this)+"px"),ye.getVerticalSashHeight&&(this.el.style.height=ye.getVerticalSashHeight(this)+"px")}else{var q=this.layoutProvider;this.el.style.top=q.getHorizontalSashTop(this)-this.size/2+"px",q.getHorizontalSashLeft&&(this.el.style.left=q.getHorizontalSashLeft(this)+"px"),q.getHorizontalSashWidth&&(this.el.style.width=q.getHorizontalSashWidth(this)+"px")}}},{key:"hide",value:function(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")}},{key:"getOrthogonalSash",value:function(ye){if(!(!ye.target||!(ye.target instanceof HTMLElement))&&ye.target.classList.contains("orthogonal-drag-handle"))return ye.target.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}},{key:"dispose",value:function(){Object(i.a)(Object(a.a)(te.prototype),"dispose",this).call(this),this.el.remove()}}],[{key:"onMouseEnter",value:function(ye){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ye.el.classList.contains("active")?(ye.hoverDelayer.cancel(),ye.el.classList.add("hover")):ye.hoverDelayer.trigger(function(){return ye.el.classList.add("hover")},ye.hoverDelay).then(void 0,function(){}),!q&&ye.linkedSash&&te.onMouseEnter(ye.linkedSash,!0)}},{key:"onMouseLeave",value:function(ye){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ye.hoverDelayer.cancel(),ye.el.classList.remove("hover"),!q&&ye.linkedSash&&te.onMouseLeave(ye.linkedSash,!0)}}]),te}(t.a)},cMvZ:function(Ie,M,e){"use strict";e.d(M,"a",function(){return g});var u=e("rAM+"),c=e("tJVT"),r=e("fWQN"),f=e("mtLc"),o=e("MI8n"),i=e("pmY6"),a=e("N0LK"),n=e("0JNc"),v=e("KDc4"),m=e("BFtn"),h=function(){function b(d){if(Object(r.a)(this,b),d.autoClosingPairs?this._autoClosingPairs=d.autoClosingPairs.map(function(E){return new v.c(E)}):d.brackets?this._autoClosingPairs=d.brackets.map(function(E){return new v.c({open:E[0],close:E[1]})}):this._autoClosingPairs=[],d.__electricCharacterSupport&&d.__electricCharacterSupport.docComment){var O=d.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new v.c({open:O.open,close:O.close||""}))}this._autoCloseBefore=typeof d.autoCloseBefore=="string"?d.autoCloseBefore:b.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=d.surroundingPairs||this._autoClosingPairs}return Object(f.a)(b,[{key:"getAutoClosingPairs",value:function(){return this._autoClosingPairs}},{key:"getAutoCloseBeforeSet",value:function(){return this._autoCloseBefore}},{key:"getSurroundingPairs",value:function(){return this._surroundingPairs}}],[{key:"shouldAutoClosePair",value:function(O,E,D){if(E.getTokenCount()===0)return!0;var W=E.findTokenIndexAtOffset(D-2),te=E.getStandardTokenType(W);return O.isOK(te)}}]),b}();h.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])>
- `;var t=e("EIAu"),l=function(){function b(d){Object(r.a)(this,b),this._richEditBrackets=d}return Object(f.a)(b,[{key:"getElectricCharacters",value:function(){var O=[];if(this._richEditBrackets){var E=Object(u.a)(this._richEditBrackets.brackets),D;try{for(E.s();!(D=E.n()).done;){var W=D.value,te=Object(u.a)(W.close),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value,q=ye.charAt(ye.length-1);O.push(q)}}catch(oe){te.e(oe)}finally{te.f()}}}catch(oe){E.e(oe)}finally{E.f()}}return O=O.filter(function(oe,he,ue){return ue.indexOf(oe)===he}),O}},{key:"onElectricCharacter",value:function(O,E,D){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;var W=E.findTokenIndexAtOffset(D-1);if(Object(m.b)(E.getStandardTokenType(W)))return null;var te=this._richEditBrackets.reversedRegex,re=E.getLineContent().substring(0,D-1)+O,ye=t.a.findPrevBracketInRange(te,1,re,0,re.length);if(!ye)return null;var q=re.substring(ye.startColumn-1,ye.endColumn-1).toLowerCase(),oe=this._richEditBrackets.textIsOpenBracket[q];if(oe)return null;var he=E.getActualLineContentBefore(ye.startColumn-1);return/^\s*$/.test(he)?{matchOpenBracket:q}:null}}]),b}();function p(b){return b.global&&(b.lastIndex=0),!0}var w=function(){function b(d){Object(r.a)(this,b),this._indentationRules=d}return Object(f.a)(b,[{key:"shouldIncrease",value:function(O){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&p(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(O))}},{key:"shouldDecrease",value:function(O){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&p(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(O))}},{key:"shouldIndentNextLine",value:function(O){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&p(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(O))}},{key:"shouldIgnore",value:function(O){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&p(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(O))}},{key:"getIndentMetadata",value:function(O){var E=0;return this.shouldIncrease(O)&&(E+=1),this.shouldDecrease(O)&&(E+=2),this.shouldIndentNextLine(O)&&(E+=4),this.shouldIgnore(O)&&(E+=8),E}}]),b}(),S=e("/cxE"),k=function(){function b(d){var O=this;Object(r.a)(this,b),d=d||{},d.brackets=d.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],d.brackets.forEach(function(E){var D=b._createOpenBracketRegExp(E[0]),W=b._createCloseBracketRegExp(E[1]);D&&W&&O._brackets.push({open:E[0],openRegExp:D,close:E[1],closeRegExp:W})}),this._regExpRules=d.onEnterRules||[]}return Object(f.a)(b,[{key:"onEnter",value:function(O,E,D,W){if(O>=3)for(var te=0,re=this._regExpRules.length;te<re;te++){var ye=this._regExpRules[te],q=[{reg:ye.beforeText,text:D},{reg:ye.afterText,text:W},{reg:ye.previousLineText,text:E}].every(function(Z){return Z.reg?Z.reg.test(Z.text):!0});if(q)return ye.action}if(O>=2&&D.length>0&&W.length>0)for(var oe=0,he=this._brackets.length;oe<he;oe++){var ue=this._brackets[oe];if(ue.openRegExp.test(D)&&ue.closeRegExp.test(W))return{indentAction:v.b.IndentOutdent}}if(O>=2&&D.length>0)for(var ne=0,se=this._brackets.length;ne<se;ne++){var be=this._brackets[ne];if(be.openRegExp.test(D))return{indentAction:v.b.Indent}}return null}}],[{key:"_createOpenBracketRegExp",value:function(O){var E=a.u(O);return/\B/.test(E.charAt(0))||(E="\\b"+E),E+="\\s*$",b._safeRegExp(E)}},{key:"_createCloseBracketRegExp",value:function(O){var E=a.u(O);return/\B/.test(E.charAt(E.length-1))||(E=E+"\\b"),E="^\\s*"+E,b._safeRegExp(E)}},{key:"_safeRegExp",value:function(O){try{return new RegExp(O)}catch(E){return Object(S.e)(E),null}}}]),b}(),T=function(){function b(d,O){Object(r.a)(this,b),this._languageIdentifier=d,this._brackets=null,this._electricCharacter=null,this._conf=O,this._onEnterSupport=this._conf.brackets||this._conf.indentationRules||this._conf.onEnterRules?new k(this._conf):null,this.comments=b._handleComments(this._conf),this.characterPair=new h(this._conf),this.wordDefinition=this._conf.wordPattern||n.a,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules?this.indentRulesSupport=new w(this._conf.indentationRules):this.indentRulesSupport=null,this.foldingRules=this._conf.folding||{}}return Object(f.a)(b,[{key:"brackets",get:function(){return!this._brackets&&this._conf.brackets&&(this._brackets=new t.b(this._languageIdentifier,this._conf.brackets)),this._brackets}},{key:"electricCharacter",get:function(){return this._electricCharacter||(this._electricCharacter=new l(this.brackets)),this._electricCharacter}},{key:"onEnter",value:function(O,E,D,W){return this._onEnterSupport?this._onEnterSupport.onEnter(O,E,D,W):null}}],[{key:"_handleComments",value:function(O){var E=O.comments;if(!E)return null;var D={};if(E.lineComment&&(D.lineCommentToken=E.lineComment),E.blockComment){var W=Object(c.a)(E.blockComment,2),te=W[0],re=W[1];D.blockCommentStartToken=te,D.blockCommentEndToken=re}return D}}]),b}(),I=Object(f.a)(function b(d){Object(r.a)(this,b),this.languageIdentifier=d}),Y=function(){function b(d,O,E){Object(r.a)(this,b),this.configuration=d,this.priority=O,this.order=E}return Object(f.a)(b,null,[{key:"cmp",value:function(O,E){return O.priority===E.priority?O.order-E.order:O.priority-E.priority}}]),b}(),$=function(){function b(d){Object(r.a)(this,b),this.languageIdentifier=d,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}return Object(f.a)(b,[{key:"register",value:function(O,E){var D=this,W=new Y(O,E,++this._order);return this._entries.push(W),this._resolved=null,Object(i.h)(function(){for(var te=0;te<D._entries.length;te++)if(D._entries[te]===W){D._entries.splice(te,1),D._resolved=null;break}})}},{key:"getRichEditSupport",value:function(){if(!this._resolved){var O=this._resolve();O&&(this._resolved=new T(this.languageIdentifier,O))}return this._resolved}},{key:"_resolve",value:function(){if(this._entries.length===0)return null;this._entries.sort(Y.cmp);var O={},E=Object(u.a)(this._entries),D;try{for(E.s();!(D=E.n()).done;){var W=D.value,te=W.configuration;O.comments=te.comments||O.comments,O.brackets=te.brackets||O.brackets,O.wordPattern=te.wordPattern||O.wordPattern,O.indentationRules=te.indentationRules||O.indentationRules,O.onEnterRules=te.onEnterRules||O.onEnterRules,O.autoClosingPairs=te.autoClosingPairs||O.autoClosingPairs,O.surroundingPairs=te.surroundingPairs||O.surroundingPairs,O.autoCloseBefore=te.autoCloseBefore||O.autoCloseBefore,O.folding=te.folding||O.folding,O.__electricCharacterSupport=te.__electricCharacterSupport||O.__electricCharacterSupport}}catch(re){E.e(re)}finally{E.f()}return O}}]),b}(),A=function(){function b(){Object(r.a)(this,b),this._entries2=new Map,this._onDidChange=new o.a,this.onDidChange=this._onDidChange.event}return Object(f.a)(b,[{key:"register",value:function(O,E){var D=this,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,te=this._entries2.get(O.id);te||(te=new $(O),this._entries2.set(O.id,te));var re=te.register(E,W);return this._onDidChange.fire(new I(O)),Object(i.h)(function(){re.dispose(),D._onDidChange.fire(new I(O))})}},{key:"_getRichEditSupport",value:function(O){var E=this._entries2.get(O);return E?E.getRichEditSupport():null}},{key:"getIndentationRules",value:function(O){var E=this._getRichEditSupport(O);return E&&E.indentationRules||null}},{key:"_getElectricCharacterSupport",value:function(O){var E=this._getRichEditSupport(O);return E&&E.electricCharacter||null}},{key:"getElectricCharacters",value:function(O){var E=this._getElectricCharacterSupport(O);return E?E.getElectricCharacters():[]}},{key:"onElectricCharacter",value:function(O,E,D){var W=Object(m.a)(E,D-1),te=this._getElectricCharacterSupport(W.languageId);return te?te.onElectricCharacter(O,W,D-W.firstCharOffset):null}},{key:"getComments",value:function(O){var E=this._getRichEditSupport(O);return E&&E.comments||null}},{key:"_getCharacterPairSupport",value:function(O){var E=this._getRichEditSupport(O);return E&&E.characterPair||null}},{key:"getAutoClosingPairs",value:function(O){var E=this._getCharacterPairSupport(O);return new v.a(E?E.getAutoClosingPairs():[])}},{key:"getAutoCloseBeforeSet",value:function(O){var E=this._getCharacterPairSupport(O);return E?E.getAutoCloseBeforeSet():h.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED}},{key:"getSurroundingPairs",value:function(O){var E=this._getCharacterPairSupport(O);return E?E.getSurroundingPairs():[]}},{key:"shouldAutoClosePair",value:function(O,E,D){var W=Object(m.a)(E,D-1);return h.shouldAutoClosePair(O,W,D-W.firstCharOffset)}},{key:"getWordDefinition",value:function(O){var E=this._getRichEditSupport(O);return E?Object(n.c)(E.wordDefinition||null):Object(n.c)(null)}},{key:"getFoldingRules",value:function(O){var E=this._getRichEditSupport(O);return E?E.foldingRules:{}}},{key:"getIndentRulesSupport",value:function(O){var E=this._getRichEditSupport(O);return E&&E.indentRulesSupport||null}},{key:"getPrecedingValidLine",value:function(O,E,D){var W=O.getLanguageIdAtPosition(E,0);if(E>1){var te,re=-1;for(te=E-1;te>=1;te--){if(O.getLanguageIdAtPosition(te,0)!==W)return re;var ye=O.getLineContent(te);if(D.shouldIgnore(ye)||/^\s+$/.test(ye)||ye===""){re=te;continue}return te}}return-1}},{key:"getInheritIndentForLine",value:function(O,E,D){var W=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(O<4)return null;var te=this.getIndentRulesSupport(E.getLanguageIdentifier().id);if(!te)return null;if(D<=1)return{indentation:"",action:null};var re=this.getPrecedingValidLine(E,D,te);if(re<0)return null;if(re<1)return{indentation:"",action:null};var ye=E.getLineContent(re);if(te.shouldIncrease(ye)||te.shouldIndentNextLine(ye))return{indentation:a.y(ye),action:v.b.Indent,line:re};if(te.shouldDecrease(ye))return{indentation:a.y(ye),action:null,line:re};if(re===1)return{indentation:a.y(E.getLineContent(re)),action:null,line:re};var q=re-1,oe=te.getIndentMetadata(E.getLineContent(q));if(!(oe&(1|2))&&oe&4){for(var he=0,ue=q-1;ue>0;ue--)if(!te.shouldIndentNextLine(E.getLineContent(ue))){he=ue;break}return{indentation:a.y(E.getLineContent(he+1)),action:null,line:he+1}}if(W)return{indentation:a.y(E.getLineContent(re)),action:null,line:re};for(var ne=re;ne>0;ne--){var se=E.getLineContent(ne);if(te.shouldIncrease(se))return{indentation:a.y(se),action:v.b.Indent,line:ne};if(te.shouldIndentNextLine(se)){for(var be=0,Z=ne-1;Z>0;Z--)if(!te.shouldIndentNextLine(E.getLineContent(ne))){be=Z;break}return{indentation:a.y(E.getLineContent(be+1)),action:null,line:be+1}}else if(te.shouldDecrease(se))return{indentation:a.y(se),action:null,line:ne}}return{indentation:a.y(E.getLineContent(1)),action:null,line:1}}},{key:"getGoodIndentForLine",value:function(O,E,D,W,te){if(O<4)return null;var re=this._getRichEditSupport(D);if(!re)return null;var ye=this.getIndentRulesSupport(D);if(!ye)return null;var q=this.getInheritIndentForLine(O,E,W),oe=E.getLineContent(W);if(q){var he=q.line;if(he!==void 0){var ue=re.onEnter(O,"",E.getLineContent(he),"");if(ue){var ne=a.y(E.getLineContent(he));return ue.removeText&&(ne=ne.substring(0,ne.length-ue.removeText)),ue.indentAction===v.b.Indent||ue.indentAction===v.b.IndentOutdent?ne=te.shiftIndent(ne):ue.indentAction===v.b.Outdent&&(ne=te.unshiftIndent(ne)),ye.shouldDecrease(oe)&&(ne=te.unshiftIndent(ne)),ue.appendText&&(ne+=ue.appendText),a.y(ne)}}return ye.shouldDecrease(oe)?q.action===v.b.Indent?q.indentation:te.unshiftIndent(q.indentation):q.action===v.b.Indent?te.shiftIndent(q.indentation):q.indentation}return null}},{key:"getIndentForEnter",value:function(O,E,D,W){if(O<4)return null;E.forceTokenization(D.startLineNumber);var te=E.getLineTokens(D.startLineNumber),re=Object(m.a)(te,D.startColumn-1),ye=re.getLineContent(),q=!1,oe;re.firstCharOffset>0&&te.getLanguageId(0)!==re.languageId?(q=!0,oe=ye.substr(0,D.startColumn-1-re.firstCharOffset)):oe=te.getLineContent().substring(0,D.startColumn-1);var he;if(D.isEmpty())he=ye.substr(D.startColumn-1-re.firstCharOffset);else{var ue=this.getScopedLineTokens(E,D.endLineNumber,D.endColumn);he=ue.getLineContent().substr(D.endColumn-1-re.firstCharOffset)}var ne=this.getIndentRulesSupport(re.languageId);if(!ne)return null;var se=oe,be=a.y(oe),Z={getLineTokens:function(z){return E.getLineTokens(z)},getLanguageIdentifier:function(){return E.getLanguageIdentifier()},getLanguageIdAtPosition:function(z,G){return E.getLanguageIdAtPosition(z,G)},getLineContent:function(z){return z===D.startLineNumber?se:E.getLineContent(z)}},ee=a.y(te.getLineContent()),ce=this.getInheritIndentForLine(O,Z,D.startLineNumber+1);if(!ce){var R=q?ee:be;return{beforeEnter:R,afterEnter:R}}var y=q?ee:ce.indentation;return ce.action===v.b.Indent&&(y=W.shiftIndent(y)),ne.shouldDecrease(he)&&(y=W.unshiftIndent(y)),{beforeEnter:q?ee:be,afterEnter:y}}},{key:"getIndentActionForType",value:function(O,E,D,W,te){if(O<4)return null;var re=this.getScopedLineTokens(E,D.startLineNumber,D.startColumn);if(re.firstCharOffset)return null;var ye=this.getIndentRulesSupport(re.languageId);if(!ye)return null;var q=re.getLineContent(),oe=q.substr(0,D.startColumn-1-re.firstCharOffset),he;if(D.isEmpty())he=q.substr(D.startColumn-1-re.firstCharOffset);else{var ue=this.getScopedLineTokens(E,D.endLineNumber,D.endColumn);he=ue.getLineContent().substr(D.endColumn-1-re.firstCharOffset)}if(!ye.shouldDecrease(oe+he)&&ye.shouldDecrease(oe+W+he)){var ne=this.getInheritIndentForLine(O,E,D.startLineNumber,!1);if(!ne)return null;var se=ne.indentation;return ne.action!==v.b.Indent&&(se=te.unshiftIndent(se)),se}return null}},{key:"getIndentMetadata",value:function(O,E){var D=this.getIndentRulesSupport(O.getLanguageIdentifier().id);return!D||E<1||E>O.getLineCount()?null:D.getIndentMetadata(O.getLineContent(E))}},{key:"getEnterAction",value:function(O,E,D){var W=this.getScopedLineTokens(E,D.startLineNumber,D.startColumn),te=this._getRichEditSupport(W.languageId);if(!te)return null;var re=W.getLineContent(),ye=re.substr(0,D.startColumn-1-W.firstCharOffset),q;if(D.isEmpty())q=re.substr(D.startColumn-1-W.firstCharOffset);else{var oe=this.getScopedLineTokens(E,D.endLineNumber,D.endColumn);q=oe.getLineContent().substr(D.endColumn-1-W.firstCharOffset)}var he="";if(D.startLineNumber>1&&W.firstCharOffset===0){var ue=this.getScopedLineTokens(E,D.startLineNumber-1);ue.languageId===W.languageId&&(he=ue.getLineContent())}var ne=te.onEnter(O,he,ye,q);if(!ne)return null;var se=ne.indentAction,be=ne.appendText,Z=ne.removeText||0;be?se===v.b.Indent&&(be=" "+be):se===v.b.Indent||se===v.b.IndentOutdent?be=" ":be="";var ee=this.getIndentationAtPosition(E,D.startLineNumber,D.startColumn);return Z&&(ee=ee.substring(0,ee.length-Z)),{indentAction:se,appendText:be,removeText:Z,indentation:ee}}},{key:"getIndentationAtPosition",value:function(O,E,D){var W=O.getLineContent(E),te=a.y(W);return te.length>D-1&&(te=te.substring(0,D-1)),te}},{key:"getScopedLineTokens",value:function(O,E,D){O.forceTokenization(E);var W=O.getLineTokens(E),te=typeof D=="undefined"?O.getLineMaxColumn(E)-1:D-1;return Object(m.a)(W,te)}},{key:"getBracketsSupport",value:function(O){var E=this._getRichEditSupport(O);return E&&E.brackets||null}}]),b}(),g=new A},cWXX:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("oIFs"),f=e.n(r)},cbs0:function(Ie,M,e){"use strict";var u=e("LvDl"),c=e("Ckr6"),r=e("409L"),f=e("tK6A");e("/TcX");function o(ke){return ke&&typeof ke=="object"&&"default"in ke?ke:{default:ke}}var i=o(u),a=o(c),n=o(r);function v(ke,we){var Be=Object.keys(ke);if(Object.getOwnPropertySymbols){var Le=Object.getOwnPropertySymbols(ke);we&&(Le=Le.filter(function(J){return Object.getOwnPropertyDescriptor(ke,J).enumerable})),Be.push.apply(Be,Le)}return Be}function m(ke){for(var we=1;we<arguments.length;we++){var Be=arguments[we]!=null?arguments[we]:{};we%2?v(Object(Be),!0).forEach(function(Le){w(ke,Le,Be[Le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ke,Object.getOwnPropertyDescriptors(Be)):v(Object(Be)).forEach(function(Le){Object.defineProperty(ke,Le,Object.getOwnPropertyDescriptor(Be,Le))})}return ke}function h(ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?h=function(Be){return typeof Be}:h=function(Be){return Be&&typeof Symbol=="function"&&Be.constructor===Symbol&&Be!==Symbol.prototype?"symbol":typeof Be},h(ke)}function t(ke,we){if(!(ke instanceof we))throw new TypeError("Cannot call a class as a function")}function l(ke,we){for(var Be=0;Be<we.length;Be++){var Le=we[Be];Le.enumerable=Le.enumerable||!1,Le.configurable=!0,"value"in Le&&(Le.writable=!0),Object.defineProperty(ke,Le.key,Le)}}function p(ke,we,Be){return we&&l(ke.prototype,we),Be&&l(ke,Be),ke}function w(ke,we,Be){return we in ke?Object.defineProperty(ke,we,{value:Be,enumerable:!0,configurable:!0,writable:!0}):ke[we]=Be,ke}function S(ke,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function");ke.prototype=Object.create(we&&we.prototype,{constructor:{value:ke,writable:!0,configurable:!0}}),we&&T(ke,we)}function k(ke){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(Be){return Be.__proto__||Object.getPrototypeOf(Be)},k(ke)}function T(ke,we){return T=Object.setPrototypeOf||function(Le,J){return Le.__proto__=J,Le},T(ke,we)}function I(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ke){return!1}}function Y(ke){if(ke===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ke}function $(ke,we){return we&&(typeof we=="object"||typeof we=="function")?we:Y(ke)}function A(ke){var we=I();return function(){var Le=k(ke),J;if(we){var Ke=k(this).constructor;J=Reflect.construct(Le,arguments,Ke)}else J=Le.apply(this,arguments);return $(this,J)}}function g(ke,we){for(;!Object.prototype.hasOwnProperty.call(ke,we)&&(ke=k(ke),ke!==null););return ke}function b(ke,we,Be){return typeof Reflect!="undefined"&&Reflect.get?b=Reflect.get:b=function(J,Ke,We){var Ot=g(J,Ke);if(!!Ot){var Vt=Object.getOwnPropertyDescriptor(Ot,Ke);return Vt.get?Vt.get.call(We):Vt.value}},b(ke,we,Be||ke)}function d(ke,we){return D(ke)||te(ke,we)||re(ke,we)||oe()}function O(ke){return E(ke)||W(ke)||re(ke)||q()}function E(ke){if(Array.isArray(ke))return ye(ke)}function D(ke){if(Array.isArray(ke))return ke}function W(ke){if(typeof Symbol!="undefined"&&ke[Symbol.iterator]!=null||ke["@@iterator"]!=null)return Array.from(ke)}function te(ke,we){var Be=ke&&(typeof Symbol!="undefined"&&ke[Symbol.iterator]||ke["@@iterator"]);if(Be!=null){var Le=[],J=!0,Ke=!1,We,Ot;try{for(Be=Be.call(ke);!(J=(We=Be.next()).done)&&(Le.push(We.value),!(we&&Le.length===we));J=!0);}catch(Vt){Ke=!0,Ot=Vt}finally{try{!J&&Be.return!=null&&Be.return()}finally{if(Ke)throw Ot}}return Le}}function re(ke,we){if(!!ke){if(typeof ke=="string")return ye(ke,we);var Be=Object.prototype.toString.call(ke).slice(8,-1);if(Be==="Object"&&ke.constructor&&(Be=ke.constructor.name),Be==="Map"||Be==="Set")return Array.from(ke);if(Be==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Be))return ye(ke,we)}}function ye(ke,we){(we==null||we>ke.length)&&(we=ke.length);for(var Be=0,Le=new Array(we);Be<we;Be++)Le[Be]=ke[Be];return Le}function q(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function he(ke,we){var Be=typeof Symbol!="undefined"&&ke[Symbol.iterator]||ke["@@iterator"];if(!Be){if(Array.isArray(ke)||(Be=re(ke))||we&&ke&&typeof ke.length=="number"){Be&&(ke=Be);var Le=0,J=function(){};return{s:J,n:function(){return Le>=ke.length?{done:!0}:{done:!1,value:ke[Le++]}},e:function($t){throw $t},f:J}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ke=!0,We=!1,Ot;return{s:function(){Be=Be.call(ke)},n:function(){var $t=Be.next();return Ke=$t.done,$t},e:function($t){We=!0,Ot=$t},f:function(){try{!Ke&&Be.return!=null&&Be.return()}finally{if(We)throw Ot}}}}var ue=e("uhBA"),ne=function(ke){S(Be,ke);var we=A(Be);function Be(){return t(this,Be),we.call(this)}return p(Be,[{key:"draw",value:function(){}},{key:"getNode",value:function(){}},{key:"getEdge",value:function(){}},{key:"getGroup",value:function(){}},{key:"addNode",value:function(){}},{key:"addNodes",value:function(){}},{key:"addEdge",value:function(){}},{key:"addEdges",value:function(){}},{key:"addGroups",value:function(){}},{key:"removeNode",value:function(){}},{key:"removeNodes",value:function(){}},{key:"removeEdge",value:function(){}},{key:"removeEdges",value:function(){}},{key:"removeGroup",value:function(){}},{key:"getNeighborEdges",value:function(){}},{key:"getNeighborNodes",value:function(){}},{key:"getNeighborNodesAndEdgesByLevel",value:function(){}},{key:"getAdjcentTable",value:function(){}},{key:"getZoom",value:function(){}},{key:"setZoomable",value:function(){}},{key:"zoom",value:function(){}},{key:"getOffset",value:function(){}},{key:"setMoveable",value:function(){}},{key:"move",value:function(){}},{key:"getOrigin",value:function(){}},{key:"setOrigin",value:function(){}},{key:"getDataMap",value:function(){}},{key:"setGirdMode",value:function(){}},{key:"setGuideLine",value:function(){}},{key:"justifyCoordinate",value:function(){}},{key:"setSelectMode",value:function(){}},{key:"getUnion",value:function(){}},{key:"getAllUnion",value:function(){}},{key:"add2Union",value:function(){}},{key:"removeUnion",value:function(){}},{key:"removeAllUnion",value:function(){}},{key:"focusNodeWithAnimate",value:function(){}},{key:"focusNodesWithAnimate",value:function(){}},{key:"canvas2terminal",value:function(){}},{key:"terminal2canvas",value:function(){}},{key:"save2img",value:function(){}},{key:"updateRootResize",value:function(){}},{key:"click",value:function(){}},{key:"doubleClick",value:function(){}},{key:"onContextmenu",value:function(){}}]),Be}(ue),se=e("uhBA"),be=function(ke){S(Be,ke);var we=A(Be);function Be(){return t(this,Be),we.call(this)}return p(Be,[{key:"draw",value:function(){}},{key:"getEndpoint",value:function(){}},{key:"addEndpoint",value:function(){}},{key:"removeEndpoint",value:function(){}},{key:"moveTo",value:function(){}},{key:"getWidth",value:function(){}},{key:"getHeight",value:function(){}},{key:"setDraggable",value:function(){}},{key:"remove",value:function(){}},{key:"destroy",value:function(){}},{key:"focus",value:function(){}},{key:"unFocus",value:function(){}},{key:"click",value:function(){}},{key:"doubleClick",value:function(){}},{key:"onContextmenu",value:function(){}},{key:"hover",value:function(){}}]),Be}(se),Z=e("uhBA"),ee=function(ke){S(Be,ke);var we=A(Be);function Be(){return t(this,Be),we.call(this)}return Be}(Z),ce=e("EVdn"),R=e("LvDl"),y=function(ke){S(Be,ke);var we=A(Be);function Be(Le){var J;return t(this,Be),J=we.call(this,Le),J.id=Le.id,J.options=Le,J.orientation=Le.orientation,J.pos=Le.pos,J.type=Le.type,J.nodeType=R.get(Le,"nodeType","node"),J.nodeId=R.get(Le,"_node.id"),J.root=Le.root,J.scope=Le.scope,J.expandArea=Le.expandArea,J.limitNum=Le.limitNum,J.connectedNum=0,J.options=Le,J.__type="endpoint",J._node=Le._node,J._global=Le._global,J._on=Le._on,J._emit=Le._emit,J._top=0,J._left=0,J._posTop=0,J._posLeft=0,J._width=0,J._height=0,J._linkable=!1,J._coordinateService=null,J.dom=null,J._isInitedDom=!1,Le.dom&&(J.dom=Le.dom,J._isInitedDom=!0),J}return p(Be,[{key:"_init",value:function(J){this._coordinateService=J._coordinateService,J.nodeType&&(this.nodeType=J.nodeType),this._isInitedDom?(this._width=ce(this.dom).outerWidth(),this._height=ce(this.dom).outerHeight(),this._left=this._coordinateService._terminal2canvas("x",ce(this.dom).offset().left+this._coordinateService.scrollLeft),this._top=this._coordinateService._terminal2canvas("y",ce(this.dom).offset().top+this._coordinateService.scrollTop),this._posTop=this._top,this._posLeft=this._left):this.dom=this.draw({id:this.id,orientation:this.orientation,pos:this.pos,dom:this.dom,root:this.root,type:this.type,options:this.options}),this.attachEvent()}},{key:"draw",value:function(J){var Ke=J.dom;return Ke?Ke=ce(Ke):Ke=ce('<div class="butterflie-circle-endpoint"></div>').attr("id",this.id),Ke[0]}},{key:"updatePos",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.dom,Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.orientation,We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.pos;if(this._isInitedDom)this._width=ce(this.dom).outerWidth(),this._height=ce(this.dom).outerHeight(),this._left=this._coordinateService._terminal2canvas("x",ce(this.dom).offset().left+this._coordinateService.scrollLeft),this._top=this._coordinateService._terminal2canvas("y",ce(this.dom).offset().top+this._coordinateService.scrollTop),this._posLeft=this._left,this._posTop=this._top;else{var Ot=this._node,Vt=ce(this._node.dom),$t=this.nodeType,Gt=Vt.outerWidth(),hn=Vt.outerHeight(),$n=null,Sr=0,vr=0;this.root&&($n=Vt.find(this.root),Sr=$n.width(),vr=$n.height()),this._width=ce(J).outerWidth(),this._height=ce(J).outerHeight();var zn=this._width/2,Tr=this._height/2,Qr=0,Qe=0,Jt=Ke||this.orientation||[0,-1],ln=We||this.pos||[Jt[0]===0?.5:0,Jt[1]===0?.5:0],rn=[0,0],An=Jt[0],fr=Jt[1],Pr=ln[0],kr=ln[1];if(An===0?rn[0]=this.root?Sr*Pr-zn:Gt*Pr-zn:An===-1?rn[0]=0-zn:An===1&&(rn[0]=this.root?Sr-zn:Gt-zn),fr===0?rn[1]=this.root?vr*kr-Tr:hn*kr-Tr:fr===-1?rn[1]=0-Tr:fr===1&&(rn[1]=this.root?vr-Tr:hn-Tr),Ot&&!this.root)Qr+=Ot.top,Qe+=Ot.left;else if(Ot&&this.root){var Ar=Vt.offset(),vi=$n.offset();Qr+=vi.top-Ar.top+Ot.top,Qe+=vi.left-Ar.left+Ot.left}this._top=rn[1]+Qr,this._left=rn[0]+Qe,this._posTop=this._top,this._posLeft=this._left,$t==="node"&&Ot._group&&(this._posTop+=Ot._group.top,this._posLeft+=Ot._group.left),ce(J).css("top",this._top).css("left",this._left),this.updated&&this.updated()}}},{key:"hasConnection",value:function(){return this.connectedNum>0}},{key:"moveTo",value:function(J,Ke){this._top=Ke,this._left=J,this._posTop=this._top,this._posLeft=this._left,this._isInitedDom||(ce(this.dom).css("top",Ke).css("left",J),R.get(this,"_node._group")&&(this._posTop+=this._node._group.top,this._posLeft+=this._node._group.left))}},{key:"linkable",value:function(){ce(this.dom).addClass("linkable")}},{key:"unLinkable",value:function(){ce(this.dom).removeClass("linkable")}},{key:"hoverLinkable",value:function(){ce(this.dom).addClass("hover")}},{key:"unHoverLinkable",value:function(){ce(this.dom).removeClass("hover")}},{key:"attachEvent",value:function(){var J=this;ce(this.dom).on("mousedown",function(Ke){var We=0;Ke.button===We&&(Ke.preventDefault(),Ke.stopPropagation(),J.emit("InnerEvents",{type:"endpoint:drag",data:J}))})}},{key:"emit",value:function(J,Ke){b(k(Be.prototype),"emit",this).call(this,J,Ke),this._emit(J,Ke)}},{key:"destroy",value:function(J){J?ce(this.dom).detach():(ce(this.dom).off(),ce(this.dom).remove(),this.removeAllListeners())}}]),Be}(ee),C=e("EVdn"),z=e("LvDl"),G=function(ke){S(Be,ke);var we=A(Be);function Be(Le){var J;return t(this,Be),J=we.call(this,Le),J.id=Le.id,J.scope=Le.scope,J.group=Le.group,J.top=Le.top||0,J.left=Le.left||0,J.dom=Le.dom||null,J.draggable=Le.draggable,J.options=Le,J.__type="node",J._on=Le._on,J._emit=Le._emit,J._global=Le._global,J.endpoints=[],J._endpointsData=Le.endpoints,J._endpointLimitNum=Le._endpointLimitNum,J._isMoving=!1,J}return p(Be,[{key:"draw",value:function(J){var Ke=J.dom;Ke||(Ke=C("<div></div>").attr("class","node").attr("id",J.id));var We=C(Ke);return J.top!==void 0&&We.css("top","".concat(J.top,"px")),J.left!==void 0&&We.css("left","".concat(J.left,"px")),this.updated&&this.updated(),We[0]}},{key:"focus",value:function(){}},{key:"unFocus",value:function(){}},{key:"addEndpoint",value:function(J,Ke){if(Ke)return this.emit("InnerEvents",{type:"node:addEndpoint",data:J,isInited:Ke}),J;var We=J.Class||y,Ot=new We(z.assign({limitNum:J.limitNum||this._endpointLimitNum,_on:this._on,_emit:this._emit,_node:this,_global:this.global},J));return this.emit("InnerEvents",{type:"node:addEndpoint",data:Ot}),this.endpoints.push(Ot),Ot}},{key:"removeEndpoint",value:function(J){var Ke=z.findIndex(this.endpoints,function(Ot){return Ot.id===J});if(Ke!==-1){var We=this.endpoints.splice(Ke,1)[0];return this.emit("InnerEvents",{type:"node:removeEndpoint",data:We}),We.destroy(),We}}},{key:"getEndpoint",value:function(J,Ke){return z.find(this.endpoints,function(We){return!We.type||We.type==="onlyConnect"?J===We.id:J===We.id&&(Ke&&Ke===We.type||!Ke)})}},{key:"_init",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._isInited||(J.left&&(this.left=J.left),J.top&&(this.top=J.top),J._isDeleteGroup?(this.group=void 0,this._group=void 0):J.group&&(this.group=J.group),delete J._isDeleteGroup,this._isInited=!0,J.dom?(this.dom=J.dom,J.left&&C(this.dom).css("left","".concat(J.left,"px")),J.top&&C(this.dom).css("top","".concat(J.top,"px"))):(this.dom=this.draw(z.assign({id:this.id,top:this.top,left:this.left,dom:this.dom,options:this.options},J)),this._addEventListener()))}},{key:"_moveTo",value:function(J,Ke){var We=this;C(this.dom).css("top",Ke).css("left",J),this.endpoints.forEach(function(Ot){Ot.moveTo(J-We.left+Ot._left,Ke-We.top+Ot._top)}),this.top=Ke,this.left=J}},{key:"moveTo",value:function(J,Ke,We){this.emit("InnerEvents",{type:"node:move",node:this,x:J,y:Ke,isNotEventEmit:We})}},{key:"getWidth",value:function(){return C(this.dom).outerWidth()}},{key:"getHeight",value:function(){return C(this.dom).outerHeight()}},{key:"_createEndpoint",value:function(J){var Ke=this;J?this.endpoints.forEach(function(We){return Ke.addEndpoint(We,J)}):this._endpointsData&&this._endpointsData.map(function(We){return Ke.addEndpoint(We)})}},{key:"_addEventListener",value:function(){var J=this;C(this.dom).on("mousedown",function(Ke){var We=0;Ke.button===We&&(["SELECT","INPUT","RADIO","CHECKBOX","TEXTAREA"].includes(Ke.target.nodeName)||Ke.preventDefault(),J.draggable?(J._isMoving=!0,J.emit("InnerEvents",{type:"node:dragBegin",data:J})):J.emit("InnerEvents",{type:"node:mouseDown",data:J}))}),C(this.dom).on("click",function(Ke){Ke.preventDefault(),Ke.stopPropagation(),J.emit("system.node.click",{node:J}),J.emit("events",{type:"node:click",node:J})}),this.setDraggable(this.draggable)}},{key:"setDraggable",value:function(J){this.draggable=J}},{key:"remove",value:function(){this.emit("InnerEvents",{type:"node:delete",data:this})}},{key:"emit",value:function(J,Ke){b(k(Be.prototype),"emit",this).call(this,J,Ke),this._emit(J,Ke)}},{key:"on",value:function(J,Ke){b(k(Be.prototype),"on",this).call(this,J,Ke),this._on(J,Ke)}},{key:"destroy",value:function(J){J?(this.endpoints.forEach(function(Ke){!Ke._isInitedDom&&Ke.destroy(J)}),C(this.dom).detach()):(this.endpoints.forEach(function(Ke){!Ke._isInitedDom&&Ke.destroy()}),C(this.dom).remove(),this.removeAllListeners()),this._isInited=!1}}]),Be}(be),X=e("LvDl"),pe=20,ae=.1,Se=.01,Te="Left",je="Right",ft="Top",fe="Bottom",ie=function(we,Be){this.x=we,this.y=Be};function ge(ke,we){ke.orientation||(ke.orientation=et(we.pos[0],we.pos[1],ke.pos[0],ke.pos[1])),we.orientation||(we.orientation=et(ke.pos[0],ke.pos[1],we.pos[0],we.pos[1]));var Be=Math.abs(ke.pos[0]-we.pos[0]),Le=Math.abs(ke.pos[1]-we.pos[1]),J=ke.pos[0]<we.pos[0]?Be:0,Ke=ke.pos[1]<we.pos[1]?Le:0,We=ke.pos[0]<we.pos[0]?0:Be,Ot=ke.pos[1]<we.pos[1]?0:Le,Vt=ke.orientation,$t=we.orientation,Gt=Xe([J,Ke],ke,we,Vt,$t),hn=Xe([We,Ot],we,ke,$t,Vt),$n=ke.pos[0]<we.pos[0]?ke.pos[0]:we.pos[0],Sr=ke.pos[1]<we.pos[1]?ke.pos[1]:we.pos[1];Gt=[Gt[0]+$n,Gt[1]+Sr],hn=[hn[0]+$n,hn[1]+Sr];var vr=["M",ke.pos[0],ke.pos[1]];return vr=vr.concat(["C",hn[0],hn[1],Gt[0],Gt[1]]),vr=vr.concat([we.pos[0],we.pos[1]]),vr.join(" ")}function Ve(ke,we){ke.orientation||(ke.orientation=et(we.pos[0],we.pos[1],ke.pos[0],ke.pos[1])),we.orientation||(we.orientation=et(ke.pos[0],ke.pos[1],we.pos[0],we.pos[1]));var Be=Math.abs(ke.pos[0]-we.pos[0]),Le=Math.abs(ke.pos[1]-we.pos[1]),J=ke.orientation,Ke=we.orientation,We=Math.sqrt(Be*Be+Le*Le),Ot=.25,Vt=30,$t=0,Gt=0;J[0]!==0?$t=(We*Ot+Vt)*J[0]:J[1]!==0&&(Gt=(We*Ot+Vt)*J[1]);var hn=0,$n=0;Ke[0]!==0?hn=(We*Ot+Vt)*Ke[0]:Ke[1]!==0&&($n=(We*Ot+Vt)*Ke[1]);var Sr=[ke.pos[0]+$t,ke.pos[1]+Gt],vr=[we.pos[0]+hn,we.pos[1]+$n],zn=["M",ke.pos[0],ke.pos[1]];return zn=zn.concat(["C",Sr[0],Sr[1]],vr[0],vr[1]),zn=zn.concat([we.pos[0],we.pos[1]]),zn.join(" ")}function Ee(ke,we){var Be=["M",ke.pos[0],ke.pos[1],"L",we.pos[0],we.pos[1]];return Be.join(" ")}function Me(ke,we,Be){ke.orientation||(ke.orientation=et(we.pos[0],we.pos[1],ke.pos[0],ke.pos[1],Be)),we.orientation||(we.orientation=et(ke.pos[0],ke.pos[1],we.pos[0],we.pos[1],Be));var Le=30,J=.5,Ke=Math.abs(ke.pos[0]-we.pos[0]),We=Math.abs(ke.pos[1]-we.pos[1]),Ot=we.pos[0]<ke.pos[0]?Ke:0,Vt=we.pos[1]<ke.pos[1]?We:0,$t=we.pos[0]<ke.pos[0]?0:Ke,Gt=we.pos[1]<ke.pos[1]?0:We,hn=ke.pos[0]<we.pos[0]?ke.pos[0]:we.pos[0],$n=ke.pos[1]<we.pos[1]?ke.pos[1]:we.pos[1],Sr=ke.orientation,vr=we.orientation,zn=Sr[0]*vr[0]+Sr[1]*vr[1],Tr=Sr[0]===0?"y":"x",Qr=Ot+Sr[0]*Le,Qe=Vt+Sr[1]*Le,Jt=$t+vr[0]*Le,ln=Gt+vr[1]*Le,rn=Math.abs(Ot-$t)>Le+Le,An=Math.abs(Vt-Gt)>Le+Le,fr=null;zn===-1?fr="opposite":zn===0?fr="perpendicular":zn===1&&(fr="orthogonal");var Pr=function(){return[Qr,Qe,Jt,ln]},kr={perpendicular:Pr,orthogonal:Pr,opposite:function(ra){var ya=ra==="x"?0:1,Ra={x:function(){return Sr[ya]===1&&(Qr>Jt&&$t>Qr||Ot>Jt&&$t>Ot)||Sr[ya]===-1&&(Qr<Jt&&$t<Qr||Ot<Jt&&$t<Ot)},y:function(){return Sr[ya]===1&&(Qe>ln&&Gt>Qe||Vt>ln&&Gt>Vt)||Sr[ya]===-1&&(Qe<ln&&Gt<Qe||Vt<ln&&Gt<Vt)}};return Ra[ra]()?{x:[(Ot+$t)/2,Qe,(Ot+$t)/2,ln],y:[Qr,(Vt+Gt)/2,Jt,(Vt+Gt)/2]}[ra]:[Qr,Qe,Jt,ln]}},Ar=null,vi=null,Wi=[],di=function(ra){return ra<0?-1:ra===0?0:1},ri=function(ra,ya){if(!(Ar===ra&&vi===ya)){var Ra=Ar==null?Ot:Ar,Fa=vi==null?Vt:vi,Ca=Ra===ra?"v":"h",no=di(ra-Ra),No=di(ya-Fa);Ar=ra,vi=ya,Wi.push([Ra,Fa,ra,ya,Ca,no,No])}},yi=kr[fr](Tr),Si=Tr==="x"?0:1,zi=Tr==="x"?0:1,si=yi[Si],ii=yi[zi],Yi=yi[Si+2],La=yi[zi+2];ri(yi[0],yi[1]);var Wa=Qr+(Jt-Qr)*J,Ri=Qe+(ln-Qe)*J,Oa={x:[0,1],y:[1,0]},Ha={perpendicular:function(ra){var ya={x:[[[1,2,3,4],null,[2,1,4,3]],null,[[4,3,2,1],null,[3,4,1,2]]],y:[[[3,2,1,4],null,[2,3,4,1]],null,[[4,1,2,3],null,[1,4,3,2]]]},Ra={x:[[Qr,Jt],null,[Jt,Qr]],y:[[Qe,ln],null,[ln,Qe]]},Fa={x:[[Wa,Qe],[Wa,ln]],y:[[Qr,Ri],[Jt,Ri]]},Ca={x:[[Jt,Qe]],y:[[Qr,ln]]},no={x:[[Qr,ln],[Jt,ln]],y:[[Jt,Qe],[Jt,ln]]},No={x:[[Qr,Ri],[Jt,Ri],[Jt,ln]],y:[[Wa,Qe],[Wa,ln],[Jt,ln]]},es={x:[Qe,ln],y:[Qr,Jt]},ds=Oa[ra][0],Yr=Oa[ra][1],jr=Sr[ds]+1,Ei=vr[Yr]+1,gi=vr[Yr]===-1&&es[ra][1]<es[ra][0]||vr[Yr]===1&&es[ra][1]>es[ra][0],or=Ra[ra][jr][0],Ir=Ra[ra][jr][1],Ur=ya[ra][jr][Ei],Li=function($a,Ba){return Ba.pos[0]>$a.pos[0]||Ba.pos[0]==$a.pos[0]?Ba.pos[1]>$a.pos[1]?2:1:Ba.pos[1]>$a.pos[1]?3:4},oa=Li(ke,we);if(oa===Ur[3]||oa===Ur[2]&&gi)return Fa[ra];if(oa===Ur[2]&&Ir<or)return Ca[ra];if(oa===Ur[2]&&Ir>=or||oa===Ur[1]&&!gi)return No[ra];if(oa===Ur[0]||oa===Ur[1]&&gi)return no[ra]},orthogonal:function(ra,ya,Ra,Fa,Ca){var no={x:Sr[0]===-1?Math.min(ya,Fa):Math.max(ya,Fa),y:Sr[1]===-1?Math.min(ya,Fa):Math.max(ya,Fa)}[ra];return{x:[[no,Ra],[no,Ca],[Fa,Ca]],y:[[Ra,no],[Ca,no],[Ca,Fa]]}[ra]},opposite:function(ra,ya,Ra,Fa){var Ca=ra==="x"?rn:An;if(!(ke.pos[0]===we.pos[0]&&ke.pos[1]===we.pos[1])){if(!Ca||Sr[Si]===1&&ya>Fa||Sr[Si]===-1&&ya<Fa)return{x:[[ya,Ri],[Fa,Ri]],y:[[Wa,ya],[Wa,Fa]]}[ra];if(Sr[Si]===1&&ya<Fa||Sr[Si]===-1&&ya>Fa)return{x:[[Wa,Vt],[Wa,Gt]],y:[[Ot,Ri],[$t,Ri]]}[ra]}}},Za=Ha[fr](Tr,si,ii,Yi,La);if(Za)for(var co=0;co<Za.length;Za++)ri(Za[co][0],Za[co][1]);return ri(yi[2],yi[3]),ri($t,Gt),Re(Wi,{x:hn,y:$n})}function _e(ke,we){ke.orientation||(ke.orientation=et(we.pos[0],we.pos[1],ke.pos[0],ke.pos[1])),we.orientation||(we.orientation=et(ke.pos[0],ke.pos[1],we.pos[0],we.pos[1]));var Be=[],Le={x:ke.pos[0],y:ke.pos[1]},J={x:we.pos[0],y:we.pos[1]},Ke={"-10":Te,"10":je,"0-1":ft,"01":fe};if(it(Be,Le,Ke[ke.orientation.join("")],J,Ke[we.orientation.join("")]),Be.length<2)return"";var We=Be.reduce(function(Ot,Vt){return Ot.push(["L",Vt.x,Vt.y].join(" ")),Ot},[["M",Be[0].x,Be[0].y].join(" ")]).join(" ");return We}function Re(ke,we){for(var Be=null,Le=null,J=1,Ke=[],We=function(Sr){return["M",Sr.x1+we.x,Sr.y1+we.y,"L",Sr.x2+we.x,Sr.y2+we.y]},Ot=0;Ot<ke.length-1;Ot++){Be=Be||X.cloneDeep(ke[Ot]),Le=X.cloneDeep(ke[Ot+1]);{var Vt=Be[2]===Be[0]?0:Be[2]>Be[0]?J/2:-(J/2),$t=Be[3]===Be[1]?0:Be[3]>Be[1]?J/2:-(J/2),Gt=We({x1:Be[0]-Vt,y1:Be[1]-$t,x2:Be[2]+Vt,y2:Be[3]+$t});Ke=Ke.concat(Gt)}Be=Le}if(Le!==null){var hn=We({x1:Le[0],y1:Le[1],x2:Le[2],y2:Le[3]});Ke=Ke.concat(hn)}return Ke.join(" ")}function et(ke,we,Be,Le,J){var Ke=function(hn){if(J){for(var $n=function(Tr){var Qr=X.some(J,function(Qe){return Qe===hn[Tr]});if(Qr)return{v:hn[Tr]}},Sr=0;Sr<hn.length;Sr++){var vr=$n(Sr);if(h(vr)==="object")return vr.v}return hn[0]}else return hn[0]},We=Be-ke,Ot=Le-we,Vt=null,$t=Math.abs(Ot/We);switch(We===0||Ot===0?(We===0&&(Vt=Ot>=0?Ke(["Top","Left","Right","Bottom"]):Vt,Vt=Ot<0?Ke(["Bottom","Left","Right","Top"]):Vt),Ot===0&&(Vt=We>=0?Ke(["Right","Top","Bottom","Left"]):Vt,Vt=We<0?Ke(["Left","Top","Bottom","Right"]):Vt)):We>0&&Ot>0?$t>1?Vt=Ke(["Top","Left","Right","Bottom"]):Vt=Ke(["Left","Top","Bottom","Right"]):We<0&&Ot>0?$t>1?Vt=Ke(["Top","Right","Left","Bottom"]):Vt=Ke(["Right","Top","Bottom","Left"]):We<0&&Ot<0?$t>1?Vt=Ke(["Bottom","Right","Left","Top"]):Vt=Ke(["Right","Bottom","Top","Left"]):$t>1?Vt=Ke(["Bottom","Left","Right","Top"]):Vt=Ke(["Left","Bottom","Top","Right"]),Vt){case"Left":return[-1,0];case"Right":return[1,0];case"Top":return[0,-1];case"Bottom":return[0,1]}}function Xe(ke,we,Be,Le,J){var Ke=10,We=10,Ot=[];if(we.pos[0]===Be.pos[0]&&Le[1]!==J[1]&&Le[0]===0&&J[0]===0)return Ot=[ke[0],ke[1]+Ke*Le[1]],Ot;if(we.pos[1]===Be.pos[1]&&Le[0]!==J[0]&&Le[1]===0&&J[1]===0)return Ot=[ke[0]+Ke*Le[0],ke[1]],Ot;var Vt=Le[0]!==J[0]||Le[1]===J[1];return Vt?(J[0]===0?Ot.push(Be.pos[0]<we.pos[0]?ke[0]+We:ke[0]-We):Ot.push(ke[0]+Ke*J[0]),J[1]===0?Ot.push(Be.pos[1]<we.pos[1]?ke[1]+We:ke[1]-We):Ot.push(ke[1]+Ke*Le[1])):(Le[0]===0?Ot.push(we.pos[0]<Be.pos[0]?ke[0]+We:ke[0]-We):Ot.push(ke[0]-Ke*Le[0]),Le[1]===0?Ot.push(we.pos[1]<Be.pos[1]?ke[1]+We:ke[1]-We):Ot.push(ke[1]-Ke*J[1])),Ot}function it(ke,we,Be,Le,J){we.x=we.x||0,we.y=we.y||0,Le.x=Le.x||0,Le.y=Le.y||0;var Ke=we.x-Le.x,We=we.y-Le.y,Ot,Vt,$t;if(ke.push(new ie(we.x,we.y)),Ke*Ke<Se&&We*We<Se){ke.push(new ie(Le.x,Le.y));return}Be===Te?Ke>0&&We*We<ae&&J===je?(Ot=Le,Vt=J):(Ke<0?Ot=new ie(we.x-pe,we.y):We>0&&J===fe||We<0&&J===ft?Ot=new ie(Le.x,we.y):Be===J?($t=Math.min(we.x,Le.x)-pe,Ot=new ie($t,we.y)):Ot=new ie(we.x-Ke/2,we.y),We>0?Vt=ft:Vt=fe):Be===je?Ke<0&&We*We<ae&&J===Te?(Ot=Le,Vt=J):(Ke>0?Ot=new ie(we.x+pe,we.y):We>0&&J===fe||We<0&&J===ft?Ot=new ie(Le.x,we.y):Be===J?($t=Math.max(we.x,Le.x)+pe,Ot=new ie($t,we.y)):Ot=new ie(we.x-Ke/2,we.y),We>0?Vt=ft:Vt=fe):Be===fe?Ke*Ke<ae&&We<0&&J===ft?(Ot=Le,Vt=J):(We>0?Ot=new ie(we.x,we.y+pe):Ke>0&&J===je||Ke<0&&J===Te?Ot=new ie(we.x,Le.y):Be===J?($t=Math.max(we.y,Le.y)+pe,Ot=new ie(we.x,$t)):Ot=new ie(we.x,we.y-We/2),Ke>0?Vt=Te:Vt=je):Be===ft&&(Ke*Ke<ae&&We>0&&J===fe?(Ot=Le,Vt=J):(We<0?Ot=new ie(we.x,we.y-pe):Ke>0&&J===je||Ke<0&&J===Te?Ot=new ie(we.x,Le.y):Be===J?($t=Math.min(we.y,Le.y)-pe,Ot=new ie(we.x,$t)):Ot=new ie(we.x,we.y-We/2),Ke>0?Vt=Te:Vt=je)),it(ke,Ot,Vt,Le,J)}var bt={drawBezier:ge,drawAdvancedBezier:Ve,drawStraight:Ee,drawFlow:Me,drawManhattan:_e},Ct={default1:"M0 0 L-3 3 L2 0 L-3 -3 Z",default:"M5 0 L0 -2 Q 1.0 0 0 2 Z",length:5};function Bt(ke){var we=i.default.get(ke,"shapeType"),Be=i.default.get(ke,"dom"),Le=i.default.get(ke,"arrowPosition",.5),J=i.default.get(ke,"path"),Ke=J.split(" "),We=0,Ot=0;if(we==="BezierTest"||we==="AdvancedBezierTest"){var Vt={x:Ke[8],y:Ke[9]},$t={x:Ke[1],y:Ke[2]};Le!==1?(Vt=Be.getPointAtLength(Be.getTotalLength()*Le+.001),$t=Be.getPointAtLength(Be.getTotalLength()*Le)):(Vt=Be.getPointAtLength(Be.getTotalLength()*Le),$t=Be.getPointAtLength(Be.getTotalLength()*Le-.001)),We=$t.x-Vt.x,Ot=$t.y-Vt.y}else if(we==="Straight"){var Gt={x:Ke[1],y:Ke[2]},hn={x:Ke[4],y:Ke[5]};We=hn.x-Gt.x,Ot=hn.y-Gt.y}else{var $n=0,Sr=1;Le!==1?($n=Be.getPointAtLength(Be.getTotalLength()*Le),Sr=Be.getPointAtLength(Be.getTotalLength()*Le+.001)):($n=Be.getPointAtLength(Be.getTotalLength()*Le-.001),Sr=Be.getPointAtLength(Be.getTotalLength()*Le)),We=Sr.x-$n.x,Ot=Sr.y-$n.y}return{x:We,y:Ot}}var qe={calcSlope:Bt,arrow:Ct},st=e("EVdn"),ut=new Date().getTime(),nt=function(we){ut=new Date().getTime()},kt=function(we,Be){var Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},J=arguments.length>3?arguments[3]:void 0,Ke=J,We=null,Ot=null;if(Ke||(We=document.createElementNS("http://www.w3.org/2000/svg","circle"),Ot=document.createElementNS("http://www.w3.org/2000/svg","animateMotion"),We.append(Ot)),Le._isContinue)st(Ke).find("animateMotion").attr("path",Be);else{var Vt=(new Date().getTime()-ut)/1e3;Ke&&(We=Ke,Ot=st(Ke).find("animateMotion")[0],st(We).css("display","block")),We.setAttribute("cx",0),We.setAttribute("cy",0),We.setAttribute("r",Le.radius||2),We.setAttribute("fill",Le.color||"#999"),Ot.setAttribute("path",Be),Ot.setAttribute("begin","".concat(Vt,"s")),Ot.setAttribute("dur",Le.dur||"8s"),Ot.setAttribute("fill","freeze"),Ot.setAttribute("repeatCount",Le.repeatCount||"indefinite"),Le.repeatCount&&Le.repeatCount!=="indefinite"&&setTimeout(function(){st(We).css("display","none")},parseFloat(Le.dur)*parseInt(Le.repeatCount)*1e3)}return Ke||(Ke=We,st(Ke).insertAfter(we)),Ke},Sn={init:nt,addAnimate:kt},Tt=e("uhBA"),ht=function(ke){S(Be,ke);var we=A(Be);function Be(){return t(this,Be),we.call(this)}return p(Be,[{key:"draw",value:function(){}},{key:"redraw",value:function(){}},{key:"drawLabel",value:function(){}},{key:"redrawLabel",value:function(){}},{key:"drawArrow",value:function(){}},{key:"redrawArrow",value:function(){}},{key:"isConnect",value:function(){}},{key:"destroy",value:function(){}},{key:"remove",value:function(){}},{key:"click",value:function(){}},{key:"hover",value:function(){}},{key:"focus",value:function(){}},{key:"unFocus",value:function(){}}]),Be}(Tt),Rt=e("LvDl"),Ft=e("EVdn"),nn=function(ke){S(Be,ke);var we=A(Be);function Be(Le){var J;return t(this,Be),J=we.call(this,Le),J.id=Rt.get(Le,"id"),J.targetNode=Rt.get(Le,"targetNode"),J._targetType=Rt.get(Le,"_targetType"),J.targetEndpoint=Rt.get(Le,"targetEndpoint"),J.sourceNode=Rt.get(Le,"sourceNode"),J._sourceType=Rt.get(Le,"_sourceType"),J.sourceEndpoint=Rt.get(Le,"sourceEndpoint"),J.type=Rt.get(Le,"type")||"endpoint",J.orientationLimit=Rt.get(Le,"orientationLimit"),J.shapeType=Rt.get(Le,"shapeType"),J.label=Rt.get(Le,"label"),J.arrow=Rt.get(Le,"arrow"),J.arrowPosition=Rt.get(Le,"arrowPosition",.5),J.arrowOffset=Rt.get(Le,"arrowOffset",0),J.isExpandWidth=Rt.get(Le,"isExpandWidth",!1),J.defaultAnimate=Rt.get(Le,"defaultAnimate",!1),J.dom=null,J.labelDom=null,J.arrowDom=null,J.eventHandlerDom=null,J.__type="edge",J._path=null,J.options=Rt.get(Le,"options")||Le,J._isDeletingEdge=Le._isDeletingEdge,J._global=Le._global,J._on=Le._on,J._emit=Le._emit,J._labelWidth=0,J._labelHeight=0,J._updateTimer=null,J._UPDATE_INTERVAL=20,J._sourcePoint=null,J._targetPoint=null,J._zIndex=0,J}return p(Be,[{key:"_init",value:function(){this._isInited||(this._isInited=!0,this.dom=this.draw({id:this.id,dom:this.dom,options:this.options}),this.labelDom=this.drawLabel(this.label),this.arrowDom=this.drawArrow(this.arrow),this._addEventListener())}},{key:"draw",value:function(J){var Ke=document.createElementNS("http://www.w3.org/2000/svg","path");return Ke.setAttribute("class","butterflies-link"),this.isExpandWidth&&(this.eventHandlerDom=document.createElementNS("http://www.w3.org/2000/svg","path"),this.eventHandlerDom.setAttribute("class","butterflies-link-event-handler")),Ke}},{key:"mounted",value:function(){this.defaultAnimate&&this.addAnimate()}},{key:"_calcPath",value:function(J,Ke){J||(J={pos:[this.type==="endpoint"?this.sourceEndpoint._posLeft+this.sourceEndpoint._width/2:this.sourceNode.left+Ft(this.sourceNode.dom).width()/2,this.type==="endpoint"?this.sourceEndpoint._posTop+this.sourceEndpoint._height/2:this.sourceNode.top+Ft(this.sourceNode.dom).height()/2],orientation:this.type==="endpoint"&&this.sourceEndpoint.orientation?this.sourceEndpoint.orientation:void 0}),Ke||(Ke={pos:[this.type==="endpoint"?this.targetEndpoint._posLeft+this.targetEndpoint._width/2:this.targetNode.left+Ft(this.targetNode.dom).width()/2,this.type==="endpoint"?this.targetEndpoint._posTop+this.targetEndpoint._height/2:this.targetNode.top+Ft(this.targetNode.dom).height()/2],orientation:this.type==="endpoint"&&this.targetEndpoint.orientation?this.targetEndpoint.orientation:void 0}),this._sourcePoint=J,this._targetPoint=Ke;var We="";return this.calcPath?We=this.calcPath(J,Ke):this.shapeType==="Bezier"?We=bt.drawBezier(J,Ke):this.shapeType==="Straight"?We=bt.drawStraight(J,Ke):this.shapeType==="Flow"?We=bt.drawFlow(J,Ke,this.orientationLimit):this.shapeType==="Manhattan"?We=bt.drawManhattan(J,Ke):this.shapeType==="AdvancedBezier"&&(We=bt.drawAdvancedBezier(J,Ke)),this._path=We,We}},{key:"redrawLabel",value:function(){var J=this.dom.getTotalLength()/2,Ke=this.dom.getPointAtLength(J);Ft(this.labelDom).css("left",Ke.x-this.labelDom.offsetWidth/2).css("top",Ke.y-this.labelDom.offsetHeight/2)}},{key:"drawLabel",value:function(J){var Ke=(typeof HTMLElement=="undefined"?"undefined":h(HTMLElement))==="object"?function(Ot){return Ot instanceof HTMLElement}:function(Ot){return Ot&&h(Ot)==="object"&&Ot.nodeType===1&&typeof Ot.nodeName=="string"};if(J){if(Ke(J))return Ft(J).addClass("butterflies-label"),J;var We=document.createElement("span");return We.className="butterflies-label",We.innerText=J,We}}},{key:"updateLabel",value:function(J){var Ke=this.drawLabel(J);this.labelDom&&(Ft(this.labelDom).off(),Ft(this.labelDom).remove()),this.label=J,this.labelDom=Ke,this.emit("InnerEvents",{type:"edge:updateLabel",data:this})}},{key:"redrawArrow",value:function(J){var Ke=this.dom.getTotalLength();if(!!Ke){this.arrowFinalPosition=(Ke*this.arrowPosition+this.arrowOffset)/Ke,this.arrowFinalPosition>1&&(this.arrowFinalPosition=1),this.arrowFinalPosition<0&&(this.arrowFinalPosition=0),1-this.arrowFinalPosition<qe.arrow.length/Ke&&(this.arrowFinalPosition=(Ke*this.arrowFinalPosition-qe.arrow.length)/Ke),this.shapeType==="Bezier"&&(this.arrowFinalPosition=1-this.arrowFinalPosition);var We=this.dom.getPointAtLength(Ke*this.arrowFinalPosition),Ot=We.x,Vt=We.y,$t=qe.calcSlope({shapeType:this.shapeType,dom:this.dom,arrowPosition:this.arrowFinalPosition,path:J}),Gt=Math.atan2($t.y,$t.x)/Math.PI*180;this.arrowDom.setAttribute("d",qe.arrow.default),this.arrowDom.setAttribute("transform","rotate(".concat(Gt,", ").concat(Ot,", ").concat(Vt,")translate(").concat(Ot,", ").concat(Vt,")"))}}},{key:"drawArrow",value:function(J){if(J){var Ke=document.createElementNS("http://www.w3.org/2000/svg","path");return Ke.setAttribute("class","butterflies-arrow"),Ke}}},{key:"redraw",value:function(J,Ke,We){var Ot=this,Vt=this._calcPath(J,Ke);this.dom.setAttribute("d",Vt),this.isExpandWidth&&(this.eventHandlerDom.setAttribute("d",Vt),Ft(this.eventHandlerDom).insertAfter(this.dom)),this._updateTimer||(this._updateTimer=setTimeout(function(){Ot.labelDom&&Ot.redrawLabel(),Ot.arrowDom&&Ot.redrawArrow(Vt),Ot.animateDom&&Ot.redrawAnimate(Vt),Ot._updateTimer=null},this._UPDATE_INTERVAL)),this.updated&&this.updated()}},{key:"isConnect",value:function(){return!0}},{key:"addAnimate",value:function(J){this.animateDom=Sn.addAnimate(this.dom,this._path,Rt.assign({},{num:1,radius:3,color:"#776ef3"},J),this.animateDom)}},{key:"redrawAnimate",value:function(J){Sn.addAnimate(this.dom,this._path,{_isContinue:!0},this.animateDom)}},{key:"emit",value:function(J,Ke){b(k(Be.prototype),"emit",this).call(this,J,Ke),this._emit(J,Ke)}},{key:"on",value:function(J,Ke){b(k(Be.prototype),"on",this).call(this,J,Ke),this._on(J,Ke)}},{key:"remove",value:function(){this.emit("InnerEvents",{type:"edge:delete",data:this})}},{key:"setZIndex",value:function(J){this.emit("InnerEvents",{type:"edge:setZIndex",edge:this,index:J})}},{key:"destroy",value:function(J){this.labelDom&&(Ft(this.labelDom).off(),Ft(this.labelDom).remove()),this.arrowDom&&Ft(this.arrowDom).remove(),this.eventHandlerDom&&(Ft(this.eventHandlerDom).off(),Ft(this.eventHandlerDom).remove()),this.animateDom&&Ft(this.animateDom).remove(),Ft(this.dom).remove(),this.id&&!J&&this.removeAllListeners()}},{key:"_addEventListener",value:function(){var J=this,Ke=function(Ot){Ot.preventDefault(),Ot.stopPropagation(),J.emit("system.link.click",{edge:J}),J.emit("events",{type:"link:click",edge:J}),J.emit("InnerEvents",{type:"link:click",data:J})};this.isExpandWidth?Ft(this.eventHandlerDom).on("click",Ke):Ft(this.dom).on("click",Ke)}},{key:"_create",value:function(J){this.id=Rt.get(J,"id")||this.id,this.targetNode=Rt.get(J,"targetNode")||this.targetNode,this._targetType=Rt.get(J,"_targetType")||this._targetType,this.targetEndpoint=Rt.get(J,"targetEndpoint")||this.targetEndpoint,this.sourceNode=Rt.get(J,"sourceNode")||this.sourceNode,this._sourceType=Rt.get(J,"_sourceType")||this._sourceType,this.sourceEndpoint=Rt.get(J,"sourceEndpoint")||this.sourceEndpoint,this.type=Rt.get(J,"type")||this.type,Rt.set(this,"options.targetNode",Rt.get(this,"targetNode.id")),Rt.set(this,"options.targetEndpoint",Rt.get(this,"targetEndpoint.id")),this.redraw()}}]),Be}(ht),bn=e("uhBA"),sn=function(ke){S(Be,ke);var we=A(Be);function Be(){return t(this,Be),we.call(this)}return p(Be,[{key:"draw",value:function(){}},{key:"addNode",value:function(){}},{key:"addNodes",value:function(){}},{key:"getWidth",value:function(){}},{key:"getHeight",value:function(){}},{key:"removeNode",value:function(){}},{key:"removeNodes",value:function(){}},{key:"setResize",value:function(){}},{key:"setSize",value:function(){}},{key:"moveTo",value:function(){}},{key:"getEndpoint",value:function(){}},{key:"addEndpoint",value:function(){}},{key:"remove",value:function(){}},{key:"destroy",value:function(){}},{key:"removeEndpoint",value:function(){}},{key:"collapse",value:function(){}},{key:"stretch",value:function(){}},{key:"click",value:function(){}},{key:"doubleClick",value:function(){}},{key:"onContextmenu",value:function(){}},{key:"hover",value:function(){}},{key:"focus",value:function(){}},{key:"unFocus",value:function(){}}]),Be}(bn),un=e("LvDl"),Ht=function(we,Be,Le){var J=(we||"").split(" ").filter(function(Vt){return!!Vt}),Ke=(Be||"").split(" ").filter(function(Vt){return!!Vt});if(!Le&&(!we||!Be))return!0;if(Le&&!we&&!Be)return!0;var We=J.concat(Ke),Ot=un.uniq(We);return We.length!==Ot.length},jn=e("EVdn"),Ln=e("LvDl"),Un=function(ke){S(Be,ke);var we=A(Be);function Be(Le){var J;return t(this,Be),J=we.call(this,Le),J.id=Le.id,J.scope=Le.scope,J.top=Le.top,J.left=Le.left,J.width=Le.width||300,J.height=Le.height||150,J.resize=Le.resize,J.draggable=Le.draggable,J.dom=null,J.nodes=[],J.options=Le.options,J.__type="group",J._global=Le._global,J._on=Le._on,J._emit=Le._emit,J._container=null,J.endpoints=[],J._endpointsData=Le.endpoints,J}return p(Be,[{key:"init",value:function(){this.dom=this.draw({id:this.id,top:this.top,left:this.left,width:this.width,height:this.height,dom:this.dom,options:this.options}),this._addEventListener()}},{key:"draw",value:function(J){var Ke=J.dom;Ke||(Ke=jn("<div></div>").attr("class","group").attr("id",J.id));var We=jn(Ke),Ot=jn("<div></div>").attr("class","title");return Ln.get(this,"options.title")&&Ot.text(Ln.get(this,"options.title")),We.append(Ot),this._container=jn("<div></div>").attr("class","container"),We.append(this._container),this.resize!==!1&&this.setResize(!0,We),J.top!==void 0&&We.css("top",J.top+"px"),J.left!==void 0&&We.css("left",J.left+"px"),J.width!==void 0&&We.css("width",J.width+"px"),J.height!==void 0&&We.css("height",J.height+"px"),this.updated&&this.updated(),We[0]}},{key:"addNodes",value:function(){var J=this,Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],We=arguments.length>1?arguments[1]:void 0;Ke.forEach(function(Ot){Ht(Ot.scope,J.scope,Ln.get(J,"_global.isScopeStrict"))||console.log("nodeId\u4E3A".concat(Ot.id,"\u7684\u8282\u70B9\u548CgroupId").concat(J.id,"\u7684\u8282\u70B9\u7EC4scope\u503C\u4E0D\u7B26\uFF0C\u65E0\u6CD5\u52A0\u5165"))}),this.emit("InnerEvents",{type:"group:addNodes",nodes:Ke,group:this,isNotEventEmit:We})}},{key:"addNode",value:function(J){this.addNodes([J])}},{key:"removeNodes",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ke=arguments.length>1?arguments[1]:void 0,We=[];return this.nodes.forEach(function(Ot){var Vt=Ln.find(J,function($t){return $t.id===Ot.id});Vt&&We.push(Vt)}),this.emit("InnerEvents",{type:"group:removeNodes",group:this,nodes:We,isNotEventEmit:Ke}),Ke||(this.emit("events",w({type:"system.group.removeNodes",group:this,nodes:We},"group",targetGroup)),this.emit("system.group.removeNodes",w({group:this,nodes:We},"group",targetGroup))),We}},{key:"removeNode",value:function(J){return this.removeNodes([J])}},{key:"setResize",value:function(J){var Ke=this,We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.dom,Ot=arguments.length>2?arguments[2]:void 0,Vt=function(hn){var $n=0;hn.button===$n&&(hn.preventDefault(),Ke.emit("InnerEvents",{type:"group:resize",group:Ke}))};if(J){var $t=null;Ot?($t=jn(Ot),$t.addClass("butterfly-group-icon-resize")):$t=jn('<span class="butterfly-group-icon-resize group-icon-resize butterfly-icon icon-drag"></span>'),$t.appendTo(We),$t.on("mousedown",Vt)}}},{key:"setSize",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.width,Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.height;this.width=J,this.height=Ke,jn(this.dom).css("width",this.width).css("height",this.height)}},{key:"remove",value:function(){this.emit("InnerEvents",{type:"group:delete",data:this})}},{key:"_moveTo",value:function(J,Ke){var We=this;jn(this.dom).css("top",Ke).css("left",J),this.nodes.forEach(function(Ot){Ot.endpoints.forEach(function(Vt){Vt.updatePos()})}),this.endpoints.forEach(function(Ot){Ot.moveTo(J-We.left+Ot._left,Ke-We.top+Ot._top)}),this.top=Ke,this.left=J}},{key:"moveTo",value:function(J,Ke,We){this.emit("InnerEvents",{type:"group:move",group:this,x:J,y:Ke,isNotEventEmit:We})}},{key:"focus",value:function(){}},{key:"unFocus",value:function(){}},{key:"getWidth",value:function(){return this.width}},{key:"getHeight",value:function(){return this.height}},{key:"getEndpoint",value:function(J){return Ln.find(this.endpoints,function(Ke){return J===Ke.id})}},{key:"_appendNodes",value:function(){var J=this,Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ke.forEach(function(We){We._group=J,We.group=J.id,jn(J.dom).append(We.dom),J.nodes.push(We)})}},{key:"_addEventListener",value:function(){var J=this;jn(this.dom).on("click",function(Ke){Ke.preventDefault(),Ke.stopPropagation(),J.emit("system.group.click",{group:J}),J.emit("events",{type:"group:click",group:J})}),jn(this.dom).on("mousedown",function(Ke){var We=Ln.some(J.nodes,function(Vt){return Vt._isMoving});if(!We&&jn(Ke.target).attr("class").indexOf("butterfly-group-icon-resize")===-1){var Ot=0;Ke.button===Ot&&(Ke.preventDefault(),J.draggable&&J.emit("InnerEvents",{type:"group:dragBegin",data:J}))}})}},{key:"_createEndpoint",value:function(J){var Ke=this;J?this.endpoints.forEach(function(We){return Ke.addEndpoint(We,J)}):this._endpointsData&&this._endpointsData.map(function(We){return Ke.addEndpoint(We)})}},{key:"addEndpoint",value:function(J,Ke){if(Ke)return this.emit("InnerEvents",{type:"group:addEndpoint",data:J,isInited:Ke}),J;var We=J.Class||y,Ot=new We(Ln.assign({_on:this._on,_emit:this._emit,_node:this,_global:this._global},J));return this.emit("InnerEvents",{type:"group:addEndpoint",data:Ot}),this.endpoints.push(Ot),Ot}},{key:"emit",value:function(J,Ke){b(k(Be.prototype),"emit",this).call(this,J,Ke),this._emit(J,Ke)}},{key:"on",value:function(J,Ke){b(k(Be.prototype),"on",this).call(this,J,Ke),this._on(J,Ke)}},{key:"destroy",value:function(J){this.endpoints.forEach(function(Ke){!Ke._isInitedDom&&Ke.destroy()}),jn(this.dom).off(),jn(this.dom).remove(),J||(this._emit("system.group.delete",{group:this}),this._emit("events",{type:"group:delete",group:this}),this.removeAllListeners())}}]),Be}(sn);function lt(ke){var we=ke.radius,Be=ke.data.nodes.filter(function(We){return We._isCircle}),Le=360/Be.length,J=0;ke.getWidth&&(J=ke.getWidth()/2);var Ke=0;ke.getHeight&&(J=ke.getHeight()/2),Be.forEach(function(We,Ot){var Vt=2*Math.PI/360,$t=Ot*Le,Gt=we*Math.sin($t*Vt)-Ke,hn=we*Math.cos($t*Vt)-J,$n=(we+30)*Math.sin($t*Vt)-Ke,Sr=(we+30)*Math.cos($t*Vt)-J;We.top=Gt,We.left=hn,We.posInfo={angle:$t,_textTop:$n,_textLeft:Sr}})}var Nt={circleLayout:lt},zt=800;function en(ke){var we=ke.opts,Be=ke.data.nodes,Le=we.center;if(!(!Be||Be.length===0)){if(Be.length===1){Be[0].x=Le[0],Be[0].y=Le[1];return}var J={},Ke={};Be.forEach(function(We,Ot){_.isNumber(We.x)||(We.x=Math.random()*we.width),_.isNumber(We.y)||(We.y=Math.random()*we.height),J[We.id]=We,Ke[We.id]=Ot}),we.nodeMap=J,we.nodeIdxMap=Ke,tn(ke)}}function tn(ke){var we=ke.opts,Be=ke.data.nodes,Le=ke.data.edges,J=we.maxIteration;!we.width&&typeof window!="undefined"&&(we.width=window.innerWidth),!we.height&&typeof window!="undefined"&&(we.height=window.innerHeight);var Ke=we.center,We=we.width/10,Ot=Math.sqrt(we.width*we.height/(Be.length+1)),Vt=we.gravity,$t=we.speed,Gt=we.clustering,hn={};if(Gt){Be.forEach(function(zn){if(hn[zn.cluster]===void 0){var Tr={name:zn.cluster,cx:0,cy:0,count:0};hn[zn.cluster]=Tr}var Qr=hn[zn.cluster];_.isNumber(zn.x)&&(Qr.cx+=zn.x),_.isNumber(zn.y)&&(Qr.cy+=zn.y),Qr.count++});for(var $n in hn)hn[$n].cx/=hn[$n].count,hn[$n].cy/=hn[$n].count}for(var Sr=function(Tr){var Qr=[];if(Be.forEach(function(rn,An){Qr[An]={x:0,y:0}}),wn(Be,Le,Qr,Ot,we),Gt){var Qe=we.clusterGravity||Vt;Be.forEach(function(rn,An){if(!(!_.isNumber(rn.x)||!_.isNumber(rn.y))){var fr=hn[rn.cluster],Pr=Math.sqrt((rn.x-fr.cx)*(rn.x-fr.cx)+(rn.y-fr.cy)*(rn.y-fr.cy)),kr=Ot*Qe;Qr[An].x-=kr*(rn.x-fr.cx)/Pr,Qr[An].y-=kr*(rn.y-fr.cy)/Pr}});for(var Jt in hn)hn[Jt].cx=0,hn[Jt].cy=0,hn[Jt].count=0;Be.forEach(function(rn){var An=hn[rn.cluster];_.isNumber(rn.x)&&(An.cx+=rn.x),_.isNumber(rn.y)&&(An.cy+=rn.y),An.count++});for(var ln in hn)hn[ln].cx/=hn[ln].count,hn[ln].cy/=hn[ln].count}Be.forEach(function(rn,An){if(!(!_.isNumber(rn.x)||!_.isNumber(rn.y))){var fr=.01*Ot*Vt;Qr[An].x-=fr*(rn.x-Ke[0]),Qr[An].y-=fr*(rn.y-Ke[1])}}),Be.forEach(function(rn,An){if(!(!_.isNumber(rn.x)||!_.isNumber(rn.y))){var fr=Math.sqrt(Qr[An].x*Qr[An].x+Qr[An].y*Qr[An].y);if(fr>0){var Pr=Math.min(We*($t/zt),fr);rn.x+=Qr[An].x/fr*Pr,rn.y+=Qr[An].y/fr*Pr}}})},vr=0;vr<J;vr++)Sr()}function wn(ke,we,Be,Le,J){on(ke,Be,Le),vn(we,Be,Le,J)}function on(ke,we,Be){ke.forEach(function(Le,J){we[J]={x:0,y:0},ke.forEach(function(Ke,We){if(J!==We&&!(!_.isNumber(Le.x)||!_.isNumber(Ke.x)||!_.isNumber(Le.y)||!_.isNumber(Ke.y))){var Ot=Le.x-Ke.x,Vt=Le.y-Ke.y,$t=Ot*Ot+Vt*Vt;if($t===0){$t=1;var Gt=J>We?1:-1;Ot=.01*Gt,Vt=.01*Gt}var hn=Be*Be/$t;we[J].x+=Ot*hn,we[J].y+=Vt*hn}})})}function vn(ke,we,Be,Le){ke.forEach(function(J){if(!(!J.source||!J.target)){var Ke=Le.nodeIdxMap[J.source],We=Le.nodeIdxMap[J.target];if(Ke!==We){var Ot=Le.nodeMap[J.source],Vt=Le.nodeMap[J.target];if(!(!_.isNumber(Vt.x)||!_.isNumber(Ot.x)||!_.isNumber(Vt.y)||!_.isNumber(Ot.y))){var $t=Vt.x-Ot.x,Gt=Vt.y-Ot.y,hn=Math.sqrt($t*$t+Gt*Gt),$n=hn*hn/Be;we[We].x-=$t/hn*$n,we[We].y-=Gt/hn*$n,we[Ke].x+=$t/hn*$n,we[Ke].y+=Gt/hn*$n}}}})}var dt=en;function ct(ke){var we=ke.opts,Be=ke.data.nodes,Le=Be.length,J=we.center;if(Le!==0){if(Le===1){Be[0].x=J[0],Be[0].y=J[1],Be[0].left=J[0],Be[0].top=J[1];return}var Ke=ke.data.edges,We=[];Be.forEach(function(zn){We.push(zn)});var Ot={};if(We.forEach(function(zn,Tr){Ot[zn.id]=Tr}),(we.sortBy==="degree"||typeof we.sortBy=="string"||We[0][we.sortBy]===void 0)&&(we.sortBy="degree",isNaN(Be[0].degree))){var Vt=Kt(We.length,Ot,Ke);We.forEach(function(zn,Tr){zn.degree=Vt[Tr]})}We.sort(function(zn,Tr){return Tr[we.sortBy]-zn[we.sortBy]}),!we.width&&typeof window!="undefined"&&(we.width=window.innerWidth),!we.height&&typeof window!="undefined"&&(we.height=window.innerHeight);var $t=we.rows,Gt=we.cols!=null?we.cols:we.columns;we.cells=Le,$t!=null&&Gt!=null?(we.rows=$t,we.cols=Gt):$t!=null&&Gt==null?(we.rows=$t,we.cols=Math.ceil(we.cells/we.rows)):$t==null&&Gt!=null?(we.cols=Gt,we.rows=Math.ceil(we.cells/we.cols)):(we.splits=Math.sqrt(we.cells*we.height/we.width),we.rows=Math.round(we.splits),we.cols=Math.round(we.width/we.height*we.splits)),we.cellWidth=we.width/we.cols,we.cellHeight=we.height/we.rows,we.condense&&(we.cellWidth=0,we.cellHeight=0),we.preventOverlap&&We.forEach(function(zn){(!zn.x||!zn.y)&&(zn.x=0,zn.y=0);var Tr,Qr;typeof zn.size=="number"&&(Tr=zn.size,Qr=zn.size),(Tr===void 0||Qr===void 0)&&(typeof zn.nodeSize=="number"?(Tr=we.nodeSize,Qr=we.nodeSize):(Tr=30,Qr=30));var Qe=we.preventOverlapPadding,Jt=Tr+Qe,ln=Qr+Qe;we.cellWidth=Math.max(we.cellWidth,Jt),we.cellHeight=Math.max(we.cellHeight,ln)}),we.cellUsed={},we.row=0,we.col=0,we.id2manPos={};for(var hn=0;hn<We.length;hn++){var $n=We[hn],Sr=void 0;if(we.position&&(Sr=we.position($n)),Sr&&(Sr.row!==void 0||Sr.col!==void 0)){var vr={row:Sr.row,col:Sr.col};if(vr.col===void 0)for(vr.col=0;kn(vr.row,vr.col,we);)vr.col++;else if(vr.row===void 0)for(vr.row=0;kn(vr.row,vr.col,we);)vr.row++;we.id2manPos[$n.id]=vr,pn(vr.row,vr.col)}gn($n,we)}}}function Kt(ke,we,Be){for(var Le=[],J=0;J<ke;J++)Le[J]=0;return Be.forEach(function(Ke){Ke.source&&(Le[we[Ke.source]]+=1),Ke.target&&(Le[we[Ke.target]]+=1)}),Le}function pn(ke,we,Be){Be.cellUsed["c-".concat(ke,"-").concat(we)]=!0}function kn(ke,we,Be){return Be.cellUsed["c-".concat(ke,"-").concat(we)]||!1}function Pt(ke){var we=ke,Be=we.cols||5;we.col++,we.col>=Be&&(we.col=0,we.row++)}function gn(ke,we){var Be=we,Le=Be.begin,J=Be.width,Ke=Be.height,We,Ot,Vt=Be.id2manPos[ke.id];if(Vt)We=Vt.col*J+J/2+Le[0],Ot=Vt.row*Ke+Ke/2+Le[1];else{for(;kn(Be.row,Be.col,Be);)Pt(we);We=Be.col*J+J/2+Le[0],Ot=Be.row*Ke+Ke/2+Le[1],pn(Be.row,Be.col,Be),Pt(we)}ke.x=We,ke.y=Ot,ke.left=We,ke.top=Ot}var _n=ct;function Kn(ke){var we=ke.opts,Be=_.cloneDeep(ke.data),Le=Be.nodes.filter(function($t){return!$t.group}),J=Be.nodes.filter(function($t){return $t.group});Le=Le.concat(Be.groups),J.forEach(function($t){var Gt=_.find(Be.groups,function(hn){return hn.id===$t.group});$t.x=Math.random()*(Gt.width||150),$t.y=Math.random()*(Gt.height||120)});for(var Ke=Be.edges.map(function($t){var Gt=_.find(J,function($n){return $n.source===$t.id});Gt&&($t.source=Gt.group);var hn=_.find(J,function($n){return $n.target===$t.id});return hn&&($t.target=Gt.group),$t}),We=a.default.forceSimulation(Le).force("charge",function(){return we.chargeStrength?a.default.forceManyBody().strength(we.chargeStrength):a.default.forceManyBody()}()).force("center",a.default.forceCenter(we.width/2,we.height/2)).force("link",a.default.forceLink(Ke).id(function($t){return $t[_.get(we.link,"id","id")]}).distance(we.link.distance).strength(we.link.strength)).stop(),Ot=0,Vt=Math.ceil(Math.log(We.alphaMin())/Math.log(1-We.alphaDecay()));Ot<Vt;++Ot)We.tick();ke.data.nodes.forEach(function($t,Gt){$t.top=Be.nodes[Gt].y,$t.left=Be.nodes[Gt].x}),ke.data.groups.forEach(function($t,Gt){$t.top=Be.groups[Gt].y,$t.left=Be.groups[Gt].x})}var qn=Kn;function rr(ke){var we=ke.center,Be=ke.nodeSize,Le=ke.minNodeSpacing,J=ke.preventOverlap;ke.sweep;var Ke=ke.equidistant,We=ke.startAngle,Ot=We===void 0?3/2*Math.PI:We,Vt=ke.clockwise,$t=ke.maxLevelDiff,Gt=ke.sortBy,hn=ke.width,$n=ke.height,Sr=ke.data,vr=Sr.nodes,zn=Sr.edges,Tr=vr.map(function(Ri){return{id:Ri.id,top:Ri.top,left:Ri.left,degree:Ri.degree,size:Ri.size}}),Qr=zn.map(function(Ri){return{source:Ri.source,target:Ri.target}}),Qe=Tr.length,Jt;if(Qe!==0){if(Qe===1){Tr[0].x=we[0],Tr[0].y=we[1];return}var ln=[],rn;_.isArray(Be)?rn=Math.max(Be[0],Be[1]):rn=Be,Tr.forEach(function(Ri){ln.push(Ri);var Oa=rn;_.isArray(Ri.size)?Oa=Math.max(Ri.size[0],Ri.size[1]):_.isNumber(Ri.size)&&(Oa=Ri.size),rn=Math.max(rn,Oa)}),!hn&&typeof window!="undefined"&&(hn=window.innerWidth),!$n&&typeof window!="undefined"&&($n=window.innerHeight),Vt=Vt;var An={},fr={};if(ln.forEach(function(Ri,Oa){An[Ri.id]=Ri,fr[Ri.id]=Oa}),(Gt==="degree"||!_.isString(Gt)||ln[0][Gt]===void 0)&&(Gt="degree",!_.isNumber(Tr[0].degree))){for(var Pr=[],kr=Tr.length,Ar=0;Ar<kr;Ar++)Pr[Ar]=0;Qr.forEach(function(Ri){Ri.source&&(Pr[fr[Ri.source]]+=1),Ri.target&&(Pr[fr[Ri.target]]+=1)}),ln.forEach(function(Ri,Oa){Ri.degree=Pr[Oa]})}ln.sort(function(Ri,Oa){return Oa[Gt]-Ri[Gt]}),Jt=ln[0],$t=$t||Jt[Gt]/4;var vi=[[]],Wi=vi[0];ln.forEach(function(Ri){if(Wi.length>0){var Oa=Math.abs(Wi[0][Gt]-Ri[Gt]);$t&&Oa>=$t&&(Wi=[],vi.push(Wi))}Wi.push(Ri)});var di=rn+Le;if(!J){var ri=vi.length>0&&vi[0].length>1,yi=Math.min(hn,$n)/2-di,Si=yi/(vi.length+(ri?1:0));di=Math.min(di,Si)}var zi=0;if(vi.forEach(function(Ri){var Oa=Oa;Oa===void 0&&(Oa=2*Math.PI-2*Math.PI/Ri.length);var Ha=Ri.dTheta=Oa/Math.max(1,Ri.length-1);if(Ri.length>1&&J){var Za=Math.cos(Ha)-Math.cos(0),co=Math.sin(Ha)-Math.sin(0),Do=Math.sqrt(di*di/(Za*Za+co*co));zi=Math.max(Do,zi)}Ri.r=zi,zi+=di}),Ke){for(var si=0,ii=0,Yi=0;Yi<vi.length;Yi++){var La=vi[Yi],Wa=La.r-ii;si=Math.max(si,Wa)}ii=0,vi.forEach(function(Ri,Oa){Oa===0&&(ii=Ri.r),Ri.r=ii,ii+=si})}vi.forEach(function(Ri){var Oa=Ri.dTheta,Ha=Ri.r;Ri.forEach(function(Za,co){var Do=Ot+(Vt?1:-1)*Oa*co;Za.x=we[0]+Ha*Math.cos(Do),Za.y=we[1]+Ha*Math.sin(Do)})}),ke.data.nodes.forEach(function(Ri,Oa){Ri.top=Tr[Oa].y,Ri.left=Tr[Oa].x})}}var Rn=rr;function mr(ke){var we=ke.nodeSize,Be=ke.rankdir,Le=ke.nodesepFunc,J=ke.ranksepFunc,Ke=ke.nodesep,We=ke.ranksep,Ot=ke.controlPoints,Vt=ke.data.edges,$t=Vt===void 0?[]:Vt,Gt=ke.data.nodes,hn=Gt.map(function(Qr){return{id:Qr.id,top:Qr.top,left:Qr.left}});if(!!hn){var $n=new n.default.graphlib.Graph,Sr;we?_.isArray(we)?Sr=function(){return we}:Sr=function(){return[we,we]}:Sr=function(Qe){return Qe.size?_.isArray(Qe.size)?Qe.size:[Qe.size,Qe.size]:[40,40]};var vr=ar(Le,Ke,50),zn=ar(J,We,50);(Be==="LR"||Be==="RL")&&(vr=ar(J,We,50),zn=ar(Le,Ke,50)),hn.forEach(function(Qr){var Qe=Sr(Qr),Jt=zn(Qr),ln=vr(Qr),rn=Qe[0]+2*ln,An=Qe[1]+2*Jt;$n.setNode(Qr.id,{width:rn,height:An})}),$t.forEach(function(Qr){$n.setEdge(Qr.source,Qr.target,{weight:Qr.weight||1})}),$n.setDefaultEdgeLabel(function(){return{}}),ke.nodes=hn,$n.setGraph(ke),n.default.layout($n);var Tr;$n.nodes().forEach(function(Qr){if(Tr=$n.node(Qr),Tr){var Qe=hn.findIndex(function(Jt){return Jt.id===Qr});hn[Qe].left=Tr.x,hn[Qe].top=Tr.y,hn[Qe].posInfo={_out:$n._out[Qr],_in:$n._in[Qr],_preds:$n._preds[Qr],_sucs:$n._sucs[Qr]}}}),$n.edges().forEach(function(Qr){Tr=$n.edge(Qr);var Qe=$t.findIndex(function(Jt){return Jt.source===Qr.v&&Jt.target===Qr.w});Ot&&$t[Qe].type!=="loop"&&$t[Qe].shape!=="loop"&&($t[Qe].controlPoints=Tr.points.slice(1,Tr.points.length-1))}),hn.forEach(function(Qr,Qe){Gt[Qe].left=Qr.left,Gt[Qe].top=Qr.top,Gt[Qe].posInfo=Qr.posInfo})}}function ar(ke,we,Be){var Le;return ke?Le=ke:_.isNumber(we)?Le=function(){return we}:Le=function(){return Be},Le}var sr=mr,yr=function(){function ke(we){t(this,ke),this.distances=we.distances,this.dimension=we.dimension||2,this.linkDistance=we.linkDistance}return p(ke,[{key:"layout",value:function(){var Be=this,Le=Be.dimension,J=Be.distances,Ke=Be.linkDistance;try{var We=f.Matrix.mul(f.Matrix.pow(J,2),-.5),Ot=We.mean("row"),Vt=We.mean("column"),$t=We.mean();We.add($t).subRowVector(Ot).subColumnVector(Vt);var Gt=new f.SingularValueDecomposition(We),hn=f.Matrix.sqrt(Gt.diagonalMatrix).diagonal();return Gt.leftSingularVectors.toJSON().map(function(Tr){return f.Matrix.mul([Tr],[hn]).toJSON()[0].splice(0,Le)})}catch(Tr){for(var $n=[],Sr=0;Sr<J.length;Sr++){var vr=Math.random()*Ke,zn=Math.random()*Ke;$n.push([vr,zn])}return $n}}}]),ke}(),br=800,_r=function(){function ke(we){t(this,ke),this.positions=we.positions,this.adjMatrix=we.adjMatrix,this.focusID=we.focusID,this.radii=we.radii,this.iterations=we.iterations||10,this.height=we.height||10,this.width=we.width||10,this.speed=we.speed||100,this.gravity=we.gravity||10,this.nodeSizeFunc=we.nodeSizeFunc,this.k=we.k||5,this.strictRadial=we.strictRadial,this.nodes=we.nodes}return p(ke,[{key:"layout",value:function(){var Be=this,Le=Be.positions,J=[],Ke=Be.iterations,We=Be.width/10;Be.maxDisplace=We,Be.disp=J;for(var Ot=0;Ot<Ke;Ot++)Le.forEach(function(Vt,$t){J[$t]={x:0,y:0}}),Be.getRepulsion(),Be.updatePositions();return Le}},{key:"getRepulsion",value:function(){var Be=this,Le=Be.positions,J=Be.nodes,Ke=Be.disp,We=Be.k,Ot=Be.radii||[];Le.forEach(function(Vt,$t){Ke[$t]={x:0,y:0},Le.forEach(function(Gt,hn){if($t!==hn&&Ot[$t]===Ot[hn]){var $n=Vt[0]-Gt[0],Sr=Vt[1]-Gt[1],vr=Math.sqrt($n*$n+Sr*Sr);if(vr===0){vr=1;var zn=$t>hn?1:-1;$n=.01*zn,Sr=.01*zn}if(vr<Be.nodeSizeFunc(J[$t])/2+Be.nodeSizeFunc(J[hn])/2){var Tr=We*We/vr;Ke[$t].x+=$n/vr*Tr,Ke[$t].y+=Sr/vr*Tr}}})})}},{key:"updatePositions",value:function(){var Be=this,Le=Be.positions,J=Be.disp,Ke=Be.speed,We=Be.strictRadial,Ot=Be.focusID,Vt=Be.maxDisplace||Be.width/10;We&&J.forEach(function(Gt,hn){var $n=Le[hn][0]-Le[Ot][0],Sr=Le[hn][1]-Le[Ot][1],vr=Math.sqrt($n*$n+Sr*Sr),zn=Sr/vr,Tr=-$n/vr,Qr=Math.sqrt(Gt.x*Gt.x+Gt.y*Gt.y),Qe=Math.acos((zn*Gt.x+Tr*Gt.y)/Qr);Qe>Math.PI/2&&(Qe-=Math.PI/2,zn*=-1,Tr*=-1);var Jt=Math.cos(Qe)*Qr;Gt.x=zn*Jt,Gt.y=Tr*Jt});var $t=Be.radii;Le.forEach(function(Gt,hn){if(hn!==Ot){var $n=Math.sqrt(J[hn].x*J[hn].x+J[hn].y*J[hn].y);if($n>0&&hn!==Ot){var Sr=Math.min(Vt*(Ke/br),$n);if(Gt[0]+=J[hn].x/$n*Sr,Gt[1]+=J[hn].y/$n*Sr,We){var vr=Gt[0]-Le[Ot][0],zn=Gt[1]-Le[Ot][1],Tr=Math.sqrt(vr*vr+zn*zn);vr=vr/Tr*$t[hn],zn=zn/Tr*$t[hn],Gt[0]=Le[Ot][0]+vr,Gt[1]=Le[Ot][1]+zn}}}})}}]),ke}(),li=function(we){for(var Be=[],Le=we.length,J=0;J<Le;J+=1){Be[J]=[];for(var Ke=0;Ke<Le;Ke+=1)J===Ke?Be[J][Ke]=0:we[J][Ke]===0||!we[J][Ke]?Be[J][Ke]=Infinity:Be[J][Ke]=we[J][Ke]}for(var We=0;We<Le;We+=1)for(var Ot=0;Ot<Le;Ot+=1)for(var Vt=0;Vt<Le;Vt+=1)Be[Ot][Vt]>Be[Ot][We]+Be[We][Vt]&&(Be[Ot][Vt]=Be[Ot][We]+Be[We][Vt]);return Be},xi=function(we,Be){var Le=we.nodes,J=we.edges,Ke=[],We={};if(!Le)throw new Error("invalid nodes data!");return Le&&Le.forEach(function(Ot,Vt){We[Ot.id]=Vt;var $t=[];Ke.push($t)}),J&&J.forEach(function(Ot){var Vt=Ot.source,$t=Ot.target,Gt=We[Vt],hn=We[$t];Ke[Gt][hn]=1,Be||(Ke[hn][Gt]=1)}),Ke};function Mi(ke){for(var we=ke.length,Be=ke[0].length,Le=[],J=0;J<we;J++){for(var Ke=[],We=0;We<Be;We++)ke[J][We]!==0?Ke.push(1/(ke[J][We]*ke[J][We])):Ke.push(0);Le.push(Ke)}return Le}function Fr(ke,we){var Be=-1;return ke.forEach(function(Le,J){Le.id===we&&(Be=J)}),Be}function ur(ke,we){return Math.sqrt((ke[0]-we[0])*(ke[0]-we[0])+(ke[1]-we[1])*(ke[1]-we[1]))}function Ti(ke){var we=ke.opts,Be=ke.data.nodes,Le=ke.data.edges||[],J=we.center;if(!(!Be||Be.length===0)){if(Be.length===1){Be[0].x=J[0],Be[0].y=J[1];return}var Ke=we.linkDistance,We=null;if(String(we.focusNode)){for(var Ot=!1,Vt=0;Vt<Be.length;Vt++)Be[Vt].id===we.focusNode&&(We=Be[Vt],we.focusNode=We,Ot=!0,Vt=Be.length);Ot||(We=null)}else We=we.focusNode;We||(We=Be[0],we.focusNode=We);var $t=Fr(Be,We.id);we.focusIndex=$t;var Gt=xi({nodes:Be,edges:Le},!1),hn=li(Gt),$n=va(hn,$t);xa(hn,$t,$n+1),we.distances=hn;var Sr=hn[$t];!we.width&&typeof window!="undefined"&&(we.width=window.innerWidth),!we.height&&typeof window!="undefined"&&(we.height=window.innerHeight);var vr=we.width||500,zn=we.height||500,Tr=vr-J[0]>J[0]?J[0]:vr-J[0],Qr=zn-J[1]>J[1]?J[1]:zn-J[1];Tr===0&&(Tr=vr/2),Qr===0&&(Qr=zn/2);var Qe=Qr>Tr?Tr:Qr,Jt=Math.max.apply(Math,O(Sr)),ln=[];Sr.forEach(function(zi,si){we.unitRadius||(we.unitRadius=Qe/Jt),ln[si]=zi*we.unitRadius}),we.radii=ln;var rn=Zi(ke);we.eIdealDistances=rn;var An=Mi(rn);we.weights=An;var fr=new yr({distances:rn,linkDistance:Ke}),Pr=fr.layout();Pr.forEach(function(zi){isNaN(zi[0])&&(zi[0]=Math.random()*Ke),isNaN(zi[1])&&(zi[1]=Math.random()*Ke)}),we.positions=Pr,Pr.forEach(function(zi,si){Be[si].x=zi[0]+J[0],Be[si].y=zi[1]+J[1]}),Pr.forEach(function(zi){zi[0]-=Pr[$t][0],zi[1]-=Pr[$t][1]}),Xi(ke);var kr=we.preventOverlap,Ar=we.nodeSize,vi,Wi=we.strictRadial;if(kr){var di=we.nodeSpacing,ri;_.isNumber(di)?ri=function(){return di}:_.isFunction(di)?ri=di:ri=function(){return 0},Ar?_.isArray(Ar)?vi=function(si){var ii=Ar[0]>Ar[1]?Ar[0]:Ar[1];return ii+ri(si)}:vi=function(si){return Ar+ri(si)}:vi=function(si){if(si.size){if(_.isArray(si.size)){var ii=si.size[0]>si.size[1]?si.size[0]:si.size[1];return ii+ri(si)}return si.size+ri(si)}return 10+ri(si)};var yi={nodeSizeFunc:vi,adjMatrix:Gt,positions:Pr,radii:ln,height:zn,width:vr,strictRadial:Wi,focusID:$t,iterations:we.maxPreventOverlapIteration||200,k:Pr.length/4.5,nodes:Be},Si=new _r(yi);Pr=Si.layout()}Pr.forEach(function(zi,si){Be[si].x=zi[0]+J[0],Be[si].y=zi[1]+J[1]})}}function Xi(ke){for(var we=ke.opts,Be=we.maxIteration,Le=we.positions||[],J=we.weights||[],Ke=we.eIdealDistances||[],We=we.radii||[],Ot=0;Ot<=Be;Ot++){var Vt=Ot/Be;ca(Vt,Le,We,Ke,J,ke)}}function ca(ke,we,Be,Le,J,Ke){var We=Ke.opts,Ot=1-ke,Vt=We.focusIndex;we.forEach(function($t,Gt){var hn=ur($t,[0,0]),$n=hn===0?0:1/hn;if(Gt!==Vt){var Sr=0,vr=0,zn=0;we.forEach(function(Qr,Qe){if(Gt!==Qe){var Jt=ur($t,Qr),ln=Jt===0?0:1/Jt,rn=Le[Qe][Gt];zn+=J[Gt][Qe],Sr+=J[Gt][Qe]*(Qr[0]+rn*($t[0]-Qr[0])*ln),vr+=J[Gt][Qe]*(Qr[1]+rn*($t[1]-Qr[1])*ln)}});var Tr=Be[Gt]===0?0:1/Be[Gt];zn*=Ot,zn+=ke*Tr*Tr,Sr*=Ot,Sr+=ke*Tr*$t[0]*$n,$t[0]=Sr/zn,vr*=Ot,vr+=ke*Tr*$t[1]*$n,$t[1]=vr/zn}})}function Zi(ke){var we=ke.opts,Be=ke.data.nodes;if(!Be)return[];var Le=we.distances,J=we.linkDistance,Ke=we.radii||[],We=we.unitRadius||50,Ot=[];return Le&&Le.forEach(function(Vt,$t){var Gt=[];Vt.forEach(function(hn,$n){if($t===$n)Gt.push(0);else if(Ke[$t]===Ke[$n])if(we.sortBy==="data")Gt.push(hn*(Math.abs($t-$n)*we.sortStrength)/(Ke[$t]/We));else if(we.sortBy){var Sr=Be[$t][we.sortBy]||0,vr=Be[$n][we.sortBy]||0;isString(Sr)&&(Sr=Sr.charCodeAt(0)),isString(vr)&&(vr=vr.charCodeAt(0)),Gt.push(hn*(Math.abs(Sr-vr)*we.sortStrength)/(Ke[$t]/We))}else Gt.push(hn*J/(Ke[$t]/We));else{var zn=(J+We)/2;Gt.push(hn*zn)}}),Ot.push(Gt)}),Ot}function xa(ke,we,Be){for(var Le=ke.length,J=0;J<Le;J++)if(ke[we][J]===Infinity){ke[we][J]=Be,ke[J][we]=Be;for(var Ke=0;Ke<Le;Ke++)ke[J][Ke]!==Infinity&&ke[we][Ke]===Infinity&&(ke[we][Ke]=Be+ke[J][Ke],ke[Ke][we]=Be+ke[J][Ke])}for(var We=0;We<Le;We++)if(We!==we){for(var Ot=0;Ot<Le;Ot++)if(ke[We][Ot]===Infinity){var Vt=Math.abs(ke[we][We]-ke[we][Ot]);Vt=Vt===0?1:Vt,ke[We][Ot]=Vt}}}function va(ke,we){for(var Be=0,Le=0;Le<ke[we].length;Le++)ke[we][Le]!==Infinity&&(Be=ke[we][Le]>Be?ke[we][Le]:Be);return Be}var Ma=e("Ckr6"),_a=e("LvDl");function na(ke){for(var we=ke.opts,Be=_a.cloneDeep(ke.data),Le=Ma.forceSimulation(Be.nodes).force("charge",Ma.forceManyBody().strength(we.chargeStrength)).force("center",Ma.forceCenter(we.width/2,we.height/2)).force("link",Ma.forceLink(Be.edges).distance(we.link.distance).strength(we.link.strength)).force("x",Ma.forceX()).force("y",Ma.forceY()).stop(),J=0,Ke=Math.ceil(Math.log(Le.alphaMin())/Math.log(1-Le.alphaDecay()));J<Ke;++J)Le.tick();ke.data.nodes.forEach(function(We,Ot){We.top=Be.nodes[Ot].y,We.left=Be.nodes[Ot].x})}function sa(ke){}var Ai={forceLayout:qn,forceTreeLayout:na,treeLayout:sa,dagreLayout:sr,concentLayout:Rn,gridLayout:_n,fruchterman:dt,circleLayout:Nt.circleLayout,radial:Ti},ba=e("EVdn"),ea=function(){function ke(){t(this,ke),this.dom=ba('<canvas class="butterfly-selected-canvas"></canvas>')[0],this.cxt=this.dom.getContext("2d"),this.canvasTop=0,this.canvasLeft=0,this.canvasHeight=0,this.canvasWidth=0,this.canScrollX=0,this.canScrollY=0,this.startX=0,this.startY=0,this.endX=0,this.endY=0,this._on=null,this._emit=null,this.isDraw=!1,this.isActive=!1}return p(ke,[{key:"init",value:function(Be){var Le=Be.root;this.resize(Be),this.addEventListener(),this._on=Be._on,this._emit=Be._emit,ba(this.dom).appendTo(Le)}},{key:"resize",value:function(Be){var Le=Be.root,J=ba(Le).offset();this.canvasTop=J.top,this.canvasLeft=J.left,this.canvasHeight=ba(Le).height(),this.canvasWidth=ba(Le).width(),ba(this.dom).attr("width",this.canvasWidth),ba(this.dom).attr("height",this.canvasHeight)}},{key:"addEventListener",value:function(){this.dom.addEventListener("mousedown",this.mouseDown.bind(this)),this.dom.addEventListener("mouseup",this.mouseUp.bind(this)),this.dom.addEventListener("mousemove",this.mouseMove.bind(this)),this.dom.addEventListener("mouseleave",this.mouseLeave.bind(this))}},{key:"mouseDown",value:function(Be){this.startX=Be.clientX,this.startY=Be.clientY,this.isDraw=!0}},{key:"mouseUp",value:function(Be){this.isDraw=!1,this.clearCanvas();var Le=this.startX,J=this.startY,Ke=this.endX=Be.clientX,We=this.endY=Be.clientY,Ot=Ke-Le>0?"right":"left",Vt=Le>Ke?Ke:Le,$t=J>We?We:J,Gt=Le>Ke?Le:Ke,hn=J>We?J:We;this._emit("InnerEvents",{type:"multiple:select",range:[Vt,$t,Gt,hn],toDirection:Ot}),this.unActive()}},{key:"mouseMove",value:function(Be){!this.isDraw||(this.endX=Be.clientX,this.endY=Be.clientY,this.drawRect())}},{key:"mouseLeave",value:function(Be){this.isDraw=!1,this.clearCanvas()}},{key:"drawRect",value:function(){if(!!this.isDraw){this.clearCanvas();var Be=Math.min(this.startX,this.endX)-this.canvasLeft+this.canScrollX,Le=Math.min(this.startY,this.endY)-this.canvasTop+this.canScrollY,J=Math.abs(this.startX-this.endX),Ke=Math.abs(this.startY-this.endY);this.cxt.beginPath(),this.cxt.rect(Be,Le,J,Ke),this.cxt.fillStyle="#b3dbff",this.cxt.fill(),this.cxt.lineWidth="1",this.cxt.strokeStyle="#3da4ff",this.cxt.stroke()}}},{key:"clearCanvas",value:function(){this.cxt.clearRect(0,0,this.canvasWidth,this.canvasHeight)}},{key:"getCanvas",value:function(){return this.dom}},{key:"active",value:function(){this.isActive||(ba(this.dom).addClass("wrapper-up"),this.isActive=!0)}},{key:"unActive",value:function(){this.isActive&&(ba(this.dom).removeClass("wrapper-up"),this.isActive=!1)}},{key:"_changeCanvasInfo",value:function(Be){Be.terScrollX!==void 0&&(this.canScrollX=Be.terScrollX),Be.terScrollY!==void 0&&(this.canScrollY=Be.terScrollY)}}]),ke}(),mn=e("LvDl"),It=function(){function ke(we){t(this,ke),this.canvas=we.canvas,this.terOffsetX=we.terOffsetX||0,this.terOffsetY=we.terOffsetY||0,this.terWidth=we.terWidth||0,this.terHeight=we.terHeight||0,this.canOffsetX=we.canOffsetX||0,this.canOffsetY=we.canOffsetY||0,this.scale=we.scale||1,this.scrollTop=0,this.scrollLeft=0,this.scrollTimer=void 0,this._calcScrollPos(),this.originX=void 0,this.originY=void 0,this._currentTerX=0,this._currentTerY=0}return p(ke,[{key:"_changeCanvasInfo",value:function(Be){Be.terOffsetX!==void 0&&(this.terOffsetX=Be.terOffsetX),Be.terOffsetY!==void 0&&(this.terOffsetY=Be.terOffsetY),Be.terWidth!==void 0&&(this.terWidth=Be.terWidth),Be.terHeight!==void 0&&(this.terHeight=Be.terHeight),Be.canOffsetX!==void 0&&(this.canOffsetX=Be.canOffsetX),Be.canOffsetY!==void 0&&(this.canOffsetY=Be.canOffsetY),Be.scale!==void 0&&(this._lastScale=this.scale,this.scale=Be.scale),Be.canvas&&(this.canvas=Be.canvas);var Le=!1;Be.originX!==void 0&&(this.originX=Be.originX,Le=!0),Be.originY!==void 0&&(this.originY=Be.originY,Le=!0),Le&&(this.canvas.wrapper.style.transformOrigin="".concat(this.originX,"% ").concat(this.originY,"%"));var J=!1;if(Be.mouseX!==void 0&&this._currentTerX!==Be.mouseX-this.terOffsetX&&(this._currentTerX=Be.mouseX-this.terOffsetX,J=!0),Be.mouseY!==void 0&&this._currentTerY!==Be.mouseY-this.terOffsetY&&(this._currentTerY=Be.mouseY-this.terOffsetY,J=!0),J){(this.originX===void 0||this.originY===void 0)&&(this.originX=0,this.originY=0);var Ke=this.originX/100*this.terWidth,We=this.originY/100*this.terHeight,Ot=[parseInt(this.canOffsetX),parseInt(this.canOffsetY)],Vt=(Be.mouseX-(Ke*(1-this._lastScale)+Ot[0])-this.terOffsetX)/this._lastScale,$t=(Be.mouseY-(We*(1-this._lastScale)+Ot[1])-this.terOffsetY)/this._lastScale,Gt=Vt/this.terWidth*100,hn=$t/this.terHeight*100,$n=-Ke*(1-this._lastScale),Sr=-We*(1-this._lastScale);Ke=Gt/100*this.terWidth,We=hn/100*this.terHeight;var vr=-Ke*(1-this._lastScale),zn=-We*(1-this._lastScale),Tr=vr-$n+Ot[0],Qr=zn-Sr+Ot[1];this.canvas.wrapper.style.transformOrigin="".concat(Gt,"% ").concat(hn,"%"),this.canvas.move([Tr,Qr]),this.originX=Gt,this.originY=hn}}},{key:"canvas2terminal",value:function(Be,Le){return[this._canvas2terminal("x",Be[0],Le),this._canvas2terminal("y",Be[1],Le)]}},{key:"terminal2canvas",value:function(Be,Le){return[this._terminal2canvas("x",Be[0],Le),this._terminal2canvas("y",Be[1],Le)]}},{key:"_canvas2terminal",value:function(Be,Le,J){this._calcScrollPos();var Ke=mn.get(J,"scale")||this.scale,We=mn.get(J,"canOffsetX")!==void 0?mn.get(J,"canOffsetX"):this.canOffsetX,Ot=mn.get(J,"canOffsetY")!==void 0?mn.get(J,"canOffsetY"):this.canOffsetY,Vt=mn.get(J,"terOffsetX")!==void 0?mn.get(J,"terOffsetX"):this.terOffsetX,$t=mn.get(J,"terOffsetY")!==void 0?mn.get(J,"terOffsetY"):this.terOffsetY,Gt=mn.get(J,"originX")!==void 0?mn.get(J,"originX"):this.originX||0,hn=mn.get(J,"originY")!==void 0?mn.get(J,"originY"):this.originY||0;if(Be==="x"){var $n=Gt/100*this.terWidth;return Le*Ke+($n*(1-Ke)+We)+Vt}if(Be==="y"){var Sr=hn/100*this.terHeight;return Le*Ke+(Sr*(1-Ke)+Ot)+$t}}},{key:"_terminal2canvas",value:function(Be,Le,J){this._calcScrollPos();var Ke=mn.get(J,"scale")||this.scale,We=mn.get(J,"canOffsetX")!==void 0?mn.get(J,"canOffsetX"):this.canOffsetX,Ot=mn.get(J,"canOffsetY")!==void 0?mn.get(J,"canOffsetY"):this.canOffsetY,Vt=mn.get(J,"terOffsetX")!==void 0?mn.get(J,"terOffsetX"):this.terOffsetX,$t=mn.get(J,"terOffsetY")!==void 0?mn.get(J,"terOffsetY"):this.terOffsetY,Gt=mn.get(J,"originX")!==void 0?mn.get(J,"originX"):this.originX||0,hn=mn.get(J,"originY")!==void 0?mn.get(J,"originY"):this.originY||0,$n=this.scrollTop,Sr=this.scrollLeft;if(Be==="x"){var vr=Gt/100*this.terWidth;return(Le-(vr*(1-Ke)+We)-Vt-Sr)/Ke}if(Be==="y"){var zn=hn/100*this.terHeight;return(Le-(zn*(1-Ke)+Ot)-$t-$n)/Ke}}},{key:"_calcScrollPos",value:function(){var Be=this;if(!this.scrollTimer){var Le=this.canvas.root,J=Le.getBoundingClientRect();this.scrollTop=J.top-this.terOffsetY,this.scrollLeft=J.left-this.terOffsetX,this.scrollTimer=setTimeout(function(){Be.scrollTimer=void 0},100)}}}]),ke}(),Ue=e("EVdn"),Ze=e("LvDl"),Pe=function(){function ke(we){t(this,ke),this.root=we.root,this.canvas=we.canvas,this.domWrapper=Ze.get(we,"canvas.wrapper"),this.canvasHeight=0,this.canvasWidth=0,this.dom=null,this.isActive=!1,this.theme=Ze.get(we,"theme",{})||{shapeType:"circle",gap:5,adsorbGap:"5px",background:"#fff",lineColor:"#000",lineWidth:"1px",circleRadiu:2,circleColor:"#000"}}return p(ke,[{key:"_resize",value:function(){this.canvasHeight=Ue(this.root).height(),this.canvasWidth=Ue(this.root).width(),Ue(this.dom).attr("width",this.canvasWidth),Ue(this.dom).attr("height",this.canvasHeight)}},{key:"create",value:function(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.theme=Ze.merge(this.theme,Be.theme||{}),this.dom||(this.dom=Ue('<canvas class="butterfly-gird-canvas"></canvas>')[0],this._resize(),Ue(this.dom).appendTo(this.root)),this.theme.shapeType==="circle"?this.createCircle():this.theme.shapeType==="line"&&this.createLine(),this.isActive=!0}},{key:"createCircle",value:function(){var Be=this.dom.getContext("2d");Be.clearRect(0,0,this.canvasWidth,this.canvasHeight),Be.beginPath(),Be.fillStyle=this.theme.circleColor||"#000";var Le=Math.PI*2,J=parseInt(this.theme.gap);J=J<5?5:J;for(var Ke=0;Ke<this.canvasWidth;Ke+=J)for(var We=0;We<this.canvasHeight;We+=J)Be.moveTo(Ke,We),Be.arc(Ke,We,this.theme.circleRadiu,0,Le);Be.fill()}},{key:"createLine",value:function(){var Be=this.dom.getContext("2d");Be.strokeStyle=this.theme.lineColor||"#000",Be.lineWidth=this.theme.lineWidth||1;var Le=parseInt(this.theme.gap);Le=Le<5?5:Le;for(var J=0;J<this.canvasHeight;J+=Le)Be.beginPath(),Be.moveTo(0,J),Be.lineTo(this.canvasWidth,J),Be.stroke(),Be.closePath();for(var Ke=0;Ke<this.canvasWidth;Ke+=Le)Be.beginPath(),Be.moveTo(Ke,0),Be.lineTo(Ke,this.canvasHeight),Be.stroke(),Be.closePath();Be.stroke()}},{key:"justifyAllCoordinate",value:function(){var Be=this,Le=this.canvas.groups,J=this.canvas.nodes,Ke=function(Ot,Vt){var $t=Ot.left,Gt=Ot.top,hn=Ot.left+Ot.getWidth(),$n=Ot.top+Ot.getHeight(),Sr=$t%Be.theme.gap,vr=hn%Be.theme.gap,zn=Gt%Be.theme.gap,Tr=$n%Be.theme.gap,Qr=Be.theme.gap-Sr,Qe=Be.theme.gap-vr,Jt=Be.theme.gap-zn,ln=Be.theme.gap-Tr,rn={left:Infinity,right:Infinity,top:Infinity,bottom:Infinity};Sr<vr&&Sr<rn.left&&(rn.left=Sr),Qr<Sr&&Qr<rn.right&&(rn.right=Qr),vr<Sr&&vr<rn.right&&(rn.left=vr),Qe<vr&&Qe<rn.left&&(rn.right=Qe),zn<Tr&&zn<rn.top&&(rn.top=zn),Jt<zn&&Jt<rn.bottom&&(rn.bottom=Jt),Tr<zn&&Tr<rn.bottom&&(rn.top=Tr),ln<Tr&&ln<rn.top&&(rn.bottom=ln);var An=[Ot.left,Ot.top];rn.left=rn.left<=Be.theme.adsorbGap?rn.left:Infinity,rn.right=rn.right<=Be.theme.adsorbGap?rn.right:Infinity,rn.top=rn.top<=Be.theme.adsorbGap?rn.top:Infinity,rn.bottom=rn.bottom<=Be.theme.adsorbGap?rn.bottom:Infinity,rn.left<rn.right&&(An[0]-=rn.left),rn.right<rn.left&&(An[0]+=rn.right),rn.top<rn.bottom&&(An[1]-=rn.top),rn.bottom<rn.top&&(An[1]+=rn.bottom),(An[0]!==Ot.left||An[1]!==Ot.top)&&(Vt==="node"?Be.canvas._moveNode(Ot,An[0],An[1]):Vt==="group"&&Be.canvas._moveGroup(Ot,An[0],An[1]))};Le.forEach(function(We){Ke(We,"group"),(We.nodes||[]).forEach(function(Ot){Ke(Ot,"node")})}),J.forEach(function(We){Ke(We,"node")})}},{key:"destroy",value:function(){this.dom.remove(),this.isActive=!1}}]),ke}(),mt=e("EVdn"),xt=e("LvDl"),cn=function(){function ke(we){t(this,ke),this.root=we.root,this.canvas=we.canvas,this.dom=null,this.cxt=null,this.isActive=!1,this.limitNum=we.limitNum,this.theme={lineColor:"#9fd1ff",lineWidth:1}}return p(ke,[{key:"_resize",value:function(){this.canvasHeight=mt(this.root).height(),this.canvasWidth=mt(this.root).width(),mt(this.guideLineCanvas).attr("width",this.canvasWidth),mt(this.guideLineCanvas).attr("height",this.canvasHeight)}},{key:"create",value:function(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.theme=xt.merge(this.theme,Be.theme||{}),this.dom||(this.dom=mt('<div class="butterfly-gird-canvas-wrapper"></div>')[0],this.guideLineCanvas=mt('<canvas class="butterfly-guideline-canvas"></canvas>')[0],this._resize(),mt(this.guideLineCanvas).appendTo(this.dom),mt(this.dom).appendTo(this.root)),this.cxt=this.guideLineCanvas.getContext("2d"),this.cxt.strokeStyle=this.theme.lineColor||"#000",this.cxt.lineWidth=this.theme.lineWidth||1,this.isActive=!0}},{key:"guidLine",value:function(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[0,0],Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0],J=function(We){return Math.floor(We)+.5};this.cxt.beginPath(),this.cxt.moveTo(J(Be[0]),J(Be[1])),this.cxt.lineTo(J(Le[0]),J(Le[1])),this.cxt.stroke(),this.cxt.closePath()}},{key:"draw",value:function(Be,Le){this.cxt.clearRect(0,0,this.canvasWidth,this.canvasHeight);var J=parseInt(Be.left),Ke=parseInt(Be.left+Be.getWidth()),We=parseInt(Be.top),Ot=parseInt(Be.top+Be.getHeight()),Vt=Infinity,$t=Infinity,Gt=Infinity,hn=Infinity,$n=null,Sr=null,vr=null,zn=null,Tr=this.canvas.groups,Qr=this.canvas.nodes;if(Tr.forEach(function(Ar){if(!(Le==="group"&&Be.id===Ar.id)){var vi=parseInt(Ar.left),Wi=parseInt(Ar.left+Ar.getWidth()),di=parseInt(Ar.top),ri=parseInt(Ar.top+Ar.getHeight());J===vi&&Math.abs(di-We)<Gt&&(Gt=Math.abs(di-We),$n=Ar),Ke===Wi&&Math.abs(ri-Ot)<hn&&(hn=Math.abs(ri-Ot),Sr=Ar),We===di&&Math.abs(vi-J)<Vt&&(Vt=Math.abs(vi-J),vr=Ar),Ot===ri&&Math.abs(Wi-Ke)<$t&&($t=Math.abs(Wi-Ke),zn=Ar)}}),Qr.forEach(function(Ar){if(!(Le==="node"&&Be.id===Ar.id)){var vi=parseInt(Ar.left),Wi=parseInt(Ar.left+Ar.getWidth()),di=parseInt(Ar.top),ri=parseInt(Ar.top+Ar.getHeight());Ar._group&&(vi+=Ar._group.left,Wi+=Ar._group.left,di+=Ar._group.top,ri+=Ar._group.top),J===vi&&Math.abs(di-We)<Gt&&(Gt=Math.abs(di-We),$n=Ar),Ke===Wi&&Math.abs(ri-Ot)<hn&&(hn=Math.abs(ri-Ot),Sr=Ar),We===di&&Math.abs(vi-J)<Vt&&(Vt=Math.abs(vi-J),vr=Ar),Ot===ri&&Math.abs(Wi-Ke)<$t&&($t=Math.abs(Wi-Ke),zn=Ar)}}),$n){var Qe=We>$n.top?$n.top:We,Jt=We>$n.top?Ot:$n.top+$n.getHeight();this.guidLine([J,Qe],[J,Jt])}if(Sr){var ln=We>Sr.top?Sr.top:We,rn=We>Sr.top?Ot:Sr.top+Sr.getHeight();this.guidLine([Ke,ln],[Ke,rn])}if(vr){var An=J>vr.left?vr.left:J,fr=J>vr.left?Ke:vr.left+vr.getWidth();this.guidLine([An,We],[fr,We])}if(zn){var Pr=J>zn.left?zn.left:J,kr=J>zn.left?Ke:zn.left+zn.getWidth();this.guidLine([Pr,Ot],[kr,Ot])}}},{key:"zoom",value:function(Be){mt(this.dom).css({transform:"scale(".concat(Be,")")}),this.clearCanvas()}},{key:"move",value:function(Be,Le){mt(this.dom).css("left",Be).css("top",Le),this.clearCanvas()}},{key:"clearCanvas",value:function(){this.cxt&&this.cxt.clearRect(0,0,this.canvasWidth,this.canvasHeight)}},{key:"destroy",value:function(){mt(this.dom).destroy(),this.isActive=!1}}]),ke}(),Ut=e("LvDl"),wt=e("EVdn"),Pn="rgba(246, 105, 2, 1)",an="rgba(61, 86, 92, 1)",Dn="rgba(255, 253, 76, 1)",Tn="rgba(255, 253, 76, 1)",Zn=20,Mr=function(we,Be){!we||!we.style||Object.keys(Be).forEach(function(Le){we.style[Le]=Be[Le]})},xr=function(we){var Be=we.backingStorePixelRatio||we.webkitBackingStorePixelRatio||we.mozBackingStorePixelRatio||we.msBackingStorePixelRatio||we.oBackingStorePixelRatio||we.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/Be},Vr=function(we){if(!we)throw new Error("options cant be empty");if(!we.root||h(we.root)!=="object"||!wt(we.root))throw new Error("options.root must be a html element");if(!we.move||typeof we.move!="function")throw new Error("options.move must be a fuction");if(!we.terminal2canvas||typeof we.terminal2canvas!="function")throw new Error("options.move must be a fuction")},Dr=function(){function ke(we){var Be=this;t(this,ke),w(this,"getItemsPoint",function(){var Le=Ut.cloneDeep(Be.options.nodes),J=Ut.cloneDeep(Be.options.groups),Ke=Be.options.canvas2terminal,We=Be.$root.height(),Ot=Be.$root.width();Le.push({left:0,top:0,height:1,width:1}),Le.push({left:Ot,top:We,height:1,width:1});var Vt=he(Le),$t;try{for(Vt.s();!($t=Vt.n()).done;){var Gt=$t.value;if(Gt.group){var hn=Ut.find(J,{id:Gt.group});if(!hn)continue;Gt.rleft=hn.left+Gt.left,Gt.rtop=hn.top+Gt.top;continue}Gt.rleft=Gt.left,Gt.rtop=Gt.top}}catch($n){Vt.e($n)}finally{Vt.f()}return J.forEach(function($n){var Sr=[$n.left,$n.top],vr=[$n.left+$n.width,$n.top+$n.height],zn=Ke(Sr),Tr=Ke(vr);$n.screenLeftTop=zn,$n.screenRightBottom=Tr,$n.left=zn[0],$n.top=zn[1],$n.width=Tr[0]-zn[0],$n.height=Tr[1]-zn[1]}),Le.forEach(function($n){var Sr=[$n.rleft,$n.rtop],vr=[$n.rleft+$n.width,$n.rtop+$n.height],zn=Ke(Sr),Tr=Ke(vr);$n.left=zn[0],$n.top=zn[1],$n.width=Tr[0]-zn[0],$n.height=Tr[1]-zn[1]}),{groups:J,nodes:Le}}),w(this,"getViewportBBox",function(){var Le=wt(Be.viewportDOM),J=Le.offsetParent(),Ke=Le.offset(),We=wt(J).offset(),Ot=Ke.left-We.left,Vt=Ke.top-We.top,$t=Le.width(),Gt=Le.height(),hn=Ot+$t,$n=Vt+Gt;return{left:Ot,top:Vt,right:hn,bottom:$n,height:Gt,width:$t}}),w(this,"debounceRender",Ut.debounce(function(){Be.renderViewPort(),Be.renderBG()},100)),Vr(we),this.root=we.root,this.$root=wt(this.root),this.options=m({height:200,width:200,className:"butterfly-minimap-container",containerStyle:{},viewportStyle:{},backgroudStyle:{},nodeColor:Pn,groupColor:an,activeNodeColor:Dn,activeGroupColor:Tn,containerWidth:wt(this.root).width(),containerHeight:wt(this.root).height(),nodes:[],groups:[],offset:[0,0],zoom:1,move:function(){return null},terminal2canvas:function(){return null},safeDistance:Zn},we),this.ratio=1,this.initContainer(),this.renderViewPort(),this.renderBG()}return p(ke,[{key:"getBBox",value:function(){var Be=this.getItemsPoint(),Le=Be.nodes,J=Be.groups,Ke=function(fr){return Ut.isNumber(fr)?fr:0},We=Le.map(function(An){return An.top}),Ot=Le.map(function(An){return An.left}),Vt=Le.map(function(An){return An.top+An.height}),$t=Le.map(function(An){return An.left+An.width}),Gt=J.map(function(An){return An.top}),hn=J.map(function(An){return An.left}),$n=J.map(function(An){return An.top+An.height}),Sr=J.map(function(An){return An.left+An.width}),vr=We.concat(Gt),zn=Ot.concat(hn),Tr=Vt.concat($n),Qr=$t.concat(Sr),Qe=Ke(Ut.min(zn)),Jt=Ke(Ut.min(vr)),ln=Ke(Ut.max(Qr)),rn=Ke(Ut.max(Tr));return{minX:Qe,minY:Jt,width:ln-Qe,height:rn-Jt}}},{key:"setRatio",value:function(){var Be=this.options.height,Le=this.options.width,J=this.getBBox();if(J.width===0||J.height===0)return 0;var Ke=Math.min(Le/J.width,Be/J.height);this.ratio=Number(Ke.toFixed(2))}},{key:"update",value:function(Be){var Le=Be.nodes,J=Le===void 0?[]:Le,Ke=Be.groups,We=Ke===void 0?[]:Ke,Ot=Be.zoom,Vt=Ot===void 0?1:Ot,$t=Be.offset,Gt=$t===void 0?[0,0]:$t;this.options.nodes=J,this.options.groups=We,this.options.zoom=Vt,this.options.offset=Gt,this.debounceRender()}},{key:"initContainer",value:function(){var Be=this.options,Le=Be.height,J=Be.width,Ke=Be.className,We=Be.viewportStyle,Ot=Be.backgroudStyle,Vt=Be.containerStyle;this.container=document.createElement("div"),this.viewportDOM=document.createElement("div"),this.backgroundDOM=document.createElement("div"),this.container.setAttribute("class",Ke);var $t={position:"absolute",left:0,top:0,overflow:"hidden",height:Le+"px",width:J+"px"};Mr(this.container,m(m({},$t),{},{right:"10px",bottom:"10px",left:"none",top:"none",height:Le+"px",width:J+"px",border:"1px solid #aaa","z-index":100},Vt)),Mr(this.viewportDOM,m(m({},$t),{},{left:0,top:0,"background-color":"rgba(246,105,2,0.20)"},We)),Mr(this.backgroundDOM,m(m(m({},$t),Ot),{},{height:Le+"px",width:J+"px"})),this.root.appendChild(this.container),this.container.appendChild(this.backgroundDOM),this.container.appendChild(this.viewportDOM),this.initBGCanvas(),this.initViewportEvts()}},{key:"initBGCanvas",value:function(){var Be=this.options,Le=Be.width,J=Be.height,Ke=document.createElement("canvas");this.backgroundDOM.appendChild(Ke),Ke.setAttribute("width",Le),Ke.setAttribute("height",J),Mr(Ke,{position:"absolute",width:"100%",height:"100%",left:0,top:0});var We=Ke.getContext("2d");this.cvsCtx=We,this.cvsRatio=xr(We),We.scale(this.cvsRatio,this.cvsRatio)}},{key:"initViewportEvts",value:function(){var Be=this,Le=!1,J=0,Ke=0,We=0,Ot=0;this.viewportEvents={mousedown:function($t){if($t.preventDefault(),$t.stopPropagation(),Be.viewportDOM,$t.target===Be.viewportDOM){var Gt=Be.getViewportBBox();We=parseInt(Gt.left,10),Ot=parseInt(Gt.top,10),Le=!0,J=$t.clientX,Ke=$t.clientY}},mousemove:function($t){if($t.preventDefault(),$t.stopPropagation(),!(!Le||Ut.isNil($t.clientX)||Ut.isNil($t.clientY))){var Gt=J-$t.clientX,hn=Ke-$t.clientY;We-=Gt,Ot-=hn;var $n=Be.options,Sr=$n.width,vr=$n.height,zn=$n.safeDistance,Tr=Be.getViewportBBox(),Qr=Tr.width,Qe=Tr.height;if(We>=Sr-zn||Ot>=vr-zn||We+Qr<=zn||Ot+Qe<=zn){We+=Gt,Ot+=hn;return}Mr(Be.viewportDOM,{left:We+"px",top:Ot+"px"});var Jt=Be.getBBox(),ln=Jt.minX,rn=Jt.minY,An=Be.$root.offset(),fr=Be.options.offset,Pr=(-We/Be.ratio+An.left-ln)*Be.ratio,kr=(-Ot/Be.ratio+An.top-rn)*Be.ratio;Be.options.move([fr[0]+Pr/Be.ratio,fr[1]+kr/Be.ratio]),J=$t.clientX,Ke=$t.clientY}},mouseleave:function(){Le=!1},mouseup:function(){Le=!1}},Object.keys(this.viewportEvents).forEach(function(Vt){Be.container.addEventListener(Vt,Be.viewportEvents[Vt])})}},{key:"renderBG",value:function(){var Be=this,Le=this.cvsCtx,J=this.options,Ke=J.width,We=J.height,Ot=J.nodeColor,Vt=J.groupColor,$t=J.activeNodeColor,Gt=J.activeGroupColor,hn=this.cvsRatio;Le.clearRect(0,0,Ke,We);var $n=this.getItemsPoint(),Sr=$n.nodes,vr=$n.groups,zn=this.getBBox(),Tr=zn.minX,Qr=zn.minY;vr.forEach(function(Qe){var Jt=(Qe.left-Tr)*Be.ratio,ln=(Qe.top-Qr)*Be.ratio,rn=Qe.width*Be.ratio,An=Qe.height*Be.ratio,fr=Qe.minimapActive;fr?Le.fillStyle=Gt:Le.fillStyle=Vt,Le.fillRect(Jt/hn,ln/hn,rn/hn,An/hn)}),Sr.forEach(function(Qe){var Jt=(Qe.left-Tr)*Be.ratio,ln=(Qe.top-Qr)*Be.ratio,rn=Qe.width*Be.ratio,An=Qe.height*Be.ratio;Qe.minimapActive?Le.fillStyle=$t:Le.fillStyle=Ot,Le.fillRect(Jt/hn,ln/hn,rn/hn,An/hn)})}},{key:"renderViewPort",value:function(){this.setRatio();var Be=this.getBBox(),Le=Be.minX,J=Be.minY,Ke=this.$root.offset(),We=Ke.top,Ot=Ke.left,Vt=this.$root.width(),$t=this.$root.height(),Gt=[Ot-Le,We-J],hn=this.ratio,$n=Vt*this.ratio,Sr=$t*this.ratio,vr=Math.round(Math.round(Gt[0])*hn),zn=Math.round(Math.round(Gt[1])*hn);Mr(this.viewportDOM,{width:"".concat($n,"px"),height:"".concat(Sr,"px"),left:"".concat(vr,"px"),top:"".concat(zn,"px")})}},{key:"destroy",value:function(){this.root.removeChild(this.container)}}]),ke}(),dr=e("EVdn"),gt=e("LvDl"),Rr=e("cLAn"),ci=function(ke){S(Be,ke);var we=A(Be);function Be(Le){var J;return t(this,Be),J=we.call(this,Le),J.root=Le.root,J.layout=Le.layout,J.zoomable=Le.zoomable||!1,J.moveable=Le.moveable||!1,J.draggable=Le.draggable||!1,J.linkable=Le.linkable||!1,J.disLinkable=Le.disLinkable||!1,J.theme={group:{type:gt.get(Le,"theme.group.type")||"normal"},edge:{type:gt.get(Le,"theme.edge.type")||"Bezier",Class:gt.get(Le,"theme.edge.Class")||nn,arrow:gt.get(Le,"theme.edge.arrow"),arrowPosition:gt.get(Le,"theme.edge.arrowPosition"),arrowOffset:gt.get(Le,"theme.edge.arrowOffset"),label:gt.get(Le,"theme.edge.label"),isRepeat:gt.get(Le,"theme.edge.isRepeat")||!1,isLinkMyself:gt.get(Le,"theme.edge.isLinkMyself")||!1,isExpandWidth:gt.get(Le,"theme.edge.isExpandWidth")||!1,defaultAnimate:gt.get(Le,"theme.edge.defaultAnimate")||!1},endpoint:{position:gt.get(Le,"theme.endpoint.position"),linkableHighlight:gt.get(Le,"theme.endpoint.linkableHighlight")||!1,limitNum:gt.get(Le,"theme.endpoint.limitNum"),expandArea:{left:gt.get(Le,"theme.endpoint.expandArea.left")===void 0?10:gt.get(Le,"theme.endpoint.expandArea.left"),right:gt.get(Le,"theme.endpoint.expandArea.right")===void 0?10:gt.get(Le,"theme.endpoint.expandArea.right"),top:gt.get(Le,"theme.endpoint.expandArea.top")===void 0?10:gt.get(Le,"theme.endpoint.expandArea.top"),bottom:gt.get(Le,"theme.endpoint.expandArea.bottom")===void 0?10:gt.get(Le,"theme.endpoint.expandArea.bottom")}},zoomGap:gt.get(Le,"theme.zoomGap")||.001,autoFixCanvas:{enable:gt.get(Le,"theme.autoFixCanvas.enable",!1),autoMovePadding:gt.get(Le,"theme.autoFixCanvas.autoMovePadding")||[20,20,20,20]},autoResizeRootSize:gt.get(Le,"theme.autoResizeRootSize",!0)},J.global=gt.get(Le,"global",{isScopeStrict:gt.get(Le,"global.isScopeStrict"),limitQueueLen:5}),J._zoomData=1,J._moveData=[0,0],J._zoomTimer=null,J.groups=[],J.nodes=[],J.edges=[],J.isSelectMode=!1,J.selecContents=[],J.selecMode="include",J.selectItem={nodes:[],edges:[],groups:[],endpoints:[]},J._remarkZoom=void 0,J._remarkMove=void 0,J.svg=null,J.wrapper=null,J.canvasWrapper=null,J._genWrapper(),J._genSvgWrapper(),J._genCanvasWrapper(),Sn.init(J.svg),J._dragType=null,J._dragNode=null,J._dragEndpoint=null,J._dragEdges=[],J._dragGroup=null,J._rootWidth=dr(J.root).width(),J._rootHeight=dr(J.root).height(),dr(J.root).css("overflow","hidden"),dr(J.root).css("position")==="static"&&dr(J.root).css("position","relative"),J._dragGroupZIndex=50,J._dragNodeZIndex=250,J._dragEdgeZindex=499,J._isInitEdgeZIndex=!1,J._hoverGroupQueue=[],J._hoverGroupObj=void 0,J._hoverGroupTimer=void 0,J._gridService=new Pe({root:J.root,canvas:Y(J)}),J._guidelineService=new cn({root:J.root,canvas:Y(J)}),J._bgObjQueue=[],J._bgObj=void 0,J._bgTimer=void 0,J._coordinateService=new It({canvas:Y(J),terOffsetX:dr(J.root).offset().left,terOffsetY:dr(J.root).offset().top,terWidth:dr(J.root).width(),terHeight:dr(J.root).height(),canOffsetX:J._moveData[0],canOffsetY:J._moveData[1],scale:J._zoomData}),J._addEventListener(),J._unionData={__system:{nodes:[],edges:[],groups:[],endpoints:[]}},J._NodeClass=G,J.actionQueue=[],J.actionQueueIndex=-1,J._autoMoveDir=[],J._autoMoveTimer=null,J}return p(Be,[{key:"draw",value:function(J,Ke){var We=this,Ot=J.groups||[],Vt=J.nodes||[],$t=J.edges||[];this.layout&&this._autoLayout({groups:Ot,nodes:Vt,edges:$t});var Gt=new Promise(function(hn,$n){setTimeout(function(){We.addGroups(Ot),hn()})}).then(function(){return new Promise(function(hn,$n){setTimeout(function(){We.addNodes(Vt),hn()},10)})}).then(function(hn){return new Promise(function($n,Sr){setTimeout(function(){We.addEdges($t),$n()},20)})});Gt.then(function(){We.actionQueue=[],We.actionQueueIndex=-1,Ke&&Ke({nodes:We.nodes,edges:We.edges,groups:We.groups})})}},{key:"redraw",value:function(J,Ke){this.removeNodes(this.nodes.map(function(We){return We.id})||[]),this.removeGroups(this.groups.map(function(We){return We.id})||[]),this.clearActionQueue(),this.draw(J||{},Ke)}},{key:"getDataMap",value:function(){return{nodes:this.nodes,edges:this.edges,groups:this.groups}}},{key:"_genSvgWrapper",value:function(){function J(){var Sr=[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i];return Sr.some(function(vr){return window.navigator.userAgent.match(vr)})}var Ke=J(),We="100%",Ot="100%",Vt=function(){var vr=0,zn=window.screen,Tr=window.navigator.userAgent.toLowerCase();return window.devicePixelRatio!==void 0?vr=window.devicePixelRatio:~Tr.indexOf("msie")?zn.deviceXDPI&&zn.logicalXDPI&&(vr=zn.deviceXDPI/zn.logicalXDPI):window.outerWidth!==void 0&&window.innerWidth!==void 0&&(vr=window.outerWidth/window.innerWidth),vr&&(vr=Math.round(vr*100)),vr};if(!Ke){var $t=1/(Vt()/200);We=1*$t+"px",Ot=1*$t+"px"}var Gt=dr(document.createElementNS("http://www.w3.org/2000/svg","svg")).attr("class","butterfly-svg").attr("width",We).attr("height",Ot).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").appendTo(this.wrapper);if(!Ke){window.onresize=function(){var Sr=1/(Vt()/200);Gt.attr("width",1*Sr+"px").attr("height",1*Sr+"px")};var hn=dr(this.wrapper)[0].getBoundingClientRect(),$n=Gt[0].getBoundingClientRect();Gt.css("top",hn.top-$n.top+"px").css("left",hn.left-$n.left+"px")}return this.svg=Gt}},{key:"_genWrapper",value:function(){var J=dr('<div class="butterfly-wrapper"></div>').appendTo(this.root);return this.wrapper=J[0]}},{key:"_genCanvasWrapper",value:function(){this.canvasWrapper=new ea,this.canvasWrapper.init({root:this.root,_on:this.on.bind(this),_emit:this.emit.bind(this)})}},{key:"_addEventListener",value:function(){var J=this;this.zoomable&&this.setZoomable(!0),this.moveable&&this.setMoveable(!0);var Ke=/Chrome/.test(window.navigator.userAgent)&&/Google Inc/.test(window.navigator.vendor),We=function(){var Gt=window.navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return Gt?parseInt(Gt[2],10):!1},Ot=Ke&&We()>=64;if(Ot&&window.ResizeObserver&&this.theme.autoResizeRootSize){var Vt=new ResizeObserver(function($t){J._rootWidth=dr(J.root).width(),J._rootHeight=dr(J.root).height(),J._coordinateService._changeCanvasInfo({terOffsetX:dr(J.root).offset().left,terOffsetY:dr(J.root).offset().top,terWidth:dr(J.root).width(),terHeight:dr(J.root).height()}),J.canvasWrapper.resize({root:J.root}),J.setGirdMode(!0,void 0,!0)});Vt.observe(this.root)}else window.addEventListener("resize",function(){J._rootWidth=dr(J.root).width(),J._rootHeight=dr(J.root).height(),J._coordinateService._changeCanvasInfo({terOffsetX:dr(J.root).offset().left,terOffsetY:dr(J.root).offset().top,terWidth:dr(J.root).width(),terHeight:dr(J.root).height()}),J.canvasWrapper.resize({root:J.root}),J.setGirdMode(!0,void 0,!0)});this.on("InnerEvents",function($t){if($t.type==="node:addEndpoint")J._addEndpoint($t.data,"node",$t.isInited);else if($t.type==="node:removeEndpoint"){var Gt=$t.data,hn=J.edges.filter(function(zn){return zn.sourceNode.id===Gt.nodeId&&zn.sourceEndpoint.id===Gt.id||zn.targetNode.id===Gt.nodeId&&zn.targetEndpoint.id===Gt.id});J.removeEdges(hn)}else if($t.type==="group:addEndpoint")J._addEndpoint($t.data,"group",$t.isInited);else if($t.type==="node:dragBegin")J._dragType="node:drag",J._dragNode=$t.data;else if($t.type==="node:mouseDown")J._dragType="node:mouseDown";else if($t.type==="group:dragBegin")J._dragType="group:drag",J._dragNode=$t.data;else if($t.type==="endpoint:drag")J._dragType="endpoint:drag",J._dragEndpoint=$t.data;else if($t.type==="node:move")J._moveNode($t.node,$t.x,$t.y,$t.isNotEventEmit);else if($t.type==="group:move")J._moveGroup($t.group,$t.x,$t.y,$t.isNotEventEmit);else if($t.type==="link:click")J._dragType="link:click";else if($t.type==="multiple:select"){var $n=J._selectMultiplyItem($t.range,$t.toDirection);gt.assign(J._unionData.__system,J.selectItem),J.emit("system.multiple.select",{data:$n}),J.emit("events",{type:"multiple:select",data:$n}),J.selectItem={nodes:[],edges:[],endpoints:[]}}else if($t.type==="group:resize")J._dragType="group:resize",J._dragGroup=$t.group;else if($t.type==="node:delete")J.removeNode($t.data.id);else if($t.type==="edge:delete")J.removeEdge($t.data);else if($t.type==="group:delete")J.removeGroup($t.data.id);else if($t.type==="group:addNodes")gt.get($t,"nodes",[]).forEach(function(zn){var Tr=gt.find(J.nodes,function(ln){return zn.id===ln.id});if(!Tr)J.addNode(zn);else{var Qr=J.removeNode(zn.id,!0,!0),Qe=Qr.nodes[0],Jt=$t.group;Qr.edges,Qe._init({top:zn.top-Jt.top,left:zn.left-Jt.left,dom:Qe.dom,group:Jt.id}),J.addNode(Qe,!0)}}),$t.isNotEventEmit||(J.emit("events",{type:"system.group.addMembers",nodes:$t.nodes,group:$t.group}),J.emit("system.group.addMembers",{nodes:$t.nodes,group:$t.group}));else if($t.type==="group:removeNodes"){var Sr=$t.group;gt.get($t,"nodes",[]).forEach(function(zn){J.removeNode(zn.id,!0,!0),zn._init({group:void 0,left:zn.left+Sr.left,top:zn.top+Sr.top,dom:zn.dom,_isDeleteGroup:!0}),J.addNode(zn,!0)})}else if($t.type==="edge:updateLabel"){var vr=$t.data.labelDom;dr(J.wrapper).append(vr)}else $t.type==="edge:setZIndex"&&J.setEdgeZIndex([$t.edge],$t.index)}),this._attachMouseDownEvent()}},{key:"_attachMouseDownEvent",value:function(){var J=this,Ke={x:0,y:0},We={x:0,y:0},Ot=!1,Vt=[],$t=function(ln){if(!Ot){var rn=J._getAllEndpoints();rn.forEach(function(An){if(!(ln===An||An.type==="source"||An._tmpType==="source")){if(An.canLink&&An.canLink(ln)){An.linkable&&(An.linkable(),An._linkable=!0);return}if(Ht(ln.scope,An.scope)){An.linkable&&(An.linkable(),An._linkable=!0),Vt.push(An);return}}}),Ot=!0}},Gt=function(){Ot=!1,Vt.forEach(function(ln){ln.unLinkable&&ln.unLinkable(),ln.unHoverLinkable&&ln.unHoverLinkable(),ln._linkable=!1}),Vt=[]},hn=null,$n=!1,Sr=function(ln,rn){$n||($n=!0,setTimeout(function(){var An=J._getAllEndpoints(),fr=J._coordinateService._terminal2canvas("x",ln),Pr=J._coordinateService._terminal2canvas("y",rn),kr=null;An.forEach(function(Ar){var vi=Ar._posLeft+Ar._width+(gt.get(Ar,"expandArea.right")||J.theme.endpoint.expandArea.right),Wi=Ar._posTop+Ar._height+(gt.get(Ar,"expandArea.bottom")||J.theme.endpoint.expandArea.bottom),di=Ar._posLeft-(gt.get(Ar,"expandArea.left")||J.theme.endpoint.expandArea.left),ri=Ar._posTop-(gt.get(Ar,"expandArea.top")||J.theme.endpoint.expandArea.top);fr>di&&fr<vi&&Pr>ri&&Pr<Wi&&(kr=Ar)}),kr?kr!==hn&&(kr.hoverLinkable&&kr.hoverLinkable(),hn=kr):hn&&(hn.unHoverLinkable&&hn.unHoverLinkable(),hn=null),$n=!1},100))},vr=function(){J._dragType=null,J._dragNode=null,J._dragEndpoint=null,J._dragGroup=null,J._dragEdges=[],We={x:0,y:0},Ke={x:0,y:0},J._autoMoveDir=[],J._guidelineService.isActive&&J._guidelineService.clearCanvas()},zn=function(ln){var rn=0;if(ln.button===rn){if(!J._dragType&&J.moveable&&(J._dragType="canvas:drag"),(ln.target===J.svg[0]||ln.target===J.root)&&J.isSelectMode){J.canvasWrapper.active(),J.canvasWrapper.dom.dispatchEvent(new MouseEvent("mousedown",{clientX:ln.clientX,clientY:ln.clientY}));return}Ke={x:ln.clientX,y:ln.clientY},J._isInitEdgeZIndex||(dr(J.svg).css("z-index",J._dragEdgeZindex),J.nodes.forEach(function(An){dr(An.dom).css("z-index",J._dragNodeZIndex*2-1),gt.get(An,"endpoints").forEach(function(fr){dr(fr.dom).css("z-index",J._dragNodeZIndex*2)})}),J.edges.forEach(function(An){An.labelDom&&dr(An.labelDom).css("z-index",J._dragEdgeZindex+1)}),J._isInitEdgeZIndex=!0),J._dragNode&&J._dragNode.__type=="node"&&(dr(J._dragNode.dom).css("z-index",++J._dragNodeZIndex*2-1),gt.get(J._dragNode,"endpoints").forEach(function(An){dr(An.dom).css("z-index",J._dragNodeZIndex*2)})),J._dragNode&&J._dragNode.__type=="group"&&(dr(J._dragNode.dom).css("z-index",++J._dragGroupZIndex*2-1),gt.get(J._dragNode,"endpoints").forEach(function(An){dr(An.dom).css("z-index",J._dragGroupZIndex*2)})),J.emit("system.drag.start",{dragType:J._dragType,dragNode:J._dragNode,dragEndpoint:J._dragEndpoint,dragEdges:J._dragEdges,dragGroup:J._dragGroup,position:{clientX:ln.clientX,clientY:ln.clientY,canvasX:J._coordinateService._terminal2canvas("x",ln.clientX),canvasY:J._coordinateService._terminal2canvas("y",ln.clientY)}}),J.emit("events",{type:"drag:start",dragType:J._dragType,dragNode:J._dragNode,dragEndpoint:J._dragEndpoint,dragEdges:J._dragEdges,dragGroup:J._dragGroup,position:{clientX:ln.clientX,clientY:ln.clientY,canvasX:J._coordinateService._terminal2canvas("x",ln.clientX),canvasY:J._coordinateService._terminal2canvas("y",ln.clientY)}}),J._autoMoveDir=[]}},Tr=function(ln){var rn=0;if(ln.button===rn&&J._dragType){var An=J._coordinateService._terminal2canvas("x",ln.clientX),fr=J._coordinateService._terminal2canvas("y",ln.clientY),Pr=ln.clientX-Ke.x,kr=ln.clientY-Ke.y;if(J._dragType==="canvas:drag")J.move([Pr+J._moveData[0],kr+J._moveData[1]]),Ke={x:ln.clientX,y:ln.clientY};else if(J._dragType==="node:drag"){if(We.x===0&&We.y===0){We={x:An,y:fr};return}if(J._dragNode){var Ar=[J._dragNode],vi=J._findUnion("nodes",J._dragNode);vi&&vi.length>0?(vi.forEach(function(Ca){Ar=Ar.concat(J._unionData[Ca].nodes)}),Ar=gt.uniqBy(Ar,"id")):J._rmSystemUnion(),dr(J.svg).css("visibility","hidden"),dr(J.wrapper).css("visibility","hidden"),Ar.forEach(function(Ca){J._moveNode(Ca,Ca.left+(An-We.x),Ca.top+(fr-We.y)),J._guidelineService.isActive&&J._guidelineService.draw(Ca,"node")}),dr(J.svg).css("visibility","visible"),dr(J.wrapper).css("visibility","visible"),We={x:An,y:fr},J._hoverGroup(J._dragNode),J.emit("system.node.move",{nodes:Ar}),J.emit("events",{type:"node:move",nodes:Ar}),J._autoMoveCanvas(ln.clientX,ln.clientY,{type:"node:drag",nodes:Ar},function(Ca){We.x+=Ca[0],We.y+=Ca[1]})}}else if(J._dragType==="group:drag"){if(We.x===0&&We.y===0){We={x:An,y:fr};return}if(J._dragNode){dr(J.svg).css("visibility","hidden"),dr(J.wrapper).css("visibility","hidden");var Wi=J._dragNode;J._moveGroup(Wi,Wi.left+(An-We.x),Wi.top+(fr-We.y)),J._guidelineService.isActive&&J._guidelineService.draw(Wi,"group"),dr(J.svg).css("visibility","visible"),dr(J.wrapper).css("visibility","visible"),We={x:An,y:fr},J.emit("system.group.move",{group:Wi}),J.emit("events",{type:"group:move",group:Wi}),J._autoMoveCanvas(ln.clientX,ln.clientY,{type:"group:drag",group:Wi},function(Ca){We.x+=Ca[0],We.y+=Ca[1]})}}else if(J._dragType==="endpoint:drag"){var di=J._coordinateService._terminal2canvas("x",ln.clientX),ri=J._coordinateService._terminal2canvas("y",ln.clientY),yi=J._dragEndpoint.type==="source"||J._dragEndpoint.type==="onlyConnect"||!J._dragEndpoint.type&&(!J._dragEndpoint._tmpType||J._dragEndpoint._tmpType==="source"),Si=(J._dragEndpoint.type==="target"||!J._dragEndpoint.type&&J._dragEndpoint._tmpType==="target")&&J._dragEndpoint.type!=="onlyConnect";if(yi&&J.linkable){var zi=J._findUnion("endpoints",J._dragEndpoint),si=[];if(!J._dragEdges||J._dragEdges.length===0){var ii=J.theme.edge.Class,Yi=[];zi&&zi.length>0?(zi.forEach(function(Ca){Yi=Yi.concat(J._unionData[Ca].endpoints)}),Yi=gt.uniqBy(Yi,function(Ca){return Ca.nodeId+"||"+Ca.id})):Yi=[J._dragEndpoint],Yi.forEach(function(Ca){var no=Ca.nodeType==="node"?J.getNode(Ca.nodeId):J.getGroup(Ca.nodeId),No=Ca,es={type:"endpoint",shapeType:J.theme.edge.type,orientationLimit:J.theme.endpoint.position,_sourceType:Ca.nodeType,sourceNode:no,sourceEndpoint:No,arrow:J.theme.edge.arrow,arrowPosition:J.theme.edge.arrowPosition,arrowOffset:J.theme.edge.arrowOffset,label:J.theme.edge.label,isExpandWidth:J.theme.edge.isExpandWidth};es.options=gt.assign({},es,{sourceNode:no.id,sourceEndpoint:No.id});var ds=J.edges.filter(function(jr){return jr.sourceEndpoint.id===Ca.id}).length+1;if(ds>Ca.limitNum){console.warn("id\u4E3A".concat(Ca.id,"\u7684\u951A\u70B9\u9650\u5236\u4E86").concat(Ca.limitNum,"\u6761\u8FDE\u7EBF"));return}var Yr=new ii(gt.assign(es,{_global:J.global,_on:J.on.bind(J),_emit:J.emit.bind(J)}));Yr._init(),dr(J.svg).append(Yr.dom),Yr.labelDom&&dr(J.wrapper).append(Yr.labelDom),Yr.arrowDom&&dr(J.svg).append(Yr.arrowDom),si.push(Yr)}),J._dragEdges=si}else si=J._dragEdges;dr(J.svg).css("visibility","hidden"),dr(J.wrapper).css("visibility","hidden");var La={pos:[di,ri]};si.forEach(function(Ca){var no=Ca.sourceEndpoint._posLeft+Ca.sourceEndpoint._width/2,No=Ca.sourceEndpoint._posTop+Ca.sourceEndpoint._height/2,es={pos:[no,No],orientation:Ca.sourceEndpoint.orientation};Ca.redraw(es,La)}),dr(J.svg).css("visibility","visible"),dr(J.wrapper).css("visibility","visible"),J.theme.endpoint.linkableHighlight&&($t(J._dragEndpoint),Sr(ln.clientX,ln.clientY)),J._autoMoveCanvas(ln.clientX,ln.clientY,{type:"endpoint:drag",edges:si},function(Ca){si.forEach(function(no){var No=no.sourceEndpoint._posLeft+no.sourceEndpoint._width/2,es=no.sourceEndpoint._posTop+no.sourceEndpoint._height/2,ds={pos:[No,es],orientation:no.sourceEndpoint.orientation};La.pos[0]+=Ca[0],La.pos[1]+=Ca[1],no.redraw(ds,La)})}),J.emit("system.drag.move",{dragType:J._dragType,pos:[ln.clientX,ln.clientY],dragNode:J._dragNode,dragEndpoint:J._dragEndpoint,dragEdges:si}),J.emit("events",{type:"drag:move",dragType:J._dragType,pos:[ln.clientX,ln.clientY],dragNode:J._dragNode,dragEndpoint:J._dragEndpoint,dragEdges:si})}else if(Si&&J.disLinkable){for(var Wa=null,Ri=J.edges.length-1;Ri>=0;Ri--)if(J._dragEndpoint.id===gt.get(J.edges,[Ri,"targetEndpoint","id"])&&J._dragEndpoint.nodeId===gt.get(J.edges,[Ri,"targetNode","id"])){Wa=J.edges[Ri];break}if(Wa&&J._dragEdges.length===0&&(Wa._isDeletingEdge=!0,J._dragEdges=[Wa]),J._dragEdges.length!==0){var Oa=J._dragEdges[0],Ha=Oa.sourceEndpoint._posLeft+Oa.sourceEndpoint._width/2,Za=Oa.sourceEndpoint._posTop+Oa.sourceEndpoint._height/2,co={pos:[Ha,Za],orientation:Oa.sourceEndpoint.orientation},Do={pos:[di,ri]};Oa.redraw(co,Do)}J.theme.endpoint.linkableHighlight&&($t(J._dragEndpoint),Sr(ln.clientX,ln.clientY))}}else if(J._dragType==="group:resize"){var ra=J._coordinateService._terminal2canvas("x",ln.clientX),ya=J._coordinateService._terminal2canvas("y",ln.clientY),Ra=ra-J._dragGroup.left,Fa=ya-J._dragGroup.top;J._dragGroup.setSize(Ra,Fa)}}},Qr=function(ln){var rn=0;if(ln.button===rn){var An=[];if(Gt(),J._dragType==="endpoint:drag"&&J._dragEdges&&J._dragEdges.length!==0){var fr=J._coordinateService._terminal2canvas("x",ln.clientX),Pr=J._coordinateService._terminal2canvas("y",ln.clientY),kr=null,Ar=gt.concat(J.nodes,J.groups);Ar.forEach(function(ii){ii.endpoints&&ii.endpoints.forEach(function(Yi){var La=Yi._posLeft+Yi._width+(gt.get(Yi,"expandArea.right")||J.theme.endpoint.expandArea.right),Wa=Yi._posTop+Yi._height+(gt.get(Yi,"expandArea.bottom")||J.theme.endpoint.expandArea.bottom),Ri=Yi._posLeft-(gt.get(Yi,"expandArea.left")||J.theme.endpoint.expandArea.left),Oa=Yi._posTop-(gt.get(Yi,"expandArea.top")||J.theme.endpoint.expandArea.top);fr>Ri&&fr<La&&Pr>Oa&&Pr<Wa&&(kr=Yi)})});var vi=!1;if((!kr||kr.type==="source"||kr._tmpType==="source")&&(vi=!0),vi||(vi=gt.some(J._dragEdges,function(ii){return!Ht(ii.sourceEndpoint.scope,kr.scope,gt.get(J,"global.isScopeStrict"))})),kr&&kr.limitNum!==void 0){var Wi=J.edges.filter(function(ii){return ii.targetEndpoint.id===kr.id}).length+J._dragEdges.length;Wi>kr.limitNum&&(console.warn("id\u4E3A".concat(kr.id,"\u7684\u951A\u70B9\u9650\u5236\u4E86").concat(kr.limitNum,"\u6761\u8FDE\u7EBF")),vi=!0)}if(vi)J._dragEdges.forEach(function(ii){ii._isDeletingEdge?J.removeEdge(ii):ii.destroy(!ii._isDeletingEdge)}),J._dragEdges.forEach(function(ii){if(gt.get(ii,"sourceEndpoint._tmpType")==="source"){var Yi=gt.some(J.edges,function(Wa){return ii.sourceNode.id===Wa.sourceNode.id&&ii.sourceEndpoint.id===Wa.sourceEndpoint.id});!Yi&&(ii.sourceEndpoint._tmpType=void 0)}if(gt.get(ii,"targetEndpoint._tmpType")==="target"){var La=gt.some(J.edges,function(Wa){return ii.targetNode.id===Wa.targetNode.id&&ii.targetEndpoint.id===Wa.targetEndpoint.id});!La&&(ii.targetEndpoint._tmpType=void 0)}});else{var di=[],ri=[],yi=J._dragEdges.filter(function(ii){if(!J.theme.edge.isRepeat){var Yi=gt.some(J.edges,function(Za){var co=!1;return ii.sourceNode&&(Za.type==="node"?co=ii.sourceNode.id===Za.sourceNode.id:co=ii.sourceNode.id===Za.sourceNode.id&&ii.sourceEndpoint.id===Za.sourceEndpoint.id),kr.nodeId&&(Za.type==="node"?co=co&>.get(ii,"targetNode.id")===gt.get(Za,"targetNode.id"):co=co&&kr.nodeId===gt.get(Za,"targetNode.id")&&kr.id===gt.get(Za,"targetEndpoint.id")),co&&ii._isDeletingEdge&&(co=!1),co});if(Yi)return console.warn("id\u4E3A".concat(ii.sourceEndpoint.id,"-").concat(kr.id,"\u7684\u7EBF\u6761\u8FDE\u63A5\u91CD\u590D\uFF0C\u8BF7\u68C0\u67E5")),ii.destroy(),!1}var La=gt.get(ii,"targetNode.id"),Wa=gt.get(ii,"targetEndpoint.id"),Ri=kr.nodeType==="node"?J.getNode(kr.nodeId):J.getGroup(kr.nodeId),Oa=kr;La&&Wa&&"".concat(La,"||").concat(Wa)!=="".concat(Ri.id,"||").concat(Oa.id)?(di.push(gt.cloneDeep(ii)),ri.push({edge:ii,preTargetNodeId:La,preTargetPointId:Wa,currentTargetNodeId:Ri.id,currentTargetPointId:Oa.id}),ii.targetEndpoint.connectedNum-=1,kr.connectedNum+=1):(ii.sourceEndpoint.connectedNum+=1,kr.connectedNum+=1),ii._create({id:ii.id&&!ii._isDeletingEdge?ii.id:"".concat(ii.sourceEndpoint.id,"-").concat(kr.id),targetNode:Ri,_targetType:kr.nodeType,targetEndpoint:Oa,type:"endpoint"});var Ha=ii.isConnect?ii.isConnect():!0;return Ha?(ii._isDeletingEdge?delete ii._isDeletingEdge:(ii.mounted&&ii.mounted(),J.edges.push(ii)),ii.type==="endpoint"&&!gt.get(ii,"sourceEndpoint.type")&&!gt.get(ii,"sourceEndpoint._tmpType")&&(ii.sourceEndpoint._tmpType="source"),ii.type==="endpoint"&&!gt.get(ii,"targetEndpoint.type")&&!gt.get(ii,"targetEndpoint._tmpType")&&(ii.targetEndpoint._tmpType="target"),ii):(console.warn("id\u4E3A".concat(ii.sourceEndpoint.id,"-").concat(kr.id,"\u7684\u7EBF\u6761\u65E0\u6CD5\u8FDE\u63A5\uFF0C\u8BF7\u68C0\u67E5")),ii.destroy(),!1)});di.length!==0&&yi.length!==0?(J.pushActionQueue({type:"system:reconnectEdges",data:{delLinks:di,addLinks:yi,info:ri}}),J.emit("system.link.reconnect",{delLinks:di,addLinks:yi,info:ri}),J.emit("events",{type:"link:reconnect",delLinks:di,addLinks:yi,info:ri})):(di.length!==0&&di.forEach(function(ii){J.pushActionQueue({type:"system:removeEdges",data:di}),J.emit("system.link.delete",{link:ii}),J.emit("events",{type:"link:delete",link:ii})}),yi.length!==0&&(J.pushActionQueue({type:"system:addEdges",data:J._dragEdges}),J.emit("system.link.connect",{links:J._dragEdges}),J.emit("events",{type:"link:connect",links:J._dragEdges})))}}if(J._dragType==="node:drag"&&J._dragNode){var Si=function(Yi){var La=null,Wa=null,Ri=Yi.left,Oa=Yi.left+Yi.getWidth(),Ha=Yi.top,Za=Yi.top+Yi.getHeight();if(Yi.group){var co=J.getGroup(Yi.group),Do=co.left,ra=co.top;Oa<0||Ri>co.getWidth()||Za<0||Ha>co.getHeight()?(Ri+=Do,Ha+=ra,Oa+=Do,Za+=ra,La=co):(La=co,Wa=co)}Wa||(Wa=J._findGroupByCoordinates(Yi,Ri,Ha,Oa,Za));var ya=[],Ra=function(Ei,gi){gi.forEach(function(or){if(or.sourceNode.id===Ei.id){or.sourceNode=Ei;var Ir=gt.find(or.sourceNode.endpoints,function(Li){return or.sourceEndpoint.id===Li.id});or.sourceEndpoint=Ir}if(or.targetNode.id===Ei.id){or.targetNode=Ei;var Ur=gt.find(or.targetNode.endpoints,function(Li){return or.targetEndpoint.id===Li.id});or.targetEndpoint=Ur}})};if(J._hoverGroup(J._dragNode),La){if(La!==Wa){var Fa=J.removeNode(Yi.id,!0,!0),Ca=Fa.nodes[0];ya=Fa.edges;var no={id:Ca.id,top:Ha,left:Ri,dom:Ca.dom,_isDeleteGroup:!0},No=J.actionQueue[J.actionQueueIndex];No.type==="system:moveNodes"&&(No.data._isDraging=!0),J.pushActionQueue({type:"system:groupRemoveMembers",data:{group:La,nodes:[Ca],_isDraging:!0}}),J.emit("events",{type:"system.group.removeMembers",group:La,nodes:[Ca]}),J.emit("system.group.removeMembers",{group:La,nodes:[Ca]}),Wa&&(Ht(Yi.scope,Wa.scope,gt.get(J,"global.isScopeStrict"))?(no.top-=Wa.top,no.left-=Wa.left,no.group=Wa.id,no._isDeleteGroup=!1,J.popActionQueue(),J.pushActionQueue({type:"system:groupAddMembers",data:{sourceGroup:La,targetGroup:Wa,nodes:[Ca],_isDraging:!0}}),J.emit("events",{type:"system.group.addMembers",nodes:[Ca],group:Wa}),J.emit("system.group.addMembers",{nodes:[Ca],group:Wa}),J._clearHoverGroup(Wa)):console.warn("nodeId\u4E3A".concat(Yi.id,"\u7684\u8282\u70B9\u548CgroupId").concat(Wa.id,"\u7684\u8282\u70B9\u7EC4scope\u503C\u4E0D\u7B26\uFF0C\u65E0\u6CD5\u52A0\u5165"))),Ca._init(no),J.addNode(Ca,!0),Ra(Ca,ya)}}else if(Wa)if(Ht(Yi.scope,Wa.scope,gt.get(J,"global.isScopeStrict"))){var es=J.removeNode(Yi.id,!0,!0),ds=es.nodes[0];ya=es.edges,ds._init({top:Ha-Wa.top,left:Ri-Wa.left,dom:ds.dom,group:Wa.id}),J.addNode(ds,!0);var Yr=J.actionQueue[J.actionQueueIndex];Yr.type==="system:moveNodes"&&(Yr.data._isDraging=!0),Ra(ds,ya),J.pushActionQueue({type:"system:groupAddMembers",data:{sourceGroup:void 0,targetGroup:Wa,nodes:[ds],_isDraging:!0}}),J.emit("events",{type:"system.group.addMembers",nodes:[ds],group:Wa}),J.emit("system.group.addMembers",{nodes:[ds],group:Wa}),J._clearHoverGroup(Wa)}else console.warn("nodeId\u4E3A".concat(Yi.id,"\u7684\u8282\u70B9\u548CgroupId").concat(Wa.id,"\u7684\u8282\u70B9\u7EC4scope\u503C\u4E0D\u7B26\uFF0C\u65E0\u6CD5\u52A0\u5165"));ya.forEach(function(jr){jr.redraw()}),Yi.endpoints.forEach(function(jr){jr.updatePos&&jr.updatePos()}),Yi._isMoving=!1},zi=[J._dragNode],si=J._findUnion("nodes",J._dragNode);si&&si.length>0&&(si.forEach(function(ii){zi=zi.concat(J._unionData[ii].nodes)}),zi=gt.uniqBy(zi,"id")),zi.forEach(function(ii){Si(ii)}),An=zi,J._rmSystemUnion()}J._dragType==="group:resize"&&J._dragGroup&&(J.emit("events",{type:"system.group.resize",group:J._dragGroup}),J.emit("system.group.resize",{group:J._dragGroup})),(J._dragType==="canvas:drag"||!J._dragType)&&!J.isSelectMode&&(J.emit("system.canvas.click"),J.emit("events",{type:"canvas:click"})),(J._dragType==="node:drag"||J._dragType==="group:drag")&&J.pushActionQueue({type:"_system:dragNodeEnd"}),J.emit("system.drag.end",{dragType:J._dragType,dragNode:J._dragNode,dragEndpoint:J._dragEndpoint,dragEdges:J._dragEdges,dragGroup:J._dragGroup,unionNodes:An}),J.emit("events",{type:"drag:end",dragType:J._dragType,dragNode:J._dragNode,dragEndpoint:J._dragEndpoint,dragEdges:J._dragEdges,dragGroup:J._dragGroup,unionNodes:An}),vr()}},Qe=function(ln){J._dragEdges&&J._dragEdges.length>0&&J._dragEdges.forEach(function(rn){rn._isDeletingEdge?J.removeEdge(rn):rn.destroy(!rn._isDeletingEdge)}),vr()};this.root.addEventListener("mousedown",zn),this.root.addEventListener("mousemove",Tr),this.root.addEventListener("mouseup",Qr),this.root.addEventListener("mouseleave",function(Jt){var ln=Jt.toElement;if(!!ln){var rn=ln.className;rn.indexOf("butterfly-tooltip")===-1&&Qe()}})}},{key:"getNode",value:function(J){return gt.find(this.nodes,function(Ke){return Ke.id===J})}},{key:"addNodes",value:function(J,Ke){var We=this,Ot=document.createDocumentFragment(),Vt=dr(this.wrapper),$t=J.filter(function(Gt){if(Gt.group){var hn=We.getGroup(Gt.group);if(!hn)return console.warn("\bnodeId\u4E3A".concat(Gt.id,"\u7684\u8282\u70B9\u627E\u4E0D\u5230groupId\u4E3A").concat(Gt.group,"\u7684\u8282\u70B9\u7EC4\uFF0C\u56E0\u6B64\u65E0\u6CD5\u6E32\u67D3")),!1}return!0}).map(function(Gt){var hn=null;if(Gt instanceof G||Gt.__type==="node")hn=Gt;else{var $n=Gt.Class||We._NodeClass;hn=new $n(gt.assign(gt.cloneDeep(Gt),{_global:We.global,_on:We.on.bind(We),_emit:We.emit.bind(We),_endpointLimitNum:We.theme.endpoint.limitNum,draggable:Gt.draggable!==void 0?Gt.draggable:We.draggable}))}if(We._isExistNode(hn)){console.warn("node:".concat(hn.id," has existed"));return}var Sr={};hn.dom&&(Sr.dom=hn.dom),hn._init(Sr),We.nodes.push(hn);var vr=hn.group?We.getGroup(hn.group):null;return vr?Ht(hn.scope,vr.scope,gt.get(We,"global.isScopeStrict"))?vr._appendNodes([hn]):console.warn("nodeId\u4E3A".concat(hn.id,"\u7684\u8282\u70B9\u548CgroupId").concat(vr.id,"\u7684\u8282\u70B9\u7EC4scope\u503C\u4E0D\u7B26\uFF0C\u65E0\u6CD5\u52A0\u5165")):Ot.appendChild(hn.dom),hn}).filter(function(Gt){return!!Gt});return Vt.append(Ot),$t.forEach(function(Gt){Gt._createEndpoint(Ke),!Ke&&Gt.mounted&&Gt.mounted()}),$t&&$t.length>0&&!Ke&&(this.pushActionQueue({type:"system:addNodes",data:$t}),this.emit("system.nodes.add",{nodes:$t}),this.emit("events",{type:"nodes:add",nodes:$t})),$t}},{key:"addNode",value:function(J,Ke){return this.addNodes([J],Ke)[0]}},{key:"removeNode",value:function(J,Ke,We){return this.removeNodes([J],Ke,We)}},{key:"removeNodes",value:function(J,Ke,We){var Ot=this,Vt=[];Vt=J.map(function(hn){return hn instanceof G?hn.id:hn});var $t=[],Gt=[];return Vt.forEach(function(hn){var $n=gt.findIndex(Ot.nodes,function(Qr){return Qr.id===hn});if($n===-1){console.warn("\u627E\u4E0D\u5230id\u4E3A\uFF1A".concat(hn,"\u7684\u8282\u70B9"));return}var Sr=Ot.getNeighborEdges(hn);Ke||Ot.removeEdges(Sr,!0,!0);var vr=Ot.nodes[$n];vr.destroy(We);var zn=Ot.nodes.splice($n,1);if(vr.group){var Tr=Ot.getGroup(vr.group);Tr&&(Tr.nodes=Tr.nodes.filter(function(Qr){return Qr.id!==vr.id}))}zn.length>0&&($t=$t.concat(zn),Gt=Gt.concat(Sr))}),$t.length>0&&(We||(this.pushActionQueue({type:"system:removeNodes",data:{nodes:$t,edges:Gt}}),this.emit("system.nodes.delete",{nodes:$t,edges:Gt}),this.emit("events",{type:"nodes:delete",nodes:$t,edges:Gt}))),{nodes:$t,edges:Gt}}},{key:"getNeighborNodes",value:function(J){var Ke=this,We=[],Ot=gt.find(this.nodes,function(Vt){return J===Vt.id});return Ot||console.warn("\u627E\u4E0D\u5230id\u4E3A".concat(J,"\u7684\u8282\u70B9")),this.edges.forEach(function(Vt){Vt.sourceNode&&Vt.sourceNode.id===J?We.push(Vt.targetNode.id):Vt.targetNode&&Vt.targetNode.id===J&&We.push(Vt.sourceNode.id)}),We.map(function(Vt){return Ke.getNode(Vt)})}},{key:"getNeighborNodesAndEdgesByLevel",value:function(J){var Ke=J.node,We=J.endpoint,Ot=J.type,Vt=Ot===void 0?"out":Ot,$t=J.level,Gt=$t===void 0?Infinity:$t,hn=J.iteratee,$n=hn===void 0?function(){return!0}:hn;if(!Ke||!this.nodes.length)return{nodes:[],edges:[]};if(Gt==0||!this.edges.length)return{nodes:[Ke],edges:[]};var Sr=[],vr=new Set,zn=this._getAdjcentTable(Vt);if(We?Sr=gt.get(zn,[Ke.id,We.id],[]).map(function(ln){return[].concat(O(ln),[1])}):Sr=(Object.values(gt.get(zn,Ke.id,{}))||[]).flatMap(function(ln){return ln.map(function(rn){return rn.concat(1)})}),vr.add(Ke.id),!Sr.length)return{nodes:[Ke],edges:[]};for(var Tr=function(){var rn=Sr.shift(),An=d(rn,3),fr=An[0],Pr=An[1],kr=An[2];if(vr.has(fr.id)||kr>Gt||!$n(fr,Pr,kr))return"continue";(Object.values(gt.get(zn,fr.id,{}))||[]).forEach(function(Ar){Ar.forEach(function(vi){var Wi=d(vi,2),di=Wi[0];Wi[1],!vr.has(di.id)&&Sr.push([].concat(O(vi),[kr+1]))})}),vr.add(fr.id)};Sr.length;)var Qr=Tr();var Qe=new Set,Jt=new Set;return this.edges.forEach(function(ln){var rn=ln.sourceNode;ln.sourceEndpoint;var An=ln.targetNode;ln.targetEndpoint,vr.has(rn.id)&&vr.has(An.id)&&(Qe.add(rn),Qe.add(An),Jt.add(ln))}),{nodes:O(Qe),edges:O(Jt)}}},{key:"_getAdjcentTable",value:function(J){var Ke={};return this.edges.forEach(function(We){var Ot=We.sourceNode,Vt=We.sourceEndpoint,$t=We.targetNode,Gt=We.targetEndpoint,hn=Ot.id,$n=Vt.id,Sr=$t.id,vr=Gt.id;J!=="out"&&(Ke[Sr]||(Ke[Sr]={}),Ke[Sr][vr]||(Ke[Sr][vr]=[]),Ke[Sr][vr].push([Ot,Vt])),J!=="in"&&(Ke[hn]||(Ke[hn]={}),Ke[hn][$n]||(Ke[hn][$n]=[]),Ke[hn][$n].push([$t,Gt]))}),this.nodes.forEach(function(We){Ke[We.id]||(Ke[We.id]={})}),Ke}},{key:"_isExistNode",value:function(J){var Ke=this.nodes.filter(function(We){return We.id===J.id});return Ke.length>0}},{key:"_moveNode",value:function(J,Ke,We,Ot){var Vt=!!J.group;if(Vt){var $t=this.getGroup(J.group),Gt=$t.type||this.theme.group.type;if(Gt==="inner"){var hn=dr($t.dom).width(),$n=dr($t.dom).height(),Sr=dr(J.dom).width(),vr=dr(J.dom).height();if(Ke<0||Ke+Sr>hn||We<0||We+vr>$n)return}}Ot||this.pushActionQueue({type:"system:moveNodes",data:{node:J,top:We,left:Ke}}),J._moveTo(Ke,We),J.endpoints&&J.endpoints.forEach(function(zn){zn.updatePos()}),this.edges.forEach(function(zn){if(zn.type==="endpoint"){var Tr=gt.find(J.endpoints,function(Qe){return Qe.nodeId===zn.sourceNode.id&&!!zn.sourceNode.getEndpoint(Qe.id,"source")||Qe.nodeId===zn.targetNode.id&&!!zn.targetNode.getEndpoint(Qe.id,"target")});Tr&&zn.redraw()}else if(zn.type==="node"){var Qr=zn.sourceNode.id===J.id||zn.targetNode.id===J.id;Qr&&zn.redraw()}})}},{key:"_addEndpoint",value:function(J,Ke,We){var Ot={nodeType:Ke,_coordinateService:this._coordinateService};if(J._init(Ot),!J._isInitedDom){var Vt=J.dom;if(gt.get(J,"_node.group")){var $t=this.getGroup(J._node.group);dr($t.dom).append(Vt)}else dr(this.wrapper).prepend(Vt);J.updatePos()}J.mounted&&J.mounted()}},{key:"_getAllEndpoints",value:function(){var J=[];return J=J.concat(this.nodes.map(function(Ke){return Ke.endpoints})),J=J.concat(this.groups.map(function(Ke){return Ke.endpoints})),J=J.filter(function(Ke){return!!Ke}),gt.flatten(J)}},{key:"getGroup",value:function(J){return gt.find(this.groups,function(Ke){return Ke.id===J})}},{key:"addGroup",value:function(J,Ke,We,Ot){var Vt=this,$t=dr(this.wrapper),Gt=J.Class||Un,hn=[],$n=new Gt(gt.assign(gt.cloneDeep(J),{_global:this.global,_emit:this.emit.bind(this),_on:this.on.bind(this),draggable:J.draggable!==void 0?J.draggable:this.draggable}));if(this._isExistGroup($n)){console.warn("group:".concat($n.id," has existed"));return}if($n.init(),$t.prepend($n.dom),this.groups.push($n),$n._createEndpoint(),$n.mounted&&$n.mounted(),Ke&&Ke.length>0){Ke=Ke.filter(function(Qe){return Ht(Qe.scope,$n.scope,gt.get(Vt,"global.isScopeStrict"))&&(Qe.group===$n.id||Qe.group==null)});var Sr=gt.get(We,"posType","absolute")==="absolute",vr=Infinity,zn=Infinity;Ke.forEach(function(Qe){Sr&&(Qe.left<vr&&(vr=Qe.left),Qe.top<zn&&(zn=Qe.top))}),$n._moveTo(vr-gt.get(We,"padding",5),zn-gt.get(We,"padding",5)),hn=Ke.map(function(Qe){var Jt=null,ln=gt.find(Vt.nodes,function(fr){return fr.id===Qe.id});if(ln)Vt.removeNode(ln.id,!0,!0),ln._init({dom:ln.dom,top:ln.top-$n.top,left:ln.left-$n.left,group:$n.id}),Jt=Vt.addNode(ln,!0);else{var rn=null;if(Qe instanceof G||Qe.__type==="node")rn=Qe;else{var An=Qe.Class||Vt._NodeClass;rn=new An(gt.assign(gt.cloneDeep(Qe),{_global:Vt.global,_on:Vt.on.bind(Vt),_emit:Vt.emit.bind(Vt),_endpointLimitNum:Vt.theme.endpoint.limitNum,draggable:Qe.draggable!==void 0?Qe.draggable:Vt.draggable}))}Sr&&(rn.top=rn.top-$n.top,rn.left=rn.left-$n.left),rn.group=$n.id,Jt=Vt.addNode(rn)}return Jt});var Tr=-Infinity,Qr=-Infinity;hn.forEach(function(Qe){var Jt=dr(Qe.dom).width(),ln=dr(Qe.dom).height();Tr<Qe.left+Jt&&(Tr=Qe.left+Jt),Qr<Qe.top+ln&&(Qr=Qe.top+ln)}),$n.setSize(Tr+gt.get(We,"padding",5)*2,Qr+gt.get(We,"padding",5)*2)}return Ot||(this.pushActionQueue({type:"system:addGroups",data:[{group:$n,nodes:hn}]}),this.emit("system.group.add",{group:$n,nodes:hn}),this.emit("events",{type:"group:add",group:$n,nodes:hn})),$n}},{key:"addGroups",value:function(J){var Ke=this;return J.map(function(We){return Ke.addGroup(We)}).filter(function(We){return We})}},{key:"removeGroup",value:function(J,Ke){var We=this,Ot=void 0;J instanceof Un?Ot=J.id:Ot=J;var Vt=this.getGroup(Ot);Vt||console.warn("\u672A\u627E\u5230id\u4E3A".concat(Ot,"\u7684\u8282\u70B9\u7EC4")),Vt._isDeleting=!0;var $t=Vt.nodes.map(function($n){var Sr=We.removeNode($n.id,!0,!0),vr=Sr.nodes[0],zn=Sr.edges;return vr._init({top:$n.top+Vt.top,left:$n.left+Vt.left,dom:$n.dom,_isDeleteGroup:!0}),We.addNode(vr,!0),zn.forEach(function(Tr){Tr.redraw()}),vr}),Gt=this.getNeighborEdges(Vt.id,"group");this.removeEdges(Gt,Ke);var hn=gt.findIndex(this.groups,function($n){return $n.id===Ot});return this.groups.splice(hn,1)[0],Vt.destroy(Ke),Ke&&this.pushActionQueue({type:"system:removeGroup",data:{group:Vt,nodes:$t}}),Vt}},{key:"removeGroups",value:function(){var J=this,Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],We=arguments.length>1?arguments[1]:void 0,Ot=[];Ot=Ke.map(function($t){return $t instanceof Un?$t.id:$t});var Vt=Ot.map(function($t){return J.removeGroup($t,We)});return{groups:Vt}}},{key:"_isExistGroup",value:function(J){var Ke=this.groups.filter(function(We){return We.id===J.id});return Ke.length>0}},{key:"_moveGroup",value:function(J,Ke,We,Ot){Ot||this.pushActionQueue({type:"system:moveGroups",data:{group:J,top:We,left:Ke}}),J._moveTo(Ke,We),this.edges.forEach(function(Vt){var $t=gt.get(Vt,"sourceNode.group")===J.id||gt.get(Vt,"targetNode.group")===J.id||gt.get(Vt,"_sourceType")==="group"&>.get(Vt,"sourceNode.id")===J.id||gt.get(Vt,"_targetType")==="group"&>.get(Vt,"targetNode.id")===J.id;$t&&Vt.redraw()})}},{key:"_findGroupByCoordinates",value:function(J,Ke,We,Ot,Vt){for(var $t=0;$t<this.groups.length;$t++){var Gt=this.groups[$t],hn=Gt.left,$n=Gt.left+Gt.getWidth(),Sr=Gt.top,vr=Gt.top+Gt.getHeight(),zn=!1;if(Ot!==void 0&&Vt!==void 0?zn=hn<=Ke&&$n>=Ot&&Sr<=We&&vr>=Vt:zn=Ke>=hn&&Ke<=$n&&We>=Sr&&We<=vr,zn&&Gt.id!==J.group)return Gt}}},{key:"_hoverGroup",value:function(J){var Ke=this;this._hoverGroupQueue.push(J),this._hoverGroupTimer||(this._hoverGroupTimer=setInterval(function(){if(Ke._hoverGroupQueue.length===0){clearInterval(Ke._hoverGroupTimer),Ke._hoverGroupTimer=void 0;return}var We=Ke._hoverGroupQueue.pop(),Ot=Ke._findGroupByCoordinates(We,We.left,We.top);Ot&&Ot.scope&&Ot.scope!==We.scope||(Ot?(!Ke._hoverGroupObj||Ot.id!==Ke._hoverGroupObj.id)&&(Ke._hoverGroupObj&&dr(Ke._hoverGroupObj.dom).removeClass("butterfly-group-hover"),dr(Ot.dom).addClass("butterfly-group-hover"),Ke._hoverGroupObj=Ot):(Ke._hoverGroupObj&&dr(Ke._hoverGroupObj.dom).removeClass("butterfly-group-hover"),Ke._hoverGroupObj=void 0),Ke._hoverGroupQueue=[])},200))}},{key:"_clearHoverGroup",value:function(J){this._hoverGroupObj&&dr(this._hoverGroupObj.dom).removeClass("butterfly-group-hover"),this._hoverGroupTimer=void 0,this._hoverGroupObj=void 0,this._hoverGroupQueue=[]}},{key:"getEdge",value:function(J){return gt.find(this.edges,function(Ke){return Ke.id===J})}},{key:"addEdges",value:function(J,Ke){var We=this;dr(this.svg).css("visibility","hidden");var Ot=document.createDocumentFragment(),Vt=document.createDocumentFragment(),$t=J.map(function(Gt){if(Gt instanceof nn)return Gt._init(),Ot.appendChild(Gt.dom),Gt.labelDom&&Vt.appendChild(Gt.labelDom),Gt.arrowDom&&Ot.appendChild(Gt.arrowDom),We.edges.push(Gt),Gt.mounted&&Gt.mounted(),Gt;var hn=Gt.Class||We.theme.edge.Class;if(Gt.type==="endpoint"){var $n=null,Sr=null,vr=Gt._sourceType,zn=Gt._targetType;if(Gt.sourceNode instanceof G||Gt.sourceNode.__type==="node")vr="node",$n=Gt.sourceNode;else if(Gt.sourceNode instanceof Un||Gt.sourceNode.__type==="group")vr="group",$n=Gt.sourceNode;else if(Gt._sourceType)$n=vr==="node"?We.getNode(Gt.sourceNode):We.getGroup(Gt.sourceNode);else{var Tr=We.getNode(Gt.sourceNode);Tr?(vr="node",$n=Tr):(vr="group",$n=We.getGroup(Gt.sourceNode))}if(Gt.targetNode instanceof G||Gt.targetNode.__type==="node")zn="node",Sr=Gt.targetNode;else if(Gt.targetNode instanceof Un||Gt.targetNode.__type==="group")zn="group",Sr=Gt.targetNode;else if(Gt._targetType)Sr=zn==="node"?We.getNode(Gt.targetNode):We.getGroup(Gt.targetNode);else{var Qr=We.getNode(Gt.targetNode);Qr?(zn="node",Sr=Qr):(zn="group",Sr=We.getGroup(Gt.targetNode))}if(!$n||!Sr){console.warn("butterflies error: can not connect edge. link sourceNodeId:".concat(Gt.sourceNode,";link targetNodeId:").concat(Gt.targetNode));return}var Qe=null,Jt=null;if(Gt.sourceEndpoint&&(Gt.sourceEndpoint instanceof y||Gt.sourceEndpoint.__type==="endpoint")?Qe=Gt.sourceEndpoint:Qe=$n.getEndpoint(Gt.source,"source"),Gt.targetEndpoint&&(Gt.targetEndpoint instanceof y||Gt.targetEndpoint.__type==="endpoint")?Jt=Gt.targetEndpoint:Jt=Sr.getEndpoint(Gt.target,"target"),!Qe||!Jt){console.warn("butterflies error: can not connect edge. link sourceId:".concat(Gt.source,";link targetId:").concat(Gt.target));return}if(!We.theme.edge.isRepeat){var ln=gt.some(We.edges,function(kr){var Ar=!1;return $n&&(Ar=$n.id===kr.sourceNode.id&&Qe.id===kr.sourceEndpoint.id&&vr===kr.sourceEndpoint.nodeType),Sr&&(Ar=Ar&&Sr.id===kr.targetNode.id&&Jt.id===kr.targetEndpoint.id&&zn===kr.targetEndpoint.nodeType),Ar});if(ln){console.warn("id\u4E3A".concat(Qe.id,"-").concat(Jt.id,"\u7684\u7EBF\u6761\u8FDE\u63A5\u91CD\u590D\uFF0C\u8BF7\u68C0\u67E5"));return}}var rn=new hn({type:"endpoint",id:Gt.id,label:Gt.label,shapeType:Gt.shapeType||We.theme.edge.type,orientationLimit:We.theme.endpoint.position,isExpandWidth:We.theme.edge.isExpandWidth,defaultAnimate:We.theme.edge.defaultAnimate,sourceNode:$n,targetNode:Sr,sourceEndpoint:Qe,targetEndpoint:Jt,arrow:Gt.arrow===void 0?gt.get(We,"theme.edge.arrow"):Gt.arrow,arrowPosition:Gt.arrowPosition===void 0?gt.get(We,"theme.edge.arrowPosition"):Gt.arrowPosition,arrowOffset:Gt.arrowOffset===void 0?gt.get(We,"theme.edge.arrowOffset"):Gt.arrowOffset,options:Gt,_sourceType:vr,_targetType:zn,_global:We.global,_on:We.on.bind(We),_emit:We.emit.bind(We)});return rn._init(),Ot.appendChild(rn.dom),rn.labelDom&&Vt.appendChild(rn.labelDom),rn.arrowDom&&Ot.appendChild(rn.arrowDom),We.edges.push(rn),Qe.connectedNum+=1,Jt.connectedNum+=1,rn.mounted&&rn.mounted(),Qe.type===void 0&&(Qe._tmpType="source"),Jt.type===void 0&&(Jt._tmpType="target"),rn}else{var An=We.getNode(Gt.source),fr=We.getNode(Gt.target);if(!An||!fr){console.warn("butterflies error: can not connect edge. link sourceId:".concat(Gt.source,";link targetId:").concat(Gt.target));return}var Pr=new hn({type:"node",id:Gt.id,label:Gt.label,sourceNode:An,targetNode:fr,shapeType:Gt.shapeType||We.theme.edge.type,orientationLimit:We.theme.endpoint.position,arrow:Gt.arrow===void 0?gt.get(We,"theme.edge.arrow"):Gt.arrow,arrowPosition:Gt.arrowPosition===void 0?gt.get(We,"theme.edge.arrowPosition"):Gt.arrowPosition,arrowOffset:Gt.arrowOffset===void 0?gt.get(We,"theme.edge.arrowOffset"):Gt.arrowOffset,isExpandWidth:We.theme.edge.isExpandWidth,defaultAnimate:We.theme.edge.defaultAnimate,_global:We.global,_on:We.on.bind(We),_emit:We.emit.bind(We)});return Pr._init(),Ot.appendChild(Pr.dom),Pr.labelDom&&Vt.appendChild(Pr.labelDom),Pr.arrowDom&&Ot.appendChild(Pr.arrowDom),We.edges.push(Pr),Pr.mounted&&Pr.mounted(),Pr}}).filter(function(Gt){return Gt});return dr(this.svg).append(Ot),dr(this.wrapper).append(Vt),$t.forEach(function(Gt){var hn={},$n={};Gt.type==="endpoint"?(hn={pos:[Gt.sourceEndpoint._posLeft+Gt.sourceEndpoint._width/2,Gt.sourceEndpoint._posTop+Gt.sourceEndpoint._height/2],orientation:Gt.sourceEndpoint.orientation?Gt.sourceEndpoint.orientation:void 0},$n={pos:[Gt.targetEndpoint._posLeft+Gt.targetEndpoint._width/2,Gt.targetEndpoint._posTop+Gt.targetEndpoint._height/2],orientation:Gt.targetEndpoint.orientation?Gt.targetEndpoint.orientation:void 0}):Gt.type==="node"&&(hn={pos:[Gt.sourceNode.left+Gt.sourceNode.getWidth()/2,Gt.sourceNode.top+Gt.sourceNode.getHeight()/2]},$n={pos:[Gt.targetNode.left+Gt.targetNode.getWidth()/2,Gt.targetNode.top+Gt.targetNode.getHeight()/2]}),Gt.redraw(hn,$n)}),Ke||(this.pushActionQueue({type:"system:addEdges",data:$t}),this.emit("system.link.connect",{links:$t}),this.emit("events",{type:"link:connect",links:$t})),dr(this.svg).css("visibility","visible"),$t}},{key:"addEdge",value:function(J,Ke){return this.addEdges([J],Ke)[0]}},{key:"removeEdges",value:function(J,Ke,We){var Ot=this,Vt=[];return J.forEach(function($t){var Gt=-1;if($t instanceof nn||$t.__type==="edge")$t.sourceEndpoint&&($t.sourceEndpoint.connectedNum-=1),$t.targetEndpoint&&($t.targetEndpoint.connectedNum-=1),Gt=gt.findIndex(Ot.edges,function(hn){return hn.type==="node"?$t.sourceNode.id===hn.sourceNode.id&&$t.targetNode.id===hn.targetNode.id:gt.get($t,"sourceNode.id")===gt.get(hn,"sourceNode.id")&>.get($t,"sourceEndpoint.id")===gt.get(hn,"sourceEndpoint.id")&>.get($t,"sourceEndpoint.nodeType")===gt.get(hn,"sourceEndpoint.nodeType")&>.get($t,"targetNode.id")===gt.get(hn,"targetNode.id")&>.get($t,"targetEndpoint.id")===gt.get(hn,"targetEndpoint.id")&>.get($t,"targetEndpoint.nodeType")===gt.get(hn,"targetEndpoint.nodeType")});else if(gt.isString($t))Gt=gt.findIndex(Ot.edges,function(hn){return $t===hn.id});else{console.warn("\u5220\u9664\u7EBF\u6761\u9519\u8BEF\uFF0C\u4F20\u5165\u53C2\u6570\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5");return}Gt!==-1?Vt=Vt.concat(Ot.edges.splice(Gt,1)):console.warn("\u5220\u9664\u7EBF\u6761\u9519\u8BEF\uFF0C\u4E0D\u5B58\u5728\u503C\u4E3A".concat($t.id,"\u7684\u7EBF"))}),We||this.pushActionQueue({type:"system:removeEdges",data:Vt}),Ke||(this.emit("system.links.delete",{links:Vt}),this.emit("events",{type:"links:delete",links:Vt})),Vt.forEach(function($t){$t.destroy(Ke)}),Vt.forEach(function($t){if(gt.get($t,"sourceEndpoint._tmpType")==="source"){var Gt=gt.some(Ot.edges,function($n){return $t.sourceNode.id===$n.sourceNode.id&&$t.sourceEndpoint.id===$n.sourceEndpoint.id});!Gt&&($t.sourceEndpoint._tmpType=void 0)}if(gt.get($t,"targetEndpoint._tmpType")==="target"){var hn=gt.some(Ot.edges,function($n){return $t.targetNode.id===$n.targetNode.id&&$t.targetEndpoint.id===$n.targetEndpoint.id});!hn&&($t.targetEndpoint._tmpType=void 0)}}),Vt}},{key:"removeEdge",value:function(J,Ke,We){return this.removeEdges([J],Ke,We)[0]}},{key:"getNeighborEdges",value:function(J,Ke){var We=void 0,Ot=void 0;return Ke==="node"?We=gt.find(this.nodes,function(Vt){return J===Vt.id}):Ke==="group"?Ot=gt.find(this.groups,function(Vt){return J===Vt.id}):(We=gt.find(this.nodes,function(Vt){return J===Vt.id}),We&&!Ke&&(Ke="node"),Ot=gt.find(this.groups,function(Vt){return J===Vt.id}),Ot&&!Ke&&(Ke="group")),this.edges.filter(function(Vt){return Ke==="node"?gt.get(Vt,"sourceNode.id")===We.id||gt.get(Vt,"targetNode.id")===We.id:gt.get(Vt,"sourceNode.id")===Ot.id||gt.get(Vt,"targetNode.id")===Ot.id})}},{key:"getNeighborEdgesByEndpoint",value:function(J,Ke){var We=this.getNeighborEdges(J);return We.filter(function(Ot){return Ot.type==="node"?!1:Ot.sourceNode.id===J&&Ot.sourceEndpoint.id===Ke||Ot.targetNode.id===J&&Ot.targetEndpoint.id===Ke})}},{key:"setEdgeZIndex",value:function(){var J=this,Ke,We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(We.length!==0){We.forEach(function(Sr){Sr._zIndex=Ot;var vr=gt.findIndex(J.edges,function(Tr){return Tr===Sr});if(vr!==-1){var zn=J.edges.splice(vr,1);dr(zn.dom).detach(),zn.eventHandlerDom&&dr(zn.eventHandlerDom).detach(),zn.arrowDom&&dr(zn.arrowDom).detach()}else return});var Vt=this._findEdgeIndex(We[0]),$t=[];We.forEach(function(Sr){$t.push(Sr.dom),Sr.eventHandlerDom&&$t.push(Sr.eventHandlerDom),Sr.arrowDom&&$t.push(Sr.arrowDom)});var Gt=this.edges[Vt],hn=this.edges[Vt+1];if(Gt){var $n=Gt.dom;Gt.eventHandlerDom&&($n=Gt.eventHandlerDom),Gt.arrowDom&&($n=Gt.arrowDom),dr($n).after($t)}else hn?dr(hn.dom).before($t):dr(this.svg).append($t);(Ke=this.edges).splice.apply(Ke,[Vt+1,0].concat(O(We)))}}},{key:"_findEdgeIndex",value:function(J){var Ke=this,We=0,Ot=J._zIndex||0;return this.edges.forEach(function(Vt,$t){if(Ot<(Vt._zIndex||0)){We=$t;return}$t===Ke.edges.length-1&&(We=$t)}),We}},{key:"_autoLayout",value:function(J){var Ke=this._rootWidth,We=this._rootHeight;if(gt.isFunction(this.layout))this.layout({width:Ke,height:We,data:J});else if(gt.get(this.layout,"type")==="forceLayout"){var Ot=dr.extend({width:Ke,height:We,center:{x:Ke/2,y:We/2},chargeStrength:-150,link:{id:"id",distance:200,strength:1}},gt.get(this.layout,"options"),!0);gt.get(this.layout,"type")==="forceLayout"&&Ai.forceLayout({opts:Ot,data:{groups:J.groups,nodes:J.nodes,edges:J.edges.map(function(hn){return{source:hn.type==="endpoint"?hn.sourceNode:hn.source,target:hn.type==="endpoint"?hn.targetNode:hn.target}})}})}else if(gt.get(this.layout,"type")==="dagreLayout")Ai.dagreLayout({rankdir:gt.get(this.layout,"options.rankdir")||"TB",align:gt.get(this.layout,"options.align"),nodeSize:gt.get(this.layout,"options.nodeSize"),nodesepFunc:gt.get(this.layout,"options.nodesepFunc"),ranksepFunc:gt.get(this.layout,"options.ranksepFunc"),nodesep:gt.get(this.layout,"options.nodesep")||50,ranksep:gt.get(this.layout,"options.ranksep")||50,controlPoints:gt.get(this.layout,"options.controlPoints")||!1,data:{nodes:J.nodes,edges:J.edges.map(function(hn){return{source:hn.type==="endpoint"?hn.sourceNode:hn.source,target:hn.type==="endpoint"?hn.targetNode:hn.target}})}});else if(gt.get(this.layout,"type")==="concentricLayout")Ai.concentLayout({center:gt.get(this.layout,"options.center")||[Ke/2,We/2],nodeSize:gt.get(this.layout,"options.nodeSize")||30,minNodeSpacing:gt.get(this.layout,"options.minNodeSpacing")||10,preventOverlap:gt.get(this.layout,"options.preventOverlap")||!1,sweep:gt.get(this.layout,"options.sweep"),equidistant:gt.get(this.layout,"options.equidistant")||!1,startAngle:3/2*Math.PI,clockwise:gt.get(this.layout,"options.clockwise")||!0,maxLevelDiff:gt.get(this.layout,"options.maxLevelDiff"),sortBy:gt.get(this.layout,"options.sortBy")||"degree",width:Ke,height:We,data:{groups:J.groups,nodes:J.nodes,edges:J.edges.map(function(hn){return{source:hn.type==="endpoint"?hn.sourceNode:hn.source,target:hn.type==="endpoint"?hn.targetNode:hn.target}})}});else if(gt.get(this.layout,"type")==="circleLayout")Ai.circleLayout({radius:gt.get(this.layout,"options.radius"),getWidth:gt.get(this.layout,"options.getWidth"),getHeight:gt.get(this.layout,"options.getHeight"),data:{nodes:J.nodes,edges:J.edges.map(function(hn){return{source:hn.type==="endpoint"?hn.sourceNode:hn.source,target:hn.type==="endpoint"?hn.targetNode:hn.target}})}});else if(gt.get(this.layout,"type")==="gridLayout"){var Vt=dr.extend({width:gt.get(this.layout,"width")||150,height:gt.get(this.layout,"height")||100,begin:gt.get(this.layout,"begin")||[0,0],center:gt.get(this.layout,"center")||[Ke/2,We/2],preventOverlap:gt.get(this.layout,"preventOverlap")||!0,preventOverlapPadding:gt.get(this.layout,"preventOverlapPadding")||10,condense:gt.get(this.layout,"condense")||!1,rows:gt.get(this.layout,"rows"),cols:gt.get(this.layout,"cols"),position:gt.get(this.layout,"position"),sortBy:gt.get(this.layout,"sortBy")||"degree",nodeSize:gt.get(this.layout,"nodeSize")||30,link:{id:"id",distance:100,strength:1}},gt.get(this.layout,"options"),!0);gt.get(this.layout,"type")==="gridLayout"&&Ai.gridLayout({opts:Vt,data:{groups:J.groups,nodes:J.nodes,edges:J.edges.map(function(hn){return{source:hn.type==="endpoint"?hn.sourceNode:hn.source,target:hn.type==="endpoint"?hn.targetNode:hn.target}})}})}else if(gt.get(this.layout,"type")==="fruchterman"){var $t=dr.extend({width:Ke,height:We,maxIteration:1e3,center:[Ke/2,We/2],gravity:5,speed:5,clustering:!1,clusterGravity:10,link:{id:"id",distance:100,strength:1}},gt.get(this.layout,"options"),!0);gt.get(this.layout,"type")==="fruchterman"&&Ai.fruchterman({opts:$t,data:{groups:J.groups,nodes:J.nodes,edges:J.edges.map(function(hn){return{source:hn.type==="endpoint"?hn.sourceNode:hn.source,target:hn.type==="endpoint"?hn.targetNode:hn.target}})}})}else if(gt.get(this.layout,"type")==="radial"){var Gt=dr.extend({width:gt.get(this.layout,"options.width")||500,height:gt.get(this.layout,"options.height")||500,maxIteration:gt.get(this.layout,"options.maxIteration")||1e3,center:gt.get(this.layout,"options.center")||[Ke/2,We/2],focusNode:gt.get(this.layout,"options.focusNode")||null,unitRadius:gt.get(this.layout,"options.unitRadius")||null,linkDistance:gt.get(this.layout,"options.linkDistance")||50,preventOverlap:gt.get(this.layout,"options.preventOverlap")||!1,nodeSize:gt.get(this.layout,"options.nodeSize")||void 0,nodeSpacing:gt.get(this.layout,"options.nodeSpacing")||void 0,strictRadial:gt.get(this.layout,"options.strictRadial")||!0,maxPreventOverlapIteration:gt.get(this.layout,"options.maxPreventOverlapIteration")||200,sortBy:gt.get(this.layout,"options.sortBy")||void 0,sortStrength:gt.get(this.layout,"options.sortStrength")||10,link:{id:"id",distance:100,strength:1}},gt.get(this.layout,"options"),!0);gt.get(this.layout,"type")==="radial"&&Ai.radial({opts:Gt,data:{groups:J.groups,nodes:J.nodes,edges:J.edges.map(function(hn){return{source:hn.type==="endpoint"?hn.sourceNode:hn.source,target:hn.type==="endpoint"?hn.targetNode:hn.target}})}})}}},{key:"setMinimap",value:function(){var J=this,Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};We.events||(We.events=[]);var Ot=["system.canvas.zoom","system.node.delete","system.node.move","system.nodes.add","system.group.delete","system.group.move","system.drag.move","system.canvas.move"].concat(O(We.events)),Vt=function(){return J.nodes.map(function(Qr){return{id:Qr.id,left:Qr.left,top:Qr.top,width:Qr.getWidth(),height:Qr.getHeight(),group:Qr.group,minimapActive:gt.get(Qr,"options.minimapActive")}})},$t=function(){return J.groups.map(function(Qr){return{id:Qr.id,left:Qr.left,top:Qr.top,width:Qr.getWidth(),height:Qr.getHeight(),minimapActive:gt.get(Qr,"options.minimapActive")}})};if(Ke&&!this.minimap){this.minimap=new Dr(m({root:this.root,move:this.move.bind(this),terminal2canvas:this.terminal2canvas.bind(this),canvas2terminal:this.canvas2terminal.bind(this),nodes:Vt(),groups:$t(),zoom:this.getZoom(),offset:this.getOffset()},We)),this.updateFn=function(){J.minimap.update({nodes:Vt(),groups:$t(),zoom:J.getZoom(),offset:J.getOffset()})};var Gt=he(Ot),hn;try{for(Gt.s();!(hn=Gt.n()).done;){var $n=hn.value;this.on($n,this.updateFn)}}catch(Tr){Gt.e(Tr)}finally{Gt.f()}return}if(!!this.minimap){this.minimap.destroy();var Sr=he(Ot),vr;try{for(Sr.s();!(vr=Sr.n()).done;){var zn=vr.value;this.off(zn,this.updateFn)}}catch(Tr){Sr.e(Tr)}finally{Sr.f()}delete this.minimap,delete this.updateFn}}},{key:"focusNodesWithAnimate",value:function(J){var Ke=this,We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:["node"],Ot=arguments.length>2?arguments[2]:void 0,Vt=arguments.length>3?arguments[3]:void 0,$t=Infinity,Gt=-Infinity,hn=Infinity,$n=-Infinity;if(gt.includes(We,"node")){var Sr=J.nodes;this.nodes.filter(function(ri){return gt.find(Sr,function(yi){return ri.id===yi})!==void 0}).forEach(function(ri){var yi=ri.left,Si=ri.left+ri.getWidth(),zi=ri.top,si=ri.top+ri.getHeight();if(ri.group){var ii=Ke.getGroup(ri.group);ii&&(yi+=ii.left,Si+=ii.left,zi+=ii.top,si+=ii.top)}yi<$t&&($t=yi),Si>Gt&&(Gt=Si),zi<hn&&(hn=zi),si>$n&&($n=si)})}if(gt.includes(We,"group")){var vr=J.groups;this.groups.filter(function(ri){return gt.find(vr,function(yi){return yi===ri.id})}).forEach(function(ri){var yi=ri.left,Si=ri.left+ri.getWidth(),zi=ri.top,si=ri.top+ri.getHeight();yi<$t&&($t=yi),Si>Gt&&(Gt=Si),zi<hn&&(hn=zi),si>$n&&($n=si)})}var zn=gt.get(Ot,"offset")||[0,0],Tr=Gt-$t,Qr=this._rootWidth-zn[0],Qe=$n-hn,Jt=this._rootHeight-zn[1],ln=Qr/Tr,rn=Jt/Qe,An=ln<rn?ln:rn;gt.get(Ot,"keepPreZoom")?An=this._zoomData<An?this._zoomData:An:An=1<An?1:An;var fr=this._coordinateService._canvas2terminal("x",$t,{scale:An,canOffsetX:0,canOffsetY:0,terOffsetX:0,terOffsetY:0,originX:50,originY:50}),Pr=this._coordinateService._canvas2terminal("x",Gt,{scale:An,canOffsetX:0,canOffsetY:0,terOffsetX:0,terOffsetY:0,originX:50,originY:50}),kr=this._coordinateService._canvas2terminal("y",hn,{scale:An,canOffsetX:0,canOffsetY:0,terOffsetX:0,terOffsetY:0,originX:50,originY:50}),Ar=this._coordinateService._canvas2terminal("y",$n,{scale:An,canOffsetX:0,canOffsetY:0,terOffsetX:0,terOffsetY:0,originX:50,originY:50}),vi=(fr+Pr-this._rootWidth)/2,Wi=(kr+Ar-this._rootHeight)/2;vi=-vi+zn[0],Wi=-Wi+zn[1];var di=500;dr(this.wrapper).animate({top:Wi,left:vi},di),this._moveData=[vi,Wi],this._coordinateService._changeCanvasInfo({canOffsetX:vi,canOffsetY:Wi,scale:An,originX:50,originY:50}),this.zoom(An,Vt)}},{key:"focusCenterWithAnimate",value:function(J,Ke){var We=this.nodes.map(function(Vt){return Vt.id}),Ot=this.groups.map(function(Vt){return Vt.id});this.focusNodesWithAnimate({nodes:We,groups:Ot},["node","group"],J,Ke)}},{key:"focusNodeWithAnimate",value:function(J){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"node",We=arguments.length>2?arguments[2]:void 0,Ot=arguments.length>3?arguments[3]:void 0,Vt=null;gt.isFunction(J)?Vt=Ke==="node"?gt.find(this.nodes,J):gt.find(this.groups,J):Vt=Ke==="node"?gt.find(this.nodes,function(Qe){return Qe.id===J}):gt.find(this.groups,function(Qe){return Qe.id===J});var $t=0,Gt=0;if(!!Vt){if($t=Vt.top||Vt.y,Gt=Vt.left||Vt.x,Vt.height&&($t+=Vt.height/2),Vt.width&&(Gt+=Vt.width/2),Vt.group){var hn=gt.find(this.groups,function(Qe){return Qe.id===Vt.group});if(!hn)return;$t+=hn.top||hn.y,Gt+=hn.left||hn.x,hn.height&&($t+=hn.height/2),hn.width&&(Gt+=hn.width/2)}var $n=gt.get(We,"offset")||[0,0],Sr=this._rootWidth,vr=this._rootHeight,zn=vr/2-$t+$n[1],Tr=Sr/2-Gt+$n[0],Qr=500;dr(this.wrapper).animate({top:zn,left:Tr},Qr),this._moveData=[Tr,zn],this._coordinateService._changeCanvasInfo({canOffsetX:Tr,canOffsetY:zn,originX:50,originY:50,scale:1}),this.zoom(1,Ot),this._guidelineService.isActive&&this._guidelineService.clearCanvas()}}},{key:"setSelectMode",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:["node"],We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"include";J?(this.isSelectMode=!0,this._rmSystemUnion(),this.selecContents=Ke,this.selecMode=We,this.canvasWrapper.active(),this._remarkMove=this.moveable,this._remarkZoom=this.zoomable,this.setZoomable(!1),this.setMoveable(!1)):(this.isSelectMode=!1,this.canvasWrapper.unActive(),this._remarkMove&&this.setMoveable(!0),this._remarkZoom&&this.setZoomable(!0))}},{key:"getUnion",value:function(J){if(!J){console.error("\u4F20\u5165\u6B63\u786E\u7684name");return}return this._unionData[J]}},{key:"getAllUnion",value:function(){return this._unionData}},{key:"add2Union",value:function(J,Ke){var We=this;if(!(!J||!Ke)){this._unionData[J]||(this._unionData[J]={nodes:[],groups:[],edges:[],endpoints:[]});var Ot=this._unionData[J];Ke.nodes&&(Ke.nodes.forEach(function(Vt){var $t=gt.isString(Vt),Gt=$t?We.getNode(Vt):Vt;Ot.nodes.push(Gt)}),Ot.nodes=gt.uniqBy(Ot.nodes,"id")),Ke.groups&&(Ke.groups.forEach(function(Vt){var $t=gt.isString(Vt),Gt=$t?We.getGroup(Vt):Vt;Ot.groups.push(Gt)}),Ot.groups=gt.uniqBy(Ot.groups,"id")),Ke.edges&&(Ke.edges.forEach(function(Vt){var $t=gt.isString(Vt),Gt=$t?We.getEdge(Vt):Vt;Ot.edges.push(Gt)}),Ot.edges=gt.uniqBy(Ot.edges,"id")),Ke.endpoints&&(Ot.endpoints=Ot.endpoints.concat(Ke.endpoints))}}},{key:"removeUnion",value:function(J){this._unionData[J]={nodes:[],edges:[],groups:[],endpoints:[]}}},{key:"removeAllUnion",value:function(){this._unionData={__system:{nodes:[],edges:[],groups:[],endpoints:[]}}}},{key:"_rmSystemUnion",value:function(){this._unionData.__system.nodes=[],this._unionData.__system.edges=[],this._unionData.__system.groups=[],this._unionData.__system.endpoints=[]}},{key:"_findUnion",value:function(J,Ke){var We=[];for(var Ot in this._unionData){var Vt=gt.find(gt.get(this._unionData,[Ot,J],[]),function($t){return gt.toString($t.id)===gt.toString(Ke.id)});Vt&&We.push(Ot)}return We}},{key:"_selectMultiplyItem",value:function(J,Ke){var We=this,Ot=this._coordinateService._terminal2canvas("x",J[0]),Vt=this._coordinateService._terminal2canvas("y",J[1]),$t=this._coordinateService._terminal2canvas("x",J[2]),Gt=this._coordinateService._terminal2canvas("y",J[3]),hn=gt.includes(this.selecContents,"node"),$n=gt.includes(this.selecContents,"edge"),Sr=gt.includes(this.selecContents,"endpoint"),vr=function(Tr){var Qr=Tr.left,Qe=Tr.right,Jt=Tr.top,ln=Tr.bottom;if(We.selecMode==="include"||We.selecMode==="senior"&&Ke==="right")return Ot<Qr&&$t>Qe&&Vt<Jt&&Gt>ln;if(We.selecMode==="touch"||We.selecMode==="senior"&&Ke==="left"){var rn=!0;return $t<Qr&&(rn=!1),Ot>Qe&&(rn=!1),Gt<Jt&&(rn=!1),Vt>ln&&(rn=!1),rn}};return hn&&this.nodes.forEach(function(zn){var Tr=zn.left,Qr=zn.left+dr(zn.dom).width(),Qe=zn.top,Jt=zn.top+dr(zn.dom).height();if(zn.group){var ln=We.getGroup(zn.group);Tr+=ln.left,Qr+=ln.left,Qe+=ln.top,Jt+=ln.top}var rn=vr({left:Tr,right:Qr,top:Qe,bottom:Jt});rn&&We.selectItem.nodes.push(zn)}),Sr&&this.nodes.forEach(function(zn){zn.endpoints.forEach(function(Tr){var Qr=Tr._posLeft,Qe=Tr._posLeft+dr(Tr.dom).width(),Jt=Tr._posTop,ln=Tr._posTop+dr(Tr.dom).height(),rn=vr({left:Qr,right:Qe,top:Jt,bottom:ln});rn&&We.selectItem.endpoints.push(Tr)})}),$n&&this.edges.forEach(function(zn){if(zn.type==="endpoint"){var Tr=zn.sourceEndpoint._posLeft<zn.targetEndpoint._posLeft?zn.sourceEndpoint._posLeft:zn.targetEndpoint._posLeft,Qr=zn.sourceEndpoint._posLeft+zn.sourceEndpoint._width>zn.targetEndpoint._posLeft+zn.targetEndpoint._width?zn.sourceEndpoint._posLeft+zn.sourceEndpoint._width:zn.targetEndpoint._posLeft+zn.targetEndpoint._width,Qe=zn.sourceEndpoint._posTop<zn.targetEndpoint._posTop?zn.sourceEndpoint._posTop:zn.targetEndpoint._posTop,Jt=zn.sourceEndpoint._posTop+zn.sourceEndpoint._height>zn.targetEndpoint._posTop+zn.targetEndpoint._height?zn.sourceEndpoint._posTop+zn.sourceEndpoint._height:zn.targetEndpoint._posTop+zn.targetEndpoint._height,ln=vr({left:Tr,right:Qr,top:Qe,bottom:Jt});ln&&We.selectItem.edges.push(zn)}else zn.type==="node"}),this.selectItem}},{key:"updateRootResize",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._coordinateService._changeCanvasInfo({terOffsetX:J.terOffsetX||dr(this.root).offset().left,terOffsetY:J.terOffsetY||dr(this.root).offset().top,terWidth:J.terWidth||dr(this.root).width(),terHeight:J.terHeight||dr(this.root).height()}),this.canvasWrapper._changeCanvasInfo({terScrollX:J.terScrollX||0,terScrollY:J.terScrollY||0}),this.canvasWrapper.resize({root:this.root}),this._gridService._resize(),this._guidelineService._resize()}},{key:"setZoomable",value:function(J){var Ke=this,We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._zoomDirection;We!==void 0&&(this._zoomDirection=We),this._zoomCb||(this._zoomCb=function(Ot){Ot.preventDefault();var Vt=Ot.deltaY;if(Ke._zoomDirection?Ke._zoomData-=Vt*Ke.theme.zoomGap:Ke._zoomData+=Vt*Ke.theme.zoomGap,Ke._zoomData<.25){Ke._zoomData=.25;return}if(Ke._zoomData>5){Ke._zoomData=5;return}for(var $t=["webkit","moz","ms","o"],Gt="scale(".concat(Ke._zoomData,")"),hn=0;hn<$t.length;hn++)Ke.wrapper.style["".concat($t[hn],"Transform")]=Gt;Ke.wrapper.style.transform=Gt,Ke._coordinateService._changeCanvasInfo({wrapper:Ke.wrapper,girdWrapper:Ke._guidelineService.dom,mouseX:Ot.clientX,mouseY:Ot.clientY,scale:Ke._zoomData}),Ke._guidelineService.zoom(Ke._zoomData),Ke.emit("system.canvas.zoom",{zoom:Ke._zoomData}),Ke.emit("events",{type:"canvas.zoom",zoom:Ke._zoomData})}),J?this.root.addEventListener("wheel",this._zoomCb):this.root.removeEventListener("wheel",this._zoomCb)}},{key:"setMoveable",value:function(J){J?(this.moveable=!0,this._dragType==="canvas:drag"&&(this.moveable=!1)):this.moveable=!1}},{key:"setLinkable",value:function(J){this.linkable=!!J}},{key:"setDisLinkable",value:function(J){this.disLinkable=!!J}},{key:"setDraggable",value:function(J){this.nodes.forEach(function(Ke){Ke.setDraggable(J)}),this.draggable=J}},{key:"setOrigin",value:function(J){var Ke=(J[0]||"0").toString().replace("%",""),We=(J[1]||"0").toString().replace("%","");this._coordinateService._changeCanvasInfo({originX:parseFloat(Ke),originY:parseFloat(We)})}},{key:"getZoom",value:function(){return this._zoomData}},{key:"getOffset",value:function(){return this._moveData}},{key:"getOrigin",value:function(){return[this._coordinateService.originX+"%",this._coordinateService.originY+"%"]}},{key:"zoom",value:function(J,Ke){var We=this;J<.25&&(J=.25),J>5&&(J=5);var Ot=50,Vt=1,$t=J-this._zoomData,Gt=$t/20;clearInterval(this._zoomTimer),this._zoomTimer=null,$t!==0?this._zoomTimer=setInterval(function(){We._zoomData+=Gt;var hn={scale:We._zoomData};(We._coordinateService.originX===void 0||We._coordinateService.originY===void 0)&&(hn.originX=50,hn.originY=50),We._coordinateService._changeCanvasInfo(hn),We._guidelineService.zoom(We._zoomData),dr(We.wrapper).css({transform:"scale(".concat(We._zoomData,")")}),Vt===20&&(clearInterval(We._zoomTimer),We.emit("system.canvas.zoom",{zoom:We._zoomData}),We.emit("events",{type:"canvas.zoom",zoom:We._zoomData}),Ke&&Ke()),Vt++},Ot/20):Ke&&Ke()}},{key:"move",value:function(J){dr(this.wrapper).css("left",J[0]).css("top",J[1]),this._coordinateService._changeCanvasInfo({canOffsetX:J[0],canOffsetY:J[1]}),this._guidelineService.isActive&&this._guidelineService.move(J[0],J[1]),this._moveData=J,this.emit("system.canvas.move"),this.emit("events",{type:"system.canvas.move"})}},{key:"setGirdMode",value:function(){var J=this,Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._bgObj,Ot=arguments.length>2?arguments[2]:void 0;if(Ke){if(this._bgObjQueue.push(We),this._bgTimer)return;this._bgTimer=setInterval(function(){if(J._bgObjQueue.length===0){clearInterval(J._bgTimer),J._bgTimer=null;return}J._bgObj=J._bgObjQueue.pop(),Ot&&J._gridService._resize(),J._gridService.create(J._bgObj),J._bgObjQueue=[]},1e3)}else this._gridService.destroy(),this._bgObjQueue=[]}},{key:"setGuideLine",value:function(){var J=this,Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._bgObj;if(Ke){if(this._bgObjQueue.push(We),this._bgTimer)return;this._bgTimer=setInterval(function(){if(J._bgObjQueue.length===0){clearInterval(J._bgTimer),J._bgTimer=null;return}J._bgObj=J._bgObjQueue.pop(),J._guidelineService.create(J._bgObj),J._bgObjQueue=[]},200)}else this._guidelineService.destroy(),this._bgObjQueue=[]}},{key:"canvas2terminal",value:function(J,Ke){return this._coordinateService.canvas2terminal(J,Ke)}},{key:"terminal2canvas",value:function(J,Ke){return this._coordinateService.terminal2canvas(J,Ke)}},{key:"save2img",value:function(J){var Ke="toPng";switch(J.type){case"jpeg":case".jpeg":Ke="toJpeg";break;case"png":case".png":Ke="toPng";break;case"svg":case".svg":Ke="toSvg";break}return Rr[Ke](this.root,J).then(function(We){return We}).catch(function(We){console.error("oops, something went wrong!",We)})}},{key:"justifyCoordinate",value:function(){this._gridService.justifyAllCoordinate()}},{key:"_autoMoveCanvas",value:function(J,Ke,We,Ot){var Vt=this;if(!!this.theme.autoFixCanvas.enable){this._autoMoveDir=[];var $t=this._coordinateService.terOffsetX,Gt=this._coordinateService.terOffsetY;if(clearInterval(this._autoMoveTimer),this._autoMoveTimer=null,!(this._autoMoveTimer&&this._autoMoveDir.length>0)){var hn=this.theme.autoFixCanvas.autoMovePadding;if(J-$t<=hn[3]&&this._autoMoveDir.push("left"),this._rootWidth-(J-$t)<=hn[1]&&this._autoMoveDir.push("right"),Ke-Gt<=hn[0]&&this._autoMoveDir.push("top"),this._rootHeight-(Ke-Gt)<=hn[2]&&this._autoMoveDir.push("bottom"),this._autoMoveDir.length===0){clearInterval(this._autoMoveTimer);return}if(!this._autoMoveTimer){var $n=5;this._autoMoveTimer=setInterval(function(){Vt._autoMoveDir.includes("left")&&(Vt.move([Vt._moveData[0]+$n,Vt._moveData[1]]),Sr([-$n,0])),Vt._autoMoveDir.includes("right")&&(Vt.move([Vt._moveData[0]-$n,Vt._moveData[1]]),Sr([+$n,0])),Vt._autoMoveDir.includes("top")&&(Vt.move([Vt._moveData[0],Vt._moveData[1]+$n]),Sr([0,-$n])),Vt._autoMoveDir.includes("bottom")&&(Vt.move([Vt._moveData[0],Vt._moveData[1]-$n]),Sr([0,+$n]))},70)}var Sr=function(zn){if(We.type==="node:drag")We.nodes.forEach(function(Qr){Qr.moveTo(Qr.left+zn[0],Qr.top+zn[1])});else if(We.type==="group:drag"){var Tr=We.group;Tr.moveTo(Tr.left+zn[0],Tr.top+zn[1])}Ot&&Ot(zn)}}}}},{key:"undo",value:function(){var J=this,Ke=[];if(this.actionQueueIndex<=-1){console.warn("\u56DE\u9000\u5806\u6808\u5DF2\u7A7A\uFF0C\u65E0\u6CD5\u518Dundo");return}var We=this.actionQueue[this.actionQueueIndex--];if(We.type==="_system:dragNodeEnd"&&(We=this.actionQueue[this.actionQueueIndex--]),Ke.push(We),We.type==="system:addNodes")this.removeNodes(We.data,!1,!0);else if(We.type==="system:removeNodes")this.addNodes(We.data.nodes,!0),this.addEdges(We.data.edges,!0);else if(We.type==="system:addEdges")this.removeEdges(We.data,!0,!0);else if(We.type==="system:removeEdges")this.addEdges(We.data,!0);else if(We.type==="system:moveNodes")for(var Ot in We.data.nodes){var Vt=We.data.nodes[Ot],$t=this.getNode(Ot);$t.moveTo(Vt.fromLeft,Vt.fromTop,!0)}else if(We.type==="system:moveGroups")for(var Gt in We.data.groups){var hn=We.data.groups[Gt],$n=this.getGroup(Gt);$n.moveTo(hn.fromLeft,hn.fromTop,!0)}else if(We.type==="system:addGroups")We.data.forEach(function(Pr){Pr.nodes.length>0&&J.removeNodes(Pr.nodes),J.removeGroup(Pr.group.id,!0)});else if(We.type==="system:removeGroup")this.addGroup(We.data.group,We.data.nodes||[],void 0,!0);else if(We.type==="system:groupAddMembers"){var Sr=We.data.sourceGroup,vr=We.data.targetGroup;vr&&vr.removeNodes(We.data.nodes,!0),Sr&&Sr.addNodes(We.data.nodes,!0);var zn={};if(We.data._isDraging&&(zn=this.actionQueue[this.actionQueueIndex],zn.type==="system:moveNodes")){for(var Tr in zn.data.nodes){var Qr=zn.data.nodes[Tr],Qe=this.getNode(Tr);Qe.moveTo(Qr.fromLeft,Qr.fromTop,!0)}Ke.unshift(zn)}this.actionQueueIndex--}else if(We.type==="system:groupRemoveMembers"){var Jt=We.data.group;Jt&&Jt.addNodes(We.data.nodes,!0);var ln={};if(We.data._isDraging&&(ln=this.actionQueue[this.actionQueueIndex],ln.type==="system:moveNodes")){for(var rn in ln.data.nodes){var An=ln.data.nodes[rn],fr=this.getNode(rn);fr.moveTo(An.fromLeft,An.fromTop,!0)}Ke.unshift(ln),this.actionQueueIndex--}this.actionQueueIndex--}else We.type==="system:reconnectEdges"&>.get(We,"data.info",[]).forEach(function(Pr){var kr=J.getNode(Pr.preTargetNodeId),Ar=kr.getEndpoint(Pr.preTargetPointId);Pr.edge._create({id:"".concat(Pr.edge.sourceEndpoint.id,"-").concat(Ar.id),targetNode:kr,_targetType:Ar.nodeType,targetEndpoint:Ar,type:"endpoint"})});this.emit("system.canvas.undo",{steps:Ke}),this.emit("events",{type:"canvas.undo",steps:Ke})}},{key:"redo",value:function(){var J=this,Ke=[];if(this.actionQueueIndex>=this.actionQueue.length-1){console.warn("\u91CD\u505A\u5806\u6808\u5DF2\u5230\u9876\uFF0C\u65E0\u6CD5\u518Dredo");return}var We=this.actionQueue[++this.actionQueueIndex];if(Ke.push(We),We.type==="system:moveNodes"&&We.data._isDraging&&(We=this.actionQueue[++this.actionQueueIndex],Ke.push(We)),We.type==="system:addNodes")this.addNodes(We.data,!0);else if(We.type==="system:removeNodes")this.removeNodes(We.data.nodes,!1,!0);else if(We.type==="system:addEdges")this.addEdges(We.data,!0);else if(We.type==="system:removeEdges")this.removeEdges(We.data,!0);else if(We.type==="system:moveNodes")for(var Ot in We.data.nodes){var Vt=We.data.nodes[Ot],$t=this.getNode(Ot);$t.moveTo(Vt.toLeft,Vt.toTop,!0)}else if(We.type==="system:moveGroups")for(var Gt in We.data.groups){var hn=We.data.groups[Gt],$n=this.getGroup(Gt);$n.moveTo(hn.toLeft,hn.toTop,!0)}else if(We.type==="system:addGroups")We.data.forEach(function(Pr){J.addGroup(Pr.group,Pr.nodes||[],void 0,!0)});else if(We.type==="system:removeGroup")this.removeGroup(We.data.group,!0);else if(We.type==="system:groupAddMembers"){var Sr=We.data.sourceGroup,vr=We.data.targetGroup,zn=this.actionQueue[this.actionQueueIndex-1];if(zn.type==="system:moveNodes"&&zn.data._isDraging)for(var Tr in zn.data.nodes){var Qr=zn.data.nodes[Tr],Qe=this.getNode(Tr);Qe.moveTo(Qr.toLeft,Qr.toTop,!0)}vr&&vr.addNodes(We.data.nodes,!0),Sr&&Sr.removeNodes(We.data.nodes,!0)}else if(We.type==="system:groupRemoveMembers"){var Jt=We.data.group;Jt&&Jt.removeNodes(We.data.nodes,!0);var ln={};if(We.data._isDraging&&(ln=this.actionQueue[this.actionQueueIndex],ln.type==="system:moveNodes")){for(var rn in ln.data.nodes){var An=ln.data.nodes[rn],fr=this.getNode(rn);fr.moveTo(An.fromLeft,An.fromTop,!0)}this.actionQueueIndex--}}else We.type==="system:reconnectEdges"&>.get(We,"data.info",[]).forEach(function(Pr){var kr=J.getNode(Pr.currentTargetNodeId),Ar=kr.getEndpoint(Pr.currentTargetPointId);Pr.edge._create({id:"".concat(Pr.edge.sourceEndpoint.id,"-").concat(Ar.id),targetNode:kr,_targetType:Ar.nodeType,targetEndpoint:Ar,type:"endpoint"})});this.emit("system.canvas.redo",{steps:Ke}),this.emit("events",{type:"canvas.redo",steps:Ke}),gt.get(this.actionQueue,[this.actionQueueIndex+1,"type"])==="_system:dragNodeEnd"&&this.actionQueueIndex++}},{key:"isActionQueueTop",value:function(){return this.actionQueueIndex>=this.actionQueue.length-1}},{key:"isActionQueueBottom",value:function(){return this.actionQueueIndex<=-1}},{key:"pushActionQueue",value:function(J){var Ke=this,We=J;if(J.type==="system:moveNodes"||J.type==="system:moveGroups"){var Ot={"system:moveNodes":"node","system:moveGroups":"group"}[J.type],Vt=Ot+"s",$t=this.actionQueue[this.actionQueueIndex]||{};if($t.type===J.type&&$t.data[Vt][J.data[Ot].id]){$t.data[Vt][J.data[Ot].id].toTop=J.data.top,$t.data[Vt][J.data[Ot].id].toLeft=J.data.left;return}else{var Gt=[J.data[Ot]],hn=this._findUnion(Vt,J.data[Ot]);hn&&hn.length>0&&(hn.forEach(function($n){Gt=Gt.concat(Ke._unionData[$n][Vt])}),Gt=gt.uniqBy(Gt,"id")),We={type:J.type,data:w({},Vt,{})},Gt.forEach(function($n){We.data[Vt][$n.id]={fromTop:$n.top,fromLeft:$n.left,toTop:$n.top,toLeft:$n.left}}),We.data[Vt][J.data[Ot].id].toTop=J.data.top,We.data[Vt][J.data[Ot].id].toLeft=J.data.left}}this.actionQueueIndex>=this.global.limitQueueLen&&(this.actionQueue.shift(),this.actionQueueIndex--),this.actionQueue.splice(this.actionQueueIndex+1,this.actionQueue.length),this.actionQueue.push(We),this.actionQueueIndex++,gt.get(this.actionQueue,[this.actionQueueIndex-1,"type"])==="_system:dragNodeEnd"&&(this.actionQueue.splice(this.actionQueueIndex-1,1),this.actionQueueIndex--)}},{key:"popActionQueue",value:function(){if(this.actionQueue.length>0){var J=this.actionQueue.pop();return J}else console.warn("\u64CD\u4F5C\u961F\u5217\u5DF2\u4E3A\u7A7A\uFF0C\u8BF7\u786E\u8BA4")}},{key:"clearActionQueue",value:function(){this.actionQueue=[],this.actionQueueIndex=-1}}]),Be}(ne),ai=function(ke){S(Be,ke);var we=A(Be);function Be(Le){var J;return t(this,Be),J=we.call(this,Le),J.children=Le.children,J.parent=Le.parent,J.collapsed=Le.collapsed||!1,Le.isRoot&&(J.isRoot=Le.isRoot),J}return p(Be,[{key:"collapse",value:function(){this._emit("InnerEvents",{type:"node:collapse",nodeId:this.id}),this.collapsed=!0}},{key:"expand",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this._emit("InnerEvents",{type:"node:expand",nodeId:this.id,nodes:J}),delete this.collapsed}},{key:"detectLeaf",value:function(){return!(this.children&&this.children.length>0)}},{key:"detectRoot",value:function(){return this.isRoot}}]),Be}(G),bi=e("BRni");function zr(ke){for(var we=[ke],Be=[];we.length>0;){var Le=we.pop(),J=Le.data;J.left=Le.x,J.top=Le.y,J.treePos={hgap:Le.hgap,vgap:Le.vgap,x:Le.x,y:Le.y,depth:Le.depth,side:Le.side},Be.push(J),we=we.concat(Le.children)}return Be[0]}var Hi={compactBox:function(we,Be){return zr(bi.compactBox(we,Be))},dendrogram:function(we,Be){return zr(bi.dendrogram(we,Be))},indented:function(we,Be){return zr(bi.indented(we,Be))},mindmap:function(we,Be){return zr(bi.mindmap(we,Be))}},hi=e("LvDl"),Ci=function(ke){S(Be,ke);var we=A(Be);function Be(Le){var J;return t(this,Be),J=we.call(this,Le),J._NodeClass=ai,J}return p(Be,[{key:"_handleTreeNodes",value:function(J,Ke){if(Ke)return J;for(var We=[J],Ot=[],Vt=function(){var Gt=We.pop();Ot.push(Gt),Gt.children&&Gt.children.length>0&&(Gt.children.forEach(function(hn){hn.parent=Gt.id}),We=We.concat(Gt.children))};We.length>0;)Vt();return Ot}},{key:"_isExistNode",value:function(J){var Ke=b(k(Be.prototype),"_isExistNode",this).call(this,J);Ke&&J.subCollapsed&&(Ke=!1)}},{key:"_addEventListener",value:function(){var J=this;b(k(Be.prototype),"_addEventListener",this).call(this),this.on("InnerEvents",function(Ke){Ke.type==="node:collapse"?J.collapseNode(Ke.nodeId):Ke.type=="node:expand"&&J.expandNode(Ke.nodeId)})}},{key:"findSubTree",value:function(J){for(var Ke=[J],We=[];Ke.length>0;){var Ot,Vt=Ke.pop();We.push(Vt),((Ot=Vt.children)===null||Ot===void 0?void 0:Ot.length)>0&&(Ke=Ke.concat(Vt.children))}return We}},{key:"collapseNode",value:function(J){var Ke=[],We=[],Ot=this.getNode(J);if(Ot.collapsed=!0,Ot.options.collapsed=!0,!!Ot){for(var Vt=[Ot];Vt.length>0;){var $t=Vt.pop();Ke.push($t),$t.children&&$t.children.length>0&&(Vt=Vt.concat($t.children))}Ke=Ke.filter(function(hn){return hn.id!==Ot.id});var Gt={};return Ke.forEach(function(hn){Gt[hn.id]=hn,hn.subCollapsed=!0}),We=this.edges.filter(function(hn){var $n=!1;return hn.type==="endpoint"?$n=!!Gt[hn.sourceNode.id]||!!Gt[hn.targetNode.id]:$n=!!Gt[hn.source.id]||!!Gt[hn.target.id],hn.sourceNode.id===Ot.id&&($n=!0),$n&&(hn.collapsed=!0),$n}),Ke.unshift(Ot),Ke.forEach(function(hn){hn.subCollapsed&&hn.destroy(!0),hn.id!==J&&hn.collapsed&&delete hn.collapsed}),We.forEach(function(hn){hn.destroy(!0)}),this.redraw(),this.emit("system.node.collapse",{target:Ot,nodes:Ke,edges:We}),this.emit("events",{type:"node.collapse",target:Ot,nodes:Ke,edges:We}),{nodes:Ke,edges:We}}}},{key:"expandNode",value:function(J,Ke){for(var We=this.getNode(J),Ot=[],Vt=[],$t=[We];$t.length>0;){var Gt=$t.pop();Ot.push(Gt),Gt.children&&Gt.children.length>0&&($t=$t.concat(Gt.children))}Ot=Ot.filter(function(vr){return vr.id!==We.id});var hn={};Ot.forEach(function(vr){hn[vr.id]=vr,vr.subCollapsed=!0}),Vt=this.edges.filter(function(vr){var zn=!1;return vr.type==="endpoint"?zn=!!hn[vr.sourceNode.id]||!!hn[vr.targetNode.id]:zn=!!hn[vr.source.id]||!!hn[vr.target.id],vr.sourceNode.id===We.id&&(zn=!0),zn}),this.nodes=hi.differenceBy(this.nodes,Ot,"id");var $n=this.addNodes(Ot,!0);this.edges=hi.filter(this.edges,function(vr){return vr.type==="endpoint"?!hi.some(Vt,function(zn){return vr.sourceNode.id===zn.sourceNode.id&&vr.targetNode.id===zn.targetNode.id&&vr.source===zn.source&&vr.target===zn.target}):!hi.some(Vt,function(zn){return vr.source===zn.source&&vr.target===zn.target})});var Sr=this.addEdges(Vt,!0);Ot.forEach(function(vr){delete vr.subCollapsed}),delete We.collapsed,Vt.forEach(function(vr){delete vr.collapsed}),this.redraw(),this.emit("system.node.expand",{target:We,nodes:$n,edges:Sr}),this.emit("events",{type:"node.expand",target:We,nodes:$n,edges:Sr})}},{key:"redraw",value:function(){for(var J=this.getRootNode(),Ke=[],We={},Ot=[J],Vt=function(){var hn=Ot.pop(),$n={id:hn.id};We[hn.id]?$n=We[hn.id]:We[$n.id]=$n,hn.isRoot&&($n.isRoot=hn.isRoot),hn.collapsed&&($n.collapsed=hn.collapsed),Ke.push($n),hn.children&&hn.children.length>0&&($n.children=[],hn.children.forEach(function(Sr){var vr={id:Sr.id};We[Sr.id]?vr=We[Sr.id]:We[Sr.id]=vr,Sr.isRoot&&(vr.isRoot=Sr.isRoot),Sr.collapsed&&(vr.collapsed=Sr.collapsed),$n.children.push(vr)}),Ot=Ot.concat(hn.children))};Ot.length>0;)Vt();var $t=Ke.filter(function(Gt){return!0});this._autoLayout({nodes:$t,edges:[],groups:[]}),this.nodes.forEach(function(Gt){var hn;if(!Gt.subCollapsed){Gt==null||(hn=Gt.endpoints)===null||hn===void 0||hn.forEach(function(Sr){Sr.updatePos()});var $n=We[Gt.id];(Gt.top!==$n.top||Gt.left!==$n.left)&&(Gt.options.top=$n.top,Gt.options.left=$n.left,Gt.options.treePos=$n.treePos,Gt.moveTo($n.left,$n.top))}}),this.edges.forEach(function(Gt){Gt.redraw()}),this.emit("system.canvas.redraw"),this.emit("events",{type:"canvas:redraw"})}},{key:"addNodes",value:function(J,Ke){var We=this,Ot=b(k(Be.prototype),"addNodes",this).call(this,J,Ke);return Ot.forEach(function(Vt){if(Vt.parent){var $t=We.getNode(Vt.parent);hi.some($t.children,["id",Vt.id])||(!$t.children&&($t.children=[]),$t.children.push(Vt))}}),Ot}},{key:"removeNodes",value:function(J,Ke,We){var Ot=this,Vt=J.map(function(hn){return hn instanceof G?hn:Ot.getNode(hn)}),$t=[];Vt.forEach(function(hn){var $n=Ot.findSubTree(hn);if($t=$t.concat($n),hn.parent){var Sr=Ot.getNode(hn.parent);Sr&&(Sr.children=Sr.children.filter(function(vr){return vr.id!==hn.id}))}}),$t=hi.unionBy($t,"id");var Gt=b(k(Be.prototype),"removeNodes",this).call(this,$t,Ke,We);return Gt}},{key:"getRootNode",value:function(){return this.nodes.filter(function(J){return J.isRoot})[0]}},{key:"draw",value:function(J,Ke,We){var Ot=this,Vt=this._handleTreeNodes(J.nodes||[],hi.get(Ke,"isFlatNode",!1));b(k(Be.prototype),"draw",this).call(this,{nodes:Vt,edges:J.edges,groups:J.groups},function(){var $t={};Ot.nodes.forEach(function(Gt){$t[Gt.id]=Gt,Gt.children=[]}),Ot.nodes.forEach(function(Gt){if(!(Gt.isRoot||!Gt.parent)){var hn=$t[Gt.parent];!hn||(!hn.children&&(hn.children=[]),hn.children.unshift(Gt))}}),We&&We({nodes:Ot.nodes,edges:Ot.edges,groups:Ot.groups})})}},{key:"_autoLayout",value:function(J){var Ke=J.nodes.filter(function(Gt){return Gt.isRoot})[0];if(!!Ke){var We=hi.get(this,"layout.type","compactBox");if(Hi[We]){var Ot=16,Vt=30,$t=5;Hi[We](Ke,hi.assign({direction:"H",getId:function(hn){return hn.id},getHeight:function(hn){return hn.isRoot?Ot*2:Ot},getWidth:function(hn){return hn.isRoot?Vt*2:Vt},getHGap:function(hn){return 100},getVGap:function(hn){return 30},getSubTreeSep:function(hn){return!hn.children||!hn.children.length?0:$t}},hi.get(this,"layout.options",{})))}}}}]),Be}(ci),Ii=e("EVdn"),Mn={TEMPLATE:'<div class="butterfly-tooltip-container"><div class="butterfly-tooltip-arrow"></div><div class="butterfly-tooltip-inner"></div></div>',$viewAppend:"body",$viewCon:{tips:".butterfly-tips",menu:".butterfly-menu",common:".butterfly-tooltip-container"},$inner:".butterfly-tooltip-inner"},nr=function(we){if(!we)return 0;if(Number(we))return Number(parseFloat(we).toFixed(3))},cr=function(we,Be){var Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{x:0,y:0},J={},Ke=Be.left,We=Be.top,Ot=Be.width,Vt=Be.height,$t=Be.actualWidth,Gt=Be.actualHeight;switch(Ke=nr(Ke),We=nr(We),Ot=nr(Ot),Vt=nr(Vt),$t=nr($t),Gt=nr(Gt),we){case"top":J.left=Ke+Ot/2-$t/2,J.top=We-Gt-5;break;case"left":J.left=Ke-$t-5,J.top=We+Vt/2-Gt/2;break;case"right":J.left=Ke+Ot+5,J.top=We+Vt/2-Gt/2;break;case"bottom":J.left=Ke+Ot/2-$t/2,J.top=We+Vt+5;break;default:J.left=Ke+Ot/2-$t/2,J.top=We-Vt-5}return Le.x&&(J.left+=Le.x),Le.y&&(J.top+=Le.y),J},Lr={x:0,y:0},ei=function(we,Be,Le,J,Ke){Ii(Mn.$viewCon[Be]).remove();var We=Ii(Mn.TEMPLATE);We.find(Mn.$inner).append(Le),Ii(We).appendTo(Mn.$viewAppend);var Ot=we.placement||"top";Ii(We).addClass(Mn.$viewCon[Be].replace(".","")).addClass(Ot).addClass("in"),we.className&&We.addClass(we.className);var Vt={top:Ii(J).offset().top,left:Ii(J).offset().left,width:Ii(J).outerWidth(),height:Ii(J).outerHeight(),actualWidth:Ii(We).outerWidth(),actualHeight:Ii(We).outerHeight()},$t={};if(we.x||we.x===0)$t={left:we.offsetX?we.x+we.offsetX:we.x,top:we.offsetY?we.y+we.offsetY:we.y};else{var Gt={x:0,y:0};we.offsetX&&(Gt.x=we.offsetX),we.offsetY&&(Gt.y=we.offsetY),$t=cr(Ot,Vt,Gt)}Lr={x:$t.left,y:$t.top};var hn="top: ".concat($t.top,"px; left: ").concat($t.left,"px;");return Ii(We).attr("style",hn),Ke&&Ke(We[0]),We[0]},ki=function(we,Be){Ii(we).removeClass("in").remove(),Be&&Be(we)},ua=function(we,Be){var Le=null,J=null,Ke=!1,We=!1,Ot=null,Vt=function(Tr){Ke=!0},$t=function(Tr){Ke=!1,Gt()},Gt=function(){Ot&&clearTimeout(Ot),Ot=setTimeout(function(){!Ke&&!We&&Le&&(ki(Le),Le.removeEventListener("mouseover",Vt),Le.removeEventListener("mousemove",Vt),Le.removeEventListener("mouseout",$t))},50)},hn=we.data,$n=we.targetDom,Sr=we.genTipDom,vr=we.tipsDom;$n.addEventListener("mouseover",function(zn){We=!0,vr&&(J=vr),Sr&&(J=Sr(hn)),Le=ei(we,"tips",J,$n,Be),Le.addEventListener("mouseover",Vt),Le.addEventListener("mousemove",Vt),Le.addEventListener("mouseout",$t)}),$n.addEventListener("mouseout",function(zn){We=!1,Gt()})},Qi=null,Br=null,ga=!1,fa={x:0,y:0},Ja=function ke(we){we.target===Qi||Ii(Qi).find(we.target).length>0||(Qi&&ki(Qi),document.removeEventListener("click",ke))},In=function(we,Be){var Le=we.data,J=we.targetDom,Ke=we.genTipDom,We=function(){var Vt=null;Ke&&(Vt=Ke(Le)),we.tipsDom&&(Vt=we.tipsDom),Qi=ei(we,"menu",Vt,J,Be),we.closable&&document.addEventListener("click",Ja),we.draggable&&(we.dragDom?Br=we.dragDom:Br=Qi,document.addEventListener("mousedown",x),document.addEventListener("mousemove",me),document.addEventListener("mouseup",Ae))};we.action==="click"?J.addEventListener("click",We):We()},ve=function(we){ki(Qi,we),Qi=null,document.removeEventListener("click",Ja),Br&&(document.removeEventListener("mousedown",x),document.removeEventListener("mousemove",me),document.removeEventListener("mouseup",Ae),Br=null)},x=function(we){ga=!0,fa={x:we.clientX,y:we.clientY}},le=null,me=function(we){if(ga&&Br){if(le)return;le=setTimeout(function(){var Be=Lr.y+(we.clientY-fa.y),Le=Lr.x+(we.clientX-fa.x);Ii(Qi).css("top",Be).css("left",Le),fa={x:we.clientX,y:we.clientY},Lr={x:Le,y:Be},le=null},20)}},Ae=function(we){ga=!1},tt={createTip:ua,createMenu:In,closeMenu:ve};e("LvDl");var pt={Canvas:ci,TreeCanvas:Ci,Edge:nn,Endpoint:y,Group:Un,Node:G,TreeNode:ai,Minimap:Dr,Tips:tt,Layout:Ai};window.Butterfly=pt,Ie.exports=pt},cl4r:function(Ie,M,e){},cnUW:function(Ie,M,e){"use strict";var u=e("nXVj");M.a=function(c){var r=Object(u.a)(.1),f,o,i;typeof c!="function"&&(c=Object(u.a)(c==null?0:+c));function a(v){for(var m=0,h=f.length,t;m<h;++m)t=f[m],t.vx+=(i[m]-t.x)*o[m]*v}function n(){if(!!f){var v,m=f.length;for(o=new Array(m),i=new Array(m),v=0;v<m;++v)o[v]=isNaN(i[v]=+c(f[v],v,f))?0:+r(f[v],v,f)}}return a.initialize=function(v){f=v,n()},a.strength=function(v){return arguments.length?(r=typeof v=="function"?v:Object(u.a)(+v),n(),a):r},a.x=function(v){return arguments.length?(c=typeof v=="function"?v:Object(u.a)(+v),n(),a):c},a}},"cq/+":function(Ie,M,e){var u=e("mc0g"),c=u();Ie.exports=c},cqdO:function(Ie,M,e){"use strict";e.d(M,"e",function(){return ne}),e.d(M,"f",function(){return se}),e.d(M,"a",function(){return ee}),e.d(M,"h",function(){return y}),e.d(M,"g",function(){return C}),e.d(M,"d",function(){return X}),e.d(M,"b",function(){return pe}),e.d(M,"c",function(){return Ee});var u=e("qLMh"),c=e("w4Tj"),r=e("oZsa"),f=e("yKVA"),o=e("879j"),i=e("oBTY"),a=e("rAM+"),n=e("fWQN"),v=e("mtLc"),m=e("4rho"),h=e("pmY6"),t=e("746U"),l=e("6OMU"),p=e("ZCR3"),w=e("MNsG"),S=e("pg8w"),k=e("uDWl"),T=e("MI8n"),I=e("4y0V"),Y=e("ZKkB"),$=function(Me){Object(f.a)(Re,Me);var _e=Object(o.a)(Re);function Re(et,Xe){return Object(n.a)(this,Re),_e.call(this,"ListError [".concat(et,"] ").concat(Xe))}return Object(v.a)(Re)}(Object(Y.a)(Error)),A=e("feEw"),g=e("zrhQ"),b=e("qj0h"),d=function(){function Me(_e){Object(n.a)(this,Me),this.spliceables=_e}return Object(v.a)(Me,[{key:"splice",value:function(Re,et,Xe){this.spliceables.forEach(function(it){return it.splice(Re,et,Xe)})}}]),Me}(),O=e("Sdnv"),E=e("fpMC"),D=e("OBOq"),W=e("EffR"),te=e("X+cX"),re=function(Me,_e,Re,et){var Xe=arguments.length,it=Xe<3?_e:et===null?et=Object.getOwnPropertyDescriptor(_e,Re):et,bt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")it=Reflect.decorate(Me,_e,Re,et);else for(var Ct=Me.length-1;Ct>=0;Ct--)(bt=Me[Ct])&&(it=(Xe<3?bt(it):Xe>3?bt(_e,Re,it):bt(_e,Re))||it);return Xe>3&&it&&Object.defineProperty(_e,Re,it),it},ye=function(Me,_e,Re,et){function Xe(it){return it instanceof Re?it:new Re(function(bt){bt(it)})}return new(Re||(Re=Promise))(function(it,bt){function Ct(st){try{qe(et.next(st))}catch(ut){bt(ut)}}function Bt(st){try{qe(et.throw(st))}catch(ut){bt(ut)}}function qe(st){st.done?it(st.value):Xe(st.value).then(Ct,Bt)}qe((et=et.apply(Me,_e||[])).next())})},q=function(){function Me(_e){Object(n.a)(this,Me),this.trait=_e,this.renderedElements=[]}return Object(v.a)(Me,[{key:"templateId",get:function(){return"template:".concat(this.trait.trait)}},{key:"renderTemplate",value:function(Re){return Re}},{key:"renderElement",value:function(Re,et,Xe){var it=this.renderedElements.findIndex(function(Bt){return Bt.templateData===Xe});if(it>=0){var bt=this.renderedElements[it];this.trait.unrender(Xe),bt.index=et}else{var Ct={index:et,templateData:Xe};this.renderedElements.push(Ct)}this.trait.renderIndex(et,Xe)}},{key:"splice",value:function(Re,et,Xe){var it=[],bt=Object(a.a)(this.renderedElements),Ct;try{for(bt.s();!(Ct=bt.n()).done;){var Bt=Ct.value;Bt.index<Re?it.push(Bt):Bt.index>=Re+et&&it.push({index:Bt.index+Xe-et,templateData:Bt.templateData})}}catch(qe){bt.e(qe)}finally{bt.f()}this.renderedElements=it}},{key:"renderIndexes",value:function(Re){var et=Object(a.a)(this.renderedElements),Xe;try{for(et.s();!(Xe=et.n()).done;){var it=Xe.value,bt=it.index,Ct=it.templateData;Re.indexOf(bt)>-1&&this.trait.renderIndex(bt,Ct)}}catch(Bt){et.e(Bt)}finally{et.f()}}},{key:"disposeTemplate",value:function(Re){var et=this.renderedElements.findIndex(function(Xe){return Xe.templateData===Re});et<0||this.renderedElements.splice(et,1)}}]),Me}(),oe=function(){function Me(_e){Object(n.a)(this,Me),this._trait=_e,this.indexes=[],this.sortedIndexes=[],this._onChange=new T.a,this.onChange=this._onChange.event}return Object(v.a)(Me,[{key:"trait",get:function(){return this._trait}},{key:"renderer",get:function(){return new q(this)}},{key:"splice",value:function(Re,et,Xe){var it=Xe.length-et,bt=Re+et,Ct=[].concat(Object(i.a)(this.sortedIndexes.filter(function(Bt){return Bt<Re})),Object(i.a)(Xe.map(function(Bt,qe){return Bt?qe+Re:-1}).filter(function(Bt){return Bt!==-1})),Object(i.a)(this.sortedIndexes.filter(function(Bt){return Bt>=bt}).map(function(Bt){return Bt+it})));this.renderer.splice(Re,et,Xe.length),this._set(Ct,Ct)}},{key:"renderIndex",value:function(Re,et){et.classList.toggle(this._trait,this.contains(Re))}},{key:"unrender",value:function(Re){Re.classList.remove(this._trait)}},{key:"set",value:function(Re,et){return this._set(Re,Object(i.a)(Re).sort(fe),et)}},{key:"_set",value:function(Re,et,Xe){var it=this.indexes,bt=this.sortedIndexes;this.indexes=Re,this.sortedIndexes=et;var Ct=je(bt,Re);return this.renderer.renderIndexes(Ct),this._onChange.fire({indexes:Re,browserEvent:Xe}),it}},{key:"get",value:function(){return this.indexes}},{key:"contains",value:function(Re){return Object(l.c)(this.sortedIndexes,Re,fe)>=0}},{key:"dispose",value:function(){Object(h.f)(this._onChange)}}]),Me}();re([p.a],oe.prototype,"renderer",null);var he=function(Me){Object(f.a)(Re,Me);var _e=Object(o.a)(Re);function Re(et){var Xe;return Object(n.a)(this,Re),Xe=_e.call(this,"selected"),Xe.setAriaSelected=et,Xe}return Object(v.a)(Re,[{key:"renderIndex",value:function(Xe,it){Object(c.a)(Object(r.a)(Re.prototype),"renderIndex",this).call(this,Xe,it),this.setAriaSelected&&(this.contains(Xe)?it.setAttribute("aria-selected","true"):it.setAttribute("aria-selected","false"))}}]),Re}(oe),ue=function(){function Me(_e,Re,et){Object(n.a)(this,Me),this.trait=_e,this.view=Re,this.identityProvider=et}return Object(v.a)(Me,[{key:"splice",value:function(Re,et,Xe){var it=this;if(!this.identityProvider)return this.trait.splice(Re,et,Xe.map(function(){return!1}));var bt=this.trait.get().map(function(Bt){return it.identityProvider.getId(it.view.element(Bt)).toString()}),Ct=Xe.map(function(Bt){return bt.indexOf(it.identityProvider.getId(Bt).toString())>-1});this.trait.splice(Re,et,Ct)}}]),Me}();function ne(Me){return Me.tagName==="INPUT"||Me.tagName==="TEXTAREA"}function se(Me){return Me.classList.contains("monaco-editor")?!0:Me.classList.contains("monaco-list")||!Me.parentElement?!1:se(Me.parentElement)}var be=function(){function Me(_e,Re,et){Object(n.a)(this,Me),this.list=_e,this.view=Re,this.disposables=new h.b;var Xe=et.multipleSelectionSupport!==!1,it=T.b.chain(Object(I.a)(Re.domNode,"keydown")).filter(function(bt){return!ne(bt.target)}).map(function(bt){return new k.a(bt)});it.filter(function(bt){return bt.keyCode===3}).on(this.onEnter,this,this.disposables),it.filter(function(bt){return bt.keyCode===16}).on(this.onUpArrow,this,this.disposables),it.filter(function(bt){return bt.keyCode===18}).on(this.onDownArrow,this,this.disposables),it.filter(function(bt){return bt.keyCode===11}).on(this.onPageUpArrow,this,this.disposables),it.filter(function(bt){return bt.keyCode===12}).on(this.onPageDownArrow,this,this.disposables),it.filter(function(bt){return bt.keyCode===9}).on(this.onEscape,this,this.disposables),Xe&&it.filter(function(bt){return(w.f?bt.metaKey:bt.ctrlKey)&&bt.keyCode===31}).on(this.onCtrlA,this,this.disposables)}return Object(v.a)(Me,[{key:"onEnter",value:function(Re){Re.preventDefault(),Re.stopPropagation(),this.list.setSelection(this.list.getFocus(),Re.browserEvent)}},{key:"onUpArrow",value:function(Re){Re.preventDefault(),Re.stopPropagation(),this.list.focusPrevious(1,!1,Re.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}},{key:"onDownArrow",value:function(Re){Re.preventDefault(),Re.stopPropagation(),this.list.focusNext(1,!1,Re.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}},{key:"onPageUpArrow",value:function(Re){Re.preventDefault(),Re.stopPropagation(),this.list.focusPreviousPage(Re.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}},{key:"onPageDownArrow",value:function(Re){Re.preventDefault(),Re.stopPropagation(),this.list.focusNextPage(Re.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}},{key:"onCtrlA",value:function(Re){Re.preventDefault(),Re.stopPropagation(),this.list.setSelection(Object(l.q)(this.list.length),Re.browserEvent),this.view.domNode.focus()}},{key:"onEscape",value:function(Re){this.list.getSelection().length&&(Re.preventDefault(),Re.stopPropagation(),this.list.setSelection([],Re.browserEvent),this.view.domNode.focus())}},{key:"dispose",value:function(){this.disposables.dispose()}}]),Me}(),Z;(function(Me){Me[Me.Idle=0]="Idle",Me[Me.Typing=1]="Typing"})(Z||(Z={}));var ee=new(function(){function Me(){Object(n.a)(this,Me)}return Object(v.a)(Me,[{key:"mightProducePrintableCharacter",value:function(Re){return Re.ctrlKey||Re.metaKey||Re.altKey?!1:Re.keyCode>=31&&Re.keyCode<=56||Re.keyCode>=21&&Re.keyCode<=30||Re.keyCode>=93&&Re.keyCode<=102||Re.keyCode>=80&&Re.keyCode<=90}}]),Me}()),ce=function(){function Me(_e,Re,et,Xe){Object(n.a)(this,Me),this.list=_e,this.view=Re,this.keyboardNavigationLabelProvider=et,this.delegate=Xe,this.enabled=!1,this.state=Z.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new h.b,this.disposables=new h.b,this.updateOptions(_e.options)}return Object(v.a)(Me,[{key:"updateOptions",value:function(Re){var et=typeof Re.enableKeyboardNavigation=="undefined"?!0:!!Re.enableKeyboardNavigation;et?this.enable():this.disable(),typeof Re.automaticKeyboardNavigation!="undefined"&&(this.automaticKeyboardNavigation=Re.automaticKeyboardNavigation)}},{key:"enable",value:function(){var Re=this;if(!this.enabled){var et=T.b.chain(Object(I.a)(this.view.domNode,"keydown")).filter(function(bt){return!ne(bt.target)}).filter(function(){return Re.automaticKeyboardNavigation||Re.triggered}).map(function(bt){return new k.a(bt)}).filter(function(bt){return Re.delegate.mightProducePrintableCharacter(bt)}).forEach(function(bt){bt.stopPropagation(),bt.preventDefault()}).map(function(bt){return bt.browserEvent.key}).event,Xe=T.b.debounce(et,function(){return null},800),it=T.b.reduce(T.b.any(et,Xe),function(bt,Ct){return Ct===null?null:(bt||"")+Ct});it(this.onInput,this,this.enabledDisposables),Xe(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}}},{key:"disable",value:function(){!this.enabled||(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}},{key:"onClear",value:function(){var Re,et=this.list.getFocus();if(et.length>0&&et[0]===this.previouslyFocused){var Xe=(Re=this.list.options.accessibilityProvider)===null||Re===void 0?void 0:Re.getAriaLabel(this.list.element(et[0]));Xe&&Object(D.a)(Xe)}this.previouslyFocused=-1}},{key:"onInput",value:function(Re){if(!Re){this.state=Z.Idle,this.triggered=!1;return}var et=this.list.getFocus(),Xe=et.length>0?et[0]:0,it=this.state===Z.Idle?1:0;this.state=Z.Typing;for(var bt=0;bt<this.list.length;bt++){var Ct=(Xe+bt+it)%this.list.length,Bt=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(Ct)),qe=Bt&&Bt.toString();if(typeof qe=="undefined"||Object(E.h)(Re,qe)){this.previouslyFocused=Xe,this.list.setFocus([Ct]),this.list.reveal(Ct);return}}}},{key:"dispose",value:function(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}]),Me}(),R=function(){function Me(_e,Re){Object(n.a)(this,Me),this.list=_e,this.view=Re,this.disposables=new h.b;var et=T.b.chain(Object(I.a)(Re.domNode,"keydown")).filter(function(Xe){return!ne(Xe.target)}).map(function(Xe){return new k.a(Xe)});et.filter(function(Xe){return Xe.keyCode===2&&!Xe.ctrlKey&&!Xe.metaKey&&!Xe.shiftKey&&!Xe.altKey}).on(this.onTab,this,this.disposables)}return Object(v.a)(Me,[{key:"onTab",value:function(Re){if(Re.target===this.view.domNode){var et=this.list.getFocus();if(et.length!==0){var Xe=this.view.domElement(et[0]);if(!!Xe){var it=Xe.querySelector("[tabIndex]");if(!(!it||!(it instanceof HTMLElement)||it.tabIndex===-1)){var bt=window.getComputedStyle(it);bt.visibility==="hidden"||bt.display==="none"||(Re.preventDefault(),Re.stopPropagation(),it.focus())}}}}}},{key:"dispose",value:function(){this.disposables.dispose()}}]),Me}();function y(Me){return w.f?Me.browserEvent.metaKey:Me.browserEvent.ctrlKey}function C(Me){return Me.browserEvent.shiftKey}function z(Me){return Me instanceof MouseEvent&&Me.button===2}var G={isSelectionSingleChangeEvent:y,isSelectionRangeChangeEvent:C},X=function(){function Me(_e){Object(n.a)(this,Me),this.list=_e,this.disposables=new h.b,this._onPointer=new T.a,this.onPointer=this._onPointer.event,this.multipleSelectionSupport=_e.options.multipleSelectionSupport!==!1,this.multipleSelectionSupport&&(this.multipleSelectionController=_e.options.multipleSelectionController||G),this.mouseSupport=typeof _e.options.mouseSupport=="undefined"||!!_e.options.mouseSupport,this.mouseSupport&&(_e.onMouseDown(this.onMouseDown,this,this.disposables),_e.onContextMenu(this.onContextMenu,this,this.disposables),_e.onMouseDblClick(this.onDoubleClick,this,this.disposables),_e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(S.b.addTarget(_e.getHTMLElement()))),T.b.any(_e.onMouseClick,_e.onMouseMiddleClick,_e.onTap)(this.onViewPointer,this,this.disposables)}return Object(v.a)(Me,[{key:"isSelectionSingleChangeEvent",value:function(Re){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(Re):w.f?Re.browserEvent.metaKey:Re.browserEvent.ctrlKey}},{key:"isSelectionRangeChangeEvent",value:function(Re){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(Re):Re.browserEvent.shiftKey}},{key:"isSelectionChangeEvent",value:function(Re){return this.isSelectionSingleChangeEvent(Re)||this.isSelectionRangeChangeEvent(Re)}},{key:"onMouseDown",value:function(Re){se(Re.browserEvent.target)||document.activeElement!==Re.browserEvent.target&&this.list.domFocus()}},{key:"onContextMenu",value:function(Re){if(!se(Re.browserEvent.target)){var et=typeof Re.index=="undefined"?[]:[Re.index];this.list.setFocus(et,Re.browserEvent)}}},{key:"onViewPointer",value:function(Re){if(!!this.mouseSupport&&!(ne(Re.browserEvent.target)||se(Re.browserEvent.target))){var et=Re.index;if(typeof et=="undefined"){this.list.setFocus([],Re.browserEvent),this.list.setSelection([],Re.browserEvent),this.list.setAnchor(void 0);return}if(this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(Re))return this.changeSelection(Re);if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(Re))return this.changeSelection(Re);this.list.setFocus([et],Re.browserEvent),this.list.setAnchor(et),z(Re.browserEvent)||this.list.setSelection([et],Re.browserEvent),this._onPointer.fire(Re)}}},{key:"onDoubleClick",value:function(Re){if(!(ne(Re.browserEvent.target)||se(Re.browserEvent.target))&&!(this.multipleSelectionSupport&&this.isSelectionChangeEvent(Re))){var et=this.list.getFocus();this.list.setSelection(et,Re.browserEvent)}}},{key:"changeSelection",value:function(Re){var et=Re.index,Xe=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(Re)&&typeof Xe=="number"){var it=Math.min(Xe,et),bt=Math.max(Xe,et),Ct=Object(l.q)(it,bt+1),Bt=this.list.getSelection(),qe=Te(je(Bt,[Xe]),Xe);if(qe.length===0)return;var st=je(Ct,ft(Bt,qe));this.list.setSelection(st,Re.browserEvent),this.list.setFocus([et],Re.browserEvent)}else if(this.isSelectionSingleChangeEvent(Re)){var ut=this.list.getSelection(),nt=ut.filter(function(kt){return kt!==et});this.list.setFocus([et]),this.list.setAnchor(et),ut.length===nt.length?this.list.setSelection([].concat(Object(i.a)(nt),[et]),Re.browserEvent):this.list.setSelection(nt,Re.browserEvent)}}},{key:"dispose",value:function(){this.disposables.dispose()}}]),Me}(),pe=function(){function Me(_e,Re){Object(n.a)(this,Me),this.styleElement=_e,this.selectorSuffix=Re}return Object(v.a)(Me,[{key:"style",value:function(Re){var et=this.selectorSuffix&&".".concat(this.selectorSuffix),Xe=[];Re.listBackground&&(Re.listBackground.isOpaque()?Xe.push(".monaco-list".concat(et," .monaco-list-rows { background: ").concat(Re.listBackground,"; }")):w.f||console.warn("List with id '".concat(this.selectorSuffix,"' was styled with a non-opaque background color. This will break sub-pixel antialiasing."))),Re.listFocusBackground&&(Xe.push(".monaco-list".concat(et,":focus .monaco-list-row.focused { background-color: ").concat(Re.listFocusBackground,"; }")),Xe.push(".monaco-list".concat(et,":focus .monaco-list-row.focused:hover { background-color: ").concat(Re.listFocusBackground,"; }"))),Re.listFocusForeground&&Xe.push(".monaco-list".concat(et,":focus .monaco-list-row.focused { color: ").concat(Re.listFocusForeground,"; }")),Re.listActiveSelectionBackground&&(Xe.push(".monaco-list".concat(et,":focus .monaco-list-row.selected { background-color: ").concat(Re.listActiveSelectionBackground,"; }")),Xe.push(".monaco-list".concat(et,":focus .monaco-list-row.selected:hover { background-color: ").concat(Re.listActiveSelectionBackground,"; }"))),Re.listActiveSelectionForeground&&Xe.push(".monaco-list".concat(et,":focus .monaco-list-row.selected { color: ").concat(Re.listActiveSelectionForeground,"; }")),Re.listFocusAndSelectionBackground&&Xe.push(`
- .monaco-drag-image,
- .monaco-list`.concat(et,":focus .monaco-list-row.selected.focused { background-color: ").concat(Re.listFocusAndSelectionBackground,`; }
- `)),Re.listFocusAndSelectionForeground&&Xe.push(`
- .monaco-drag-image,
- .monaco-list`.concat(et,":focus .monaco-list-row.selected.focused { color: ").concat(Re.listFocusAndSelectionForeground,`; }
- `)),Re.listInactiveFocusForeground&&(Xe.push(".monaco-list".concat(et," .monaco-list-row.focused { color: ").concat(Re.listInactiveFocusForeground,"; }")),Xe.push(".monaco-list".concat(et," .monaco-list-row.focused:hover { color: ").concat(Re.listInactiveFocusForeground,"; }"))),Re.listInactiveFocusBackground&&(Xe.push(".monaco-list".concat(et," .monaco-list-row.focused { background-color: ").concat(Re.listInactiveFocusBackground,"; }")),Xe.push(".monaco-list".concat(et," .monaco-list-row.focused:hover { background-color: ").concat(Re.listInactiveFocusBackground,"; }"))),Re.listInactiveSelectionBackground&&(Xe.push(".monaco-list".concat(et," .monaco-list-row.selected { background-color: ").concat(Re.listInactiveSelectionBackground,"; }")),Xe.push(".monaco-list".concat(et," .monaco-list-row.selected:hover { background-color: ").concat(Re.listInactiveSelectionBackground,"; }"))),Re.listInactiveSelectionForeground&&Xe.push(".monaco-list".concat(et," .monaco-list-row.selected { color: ").concat(Re.listInactiveSelectionForeground,"; }")),Re.listHoverBackground&&Xe.push(".monaco-list".concat(et,":not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ").concat(Re.listHoverBackground,"; }")),Re.listHoverForeground&&Xe.push(".monaco-list".concat(et," .monaco-list-row:hover:not(.selected):not(.focused) { color: ").concat(Re.listHoverForeground,"; }")),Re.listSelectionOutline&&Xe.push(".monaco-list".concat(et," .monaco-list-row.selected { outline: 1px dotted ").concat(Re.listSelectionOutline,"; outline-offset: -1px; }")),Re.listFocusOutline&&Xe.push(`
- .monaco-drag-image,
- .monaco-list`.concat(et,":focus .monaco-list-row.focused { outline: 1px solid ").concat(Re.listFocusOutline,`; outline-offset: -1px; }
- `)),Re.listInactiveFocusOutline&&Xe.push(".monaco-list".concat(et," .monaco-list-row.focused { outline: 1px dotted ").concat(Re.listInactiveFocusOutline,"; outline-offset: -1px; }")),Re.listHoverOutline&&Xe.push(".monaco-list".concat(et," .monaco-list-row:hover { outline: 1px dashed ").concat(Re.listHoverOutline,"; outline-offset: -1px; }")),Re.listDropBackground&&Xe.push(`
- .monaco-list`.concat(et,`.drop-target,
- .monaco-list`).concat(et,` .monaco-list-rows.drop-target,
- .monaco-list`).concat(et," .monaco-list-row.drop-target { background-color: ").concat(Re.listDropBackground,` !important; color: inherit !important; }
- `)),Re.listFilterWidgetBackground&&Xe.push(".monaco-list-type-filter { background-color: ".concat(Re.listFilterWidgetBackground," }")),Re.listFilterWidgetOutline&&Xe.push(".monaco-list-type-filter { border: 1px solid ".concat(Re.listFilterWidgetOutline,"; }")),Re.listFilterWidgetNoMatchesOutline&&Xe.push(".monaco-list-type-filter.no-matches { border: 1px solid ".concat(Re.listFilterWidgetNoMatchesOutline,"; }")),Re.listMatchesShadow&&Xe.push(".monaco-list-type-filter { box-shadow: 1px 1px 1px ".concat(Re.listMatchesShadow,"; }")),Re.tableColumnsBorder&&Xe.push(`
- .monaco-table:hover > .monaco-split-view2,
- .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before {
- border-color: `.concat(Re.tableColumnsBorder,`;
- }`)),this.styleElement.textContent=Xe.join(`
- `)}}]),Me}(),ae={listFocusBackground:g.a.fromHex("#7FB0D0"),listActiveSelectionBackground:g.a.fromHex("#0E639C"),listActiveSelectionForeground:g.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:g.a.fromHex("#094771"),listFocusAndSelectionForeground:g.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:g.a.fromHex("#3F3F46"),listHoverBackground:g.a.fromHex("#2A2D2E"),listDropBackground:g.a.fromHex("#383B3D"),treeIndentGuidesStroke:g.a.fromHex("#a9a9a9"),tableColumnsBorder:g.a.fromHex("#cccccc").transparent(.2)},Se={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}}};function Te(Me,_e){var Re=Me.indexOf(_e);if(Re===-1)return[];for(var et=[],Xe=Re-1;Xe>=0&&Me[Xe]===_e-(Re-Xe);)et.push(Me[Xe--]);for(et.reverse(),Xe=Re;Xe<Me.length&&Me[Xe]===_e+(Xe-Re);)et.push(Me[Xe++]);return et}function je(Me,_e){for(var Re=[],et=0,Xe=0;et<Me.length||Xe<_e.length;)if(et>=Me.length)Re.push(_e[Xe++]);else if(Xe>=_e.length)Re.push(Me[et++]);else if(Me[et]===_e[Xe]){Re.push(Me[et]),et++,Xe++;continue}else Me[et]<_e[Xe]?Re.push(Me[et++]):Re.push(_e[Xe++]);return Re}function ft(Me,_e){for(var Re=[],et=0,Xe=0;et<Me.length||Xe<_e.length;)if(et>=Me.length)Re.push(_e[Xe++]);else if(Xe>=_e.length)Re.push(Me[et++]);else if(Me[et]===_e[Xe]){et++,Xe++;continue}else Me[et]<_e[Xe]?Re.push(Me[et++]):Xe++;return Re}var fe=function(_e,Re){return _e-Re},ie=function(){function Me(_e,Re){Object(n.a)(this,Me),this._templateId=_e,this.renderers=Re}return Object(v.a)(Me,[{key:"templateId",get:function(){return this._templateId}},{key:"renderTemplate",value:function(Re){return this.renderers.map(function(et){return et.renderTemplate(Re)})}},{key:"renderElement",value:function(Re,et,Xe,it){var bt=0,Ct=Object(a.a)(this.renderers),Bt;try{for(Ct.s();!(Bt=Ct.n()).done;){var qe=Bt.value;qe.renderElement(Re,et,Xe[bt++],it)}}catch(st){Ct.e(st)}finally{Ct.f()}}},{key:"disposeElement",value:function(Re,et,Xe,it){var bt=0,Ct=Object(a.a)(this.renderers),Bt;try{for(Ct.s();!(Bt=Ct.n()).done;){var qe=Bt.value;qe.disposeElement&&qe.disposeElement(Re,et,Xe[bt],it),bt+=1}}catch(st){Ct.e(st)}finally{Ct.f()}}},{key:"disposeTemplate",value:function(Re){var et=0,Xe=Object(a.a)(this.renderers),it;try{for(Xe.s();!(it=Xe.n()).done;){var bt=it.value;bt.disposeTemplate(Re[et++])}}catch(Ct){Xe.e(Ct)}finally{Xe.f()}}}]),Me}(),ge=function(){function Me(_e){Object(n.a)(this,Me),this.accessibilityProvider=_e,this.templateId="a18n"}return Object(v.a)(Me,[{key:"renderTemplate",value:function(Re){return Re}},{key:"renderElement",value:function(Re,et,Xe){var it=this.accessibilityProvider.getAriaLabel(Re);it?Xe.setAttribute("aria-label",it):Xe.removeAttribute("aria-label");var bt=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(Re);typeof bt=="number"?Xe.setAttribute("aria-level","".concat(bt)):Xe.removeAttribute("aria-level")}},{key:"disposeTemplate",value:function(Re){}}]),Me}(),Ve=function(){function Me(_e,Re){Object(n.a)(this,Me),this.list=_e,this.dnd=Re}return Object(v.a)(Me,[{key:"getDragElements",value:function(Re){var et=this.list.getSelectedElements(),Xe=et.indexOf(Re)>-1?et:[Re];return Xe}},{key:"getDragURI",value:function(Re){return this.dnd.getDragURI(Re)}},{key:"getDragLabel",value:function(Re,et){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(Re,et)}},{key:"onDragStart",value:function(Re,et){this.dnd.onDragStart&&this.dnd.onDragStart(Re,et)}},{key:"onDragOver",value:function(Re,et,Xe,it){return this.dnd.onDragOver(Re,et,Xe,it)}},{key:"onDragEnd",value:function(Re){this.dnd.onDragEnd&&this.dnd.onDragEnd(Re)}},{key:"drop",value:function(Re,et,Xe,it){this.dnd.drop(Re,et,Xe,it)}}]),Me}(),Ee=function(){function Me(_e,Re,et,Xe){var it=arguments.length>4&&arguments[4]!==void 0?arguments[4]:Se;Object(n.a)(this,Me);var bt;this.user=_e,this._options=it,this.focus=new oe("focused"),this.anchor=new oe("anchor"),this.eventBufferer=new T.c,this._ariaLabel="",this.disposables=new h.b,this._onDidDispose=new T.a,this.onDidDispose=this._onDidDispose.event;var Ct=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?(bt=this._options.accessibilityProvider)===null||bt===void 0?void 0:bt.getWidgetRole():"list";this.selection=new he(Ct!=="listbox"),Object(b.f)(it,ae,!1);var Bt=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=it.accessibilityProvider,this.accessibilityProvider&&(Bt.push(new ge(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),Xe=Xe.map(function(kt){return new ie(kt.templateId,[].concat(Bt,[kt]))});var qe=Object.assign(Object.assign({},it),{dnd:it.dnd&&new Ve(this,it.dnd)});if(this.view=new A.b(Re,et,Xe,qe),this.view.domNode.setAttribute("role",Ct),it.styleController)this.styleController=it.styleController(this.view.domId);else{var st=Object(W.createStyleSheet)(this.view.domNode);this.styleController=new pe(st,this.view.domId)}if(this.spliceable=new d([new ue(this.focus,this.view,it.identityProvider),new ue(this.selection,this.view,it.identityProvider),new ue(this.anchor,this.view,it.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=T.b.map(Object(I.a)(this.view.domNode,"focus",!0),function(){return null}),this.onDidBlur=T.b.map(Object(I.a)(this.view.domNode,"blur",!0),function(){return null}),this.disposables.add(new R(this,this.view)),typeof it.keyboardSupport!="boolean"||it.keyboardSupport){var ut=new be(this,this.view,it);this.disposables.add(ut)}if(it.keyboardNavigationLabelProvider){var nt=it.keyboardNavigationDelegate||ee;this.typeLabelController=new ce(this,this.view,it.keyboardNavigationLabelProvider,nt),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController(it),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),it.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}return Object(v.a)(Me,[{key:"onDidChangeFocus",get:function(){var Re=this;return T.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),function(et){return Re.toListEvent(et)})}},{key:"onDidChangeSelection",get:function(){var Re=this;return T.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),function(et){return Re.toListEvent(et)})}},{key:"domId",get:function(){return this.view.domId}},{key:"onMouseClick",get:function(){return this.view.onMouseClick}},{key:"onMouseDblClick",get:function(){return this.view.onMouseDblClick}},{key:"onMouseMiddleClick",get:function(){return this.view.onMouseMiddleClick}},{key:"onPointer",get:function(){return this.mouseController.onPointer}},{key:"onMouseDown",get:function(){return this.view.onMouseDown}},{key:"onTouchStart",get:function(){return this.view.onTouchStart}},{key:"onTap",get:function(){return this.view.onTap}},{key:"onContextMenu",get:function(){var Re=this,et=!1,Xe=T.b.chain(Object(I.a)(this.view.domNode,"keydown")).map(function(Ct){return new k.a(Ct)}).filter(function(Ct){return et=Ct.keyCode===58||Ct.shiftKey&&Ct.keyCode===68}).map(I.c).filter(function(){return!1}).event,it=T.b.chain(Object(I.a)(this.view.domNode,"keyup")).forEach(function(){return et=!1}).map(function(Ct){return new k.a(Ct)}).filter(function(Ct){return Ct.keyCode===58||Ct.shiftKey&&Ct.keyCode===68}).map(I.c).map(function(Ct){var Bt=Ct.browserEvent,qe=Re.getFocus(),st=qe.length?qe[0]:void 0,ut=typeof st!="undefined"?Re.view.element(st):void 0,nt=typeof st!="undefined"?Re.view.domElement(st):Re.view.domNode;return{index:st,element:ut,anchor:nt,browserEvent:Bt}}).event,bt=T.b.chain(this.view.onContextMenu).filter(function(Ct){return!et}).map(function(Ct){var Bt=Ct.element,qe=Ct.index,st=Ct.browserEvent;return{element:Bt,index:qe,anchor:{x:st.clientX+1,y:st.clientY},browserEvent:st}}).event;return T.b.any(Xe,it,bt)}},{key:"onKeyDown",get:function(){return Object(I.a)(this.view.domNode,"keydown")}},{key:"createMouseController",value:function(Re){return new X(this)}},{key:"updateOptions",value:function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._options=Object.assign(Object.assign({},this._options),Re),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),this.view.updateOptions(Re)}},{key:"options",get:function(){return this._options}},{key:"splice",value:function(Re,et){var Xe=this,it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Re<0||Re>this.view.length)throw new $(this.user,"Invalid start index: ".concat(Re));if(et<0)throw new $(this.user,"Invalid delete count: ".concat(et));et===0&&it.length===0||this.eventBufferer.bufferEvents(function(){return Xe.spliceable.splice(Re,et,it)})}},{key:"rerender",value:function(){this.view.rerender()}},{key:"element",value:function(Re){return this.view.element(Re)}},{key:"length",get:function(){return this.view.length}},{key:"contentHeight",get:function(){return this.view.contentHeight}},{key:"scrollTop",get:function(){return this.view.getScrollTop()},set:function(Re){this.view.setScrollTop(Re)}},{key:"ariaLabel",get:function(){return this._ariaLabel},set:function(Re){this._ariaLabel=Re,this.view.domNode.setAttribute("aria-label",Re)}},{key:"domFocus",value:function(){this.view.domNode.focus({preventScroll:!0})}},{key:"layout",value:function(Re,et){this.view.layout(Re,et)}},{key:"setSelection",value:function(Re,et){var Xe=Object(a.a)(Re),it;try{for(Xe.s();!(it=Xe.n()).done;){var bt=it.value;if(bt<0||bt>=this.length)throw new $(this.user,"Invalid index ".concat(bt))}}catch(Ct){Xe.e(Ct)}finally{Xe.f()}this.selection.set(Re,et)}},{key:"getSelection",value:function(){return this.selection.get()}},{key:"getSelectedElements",value:function(){var Re=this;return this.getSelection().map(function(et){return Re.view.element(et)})}},{key:"setAnchor",value:function(Re){if(typeof Re=="undefined"){this.anchor.set([]);return}if(Re<0||Re>=this.length)throw new $(this.user,"Invalid index ".concat(Re));this.anchor.set([Re])}},{key:"getAnchor",value:function(){return Object(l.i)(this.anchor.get(),void 0)}},{key:"setFocus",value:function(Re,et){var Xe=Object(a.a)(Re),it;try{for(Xe.s();!(it=Xe.n()).done;){var bt=it.value;if(bt<0||bt>=this.length)throw new $(this.user,"Invalid index ".concat(bt))}}catch(Ct){Xe.e(Ct)}finally{Xe.f()}this.focus.set(Re,et)}},{key:"focusNext",value:function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2?arguments[2]:void 0,it=arguments.length>3?arguments[3]:void 0;if(this.length!==0){var bt=this.focus.get(),Ct=this.findNextIndex(bt.length>0?bt[0]+Re:0,et,it);Ct>-1&&this.setFocus([Ct],Xe)}}},{key:"focusPrevious",value:function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2?arguments[2]:void 0,it=arguments.length>3?arguments[3]:void 0;if(this.length!==0){var bt=this.focus.get(),Ct=this.findPreviousIndex(bt.length>0?bt[0]-Re:0,et,it);Ct>-1&&this.setFocus([Ct],Xe)}}},{key:"focusNextPage",value:function(Re,et){return ye(this,void 0,void 0,Object(u.a)().mark(function Xe(){var it,bt,Ct,Bt,qe;return Object(u.a)().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:if(it=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight),it=it===0?0:it-1,bt=this.view.element(it),Ct=this.getFocusedElements()[0],Ct===bt){ut.next=9;break}Bt=this.findPreviousIndex(it,!1,et),Bt>-1&&Ct!==this.view.element(Bt)?this.setFocus([Bt],Re):this.setFocus([it],Re),ut.next=17;break;case 9:if(qe=this.view.getScrollTop(),this.view.setScrollTop(qe+this.view.renderHeight-this.view.elementHeight(it)),this.view.getScrollTop()===qe){ut.next=17;break}return this.setFocus([]),ut.next=15,Object(te.n)(0);case 15:return ut.next=17,this.focusNextPage(Re,et);case 17:case"end":return ut.stop()}},Xe,this)}))}},{key:"focusPreviousPage",value:function(Re,et){return ye(this,void 0,void 0,Object(u.a)().mark(function Xe(){var it,bt,Ct,Bt,qe,st;return Object(u.a)().wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:if(bt=this.view.getScrollTop(),bt===0?it=this.view.indexAt(bt):it=this.view.indexAfter(bt-1),Ct=this.view.element(it),Bt=this.getFocusedElements()[0],Bt===Ct){nt.next=9;break}qe=this.findNextIndex(it,!1,et),qe>-1&&Bt!==this.view.element(qe)?this.setFocus([qe],Re):this.setFocus([it],Re),nt.next=17;break;case 9:if(st=bt,this.view.setScrollTop(bt-this.view.renderHeight),this.view.getScrollTop()===st){nt.next=17;break}return this.setFocus([]),nt.next=15,Object(te.n)(0);case 15:return nt.next=17,this.focusPreviousPage(Re,et);case 17:case"end":return nt.stop()}},Xe,this)}))}},{key:"focusLast",value:function(Re,et){if(this.length!==0){var Xe=this.findPreviousIndex(this.length-1,!1,et);Xe>-1&&this.setFocus([Xe],Re)}}},{key:"focusFirst",value:function(Re,et){this.focusNth(0,Re,et)}},{key:"focusNth",value:function(Re,et,Xe){if(this.length!==0){var it=this.findNextIndex(Re,!1,Xe);it>-1&&this.setFocus([it],et)}}},{key:"findNextIndex",value:function(Re){for(var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2?arguments[2]:void 0,it=0;it<this.length;it++){if(Re>=this.length&&!et)return-1;if(Re=Re%this.length,!Xe||Xe(this.element(Re)))return Re;Re++}return-1}},{key:"findPreviousIndex",value:function(Re){for(var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2?arguments[2]:void 0,it=0;it<this.length;it++){if(Re<0&&!et)return-1;if(Re=(this.length+Re%this.length)%this.length,!Xe||Xe(this.element(Re)))return Re;Re--}return-1}},{key:"getFocus",value:function(){return this.focus.get()}},{key:"getFocusedElements",value:function(){var Re=this;return this.getFocus().map(function(et){return Re.view.element(et)})}},{key:"reveal",value:function(Re,et){if(Re<0||Re>=this.length)throw new $(this.user,"Invalid index ".concat(Re));var Xe=this.view.getScrollTop(),it=this.view.elementTop(Re),bt=this.view.elementHeight(Re);if(Object(t.h)(et)){var Ct=bt-this.view.renderHeight;this.view.setScrollTop(Ct*Object(O.b)(et,0,1)+it)}else{var Bt=it+bt,qe=Xe+this.view.renderHeight;it<Xe&&Bt>=qe||(it<Xe||Bt>=qe&&bt>=this.view.renderHeight?this.view.setScrollTop(it):Bt>=qe&&this.view.setScrollTop(Bt-this.view.renderHeight))}}},{key:"getRelativeTop",value:function(Re){if(Re<0||Re>=this.length)throw new $(this.user,"Invalid index ".concat(Re));var et=this.view.getScrollTop(),Xe=this.view.elementTop(Re),it=this.view.elementHeight(Re);if(Xe<et||Xe+it>et+this.view.renderHeight)return null;var bt=it-this.view.renderHeight;return Math.abs((et-Xe)/bt)}},{key:"getHTMLElement",value:function(){return this.view.domNode}},{key:"style",value:function(Re){this.styleController.style(Re)}},{key:"toListEvent",value:function(Re){var et=this,Xe=Re.indexes,it=Re.browserEvent;return{indexes:Xe,elements:Xe.map(function(bt){return et.view.element(bt)}),browserEvent:it}}},{key:"_onFocusChange",value:function(){var Re=this.focus.get();this.view.domNode.classList.toggle("element-focused",Re.length>0),this.onDidChangeActiveDescendant()}},{key:"onDidChangeActiveDescendant",value:function(){var Re,et=this.focus.get();if(et.length>0){var Xe;((Re=this.accessibilityProvider)===null||Re===void 0?void 0:Re.getActiveDescendantId)&&(Xe=this.accessibilityProvider.getActiveDescendantId(this.view.element(et[0]))),this.view.domNode.setAttribute("aria-activedescendant",Xe||this.view.getElementDomId(et[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}},{key:"_onSelectionChange",value:function(){var Re=this.selection.get();this.view.domNode.classList.toggle("selection-none",Re.length===0),this.view.domNode.classList.toggle("selection-single",Re.length===1),this.view.domNode.classList.toggle("selection-multiple",Re.length>1)}},{key:"dispose",value:function(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}]),Me}();re([p.a],Ee.prototype,"onDidChangeFocus",null),re([p.a],Ee.prototype,"onDidChangeSelection",null),re([p.a],Ee.prototype,"onContextMenu",null)},cvCv:function(Ie,M){function e(u){return function(){return u}}Ie.exports=e},dBaI:function(Ie,M,e){"use strict";e.d(M,"a",function(){return o}),e.d(M,"b",function(){return n});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("N0LK"),o=function(){function v(m,h,t,l){Object(c.a)(this,v),this.startColumn=m,this.endColumn=h,this.className=t,this.type=l}return Object(r.a)(v,null,[{key:"_equals",value:function(h,t){return h.startColumn===t.startColumn&&h.endColumn===t.endColumn&&h.className===t.className&&h.type===t.type}},{key:"equalsArr",value:function(h,t){var l=h.length,p=t.length;if(l!==p)return!1;for(var w=0;w<l;w++)if(!v._equals(h[w],t[w]))return!1;return!0}},{key:"extractWrapped",value:function(h,t,l){if(h.length===0)return h;var p=t+1,w=l+1,S=l-t,k=[],T=0,I=Object(u.a)(h),Y;try{for(I.s();!(Y=I.n()).done;){var $=Y.value;$.endColumn<=p||$.startColumn>=w||(k[T++]=new v(Math.max(1,$.startColumn-p+1),Math.min(S+1,$.endColumn-p+1),$.className,$.type))}}catch(A){I.e(A)}finally{I.f()}return k}},{key:"filter",value:function(h,t,l,p){if(h.length===0)return[];for(var w=[],S=0,k=0,T=h.length;k<T;k++){var I=h[k],Y=I.range;if(!(Y.endLineNumber<t||Y.startLineNumber>t)&&!(Y.isEmpty()&&(I.type===0||I.type===3))){var $=Y.startLineNumber===t?Y.startColumn:l,A=Y.endLineNumber===t?Y.endColumn:p;w[S++]=new v($,A,I.inlineClassName,I.type)}}return w}},{key:"_typeCompare",value:function(h,t){var l=[2,0,1,3];return l[h]-l[t]}},{key:"compare",value:function(h,t){if(h.startColumn===t.startColumn){if(h.endColumn===t.endColumn){var l=v._typeCompare(h.type,t.type);return l===0?h.className<t.className?-1:h.className>t.className?1:0:l}return h.endColumn-t.endColumn}return h.startColumn-t.startColumn}}]),v}(),i=Object(r.a)(function v(m,h,t,l){Object(c.a)(this,v),this.startOffset=m,this.endOffset=h,this.className=t,this.metadata=l}),a=function(){function v(){Object(c.a)(this,v),this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}return Object(r.a)(v,[{key:"consumeLowerThan",value:function(h,t,l){for(;this.count>0&&this.stopOffsets[0]<h;){for(var p=0;p+1<this.count&&this.stopOffsets[p]===this.stopOffsets[p+1];)p++;l.push(new i(t,this.stopOffsets[p],this.classNames.join(" "),v._metadata(this.metadata))),t=this.stopOffsets[p]+1,this.stopOffsets.splice(0,p+1),this.classNames.splice(0,p+1),this.metadata.splice(0,p+1),this.count-=p+1}return this.count>0&&t<h&&(l.push(new i(t,h-1,this.classNames.join(" "),v._metadata(this.metadata))),t=h),t}},{key:"insert",value:function(h,t,l){if(this.count===0||this.stopOffsets[this.count-1]<=h)this.stopOffsets.push(h),this.classNames.push(t),this.metadata.push(l);else for(var p=0;p<this.count;p++)if(this.stopOffsets[p]>=h){this.stopOffsets.splice(p,0,h),this.classNames.splice(p,0,t),this.metadata.splice(p,0,l);break}this.count++}}],[{key:"_metadata",value:function(h){for(var t=0,l=0,p=h.length;l<p;l++)t|=h[l];return t}}]),v}(),n=function(){function v(){Object(c.a)(this,v)}return Object(r.a)(v,null,[{key:"normalize",value:function(h,t){if(t.length===0)return[];for(var l=[],p=new a,w=0,S=0,k=t.length;S<k;S++){var T=t[S],I=T.startColumn,Y=T.endColumn,$=T.className,A=T.type===1?2:T.type===2?4:0;if(I>1){var g=h.charCodeAt(I-2);f.E(g)&&I--}if(Y>1){var b=h.charCodeAt(Y-2);f.E(b)&&Y--}var d=I-1,O=Y-2;w=p.consumeLowerThan(d,w,l),p.count===0&&(w=d),p.insert(O,$,A)}return p.consumeLowerThan(1073741824,w,l),l}}]),v}()},dD9F:function(Ie,M,e){var u=e("NykK"),c=e("shjB"),r=e("ExA7"),f="[object Arguments]",o="[object Array]",i="[object Boolean]",a="[object Date]",n="[object Error]",v="[object Function]",m="[object Map]",h="[object Number]",t="[object Object]",l="[object RegExp]",p="[object Set]",w="[object String]",S="[object WeakMap]",k="[object ArrayBuffer]",T="[object DataView]",I="[object Float32Array]",Y="[object Float64Array]",$="[object Int8Array]",A="[object Int16Array]",g="[object Int32Array]",b="[object Uint8Array]",d="[object Uint8ClampedArray]",O="[object Uint16Array]",E="[object Uint32Array]",D={};D[I]=D[Y]=D[$]=D[A]=D[g]=D[b]=D[d]=D[O]=D[E]=!0,D[f]=D[o]=D[k]=D[i]=D[T]=D[a]=D[n]=D[v]=D[m]=D[h]=D[t]=D[l]=D[p]=D[w]=D[S]=!1;function W(te){return r(te)&&c(te.length)&&!!D[u(te)]}Ie.exports=W},dM5B:function(Ie,M,e){"use strict";e.d(M,"c",function(){return T}),e.d(M,"d",function(){return I}),e.d(M,"b",function(){return Y}),e.d(M,"a",function(){return A});var u=e("qLMh"),c=e("JQT/"),r=e("/cxE"),f=e("bY76"),o=e("twdY"),i=e("G2kB"),a=e("nnTU"),n=e("746U"),v=e("rAM+"),m=e("HpOR"),h=e("MNsG");function t(g){for(var b=0,d=g.length;b<d;b+=4){var O=g[b+0],E=g[b+1],D=g[b+2],W=g[b+3];g[b+0]=W,g[b+1]=D,g[b+2]=E,g[b+3]=O}}function l(g){var b=new Uint8Array(g.buffer,g.byteOffset,g.length*4);return h.e()||t(b),m.a.wrap(b)}function p(g){var b=new Uint32Array(w(g)),d=0;if(b[d++]=g.id,g.type==="full")b[d++]=1,b[d++]=g.data.length,b.set(g.data,d),d+=g.data.length;else{b[d++]=2,b[d++]=g.deltas.length;var O=Object(v.a)(g.deltas),E;try{for(O.s();!(E=O.n()).done;){var D=E.value;b[d++]=D.start,b[d++]=D.deleteCount,D.data?(b[d++]=D.data.length,b.set(D.data,d),d+=D.data.length):b[d++]=0}}catch(W){O.e(W)}finally{O.f()}}return l(b)}function w(g){var b=0;if(b+=1+1,g.type==="full")b+=1+g.data.length;else{b+=1,b+=(1+1+1)*g.deltas.length;var d=Object(v.a)(g.deltas),O;try{for(d.s();!(O=d.n()).done;){var E=O.value;E.data&&(b+=E.data.length)}}catch(D){d.e(D)}finally{d.f()}}return b}var S=e("aokT"),k=function(g,b,d,O){function E(D){return D instanceof d?D:new d(function(W){W(D)})}return new(d||(d=Promise))(function(D,W){function te(q){try{ye(O.next(q))}catch(oe){W(oe)}}function re(q){try{ye(O.throw(q))}catch(oe){W(oe)}}function ye(q){q.done?D(q.value):E(q.value).then(te,re)}ye((O=O.apply(g,b||[])).next())})};function T(g){return g&&!!g.data}function I(g){return g&&Array.isArray(g.edits)}function Y(g,b,d){var O=$(g);return O?{provider:O,request:Promise.resolve(O.provideDocumentSemanticTokens(g,b,d))}:null}function $(g){var b=o.l.ordered(g);return b.length>0?b[0]:null}function A(g){var b=o.k.ordered(g);return b.length>0?b[0]:null}a.a.registerCommand("_provideDocumentSemanticTokensLegend",function(g){for(var b=arguments.length,d=new Array(b>1?b-1:0),O=1;O<b;O++)d[O-1]=arguments[O];return k(void 0,void 0,void 0,Object(u.a)().mark(function E(){var D,W,te;return Object(u.a)().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(D=d[0],Object(n.b)(D instanceof f.a),W=g.get(i.a).getModel(D),W){ye.next=5;break}return ye.abrupt("return",void 0);case 5:if(te=$(W),te){ye.next=8;break}return ye.abrupt("return",g.get(a.b).executeCommand("_provideDocumentRangeSemanticTokensLegend",D));case 8:return ye.abrupt("return",te.getLegend());case 9:case"end":return ye.stop()}},E)}))}),a.a.registerCommand("_provideDocumentSemanticTokens",function(g){for(var b=arguments.length,d=new Array(b>1?b-1:0),O=1;O<b;O++)d[O-1]=arguments[O];return k(void 0,void 0,void 0,Object(u.a)().mark(function E(){var D,W,te,re,ye,q,oe;return Object(u.a)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(D=d[0],Object(n.b)(D instanceof f.a),W=g.get(i.a).getModel(D),W){ue.next=5;break}return ue.abrupt("return",void 0);case 5:if(te=Y(W,null,c.a.None),te){ue.next=8;break}return ue.abrupt("return",g.get(a.b).executeCommand("_provideDocumentRangeSemanticTokens",D,W.getFullModelRange()));case 8:return re=te.provider,ye=te.request,ue.prev=9,ue.next=12,ye;case 12:q=ue.sent,ue.next=19;break;case 15:return ue.prev=15,ue.t0=ue.catch(9),Object(r.f)(ue.t0),ue.abrupt("return",void 0);case 19:if(!(!q||!T(q))){ue.next=21;break}return ue.abrupt("return",void 0);case 21:return oe=p({id:0,type:"full",data:q.data}),q.resultId&&re.releaseDocumentSemanticTokens(q.resultId),ue.abrupt("return",oe);case 24:case"end":return ue.stop()}},E,null,[[9,15]])}))}),a.a.registerCommand("_provideDocumentRangeSemanticTokensLegend",function(g){for(var b=arguments.length,d=new Array(b>1?b-1:0),O=1;O<b;O++)d[O-1]=arguments[O];return k(void 0,void 0,void 0,Object(u.a)().mark(function E(){var D,W,te;return Object(u.a)().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(D=d[0],Object(n.b)(D instanceof f.a),W=g.get(i.a).getModel(D),W){ye.next=5;break}return ye.abrupt("return",void 0);case 5:if(te=A(W),te){ye.next=8;break}return ye.abrupt("return",void 0);case 8:return ye.abrupt("return",te.getLegend());case 9:case"end":return ye.stop()}},E)}))}),a.a.registerCommand("_provideDocumentRangeSemanticTokens",function(g){for(var b=arguments.length,d=new Array(b>1?b-1:0),O=1;O<b;O++)d[O-1]=arguments[O];return k(void 0,void 0,void 0,Object(u.a)().mark(function E(){var D,W,te,re,ye;return Object(u.a)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(D=d[0],W=d[1],Object(n.b)(D instanceof f.a),Object(n.b)(S.a.isIRange(W)),te=g.get(i.a).getModel(D),te){oe.next=6;break}return oe.abrupt("return",void 0);case 6:if(re=A(te),re){oe.next=9;break}return oe.abrupt("return",void 0);case 9:return oe.prev=9,oe.next=12,re.provideDocumentRangeSemanticTokens(te,S.a.lift(W),c.a.None);case 12:ye=oe.sent,oe.next=19;break;case 15:return oe.prev=15,oe.t0=oe.catch(9),Object(r.f)(oe.t0),oe.abrupt("return",void 0);case 19:if(!(!ye||!T(ye))){oe.next=21;break}return oe.abrupt("return",void 0);case 21:return oe.abrupt("return",p({id:0,type:"full",data:ye.data}));case 22:case"end":return oe.stop()}},E,null,[[9,15]])}))})},dOj1:function(Ie,M,e){"use strict";var u=e("b5wT"),c=e("GEWS"),r=e("6Ekc").slack,f=e("6Ekc").longestPath,o=e("F9We").alg.preorder,i=e("F9We").alg.postorder,a=e("tQ6r").simplify;Ie.exports=n,n.initLowLimValues=t,n.initCutValues=v,n.calcCutValue=h,n.leaveEdge=p,n.enterEdge=w,n.exchangeEdges=S;function n(Y){Y=a(Y),f(Y);var $=c(Y);t($),v($,Y);for(var A,g;A=p($);)g=w($,Y,A),S($,Y,A,g)}function v(Y,$){var A=i(Y,Y.nodes());A=A.slice(0,A.length-1),u.forEach(A,function(g){m(Y,$,g)})}function m(Y,$,A){var g=Y.node(A),b=g.parent;Y.edge(A,b).cutvalue=h(Y,$,A)}function h(Y,$,A){var g=Y.node(A),b=g.parent,d=!0,O=$.edge(A,b),E=0;return O||(d=!1,O=$.edge(b,A)),E=O.weight,u.forEach($.nodeEdges(A),function(D){var W=D.v===A,te=W?D.w:D.v;if(te!==b){var re=W===d,ye=$.edge(D).weight;if(E+=re?ye:-ye,T(Y,A,te)){var q=Y.edge(A,te).cutvalue;E+=re?-q:q}}}),E}function t(Y,$){arguments.length<2&&($=Y.nodes()[0]),l(Y,{},1,$)}function l(Y,$,A,g,b){var d=A,O=Y.node(g);return $[g]=!0,u.forEach(Y.neighbors(g),function(E){u.has($,E)||(A=l(Y,$,A,E,g))}),O.low=d,O.lim=A++,b?O.parent=b:delete O.parent,A}function p(Y){return u.find(Y.edges(),function($){return Y.edge($).cutvalue<0})}function w(Y,$,A){var g=A.v,b=A.w;$.hasEdge(g,b)||(g=A.w,b=A.v);var d=Y.node(g),O=Y.node(b),E=d,D=!1;d.lim>O.lim&&(E=O,D=!0);var W=u.filter($.edges(),function(te){return D===I(Y,Y.node(te.v),E)&&D!==I(Y,Y.node(te.w),E)});return u.minBy(W,function(te){return r($,te)})}function S(Y,$,A,g){var b=A.v,d=A.w;Y.removeEdge(b,d),Y.setEdge(g.v,g.w,{}),t(Y),v(Y,$),k(Y,$)}function k(Y,$){var A=u.find(Y.nodes(),function(b){return!$.node(b).parent}),g=o(Y,A);g=g.slice(1),u.forEach(g,function(b){var d=Y.node(b).parent,O=$.edge(b,d),E=!1;O||(O=$.edge(d,b),E=!0),$.node(b).rank=$.node(d).rank+(E?O.minlen:-O.minlen)})}function T(Y,$,A){return Y.hasEdge($,A)}function I(Y,$,A){return A.low<=$.lim&&$.lim<=A.lim}},dPRQ:function(Ie,M,e){"use strict";e.d(M,"a",function(){return w});var u=0,c=0,r=0,f=1e3,o,i,a=0,n=0,v=0,m=typeof performance=="object"&&performance.now?performance:Date,h=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function($){setTimeout($,17)};function t(){return n||(h(l),n=m.now()+v)}function l(){n=0}function p(){this._call=this._time=this._next=null}p.prototype=w.prototype={constructor:p,restart:function(A,g,b){if(typeof A!="function")throw new TypeError("callback is not a function");b=(b==null?t():+b)+(g==null?0:+g),!this._next&&i!==this&&(i?i._next=this:o=this,i=this),this._call=A,this._time=b,Y()},stop:function(){this._call&&(this._call=null,this._time=Infinity,Y())}};function w($,A,g){var b=new p;return b.restart($,A,g),b}function S(){t(),++u;for(var $=o,A;$;)(A=n-$._time)>=0&&$._call.call(null,A),$=$._next;--u}function k(){n=(a=m.now())+v,u=c=0;try{S()}finally{u=0,I(),n=0}}function T(){var $=m.now(),A=$-a;A>f&&(v-=A,a=$)}function I(){for(var $,A=o,g,b=Infinity;A;)A._call?(b>A._time&&(b=A._time),$=A,A=A._next):(g=A._next,A._next=null,A=$?$._next=g:o=g);i=$,Y(b)}function Y($){if(!u){c&&(c=clearTimeout(c));var A=$-n;A>24?($<Infinity&&(c=setTimeout(k,$-m.now()-v)),r&&(r=clearInterval(r))):(r||(a=m.now(),r=setInterval(T,f)),u=1,h(k))}}},dQpi:function(Ie,M,e){var u=e("yGk4"),c=e("vN+2"),r=e("rEGp"),f=1/0,o=u&&1/r(new u([,-0]))[1]==f?function(i){return new u(i)}:c;Ie.exports=o},dTAl:function(Ie,M,e){var u=e("GoyQ"),c=Object.create,r=function(){function f(){}return function(o){if(!u(o))return{};if(c)return c(o);f.prototype=o;var i=new f;return f.prototype=void 0,i}}();Ie.exports=r},df8c:function(Ie,M,e){},dt0z:function(Ie,M,e){var u=e("zoYe");function c(r){return r==null?"":u(r)}Ie.exports=c},dunj:function(Ie,M,e){var u=e("/9aa");function c(r,f,o){for(var i=-1,a=r.length;++i<a;){var n=r[i],v=f(n);if(v!=null&&(m===void 0?v===v&&!u(v):o(v,m)))var m=v,h=n}return h}Ie.exports=c},e0rL:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c}),e.d(M,"b",function(){return r});var u=e("Cg/j"),c=Object(u.c)("textResourceConfigurationService"),r=Object(u.c)("textResourcePropertiesService")},e4Nc:function(Ie,M,e){var u=e("fGT3"),c=e("k+1r"),r=e("JHgL"),f=e("pSRY"),o=e("H8j4");function i(a){var n=-1,v=a==null?0:a.length;for(this.clear();++n<v;){var m=a[n];this.set(m[0],m[1])}}i.prototype.clear=u,i.prototype.delete=c,i.prototype.get=r,i.prototype.has=f,i.prototype.set=o,Ie.exports=i},e5cp:function(Ie,M,e){var u=e("fmRc"),c=e("or5M"),r=e("HDyB"),f=e("seXi"),o=e("QqLw"),i=e("Z0cm"),a=e("DSRE"),n=e("c6wG"),v=1,m="[object Arguments]",h="[object Array]",t="[object Object]",l=Object.prototype,p=l.hasOwnProperty;function w(S,k,T,I,Y,$){var A=i(S),g=i(k),b=A?h:o(S),d=g?h:o(k);b=b==m?t:b,d=d==m?t:d;var O=b==t,E=d==t,D=b==d;if(D&&a(S)){if(!a(k))return!1;A=!0,O=!1}if(D&&!O)return $||($=new u),A||n(S)?c(S,k,T,I,Y,$):r(S,k,b,T,I,Y,$);if(!(T&v)){var W=O&&p.call(S,"__wrapped__"),te=E&&p.call(k,"__wrapped__");if(W||te){var re=W?S.value():S,ye=te?k.value():k;return $||($=new u),Y(re,ye,T,I,$)}}return D?($||($=new u),f(S,k,T,I,Y,$)):!1}Ie.exports=w},eC1c:function(Ie,M,e){},eUgh:function(Ie,M){function e(u,c){for(var r=-1,f=u==null?0:u.length,o=Array(f);++r<f;)o[r]=c(u[r],r,u);return o}Ie.exports=e},eYkC:function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});function u(c,r,f,o,i){var a=f[c]||{},n=f[r]||{},v,m;a.fixed==="left"?v=o.left[c]:n.fixed==="right"&&(m=o.right[r]);var h=!1,t=!1,l=!1,p=!1,w=f[r+1],S=f[c-1];if(i==="rtl"){if(v!==void 0){var k=S&&S.fixed==="left";p=!k}else if(m!==void 0){var T=w&&w.fixed==="right";l=!T}}else if(v!==void 0){var I=w&&w.fixed==="left";h=!I}else if(m!==void 0){var Y=S&&S.fixed==="right";t=!Y}return{fixLeft:v,fixRight:m,lastFixLeft:h,firstFixRight:t,lastFixRight:l,firstFixLeft:p,isSticky:o.isSticky}}},ebwN:function(Ie,M,e){var u=e("Cwc5"),c=e("Kz5y"),r=u(c,"Map");Ie.exports=r},eizg:function(Ie,M,e){},ekgI:function(Ie,M,e){var u=e("YESw"),c=Object.prototype,r=c.hasOwnProperty;function f(o){var i=this.__data__;return u?i[o]!==void 0:r.call(i,o)}Ie.exports=f},epwv:function(Ie,M,e){"use strict";var u=e("b5wT"),c=e("ptHe"),r=e("Re5C"),f=e("C4tZ"),o=e("tQ6r").normalizeRanks,i=e("8c2E"),a=e("tQ6r").removeEmptyRanks,n=e("JRpN"),v=e("Ig6t"),m=e("qGSU"),h=e("Kp9H"),t=e("IyW0"),l=e("tQ6r"),p=e("F9We").Graph;Ie.exports=w;function w(ee,ce){var R=ce&&ce.debugTiming?l.time:l.notime;R("layout",function(){var y=R(" buildLayoutGraph",function(){return O(ee)});R(" runLayout",function(){S(y,R)}),R(" updateInputGraph",function(){k(ee,y)})})}function S(ee,ce){ce(" makeSpaceForEdgeLabels",function(){E(ee)}),ce(" removeSelfEdges",function(){ue(ee)}),ce(" acyclic",function(){c.run(ee)}),ce(" nestingGraph.run",function(){n.run(ee)}),ce(" rank",function(){f(l.asNonCompoundGraph(ee))}),ce(" injectEdgeLabelProxies",function(){D(ee)}),ce(" removeEmptyRanks",function(){a(ee)}),ce(" nestingGraph.cleanup",function(){n.cleanup(ee)}),ce(" normalizeRanks",function(){o(ee)}),ce(" assignRankMinMax",function(){W(ee)}),ce(" removeEdgeLabelProxies",function(){te(ee)}),ce(" normalize.run",function(){r.run(ee)}),ce(" parentDummyChains",function(){i(ee)}),ce(" addBorderSegments",function(){v(ee)}),ce(" order",function(){h(ee)}),ce(" insertSelfEdges",function(){ne(ee)}),ce(" adjustCoordinateSystem",function(){m.adjust(ee)}),ce(" position",function(){t(ee)}),ce(" positionSelfEdges",function(){se(ee)}),ce(" removeBorderNodes",function(){he(ee)}),ce(" normalize.undo",function(){r.undo(ee)}),ce(" fixupEdgeLabelCoords",function(){q(ee)}),ce(" undoCoordinateSystem",function(){m.undo(ee)}),ce(" translateGraph",function(){re(ee)}),ce(" assignNodeIntersects",function(){ye(ee)}),ce(" reversePoints",function(){oe(ee)}),ce(" acyclic.undo",function(){c.undo(ee)})}function k(ee,ce){u.forEach(ee.nodes(),function(R){var y=ee.node(R),C=ce.node(R);y&&(y.x=C.x,y.y=C.y,ce.children(R).length&&(y.width=C.width,y.height=C.height))}),u.forEach(ee.edges(),function(R){var y=ee.edge(R),C=ce.edge(R);y.points=C.points,u.has(C,"x")&&(y.x=C.x,y.y=C.y)}),ee.graph().width=ce.graph().width,ee.graph().height=ce.graph().height}var T=["nodesep","edgesep","ranksep","marginx","marginy"],I={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Y=["acyclicer","ranker","rankdir","align"],$=["width","height"],A={width:0,height:0},g=["minlen","weight","width","height","labeloffset"],b={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},d=["labelpos"];function O(ee){var ce=new p({multigraph:!0,compound:!0}),R=Z(ee.graph());return ce.setGraph(u.merge({},I,be(R,T),u.pick(R,Y))),u.forEach(ee.nodes(),function(y){var C=Z(ee.node(y));ce.setNode(y,u.defaults(be(C,$),A)),ce.setParent(y,ee.parent(y))}),u.forEach(ee.edges(),function(y){var C=Z(ee.edge(y));ce.setEdge(y,u.merge({},b,be(C,g),u.pick(C,d)))}),ce}function E(ee){var ce=ee.graph();ce.ranksep/=2,u.forEach(ee.edges(),function(R){var y=ee.edge(R);y.minlen*=2,y.labelpos.toLowerCase()!=="c"&&(ce.rankdir==="TB"||ce.rankdir==="BT"?y.width+=y.labeloffset:y.height+=y.labeloffset)})}function D(ee){u.forEach(ee.edges(),function(ce){var R=ee.edge(ce);if(R.width&&R.height){var y=ee.node(ce.v),C=ee.node(ce.w),z={rank:(C.rank-y.rank)/2+y.rank,e:ce};l.addDummyNode(ee,"edge-proxy",z,"_ep")}})}function W(ee){var ce=0;u.forEach(ee.nodes(),function(R){var y=ee.node(R);y.borderTop&&(y.minRank=ee.node(y.borderTop).rank,y.maxRank=ee.node(y.borderBottom).rank,ce=u.max(ce,y.maxRank))}),ee.graph().maxRank=ce}function te(ee){u.forEach(ee.nodes(),function(ce){var R=ee.node(ce);R.dummy==="edge-proxy"&&(ee.edge(R.e).labelRank=R.rank,ee.removeNode(ce))})}function re(ee){var ce=Number.POSITIVE_INFINITY,R=0,y=Number.POSITIVE_INFINITY,C=0,z=ee.graph(),G=z.marginx||0,X=z.marginy||0;function pe(ae){var Se=ae.x,Te=ae.y,je=ae.width,ft=ae.height;ce=Math.min(ce,Se-je/2),R=Math.max(R,Se+je/2),y=Math.min(y,Te-ft/2),C=Math.max(C,Te+ft/2)}u.forEach(ee.nodes(),function(ae){pe(ee.node(ae))}),u.forEach(ee.edges(),function(ae){var Se=ee.edge(ae);u.has(Se,"x")&&pe(Se)}),ce-=G,y-=X,u.forEach(ee.nodes(),function(ae){var Se=ee.node(ae);Se.x-=ce,Se.y-=y}),u.forEach(ee.edges(),function(ae){var Se=ee.edge(ae);u.forEach(Se.points,function(Te){Te.x-=ce,Te.y-=y}),u.has(Se,"x")&&(Se.x-=ce),u.has(Se,"y")&&(Se.y-=y)}),z.width=R-ce+G,z.height=C-y+X}function ye(ee){u.forEach(ee.edges(),function(ce){var R=ee.edge(ce),y=ee.node(ce.v),C=ee.node(ce.w),z,G;R.points?(z=R.points[0],G=R.points[R.points.length-1]):(R.points=[],z=C,G=y),R.points.unshift(l.intersectRect(y,z)),R.points.push(l.intersectRect(C,G))})}function q(ee){u.forEach(ee.edges(),function(ce){var R=ee.edge(ce);if(u.has(R,"x"))switch((R.labelpos==="l"||R.labelpos==="r")&&(R.width-=R.labeloffset),R.labelpos){case"l":R.x-=R.width/2+R.labeloffset;break;case"r":R.x+=R.width/2+R.labeloffset;break}})}function oe(ee){u.forEach(ee.edges(),function(ce){var R=ee.edge(ce);R.reversed&&R.points.reverse()})}function he(ee){u.forEach(ee.nodes(),function(ce){if(ee.children(ce).length){var R=ee.node(ce),y=ee.node(R.borderTop),C=ee.node(R.borderBottom),z=ee.node(u.last(R.borderLeft)),G=ee.node(u.last(R.borderRight));R.width=Math.abs(G.x-z.x),R.height=Math.abs(C.y-y.y),R.x=z.x+R.width/2,R.y=y.y+R.height/2}}),u.forEach(ee.nodes(),function(ce){ee.node(ce).dummy==="border"&&ee.removeNode(ce)})}function ue(ee){u.forEach(ee.edges(),function(ce){if(ce.v===ce.w){var R=ee.node(ce.v);R.selfEdges||(R.selfEdges=[]),R.selfEdges.push({e:ce,label:ee.edge(ce)}),ee.removeEdge(ce)}})}function ne(ee){var ce=l.buildLayerMatrix(ee);u.forEach(ce,function(R){var y=0;u.forEach(R,function(C,z){var G=ee.node(C);G.order=z+y,u.forEach(G.selfEdges,function(X){l.addDummyNode(ee,"selfedge",{width:X.label.width,height:X.label.height,rank:G.rank,order:z+ ++y,e:X.e,label:X.label},"_se")}),delete G.selfEdges})})}function se(ee){u.forEach(ee.nodes(),function(ce){var R=ee.node(ce);if(R.dummy==="selfedge"){var y=ee.node(R.e.v),C=y.x+y.width/2,z=y.y,G=R.x-C,X=y.height/2;ee.setEdge(R.e,R.label),ee.removeNode(ce),R.label.points=[{x:C+2*G/3,y:z-X},{x:C+5*G/6,y:z-X},{x:C+G,y:z},{x:C+5*G/6,y:z+X},{x:C+2*G/3,y:z+X}],R.label.x=R.x,R.label.y=R.y}})}function be(ee,ce){return u.mapValues(u.pick(ee,ce),Number)}function Z(ee){var ce={};return u.forEach(ee,function(R,y){ce[y.toLowerCase()]=R}),ce}},eq1K:function(Ie,M,e){},erM0:function(Ie,M,e){"use strict";var u=e("q1tI"),c=e.n(u),r=function(o){var i=Object(u.useRef)(o);return i.current=o,i};M.a=r},erNZ:function(Ie,M,e){"use strict";e.d(M,"c",function(){return h}),e.d(M,"d",function(){return t}),e.d(M,"a",function(){return l}),e.d(M,"b",function(){return p});var u=e("fWQN"),c=e("mtLc"),r=e("N0LK"),f=e("MNsG"),o=e("HpOR"),i;function a(){return i||(i=new TextDecoder("UTF-16LE")),i}var n;function v(){return n||(n=new TextDecoder("UTF-16BE")),n}var m;function h(){return m||(m=f.e()?a():v()),m}var t=typeof TextDecoder!="undefined",l,p;t?(l=function(Y){return new k(Y)},p=w):(l=function(Y){return new T},p=S);function w(I,Y,$){var A=new Uint16Array(I.buffer,Y,$);return $>0&&(A[0]===65279||A[0]===65534)?S(I,Y,$):a().decode(A)}function S(I,Y,$){for(var A=[],g=0,b=0;b<$;b++){var d=o.b(I,Y);Y+=2,A[g++]=String.fromCharCode(d)}return A.join("")}var k=function(){function I(Y){Object(u.a)(this,I),this._capacity=Y|0,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}return Object(c.a)(I,[{key:"reset",value:function(){this._completedStrings=null,this._bufferLength=0}},{key:"build",value:function(){return this._completedStrings!==null?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}},{key:"_buildBuffer",value:function(){if(this._bufferLength===0)return"";var $=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return h().decode($)}},{key:"_flushBuffer",value:function(){var $=this._buildBuffer();this._bufferLength=0,this._completedStrings===null?this._completedStrings=[$]:this._completedStrings[this._completedStrings.length]=$}},{key:"write1",value:function($){var A=this._capacity-this._bufferLength;A<=1&&(A===0||r.E($))&&this._flushBuffer(),this._buffer[this._bufferLength++]=$}},{key:"appendASCII",value:function($){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=$}},{key:"appendASCIIString",value:function($){var A=$.length;if(this._bufferLength+A>=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=$;return}for(var g=0;g<A;g++)this._buffer[this._bufferLength++]=$.charCodeAt(g)}}]),I}(),T=function(){function I(){Object(u.a)(this,I),this._pieces=[],this._piecesLen=0}return Object(c.a)(I,[{key:"reset",value:function(){this._pieces=[],this._piecesLen=0}},{key:"build",value:function(){return this._pieces.join("")}},{key:"write1",value:function($){this._pieces[this._piecesLen++]=String.fromCharCode($)}},{key:"appendASCII",value:function($){this._pieces[this._piecesLen++]=String.fromCharCode($)}},{key:"appendASCIIString",value:function($){this._pieces[this._piecesLen++]=$}}]),I}()},fAei:function(Ie,M,e){"use strict";e.d(M,"a",function(){return O.a});var u=e("wx14"),c=e("rePB"),r=e("U8pU"),f=e("VTBJ"),o=e("KQm4"),i=e("1OyB"),a=e("vuIU"),n=e("JX7q"),v=e("Ji7U"),m=e("LK+K"),h=e("q1tI"),t=e("4IlW"),l=e("Kwbf"),p=e("bX4T"),w=e("TSYQ"),S=e.n(w),k=e("sboe"),T=e("OZM5"),I=e("815F");function Y(Te){if(Te==null)throw new TypeError("Cannot destructure "+Te)}var $=e("ODXe"),A=e("Ff2n"),g=e("TNol"),b=e("+nKL"),d=e("8XRh"),O=e("WaYH");function E(Te,je){var ft=h.useState(!1),fe=Object($.a)(ft,2),ie=fe[0],ge=fe[1];h.useLayoutEffect(function(){if(ie)return Te(),function(){je()}},[ie]),h.useLayoutEffect(function(){return ge(!0),function(){ge(!1)}},[])}var D=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],W=function(je,ft){var fe=je.className,ie=je.style,ge=je.motion,Ve=je.motionNodes,Ee=je.motionType,Me=je.onMotionStart,_e=je.onMotionEnd,Re=je.active,et=je.treeNodeRequiredProps,Xe=Object(A.a)(je,D),it=h.useState(!0),bt=Object($.a)(it,2),Ct=bt[0],Bt=bt[1],qe=h.useContext(k.a),st=qe.prefixCls,ut=Ve&&Ee!=="hide";Object(g.a)(function(){Ve&&ut!==Ct&&Bt(ut)},[Ve]);var nt=function(){Ve&&Me()},kt=h.useRef(!1),Sn=function(){Ve&&!kt.current&&(kt.current=!0,_e())};E(nt,Sn);var Tt=function(Rt){ut===Rt&&Sn()};return Ve?h.createElement(d.b,Object(u.a)({ref:ft,visible:Ct},ge,{motionAppear:Ee==="show",onVisibleChanged:Tt}),function(ht,Rt){var Ft=ht.className,nn=ht.style;return h.createElement("div",{ref:Rt,className:S()("".concat(st,"-treenode-motion"),Ft),style:nn},Ve.map(function(bn){var sn=Object(u.a)({},(Y(bn.data),bn.data)),un=bn.title,Ht=bn.key,jn=bn.isStart,Ln=bn.isEnd;delete sn.children;var Un=Object(I.g)(Ht,et);return h.createElement(O.a,Object(u.a)({},sn,Un,{title:un,active:Re,data:bn.data,key:Ht,isStart:jn,isEnd:Ln}))}))}):h.createElement(O.a,Object(u.a)({domRef:ft,className:fe,style:ie},Xe,{active:Re}))};W.displayName="MotionTreeNode";var te=h.forwardRef(W),re=te;function ye(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ft=Te.length,fe=je.length;if(Math.abs(ft-fe)!==1)return{add:!1,key:null};function ie(ge,Ve){var Ee=new Map;ge.forEach(function(_e){Ee.set(_e,!0)});var Me=Ve.filter(function(_e){return!Ee.has(_e)});return Me.length===1?Me[0]:null}return ft<fe?{add:!0,key:ie(Te,je)}:{add:!1,key:ie(je,Te)}}function q(Te,je,ft){var fe=Te.findIndex(function(Ee){return Ee.key===ft}),ie=Te[fe+1],ge=je.findIndex(function(Ee){return Ee.key===ft});if(ie){var Ve=je.findIndex(function(Ee){return Ee.key===ie.key});return je.slice(ge+1,Ve)}return je.slice(ge+1)}var oe=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],he={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ue=function(){},ne="RC_TREE_MOTION_".concat(Math.random()),se={key:ne},be={key:ne,level:0,index:0,pos:"0",node:se,nodes:[se]},Z={parent:null,children:[],pos:be.pos,data:se,title:null,key:ne,isStart:[],isEnd:[]};function ee(Te,je,ft,fe){return je===!1||!ft?Te:Te.slice(0,Math.ceil(ft/fe)+1)}function ce(Te){var je=Te.key,ft=Te.pos;return Object(I.f)(je,ft)}function R(Te){for(var je=String(Te.data.key),ft=Te;ft.parent;)ft=ft.parent,je="".concat(ft.data.key," > ").concat(je);return je}var y=h.forwardRef(function(Te,je){var ft=Te.prefixCls,fe=Te.data,ie=Te.selectable,ge=Te.checkable,Ve=Te.expandedKeys,Ee=Te.selectedKeys,Me=Te.checkedKeys,_e=Te.loadedKeys,Re=Te.loadingKeys,et=Te.halfCheckedKeys,Xe=Te.keyEntities,it=Te.disabled,bt=Te.dragging,Ct=Te.dragOverNodeKey,Bt=Te.dropPosition,qe=Te.motion,st=Te.height,ut=Te.itemHeight,nt=Te.virtual,kt=Te.focusable,Sn=Te.activeItem,Tt=Te.focused,ht=Te.tabIndex,Rt=Te.onKeyDown,Ft=Te.onFocus,nn=Te.onBlur,bn=Te.onActiveChange,sn=Te.onListChangeStart,un=Te.onListChangeEnd,Ht=Object(A.a)(Te,oe),jn=h.useRef(null),Ln=h.useRef(null);h.useImperativeHandle(je,function(){return{scrollTo:function(br){jn.current.scrollTo(br)},getIndentWidth:function(){return Ln.current.offsetWidth}}});var Un=h.useState(Ve),lt=Object($.a)(Un,2),Nt=lt[0],zt=lt[1],en=h.useState(fe),tn=Object($.a)(en,2),wn=tn[0],on=tn[1],vn=h.useState(fe),dt=Object($.a)(vn,2),ct=dt[0],Kt=dt[1],pn=h.useState([]),kn=Object($.a)(pn,2),Pt=kn[0],gn=kn[1],_n=h.useState(null),Kn=Object($.a)(_n,2),qn=Kn[0],rr=Kn[1],Rn=h.useRef(fe);Rn.current=fe;function mr(){var yr=Rn.current;on(yr),Kt(yr),gn([]),rr(null),un()}Object(g.a)(function(){zt(Ve);var yr=ye(Nt,Ve);if(yr.key!==null)if(yr.add){var br=wn.findIndex(function(ur){var Ti=ur.key;return Ti===yr.key}),_r=ee(q(wn,fe,yr.key),nt,st,ut),li=wn.slice();li.splice(br+1,0,Z),Kt(li),gn(_r),rr("show")}else{var xi=fe.findIndex(function(ur){var Ti=ur.key;return Ti===yr.key}),Mi=ee(q(fe,wn,yr.key),nt,st,ut),Fr=fe.slice();Fr.splice(xi+1,0,Z),Kt(Fr),gn(Mi),rr("hide")}else wn!==fe&&(on(fe),Kt(fe))},[Ve,fe]),h.useEffect(function(){bt||mr()},[bt]);var ar=qe?ct:fe,sr={expandedKeys:Ve,selectedKeys:Ee,loadedKeys:_e,loadingKeys:Re,checkedKeys:Me,halfCheckedKeys:et,dragOverNodeKey:Ct,dropPosition:Bt,keyEntities:Xe};return h.createElement(h.Fragment,null,Tt&&Sn&&h.createElement("span",{style:he,"aria-live":"assertive"},R(Sn)),h.createElement("div",null,h.createElement("input",{style:he,disabled:kt===!1||it,tabIndex:kt!==!1?ht:null,onKeyDown:Rt,onFocus:Ft,onBlur:nn,value:"",onChange:ue,"aria-label":"for screen reader"})),h.createElement("div",{className:"".concat(ft,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},h.createElement("div",{className:"".concat(ft,"-indent")},h.createElement("div",{ref:Ln,className:"".concat(ft,"-indent-unit")}))),h.createElement(b.a,Object(u.a)({},Ht,{data:ar,itemKey:ce,height:st,fullHeight:!1,virtual:nt,itemHeight:ut,prefixCls:"".concat(ft,"-list"),ref:jn,onVisibleChange:function(br,_r){var li=new Set(br),xi=_r.filter(function(Mi){return!li.has(Mi)});xi.some(function(Mi){return ce(Mi)===ne})&&mr()}}),function(yr){var br=yr.pos,_r=Object(u.a)({},(Y(yr.data),yr.data)),li=yr.title,xi=yr.key,Mi=yr.isStart,Fr=yr.isEnd,ur=Object(I.f)(xi,br);delete _r.key,delete _r.children;var Ti=Object(I.g)(ur,sr);return h.createElement(re,Object(u.a)({},_r,Ti,{title:li,active:!!Sn&&xi===Sn.key,pos:br,data:yr.data,isStart:Mi,isEnd:Fr,motion:qe,motionNodes:xi===ne?Pt:null,motionType:qn,onMotionStart:sn,onMotionEnd:mr,treeNodeRequiredProps:sr,onMouseMove:function(){bn(null)}}))}))});y.displayName="NodeList";var C=y,z=e("NvD2");function G(Te){var je=Te.dropPosition,ft=Te.dropLevelOffset,fe=Te.indent,ie={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(je){case-1:ie.top=0,ie.left=-ft*fe;break;case 1:ie.bottom=0,ie.left=-ft*fe;break;case 0:ie.bottom=0,ie.left=fe;break}return h.createElement("div",{style:ie})}var X=10,pe=function(Te){Object(v.a)(ft,Te);var je=Object(m.a)(ft);function ft(){var fe;Object(i.a)(this,ft);for(var ie=arguments.length,ge=new Array(ie),Ve=0;Ve<ie;Ve++)ge[Ve]=arguments[Ve];return fe=je.call.apply(je,[this].concat(ge)),fe.destroyed=!1,fe.delayedDragEnterLogic=void 0,fe.loadingRetryTimes={},fe.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:Object(I.d)()},fe.dragStartMousePosition=null,fe.dragNode=void 0,fe.currentMouseOverDroppableNodeKey=null,fe.listRef=h.createRef(),fe.onNodeDragStart=function(Ee,Me){var _e=fe.state,Re=_e.expandedKeys,et=_e.keyEntities,Xe=fe.props.onDragStart,it=Me.props.eventKey;fe.dragNode=Me,fe.dragStartMousePosition={x:Ee.clientX,y:Ee.clientY};var bt=Object(T.b)(Re,it);fe.setState({draggingNodeKey:it,dragChildrenKeys:Object(T.f)(it,et),indent:fe.listRef.current.getIndentWidth()}),fe.setExpandedKeys(bt),window.addEventListener("dragend",fe.onWindowDragEnd),Xe==null||Xe({event:Ee,node:Object(I.b)(Me.props)})},fe.onNodeDragEnter=function(Ee,Me){var _e=fe.state,Re=_e.expandedKeys,et=_e.keyEntities,Xe=_e.dragChildrenKeys,it=_e.flattenNodes,bt=_e.indent,Ct=fe.props,Bt=Ct.onDragEnter,qe=Ct.onExpand,st=Ct.allowDrop,ut=Ct.direction,nt=Me.props,kt=nt.pos,Sn=nt.eventKey,Tt=Object(n.a)(fe),ht=Tt.dragNode;if(fe.currentMouseOverDroppableNodeKey!==Sn&&(fe.currentMouseOverDroppableNodeKey=Sn),!ht){fe.resetDragState();return}var Rt=Object(T.c)(Ee,ht,Me,bt,fe.dragStartMousePosition,st,it,et,Re,ut),Ft=Rt.dropPosition,nn=Rt.dropLevelOffset,bn=Rt.dropTargetKey,sn=Rt.dropContainerKey,un=Rt.dropTargetPos,Ht=Rt.dropAllowed,jn=Rt.dragOverNodeKey;if(Xe.indexOf(bn)!==-1||!Ht){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(Ln){clearTimeout(fe.delayedDragEnterLogic[Ln])}),ht.props.eventKey!==Me.props.eventKey&&(Ee.persist(),fe.delayedDragEnterLogic[kt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var Ln=Object(o.a)(Re),Un=et[Me.props.eventKey];Un&&(Un.children||[]).length&&(Ln=Object(T.a)(Re,Me.props.eventKey)),"expandedKeys"in fe.props||fe.setExpandedKeys(Ln),qe==null||qe(Ln,{node:Object(I.b)(Me.props),expanded:!0,nativeEvent:Ee.nativeEvent})}},800)),ht.props.eventKey===bn&&nn===0){fe.resetDragState();return}fe.setState({dragOverNodeKey:jn,dropPosition:Ft,dropLevelOffset:nn,dropTargetKey:bn,dropContainerKey:sn,dropTargetPos:un,dropAllowed:Ht}),Bt==null||Bt({event:Ee,node:Object(I.b)(Me.props),expandedKeys:Re})},fe.onNodeDragOver=function(Ee,Me){var _e=fe.state,Re=_e.dragChildrenKeys,et=_e.flattenNodes,Xe=_e.keyEntities,it=_e.expandedKeys,bt=_e.indent,Ct=fe.props,Bt=Ct.onDragOver,qe=Ct.allowDrop,st=Ct.direction,ut=Object(n.a)(fe),nt=ut.dragNode;if(!!nt){var kt=Object(T.c)(Ee,nt,Me,bt,fe.dragStartMousePosition,qe,et,Xe,it,st),Sn=kt.dropPosition,Tt=kt.dropLevelOffset,ht=kt.dropTargetKey,Rt=kt.dropContainerKey,Ft=kt.dropAllowed,nn=kt.dropTargetPos,bn=kt.dragOverNodeKey;Re.indexOf(ht)!==-1||!Ft||(nt.props.eventKey===ht&&Tt===0?fe.state.dropPosition===null&&fe.state.dropLevelOffset===null&&fe.state.dropTargetKey===null&&fe.state.dropContainerKey===null&&fe.state.dropTargetPos===null&&fe.state.dropAllowed===!1&&fe.state.dragOverNodeKey===null||fe.resetDragState():Sn===fe.state.dropPosition&&Tt===fe.state.dropLevelOffset&&ht===fe.state.dropTargetKey&&Rt===fe.state.dropContainerKey&&nn===fe.state.dropTargetPos&&Ft===fe.state.dropAllowed&&bn===fe.state.dragOverNodeKey||fe.setState({dropPosition:Sn,dropLevelOffset:Tt,dropTargetKey:ht,dropContainerKey:Rt,dropTargetPos:nn,dropAllowed:Ft,dragOverNodeKey:bn}),Bt==null||Bt({event:Ee,node:Object(I.b)(Me.props)}))}},fe.onNodeDragLeave=function(Ee,Me){fe.currentMouseOverDroppableNodeKey===Me.props.eventKey&&!Ee.currentTarget.contains(Ee.relatedTarget)&&(fe.resetDragState(),fe.currentMouseOverDroppableNodeKey=null);var _e=fe.props.onDragLeave;_e==null||_e({event:Ee,node:Object(I.b)(Me.props)})},fe.onWindowDragEnd=function(Ee){fe.onNodeDragEnd(Ee,null,!0),window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDragEnd=function(Ee,Me){var _e=fe.props.onDragEnd;fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),_e==null||_e({event:Ee,node:Object(I.b)(Me.props)}),fe.dragNode=null,window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDrop=function(Ee,Me){var _e,Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,et=fe.state,Xe=et.dragChildrenKeys,it=et.dropPosition,bt=et.dropTargetKey,Ct=et.dropTargetPos,Bt=et.dropAllowed;if(!!Bt){var qe=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),bt!==null){var st=Object(f.a)(Object(f.a)({},Object(I.g)(bt,fe.getTreeNodeRequiredProps())),{},{active:((_e=fe.getActiveItem())===null||_e===void 0?void 0:_e.key)===bt,data:fe.state.keyEntities[bt].node}),ut=Xe.indexOf(bt)!==-1;Object(l.a)(!ut,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var nt=Object(T.h)(Ct),kt={event:Ee,node:Object(I.b)(st),dragNode:fe.dragNode?Object(I.b)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(Xe),dropToGap:it!==0,dropPosition:it+Number(nt[nt.length-1])};Re||qe==null||qe(kt),fe.dragNode=null}}},fe.cleanDragState=function(){var Ee=fe.state.draggingNodeKey;Ee!==null&&fe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),fe.dragStartMousePosition=null,fe.currentMouseOverDroppableNodeKey=null},fe.triggerExpandActionExpand=function(Ee,Me){var _e=fe.state,Re=_e.expandedKeys,et=_e.flattenNodes,Xe=Me.expanded,it=Me.key,bt=Me.isLeaf;if(!(bt||Ee.shiftKey||Ee.metaKey||Ee.ctrlKey)){var Ct=et.filter(function(qe){return qe.key===it})[0],Bt=Object(I.b)(Object(f.a)(Object(f.a)({},Object(I.g)(it,fe.getTreeNodeRequiredProps())),{},{data:Ct.data}));fe.setExpandedKeys(Xe?Object(T.b)(Re,it):Object(T.a)(Re,it)),fe.onNodeExpand(Ee,Bt)}},fe.onNodeClick=function(Ee,Me){var _e=fe.props,Re=_e.onClick,et=_e.expandAction;et==="click"&&fe.triggerExpandActionExpand(Ee,Me),Re==null||Re(Ee,Me)},fe.onNodeDoubleClick=function(Ee,Me){var _e=fe.props,Re=_e.onDoubleClick,et=_e.expandAction;et==="doubleClick"&&fe.triggerExpandActionExpand(Ee,Me),Re==null||Re(Ee,Me)},fe.onNodeSelect=function(Ee,Me){var _e=fe.state.selectedKeys,Re=fe.state,et=Re.keyEntities,Xe=Re.fieldNames,it=fe.props,bt=it.onSelect,Ct=it.multiple,Bt=Me.selected,qe=Me[Xe.key],st=!Bt;st?Ct?_e=Object(T.a)(_e,qe):_e=[qe]:_e=Object(T.b)(_e,qe);var ut=_e.map(function(nt){var kt=et[nt];return kt?kt.node:null}).filter(function(nt){return nt});fe.setUncontrolledState({selectedKeys:_e}),bt==null||bt(_e,{event:"select",selected:st,node:Me,selectedNodes:ut,nativeEvent:Ee.nativeEvent})},fe.onNodeCheck=function(Ee,Me,_e){var Re=fe.state,et=Re.keyEntities,Xe=Re.checkedKeys,it=Re.halfCheckedKeys,bt=fe.props,Ct=bt.checkStrictly,Bt=bt.onCheck,qe=Me.key,st,ut={event:"check",node:Me,checked:_e,nativeEvent:Ee.nativeEvent};if(Ct){var nt=_e?Object(T.a)(Xe,qe):Object(T.b)(Xe,qe),kt=Object(T.b)(it,qe);st={checked:nt,halfChecked:kt},ut.checkedNodes=nt.map(function(nn){return et[nn]}).filter(function(nn){return nn}).map(function(nn){return nn.node}),fe.setUncontrolledState({checkedKeys:nt})}else{var Sn=Object(z.a)([].concat(Object(o.a)(Xe),[qe]),!0,et),Tt=Sn.checkedKeys,ht=Sn.halfCheckedKeys;if(!_e){var Rt=new Set(Tt);Rt.delete(qe);var Ft=Object(z.a)(Array.from(Rt),{checked:!1,halfCheckedKeys:ht},et);Tt=Ft.checkedKeys,ht=Ft.halfCheckedKeys}st=Tt,ut.checkedNodes=[],ut.checkedNodesPositions=[],ut.halfCheckedKeys=ht,Tt.forEach(function(nn){var bn=et[nn];if(!!bn){var sn=bn.node,un=bn.pos;ut.checkedNodes.push(sn),ut.checkedNodesPositions.push({node:sn,pos:un})}}),fe.setUncontrolledState({checkedKeys:Tt},!1,{halfCheckedKeys:ht})}Bt==null||Bt(st,ut)},fe.onNodeLoad=function(Ee){var Me=Ee.key,_e=new Promise(function(Re,et){fe.setState(function(Xe){var it=Xe.loadedKeys,bt=it===void 0?[]:it,Ct=Xe.loadingKeys,Bt=Ct===void 0?[]:Ct,qe=fe.props,st=qe.loadData,ut=qe.onLoad;if(!st||bt.indexOf(Me)!==-1||Bt.indexOf(Me)!==-1)return null;var nt=st(Ee);return nt.then(function(){var kt=fe.state.loadedKeys,Sn=Object(T.a)(kt,Me);ut==null||ut(Sn,{event:"load",node:Ee}),fe.setUncontrolledState({loadedKeys:Sn}),fe.setState(function(Tt){return{loadingKeys:Object(T.b)(Tt.loadingKeys,Me)}}),Re()}).catch(function(kt){if(fe.setState(function(Tt){return{loadingKeys:Object(T.b)(Tt.loadingKeys,Me)}}),fe.loadingRetryTimes[Me]=(fe.loadingRetryTimes[Me]||0)+1,fe.loadingRetryTimes[Me]>=X){var Sn=fe.state.loadedKeys;Object(l.a)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:Object(T.a)(Sn,Me)}),Re()}et(kt)}),{loadingKeys:Object(T.a)(Bt,Me)}})});return _e.catch(function(){}),_e},fe.onNodeMouseEnter=function(Ee,Me){var _e=fe.props.onMouseEnter;_e==null||_e({event:Ee,node:Me})},fe.onNodeMouseLeave=function(Ee,Me){var _e=fe.props.onMouseLeave;_e==null||_e({event:Ee,node:Me})},fe.onNodeContextMenu=function(Ee,Me){var _e=fe.props.onRightClick;_e&&(Ee.preventDefault(),_e({event:Ee,node:Me}))},fe.onFocus=function(){var Ee=fe.props.onFocus;fe.setState({focused:!0});for(var Me=arguments.length,_e=new Array(Me),Re=0;Re<Me;Re++)_e[Re]=arguments[Re];Ee==null||Ee.apply(void 0,_e)},fe.onBlur=function(){var Ee=fe.props.onBlur;fe.setState({focused:!1}),fe.onActiveChange(null);for(var Me=arguments.length,_e=new Array(Me),Re=0;Re<Me;Re++)_e[Re]=arguments[Re];Ee==null||Ee.apply(void 0,_e)},fe.getTreeNodeRequiredProps=function(){var Ee=fe.state,Me=Ee.expandedKeys,_e=Ee.selectedKeys,Re=Ee.loadedKeys,et=Ee.loadingKeys,Xe=Ee.checkedKeys,it=Ee.halfCheckedKeys,bt=Ee.dragOverNodeKey,Ct=Ee.dropPosition,Bt=Ee.keyEntities;return{expandedKeys:Me||[],selectedKeys:_e||[],loadedKeys:Re||[],loadingKeys:et||[],checkedKeys:Xe||[],halfCheckedKeys:it||[],dragOverNodeKey:bt,dropPosition:Ct,keyEntities:Bt}},fe.setExpandedKeys=function(Ee){var Me=fe.state,_e=Me.treeData,Re=Me.fieldNames,et=Object(I.e)(_e,Ee,Re);fe.setUncontrolledState({expandedKeys:Ee,flattenNodes:et},!0)},fe.onNodeExpand=function(Ee,Me){var _e=fe.state.expandedKeys,Re=fe.state,et=Re.listChanging,Xe=Re.fieldNames,it=fe.props,bt=it.onExpand,Ct=it.loadData,Bt=Me.expanded,qe=Me[Xe.key];if(!et){var st=_e.indexOf(qe),ut=!Bt;if(Object(l.a)(Bt&&st!==-1||!Bt&&st===-1,"Expand state not sync with index check"),ut?_e=Object(T.a)(_e,qe):_e=Object(T.b)(_e,qe),fe.setExpandedKeys(_e),bt==null||bt(_e,{node:Me,expanded:ut,nativeEvent:Ee.nativeEvent}),ut&&Ct){var nt=fe.onNodeLoad(Me);nt&&nt.then(function(){var kt=Object(I.e)(fe.state.treeData,_e,Xe);fe.setUncontrolledState({flattenNodes:kt})}).catch(function(){var kt=fe.state.expandedKeys,Sn=Object(T.b)(kt,qe);fe.setExpandedKeys(Sn)})}}},fe.onListChangeStart=function(){fe.setUncontrolledState({listChanging:!0})},fe.onListChangeEnd=function(){setTimeout(function(){fe.setUncontrolledState({listChanging:!1})})},fe.onActiveChange=function(Ee){var Me=fe.state.activeKey,_e=fe.props.onActiveChange;Me!==Ee&&(fe.setState({activeKey:Ee}),Ee!==null&&fe.scrollTo({key:Ee}),_e==null||_e(Ee))},fe.getActiveItem=function(){var Ee=fe.state,Me=Ee.activeKey,_e=Ee.flattenNodes;return Me===null?null:_e.find(function(Re){var et=Re.key;return et===Me})||null},fe.offsetActiveKey=function(Ee){var Me=fe.state,_e=Me.flattenNodes,Re=Me.activeKey,et=_e.findIndex(function(bt){var Ct=bt.key;return Ct===Re});et===-1&&Ee<0&&(et=_e.length),et=(et+Ee+_e.length)%_e.length;var Xe=_e[et];if(Xe){var it=Xe.key;fe.onActiveChange(it)}else fe.onActiveChange(null)},fe.onKeyDown=function(Ee){var Me=fe.state,_e=Me.activeKey,Re=Me.expandedKeys,et=Me.checkedKeys,Xe=Me.fieldNames,it=fe.props,bt=it.onKeyDown,Ct=it.checkable,Bt=it.selectable;switch(Ee.which){case t.a.UP:{fe.offsetActiveKey(-1),Ee.preventDefault();break}case t.a.DOWN:{fe.offsetActiveKey(1),Ee.preventDefault();break}}var qe=fe.getActiveItem();if(qe&&qe.data){var st=fe.getTreeNodeRequiredProps(),ut=qe.data.isLeaf===!1||!!(qe.data[Xe.children]||[]).length,nt=Object(I.b)(Object(f.a)(Object(f.a)({},Object(I.g)(_e,st)),{},{data:qe.data,active:!0}));switch(Ee.which){case t.a.LEFT:{ut&&Re.includes(_e)?fe.onNodeExpand({},nt):qe.parent&&fe.onActiveChange(qe.parent.key),Ee.preventDefault();break}case t.a.RIGHT:{ut&&!Re.includes(_e)?fe.onNodeExpand({},nt):qe.children&&qe.children.length&&fe.onActiveChange(qe.children[0].key),Ee.preventDefault();break}case t.a.ENTER:case t.a.SPACE:{Ct&&!nt.disabled&&nt.checkable!==!1&&!nt.disableCheckbox?fe.onNodeCheck({},nt,!et.includes(_e)):!Ct&&Bt&&!nt.disabled&&nt.selectable!==!1&&fe.onNodeSelect({},nt);break}}}bt==null||bt(Ee)},fe.setUncontrolledState=function(Ee){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Re=!1,et=!0,Xe={};Object.keys(Ee).forEach(function(it){if(it in fe.props){et=!1;return}Re=!0,Xe[it]=Ee[it]}),Re&&(!Me||et)&&fe.setState(Object(f.a)(Object(f.a)({},Xe),_e))}},fe.scrollTo=function(Ee){fe.listRef.current.scrollTo(Ee)},fe}return Object(a.a)(ft,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ie=this.props.activeKey;ie!==void 0&&ie!==this.state.activeKey&&(this.setState({activeKey:ie}),ie!==null&&this.scrollTo({key:ie}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var ie,ge=this.state,Ve=ge.focused,Ee=ge.flattenNodes,Me=ge.keyEntities,_e=ge.draggingNodeKey,Re=ge.activeKey,et=ge.dropLevelOffset,Xe=ge.dropContainerKey,it=ge.dropTargetKey,bt=ge.dropPosition,Ct=ge.dragOverNodeKey,Bt=ge.indent,qe=this.props,st=qe.prefixCls,ut=qe.className,nt=qe.style,kt=qe.showLine,Sn=qe.focusable,Tt=qe.tabIndex,ht=Tt===void 0?0:Tt,Rt=qe.selectable,Ft=qe.showIcon,nn=qe.icon,bn=qe.switcherIcon,sn=qe.draggable,un=qe.checkable,Ht=qe.checkStrictly,jn=qe.disabled,Ln=qe.motion,Un=qe.loadData,lt=qe.filterTreeNode,Nt=qe.height,zt=qe.itemHeight,en=qe.virtual,tn=qe.titleRender,wn=qe.dropIndicatorRender,on=qe.onContextMenu,vn=qe.onScroll,dt=qe.direction,ct=qe.rootClassName,Kt=qe.rootStyle,pn=Object(p.a)(this.props,{aria:!0,data:!0}),kn;return sn&&(Object(r.a)(sn)==="object"?kn=sn:typeof sn=="function"?kn={nodeDraggable:sn}:kn={}),h.createElement(k.a.Provider,{value:{prefixCls:st,selectable:Rt,showIcon:Ft,icon:nn,switcherIcon:bn,draggable:kn,draggingNodeKey:_e,checkable:un,checkStrictly:Ht,disabled:jn,keyEntities:Me,dropLevelOffset:et,dropContainerKey:Xe,dropTargetKey:it,dropPosition:bt,dragOverNodeKey:Ct,indent:Bt,direction:dt,dropIndicatorRender:wn,loadData:Un,filterTreeNode:lt,titleRender:tn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},h.createElement("div",{role:"tree",className:S()(st,ut,ct,(ie={},Object(c.a)(ie,"".concat(st,"-show-line"),kt),Object(c.a)(ie,"".concat(st,"-focused"),Ve),Object(c.a)(ie,"".concat(st,"-active-focused"),Re!==null),ie)),style:Kt},h.createElement(C,Object(u.a)({ref:this.listRef,prefixCls:st,style:nt,data:Ee,disabled:jn,selectable:Rt,checkable:!!un,motion:Ln,dragging:_e!==null,height:Nt,itemHeight:zt,virtual:en,focusable:Sn,focused:Ve,tabIndex:ht,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:on,onScroll:vn},this.getTreeNodeRequiredProps(),pn))))}}],[{key:"getDerivedStateFromProps",value:function(ie,ge){var Ve=ge.prevProps,Ee={prevProps:ie};function Me(Sn){return!Ve&&Sn in ie||Ve&&Ve[Sn]!==ie[Sn]}var _e,Re=ge.fieldNames;if(Me("fieldNames")&&(Re=Object(I.d)(ie.fieldNames),Ee.fieldNames=Re),Me("treeData")?_e=ie.treeData:Me("children")&&(Object(l.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),_e=Object(I.c)(ie.children)),_e){Ee.treeData=_e;var et=Object(I.a)(_e,{fieldNames:Re});Ee.keyEntities=Object(f.a)(Object(c.a)({},ne,be),et.keyEntities)}var Xe=Ee.keyEntities||ge.keyEntities;if(Me("expandedKeys")||Ve&&Me("autoExpandParent"))Ee.expandedKeys=ie.autoExpandParent||!Ve&&ie.defaultExpandParent?Object(T.e)(ie.expandedKeys,Xe):ie.expandedKeys;else if(!Ve&&ie.defaultExpandAll){var it=Object(f.a)({},Xe);delete it[ne],Ee.expandedKeys=Object.keys(it).map(function(Sn){return it[Sn].key})}else!Ve&&ie.defaultExpandedKeys&&(Ee.expandedKeys=ie.autoExpandParent||ie.defaultExpandParent?Object(T.e)(ie.defaultExpandedKeys,Xe):ie.defaultExpandedKeys);if(Ee.expandedKeys||delete Ee.expandedKeys,_e||Ee.expandedKeys){var bt=Object(I.e)(_e||ge.treeData,Ee.expandedKeys||ge.expandedKeys,Re);Ee.flattenNodes=bt}if(ie.selectable&&(Me("selectedKeys")?Ee.selectedKeys=Object(T.d)(ie.selectedKeys,ie):!Ve&&ie.defaultSelectedKeys&&(Ee.selectedKeys=Object(T.d)(ie.defaultSelectedKeys,ie))),ie.checkable){var Ct;if(Me("checkedKeys")?Ct=Object(T.g)(ie.checkedKeys)||{}:!Ve&&ie.defaultCheckedKeys?Ct=Object(T.g)(ie.defaultCheckedKeys)||{}:_e&&(Ct=Object(T.g)(ie.checkedKeys)||{checkedKeys:ge.checkedKeys,halfCheckedKeys:ge.halfCheckedKeys}),Ct){var Bt=Ct,qe=Bt.checkedKeys,st=qe===void 0?[]:qe,ut=Bt.halfCheckedKeys,nt=ut===void 0?[]:ut;if(!ie.checkStrictly){var kt=Object(z.a)(st,!0,Xe);st=kt.checkedKeys,nt=kt.halfCheckedKeys}Ee.checkedKeys=st,Ee.halfCheckedKeys=nt}}return Me("loadedKeys")&&(Ee.loadedKeys=ie.loadedKeys),Ee}}]),ft}(h.Component);pe.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:G,allowDrop:function(){return!0},expandAction:!1},pe.TreeNode=O.a;var ae=pe,Se=M.b=ae},fGT3:function(Ie,M,e){var u=e("4kuk"),c=e("Xi7e"),r=e("ebwN");function f(){this.size=0,this.__data__={hash:new u,map:new(r||c),string:new u}}Ie.exports=f},fOrg:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("YkAm"),f=e.n(r)},"fR/l":function(Ie,M,e){var u=e("CH3K"),c=e("Z0cm");function r(f,o,i){var a=o(f);return c(f)?a:u(a,i(f))}Ie.exports=r},"fWo+":function(Ie,M,e){},fdyd:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("oBTY"),c=e("tJVT"),r=e("EffR"),f=e("Vhoy"),o=new RegExp("(\\\\)?\\$\\((".concat(f.a.iconNameExpression,"(?:").concat(f.a.iconModifierExpression,")?)\\)"),"g");function i(n){for(var v=new Array,m,h=0,t=0;(m=o.exec(n))!==null;){t=m.index||0,v.push(n.substring(h,t)),h=(m.index||0)+m[0].length;var l=m,p=Object(c.a)(l,3),w=p[1],S=p[2];v.push(w?"$(".concat(S,")"):a({id:S}))}return h<n.length&&v.push(n.substring(h)),v}function a(n){var v,m=r.$("span");return(v=m.classList).add.apply(v,Object(u.a)(f.a.asClassNameArray(n))),m}},feEw:function(Ie,M,e){"use strict";e.d(M,"a",function(){return D}),e.d(M,"b",function(){return q});var u=e("rAM+"),c=e("oBTY"),r=e("fWQN"),f=e("mtLc"),o=e("qj0h"),i=e("pmY6"),a=e("pg8w"),n=e("MI8n"),v=e("4y0V"),m=e("GJhM"),h=e("QuOb"),t=e("nuFA");function l(oe,he){var ue=[],ne=Object(u.a)(he),se;try{for(ne.s();!(se=ne.n()).done;){var be=se.value;if(!(oe.start>=be.range.end)){if(oe.end<be.range.start)break;var Z=t.a.intersect(oe,be.range);t.a.isEmpty(Z)||ue.push({range:Z,size:be.size})}}}catch(ee){ne.e(ee)}finally{ne.f()}return ue}function p(oe,he){var ue=oe.start,ne=oe.end;return{start:ue+he,end:ne+he}}function w(oe){var he=[],ue=null,ne=Object(u.a)(oe),se;try{for(ne.s();!(se=ne.n()).done;){var be=se.value,Z=be.range.start,ee=be.range.end,ce=be.size;if(ue&&ce===ue.size){ue.range.end=ee;continue}ue={range:{start:Z,end:ee},size:ce},he.push(ue)}}catch(R){ne.e(R)}finally{ne.f()}return he}function S(){for(var oe=arguments.length,he=new Array(oe),ue=0;ue<oe;ue++)he[ue]=arguments[ue];return w(he.reduce(function(ne,se){return ne.concat(se)},[]))}var k=function(){function oe(){Object(r.a)(this,oe),this.groups=[],this._size=0}return Object(f.a)(oe,[{key:"splice",value:function(ue,ne){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],be=se.length-ne,Z=l({start:0,end:ue},this.groups),ee=l({start:ue+ne,end:Number.POSITIVE_INFINITY},this.groups).map(function(R){return{range:p(R.range,be),size:R.size}}),ce=se.map(function(R,y){return{range:{start:ue+y,end:ue+y+1},size:R.size}});this.groups=S(Z,ce,ee),this._size=this.groups.reduce(function(R,y){return R+y.size*(y.range.end-y.range.start)},0)}},{key:"count",get:function(){var ue=this.groups.length;return ue?this.groups[ue-1].range.end:0}},{key:"size",get:function(){return this._size}},{key:"indexAt",value:function(ue){if(ue<0)return-1;var ne=0,se=0,be=Object(u.a)(this.groups),Z;try{for(be.s();!(Z=be.n()).done;){var ee=Z.value,ce=ee.range.end-ee.range.start,R=se+ce*ee.size;if(ue<R)return ne+Math.floor((ue-se)/ee.size);ne+=ce,se=R}}catch(y){be.e(y)}finally{be.f()}return ne}},{key:"indexAfter",value:function(ue){return Math.min(this.indexAt(ue)+1,this.count)}},{key:"positionAt",value:function(ue){if(ue<0)return-1;var ne=0,se=0,be=Object(u.a)(this.groups),Z;try{for(be.s();!(Z=be.n()).done;){var ee=Z.value,ce=ee.range.end-ee.range.start,R=se+ce;if(ue<R)return ne+(ue-se)*ee.size;ne+=ce*ee.size,se=R}}catch(y){be.e(y)}finally{be.f()}return-1}}]),oe}(),T=e("EffR");function I(oe){try{oe.parentElement&&oe.parentElement.removeChild(oe)}catch(he){}}var Y=function(){function oe(he){Object(r.a)(this,oe),this.renderers=he,this.cache=new Map}return Object(f.a)(oe,[{key:"alloc",value:function(ue){var ne=this.getTemplateCache(ue).pop();if(!ne){var se=Object(T.$)(".monaco-list-row"),be=this.getRenderer(ue),Z=be.renderTemplate(se);ne={domNode:se,templateId:ue,templateData:Z}}return ne}},{key:"release",value:function(ue){!ue||this.releaseRow(ue)}},{key:"releaseRow",value:function(ue){var ne=ue.domNode,se=ue.templateId;ne&&(ne.classList.remove("scrolling"),I(ne));var be=this.getTemplateCache(se);be.push(ue)}},{key:"getTemplateCache",value:function(ue){var ne=this.cache.get(ue);return ne||(ne=[],this.cache.set(ue,ne)),ne}},{key:"dispose",value:function(){var ue=this;this.cache.forEach(function(ne,se){var be=Object(u.a)(ne),Z;try{for(be.s();!(Z=be.n()).done;){var ee=Z.value,ce=ue.getRenderer(se);ce.disposeTemplate(ee.templateData),ee.templateData=null}}catch(R){be.e(R)}finally{be.f()}}),this.cache.clear()}},{key:"getRenderer",value:function(ue){var ne=this.renderers.get(ue);if(!ne)throw new Error("No renderer found for ".concat(ue));return ne}}]),oe}(),$=e("ZCR3"),A=e("6OMU"),g=e("ZQ78"),b=e("X+cX"),d=e("D3Dy"),O=function(oe,he,ue,ne){var se=arguments.length,be=se<3?he:ne===null?ne=Object.getOwnPropertyDescriptor(he,ue):ne,Z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")be=Reflect.decorate(oe,he,ue,ne);else for(var ee=oe.length-1;ee>=0;ee--)(Z=oe[ee])&&(be=(se<3?Z(be):se>3?Z(he,ue,be):Z(he,ue))||be);return se>3&&be&&Object.defineProperty(he,ue,be),be},E={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:function(he){return[he]},getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0},D=function(){function oe(he){Object(r.a)(this,oe),this.elements=he}return Object(f.a)(oe,[{key:"update",value:function(){}},{key:"getData",value:function(){return this.elements}}]),oe}(),W=function(){function oe(he){Object(r.a)(this,oe),this.elements=he}return Object(f.a)(oe,[{key:"update",value:function(){}},{key:"getData",value:function(){return this.elements}}]),oe}(),te=function(){function oe(){Object(r.a)(this,oe),this.types=[],this.files=[]}return Object(f.a)(oe,[{key:"update",value:function(ue){if(ue.types){var ne;(ne=this.types).splice.apply(ne,[0,this.types.length].concat(Object(c.a)(ue.types)))}if(ue.files){this.files.splice(0,this.files.length);for(var se=0;se<ue.files.length;se++){var be=ue.files.item(se);be&&(be.size||be.type)&&this.files.push(be)}}}},{key:"getData",value:function(){return{types:this.types,files:this.files}}}]),oe}();function re(oe,he){return Array.isArray(oe)&&Array.isArray(he)?Object(A.g)(oe,he):oe===he}var ye=Object(f.a)(function oe(he){Object(r.a)(this,oe),(he==null?void 0:he.getSetSize)?this.getSetSize=he.getSetSize.bind(he):this.getSetSize=function(ue,ne,se){return se},(he==null?void 0:he.getPosInSet)?this.getPosInSet=he.getPosInSet.bind(he):this.getPosInSet=function(ue,ne){return ne+1},(he==null?void 0:he.getRole)?this.getRole=he.getRole.bind(he):this.getRole=function(ue){return"listitem"},(he==null?void 0:he.isChecked)?this.isChecked=he.isChecked.bind(he):this.isChecked=function(ue){}}),q=function(){function oe(he,ue,ne){var se=this,be=arguments.length>3&&arguments[3]!==void 0?arguments[3]:E;if(Object(r.a)(this,oe),this.virtualDelegate=ue,this.domId="list_id_".concat(++oe.InstanceCount),this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new b.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=i.a.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=i.a.None,this.onDragLeaveTimeout=i.a.None,this.disposables=new i.b,this._onDidChangeContentHeight=new n.a,this._horizontalScrolling=!1,be.horizontalScrolling&&be.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new k;var Z=Object(u.a)(ne),ee;try{for(Z.s();!(ee=Z.n()).done;){var ce=ee.value;this.renderers.set(ce.templateId,ce)}}catch(y){Z.e(y)}finally{Z.f()}this.cache=this.disposables.add(new Y(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support",typeof be.mouseSupport=="boolean"?be.mouseSupport:!0),this._horizontalScrolling=Object(o.e)(be,function(y){return y.horizontalScrolling},E.horizontalScrolling),this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=typeof be.additionalScrollHeight=="undefined"?0:be.additionalScrollHeight,this.accessibilityProvider=new ye(be.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows";var R=Object(o.e)(be,function(y){return y.transformOptimization},E.transformOptimization);R&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(a.b.addTarget(this.rowsContainer)),this.scrollable=new h.a(Object(o.e)(be,function(y){return y.smoothScrolling},!1)?125:0,function(y){return Object(T.scheduleAtNextAnimationFrame)(y)}),this.scrollableElement=this.disposables.add(new m.c(this.rowsContainer,{alwaysConsumeMouseWheel:Object(o.e)(be,function(y){return y.alwaysConsumeMouseWheel},E.alwaysConsumeMouseWheel),horizontal:1,vertical:Object(o.e)(be,function(y){return y.verticalScrollMode},E.verticalScrollMode),useShadows:Object(o.e)(be,function(y){return y.useShadows},E.useShadows)},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),he.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),Object(v.a)(this.rowsContainer,a.a.Change)(function(y){return se.onTouchChange(y)},this,this.disposables),Object(v.a)(this.scrollableElement.getDomNode(),"scroll")(function(y){return y.target.scrollTop=0},null,this.disposables),n.b.map(Object(v.a)(this.domNode,"dragover"),function(y){return se.toDragEvent(y)})(this.onDragOver,this,this.disposables),n.b.map(Object(v.a)(this.domNode,"drop"),function(y){return se.toDragEvent(y)})(this.onDrop,this,this.disposables),Object(v.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(v.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(o.e)(be,function(y){return y.setRowLineHeight},E.setRowLineHeight),this.setRowHeight=Object(o.e)(be,function(y){return y.setRowHeight},E.setRowHeight),this.supportDynamicHeights=Object(o.e)(be,function(y){return y.supportDynamicHeights},E.supportDynamicHeights),this.dnd=Object(o.e)(be,function(y){return y.dnd},E.dnd),this.layout()}return Object(f.a)(oe,[{key:"contentHeight",get:function(){return this.rangeMap.size}},{key:"horizontalScrolling",get:function(){return this._horizontalScrolling},set:function(ue){if(ue!==this._horizontalScrolling){if(ue&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=ue,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){var ne=Object(u.a)(this.items),se;try{for(ne.s();!(se=ne.n()).done;){var be=se.value;this.measureItemWidth(be)}}catch(Z){ne.e(Z)}finally{ne.f()}this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:Object(T.getContentWidth)(this.domNode)}),this.rowsContainer.style.width="".concat(Math.max(this.scrollWidth||0,this.renderWidth),"px")}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}},{key:"updateOptions",value:function(ue){ue.additionalScrollHeight!==void 0&&(this.additionalScrollHeight=ue.additionalScrollHeight,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),ue.smoothScrolling!==void 0&&this.scrollable.setSmoothScrollDuration(ue.smoothScrolling?125:0),ue.horizontalScrolling!==void 0&&(this.horizontalScrolling=ue.horizontalScrolling)}},{key:"splice",value:function(ue,ne){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(ue,ne,se)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}},{key:"_splice",value:function(ue,ne){for(var se=this,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Z=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),ee={start:ue,end:ue+ne},ce=t.a.intersect(Z,ee),R=new Map,y=ce.start;y<ce.end;y++){var C=this.items[y];if(C.dragStartDisposable.dispose(),C.row){var z=R.get(C.templateId);z||(z=[],R.set(C.templateId,z));var G=this.renderers.get(C.templateId);G&&G.disposeElement&&G.disposeElement(C.element,y,C.row.templateData,C.size),z.push(C.row)}C.row=null}var X={start:ue+ne,end:this.items.length},pe=t.a.intersect(X,Z),ae=t.a.relativeComplement(X,Z),Se=be.map(function(sn){return{id:String(se.itemId++),element:sn,templateId:se.virtualDelegate.getTemplateId(sn),size:se.virtualDelegate.getHeight(sn),width:void 0,hasDynamicHeight:!!se.virtualDelegate.hasDynamicHeight&&se.virtualDelegate.hasDynamicHeight(sn),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:i.a.None}}),Te;if(ue===0&&ne>=this.items.length)this.rangeMap=new k,this.rangeMap.splice(0,0,Se),Te=this.items,this.items=Se;else{var je;this.rangeMap.splice(ue,ne,Se),Te=(je=this.items).splice.apply(je,[ue,ne].concat(Object(c.a)(Se)))}for(var ft=be.length-ne,fe=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),ie=p(pe,ft),ge=t.a.intersect(fe,ie),Ve=ge.start;Ve<ge.end;Ve++)this.updateItemInDOM(this.items[Ve],Ve);var Ee=t.a.relativeComplement(ie,fe),Me=Object(u.a)(Ee),_e;try{for(Me.s();!(_e=Me.n()).done;)for(var Re=_e.value,et=Re.start;et<Re.end;et++)this.removeItemFromDOM(et)}catch(sn){Me.e(sn)}finally{Me.f()}var Xe=ae.map(function(sn){return p(sn,ft)}),it={start:ue,end:ue+be.length},bt=[it].concat(Object(c.a)(Xe)).map(function(sn){return t.a.intersect(fe,sn)}),Ct=this.getNextToLastElement(bt),Bt=Object(u.a)(bt),qe;try{for(Bt.s();!(qe=Bt.n()).done;)for(var st=qe.value,ut=st.start;ut<st.end;ut++){var nt=this.items[ut],kt=R.get(nt.templateId),Sn=kt==null?void 0:kt.pop();this.insertItemInDOM(ut,Ct,Sn)}}catch(sn){Bt.e(sn)}finally{Bt.f()}var Tt=Object(u.a)(R.values()),ht;try{for(Tt.s();!(ht=Tt.n()).done;){var Rt=ht.value,Ft=Object(u.a)(Rt),nn;try{for(Ft.s();!(nn=Ft.n()).done;){var bn=nn.value;this.cache.release(bn)}}catch(sn){Ft.e(sn)}finally{Ft.f()}}}catch(sn){Tt.e(sn)}finally{Tt.f()}return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),Te.map(function(sn){return sn.element})}},{key:"eventuallyUpdateScrollDimensions",value:function(){var ue=this;this._scrollHeight=this.contentHeight,this.rowsContainer.style.height="".concat(this._scrollHeight,"px"),this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=Object(T.scheduleAtNextAnimationFrame)(function(){ue.scrollableElement.setScrollDimensions({scrollHeight:ue.scrollHeight}),ue.updateScrollWidth(),ue.scrollableElementUpdateDisposable=null}))}},{key:"eventuallyUpdateScrollWidth",value:function(){var ue=this;if(!this.horizontalScrolling){this.scrollableElementWidthDelayer.cancel();return}this.scrollableElementWidthDelayer.trigger(function(){return ue.updateScrollWidth()})}},{key:"updateScrollWidth",value:function(){if(!!this.horizontalScrolling){var ue=0,ne=Object(u.a)(this.items),se;try{for(ne.s();!(se=ne.n()).done;){var be=se.value;typeof be.width!="undefined"&&(ue=Math.max(ue,be.width))}}catch(Z){ne.e(Z)}finally{ne.f()}this.scrollWidth=ue,this.scrollableElement.setScrollDimensions({scrollWidth:ue===0?0:ue+10})}}},{key:"rerender",value:function(){if(!!this.supportDynamicHeights){var ue=Object(u.a)(this.items),ne;try{for(ue.s();!(ne=ue.n()).done;){var se=ne.value;se.lastDynamicHeightWidth=void 0}}catch(be){ue.e(be)}finally{ue.f()}this._rerender(this.lastRenderTop,this.lastRenderHeight)}}},{key:"length",get:function(){return this.items.length}},{key:"renderHeight",get:function(){var ue=this.scrollableElement.getScrollDimensions();return ue.height}},{key:"element",value:function(ue){return this.items[ue].element}},{key:"domElement",value:function(ue){var ne=this.items[ue].row;return ne&&ne.domNode}},{key:"elementHeight",value:function(ue){return this.items[ue].size}},{key:"elementTop",value:function(ue){return this.rangeMap.positionAt(ue)}},{key:"indexAt",value:function(ue){return this.rangeMap.indexAt(ue)}},{key:"indexAfter",value:function(ue){return this.rangeMap.indexAfter(ue)}},{key:"layout",value:function(ue,ne){var se={height:typeof ue=="number"?ue:Object(T.getContentHeight)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,se.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(se),typeof ne!="undefined"&&(this.renderWidth=ne,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:typeof ne=="number"?ne:Object(T.getContentWidth)(this.domNode)})}},{key:"render",value:function(ue,ne,se,be,Z){var ee=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,ce=this.getRenderRange(ne,se),R=t.a.relativeComplement(ce,ue),y=t.a.relativeComplement(ue,ce),C=this.getNextToLastElement(R);if(ee)for(var z=t.a.intersect(ue,ce),G=z.start;G<z.end;G++)this.updateItemInDOM(this.items[G],G);var X=Object(u.a)(R),pe;try{for(X.s();!(pe=X.n()).done;)for(var ae=pe.value,Se=ae.start;Se<ae.end;Se++)this.insertItemInDOM(Se,C)}catch(ie){X.e(ie)}finally{X.f()}var Te=Object(u.a)(y),je;try{for(Te.s();!(je=Te.n()).done;)for(var ft=je.value,fe=ft.start;fe<ft.end;fe++)this.removeItemFromDOM(fe)}catch(ie){Te.e(ie)}finally{Te.f()}be!==void 0&&(this.rowsContainer.style.left="-".concat(be,"px")),this.rowsContainer.style.top="-".concat(ne,"px"),this.horizontalScrolling&&Z!==void 0&&(this.rowsContainer.style.width="".concat(Math.max(Z,this.renderWidth),"px")),this.lastRenderTop=ne,this.lastRenderHeight=se}},{key:"insertItemInDOM",value:function(ue,ne,se){var be=this,Z=this.items[ue];Z.row||(Z.row=se!=null?se:this.cache.alloc(Z.templateId));var ee=this.accessibilityProvider.getRole(Z.element)||"listitem";Z.row.domNode.setAttribute("role",ee);var ce=this.accessibilityProvider.isChecked(Z.element);typeof ce!="undefined"&&Z.row.domNode.setAttribute("aria-checked",String(!!ce)),Z.row.domNode.parentElement||(ne?this.rowsContainer.insertBefore(Z.row.domNode,ne):this.rowsContainer.appendChild(Z.row.domNode)),this.updateItemInDOM(Z,ue);var R=this.renderers.get(Z.templateId);if(!R)throw new Error("No renderer found for template id ".concat(Z.templateId));R&&R.renderElement(Z.element,ue,Z.row.templateData,Z.size);var y=this.dnd.getDragURI(Z.element);if(Z.dragStartDisposable.dispose(),Z.row.domNode.draggable=!!y,y){var C=Object(v.a)(Z.row.domNode,"dragstart");Z.dragStartDisposable=C(function(z){return be.onDragStart(Z.element,y,z)})}this.horizontalScrolling&&(this.measureItemWidth(Z),this.eventuallyUpdateScrollWidth())}},{key:"measureItemWidth",value:function(ue){if(!(!ue.row||!ue.row.domNode)){ue.row.domNode.style.width=d.g?"-moz-fit-content":"fit-content",ue.width=Object(T.getContentWidth)(ue.row.domNode);var ne=window.getComputedStyle(ue.row.domNode);ne.paddingLeft&&(ue.width+=parseFloat(ne.paddingLeft)),ne.paddingRight&&(ue.width+=parseFloat(ne.paddingRight)),ue.row.domNode.style.width=""}}},{key:"updateItemInDOM",value:function(ue,ne){ue.row.domNode.style.top="".concat(this.elementTop(ne),"px"),this.setRowHeight&&(ue.row.domNode.style.height="".concat(ue.size,"px")),this.setRowLineHeight&&(ue.row.domNode.style.lineHeight="".concat(ue.size,"px")),ue.row.domNode.setAttribute("data-index","".concat(ne)),ue.row.domNode.setAttribute("data-last-element",ne===this.length-1?"true":"false"),ue.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(ue.element,ne,this.length))),ue.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(ue.element,ne))),ue.row.domNode.setAttribute("id",this.getElementDomId(ne)),ue.row.domNode.classList.toggle("drop-target",ue.dropTarget)}},{key:"removeItemFromDOM",value:function(ue){var ne=this.items[ue];if(ne.dragStartDisposable.dispose(),ne.row){var se=this.renderers.get(ne.templateId);se&&se.disposeElement&&se.disposeElement(ne.element,ue,ne.row.templateData,ne.size),this.cache.release(ne.row),ne.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}},{key:"getScrollTop",value:function(){var ue=this.scrollableElement.getScrollPosition();return ue.scrollTop}},{key:"setScrollTop",value:function(ue,ne){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:ue,reuseAnimation:ne})}},{key:"scrollTop",get:function(){return this.getScrollTop()},set:function(ue){this.setScrollTop(ue)}},{key:"scrollHeight",get:function(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}},{key:"onMouseClick",get:function(){var ue=this;return n.b.map(Object(v.a)(this.domNode,"click"),function(ne){return ue.toMouseEvent(ne)})}},{key:"onMouseDblClick",get:function(){var ue=this;return n.b.map(Object(v.a)(this.domNode,"dblclick"),function(ne){return ue.toMouseEvent(ne)})}},{key:"onMouseMiddleClick",get:function(){var ue=this;return n.b.filter(n.b.map(Object(v.a)(this.domNode,"auxclick"),function(ne){return ue.toMouseEvent(ne)}),function(ne){return ne.browserEvent.button===1})}},{key:"onMouseDown",get:function(){var ue=this;return n.b.map(Object(v.a)(this.domNode,"mousedown"),function(ne){return ue.toMouseEvent(ne)})}},{key:"onContextMenu",get:function(){var ue=this;return n.b.map(Object(v.a)(this.domNode,"contextmenu"),function(ne){return ue.toMouseEvent(ne)})}},{key:"onTouchStart",get:function(){var ue=this;return n.b.map(Object(v.a)(this.domNode,"touchstart"),function(ne){return ue.toTouchEvent(ne)})}},{key:"onTap",get:function(){var ue=this;return n.b.map(Object(v.a)(this.rowsContainer,a.a.Tap),function(ne){return ue.toGestureEvent(ne)})}},{key:"toMouseEvent",value:function(ue){var ne=this.getItemIndexFromEventTarget(ue.target||null),se=typeof ne=="undefined"?void 0:this.items[ne],be=se&&se.element;return{browserEvent:ue,index:ne,element:be}}},{key:"toTouchEvent",value:function(ue){var ne=this.getItemIndexFromEventTarget(ue.target||null),se=typeof ne=="undefined"?void 0:this.items[ne],be=se&&se.element;return{browserEvent:ue,index:ne,element:be}}},{key:"toGestureEvent",value:function(ue){var ne=this.getItemIndexFromEventTarget(ue.initialTarget||null),se=typeof ne=="undefined"?void 0:this.items[ne],be=se&&se.element;return{browserEvent:ue,index:ne,element:be}}},{key:"toDragEvent",value:function(ue){var ne=this.getItemIndexFromEventTarget(ue.target||null),se=typeof ne=="undefined"?void 0:this.items[ne],be=se&&se.element;return{browserEvent:ue,index:ne,element:be}}},{key:"onScroll",value:function(ue){try{var ne=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(ne,ue.scrollTop,ue.height,ue.scrollLeft,ue.scrollWidth),this.supportDynamicHeights&&this._rerender(ue.scrollTop,ue.height,ue.inSmoothScrolling)}catch(se){throw console.error("Got bad scroll event:",ue),se}}},{key:"onTouchChange",value:function(ue){ue.preventDefault(),ue.stopPropagation(),this.scrollTop-=ue.translationY}},{key:"onDragStart",value:function(ue,ne,se){if(!!se.dataTransfer){var be=this.dnd.getDragElements(ue);if(se.dataTransfer.effectAllowed="copyMove",se.dataTransfer.setData(g.a.RESOURCES,JSON.stringify([ne])),se.dataTransfer.setDragImage){var Z;this.dnd.getDragLabel&&(Z=this.dnd.getDragLabel(be,se)),typeof Z=="undefined"&&(Z=String(be.length));var ee=Object(T.$)(".monaco-drag-image");ee.textContent=Z,document.body.appendChild(ee),se.dataTransfer.setDragImage(ee,-10,-10),setTimeout(function(){return document.body.removeChild(ee)},0)}this.currentDragData=new D(be),g.c.CurrentDragAndDropData=new W(be),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,se)}}},{key:"onDragOver",value:function(ue){var ne=this;if(ue.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),g.c.CurrentDragAndDropData&&g.c.CurrentDragAndDropData.getData()==="vscode-ui"||(this.setupDragAndDropScrollTopAnimation(ue.browserEvent),!ue.browserEvent.dataTransfer))return!1;if(!this.currentDragData)if(g.c.CurrentDragAndDropData)this.currentDragData=g.c.CurrentDragAndDropData;else{if(!ue.browserEvent.dataTransfer.types)return!1;this.currentDragData=new te}var se=this.dnd.onDragOver(this.currentDragData,ue.element,ue.index,ue.browserEvent);if(this.canDrop=typeof se=="boolean"?se:se.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;ue.browserEvent.dataTransfer.dropEffect=typeof se!="boolean"&&se.effect===0?"copy":"move";var be;if(typeof se!="boolean"&&se.feedback?be=se.feedback:typeof ue.index=="undefined"?be=[-1]:be=[ue.index],be=Object(A.e)(be).filter(function(y){return y>=-1&&y<ne.length}).sort(function(y,C){return y-C}),be=be[0]===-1?[-1]:be,re(this.currentDragFeedback,be))return!0;if(this.currentDragFeedback=be,this.currentDragFeedbackDisposable.dispose(),be[0]===-1)this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=Object(i.h)(function(){ne.domNode.classList.remove("drop-target"),ne.rowsContainer.classList.remove("drop-target")});else{var Z=Object(u.a)(be),ee;try{for(Z.s();!(ee=Z.n()).done;){var ce=ee.value,R=this.items[ce];R.dropTarget=!0,R.row&&R.row.domNode.classList.add("drop-target")}}catch(y){Z.e(y)}finally{Z.f()}this.currentDragFeedbackDisposable=Object(i.h)(function(){var y=Object(u.a)(be),C;try{for(y.s();!(C=y.n()).done;){var z=C.value,G=ne.items[z];G.dropTarget=!1,G.row&&G.row.domNode.classList.remove("drop-target")}}catch(X){y.e(X)}finally{y.f()}})}return!0}},{key:"onDragLeave",value:function(){var ue=this;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(b.i)(function(){return ue.clearDragOverFeedback()},100)}},{key:"onDrop",value:function(ue){if(!!this.canDrop){var ne=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,g.c.CurrentDragAndDropData=void 0,!(!ne||!ue.browserEvent.dataTransfer)&&(ue.browserEvent.preventDefault(),ne.update(ue.browserEvent.dataTransfer),this.dnd.drop(ne,ue.element,ue.index,ue.browserEvent))}}},{key:"onDragEnd",value:function(ue){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,g.c.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(ue)}},{key:"clearDragOverFeedback",value:function(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=i.a.None}},{key:"setupDragAndDropScrollTopAnimation",value:function(ue){var ne=this;if(!this.dragOverAnimationDisposable){var se=Object(T.getTopLeftOffset)(this.domNode).top;this.dragOverAnimationDisposable=Object(T.animate)(this.animateDragAndDropScrollTop.bind(this,se))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(b.i)(function(){ne.dragOverAnimationDisposable&&(ne.dragOverAnimationDisposable.dispose(),ne.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=ue.pageY}},{key:"animateDragAndDropScrollTop",value:function(ue){if(this.dragOverMouseY!==void 0){var ne=this.dragOverMouseY-ue,se=this.renderHeight-35;ne<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(ne-35))):ne>se&&(this.scrollTop+=Math.min(14,Math.floor(.3*(ne-se))))}}},{key:"teardownDragAndDropScrollTopAnimation",value:function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}},{key:"getItemIndexFromEventTarget",value:function(ue){for(var ne=this.scrollableElement.getDomNode(),se=ue;se instanceof HTMLElement&&se!==this.rowsContainer&&ne.contains(se);){var be=se.getAttribute("data-index");if(be){var Z=Number(be);if(!isNaN(Z))return Z}se=se.parentElement}}},{key:"getRenderRange",value:function(ue,ne){return{start:this.rangeMap.indexAt(ue),end:this.rangeMap.indexAfter(ue+ne-1)}}},{key:"_rerender",value:function(ue,ne,se){var be=this.getRenderRange(ue,ne),Z,ee;ue===this.elementTop(be.start)?(Z=be.start,ee=0):be.end-be.start>1&&(Z=be.start+1,ee=this.elementTop(Z)-ue);for(var ce=0;;){for(var R=this.getRenderRange(ue,ne),y=!1,C=R.start;C<R.end;C++){var z=this.probeDynamicHeight(C);z!==0&&this.rangeMap.splice(C,1,[this.items[C]]),ce+=z,y=y||z!==0}if(!y){ce!==0&&this.eventuallyUpdateScrollDimensions();var G=t.a.relativeComplement(be,R),X=Object(u.a)(G),pe;try{for(X.s();!(pe=X.n()).done;)for(var ae=pe.value,Se=ae.start;Se<ae.end;Se++)this.items[Se].row&&this.removeItemFromDOM(Se)}catch(et){X.e(et)}finally{X.f()}var Te=t.a.relativeComplement(R,be),je=Object(u.a)(Te),ft;try{for(je.s();!(ft=je.n()).done;)for(var fe=ft.value,ie=fe.start;ie<fe.end;ie++){var ge=ie+1,Ve=ge<this.items.length?this.items[ge].row:null,Ee=Ve?Ve.domNode:null;this.insertItemInDOM(ie,Ee)}}catch(et){je.e(et)}finally{je.f()}for(var Me=R.start;Me<R.end;Me++)this.items[Me].row&&this.updateItemInDOM(this.items[Me],Me);if(typeof Z=="number"){var _e=this.scrollable.getFutureScrollPosition().scrollTop-ue,Re=this.elementTop(Z)-ee+_e;this.setScrollTop(Re,se)}this._onDidChangeContentHeight.fire(this.contentHeight);return}}}},{key:"probeDynamicHeight",value:function(ue){var ne=this.items[ue];if(!ne.hasDynamicHeight||ne.lastDynamicHeightWidth===this.renderWidth||!!this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(ne.element))return 0;var se=ne.size;if(!this.setRowHeight&&ne.row){var be=ne.row.domNode.offsetHeight;return ne.size=be,ne.lastDynamicHeightWidth=this.renderWidth,be-se}var Z=this.cache.alloc(ne.templateId);Z.domNode.style.height="",this.rowsContainer.appendChild(Z.domNode);var ee=this.renderers.get(ne.templateId);return ee&&(ee.renderElement(ne.element,ue,Z.templateData,void 0),ee.disposeElement&&ee.disposeElement(ne.element,ue,Z.templateData,void 0)),ne.size=Z.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(ne.element,ne.size),ne.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(Z.domNode),this.cache.release(Z),ne.size-se}},{key:"getNextToLastElement",value:function(ue){var ne=ue[ue.length-1];if(!ne)return null;var se=this.items[ne.end];return!se||!se.row?null:se.row.domNode}},{key:"getElementDomId",value:function(ue){return"".concat(this.domId,"_").concat(ue)}},{key:"dispose",value:function(){if(this.items){var ue=Object(u.a)(this.items),ne;try{for(ue.s();!(ne=ue.n()).done;){var se=ne.value;if(se.row){var be=this.renderers.get(se.row.templateId);be&&(be.disposeElement&&be.disposeElement(se.element,-1,se.row.templateData,void 0),be.disposeTemplate(se.row.templateData))}}}catch(Z){ue.e(Z)}finally{ue.f()}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),Object(i.f)(this.disposables)}}]),oe}();q.InstanceCount=0,O([$.a],q.prototype,"onMouseClick",null),O([$.a],q.prototype,"onMouseDblClick",null),O([$.a],q.prototype,"onMouseMiddleClick",null),O([$.a],q.prototype,"onMouseDown",null),O([$.a],q.prototype,"onContextMenu",null),O([$.a],q.prototype,"onTouchStart",null),O([$.a],q.prototype,"onTap",null)},fjLI:function(Ie,M,e){"use strict";e.d(M,"f",function(){return Y}),e.d(M,"b",function(){return $}),e.d(M,"a",function(){return A}),e.d(M,"d",function(){return g}),e.d(M,"e",function(){return b}),e.d(M,"c",function(){return d});var u=e("tJVT"),c=e("yKVA"),r=e("879j"),f=e("oBTY"),o=e("rAM+"),i=e("mtLc"),a=e("fWQN"),n=e("8HAY"),v=e("Cg/j"),m=e("T8No"),h=e("nnTU"),t=e("pmY6"),l=e("MI8n"),p=e("t9D7"),w=e("JYp7"),S=e("24hK"),k=e("Vhoy"),T=function(O,E,D,W){var te=arguments.length,re=te<3?E:W===null?W=Object.getOwnPropertyDescriptor(E,D):W,ye;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(O,E,D,W);else for(var q=O.length-1;q>=0;q--)(ye=O[q])&&(re=(te<3?ye(re):te>3?ye(E,D,re):ye(E,D))||re);return te>3&&re&&Object.defineProperty(E,D,re),re},I=function(O,E){return function(D,W){E(D,W,O)}};function Y(O){return O.command!==void 0}var $=Object(i.a)(function O(E){Object(a.a)(this,O),this.id=O._idPool++,this._debugName=E});$._idPool=0,$.CommandPalette=new $("CommandPalette"),$.EditorContext=new $("EditorContext"),$.EditorContextCopy=new $("EditorContextCopy"),$.EditorContextPeek=new $("EditorContextPeek"),$.MenubarEditMenu=new $("MenubarEditMenu"),$.MenubarCopy=new $("MenubarCopy"),$.MenubarGoMenu=new $("MenubarGoMenu"),$.MenubarSelectionMenu=new $("MenubarSelectionMenu");var A=Object(v.c)("menuService"),g=new(function(){function O(){Object(a.a)(this,O),this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.a,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:function(D){return D===$.CommandPalette}}}return Object(i.a)(O,[{key:"addCommand",value:function(D){return this.addCommands(w.a.single(D))}},{key:"addCommands",value:function(D){var W=this,te=Object(o.a)(D),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value;this._commands.set(ye.id,ye)}}catch(q){te.e(q)}finally{te.f()}return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(t.h)(function(){var q=!1,oe=Object(o.a)(D),he;try{for(oe.s();!(he=oe.n()).done;){var ue=he.value;q=W._commands.delete(ue.id)||q}}catch(ne){oe.e(ne)}finally{oe.f()}q&&W._onDidChangeMenu.fire(W._commandPaletteChangeEvent)})}},{key:"getCommand",value:function(D){return this._commands.get(D)}},{key:"getCommands",value:function(){var D=new Map;return this._commands.forEach(function(W,te){return D.set(te,W)}),D}},{key:"appendMenuItem",value:function(D,W){return this.appendMenuItems(w.a.single({id:D,item:W}))}},{key:"appendMenuItems",value:function(D){var W=this,te=new Set,re=new S.a,ye=Object(o.a)(D),q;try{for(ye.s();!(q=ye.n()).done;){var oe=q.value,he=oe.id,ue=oe.item,ne=this._menuItems.get(he);ne||(ne=new S.a,this._menuItems.set(he,ne)),re.push(ne.push(ue)),te.add(he)}}catch(se){ye.e(se)}finally{ye.f()}return this._onDidChangeMenu.fire(te),Object(t.h)(function(){if(re.size>0){var se=Object(o.a)(re),be;try{for(se.s();!(be=se.n()).done;){var Z=be.value;Z()}}catch(ee){se.e(ee)}finally{se.f()}W._onDidChangeMenu.fire(te),re.clear()}})}},{key:"getMenuItems",value:function(D){var W;return this._menuItems.has(D)?W=Object(f.a)(this._menuItems.get(D)):W=[],D===$.CommandPalette&&this._appendImplicitItems(W),W}},{key:"_appendImplicitItems",value:function(D){var W=new Set,te=Object(o.a)(D),re;try{for(te.s();!(re=te.n()).done;){var ye=re.value;Y(ye)&&(W.add(ye.command.id),ye.alt&&W.add(ye.alt.id))}}catch(q){te.e(q)}finally{te.f()}this._commands.forEach(function(q,oe){W.has(oe)||D.push({command:q})})}}]),O}()),b=function(O){Object(c.a)(D,O);var E=Object(r.a)(D);function D(W,te,re,ye){var q;return Object(a.a)(this,D),q=E.call(this,"submenuitem.".concat(W.submenu.id),typeof W.title=="string"?W.title:W.title.value,[],"submenu"),q.item=W,q._menuService=te,q._contextKeyService=re,q._options=ye,q}return Object(i.a)(D,[{key:"actions",get:function(){var te=[],re=this._menuService.createMenu(this.item.submenu,this._contextKeyService),ye=re.getActions(this._options);re.dispose();var q=Object(o.a)(ye),oe;try{for(q.s();!(oe=q.n()).done;){var he=oe.value,ue=Object(u.a)(he,2),ne=ue[1];ne.length>0&&(te.push.apply(te,Object(f.a)(ne)),te.push(new n.d))}}catch(se){q.e(se)}finally{q.f()}return te.length&&te.pop(),te}}]),D}(n.e),d=function(){function O(E,D,W,te,re){Object(a.a)(this,O);var ye;if(this._commandService=re,this.id=E.id,this.label=typeof E.title=="string"?E.title:E.title.value,this.tooltip=(ye=E.tooltip)!==null&&ye!==void 0?ye:"",this.enabled=!E.precondition||te.contextMatchesRules(E.precondition),this.checked=!1,E.toggled){var q=E.toggled.condition?E.toggled:{condition:E.toggled};this.checked=te.contextMatchesRules(q.condition),this.checked&&q.tooltip&&(this.tooltip=typeof q.tooltip=="string"?q.tooltip:q.tooltip.value),q.title&&(this.label=typeof q.title=="string"?q.title:q.title.value)}this.item=E,this.alt=D?new O(D,void 0,W,te,re):void 0,this._options=W,p.d.isThemeIcon(E.icon)&&(this.class=k.a.asClassName(E.icon))}return Object(i.a)(O,[{key:"dispose",value:function(){}},{key:"run",value:function(){var D,W,te,re=[];if(((W=this._options)===null||W===void 0?void 0:W.arg)&&(re=[].concat(Object(f.a)(re),[this._options.arg])),(te=this._options)===null||te===void 0?void 0:te.shouldForwardArgs){for(var ye=arguments.length,q=new Array(ye),oe=0;oe<ye;oe++)q[oe]=arguments[oe];re=[].concat(Object(f.a)(re),q)}return(D=this._commandService).executeCommand.apply(D,[this.id].concat(Object(f.a)(re)))}}]),O}();d=T([I(3,m.b),I(4,h.b)],d)},fmRc:function(Ie,M,e){var u=e("Xi7e"),c=e("77Zs"),r=e("L8xA"),f=e("gCq4"),o=e("VaNO"),i=e("0Cz8");function a(n){var v=this.__data__=new u(n);this.size=v.size}a.prototype.clear=c,a.prototype.delete=r,a.prototype.get=f,a.prototype.has=o,a.prototype.set=i,Ie.exports=a},fpMC:function(Ie,M,e){"use strict";e.d(M,"j",function(){return r}),e.d(M,"h",function(){return f}),e.d(M,"f",function(){return i}),e.d(M,"i",function(){return d}),e.d(M,"g",function(){return re}),e.d(M,"b",function(){return ye}),e.d(M,"c",function(){return q}),e.d(M,"a",function(){return pe}),e.d(M,"d",function(){return ae}),e.d(M,"e",function(){return je});var u=e("QDVR"),c=e("N0LK");function r(){for(var ie=arguments.length,ge=new Array(ie),Ve=0;Ve<ie;Ve++)ge[Ve]=arguments[Ve];return function(Ee,Me){for(var _e=0,Re=ge.length;_e<Re;_e++){var et=ge[_e](Ee,Me);if(et)return et}return null}}var f=o.bind(void 0,!0);function o(ie,ge,Ve){if(!Ve||Ve.length<ge.length)return null;var Ee;return ie?Ee=c.R(Ve,ge):Ee=Ve.indexOf(ge)===0,Ee?ge.length>0?[{start:0,end:ge.length}]:[]:null}function i(ie,ge){var Ve=ge.toLowerCase().indexOf(ie.toLowerCase());return Ve===-1?null:[{start:Ve,end:Ve+ie.length}]}function a(ie,ge){return n(ie.toLowerCase(),ge.toLowerCase(),0,0)}function n(ie,ge,Ve,Ee){if(Ve===ie.length)return[];if(Ee===ge.length)return null;if(ie[Ve]===ge[Ee]){var Me=null;return(Me=n(ie,ge,Ve+1,Ee+1))?k({start:Ee,end:Ee+1},Me):null}return n(ie,ge,Ve,Ee+1)}function v(ie){return 97<=ie&&ie<=122}function m(ie){return 65<=ie&&ie<=90}function h(ie){return 48<=ie&&ie<=57}function t(ie){return ie===32||ie===9||ie===10||ie===13}var l=new Set;"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach(function(ie){return l.add(ie.charCodeAt(0))});function p(ie){return t(ie)||l.has(ie)}function w(ie,ge){return ie===ge||p(ie)&&p(ge)}function S(ie){return v(ie)||m(ie)||h(ie)}function k(ie,ge){return ge.length===0?ge=[ie]:ie.end===ge[0].start?ge[0].start=ie.start:ge.unshift(ie),ge}function T(ie,ge){for(var Ve=ge;Ve<ie.length;Ve++){var Ee=ie.charCodeAt(Ve);if(m(Ee)||h(Ee)||Ve>0&&!S(ie.charCodeAt(Ve-1)))return Ve}return ie.length}function I(ie,ge,Ve,Ee){if(Ve===ie.length)return[];if(Ee===ge.length)return null;if(ie[Ve]!==ge[Ee].toLowerCase())return null;var Me=null,_e=Ee+1;for(Me=I(ie,ge,Ve+1,Ee+1);!Me&&(_e=T(ge,_e))<ge.length;)Me=I(ie,ge,Ve+1,_e),_e++;return Me===null?null:k({start:Ee,end:Ee+1},Me)}function Y(ie){for(var ge=0,Ve=0,Ee=0,Me=0,_e=0,Re=0;Re<ie.length;Re++)_e=ie.charCodeAt(Re),m(_e)&&ge++,v(_e)&&Ve++,S(_e)&&Ee++,h(_e)&&Me++;var et=ge/ie.length,Xe=Ve/ie.length,it=Ee/ie.length,bt=Me/ie.length;return{upperPercent:et,lowerPercent:Xe,alphaPercent:it,numericPercent:bt}}function $(ie){var ge=ie.upperPercent,Ve=ie.lowerPercent;return Ve===0&&ge>.6}function A(ie){var ge=ie.upperPercent,Ve=ie.lowerPercent,Ee=ie.alphaPercent,Me=ie.numericPercent;return Ve>.2&&ge<.8&&Ee>.6&&Me<.2}function g(ie){for(var ge=0,Ve=0,Ee=0,Me=0,_e=0;_e<ie.length;_e++)Ee=ie.charCodeAt(_e),m(Ee)&&ge++,v(Ee)&&Ve++,t(Ee)&&Me++;return(ge===0||Ve===0)&&Me===0?ie.length<=30:ge<=5}function b(ie,ge){if(!ge||(ge=ge.trim(),ge.length===0)||!g(ie)||ge.length>60)return null;var Ve=Y(ge);if(!A(Ve)){if(!$(Ve))return null;ge=ge.toLowerCase()}var Ee=null,Me=0;for(ie=ie.toLowerCase();Me<ge.length&&(Ee=I(ie,ge,0,Me))===null;)Me=T(ge,Me+1);return Ee}function d(ie,ge){var Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!ge||ge.length===0)return null;var Ee=null,Me=0;for(ie=ie.toLowerCase(),ge=ge.toLowerCase();Me<ge.length&&(Ee=O(ie,ge,0,Me,Ve))===null;)Me=E(ge,Me+1);return Ee}function O(ie,ge,Ve,Ee,Me){if(Ve===ie.length)return[];if(Ee===ge.length)return null;if(w(ie.charCodeAt(Ve),ge.charCodeAt(Ee))){var _e=null,Re=Ee+1;if(_e=O(ie,ge,Ve+1,Ee+1,Me),!Me)for(;!_e&&(Re=E(ge,Re))<ge.length;)_e=O(ie,ge,Ve+1,Re,Me),Re++;return _e===null?null:k({start:Ee,end:Ee+1},_e)}else return null}function E(ie,ge){for(var Ve=ge;Ve<ie.length;Ve++)if(p(ie.charCodeAt(Ve))||Ve>0&&p(ie.charCodeAt(Ve-1)))return Ve;return ie.length}var D=r(f,b,i),W=r(f,b,a),te=new u.a(1e4);function re(ie,ge){var Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof ie!="string"||typeof ge!="string")return null;var Ee=te.get(ie);Ee||(Ee=new RegExp(c.p(ie),"i"),te.set(ie,Ee));var Me=Ee.exec(ge);return Me?[{start:Me.index,end:Me.index+Me[0].length}]:Ve?W(ie,ge):D(ie,ge)}function ye(ie,ge,Ve,Ee,Me,_e){for(var Re=Math.min(13,ie.length);Ve<Re;Ve++){var et=ae(ie,ge,Ve,Ee,Me,_e,!1);if(et)return et}return[0,_e]}function q(ie){if(typeof ie=="undefined")return[];for(var ge=[],Ve=ie[1],Ee=ie.length-1;Ee>1;Ee--){var Me=ie[Ee]+Ve,_e=ge[ge.length-1];_e&&_e.end===Me?_e.end=Me+1:ge.push({start:Me,end:Me+1})}return ge}var oe=128;function he(){for(var ie=[],ge=[],Ve=0;Ve<=oe;Ve++)ge[Ve]=0;for(var Ee=0;Ee<=oe;Ee++)ie.push(ge.slice(0));return ie}function ue(ie){for(var ge=[],Ve=0;Ve<=ie;Ve++)ge[Ve]=0;return ge}var ne=ue(2*oe),se=ue(2*oe),be=he(),Z=he(),ee=he(),ce=!1;function R(ie,ge,Ve,Ee,Me){function _e(Xe,it){for(var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:" ";Xe.length<it;)Xe=bt+Xe;return Xe}for(var Re=" | |".concat(Ee.split("").map(function(Xe){return _e(Xe,3)}).join("|"),`
- `),et=0;et<=Ve;et++)et===0?Re+=" |":Re+="".concat(ge[et-1],"|"),Re+=ie[et].slice(0,Me+1).map(function(Xe){return _e(Xe.toString(),3)}).join("|")+`
- `;return Re}function y(ie,ge,Ve,Ee){ie=ie.substr(ge),Ve=Ve.substr(Ee),console.log(R(Z,ie,ie.length,Ve,Ve.length)),console.log(R(ee,ie,ie.length,Ve,Ve.length)),console.log(R(be,ie,ie.length,Ve,Ve.length))}function C(ie,ge){if(ge<0||ge>=ie.length)return!1;var Ve=ie.codePointAt(ge);switch(Ve){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 40:case 91:return!0;case void 0:return!1;default:return!!c.B(Ve)}}function z(ie,ge){if(ge<0||ge>=ie.length)return!1;var Ve=ie.charCodeAt(ge);switch(Ve){case 32:case 9:return!0;default:return!1}}function G(ie,ge,Ve){return ge[ie]!==Ve[ie]}function X(ie,ge,Ve,Ee,Me,_e){for(var Re=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;ge<Ve&&Me<_e;)ie[ge]===Ee[Me]&&(Re&&(ne[ge]=Me),ge+=1),Me+=1;return ge===Ve}var pe;(function(ie){ie.Default=[-100,0];function ge(Ve){return!Ve||Ve.length===2&&Ve[0]===-100&&Ve[1]===0}ie.isDefault=ge})(pe||(pe={}));function ae(ie,ge,Ve,Ee,Me,_e,Re){var et=ie.length>oe?oe:ie.length,Xe=Ee.length>oe?oe:Ee.length;if(!(Ve>=et||_e>=Xe||et-Ve>Xe-_e)&&!!X(ge,Ve,et,Me,_e,Xe,!0)){Se(et,Xe,Ve,_e,ge,Me);var it=1,bt=1,Ct=Ve,Bt=_e,qe=[!1];for(it=1,Ct=Ve;Ct<et;it++,Ct++){var st=ne[Ct],ut=se[Ct],nt=Ct+1<et?se[Ct+1]:Xe;for(bt=st-_e+1,Bt=st;Bt<nt;bt++,Bt++){var kt=Number.MIN_SAFE_INTEGER,Sn=!1;Bt<=ut&&(kt=Te(ie,ge,Ct,Ve,Ee,Me,Bt,Xe,_e,be[it-1][bt-1]===0,qe));var Tt=0;kt!==Number.MAX_SAFE_INTEGER&&(Sn=!0,Tt=kt+Z[it-1][bt-1]);var ht=Bt>st,Rt=ht?Z[it][bt-1]+(be[it][bt-1]>0?-5:0):0,Ft=Bt>st+1&&be[it][bt-1]>0,nn=Ft?Z[it][bt-2]+(be[it][bt-2]>0?-5:0):0;if(Ft&&(!ht||nn>=Rt)&&(!Sn||nn>=Tt))Z[it][bt]=nn,ee[it][bt]=3,be[it][bt]=0;else if(ht&&(!Sn||Rt>=Tt))Z[it][bt]=Rt,ee[it][bt]=2,be[it][bt]=0;else if(Sn)Z[it][bt]=Tt,ee[it][bt]=1,be[it][bt]=be[it-1][bt-1]+1;else throw new Error("not possible")}}if(ce&&y(ie,Ve,Ee,_e),!(!qe[0]&&!Re)){it--,bt--;for(var bn=[Z[it][bt],_e],sn=0,un=0;it>=1;){var Ht=bt;do{var jn=ee[it][Ht];if(jn===3)Ht=Ht-2;else if(jn===2)Ht=Ht-1;else break}while(Ht>=1);sn>1&&ge[Ve+it-1]===Me[_e+bt-1]&&!G(Ht+_e-1,Ee,Me)&&sn+1>be[it][Ht]&&(Ht=bt),Ht===bt?sn++:sn=1,un||(un=Ht),it--,bt=Ht-1,bn.push(bt)}Xe===et&&(bn[0]+=2);var Ln=un-et;return bn[0]-=Ln,bn}}}function Se(ie,ge,Ve,Ee,Me,_e){for(var Re=ie-1,et=ge-1;Re>=Ve&&et>=Ee;)Me[Re]===_e[et]&&(se[Re]=et,Re--),et--}function Te(ie,ge,Ve,Ee,Me,_e,Re,et,Xe,it,bt){if(ge[Ve]!==_e[Re])return Number.MIN_SAFE_INTEGER;var Ct=1,Bt=!1;return Re===Ve-Ee?Ct=ie[Ve]===Me[Re]?7:5:G(Re,Me,_e)&&(Re===0||!G(Re-1,Me,_e))?(Ct=ie[Ve]===Me[Re]?7:5,Bt=!0):C(_e,Re)&&(Re===0||!C(_e,Re-1))?Ct=5:(C(_e,Re-1)||z(_e,Re-1))&&(Ct=5,Bt=!0),Ct>1&&Ve===Ee&&(bt[0]=!0),Bt||(Bt=G(Re,Me,_e)||C(_e,Re-1)||z(_e,Re-1)),Ve===Ee?Re>Xe&&(Ct-=Bt?3:5):it?Ct+=Bt?2:0:Ct+=Bt?0:1,Re+1===et&&(Ct-=Bt?3:5),Ct}function je(ie,ge,Ve,Ee,Me,_e,Re){return ft(ie,ge,Ve,Ee,Me,_e,!0,Re)}function ft(ie,ge,Ve,Ee,Me,_e,Re,et){var Xe=ae(ie,ge,Ve,Ee,Me,_e,et);if(Xe&&!Re)return Xe;if(ie.length>=3)for(var it=Math.min(7,ie.length-1),bt=Ve+1;bt<it;bt++){var Ct=fe(ie,bt);if(Ct){var Bt=ae(Ct,Ct.toLowerCase(),Ve,Ee,Me,_e,et);Bt&&(Bt[0]-=3,(!Xe||Bt[0]>Xe[0])&&(Xe=Bt))}}return Xe}function fe(ie,ge){if(!(ge+1>=ie.length)){var Ve=ie[ge],Ee=ie[ge+1];if(Ve!==Ee)return ie.slice(0,ge)+Ee+Ve+ie.slice(ge+2)}}},ft2k:function(Ie,M,e){"use strict";var u=e("q1tI"),c=e.n(u),r=function(o){var i=Object(u.useRef)();return Object(u.useEffect)(function(){i.current=o}),i.current};M.a=r},ftKO:function(Ie,M){var e="__lodash_hash_undefined__";function u(c){return this.__data__.set(c,e),this}Ie.exports=u},fxyS:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("tU7J"),c=e("wFql"),r=e("nKUr"),f=e.n(r),o=function(n){var v;return!!((n==null||(v=n.valueType)===null||v===void 0?void 0:v.toString().startsWith("date"))||(n==null?void 0:n.valueType)==="select"||(n==null?void 0:n.valueEnum))},i=function(n,v,m){if(v.copyable||v.ellipsis){var h=v.copyable&&m?{text:m,tooltips:["",""]}:void 0,t=o(v),l=v.ellipsis&&m?{tooltip:t?Object(r.jsx)("div",{className:"pro-table-tooltip-text",children:n}):m}:!1;return Object(r.jsx)(c.a.Text,{style:{width:"100%",margin:0,padding:0},title:"",copyable:h,ellipsis:l,children:n})}return n}},fyJ8:function(Ie,M,e){"use strict";var u=e("wx14"),c=e("rePB"),r=e("VTBJ"),f=e("Ff2n"),o=e("ODXe"),i=e("U8pU"),a=e("q1tI"),n=e.n(a),v=e("TSYQ"),m=e.n(v),h=e("Gytx"),t=e.n(h),l=e("c+Xe"),p=e("sR1s"),w=e("yT/2"),S=e("JZKZ"),k=e("gKgp"),T=e("Kwbf"),I=e("oEjn"),Y=e("pWRy"),$=["colSpan","rowSpan","style","className"];function A(re,ye,q,oe){var he=re+ye-1;return re<=oe&&he>=q}function g(re){return re&&Object(i.a)(re)==="object"&&!Array.isArray(re)&&!a.isValidElement(re)}function b(re){return typeof re=="string"?!0:Object(l.c)(re)}var d=function(ye){var q=ye.ellipsis,oe=ye.rowType,he=ye.children,ue,ne=q===!0?{showTitle:!0}:q;return ne&&(ne.showTitle||oe==="header")&&(typeof he=="string"||typeof he=="number"?ue=he.toString():a.isValidElement(he)&&typeof he.props.children=="string"&&(ue=he.props.children)),ue};function O(re,ye){var q,oe,he,ue=re.prefixCls,ne=re.className,se=re.record,be=re.index,Z=re.renderIndex,ee=re.dataIndex,ce=re.render,R=re.children,y=re.component,C=y===void 0?"td":y,z=re.colSpan,G=re.rowSpan,X=re.fixLeft,pe=re.fixRight,ae=re.firstFixLeft,Se=re.lastFixLeft,Te=re.firstFixRight,je=re.lastFixRight,ft=re.appendNode,fe=re.additionalProps,ie=fe===void 0?{}:fe,ge=re.ellipsis,Ve=re.align,Ee=re.rowType,Me=re.isSticky,_e=re.hovering,Re=re.onHover,et="".concat(ue,"-cell"),Xe=a.useContext(I.a),it=a.useContext(w.a),bt=a.useContext(k.a),Ct=bt.allColumnsFixedLeft,Bt=a.useMemo(function(){if(Object(p.c)(R))return[R];var zt=Object(p.b)(se,ee),en=zt,tn=void 0;if(ce){var wn=ce(zt,se,Z);g(wn)?(en=wn.children,tn=wn.props,Xe.renderWithProps=!0):en=wn}return[en,tn]},[Xe.renderWithProps?Math.random():0,R,ee,Xe,se,ce,Z]),qe=Object(o.a)(Bt,2),st=qe[0],ut=qe[1],nt=st;Object(i.a)(nt)==="object"&&!Array.isArray(nt)&&!a.isValidElement(nt)&&(nt=null),ge&&(Se||Te)&&(nt=a.createElement("span",{className:"".concat(et,"-content")},nt));var kt=ut||{},Sn=kt.colSpan,Tt=kt.rowSpan,ht=kt.style,Rt=kt.className,Ft=Object(f.a)(kt,$),nn=(q=Sn!==void 0?Sn:z)!==null&&q!==void 0?q:1,bn=(oe=Tt!==void 0?Tt:G)!==null&&oe!==void 0?oe:1;if(nn===0||bn===0)return null;var sn={},un=typeof X=="number"&&it,Ht=typeof pe=="number"&⁢un&&(sn.position="sticky",sn.left=X),Ht&&(sn.position="sticky",sn.right=pe);var jn={};Ve&&(jn.textAlign=Ve);var Ln=function(en){var tn;se&&Re(be,be+bn-1),ie==null||(tn=ie.onMouseEnter)===null||tn===void 0||tn.call(ie,en)},Un=function(en){var tn;se&&Re(-1,-1),ie==null||(tn=ie.onMouseLeave)===null||tn===void 0||tn.call(ie,en)},lt=d({rowType:Ee,ellipsis:ge,children:st}),Nt=Object(r.a)(Object(r.a)(Object(r.a)({title:lt},Ft),ie),{},{colSpan:nn!==1?nn:null,rowSpan:bn!==1?bn:null,className:m()(et,ne,(he={},Object(c.a)(he,"".concat(et,"-fix-left"),un&&it),Object(c.a)(he,"".concat(et,"-fix-left-first"),ae&&it),Object(c.a)(he,"".concat(et,"-fix-left-last"),Se&&it),Object(c.a)(he,"".concat(et,"-fix-left-all"),Se&&Ct&&it),Object(c.a)(he,"".concat(et,"-fix-right"),Ht&&it),Object(c.a)(he,"".concat(et,"-fix-right-first"),Te&&it),Object(c.a)(he,"".concat(et,"-fix-right-last"),je&&it),Object(c.a)(he,"".concat(et,"-ellipsis"),ge),Object(c.a)(he,"".concat(et,"-with-append"),ft),Object(c.a)(he,"".concat(et,"-fix-sticky"),(un||Ht)&&Me&&it),Object(c.a)(he,"".concat(et,"-row-hover"),!ut&&_e),he),ie.className,Rt),style:Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},ie.style),jn),sn),ht),onMouseEnter:Ln,onMouseLeave:Un,ref:b(C)?ye:null});return a.createElement(C,Nt,ft,nt)}var E=a.forwardRef(O);E.displayName="Cell";var D=["expanded","className","hovering"],W=a.memo(E,function(re,ye){return ye.shouldCellUpdate?D.every(function(q){return re[q]===ye[q]})&&!ye.shouldCellUpdate(ye.record,re.record):t()(re,ye)}),te=a.forwardRef(function(re,ye){var q=re.index,oe=re.additionalProps,he=oe===void 0?{}:oe,ue=re.colSpan,ne=re.rowSpan,se=he.colSpan,be=he.rowSpan,Z=ue!=null?ue:se,ee=ne!=null?ne:be,ce=Object(Y.b)(S.a,function(C){var z=A(q,ee||1,C==null?void 0:C.startRow,C==null?void 0:C.endRow);return{onHover:C==null?void 0:C.onHover,hovering:z}}),R=ce.onHover,y=ce.hovering;return a.createElement(W,Object(u.a)({},re,{colSpan:Z,rowSpan:ee,hovering:y,ref:ye,onHover:R}))});te.displayName="WrappedCell",M.a=te},fyUT:function(Ie,M,e){"use strict";var u=e("wx14"),c=e("rePB"),r=e("U8pU"),f=e("ODXe"),o=e("8Skl"),i=e("VTBJ"),a=e("q1tI"),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},v=n,m=e("6VBw"),h=function(ge,Ve){return a.createElement(m.a,Object(i.a)(Object(i.a)({},ge),{},{ref:Ve,icon:v}))};h.displayName="UpOutlined";var t=a.forwardRef(h),l=e("TSYQ"),p=e.n(l),w=e("Ff2n"),S=e("4IlW"),k=e("TNol"),T=e("c+Xe"),I=e("1OyB"),Y=e("vuIU");function $(){return typeof BigInt=="function"}function A(ie){var ge=ie.trim(),Ve=ge.startsWith("-");Ve&&(ge=ge.slice(1)),ge=ge.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),ge.startsWith(".")&&(ge="0".concat(ge));var Ee=ge||"0",Me=Ee.split("."),_e=Me[0]||"0",Re=Me[1]||"0";_e==="0"&&Re==="0"&&(Ve=!1);var et=Ve?"-":"";return{negative:Ve,negativeStr:et,trimStr:Ee,integerStr:_e,decimalStr:Re,fullStr:"".concat(et).concat(Ee)}}function g(ie){var ge=String(ie);return!Number.isNaN(Number(ge))&&ge.includes("e")}function b(ie){var ge=String(ie);if(g(ie)){var Ve=Number(ge.slice(ge.indexOf("e-")+2)),Ee=ge.match(/\.(\d+)/);return(Ee==null?void 0:Ee[1])&&(Ve+=Ee[1].length),Ve}return ge.includes(".")&&O(ge)?ge.length-ge.indexOf(".")-1:0}function d(ie){var ge=String(ie);if(g(ie)){if(ie>Number.MAX_SAFE_INTEGER)return String($()?BigInt(ie).toString():Number.MAX_SAFE_INTEGER);if(ie<Number.MIN_SAFE_INTEGER)return String($()?BigInt(ie).toString():Number.MIN_SAFE_INTEGER);ge=ie.toFixed(b(ge))}return A(ge).fullStr}function O(ie){return typeof ie=="number"?!Number.isNaN(ie):ie?/^\s*-?\d+(\.\d+)?\s*$/.test(ie)||/^\s*-?\d+\.\s*$/.test(ie)||/^\s*-?\.\d+\s*$/.test(ie):!1}function E(ie){var ge=typeof ie=="number"?d(ie):A(ie).fullStr,Ve=ge.includes(".");return Ve?A(ge.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:ie+"0"}var D=function(){function ie(ge){if(Object(I.a)(this,ie),this.origin="",this.number=void 0,this.empty=void 0,!ge&&ge!==0||!String(ge).trim()){this.empty=!0;return}this.origin=String(ge),this.number=Number(ge)}return Object(Y.a)(ie,[{key:"negate",value:function(){return new ie(-this.toNumber())}},{key:"add",value:function(Ve){if(this.isInvalidate())return new ie(Ve);var Ee=Number(Ve);if(Number.isNaN(Ee))return this;var Me=this.number+Ee;if(Me>Number.MAX_SAFE_INTEGER)return new ie(Number.MAX_SAFE_INTEGER);if(Me<Number.MIN_SAFE_INTEGER)return new ie(Number.MIN_SAFE_INTEGER);var _e=Math.max(b(this.number),b(Ee));return new ie(Me.toFixed(_e))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Ve){return this.toNumber()===(Ve==null?void 0:Ve.toNumber())}},{key:"lessEquals",value:function(Ve){return this.add(Ve.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Ve?this.isInvalidate()?"":d(this.number):this.origin}}]),ie}(),W=function(){function ie(ge){if(Object(I.a)(this,ie),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,!ge&&ge!==0||!String(ge).trim()){this.empty=!0;return}if(this.origin=String(ge),ge==="-"){this.nan=!0;return}var Ve=ge;if(g(Ve)&&(Ve=Number(Ve)),Ve=typeof Ve=="string"?Ve:d(Ve),O(Ve)){var Ee=A(Ve);this.negative=Ee.negative;var Me=Ee.trimStr.split(".");this.integer=BigInt(Me[0]);var _e=Me[1]||"0";this.decimal=BigInt(_e),this.decimalLen=_e.length}else this.nan=!0}return Object(Y.a)(ie,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Ve){var Ee="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Ve,"0"));return BigInt(Ee)}},{key:"negate",value:function(){var Ve=new ie(this.toString());return Ve.negative=!Ve.negative,Ve}},{key:"add",value:function(Ve){if(this.isInvalidate())return new ie(Ve);var Ee=new ie(Ve);if(Ee.isInvalidate())return this;var Me=Math.max(this.getDecimalStr().length,Ee.getDecimalStr().length),_e=this.alignDecimal(Me),Re=Ee.alignDecimal(Me),et=(_e+Re).toString(),Xe=A(et),it=Xe.negativeStr,bt=Xe.trimStr,Ct="".concat(it).concat(bt.padStart(Me+1,"0"));return new ie("".concat(Ct.slice(0,-Me),".").concat(Ct.slice(-Me)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Ve){return this.toString()===(Ve==null?void 0:Ve.toString())}},{key:"lessEquals",value:function(Ve){return this.add(Ve.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Ve?this.isInvalidate()?"":A("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),ie}();function te(ie){return $()?new W(ie):new D(ie)}function re(ie,ge,Ve){var Ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(ie==="")return"";var Me=A(ie),_e=Me.negativeStr,Re=Me.integerStr,et=Me.decimalStr,Xe="".concat(ge).concat(et),it="".concat(_e).concat(Re);if(Ve>=0){var bt=Number(et[Ve]);if(bt>=5&&!Ee){var Ct=te(ie).add("".concat(_e,"0.").concat("0".repeat(Ve)).concat(10-bt));return re(Ct.toString(),ge,Ve,Ee)}return Ve===0?it:"".concat(it).concat(ge).concat(et.padEnd(Ve,"0").slice(0,Ve))}return Xe===".0"?it:"".concat(it).concat(Xe)}var ye=e("5Z9U"),q=200,oe=600;function he(ie){var ge=ie.prefixCls,Ve=ie.upNode,Ee=ie.downNode,Me=ie.upDisabled,_e=ie.downDisabled,Re=ie.onStep,et=a.useRef(),Xe=a.useRef();Xe.current=Re;var it=function(nt,kt){nt.preventDefault(),Xe.current(kt);function Sn(){Xe.current(kt),et.current=setTimeout(Sn,q)}et.current=setTimeout(Sn,oe)},bt=function(){clearTimeout(et.current)};if(a.useEffect(function(){return bt},[]),Object(ye.a)())return null;var Ct="".concat(ge,"-handler"),Bt=p()(Ct,"".concat(Ct,"-up"),Object(c.a)({},"".concat(Ct,"-up-disabled"),Me)),qe=p()(Ct,"".concat(Ct,"-down"),Object(c.a)({},"".concat(Ct,"-down-disabled"),_e)),st={unselectable:"on",role:"button",onMouseUp:bt,onMouseLeave:bt};return a.createElement("div",{className:"".concat(Ct,"-wrap")},a.createElement("span",Object(u.a)({},st,{onMouseDown:function(nt){it(nt,!0)},"aria-label":"Increase Value","aria-disabled":Me,className:Bt}),Ve||a.createElement("span",{unselectable:"on",className:"".concat(ge,"-handler-up-inner")})),a.createElement("span",Object(u.a)({},st,{onMouseDown:function(nt){it(nt,!1)},"aria-label":"Decrease Value","aria-disabled":_e,className:qe}),Ee||a.createElement("span",{unselectable:"on",className:"".concat(ge,"-handler-down-inner")})))}var ue=e("Kwbf");function ne(ie,ge){var Ve=Object(a.useRef)(null);function Ee(){try{var _e=ie.selectionStart,Re=ie.selectionEnd,et=ie.value,Xe=et.substring(0,_e),it=et.substring(Re);Ve.current={start:_e,end:Re,value:et,beforeTxt:Xe,afterTxt:it}}catch(bt){}}function Me(){if(ie&&Ve.current&&ge)try{var _e=ie.value,Re=Ve.current,et=Re.beforeTxt,Xe=Re.afterTxt,it=Re.start,bt=_e.length;if(_e.endsWith(Xe))bt=_e.length-Ve.current.afterTxt.length;else if(_e.startsWith(et))bt=et.length;else{var Ct=et[it-1],Bt=_e.indexOf(Ct,it-1);Bt!==-1&&(bt=Bt+1)}ie.setSelectionRange(bt,bt)}catch(qe){Object(ue.a)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(qe.message))}}return[Ee,Me]}var se=e("wgJM"),be=function(){var ie=Object(a.useRef)(0),ge=function(){se.a.cancel(ie.current)};return Object(a.useEffect)(function(){return ge},[]),function(Ve){ge(),ie.current=Object(se.a)(function(){Ve()})}},Z=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],ee=function(ge,Ve){return ge||Ve.isEmpty()?Ve.toString():Ve.toNumber()},ce=function(ge){var Ve=te(ge);return Ve.isInvalidate()?null:Ve},R=a.forwardRef(function(ie,ge){var Ve,Ee=ie.prefixCls,Me=Ee===void 0?"rc-input-number":Ee,_e=ie.className,Re=ie.style,et=ie.min,Xe=ie.max,it=ie.step,bt=it===void 0?1:it,Ct=ie.defaultValue,Bt=ie.value,qe=ie.disabled,st=ie.readOnly,ut=ie.upHandler,nt=ie.downHandler,kt=ie.keyboard,Sn=ie.controls,Tt=Sn===void 0?!0:Sn,ht=ie.stringMode,Rt=ie.parser,Ft=ie.formatter,nn=ie.precision,bn=ie.decimalSeparator,sn=ie.onChange,un=ie.onInput,Ht=ie.onPressEnter,jn=ie.onStep,Ln=Object(w.a)(ie,Z),Un="".concat(Me,"-input"),lt=a.useRef(null),Nt=a.useState(!1),zt=Object(f.a)(Nt,2),en=zt[0],tn=zt[1],wn=a.useRef(!1),on=a.useRef(!1),vn=a.useRef(!1),dt=a.useState(function(){return te(Bt!=null?Bt:Ct)}),ct=Object(f.a)(dt,2),Kt=ct[0],pn=ct[1];function kn(mn){Bt===void 0&&pn(mn)}var Pt=a.useCallback(function(mn,It){if(!It)return nn>=0?nn:Math.max(b(mn),b(bt))},[nn,bt]),gn=a.useCallback(function(mn){var It=String(mn);if(Rt)return Rt(It);var Ue=It;return bn&&(Ue=Ue.replace(bn,".")),Ue.replace(/[^\w.-]+/g,"")},[Rt,bn]),_n=a.useRef(""),Kn=a.useCallback(function(mn,It){if(Ft)return Ft(mn,{userTyping:It,input:String(_n.current)});var Ue=typeof mn=="number"?d(mn):mn;if(!It){var Ze=Pt(Ue,It);if(O(Ue)&&(bn||Ze>=0)){var Pe=bn||".";Ue=re(Ue,Pe,Ze)}}return Ue},[Ft,Pt,bn]),qn=a.useState(function(){var mn=Ct!=null?Ct:Bt;return Kt.isInvalidate()&&["string","number"].includes(Object(r.a)(mn))?Number.isNaN(mn)?"":mn:Kn(Kt.toString(),!1)}),rr=Object(f.a)(qn,2),Rn=rr[0],mr=rr[1];_n.current=Rn;function ar(mn,It){mr(Kn(mn.isInvalidate()?mn.toString(!1):mn.toString(!It),It))}var sr=a.useMemo(function(){return ce(Xe)},[Xe,nn]),yr=a.useMemo(function(){return ce(et)},[et,nn]),br=a.useMemo(function(){return!sr||!Kt||Kt.isInvalidate()?!1:sr.lessEquals(Kt)},[sr,Kt]),_r=a.useMemo(function(){return!yr||!Kt||Kt.isInvalidate()?!1:Kt.lessEquals(yr)},[yr,Kt]),li=ne(lt.current,en),xi=Object(f.a)(li,2),Mi=xi[0],Fr=xi[1],ur=function(It){return sr&&!It.lessEquals(sr)?sr:yr&&!yr.lessEquals(It)?yr:null},Ti=function(It){return!ur(It)},Xi=function(It,Ue){var Ze=It,Pe=Ti(Ze)||Ze.isEmpty();if(!Ze.isEmpty()&&!Ue&&(Ze=ur(Ze)||Ze,Pe=!0),!st&&!qe&&Pe){var mt=Ze.toString(),xt=Pt(mt,Ue);return xt>=0&&(Ze=te(re(mt,".",xt)),Ti(Ze)||(Ze=te(re(mt,".",xt,!0)))),Ze.equals(Kt)||(kn(Ze),sn==null||sn(Ze.isEmpty()?null:ee(ht,Ze)),Bt===void 0&&ar(Ze,Ue)),Ze}return Kt},ca=be(),Zi=function mn(It){if(Mi(),mr(It),!on.current){var Ue=gn(It),Ze=te(Ue);Ze.isNaN()||Xi(Ze,!0)}un==null||un(It),ca(function(){var Pe=It;Rt||(Pe=It.replace(/。/g,".")),Pe!==It&&mn(Pe)})},xa=function(){on.current=!0},va=function(){on.current=!1,Zi(lt.current.value)},Ma=function(It){Zi(It.target.value)},_a=function(It){var Ue;if(!(It&&br||!It&&_r)){wn.current=!1;var Ze=te(vn.current?E(bt):bt);It||(Ze=Ze.negate());var Pe=(Kt||te(0)).add(Ze.toString()),mt=Xi(Pe,!1);jn==null||jn(ee(ht,mt),{offset:vn.current?E(bt):bt,type:It?"up":"down"}),(Ue=lt.current)===null||Ue===void 0||Ue.focus()}},na=function(It){var Ue=te(gn(Rn)),Ze=Ue;Ue.isNaN()?Ze=Kt:Ze=Xi(Ue,It),Bt!==void 0?ar(Kt,!1):Ze.isNaN()||ar(Ze,!1)},sa=function(){wn.current=!0},Ai=function(It){var Ue=It.which,Ze=It.shiftKey;wn.current=!0,Ze?vn.current=!0:vn.current=!1,Ue===S.a.ENTER&&(on.current||(wn.current=!1),na(!1),Ht==null||Ht(It)),kt!==!1&&!on.current&&[S.a.UP,S.a.DOWN].includes(Ue)&&(_a(S.a.UP===Ue),It.preventDefault())},ba=function(){wn.current=!1,vn.current=!1},ea=function(){na(!1),tn(!1),wn.current=!1};return Object(k.b)(function(){Kt.isInvalidate()||ar(Kt,!1)},[nn]),Object(k.b)(function(){var mn=te(Bt);pn(mn);var It=te(gn(Rn));(!mn.equals(It)||!wn.current||Ft)&&ar(mn,wn.current)},[Bt]),Object(k.b)(function(){Ft&&Fr()},[Rn]),a.createElement("div",{className:p()(Me,_e,(Ve={},Object(c.a)(Ve,"".concat(Me,"-focused"),en),Object(c.a)(Ve,"".concat(Me,"-disabled"),qe),Object(c.a)(Ve,"".concat(Me,"-readonly"),st),Object(c.a)(Ve,"".concat(Me,"-not-a-number"),Kt.isNaN()),Object(c.a)(Ve,"".concat(Me,"-out-of-range"),!Kt.isInvalidate()&&!Ti(Kt)),Ve)),style:Re,onFocus:function(){tn(!0)},onBlur:ea,onKeyDown:Ai,onKeyUp:ba,onCompositionStart:xa,onCompositionEnd:va,onBeforeInput:sa},Tt&&a.createElement(he,{prefixCls:Me,upNode:ut,downNode:nt,upDisabled:br,downDisabled:_r,onStep:_a}),a.createElement("div",{className:"".concat(Un,"-wrap")},a.createElement("input",Object(u.a)({autoComplete:"off",role:"spinbutton","aria-valuemin":et,"aria-valuemax":Xe,"aria-valuenow":Kt.isInvalidate()?null:Kt.toString(),step:bt},Ln,{ref:Object(T.a)(lt,ge),className:Un,value:Rn,onChange:Ma,disabled:qe,readOnly:st}))))});R.displayName="InputNumber";var y=R,C=y,z=e("H84U"),G=e("caoh"),X=e("3Nzz"),pe=e("ihLV"),ae=e("+f9I"),Se=e("0n0R"),Te=e("ATYA"),je=function(ie,ge){var Ve={};for(var Ee in ie)Object.prototype.hasOwnProperty.call(ie,Ee)&&ge.indexOf(Ee)<0&&(Ve[Ee]=ie[Ee]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ee=Object.getOwnPropertySymbols(ie);Me<Ee.length;Me++)ge.indexOf(Ee[Me])<0&&Object.prototype.propertyIsEnumerable.call(ie,Ee[Me])&&(Ve[Ee[Me]]=ie[Ee[Me]]);return Ve},ft=a.forwardRef(function(ie,ge){var Ve,Ee=a.useContext(z.b),Me=Ee.getPrefixCls,_e=Ee.direction,Re=a.useContext(X.b),et=a.useState(!1),Xe=Object(f.a)(et,2),it=Xe[0],bt=Xe[1],Ct=a.useRef(null);a.useImperativeHandle(ge,function(){return Ct.current});var Bt=ie.className,qe=ie.size,st=ie.disabled,ut=ie.prefixCls,nt=ie.addonBefore,kt=ie.addonAfter,Sn=ie.prefix,Tt=ie.bordered,ht=Tt===void 0?!0:Tt,Rt=ie.readOnly,Ft=ie.status,nn=ie.controls,bn=je(ie,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),sn=Me("input-number",ut),un=Object(ae.c)(sn,_e),Ht=un.compactSize,jn=un.compactItemClassnames,Ln=a.createElement(t,{className:"".concat(sn,"-handler-up-inner")}),Un=a.createElement(o.a,{className:"".concat(sn,"-handler-down-inner")}),lt=typeof nn=="boolean"?nn:void 0;Object(r.a)(nn)==="object"&&(Ln=typeof nn.upIcon=="undefined"?Ln:a.createElement("span",{className:"".concat(sn,"-handler-up-inner")},nn.upIcon),Un=typeof nn.downIcon=="undefined"?Un:a.createElement("span",{className:"".concat(sn,"-handler-down-inner")},nn.downIcon));var Nt=Object(a.useContext)(pe.b),zt=Nt.hasFeedback,en=Nt.status,tn=Nt.isFormItemInput,wn=Nt.feedbackIcon,on=Object(Te.a)(en,Ft),vn=Ht||qe||Re,dt=a.useContext(G.b),ct=st!=null?st:dt,Kt=p()((Ve={},Object(c.a)(Ve,"".concat(sn,"-lg"),vn==="large"),Object(c.a)(Ve,"".concat(sn,"-sm"),vn==="small"),Object(c.a)(Ve,"".concat(sn,"-rtl"),_e==="rtl"),Object(c.a)(Ve,"".concat(sn,"-borderless"),!ht),Object(c.a)(Ve,"".concat(sn,"-in-form-item"),tn),Ve),Object(Te.b)(sn,on),jn,Bt),pn=a.createElement(C,Object(u.a)({ref:Ct,disabled:ct,className:Kt,upHandler:Ln,downHandler:Un,prefixCls:sn,readOnly:Rt,controls:lt},bn));if(Sn!=null||zt){var kn,Pt=p()("".concat(sn,"-affix-wrapper"),Object(Te.b)("".concat(sn,"-affix-wrapper"),on,zt),(kn={},Object(c.a)(kn,"".concat(sn,"-affix-wrapper-focused"),it),Object(c.a)(kn,"".concat(sn,"-affix-wrapper-disabled"),ie.disabled),Object(c.a)(kn,"".concat(sn,"-affix-wrapper-sm"),Re==="small"),Object(c.a)(kn,"".concat(sn,"-affix-wrapper-lg"),Re==="large"),Object(c.a)(kn,"".concat(sn,"-affix-wrapper-rtl"),_e==="rtl"),Object(c.a)(kn,"".concat(sn,"-affix-wrapper-readonly"),Rt),Object(c.a)(kn,"".concat(sn,"-affix-wrapper-borderless"),!ht),Object(c.a)(kn,"".concat(Bt),!(nt||kt)&&Bt),kn));pn=a.createElement("div",{className:Pt,style:ie.style,onMouseUp:function(){return Ct.current.focus()}},Sn&&a.createElement("span",{className:"".concat(sn,"-prefix")},Sn),Object(Se.a)(pn,{style:null,value:ie.value,onFocus:function(sr){var yr;bt(!0),(yr=ie.onFocus)===null||yr===void 0||yr.call(ie,sr)},onBlur:function(sr){var yr;bt(!1),(yr=ie.onBlur)===null||yr===void 0||yr.call(ie,sr)}}),zt&&a.createElement("span",{className:"".concat(sn,"-suffix")},wn))}if(nt!=null||kt!=null){var gn,_n="".concat(sn,"-group"),Kn="".concat(_n,"-addon"),qn=nt?a.createElement("div",{className:Kn},nt):null,rr=kt?a.createElement("div",{className:Kn},kt):null,Rn=p()("".concat(sn,"-wrapper"),_n,Object(c.a)({},"".concat(_n,"-rtl"),_e==="rtl")),mr=p()("".concat(sn,"-group-wrapper"),(gn={},Object(c.a)(gn,"".concat(sn,"-group-wrapper-sm"),Re==="small"),Object(c.a)(gn,"".concat(sn,"-group-wrapper-lg"),Re==="large"),Object(c.a)(gn,"".concat(sn,"-group-wrapper-rtl"),_e==="rtl"),gn),Object(Te.b)("".concat(sn,"-group-wrapper"),on,zt),Bt);pn=a.createElement("div",{className:mr,style:ie.style},a.createElement("div",{className:Rn},qn&&a.createElement(ae.a,null,a.createElement(pe.e,{status:!0,override:!0},qn)),Object(Se.a)(pn,{style:null,disabled:ct}),rr&&a.createElement(ae.a,null,a.createElement(pe.e,{status:!0,override:!0},rr))))}return pn}),fe=M.a=ft},g5r2:function(Ie,M,e){"use strict";e.d(M,"b",function(){return m});var u=e("x+uP"),c=e("HaE+"),r=e("q1tI"),f=e.n(r),o=e("ipCM"),i=e("HBdL"),a=function(t,l,p){return Object(o.a)(t,l,p)};function n(h,t){var l=Object(r.useRef)();return a(h,l.current,t)||(l.current=h),l.current}function v(h,t,l){Object(r.useEffect)(h,n(t||[],l))}function m(h,t,l,p){var w=Object(i.a)(Object(c.a)(Object(u.a)().mark(function S(){return Object(u.a)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:h();case 1:case"end":return T.stop()}},S)})),p||16);Object(r.useEffect)(function(){w.run()},n(t||[],l))}M.a=v},g9YV:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("pED+"),f=e.n(r),o=e("+L6B"),i=e("sRBo"),a=e("qVdP"),n=e("R9oj"),v=e("5NDa"),m=e("DjyN"),h=e("7Kak"),t=e("T2oS"),l=e("5Dmo"),p=e("ozfa")},gCVg:function(Ie,M,e){"use strict";e.d(M,"a",function(){return a});var u=e("fWQN"),c=e("mtLc"),r=e("yKVA"),f=e("879j"),o=e("cGHE"),i=e("aokT"),a=function(n){Object(r.a)(m,n);var v=Object(f.a)(m);function m(h,t,l,p){var w;return Object(u.a)(this,m),w=v.call(this,h,t,l,p),w.selectionStartLineNumber=h,w.selectionStartColumn=t,w.positionLineNumber=l,w.positionColumn=p,w}return Object(c.a)(m,[{key:"toString",value:function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}},{key:"equalsSelection",value:function(t){return m.selectionsEqual(this,t)}},{key:"getDirection",value:function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}},{key:"setEndPosition",value:function(t,l){return this.getDirection()===0?new m(this.startLineNumber,this.startColumn,t,l):new m(t,l,this.startLineNumber,this.startColumn)}},{key:"getPosition",value:function(){return new o.a(this.positionLineNumber,this.positionColumn)}},{key:"setStartPosition",value:function(t,l){return this.getDirection()===0?new m(t,l,this.endLineNumber,this.endColumn):new m(this.endLineNumber,this.endColumn,t,l)}}],[{key:"selectionsEqual",value:function(t,l){return t.selectionStartLineNumber===l.selectionStartLineNumber&&t.selectionStartColumn===l.selectionStartColumn&&t.positionLineNumber===l.positionLineNumber&&t.positionColumn===l.positionColumn}},{key:"fromPositions",value:function(t){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return new m(t.lineNumber,t.column,l.lineNumber,l.column)}},{key:"liftSelection",value:function(t){return new m(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}},{key:"selectionsArrEqual",value:function(t,l){if(t&&!l||!t&&l)return!1;if(!t&&!l)return!0;if(t.length!==l.length)return!1;for(var p=0,w=t.length;p<w;p++)if(!this.selectionsEqual(t[p],l[p]))return!1;return!0}},{key:"isISelection",value:function(t){return t&&typeof t.selectionStartLineNumber=="number"&&typeof t.selectionStartColumn=="number"&&typeof t.positionLineNumber=="number"&&typeof t.positionColumn=="number"}},{key:"createWithDirection",value:function(t,l,p,w,S){return S===0?new m(t,l,p,w):new m(p,w,t,l)}}]),m}(i.a)},gCq4:function(Ie,M){function e(u){return this.__data__.get(u)}Ie.exports=e},gFTJ:function(Ie,M,e){"use strict";e.d(M,"a",function(){return Y});var u=e("rePB"),c=e("ODXe"),r=e("U8pU"),f=e("TSYQ"),o=e.n(f),i=e("Zm9Q"),a=e("q1tI"),n=e("H84U"),v=e("0n0R"),m=e("ACnJ"),h=function(D){var W=D.children;return W},t=h,l=e("wx14");function p(E){return E!=null}var w=function(D){var W=D.itemPrefixCls,te=D.component,re=D.span,ye=D.className,q=D.style,oe=D.labelStyle,he=D.contentStyle,ue=D.bordered,ne=D.label,se=D.content,be=D.colon,Z=te;if(ue){var ee;return a.createElement(Z,{className:o()((ee={},Object(u.a)(ee,"".concat(W,"-item-label"),p(ne)),Object(u.a)(ee,"".concat(W,"-item-content"),p(se)),ee),ye),style:q,colSpan:re},p(ne)&&a.createElement("span",{style:oe},ne),p(se)&&a.createElement("span",{style:he},se))}return a.createElement(Z,{className:o()("".concat(W,"-item"),ye),style:q,colSpan:re},a.createElement("div",{className:"".concat(W,"-item-container")},(ne||ne===0)&&a.createElement("span",{className:o()("".concat(W,"-item-label"),Object(u.a)({},"".concat(W,"-item-no-colon"),!be)),style:oe},ne),(se||se===0)&&a.createElement("span",{className:o()("".concat(W,"-item-content")),style:he},se)))},S=w;function k(E,D,W){var te=D.colon,re=D.prefixCls,ye=D.bordered,q=W.component,oe=W.type,he=W.showLabel,ue=W.showContent,ne=W.labelStyle,se=W.contentStyle;return E.map(function(be,Z){var ee=be.props,ce=ee.label,R=ee.children,y=ee.prefixCls,C=y===void 0?re:y,z=ee.className,G=ee.style,X=ee.labelStyle,pe=ee.contentStyle,ae=ee.span,Se=ae===void 0?1:ae,Te=be.key;return typeof q=="string"?a.createElement(S,{key:"".concat(oe,"-").concat(Te||Z),className:z,style:G,labelStyle:Object(l.a)(Object(l.a)({},ne),X),contentStyle:Object(l.a)(Object(l.a)({},se),pe),span:Se,colon:te,component:q,itemPrefixCls:C,bordered:ye,label:he?ce:null,content:ue?R:null}):[a.createElement(S,{key:"label-".concat(Te||Z),className:z,style:Object(l.a)(Object(l.a)(Object(l.a)({},ne),G),X),span:1,colon:te,component:q[0],itemPrefixCls:C,bordered:ye,label:ce}),a.createElement(S,{key:"content-".concat(Te||Z),className:z,style:Object(l.a)(Object(l.a)(Object(l.a)({},se),G),pe),span:Se*2-1,component:q[1],itemPrefixCls:C,bordered:ye,content:R})]})}var T=function(D){var W=a.useContext(Y),te=D.prefixCls,re=D.vertical,ye=D.row,q=D.index,oe=D.bordered;return re?a.createElement(a.Fragment,null,a.createElement("tr",{key:"label-".concat(q),className:"".concat(te,"-row")},k(ye,D,Object(l.a)({component:"th",type:"label",showLabel:!0},W))),a.createElement("tr",{key:"content-".concat(q),className:"".concat(te,"-row")},k(ye,D,Object(l.a)({component:"td",type:"content",showContent:!0},W)))):a.createElement("tr",{key:q,className:"".concat(te,"-row")},k(ye,D,Object(l.a)({component:oe?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},W)))},I=T,Y=a.createContext({}),$={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function A(E,D){if(typeof E=="number")return E;if(Object(r.a)(E)==="object")for(var W=0;W<m.b.length;W++){var te=m.b[W];if(D[te]&&E[te]!==void 0)return E[te]||$[te]}return 3}function g(E,D,W){var te=E;return(D===void 0||D>W)&&(te=Object(v.a)(E,{span:W})),te}function b(E,D){var W=Object(i.a)(E).filter(function(q){return q}),te=[],re=[],ye=D;return W.forEach(function(q,oe){var he,ue=(he=q.props)===null||he===void 0?void 0:he.span,ne=ue||1;if(oe===W.length-1){re.push(g(q,ue,ye)),te.push(re);return}ne<ye?(ye-=ne,re.push(q)):(re.push(g(q,ne,ye)),te.push(re),ye=D,re=[])}),te}function d(E){var D,W=E.prefixCls,te=E.title,re=E.extra,ye=E.column,q=ye===void 0?$:ye,oe=E.colon,he=oe===void 0?!0:oe,ue=E.bordered,ne=E.layout,se=E.children,be=E.className,Z=E.style,ee=E.size,ce=E.labelStyle,R=E.contentStyle,y=a.useContext(n.b),C=y.getPrefixCls,z=y.direction,G=C("descriptions",W),X=a.useState({}),pe=Object(c.a)(X,2),ae=pe[0],Se=pe[1],Te=A(q,ae);a.useEffect(function(){var fe=m.a.subscribe(function(ie){Object(r.a)(q)==="object"&&Se(ie)});return function(){m.a.unsubscribe(fe)}},[]);var je=b(se,Te),ft=a.useMemo(function(){return{labelStyle:ce,contentStyle:R}},[ce,R]);return a.createElement(Y.Provider,{value:ft},a.createElement("div",{className:o()(G,(D={},Object(u.a)(D,"".concat(G,"-").concat(ee),ee&&ee!=="default"),Object(u.a)(D,"".concat(G,"-bordered"),!!ue),Object(u.a)(D,"".concat(G,"-rtl"),z==="rtl"),D),be),style:Z},(te||re)&&a.createElement("div",{className:"".concat(G,"-header")},te&&a.createElement("div",{className:"".concat(G,"-title")},te),re&&a.createElement("div",{className:"".concat(G,"-extra")},re)),a.createElement("div",{className:"".concat(G,"-view")},a.createElement("table",null,a.createElement("tbody",null,je.map(function(fe,ie){return a.createElement(I,{key:ie,index:ie,colon:he,prefixCls:G,vertical:ne==="vertical",bordered:ue,row:fe})}))))))}d.Item=t;var O=M.b=d},gFfm:function(Ie,M){function e(u,c){for(var r=-1,f=u==null?0:u.length;++r<f&&c(u[r],r,u)!==!1;);return u}Ie.exports=e},gKgp:function(Ie,M,e){"use strict";var u=e("q1tI"),c=e.n(u),r=u.createContext(null);M.a=r},gL5p:function(Ie,M,e){"use strict";e.d(M,"b",function(){return p}),e.d(M,"a",function(){return v});var u=e("8z58"),c=e("17x9"),r=e("q1tI");function f(w){return/^\d+$/.test(w)?w+"px":w}function o(){}var i=function(){var w=function(k,T){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,Y){I.__proto__=Y}||function(I,Y){for(var $ in Y)Object.prototype.hasOwnProperty.call(Y,$)&&(I[$]=Y[$])},w(k,T)};return function(S,k){if(typeof k!="function"&&k!==null)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");w(S,k);function T(){this.constructor=S}S.prototype=k===null?Object.create(k):(T.prototype=k.prototype,new T)}}(),a=function(){return a=Object.assign||function(w){for(var S,k=1,T=arguments.length;k<T;k++){S=arguments[k];for(var I in S)Object.prototype.hasOwnProperty.call(S,I)&&(w[I]=S[I])}return w},a.apply(this,arguments)},n=function(w){i(S,w);function S(k){var T=w.call(this,k)||this;return T.assignRef=function(I){T.containerElement=I},T.containerElement=void 0,T}return S.prototype.componentDidMount=function(){this.initMonaco()},S.prototype.componentDidUpdate=function(k){var T=this.props,I=T.language,Y=T.theme,$=T.height,A=T.options,g=T.width,b=T.className,d=this.editor.getModel(),O=d.original,E=d.modified;this.props.original!==O.getValue()&&O.setValue(this.props.original),this.props.value!=null&&this.props.value!==E.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.getModifiedEditor().pushUndoStop(),E.pushEditOperations([],[{range:E.getFullModelRange(),text:this.props.value}]),this.editor.getModifiedEditor().pushUndoStop(),this.__prevent_trigger_change_event=!1),k.language!==I&&(u.editor.setModelLanguage(O,I),u.editor.setModelLanguage(E,I)),k.theme!==Y&&u.editor.setTheme(Y),this.editor&&(g!==k.width||$!==k.height)&&this.editor.layout(),k.options!==A&&this.editor.updateOptions(a(a({},b?{extraEditorClassName:b}:{}),A))},S.prototype.componentWillUnmount=function(){this.destroyMonaco()},S.prototype.editorWillMount=function(){var k=this.props.editorWillMount,T=k(u);return T||{}},S.prototype.editorDidMount=function(k){var T=this;this.props.editorDidMount(k,u);var I=k.getModel().modified;this._subscription=I.onDidChangeContent(function(Y){T.__prevent_trigger_change_event||T.props.onChange(I.getValue(),Y)})},S.prototype.initModels=function(k,T){var I=this.props.language,Y=u.editor.createModel(T,I),$=u.editor.createModel(k,I);this.editor.setModel({original:Y,modified:$})},S.prototype.initMonaco=function(){var k=this.props.value!=null?this.props.value:this.props.defaultValue,T=this.props,I=T.original,Y=T.theme,$=T.options,A=T.overrideServices,g=T.className;this.containerElement&&(this.editorWillMount(),this.editor=u.editor.createDiffEditor(this.containerElement,a(a(a({},g?{extraEditorClassName:g}:{}),$),Y?{theme:Y}:{}),A),this.initModels(k,I),this.editorDidMount(this.editor))},S.prototype.destroyMonaco=function(){if(this.editor){this.editor.dispose();var k=this.editor.getModel(),T=k.original,I=k.modified;T&&T.dispose(),I&&I.dispose()}this._subscription&&this._subscription.dispose()},S.prototype.render=function(){var k=this.props,T=k.width,I=k.height,Y=f(T),$=f(I),A={width:Y,height:$};return r.createElement("div",{ref:this.assignRef,style:A,className:"react-monaco-editor-container"})},S.propTypes={width:c.oneOfType([c.string,c.number]),height:c.oneOfType([c.string,c.number]),original:c.string,value:c.string,defaultValue:c.string,language:c.string,theme:c.string,options:c.object,overrideServices:c.object,editorDidMount:c.func,editorWillMount:c.func,onChange:c.func,className:c.string},S.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:o,editorWillMount:o,onChange:o,className:null},S}(r.Component),v=n,m=function(){var w=function(k,T){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,Y){I.__proto__=Y}||function(I,Y){for(var $ in Y)Object.prototype.hasOwnProperty.call(Y,$)&&(I[$]=Y[$])},w(k,T)};return function(S,k){if(typeof k!="function"&&k!==null)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");w(S,k);function T(){this.constructor=S}S.prototype=k===null?Object.create(k):(T.prototype=k.prototype,new T)}}(),h=function(){return h=Object.assign||function(w){for(var S,k=1,T=arguments.length;k<T;k++){S=arguments[k];for(var I in S)Object.prototype.hasOwnProperty.call(S,I)&&(w[I]=S[I])}return w},h.apply(this,arguments)},t=function(w,S){var k={};for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&S.indexOf(T)<0&&(k[T]=w[T]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,T=Object.getOwnPropertySymbols(w);I<T.length;I++)S.indexOf(T[I])<0&&Object.prototype.propertyIsEnumerable.call(w,T[I])&&(k[T[I]]=w[T[I]]);return k},l=function(w){m(S,w);function S(k){var T=w.call(this,k)||this;return T.assignRef=function(I){T.containerElement=I},T.containerElement=void 0,T}return S.prototype.componentDidMount=function(){this.initMonaco()},S.prototype.componentDidUpdate=function(k){var T=this.props,I=T.value,Y=T.language,$=T.theme,A=T.height,g=T.options,b=T.width,d=T.className,O=this.editor,E=O.getModel();if(this.props.value!=null&&this.props.value!==E.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.pushUndoStop(),E.pushEditOperations([],[{range:E.getFullModelRange(),text:I}]),this.editor.pushUndoStop(),this.__prevent_trigger_change_event=!1),k.language!==Y&&u.editor.setModelLanguage(E,Y),k.theme!==$&&u.editor.setTheme($),O&&(b!==k.width||A!==k.height)&&O.layout(),k.options!==g){var D=g.model,W=t(g,["model"]);O.updateOptions(h(h({},d?{extraEditorClassName:d}:{}),W))}},S.prototype.componentWillUnmount=function(){this.destroyMonaco()},S.prototype.destroyMonaco=function(){if(this.editor){this.editor.dispose();var k=this.editor.getModel();k&&k.dispose()}this._subscription&&this._subscription.dispose()},S.prototype.initMonaco=function(){var k=this.props.value!=null?this.props.value:this.props.defaultValue,T=this.props,I=T.language,Y=T.theme,$=T.overrideServices,A=T.className;if(this.containerElement){var g=h(h({},this.props.options),this.editorWillMount());this.editor=u.editor.create(this.containerElement,h(h(h({value:k,language:I},A?{extraEditorClassName:A}:{}),g),Y?{theme:Y}:{}),$),this.editorDidMount(this.editor)}},S.prototype.editorWillMount=function(){var k=this.props.editorWillMount,T=k(u);return T||{}},S.prototype.editorDidMount=function(k){var T=this;this.props.editorDidMount(k,u),this._subscription=k.onDidChangeModelContent(function(I){T.__prevent_trigger_change_event||T.props.onChange(k.getValue(),I)})},S.prototype.render=function(){var k=this.props,T=k.width,I=k.height,Y=f(T),$=f(I),A={width:Y,height:$};return r.createElement("div",{ref:this.assignRef,style:A,className:"react-monaco-editor-container"})},S.propTypes={width:c.oneOfType([c.string,c.number]),height:c.oneOfType([c.string,c.number]),value:c.string,defaultValue:c.string,language:c.string,theme:c.string,options:c.object,overrideServices:c.object,editorDidMount:c.func,editorWillMount:c.func,onChange:c.func,className:c.string},S.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:o,editorWillMount:o,onChange:o,className:null},S}(r.Component),p=l},gPaA:function(Ie,M,e){var u=e("dunj"),c=e("ut/Y"),r=e("jSBL");function f(o,i){return o&&o.length?u(o,c(i,2),r):void 0}Ie.exports=f},gUdW:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="MinusSquareOutlined";var a=M.a=c.forwardRef(i)},gYXE:function(Ie,M,e){var u=e("M96O");Ie.exports=c,c.CycleException=r;function c(f){var o={},i={},a=[];function n(v){if(u.has(i,v))throw new r;u.has(o,v)||(i[v]=!0,o[v]=!0,u.each(f.predecessors(v),n),delete i[v],a.push(v))}if(u.each(f.sinks(),n),u.size(o)!==f.nodeCount())throw new r;return a}function r(){}r.prototype=new Error},"giR+":function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("QbM5"),f=e.n(r)},gqAu:function(Ie,M,e){"use strict";e.d(M,"d",function(){return c}),e.d(M,"a",function(){return r}),e.d(M,"j",function(){return f}),e.d(M,"c",function(){return o}),e.d(M,"b",function(){return i}),e.d(M,"e",function(){return a}),e.d(M,"k",function(){return n}),e.d(M,"i",function(){return v}),e.d(M,"f",function(){return m}),e.d(M,"h",function(){return h}),e.d(M,"g",function(){return t});var u=e("kZX9");function c(){return Object(u.c)("api/jobInstance/getStatusCount")}function r(l){return Object(u.c)("api/jobInstance/getJobInfoDetail",{id:l})}function f(l){return Object(u.c)("api/jobInstance/refreshJobInfoDetail",{id:l})}function o(l){return Object(u.c)("api/jobInstance/getLineage",{id:l})}function i(l){return Object(u.c)("api/jobInstance/getJobManagerInfo",{address:l})}function a(l){return Object(u.c)("api/jobInstance/getTaskManagerInfo",{address:l})}function n(l,p,w){return Object(u.c)("api/task/selectSavePointRestartTask",{id:l,isOnLine:p,savePointPath:w})}function v(){return Object(u.c)("api/task/queryOneClickOperatingTaskStatus",{})}function m(l){return Object(u.m)("api/task/onClickOperatingTask",l)}function h(l){return Object(u.c)("api/task/queryOnClickOperatingTask",l)}function t(l){return Object(u.c)("api/task/queryAllCatalogue",l)}},gqNZ:function(Ie,M,e){"use strict";e.d(M,"c",function(){return i}),e.d(M,"b",function(){return n}),e.d(M,"d",function(){return m}),e.d(M,"k",function(){return t}),e.d(M,"g",function(){return p}),e.d(M,"f",function(){return S}),e.d(M,"e",function(){return T}),e.d(M,"h",function(){return Y}),e.d(M,"i",function(){return A}),e.d(M,"j",function(){return b}),e.d(M,"l",function(){return O}),e.d(M,"m",function(){return D}),e.d(M,"a",function(){return te}),e.d(M,"n",function(){return ye});var u=e("qLMh"),c=e("k1fw"),r=e("9og8"),f=e("kZX9"),o=e("9kvl");function i(oe){return a.apply(this,arguments)}function a(){return a=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/studio/executeSql",{method:"POST",data:Object(c.a)({},he)}));case 1:case"end":return ne.stop()}},oe)})),a.apply(this,arguments)}function n(oe){return v.apply(this,arguments)}function v(){return v=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/studio/executeDDL",{method:"POST",data:Object(c.a)({},he)}));case 1:case"end":return ne.stop()}},oe)})),v.apply(this,arguments)}function m(oe){return h.apply(this,arguments)}function h(){return h=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/studio/explainSql",{method:"POST",data:Object(c.a)({},he)}));case 1:case"end":return ne.stop()}},oe)})),h.apply(this,arguments)}function t(oe){return l.apply(this,arguments)}function l(){return l=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/studio/getStreamGraph",{method:"POST",data:Object(c.a)({},he)}));case 1:case"end":return ne.stop()}},oe)})),l.apply(this,arguments)}function p(oe){return w.apply(this,arguments)}function w(){return w=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/studio/getJobPlan",{method:"POST",data:Object(c.a)({},he)}));case 1:case"end":return ne.stop()}},oe)})),w.apply(this,arguments)}function S(oe){return k.apply(this,arguments)}function k(){return k=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/studio/getJobData",{method:"GET",params:{jobId:he}}));case 1:case"end":return ne.stop()}},oe)})),k.apply(this,arguments)}function T(oe){return I.apply(this,arguments)}function I(){return I=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(f.p)("/api/catalogue/getCatalogueTreeData",{method:"POST",data:Object(c.a)({},he)}));case 1:case"end":return ne.stop()}},oe)})),I.apply(this,arguments)}function Y(oe){return $.apply(this,arguments)}function $(){return $=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/studio/getLineage",{method:"POST",data:Object(c.a)({},he)}));case 1:case"end":return ne.stop()}},oe)})),$.apply(this,arguments)}function A(oe){return g.apply(this,arguments)}function g(){return g=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/studio/getMSCatalogs",{method:"POST",data:Object(c.a)({},he)}));case 1:case"end":return ne.stop()}},oe)})),g.apply(this,arguments)}function b(oe){return d.apply(this,arguments)}function d(){return d=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/studio/getMSSchemaInfo",{method:"POST",data:Object(c.a)({},he)}));case 1:case"end":return ne.stop()}},oe)})),d.apply(this,arguments)}function O(oe){return E.apply(this,arguments)}function E(){return E=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/scheduler/task",{method:"GET",params:{dinkyTaskId:he}}));case 1:case"end":return ne.stop()}},oe)})),E.apply(this,arguments)}function D(oe){return W.apply(this,arguments)}function W(){return W=Object(r.a)(Object(u.a)().mark(function oe(he){return Object(u.a)().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",Object(o.h)("/api/scheduler/upstream/tasks",{method:"GET",params:{dinkyTaskId:he}}));case 1:case"end":return ne.stop()}},oe)})),W.apply(this,arguments)}function te(oe,he,ue){return re.apply(this,arguments)}function re(){return re=Object(r.a)(Object(u.a)().mark(function oe(he,ue,ne){return Object(u.a)().wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return be.abrupt("return",Object(o.h)("/api/scheduler/task",{method:"POST",params:{dinkyTaskId:he,upstreamCodes:ue},data:Object(c.a)({},ne)}));case 1:case"end":return be.stop()}},oe)})),re.apply(this,arguments)}function ye(oe,he,ue,ne,se){return q.apply(this,arguments)}function q(){return q=Object(r.a)(Object(u.a)().mark(function oe(he,ue,ne,se,be){return Object(u.a)().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.abrupt("return",Object(o.h)("/api/scheduler/task",{method:"PUT",params:{processCode:he,projectCode:ue,taskCode:ne,upstreamCodes:se},data:Object(c.a)({},be)}));case 1:case"end":return ee.stop()}},oe)})),q.apply(this,arguments)}},gslv:function(Ie,M,e){"use strict";e.d(M,"i",function(){return v}),e.d(M,"e",function(){return h}),e.d(M,"f",function(){return t}),e.d(M,"c",function(){return l}),e.d(M,"b",function(){return p}),e.d(M,"d",function(){return w}),e.d(M,"g",function(){return S}),e.d(M,"h",function(){return k}),e.d(M,"j",function(){return T}),e.d(M,"a",function(){return I});var u=e("tJVT"),c=e("fWQN"),r=e("mtLc"),f=e("PTeM"),o=e("MrjW"),i=e("bY76"),a=e("N0LK"),n=e("tYmi");function v(Y){return Object(i.b)(Y,!0)}var m=function(){function Y($){Object(c.a)(this,Y),this._ignorePathCasing=$}return Object(r.a)(Y,[{key:"compare",value:function(A,g){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return A===g?0:Object(a.f)(this.getComparisonKey(A,b),this.getComparisonKey(g,b))}},{key:"isEqual",value:function(A,g){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return A===g?!0:!A||!g?!1:this.getComparisonKey(A,b)===this.getComparisonKey(g,b)}},{key:"getComparisonKey",value:function(A){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return A.with({path:this._ignorePathCasing(A)?A.path.toLowerCase():void 0,fragment:g?null:void 0}).toString()}},{key:"joinPath",value:function(A){for(var g=arguments.length,b=new Array(g>1?g-1:0),d=1;d<g;d++)b[d-1]=arguments[d];return i.a.joinPath.apply(i.a,[A].concat(b))}},{key:"basenameOrAuthority",value:function(A){return p(A)||A.authority}},{key:"basename",value:function(A){return o.e.basename(A.path)}},{key:"dirname",value:function(A){if(A.path.length===0)return A;var g;return A.scheme===n.c.file?g=i.a.file(o.b(v(A))).path:(g=o.e.dirname(A.path),A.authority&&g.length&&g.charCodeAt(0)!==47&&(console.error('dirname("'.concat(A.toString,")) resulted in a relative path")),g="/")),A.with({path:g})}},{key:"normalizePath",value:function(A){if(!A.path.length)return A;var g;return A.scheme===n.c.file?g=i.a.file(o.d(v(A))).path:g=o.e.normalize(A.path),A.with({path:g})}},{key:"resolvePath",value:function(A,g){if(A.scheme===n.c.file){var b=i.a.file(o.g(v(A),g));return A.with({authority:b.authority,path:b.path})}return g.indexOf("/")===-1&&(g=f.d(g),/^[a-zA-Z]:(\/|$)/.test(g)&&(g="/"+g)),A.with({path:o.e.resolve(A.path,g)})}}]),Y}(),h=new m(function(){return!1}),t=h.isEqual.bind(h),l=h.basenameOrAuthority.bind(h),p=h.basename.bind(h),w=h.dirname.bind(h),S=h.joinPath.bind(h),k=h.normalizePath.bind(h),T=h.resolvePath.bind(h),I;(function(Y){Y.META_DATA_LABEL="label",Y.META_DATA_DESCRIPTION="description",Y.META_DATA_SIZE="size",Y.META_DATA_MIME="mime";function $(A){var g=new Map,b=A.path.substring(A.path.indexOf(";")+1,A.path.lastIndexOf(";"));b.split(";").forEach(function(O){var E=O.split(":"),D=Object(u.a)(E,2),W=D[0],te=D[1];W&&te&&g.set(W,te)});var d=A.path.substring(0,A.path.indexOf(";"));return d&&g.set(Y.META_DATA_MIME,d),g}Y.parseMetaData=$})(I||(I={}))},hGVw:function(Ie,M,e){},hHjc:function(Ie,M,e){},hN88:function(Ie,M,e){"use strict";e.d(M,"b",function(){return W}),e.d(M,"a",function(){return re}),e.d(M,"c",function(){return ye}),e.d(M,"d",function(){return oe}),e.d(M,"e",function(){return se});var u=e("tJVT"),c=e("oBTY"),r=e("qLMh"),f=e("fWQN"),o=e("mtLc"),i=e("rAM+"),a=e("OBOq"),n=e("6OMU"),v=e("JQT/"),m=e("/cxE"),h=e("bY76"),t=e("vATl"),l=e("sFUC"),p=e("cGHE"),w=e("aokT"),S=e("gCVg"),k=e("twdY"),T=e("pAvP"),I=e("G2kB"),Y=e("Cduo"),$=e("3/fG"),A=function(){function be(Z){Object(f.a)(this,be),this.value=Z,this._lower=Z.toLowerCase()}return Object(o.a)(be,null,[{key:"toKey",value:function(ee){return typeof ee=="string"?ee.toLowerCase():ee._lower}}]),be}(),g=e("Cg/j"),b=e("24hK"),d=e("nnTU"),O=e("746U"),E=e("JYp7"),D=function(be,Z,ee,ce){function R(y){return y instanceof ee?y:new ee(function(C){C(y)})}return new(ee||(ee=Promise))(function(y,C){function z(pe){try{X(ce.next(pe))}catch(ae){C(ae)}}function G(pe){try{X(ce.throw(pe))}catch(ae){C(ae)}}function X(pe){pe.done?y(pe.value):R(pe.value).then(z,G)}X((ce=ce.apply(be,Z||[])).next())})};function W(be){if(be=be.filter(function(C){return C.range}),!!be.length){for(var Z=be[0].range,ee=1;ee<be.length;ee++)Z=w.a.plusRange(Z,be[ee].range);var ce=Z,R=ce.startLineNumber,y=ce.endLineNumber;R===y?be.length===1?Object(a.a)($.a("hint11","Made 1 formatting edit on line {0}",R)):Object(a.a)($.a("hintn1","Made {0} formatting edits on line {1}",be.length,R)):be.length===1?Object(a.a)($.a("hint1n","Made 1 formatting edit between lines {0} and {1}",R,y)):Object(a.a)($.a("hintnn","Made {0} formatting edits between lines {1} and {2}",be.length,R,y))}}function te(be){var Z=[],ee=new Set,ce=k.g.ordered(be),R=Object(i.a)(ce),y;try{for(R.s();!(y=R.n()).done;){var C=y.value;Z.push(C),C.extensionId&&ee.add(A.toKey(C.extensionId))}}catch(Se){R.e(Se)}finally{R.f()}var z=k.j.ordered(be),G=Object(i.a)(z),X;try{var pe=function(){var Te=X.value;if(Te.extensionId){if(ee.has(A.toKey(Te.extensionId)))return"continue";ee.add(A.toKey(Te.extensionId))}Z.push({displayName:Te.displayName,extensionId:Te.extensionId,provideDocumentFormattingEdits:function(ft,fe,ie){return Te.provideDocumentRangeFormattingEdits(ft,ft.getFullModelRange(),fe,ie)}})};for(G.s();!(X=G.n()).done;)var ae=pe()}catch(Se){G.e(Se)}finally{G.f()}return Z}var re=function(){function be(){Object(f.a)(this,be)}return Object(o.a)(be,null,[{key:"setFormatterSelector",value:function(ee){var ce=be._selectors.unshift(ee);return{dispose:ce}}},{key:"select",value:function(ee,ce,R){return D(this,void 0,void 0,Object(r.a)().mark(function y(){var C;return Object(r.a)().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:if(ee.length!==0){G.next=2;break}return G.abrupt("return",void 0);case 2:if(C=E.a.first(be._selectors),!C){G.next=7;break}return G.next=6,C(ee,ce,R);case 6:return G.abrupt("return",G.sent);case 7:return G.abrupt("return",void 0);case 8:case"end":return G.stop()}},y)}))}}]),be}();re._selectors=new b.a;function ye(be,Z,ee,ce,R,y){return D(this,void 0,void 0,Object(r.a)().mark(function C(){var z,G,X,pe;return Object(r.a)().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return z=be.get(g.a),G=Object(l.b)(Z)?Z.getModel():Z,X=k.j.ordered(G),Se.next=5,re.select(X,G,ce);case 5:if(pe=Se.sent,!pe){Se.next=10;break}return R.report(pe),Se.next=10,z.invokeFunction(q,pe,Z,ee,y);case 10:case"end":return Se.stop()}},C)}))}function q(be,Z,ee,ce,R){return D(this,void 0,void 0,Object(r.a)().mark(function y(){var C,z,G,X,pe,ae,Se,Te,je,ft,fe,ie,ge,Ve,Ee,Me;return Object(r.a)().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:C=be.get(T.a),Object(l.b)(ee)?(z=ee.getModel(),G=new t.b(ee,1|4,void 0,R)):(z=ee,G=new t.d(ee,R)),X=[],pe=0,ae=Object(i.a)(Object(n.b)(ce).sort(w.a.compareRangesUsingStarts));try{for(ae.s();!(Se=ae.n()).done;)Te=Se.value,pe>0&&w.a.areIntersectingOrTouching(X[pe-1],Te)?X[pe-1]=w.a.fromPositions(X[pe-1].getStartPosition(),Te.getEndPosition()):pe=X.push(Te)}catch(et){ae.e(et)}finally{ae.f()}je=[],ft=0,fe=X;case 8:if(!(ft<fe.length)){Re.next=26;break}return ie=fe[ft],Re.prev=10,Re.next=13,Z.provideDocumentRangeFormattingEdits(z,ie,z.getFormattingOptions(),G.token);case 13:return ge=Re.sent,Re.next=16,C.computeMoreMinimalEdits(z.uri,ge);case 16:if(Ve=Re.sent,Ve&&je.push.apply(je,Object(c.a)(Ve)),!G.token.isCancellationRequested){Re.next=20;break}return Re.abrupt("return",!0);case 20:return Re.prev=20,G.dispose(),Re.finish(20);case 23:ft++,Re.next=8;break;case 26:if(je.length!==0){Re.next=28;break}return Re.abrupt("return",!1);case 28:return Object(l.b)(ee)?(Y.a.execute(ee,je,!0),W(je),ee.revealPositionInCenterIfOutsideViewport(ee.getPosition(),1)):(Ee=je[0].range,Me=new S.a(Ee.startLineNumber,Ee.startColumn,Ee.endLineNumber,Ee.endColumn),z.pushEditOperations([Me],je.map(function(et){return{text:et.text,range:w.a.lift(et.range),forceMoveMarkers:!0}}),function(et){var Xe=Object(i.a)(et),it;try{for(Xe.s();!(it=Xe.n()).done;){var bt=it.value,Ct=bt.range;if(w.a.areIntersectingOrTouching(Ct,Me))return[new S.a(Ct.startLineNumber,Ct.startColumn,Ct.endLineNumber,Ct.endColumn)]}}catch(Bt){Xe.e(Bt)}finally{Xe.f()}return null})),Re.abrupt("return",!0);case 30:case"end":return Re.stop()}},y,null,[[10,,20,23]])}))}function oe(be,Z,ee,ce,R){return D(this,void 0,void 0,Object(r.a)().mark(function y(){var C,z,G,X;return Object(r.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return C=be.get(g.a),z=Object(l.b)(Z)?Z.getModel():Z,G=te(z),ae.next=5,re.select(G,z,ee);case 5:if(X=ae.sent,!X){ae.next=10;break}return ce.report(X),ae.next=10,C.invokeFunction(he,X,Z,ee,R);case 10:case"end":return ae.stop()}},y)}))}function he(be,Z,ee,ce,R){return D(this,void 0,void 0,Object(r.a)().mark(function y(){var C,z,G,X,pe,ae,Se,Te,je;return Object(r.a)().wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return C=be.get(T.a),Object(l.b)(ee)?(z=ee.getModel(),G=new t.b(ee,1|4,void 0,R)):(z=ee,G=new t.d(ee,R)),fe.prev=2,fe.next=5,Z.provideDocumentFormattingEdits(z,z.getFormattingOptions(),G.token);case 5:return pe=fe.sent,fe.next=8,C.computeMoreMinimalEdits(z.uri,pe);case 8:if(X=fe.sent,!G.token.isCancellationRequested){fe.next=11;break}return fe.abrupt("return",!0);case 11:return fe.prev=11,G.dispose(),fe.finish(11);case 14:if(!(!X||X.length===0)){fe.next=16;break}return fe.abrupt("return",!1);case 16:return Object(l.b)(ee)?(Y.a.execute(ee,X,ce!==2),ce!==2&&(W(X),ee.revealPositionInCenterIfOutsideViewport(ee.getPosition(),1))):(ae=X,Se=Object(u.a)(ae,1),Te=Se[0].range,je=new S.a(Te.startLineNumber,Te.startColumn,Te.endLineNumber,Te.endColumn),z.pushEditOperations([je],X.map(function(ie){return{text:ie.text,range:w.a.lift(ie.range),forceMoveMarkers:!0}}),function(ie){var ge=Object(i.a)(ie),Ve;try{for(ge.s();!(Ve=ge.n()).done;){var Ee=Ve.value,Me=Ee.range;if(w.a.areIntersectingOrTouching(Me,je))return[new S.a(Me.startLineNumber,Me.startColumn,Me.endLineNumber,Me.endColumn)]}}catch(_e){ge.e(_e)}finally{ge.f()}return null})),fe.abrupt("return",!0);case 18:case"end":return fe.stop()}},y,null,[[2,,11,14]])}))}function ue(be,Z,ee,ce,R){return D(this,void 0,void 0,Object(r.a)().mark(function y(){var C,z,G,X,pe;return Object(r.a)().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:C=k.j.ordered(Z),z=Object(i.a)(C),Se.prev=2,z.s();case 4:if((G=z.n()).done){Se.next=15;break}return X=G.value,Se.next=8,Promise.resolve(X.provideDocumentRangeFormattingEdits(Z,ee,ce,R)).catch(m.f);case 8:if(pe=Se.sent,!Object(n.m)(pe)){Se.next=13;break}return Se.next=12,be.computeMoreMinimalEdits(Z.uri,pe);case 12:return Se.abrupt("return",Se.sent);case 13:Se.next=4;break;case 15:Se.next=20;break;case 17:Se.prev=17,Se.t0=Se.catch(2),z.e(Se.t0);case 20:return Se.prev=20,z.f(),Se.finish(20);case 23:return Se.abrupt("return",void 0);case 24:case"end":return Se.stop()}},y,null,[[2,17,20,23]])}))}function ne(be,Z,ee,ce){return D(this,void 0,void 0,Object(r.a)().mark(function R(){var y,C,z,G,X;return Object(r.a)().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:y=te(Z),C=Object(i.a)(y),ae.prev=2,C.s();case 4:if((z=C.n()).done){ae.next=15;break}return G=z.value,ae.next=8,Promise.resolve(G.provideDocumentFormattingEdits(Z,ee,ce)).catch(m.f);case 8:if(X=ae.sent,!Object(n.m)(X)){ae.next=13;break}return ae.next=12,be.computeMoreMinimalEdits(Z.uri,X);case 12:return ae.abrupt("return",ae.sent);case 13:ae.next=4;break;case 15:ae.next=20;break;case 17:ae.prev=17,ae.t0=ae.catch(2),C.e(ae.t0);case 20:return ae.prev=20,C.f(),ae.finish(20);case 23:return ae.abrupt("return",void 0);case 24:case"end":return ae.stop()}},R,null,[[2,17,20,23]])}))}function se(be,Z,ee,ce,R){var y=k.v.ordered(Z);return y.length===0||y[0].autoFormatTriggerCharacters.indexOf(ce)<0?Promise.resolve(void 0):Promise.resolve(y[0].provideOnTypeFormattingEdits(Z,ee,ce,R,v.a.None)).catch(m.f).then(function(C){return be.computeMoreMinimalEdits(Z.uri,C)})}d.a.registerCommand("_executeFormatRangeProvider",function(be){for(var Z=arguments.length,ee=new Array(Z>1?Z-1:0),ce=1;ce<Z;ce++)ee[ce-1]=arguments[ce];var R=ee[0],y=ee[1],C=ee[2];Object(O.b)(h.a.isUri(R)),Object(O.b)(w.a.isIRange(y));var z=be.get(I.a).getModel(R);if(!z)throw Object(m.b)("resource");return ue(be.get(T.a),z,w.a.lift(y),C,v.a.None)}),d.a.registerCommand("_executeFormatDocumentProvider",function(be){for(var Z=arguments.length,ee=new Array(Z>1?Z-1:0),ce=1;ce<Z;ce++)ee[ce-1]=arguments[ce];var R=ee[0],y=ee[1];Object(O.b)(h.a.isUri(R));var C=be.get(I.a).getModel(R);if(!C)throw Object(m.b)("resource");return ne(be.get(T.a),C,y,v.a.None)}),d.a.registerCommand("_executeFormatOnTypeProvider",function(be){for(var Z=arguments.length,ee=new Array(Z>1?Z-1:0),ce=1;ce<Z;ce++)ee[ce-1]=arguments[ce];var R=ee[0],y=ee[1],C=ee[2],z=ee[3];Object(O.b)(h.a.isUri(R)),Object(O.b)(p.a.isIPosition(y)),Object(O.b)(typeof C=="string");var G=be.get(I.a).getModel(R);if(!G)throw Object(m.b)("resource");return se(be.get(T.a),G,p.a.lift(y),C,z)})},hW8S:function(Ie,M,e){"use strict";e.d(M,"a",function(){return o}),e.d(M,"b",function(){return i});var u=e("VTBJ"),c=e("Ff2n"),r=e("Kwbf"),f=["expandable"],o="RC_TABLE_INTERNAL_COL_DEFINE";function i(a){var n=a.expandable,v=Object(c.a)(a,f),m;return"expandable"in a?m=Object(u.a)(Object(u.a)({},v),n):m=v,m.showExpandColumn===!1&&(m.expandIconColumnIndex=-1),m}},heNW:function(Ie,M){function e(u,c,r){switch(r.length){case 0:return u.call(c);case 1:return u.call(c,r[0]);case 2:return u.call(c,r[0],r[1]);case 3:return u.call(c,r[0],r[1],r[2])}return u.apply(c,r)}Ie.exports=e},hgQt:function(Ie,M,e){var u=e("Juji"),c=e("4sDh");function r(f,o){return f!=null&&c(f,o,u)}Ie.exports=r},hkzD:function(Ie,M,e){"use strict";e.d(M,"a",function(){return d});var u=e("y8nQ"),c=e("Vl3Y"),r=e("VTBJ"),f=e("nKUr"),o=e("T1Ok"),i=e("rePB"),a=e("DYRE"),n=e("zeV3"),v=e("GNNt"),m=e("wEI+"),h=e("ODXe"),t=e("UESt"),l=e("9mHw"),p=e("YSkC"),w=e("TSYQ"),S=e.n(w),k=e("q1tI"),T=e.n(k),I=e("lS/g"),Y=e("a7SZ"),$=e("fWo+"),A=T.a.forwardRef(function(O,E){var D=T.a.useContext(I.b),W=D.groupProps,te=Object(r.a)(Object(r.a)({},W),O),re=te.children,ye=te.collapsible,q=te.defaultCollapsed,oe=te.style,he=te.labelLayout,ue=te.title,ne=ue===void 0?O.label:ue,se=te.tooltip,be=te.align,Z=be===void 0?"start":be,ee=te.direction,ce=te.size,R=ce===void 0?32:ce,y=te.titleStyle,C=te.titleRender,z=te.spaceProps,G=te.extra,X=te.autoFocus,pe=Object(l.a)(function(){return q||!1},{value:O.collapsed,onChange:O.onCollapse}),ae=Object(h.a)(pe,2),Se=ae[0],Te=ae[1],je=Object(k.useContext)(m.a.ConfigContext),ft=je.getPrefixCls,fe=Object(Y.b)(O),ie=fe.ColWrapper,ge=fe.RowWrapper,Ve=ft("pro-form-group"),Ee=ye&&Object(f.jsx)(t.a,{style:{marginRight:8},rotate:Se?void 0:90}),Me=Object(f.jsx)(p.a,{label:Ee?Object(f.jsxs)("div",{children:[Ee,ne]}):ne,tooltip:se}),_e=Object(k.useCallback)(function(Ct){var Bt=Ct.children;return Object(f.jsx)(n.b,Object(r.a)(Object(r.a)({},z),{},{className:S()("".concat(Ve,"-container"),z==null?void 0:z.className),size:R,align:Z,direction:ee,style:Object(r.a)({rowGap:0},z==null?void 0:z.style),children:Bt}))},[Z,Ve,ee,R,z]),Re=C?C(Me,O):Me,et=Object(k.useMemo)(function(){var Ct=[],Bt=T.a.Children.toArray(re).map(function(qe,st){var ut;return T.a.isValidElement(qe)&&(qe==null||(ut=qe.props)===null||ut===void 0?void 0:ut.hidden)?(Ct.push(qe),null):st===0&&T.a.isValidElement(qe)&&X?T.a.cloneElement(qe,Object(r.a)(Object(r.a)({},qe.props),{},{autoFocus:X})):qe});return[Object(f.jsx)(ge,{Wrapper:_e,children:Bt},"children"),Ct.length>0?Object(f.jsx)("div",{style:{display:"none"},children:Ct}):null]},[re,ge,_e,X]),Xe=Object(h.a)(et,2),it=Xe[0],bt=Xe[1];return Object(f.jsx)(ie,{children:Object(f.jsxs)("div",{className:S()(Ve,Object(i.a)({},"".concat(Ve,"-twoLine"),he==="twoLine")),style:oe,ref:E,children:[bt,(ne||se||G)&&Object(f.jsx)("div",{className:"".concat(Ve,"-title"),style:y,onClick:function(){Te(!Se)},children:G?Object(f.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[Re,Object(f.jsx)("span",{onClick:function(Bt){return Bt.stopPropagation()},children:G})]}):Re}),ye&&Se?null:it]})})});A.displayName="ProForm-Group";var g=A,b=e("DVw6");function d(O){return Object(f.jsx)(o.a,Object(r.a)({layout:"vertical",submitter:{render:function(D,W){return W.reverse()}},contentRender:function(D,W){return Object(f.jsxs)(f.Fragment,{children:[D,W]})}},O))}d.Group=g,d.useForm=c.a.useForm,d.Item=b.a,d.useWatch=c.a.useWatch,d.ErrorList=c.a.ErrorList,d.Provider=c.a.Provider,d.useFormInstance=c.a.useFormInstance},hprd:function(Ie,M,e){},hypo:function(Ie,M,e){var u=e("O0oS");function c(r,f,o){f=="__proto__"&&u?u(r,f,{configurable:!0,enumerable:!0,value:o,writable:!0}):r[f]=o}Ie.exports=c},"i/Ef":function(Ie,M,e){"use strict";e.d(M,"c",function(){return i}),e.d(M,"b",function(){return a}),e.d(M,"a",function(){return n}),e.d(M,"d",function(){return v}),e.d(M,"e",function(){return m});var u=e("fWQN"),c=e("mtLc"),r=e("Tcc1"),f=e("twdY"),o=function(){function h(){Object(u.a)(this,h)}return Object(c.a)(h,[{key:"clone",value:function(){return this}},{key:"equals",value:function(l){return this===l}}]),h}(),i=new o,a="vs.editor.nullMode",n=new f.s(a,0);function v(h,t,l,p){return new r.b([new r.a(p,"",h)],l)}function m(h,t,l,p){var w=new Uint32Array(2);return w[0]=p,w[1]=(h<<0|0<<8|0<<11|1<<14|2<<23)>>>0,new r.c(w,l===null?i:l)}},"i/Rh":function(Ie,M,e){},i04g:function(Ie,M,e){"use strict";e.d(M,"b",function(){return o}),e.d(M,"a",function(){return i});var u=e("fWQN"),c=e("mtLc"),r=e("3/fG"),f=function(){function n(v,m){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m;Object(u.a)(this,n),this.modifierLabels=[null],this.modifierLabels[2]=v,this.modifierLabels[1]=m,this.modifierLabels[3]=h}return Object(c.a)(n,[{key:"toLabel",value:function(m,h,t){if(h.length===0)return null;for(var l=[],p=0,w=h.length;p<w;p++){var S=h[p],k=t(S);if(k===null)return null;l[p]=a(S,k,this.modifierLabels[m])}return l.join(" ")}}]),n}(),o=new f({ctrlKey:"\u2303",shiftKey:"\u21E7",altKey:"\u2325",metaKey:"\u2318",separator:""},{ctrlKey:r.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:r.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:r.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:r.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:r.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:r.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:r.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:r.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),i=new f({ctrlKey:r.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:r.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:r.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:r.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:r.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:r.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:r.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:r.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:r.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:r.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:r.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:r.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function a(n,v,m){if(v===null)return"";var h=[];return n.ctrlKey&&h.push(m.ctrlKey),n.shiftKey&&h.push(m.shiftKey),n.altKey&&h.push(m.altKey),n.metaKey&&h.push(m.metaKey),v!==""&&h.push(v),h.join(m.separator)}},i6bk:function(Ie,M,e){"use strict";e.d(M,"b",function(){return u}),e.d(M,"a",function(){return c});function u(r){return r!=null&&r===r.window}function c(r,f){var o,i;if(typeof window=="undefined")return 0;var a=f?"scrollTop":"scrollLeft",n=0;return u(r)?n=r[f?"pageYOffset":"pageXOffset"]:r instanceof Document?n=r.documentElement[a]:(r instanceof HTMLElement||r)&&(n=r[a]),r&&!u(r)&&typeof n!="number"&&(n=(i=((o=r.ownerDocument)!==null&&o!==void 0?o:r).documentElement)===null||i===void 0?void 0:i[a]),n}},iBet:function(Ie,M,e){var u=e("b5wT"),c=e("F9We").Graph;Ie.exports=r;function r(o,i,a){var n=f(o),v=new c({compound:!0}).setGraph({root:n}).setDefaultNodeLabel(function(m){return o.node(m)});return u.forEach(o.nodes(),function(m){var h=o.node(m),t=o.parent(m);(h.rank===i||h.minRank<=i&&i<=h.maxRank)&&(v.setNode(m),v.setParent(m,t||n),u.forEach(o[a](m),function(l){var p=l.v===m?l.w:l.v,w=v.edge(p,m),S=u.isUndefined(w)?0:w.weight;v.setEdge(p,m,{weight:o.edge(l).weight+S})}),u.has(h,"minRank")&&v.setNode(m,{borderLeft:h.borderLeft[i],borderRight:h.borderRight[i]}))}),v}function f(o){for(var i;o.hasNode(i=u.uniqueId("_root")););return i}},iDAx:function(Ie,M,e){"use strict";e.d(M,"b",function(){return k}),e.d(M,"a",function(){return b}),e.d(M,"d",function(){return ue}),e.d(M,"c",function(){return ne});var u=e("yKVA"),c=e("879j"),r=e("rAM+"),f=e("fWQN"),o=e("mtLc"),i=e("3/fG"),a=e("MI8n"),n=e("pmY6"),v=e("qj0h"),m=e("6OMU"),h=e("/UlZ"),t=e("Yr1X"),l=e("+3Gp"),p=e("CRAX"),w=e("ic2d"),S=e("vl9R"),k=new(function(){function se(){Object(f.a)(this,se),this._tabFocus=!1,this._onDidChangeTabFocus=new a.a,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}return Object(o.a)(se,[{key:"getTabFocusMode",value:function(){return this._tabFocus}},{key:"setTabFocusMode",value:function(Z){this._tabFocus!==Z&&(this._tabFocus=Z,this._onDidChangeTabFocus.fire(this._tabFocus))}}]),se}()),T=Object.hasOwnProperty,I=function(){function se(){Object(f.a)(this,se),this._values=[]}return Object(o.a)(se,[{key:"_read",value:function(Z){return this._values[Z]}},{key:"get",value:function(Z){return this._values[Z]}},{key:"_write",value:function(Z,ee){this._values[Z]=ee}}]),se}(),Y=function(){function se(){Object(f.a)(this,se),this._values=[]}return Object(o.a)(se,[{key:"_read",value:function(Z){return this._values[Z]}},{key:"_write",value:function(Z,ee){this._values[Z]=ee}}]),se}(),$=function(){function se(){Object(f.a)(this,se)}return Object(o.a)(se,null,[{key:"readOptions",value:function(Z){var ee=Z,ce=new Y,R=Object(r.a)(h.l),y;try{for(R.s();!(y=R.n()).done;){var C=y.value,z=C.name==="_never_"?void 0:ee[C.name];ce._write(C.id,z)}}catch(G){R.e(G)}finally{R.f()}return ce}},{key:"validateOptions",value:function(Z){var ee=new h.j,ce=Object(r.a)(h.l),R;try{for(ce.s();!(R=ce.n()).done;){var y=R.value;ee._write(y.id,y.validate(Z._read(y.id)))}}catch(C){ce.e(C)}finally{ce.f()}return ee}},{key:"computeOptions",value:function(Z,ee){var ce=new I,R=Object(r.a)(h.l),y;try{for(R.s();!(y=R.n()).done;){var C=y.value;ce._write(C.id,C.compute(ee,ce,Z._read(C.id)))}}catch(z){R.e(z)}finally{R.f()}return ce}},{key:"_deepEquals",value:function(Z,ee){if(typeof Z!="object"||typeof ee!="object")return Z===ee;if(Array.isArray(Z)||Array.isArray(ee))return Array.isArray(Z)&&Array.isArray(ee)?m.g(Z,ee):!1;for(var ce in Z)if(!se._deepEquals(Z[ce],ee[ce]))return!1;return!0}},{key:"checkEquals",value:function(Z,ee){var ce=[],R=!1,y=Object(r.a)(h.l),C;try{for(y.s();!(C=y.n()).done;){var z=C.value,G=!se._deepEquals(Z._read(z.id),ee._read(z.id));ce[z.id]=G,G&&(R=!0)}}catch(X){y.e(X)}finally{y.f()}return R?new h.b(ce):null}}]),se}();function A(se){var be=se.wordWrap;be===!0?se.wordWrap="on":be===!1&&(se.wordWrap="off");var Z=se.lineNumbers;Z===!0?se.lineNumbers="on":Z===!1&&(se.lineNumbers="off");var ee=se.autoClosingBrackets;ee===!1&&(se.autoClosingBrackets="never",se.autoClosingQuotes="never",se.autoSurround="never");var ce=se.cursorBlinking;ce==="visible"&&(se.cursorBlinking="solid");var R=se.renderWhitespace;R===!0?se.renderWhitespace="boundary":R===!1&&(se.renderWhitespace="none");var y=se.renderLineHighlight;y===!0?se.renderLineHighlight="line":y===!1&&(se.renderLineHighlight="none");var C=se.acceptSuggestionOnEnter;C===!0?se.acceptSuggestionOnEnter="on":C===!1&&(se.acceptSuggestionOnEnter="off");var z=se.tabCompletion;z===!1?se.tabCompletion="off":z===!0&&(se.tabCompletion="onlySnippets");var G=se.suggest;if(G&&typeof G.filteredTypes=="object"&&G.filteredTypes){var X={};X.method="showMethods",X.function="showFunctions",X.constructor="showConstructors",X.field="showFields",X.variable="showVariables",X.class="showClasses",X.struct="showStructs",X.interface="showInterfaces",X.module="showModules",X.property="showProperties",X.event="showEvents",X.operator="showOperators",X.unit="showUnits",X.value="showValues",X.constant="showConstants",X.enum="showEnums",X.enumMember="showEnumMembers",X.keyword="showKeywords",X.text="showWords",X.color="showColors",X.file="showFiles",X.reference="showReferences",X.folder="showFolders",X.typeParameter="showTypeParameters",X.snippet="showSnippets",Object(S.b)(X,function(je){var ft=G.filteredTypes[je.key];ft===!1&&(G[je.value]=ft)})}var pe=se.hover;pe===!0?se.hover={enabled:!0}:pe===!1&&(se.hover={enabled:!1});var ae=se.parameterHints;ae===!0?se.parameterHints={enabled:!0}:ae===!1&&(se.parameterHints={enabled:!1});var Se=se.autoIndent;Se===!0?se.autoIndent="full":Se===!1&&(se.autoIndent="advanced");var Te=se.matchBrackets;Te===!0?se.matchBrackets="always":Te===!1&&(se.matchBrackets="never")}function g(se){var be=v.b(se);return A(be),be}var b=function(se){Object(u.a)(Z,se);var be=Object(c.a)(Z);function Z(ee,ce){var R;return Object(f.a)(this,Z),R=be.call(this),R._onDidChange=R._register(new a.a),R.onDidChange=R._onDidChange.event,R._onDidChangeFast=R._register(new a.a),R.onDidChangeFast=R._onDidChangeFast.event,R.isSimpleWidget=ee,R._isDominatedByLongLines=!1,R._computeOptionsMemory=new h.a,R._viewLineCount=1,R._lineNumbersDigitCount=1,R._rawOptions=g(ce),R._readOptions=$.readOptions(R._rawOptions),R._validatedOptions=$.validateOptions(R._readOptions),R._register(t.a.onDidChangeZoomLevel(function(y){return R._recomputeOptions()})),R._register(k.onDidChangeTabFocus(function(y){return R._recomputeOptions()})),R}return Object(o.a)(Z,[{key:"observeReferenceElement",value:function(ce){}},{key:"updatePixelRatio",value:function(){}},{key:"_recomputeOptions",value:function(){var ce=this.options,R=this._computeInternalOptions();if(!ce)this.options=R;else{var y=$.checkEquals(ce,R);if(y===null)return;this.options=R,this._onDidChangeFast.fire(y),this._onDidChange.fire(y)}}},{key:"getRawOptions",value:function(){return this._rawOptions}},{key:"_computeInternalOptions",value:function(){var ce=this._getEnvConfiguration(),R=l.a.createFromValidatedSettings(this._validatedOptions,ce.zoomLevel,ce.pixelRatio,this.isSimpleWidget),y={memory:this._computeOptionsMemory,outerWidth:ce.outerWidth,outerHeight:ce.outerHeight,fontInfo:this.readConfiguration(R),extraEditorClassName:ce.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:ce.emptySelectionClipboard,pixelRatio:ce.pixelRatio,tabFocusMode:k.getTabFocusMode(),accessibilitySupport:ce.accessibilitySupport};return $.computeOptions(this._validatedOptions,y)}},{key:"updateOptions",value:function(ce){if(typeof ce!="undefined"){var R=g(ce);Z._subsetEquals(this._rawOptions,R)||(this._rawOptions=v.f(this._rawOptions,R||{}),this._readOptions=$.readOptions(this._rawOptions),this._validatedOptions=$.validateOptions(this._readOptions),this._recomputeOptions())}}},{key:"setIsDominatedByLongLines",value:function(ce){this._isDominatedByLongLines=ce,this._recomputeOptions()}},{key:"setMaxLineNumber",value:function(ce){var R=Z._digitCount(ce);this._lineNumbersDigitCount!==R&&(this._lineNumbersDigitCount=R,this._recomputeOptions())}},{key:"setViewLineCount",value:function(ce){this._viewLineCount!==ce&&(this._viewLineCount=ce,this._recomputeOptions())}}],[{key:"_subsetEquals",value:function(ce,R){for(var y in R)if(T.call(R,y)){var C=R[y],z=ce[y];if(z===C)continue;if(Array.isArray(z)&&Array.isArray(C)){if(!m.g(z,C))return!1;continue}if(z&&typeof z=="object"&&C&&typeof C=="object"){if(!this._subsetEquals(z,C))return!1;continue}return!1}return!0}},{key:"_digitCount",value:function(ce){for(var R=0;ce;)ce=Math.floor(ce/10),R++;return R||1}}]),Z}(n.a),d=Object.freeze({id:"editor",order:5,type:"object",title:i.a("editorConfigurationTitle","Editor"),scope:5}),O=w.a.as(p.a.Configuration),E=Object.assign(Object.assign({},d),{properties:{"editor.tabSize":{type:"number",default:h.d.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:h.d.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:h.d.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.trimAutoWhitespace":{type:"boolean",default:h.d.trimAutoWhitespace,description:i.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:h.d.largeFileOptimizations,description:i.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:i.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[i.a("wordBasedSuggestionsMode.currentDocument","Only suggest words from the active document."),i.a("wordBasedSuggestionsMode.matchingDocuments","Suggest words from all open documents of the same language."),i.a("wordBasedSuggestionsMode.allDocuments","Suggest words from all open documents.")],description:i.a("wordBasedSuggestionsMode","Controls from which documents word based completions are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[i.a("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),i.a("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),i.a("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:i.a("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"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.maxTokenizationLineLength":{type:"integer",default:2e4,description:i.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:i.a("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"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","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:i.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:i.a("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:"inherit",markdownEnumDescriptions:[i.a("wordWrap.off","Lines will never wrap."),i.a("wordWrap.on","Lines will wrap at the viewport width."),i.a("wordWrap.inherit","Lines will wrap according to the `#editor.wordWrap#` setting.")]}}});function D(se){return typeof se.type!="undefined"||typeof se.anyOf!="undefined"}var W=Object(r.a)(h.l),te;try{for(W.s();!(te=W.n()).done;){var re=te.value,ye=re.schema;if(typeof ye!="undefined")if(D(ye))E.properties["editor.".concat(re.name)]=ye;else for(var q in ye)T.call(ye,q)&&(E.properties[q]=ye[q])}}catch(se){W.e(se)}finally{W.f()}var oe=null;function he(){return oe===null&&(oe=Object.create(null),Object.keys(E.properties).forEach(function(se){oe[se]=!0})),oe}function ue(se){var be=he();return be["editor.".concat(se)]||!1}function ne(se){var be=he();return be["diffEditor.".concat(se)]||!1}O.registerConfiguration(E)},iGn7:function(Ie,M,e){"use strict";var u=e("rePB"),c=e("GNNt"),r=e("wEI+"),f=e("nKUr"),o=e.n(f),i=e("4i/N"),a=e("8Skl"),n=e("LQCs"),v=e("TSYQ"),m=e.n(v),h=e("q1tI"),t=e.n(h),l=e("pAY0"),p=e.n(l),w=function(k,T){var I,Y=k.label,$=k.onClear,A=k.value,g=k.size,b=g===void 0?"middle":g,d=k.disabled,O=k.onLabelClick,E=k.ellipsis,D=k.placeholder,W=k.className,te=k.style,re=k.formatter,ye=k.bordered,q=k.allowClear,oe=q===void 0?!0:q,he=Object(h.useContext)(r.a.ConfigContext),ue=he.getPrefixCls,ne=ue("pro-core-field-label"),se=Object(n.d)(),be=Object(h.useRef)(null),Z=Object(h.useRef)(null);Object(h.useImperativeHandle)(T,function(){return{labelRef:Z,clearRef:be}});var ee=function(y){return re?re(y):Array.isArray(y)?y.join(","):y},ce=function(y,C){if(C!=null&&C!==""&&(!Array.isArray(C)||C.length)){var z,G,X=y?Object(f.jsxs)("span",{onClick:O,className:"".concat(ne,"-text"),children:[y,": "]}):"",pe=ee(C);if(!E)return Object(f.jsxs)("span",{style:{display:"inline-flex",alignItems:"center"},children:[X,ee(C)]});var ae=41,Se=function(){var ft=Array.isArray(C)&&C.length>1,fe=se.getMessage("form.lightFilter.itemUnit","\u9879");return typeof pe=="string"&&pe.length>ae&&ft?"...".concat(C.length).concat(fe):""},Te=Se();return Object(f.jsxs)("span",{title:typeof pe=="string"?pe:void 0,style:{display:"inline-flex",alignItems:"center"},children:[X,Object(f.jsx)("span",{style:{paddingLeft:4},children:typeof pe=="string"?pe==null||(z=pe.toString())===null||z===void 0||(G=z.substr)===null||G===void 0?void 0:G.call(z,0,ae):pe}),Te]})}return y||D};return Object(f.jsxs)("span",{className:m()(ne,"".concat(ne,"-").concat(b),(I={},Object(u.a)(I,"".concat(ne,"-active"),!!A||A===0),Object(u.a)(I,"".concat(ne,"-disabled"),d),Object(u.a)(I,"".concat(ne,"-bordered"),ye),Object(u.a)(I,"".concat(ne,"-allow-clear"),oe),I),W),style:te,ref:Z,children:[ce(Y,A),(A||A===0)&&oe&&Object(f.jsx)(i.a,{role:"button",title:"\u6E05\u9664",className:m()("".concat(ne,"-icon"),"".concat(ne,"-close")),onClick:function(y){$&&!d&&$(),y.stopPropagation()},ref:be}),Object(f.jsx)(a.a,{className:m()("".concat(ne,"-icon"),"".concat(ne,"-arrow"))})]})};M.a=t.a.forwardRef(w)},iOmF:function(Ie,M,e){"use strict";e.d(M,"a",function(){return d});var u=e("GNNt"),c=e("wEI+"),r=e("Ff2n"),f=e("rePB"),o=e("VTBJ"),i=e("ODXe"),a=e("nKUr"),n=e("q1tI"),v=e.n(n),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},h=m,t=e("6VBw"),l=function(E,D){return n.createElement(t.a,Object(o.a)(Object(o.a)({},E),{},{ref:D,icon:h}))};l.displayName="FilterOutlined";var p=n.forwardRef(l),w=e("LQCs"),S=e("iGn7"),k=e("JtZC"),T=e("TSYQ"),I=e.n(T),Y=e("BGR+"),$=e("T1Ok"),A=e("JF8p"),g=["size","collapse","collapseLabel","initialValues","onValuesChange","form","placement","formRef","bordered","ignoreRules","footerRender"],b=function(E){var D=E.items,W=E.prefixCls,te=E.size,re=te===void 0?"middle":te,ye=E.collapse,q=E.collapseLabel,oe=E.onValuesChange,he=E.bordered,ue=E.values,ne=E.footerRender,se=E.placement,be=Object(w.d)(),Z="".concat(W,"-light-filter"),ee=Object(n.useState)(!1),ce=Object(i.a)(ee,2),R=ce[0],y=ce[1],C=Object(n.useState)(function(){return Object(o.a)({},ue)}),z=Object(i.a)(C,2),G=z[0],X=z[1];Object(n.useEffect)(function(){X(Object(o.a)({},ue))},[ue]);var pe=Object(n.useMemo)(function(){var je=[],ft=[];return D.forEach(function(fe){var ie=fe.props||{},ge=ie.secondary;ge||ye?je.push(fe):ft.push(fe)}),{collapseItems:je,outsideItems:ft}},[E.items]),ae=pe.collapseItems,Se=pe.outsideItems,Te=function(){return q||(ye?Object(a.jsx)(p,{className:"".concat(Z,"-collapse-icon")}):Object(a.jsx)(S.a,{size:re,label:be.getMessage("form.lightFilter.more","\u66F4\u591A\u7B5B\u9009"),expanded:R}))};return Object(a.jsx)("div",{className:I()(Z,"".concat(Z,"-").concat(re),Object(f.a)({},"".concat(Z,"-effective"),Object.keys(ue).some(function(je){return ue[je]}))),children:Object(a.jsxs)("div",{className:"".concat(Z,"-container"),children:[Se.map(function(je,ft){var fe=je.key,ie=je.props.fieldProps,ge=(ie==null?void 0:ie.placement)?ie==null?void 0:ie.placement:se;return Object(a.jsx)("div",{className:"".concat(Z,"-item"),children:v.a.cloneElement(je,{fieldProps:Object(o.a)(Object(o.a)({},je.props.fieldProps),{},{placement:ge}),proFieldProps:{light:!0,label:je.props.label,bordered:he},bordered:he})},fe||ft)}),ae.length?Object(a.jsx)("div",{className:"".concat(Z,"-item"),children:Object(a.jsx)(k.a,{padding:24,onVisibleChange:y,visible:R,placement:se,label:Te(),footerRender:ne,footer:{onConfirm:function(){oe(Object(o.a)({},G)),y(!1)},onClear:function(){var ft={};ae.forEach(function(fe){var ie=fe.props.name;ft[ie]=void 0}),oe(ft)}},children:ae.map(function(je){var ft=je.key,fe=je.props,ie=fe.name,ge=fe.fieldProps,Ve=Object(o.a)(Object(o.a)({},ge),{},{onChange:function(_e){return X(Object(o.a)(Object(o.a)({},G),{},Object(f.a)({},ie,(_e==null?void 0:_e.target)?_e.target.value:_e))),!1}});G.hasOwnProperty(ie)&&(Ve[je.props.valuePropName||"value"]=G[ie]);var Ee=(ge==null?void 0:ge.placement)?ge==null?void 0:ge.placement:se;return Object(a.jsx)("div",{className:"".concat(Z,"-line"),children:v.a.cloneElement(je,{fieldProps:Object(o.a)(Object(o.a)({},Ve),{},{placement:Ee})})},ft)})})},"more"):null]})})};function d(O){var E=O.size,D=O.collapse,W=O.collapseLabel,te=O.initialValues,re=O.onValuesChange,ye=O.form,q=O.placement,oe=O.formRef,he=O.bordered,ue=O.ignoreRules,ne=O.footerRender,se=Object(r.a)(O,g),be=Object(n.useContext)(c.a.ConfigContext),Z=be.getPrefixCls,ee=Z("pro-form"),ce=Object(n.useState)(function(){return Object(o.a)({},te)}),R=Object(i.a)(ce,2),y=R[0],C=R[1],z=Object(n.useRef)();return Object(n.useImperativeHandle)(oe,function(){return z.current}),Object(a.jsx)($.a,Object(o.a)(Object(o.a)({size:E,initialValues:te,form:ye,contentRender:function(X){return Object(a.jsx)(b,{prefixCls:ee,items:X.flatMap(function(pe){return(pe==null?void 0:pe.type.displayName)==="ProForm-Group"?pe.props.children:pe}),size:E,bordered:he,collapse:D,collapseLabel:W,placement:q,values:y||{},footerRender:ne,onValuesChange:function(ae){var Se,Te,je=Object(o.a)(Object(o.a)({},y),ae);C(je),(Se=z.current)===null||Se===void 0||Se.setFieldsValue(je),(Te=z.current)===null||Te===void 0||Te.submit(),re&&re(ae,je)}})},formRef:z,formItemProps:{colon:!1,labelAlign:"left"},fieldProps:{style:{width:void 0}}},Object(Y.a)(se,["labelWidth"])),{},{onValuesChange:function(X,pe){var ae;C(pe),re==null||re(X,pe),(ae=z.current)===null||ae===void 0||ae.submit()}}))}},iQ9W:function(Ie,M,e){"use strict";var u=e("z6FA"),c=e("nXVj"),r=e("QupR");function f(i){return i.x+i.vx}function o(i){return i.y+i.vy}M.a=function(i){var a,n,v,m=1,h=1;typeof i!="function"&&(i=Object(c.a)(i==null?1:+i));function t(){for(var w,S=a.length,k,T,I,Y,$,A,g=0;g<h;++g)for(k=Object(u.a)(a,f,o).visitAfter(l),w=0;w<S;++w)T=a[w],$=n[T.index],A=$*$,I=T.x+T.vx,Y=T.y+T.vy,k.visit(b);function b(d,O,E,D,W){var te=d.data,re=d.r,ye=$+re;if(te){if(te.index>T.index){var q=I-te.x-te.vx,oe=Y-te.y-te.vy,he=q*q+oe*oe;he<ye*ye&&(q===0&&(q=Object(r.a)(v),he+=q*q),oe===0&&(oe=Object(r.a)(v),he+=oe*oe),he=(ye-(he=Math.sqrt(he)))/he*m,T.vx+=(q*=he)*(ye=(re*=re)/(A+re)),T.vy+=(oe*=he)*ye,te.vx-=q*(ye=1-ye),te.vy-=oe*ye)}return}return O>I+ye||D<I-ye||E>Y+ye||W<Y-ye}}function l(w){if(w.data)return w.r=n[w.data.index];for(var S=w.r=0;S<4;++S)w[S]&&w[S].r>w.r&&(w.r=w[S].r)}function p(){if(!!a){var w,S=a.length,k;for(n=new Array(S),w=0;w<S;++w)k=a[w],n[k.index]=+i(k,w,a)}}return t.initialize=function(w,S){a=w,v=S,p()},t.iterations=function(w){return arguments.length?(h=+w,t):h},t.strength=function(w){return arguments.length?(m=+w,t):m},t.radius=function(w){return arguments.length?(i=typeof w=="function"?w:Object(c.a)(+w),p(),t):i},t}},ic2d:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("fWQN"),c=e("mtLc"),r=e("746U"),f=e("FWmy"),o=function(){function a(){Object(u.a)(this,a),this.data=new Map}return Object(c.a)(a,[{key:"add",value:function(v,m){f.a(r.j(v)),f.a(r.i(m)),f.a(!this.data.has(v),"There is already an extension with this id"),this.data.set(v,m)}},{key:"as",value:function(v){return this.data.get(v)||null}}]),a}(),i=new o},idmN:function(Ie,M,e){var u=e("ZWtO"),c=e("FZoo"),r=e("4uTw");function f(o,i,a){for(var n=-1,v=i.length,m={};++n<v;){var h=i[n],t=u(o,h);a(t,h)&&c(m,r(h,o),t)}return m}Ie.exports=f},ipCM:function(Ie,M,e){"use strict";var u=e("uFwe"),c=e("U8pU");function r(f,o,i,a){if(f===o)return!0;if(f&&o&&Object(c.a)(f)==="object"&&Object(c.a)(o)==="object"){if(f.constructor!==o.constructor)return!1;var n,v,m;if(Array.isArray(f)){if(n=f.length,n!=o.length)return!1;for(v=n;v--!=0;)if(!r(f[v],o[v],i,a))return!1;return!0}if(f instanceof Map&&o instanceof Map){if(f.size!==o.size)return!1;var h=Object(u.a)(f.entries()),t;try{for(h.s();!(t=h.n()).done;)if(v=t.value,!o.has(v[0]))return!1}catch(T){h.e(T)}finally{h.f()}var l=Object(u.a)(f.entries()),p;try{for(l.s();!(p=l.n()).done;)if(v=p.value,!r(v[1],o.get(v[0]),i,a))return!1}catch(T){l.e(T)}finally{l.f()}return!0}if(f instanceof Set&&o instanceof Set){if(f.size!==o.size)return!1;var w=Object(u.a)(f.entries()),S;try{for(w.s();!(S=w.n()).done;)if(v=S.value,!o.has(v[0]))return!1}catch(T){w.e(T)}finally{w.f()}return!0}if(ArrayBuffer.isView(f)&&ArrayBuffer.isView(o)){if(n=f.length,n!=o.length)return!1;for(v=n;v--!=0;)if(f[v]!==o[v])return!1;return!0}if(f.constructor===RegExp)return f.source===o.source&&f.flags===o.flags;if(f.valueOf!==Object.prototype.valueOf&&f.valueOf)return f.valueOf()===o.valueOf();if(f.toString!==Object.prototype.toString&&f.toString)return f.toString()===o.toString();if(m=Object.keys(f),n=m.length,n!==Object.keys(o).length)return!1;for(v=n;v--!=0;)if(!Object.prototype.hasOwnProperty.call(o,m[v]))return!1;for(v=n;v--!=0;){var k=m[v];if(!(i==null?void 0:i.includes(k))&&!(k==="_owner"&&f.$$typeof)&&!r(f[k],o[k],i,a))return a&&console.log(k),!1}return!0}return f!==f&&o!==o}M.a=r},itsj:function(Ie,M){function e(u,c){if(!(c==="constructor"&&typeof u[c]=="function")&&c!="__proto__")return u[c]}Ie.exports=e},iuje:function(Ie,M,e){"use strict";e.d(M,"b",function(){return u}),e.d(M,"a",function(){return c});function u(r){return r&&typeof r.id=="string"}var c={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},"jAJ/":function(Ie,M,e){"use strict";e.d(M,"a",function(){return v}),e.d(M,"d",function(){return t}),e.d(M,"c",function(){return p}),e.d(M,"e",function(){return k}),e.d(M,"b",function(){return T});var u=e("fWQN"),c=e("mtLc"),r=e("N0LK"),f=e("5v8Y"),o=e("cGHE"),i=e("aokT"),a=e("M1Kb"),n=999,v=function(){function I(Y,$,A,g){Object(u.a)(this,I),this.searchString=Y,this.isRegex=$,this.matchCase=A,this.wordSeparators=g}return Object(c.a)(I,[{key:"parseSearchRequest",value:function(){if(this.searchString==="")return null;var $;this.isRegex?$=m(this.searchString):$=this.searchString.indexOf(`
- `)>=0;var A=null;try{A=r.q(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:$,global:!0,unicode:!0})}catch(b){return null}if(!A)return null;var g=!this.isRegex&&!$;return g&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(g=this.matchCase),new h(A,this.wordSeparators?Object(f.a)(this.wordSeparators):null,g?this.searchString:null)}}]),I}();function m(I){if(!I||I.length===0)return!1;for(var Y=0,$=I.length;Y<$;Y++){var A=I.charCodeAt(Y);if(A===92){if(Y++,Y>=$)break;var g=I.charCodeAt(Y);if(g===110||g===114||g===87||g===119)return!0}}return!1}var h=Object(c.a)(function I(Y,$,A){Object(u.a)(this,I),this.regex=Y,this.wordSeparators=$,this.simpleSearch=A});function t(I,Y,$){if(!$)return new a.b(I,null);for(var A=[],g=0,b=Y.length;g<b;g++)A[g]=Y[g];return new a.b(I,A)}var l=function(){function I(Y){Object(u.a)(this,I);for(var $=[],A=0,g=0,b=Y.length;g<b;g++)Y.charCodeAt(g)===10&&($[A++]=g);this._lineFeedsOffsets=$}return Object(c.a)(I,[{key:"findLineFeedCountBeforeOffset",value:function($){var A=this._lineFeedsOffsets,g=0,b=A.length-1;if(b===-1||$<=A[0])return 0;for(;g<b;){var d=g+((b-g)/2>>0);A[d]>=$?b=d-1:A[d+1]>=$?(g=d,b=d):g=d+1}return g+1}}]),I}(),p=function(){function I(){Object(u.a)(this,I)}return Object(c.a)(I,null,[{key:"findMatches",value:function($,A,g,b,d){var O=A.parseSearchRequest();return O?O.regex.multiline?this._doFindMatchesMultiline($,g,new T(O.wordSeparators,O.regex),b,d):this._doFindMatchesLineByLine($,g,O,b,d):[]}},{key:"_getMultilineMatchRange",value:function($,A,g,b,d,O){var E,D=0;b?(D=b.findLineFeedCountBeforeOffset(d),E=A+d+D):E=A+d;var W;if(b){var te=b.findLineFeedCountBeforeOffset(d+O.length),re=te-D;W=E+O.length+re}else W=E+O.length;var ye=$.getPositionAt(E),q=$.getPositionAt(W);return new i.a(ye.lineNumber,ye.column,q.lineNumber,q.column)}},{key:"_doFindMatchesMultiline",value:function($,A,g,b,d){var O=$.getOffsetAt(A.getStartPosition()),E=$.getValueInRange(A,1),D=$.getEOL()===`\r
- `?new l(E):null,W=[],te=0,re;for(g.reset(0);re=g.next(E);)if(W[te++]=t(this._getMultilineMatchRange($,O,E,D,re.index,re[0]),re,b),te>=d)return W;return W}},{key:"_doFindMatchesLineByLine",value:function($,A,g,b,d){var O=[],E=0;if(A.startLineNumber===A.endLineNumber){var D=$.getLineContent(A.startLineNumber).substring(A.startColumn-1,A.endColumn-1);return E=this._findMatchesInLine(g,D,A.startLineNumber,A.startColumn-1,E,O,b,d),O}var W=$.getLineContent(A.startLineNumber).substring(A.startColumn-1);E=this._findMatchesInLine(g,W,A.startLineNumber,A.startColumn-1,E,O,b,d);for(var te=A.startLineNumber+1;te<A.endLineNumber&&E<d;te++)E=this._findMatchesInLine(g,$.getLineContent(te),te,0,E,O,b,d);if(E<d){var re=$.getLineContent(A.endLineNumber).substring(0,A.endColumn-1);E=this._findMatchesInLine(g,re,A.endLineNumber,0,E,O,b,d)}return O}},{key:"_findMatchesInLine",value:function($,A,g,b,d,O,E,D){var W=$.wordSeparators;if(!E&&$.simpleSearch){for(var te=$.simpleSearch,re=te.length,ye=A.length,q=-re;(q=A.indexOf(te,q+re))!==-1;)if((!W||k(W,A,ye,q,re))&&(O[d++]=new a.b(new i.a(g,q+1+b,g,q+1+re+b),null),d>=D))return d;return d}var oe=new T($.wordSeparators,$.regex),he;oe.reset(0);do if(he=oe.next(A),he&&(O[d++]=t(new i.a(g,he.index+1+b,g,he.index+1+he[0].length+b),he,E),d>=D))return d;while(he);return d}},{key:"findNextMatch",value:function($,A,g,b){var d=A.parseSearchRequest();if(!d)return null;var O=new T(d.wordSeparators,d.regex);return d.regex.multiline?this._doFindNextMatchMultiline($,g,O,b):this._doFindNextMatchLineByLine($,g,O,b)}},{key:"_doFindNextMatchMultiline",value:function($,A,g,b){var d=new o.a(A.lineNumber,1),O=$.getOffsetAt(d),E=$.getLineCount(),D=$.getValueInRange(new i.a(d.lineNumber,d.column,E,$.getLineMaxColumn(E)),1),W=$.getEOL()===`\r
- `?new l(D):null;g.reset(A.column-1);var te=g.next(D);return te?t(this._getMultilineMatchRange($,O,D,W,te.index,te[0]),te,b):A.lineNumber!==1||A.column!==1?this._doFindNextMatchMultiline($,new o.a(1,1),g,b):null}},{key:"_doFindNextMatchLineByLine",value:function($,A,g,b){var d=$.getLineCount(),O=A.lineNumber,E=$.getLineContent(O),D=this._findFirstMatchInLine(g,E,O,A.column,b);if(D)return D;for(var W=1;W<=d;W++){var te=(O+W-1)%d,re=$.getLineContent(te+1),ye=this._findFirstMatchInLine(g,re,te+1,1,b);if(ye)return ye}return null}},{key:"_findFirstMatchInLine",value:function($,A,g,b,d){$.reset(b-1);var O=$.next(A);return O?t(new i.a(g,O.index+1,g,O.index+1+O[0].length),O,d):null}},{key:"findPreviousMatch",value:function($,A,g,b){var d=A.parseSearchRequest();if(!d)return null;var O=new T(d.wordSeparators,d.regex);return d.regex.multiline?this._doFindPreviousMatchMultiline($,g,O,b):this._doFindPreviousMatchLineByLine($,g,O,b)}},{key:"_doFindPreviousMatchMultiline",value:function($,A,g,b){var d=this._doFindMatchesMultiline($,new i.a(1,1,A.lineNumber,A.column),g,b,10*n);if(d.length>0)return d[d.length-1];var O=$.getLineCount();return A.lineNumber!==O||A.column!==$.getLineMaxColumn(O)?this._doFindPreviousMatchMultiline($,new o.a(O,$.getLineMaxColumn(O)),g,b):null}},{key:"_doFindPreviousMatchLineByLine",value:function($,A,g,b){var d=$.getLineCount(),O=A.lineNumber,E=$.getLineContent(O).substring(0,A.column-1),D=this._findLastMatchInLine(g,E,O,b);if(D)return D;for(var W=1;W<=d;W++){var te=(d+O-W-1)%d,re=$.getLineContent(te+1),ye=this._findLastMatchInLine(g,re,te+1,b);if(ye)return ye}return null}},{key:"_findLastMatchInLine",value:function($,A,g,b){var d=null,O;for($.reset(0);O=$.next(A);)d=t(new i.a(g,O.index+1,g,O.index+1+O[0].length),O,b);return d}}]),I}();function w(I,Y,$,A,g){if(A===0)return!0;var b=Y.charCodeAt(A-1);if(I.get(b)!==0||b===13||b===10)return!0;if(g>0){var d=Y.charCodeAt(A);if(I.get(d)!==0)return!0}return!1}function S(I,Y,$,A,g){if(A+g===$)return!0;var b=Y.charCodeAt(A+g);if(I.get(b)!==0||b===13||b===10)return!0;if(g>0){var d=Y.charCodeAt(A+g-1);if(I.get(d)!==0)return!0}return!1}function k(I,Y,$,A,g){return w(I,Y,$,A,g)&&S(I,Y,$,A,g)}var T=function(){function I(Y,$){Object(u.a)(this,I),this._wordSeparators=Y,this._searchRegex=$,this._prevMatchStartIndex=-1,this._prevMatchLength=0}return Object(c.a)(I,[{key:"reset",value:function($){this._searchRegex.lastIndex=$,this._prevMatchStartIndex=-1,this._prevMatchLength=0}},{key:"next",value:function($){var A=$.length,g;do{if(this._prevMatchStartIndex+this._prevMatchLength===A||(g=this._searchRegex.exec($),!g))return null;var b=g.index,d=g[0].length;if(b===this._prevMatchStartIndex&&d===this._prevMatchLength){if(d===0){r.z($,A,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=b,this._prevMatchLength=d,!this._wordSeparators||k(this._wordSeparators,$,A,b,d))return g}while(g);return null}}]),I}()},jCWc:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("1GLa")},jFXE:function(Ie,M,e){"use strict";var u=e("b5wT"),c=e("F9We").Graph,r=e("tQ6r");Ie.exports={positionX:w,findType1Conflicts:f,findType2Conflicts:o,addConflict:a,hasConflict:n,verticalAlignment:v,horizontalCompaction:m,alignCoordinates:l,findSmallestWidthAlignment:t,balance:p};function f(T,I){var Y={};function $(A,g){var b=0,d=0,O=A.length,E=u.last(g);return u.forEach(g,function(D,W){var te=i(T,D),re=te?T.node(te).order:O;(te||D===E)&&(u.forEach(g.slice(d,W+1),function(ye){u.forEach(T.predecessors(ye),function(q){var oe=T.node(q),he=oe.order;(he<b||re<he)&&!(oe.dummy&&T.node(ye).dummy)&&a(Y,q,ye)})}),d=W+1,b=re)}),g}return u.reduce(I,$),Y}function o(T,I){var Y={};function $(g,b,d,O,E){var D;u.forEach(u.range(b,d),function(W){D=g[W],T.node(D).dummy&&u.forEach(T.predecessors(D),function(te){var re=T.node(te);re.dummy&&(re.order<O||re.order>E)&&a(Y,te,D)})})}function A(g,b){var d=-1,O,E=0;return u.forEach(b,function(D,W){if(T.node(D).dummy==="border"){var te=T.predecessors(D);te.length&&(O=T.node(te[0]).order,$(b,E,W,d,O),E=W,d=O)}$(b,E,b.length,O,g.length)}),b}return u.reduce(I,A),Y}function i(T,I){if(T.node(I).dummy)return u.find(T.predecessors(I),function(Y){return T.node(Y).dummy})}function a(T,I,Y){if(I>Y){var $=I;I=Y,Y=$}var A=T[I];A||(T[I]=A={}),A[Y]=!0}function n(T,I,Y){if(I>Y){var $=I;I=Y,Y=$}return u.has(T[I],Y)}function v(T,I,Y,$){var A={},g={},b={};return u.forEach(I,function(d){u.forEach(d,function(O,E){A[O]=O,g[O]=O,b[O]=E})}),u.forEach(I,function(d){var O=-1;u.forEach(d,function(E){var D=$(E);if(D.length){D=u.sortBy(D,function(q){return b[q]});for(var W=(D.length-1)/2,te=Math.floor(W),re=Math.ceil(W);te<=re;++te){var ye=D[te];g[E]===E&&O<b[ye]&&!n(Y,E,ye)&&(g[ye]=E,g[E]=A[E]=A[ye],O=b[ye])}}})}),{root:A,align:g}}function m(T,I,Y,$,A){var g={},b=h(T,I,Y,A),d=A?"borderLeft":"borderRight";function O(W,te){for(var re=b.nodes(),ye=re.pop(),q={};ye;)q[ye]?W(ye):(q[ye]=!0,re.push(ye),re=re.concat(te(ye))),ye=re.pop()}function E(W){g[W]=b.inEdges(W).reduce(function(te,re){return Math.max(te,g[re.v]+b.edge(re))},0)}function D(W){var te=b.outEdges(W).reduce(function(ye,q){return Math.min(ye,g[q.w]-b.edge(q))},Number.POSITIVE_INFINITY),re=T.node(W);te!==Number.POSITIVE_INFINITY&&re.borderType!==d&&(g[W]=Math.max(g[W],te))}return O(E,b.predecessors.bind(b)),O(D,b.successors.bind(b)),u.forEach($,function(W){g[W]=g[Y[W]]}),g}function h(T,I,Y,$){var A=new c,g=T.graph(),b=S(g.nodesep,g.edgesep,$);return u.forEach(I,function(d){var O;u.forEach(d,function(E){var D=Y[E];if(A.setNode(D),O){var W=Y[O],te=A.edge(W,D);A.setEdge(W,D,Math.max(b(T,E,O),te||0))}O=E})}),A}function t(T,I){return u.minBy(u.values(I),function(Y){var $=Number.NEGATIVE_INFINITY,A=Number.POSITIVE_INFINITY;return u.forIn(Y,function(g,b){var d=k(T,b)/2;$=Math.max(g+d,$),A=Math.min(g-d,A)}),$-A})}function l(T,I){var Y=u.values(I),$=u.min(Y),A=u.max(Y);u.forEach(["u","d"],function(g){u.forEach(["l","r"],function(b){var d=g+b,O=T[d],E;if(O!==I){var D=u.values(O);E=b==="l"?$-u.min(D):A-u.max(D),E&&(T[d]=u.mapValues(O,function(W){return W+E}))}})})}function p(T,I){return u.mapValues(T.ul,function(Y,$){if(I)return T[I.toLowerCase()][$];var A=u.sortBy(u.map(T,$));return(A[1]+A[2])/2})}function w(T){var I=r.buildLayerMatrix(T),Y=u.merge(f(T,I),o(T,I)),$={},A;u.forEach(["u","d"],function(b){A=b==="u"?I:u.values(I).reverse(),u.forEach(["l","r"],function(d){d==="r"&&(A=u.map(A,function(W){return u.values(W).reverse()}));var O=(b==="u"?T.predecessors:T.successors).bind(T),E=v(T,A,Y,O),D=m(T,A,E.root,E.align,d==="r");d==="r"&&(D=u.mapValues(D,function(W){return-W})),$[b+d]=D})});var g=t(T,$);return l($,g),p($,T.graph().align)}function S(T,I,Y){return function($,A,g){var b=$.node(A),d=$.node(g),O=0,E;if(O+=b.width/2,u.has(b,"labelpos"))switch(b.labelpos.toLowerCase()){case"l":E=-b.width/2;break;case"r":E=b.width/2;break}if(E&&(O+=Y?E:-E),E=0,O+=(b.dummy?I:T)/2,O+=(d.dummy?I:T)/2,O+=d.width/2,u.has(d,"labelpos"))switch(d.labelpos.toLowerCase()){case"l":E=d.width/2;break;case"r":E=-d.width/2;break}return E&&(O+=Y?E:-E),E=0,O}}function k(T,I){return T.node(I).width}},jRje:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("GNNt"),r=e("wEI+"),f=e("Ff2n"),o=e("nKUr"),i=e.n(o),a=e("TSYQ"),n=e.n(a),v=e("BGR+"),m=e("q1tI"),h=e.n(m),t=e("jYQm"),l=e("rsCp"),p=e.n(l),w=["children","className","extra","style","renderContent"],S=function(T){var I=T.children,Y=T.className,$=T.extra,A=T.style,g=T.renderContent,b=Object(f.a)(T,w),d=Object(m.useContext)(r.a.ConfigContext),O=d.getPrefixCls,E=T.prefixCls||O("pro"),D="".concat(E,"-footer-bar"),W=Object(m.useContext)(t.a),te=Object(m.useMemo)(function(){var ye=W.hasSiderMenu,q=W.isMobile,oe=W.siderWidth;if(!!ye)return oe?q?"100%":"calc(100% - ".concat(oe,"px)"):"100%"},[W.collapsed,W.hasSiderMenu,W.isMobile,W.siderWidth]),re=Object(o.jsxs)(o.Fragment,{children:[Object(o.jsx)("div",{className:"".concat(D,"-left"),children:$}),Object(o.jsx)("div",{className:"".concat(D,"-right"),children:I})]});return Object(m.useEffect)(function(){return!W||!(W==null?void 0:W.setHasFooterToolbar)?function(){}:(W==null||W.setHasFooterToolbar(!0),function(){var ye;W==null||(ye=W.setHasFooterToolbar)===null||ye===void 0||ye.call(W,!1)})},[]),Object(o.jsx)("div",Object(u.a)(Object(u.a)({className:n()(Y,"".concat(D)),style:Object(u.a)({width:te},A)},Object(v.a)(b,["prefixCls"])),{},{children:g?g(Object(u.a)(Object(u.a)(Object(u.a)({},T),W),{},{leftWidth:te}),re):re}))};M.a=S},jSBL:function(Ie,M){function e(u,c){return u<c}Ie.exports=e},jYQm:function(Ie,M,e){"use strict";var u=e("q1tI"),c=e.n(u),r=Object(u.createContext)({});M.a=r},"jbM+":function(Ie,M,e){var u=e("R/W3");function c(r,f){var o=r==null?0:r.length;return!!o&&u(r,f,0)>-1}Ie.exports=c},jeLo:function(Ie,M,e){var u=e("juv8"),c=e("mTTR");function r(f){return u(f,c(f))}Ie.exports=r},jhiw:function(Ie,M,e){},jkmW:function(Ie,M,e){},juv8:function(Ie,M,e){var u=e("MrPd"),c=e("hypo");function r(f,o,i,a){var n=!i;i||(i={});for(var v=-1,m=o.length;++v<m;){var h=o[v],t=a?a(i[h],f[h],h,i,f):void 0;t===void 0&&(t=f[h]),n?c(i,h,t):u(i,h,t)}return i}Ie.exports=r},"k+1r":function(Ie,M,e){var u=e("QkVE");function c(r){var f=u(this,r).delete(r);return this.size-=f?1:0,f}Ie.exports=c},k2N2:function(Ie,M){var e=1e3,u=e*60,c=u*60,r=c*24,f=r*7,o=r*365.25;Ie.exports=function(m,h){h=h||{};var t=typeof m;if(t==="string"&&m.length>0)return i(m);if(t==="number"&&isFinite(m))return h.long?n(m):a(m);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(m))};function i(m){if(m=String(m),!(m.length>100)){var h=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(m);if(!!h){var t=parseFloat(h[1]),l=(h[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return t*o;case"weeks":case"week":case"w":return t*f;case"days":case"day":case"d":return t*r;case"hours":case"hour":case"hrs":case"hr":case"h":return t*c;case"minutes":case"minute":case"mins":case"min":case"m":return t*u;case"seconds":case"second":case"secs":case"sec":case"s":return t*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function a(m){var h=Math.abs(m);return h>=r?Math.round(m/r)+"d":h>=c?Math.round(m/c)+"h":h>=u?Math.round(m/u)+"m":h>=e?Math.round(m/e)+"s":m+"ms"}function n(m){var h=Math.abs(m);return h>=r?v(m,h,r,"day"):h>=c?v(m,h,c,"hour"):h>=u?v(m,h,u,"minute"):h>=e?v(m,h,e,"second"):m+" ms"}function v(m,h,t,l){var p=h>=t*1.5;return Math.round(m/t)+" "+l+(p?"s":"")}},k4Da:function(Ie,M,e){var u=e("LXxW"),c=e("n3Sm"),r=e("ut/Y"),f=e("Z0cm");function o(i,a){var n=f(i)?u:c;return n(i,r(a,3))}Ie.exports=o},k9mg:function(Ie,M,e){"use strict";e.d(M,"a",function(){return mn}),e.d(M,"b",function(){return It}),e.d(M,"e",function(){return Pe}),e.d(M,"d",function(){return Hi}),e.d(M,"c",function(){return Qi});var u=e("jrin"),c=e("tJVT"),r=e("tS8v"),f=e("w4Tj"),o=e("oZsa"),i=e("yKVA"),a=e("879j"),n=e("fWQN"),v=e("mtLc"),m=e("EffR"),h=e("4rho"),t=e("pmY6"),l=e("6OMU"),p=e("cqdO"),w=e("MI8n"),S=e("JQT/"),k=function(){function In(ve,x){Object(n.a)(this,In),this.renderer=ve,this.modelProvider=x}return Object(v.a)(In,[{key:"templateId",get:function(){return this.renderer.templateId}},{key:"renderTemplate",value:function(x){var le=this.renderer.renderTemplate(x);return{data:le,disposable:t.a.None}}},{key:"renderElement",value:function(x,le,me,Ae){var tt=this;if(me.disposable&&me.disposable.dispose(),!!me.data){var pt=this.modelProvider();if(pt.isResolved(x))return this.renderer.renderElement(pt.get(x),x,me.data,Ae);var ke=new S.b,we=pt.resolve(x,ke.token);me.disposable={dispose:function(){return ke.cancel()}},this.renderer.renderPlaceholder(x,me.data),we.then(function(Be){return tt.renderer.renderElement(Be,x,me.data,Ae)})}}},{key:"disposeTemplate",value:function(x){x.disposable&&(x.disposable.dispose(),x.disposable=void 0),x.data&&(this.renderer.disposeTemplate(x.data),x.data=void 0)}}]),In}(),T=function(){function In(ve,x){Object(n.a)(this,In),this.modelProvider=ve,this.accessibilityProvider=x}return Object(v.a)(In,[{key:"getWidgetAriaLabel",value:function(){return this.accessibilityProvider.getWidgetAriaLabel()}},{key:"getAriaLabel",value:function(x){var le=this.modelProvider();return le.isResolved(x)?this.accessibilityProvider.getAriaLabel(le.get(x)):null}}]),In}();function I(In,ve){return Object.assign(Object.assign({},ve),{accessibilityProvider:ve.accessibilityProvider&&new T(In,ve.accessibilityProvider)})}var Y=function(){function In(ve,x,le,me){var Ae=this,tt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};Object(n.a)(this,In);var pt=function(){return Ae.model},ke=me.map(function(we){return new k(we,pt)});this.list=new p.c(ve,x,le,ke,I(pt,tt))}return Object(v.a)(In,[{key:"updateOptions",value:function(x){this.list.updateOptions(x)}},{key:"getHTMLElement",value:function(){return this.list.getHTMLElement()}},{key:"onDidFocus",get:function(){return this.list.onDidFocus}},{key:"onDidDispose",get:function(){return this.list.onDidDispose}},{key:"onMouseDblClick",get:function(){var x=this;return w.b.map(this.list.onMouseDblClick,function(le){var me=le.element,Ae=le.index,tt=le.browserEvent;return{element:me===void 0?void 0:x._model.get(me),index:Ae,browserEvent:tt}})}},{key:"onPointer",get:function(){var x=this;return w.b.map(this.list.onPointer,function(le){var me=le.element,Ae=le.index,tt=le.browserEvent;return{element:me===void 0?void 0:x._model.get(me),index:Ae,browserEvent:tt}})}},{key:"onDidChangeSelection",get:function(){var x=this;return w.b.map(this.list.onDidChangeSelection,function(le){var me=le.elements,Ae=le.indexes,tt=le.browserEvent;return{elements:me.map(function(pt){return x._model.get(pt)}),indexes:Ae,browserEvent:tt}})}},{key:"model",get:function(){return this._model},set:function(x){this._model=x,this.list.splice(0,this.list.length,Object(l.q)(x.length))}},{key:"getFocus",value:function(){return this.list.getFocus()}},{key:"getSelection",value:function(){return this.list.getSelection()}},{key:"getSelectedElements",value:function(){var x=this;return this.getSelection().map(function(le){return x.model.get(le)})}},{key:"style",value:function(x){this.list.style(x)}},{key:"dispose",value:function(){this.list.dispose()}}]),In}(),$=e("3/fG"),A=e("+7oY"),g=e("CRAX"),b=e("T8No"),d=e("Cg/j"),O=e("bexQ"),E=e("ic2d"),D=e("ptcw"),W=e("t9D7"),te=e("FmXZ"),re=e("JYp7"),ye=e("rAM+"),q=e("oBTY"),oe=e("2V9f"),he=e("uDWl"),ue=e("ZKkB"),ne;(function(In){In[In.Unknown=0]="Unknown",In[In.Twistie=1]="Twistie",In[In.Element=2]="Element"})(ne||(ne={}));var se=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me){return Object(n.a)(this,x),ve.call(this,"TreeError [".concat(le,"] ").concat(me))}return Object(v.a)(x)}(Object(ue.a)(Error)),be=function(){function In(ve){Object(n.a)(this,In),this.fn=ve,this._map=new WeakMap}return Object(v.a)(In,[{key:"map",value:function(x){var le=this._map.get(x);return le||(le=this.fn(x),this._map.set(x,le)),le}}]),In}(),Z=e("ZQ78"),ee=e("feEw"),ce=e("4y0V"),R=e("fpMC"),y=e("+kx5"),C=e("Y9hK"),z=e("Qw5x"),G=e("u6e6");function X(In){return Object(y.a)(In)||Object(C.a)(In)||Object(z.a)(In)||Object(G.a)()}var pe=e("Gw4z");function ae(In){return typeof In=="object"&&"visibility"in In&&"data"in In}function Se(In){switch(In){case!0:return 1;case!1:return 0;default:return In}}function Te(In){return typeof In.collapsible=="boolean"}var je=function(){function In(ve,x,le){var me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};Object(n.a)(this,In),this.user=ve,this.list=x,this.rootRef=[],this.eventBufferer=new w.c,this._onDidChangeCollapseState=new w.a,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new w.a,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new w.a,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=typeof me.collapseByDefault=="undefined"?!1:me.collapseByDefault,this.filter=me.filter,this.autoExpandSingleChildren=typeof me.autoExpandSingleChildren=="undefined"?!1:me.autoExpandSingleChildren,this.root={parent:void 0,element:le,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}return Object(v.a)(In,[{key:"splice",value:function(x,le){var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:re.a.empty(),Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(x.length===0)throw new se(this.user,"Invalid tree location");Ae.diffIdentityProvider?this.spliceSmart(Ae.diffIdentityProvider,x,le,me,Ae):this.spliceSimple(x,le,me,Ae)}},{key:"spliceSmart",value:function(x,le,me,Ae,tt,pt){var ke=this,we;Ae===void 0&&(Ae=re.a.empty()),pt===void 0&&(pt=(we=tt.diffDepth)!==null&&we!==void 0?we:0);var Be=this.getParentNodeWithListIndex(le),Le=Be.parentNode,J=Object(q.a)(Ae),Ke=le[le.length-1],We=new pe.a({getElements:function(){return Le.children.map(function(zn){return x.getId(zn.element).toString()})}},{getElements:function(){return[].concat(Object(q.a)(Le.children.slice(0,Ke)),Object(q.a)(J),Object(q.a)(Le.children.slice(Ke+me))).map(function(zn){return x.getId(zn.element).toString()})}}).ComputeDiff(!1);if(We.quitEarly)return this.spliceSimple(le,me,J,tt);var Ot=le.slice(0,-1),Vt=function(zn,Tr,Qr){if(pt>0)for(var Qe=0;Qe<Qr;Qe++)zn--,Tr--,ke.spliceSmart(x,[].concat(Object(q.a)(Ot),[zn,0]),Number.MAX_SAFE_INTEGER,J[Tr].children,tt,pt-1)},$t=Math.min(Le.children.length,Ke+me),Gt=J.length,hn=Object(ye.a)(We.changes.sort(function(vr,zn){return zn.originalStart-vr.originalStart})),$n;try{for(hn.s();!($n=hn.n()).done;){var Sr=$n.value;Vt($t,Gt,$t-(Sr.originalStart+Sr.originalLength)),$t=Sr.originalStart,Gt=Sr.modifiedStart-Ke,this.spliceSimple([].concat(Object(q.a)(Ot),[$t]),Sr.originalLength,re.a.slice(J,Gt,Gt+Sr.modifiedLength),tt)}}catch(vr){hn.e(vr)}finally{hn.f()}Vt($t,Gt,$t)}},{key:"spliceSimple",value:function(x,le){for(var me=this,Ae,tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:re.a.empty(),pt=arguments.length>3?arguments[3]:void 0,ke=pt.onDidCreateNode,we=pt.onDidDeleteNode,Be=this.getParentNodeWithListIndex(x),Le=Be.parentNode,J=Be.listIndex,Ke=Be.revealed,We=Be.visible,Ot=[],Vt=re.a.map(tt,function(yi){return me.createTreeNode(yi,Le,Le.visible?1:0,Ke,Ot,ke)}),$t=x[x.length-1],Gt=Le.children.length>0,hn=0,$n=$t;$n>=0&&$n<Le.children.length;$n--){var Sr=Le.children[$n];if(Sr.visible){hn=Sr.visibleChildIndex;break}}var vr=[],zn=0,Tr=0,Qr=Object(ye.a)(Vt),Qe;try{for(Qr.s();!(Qe=Qr.n()).done;){var Jt=Qe.value;vr.push(Jt),Tr+=Jt.renderNodeCount,Jt.visible&&(Jt.visibleChildIndex=hn+zn++)}}catch(yi){Qr.e(yi)}finally{Qr.f()}var ln=(Ae=Le.children).splice.apply(Ae,[$t,le].concat(vr)),rn=0,An=Object(ye.a)(ln),fr;try{for(An.s();!(fr=An.n()).done;){var Pr=fr.value;Pr.visible&&rn++}}catch(yi){An.e(yi)}finally{An.f()}if(rn!==0)for(var kr=$t+vr.length;kr<Le.children.length;kr++){var Ar=Le.children[kr];Ar.visible&&(Ar.visibleChildIndex-=rn)}if(Le.visibleChildrenCount+=zn-rn,Ke&&We){var vi=ln.reduce(function(yi,Si){return yi+(Si.visible?Si.renderNodeCount:0)},0);this._updateAncestorsRenderNodeCount(Le,Tr-vi),this.list.splice(J,vi,Ot)}if(ln.length>0&&we){var Wi=function yi(Si){we(Si),Si.children.forEach(yi)};ln.forEach(Wi)}var di=Le.children.length>0;Gt!==di&&this.setCollapsible(x.slice(0,-1),di),this._onDidSplice.fire({insertedNodes:vr,deletedNodes:ln});for(var ri=Le;ri;){if(ri.visibility===2){this.refilter();break}ri=ri.parent}}},{key:"rerender",value:function(x){if(x.length===0)throw new se(this.user,"Invalid tree location");var le=this.getTreeNodeWithListIndex(x),me=le.node,Ae=le.listIndex,tt=le.revealed;me.visible&&tt&&this.list.splice(Ae,1,[me])}},{key:"has",value:function(x){return this.hasTreeNode(x)}},{key:"getListIndex",value:function(x){var le=this.getTreeNodeWithListIndex(x),me=le.listIndex,Ae=le.visible,tt=le.revealed;return Ae&&tt?me:-1}},{key:"getListRenderCount",value:function(x){return this.getTreeNode(x).renderNodeCount}},{key:"isCollapsible",value:function(x){return this.getTreeNode(x).collapsible}},{key:"setCollapsible",value:function(x,le){var me=this,Ae=this.getTreeNode(x);typeof le=="undefined"&&(le=!Ae.collapsible);var tt={collapsible:le};return this.eventBufferer.bufferEvents(function(){return me._setCollapseState(x,tt)})}},{key:"isCollapsed",value:function(x){return this.getTreeNode(x).collapsed}},{key:"setCollapsed",value:function(x,le,me){var Ae=this,tt=this.getTreeNode(x);typeof le=="undefined"&&(le=!tt.collapsed);var pt={collapsed:le,recursive:me||!1};return this.eventBufferer.bufferEvents(function(){return Ae._setCollapseState(x,pt)})}},{key:"_setCollapseState",value:function(x,le){var me=this.getTreeNodeWithListIndex(x),Ae=me.node,tt=me.listIndex,pt=me.revealed,ke=this._setListNodeCollapseState(Ae,tt,pt,le);if(Ae!==this.root&&this.autoExpandSingleChildren&&ke&&!Te(le)&&Ae.collapsible&&!Ae.collapsed&&!le.recursive){for(var we=-1,Be=0;Be<Ae.children.length;Be++){var Le=Ae.children[Be];if(Le.visible)if(we>-1){we=-1;break}else we=Be}we>-1&&this._setCollapseState([].concat(Object(q.a)(x),[we]),le)}return ke}},{key:"_setListNodeCollapseState",value:function(x,le,me,Ae){var tt=this._setNodeCollapseState(x,Ae,!1);if(!me||!x.visible||!tt)return tt;var pt=x.renderNodeCount,ke=this.updateNodeAfterCollapseChange(x),we=pt-(le===-1?0:1);return this.list.splice(le+1,we,ke.slice(1)),tt}},{key:"_setNodeCollapseState",value:function(x,le,me){var Ae;if(x===this.root?Ae=!1:(Te(le)?(Ae=x.collapsible!==le.collapsible,x.collapsible=le.collapsible):x.collapsible?(Ae=x.collapsed!==le.collapsed,x.collapsed=le.collapsed):Ae=!1,Ae&&this._onDidChangeCollapseState.fire({node:x,deep:me})),!Te(le)&&le.recursive){var tt=Object(ye.a)(x.children),pt;try{for(tt.s();!(pt=tt.n()).done;){var ke=pt.value;Ae=this._setNodeCollapseState(ke,le,!0)||Ae}}catch(we){tt.e(we)}finally{tt.f()}}return Ae}},{key:"expandTo",value:function(x){var le=this;this.eventBufferer.bufferEvents(function(){for(var me=le.getTreeNode(x);me.parent;)me=me.parent,x=x.slice(0,x.length-1),me.collapsed&&le._setCollapseState(x,{collapsed:!1,recursive:!1})})}},{key:"refilter",value:function(){var x=this.root.renderNodeCount,le=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,x,le)}},{key:"createTreeNode",value:function(x,le,me,Ae,tt,pt){var ke=this,we={parent:le,element:x.element,children:[],depth:le.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:typeof x.collapsible=="boolean"?x.collapsible:typeof x.collapsed!="undefined",collapsed:typeof x.collapsed=="undefined"?this.collapseByDefault:x.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},Be=this._filterNode(we,me);we.visibility=Be,Ae&&tt.push(we);var Le=x.children||re.a.empty(),J=Ae&&Be!==0&&!we.collapsed,Ke=re.a.map(Le,function(hn){return ke.createTreeNode(hn,we,Be,J,tt,pt)}),We=0,Ot=1,Vt=Object(ye.a)(Ke),$t;try{for(Vt.s();!($t=Vt.n()).done;){var Gt=$t.value;we.children.push(Gt),Ot+=Gt.renderNodeCount,Gt.visible&&(Gt.visibleChildIndex=We++)}}catch(hn){Vt.e(hn)}finally{Vt.f()}return we.collapsible=we.collapsible||we.children.length>0,we.visibleChildrenCount=We,we.visible=Be===2?We>0:Be===1,we.visible?we.collapsed||(we.renderNodeCount=Ot):(we.renderNodeCount=0,Ae&&tt.pop()),pt&&pt(we),we}},{key:"updateNodeAfterCollapseChange",value:function(x){var le=x.renderNodeCount,me=[];return this._updateNodeAfterCollapseChange(x,me),this._updateAncestorsRenderNodeCount(x.parent,me.length-le),me}},{key:"_updateNodeAfterCollapseChange",value:function(x,le){if(x.visible===!1)return 0;if(le.push(x),x.renderNodeCount=1,!x.collapsed){var me=Object(ye.a)(x.children),Ae;try{for(me.s();!(Ae=me.n()).done;){var tt=Ae.value;x.renderNodeCount+=this._updateNodeAfterCollapseChange(tt,le)}}catch(pt){me.e(pt)}finally{me.f()}}return this._onDidChangeRenderNodeCount.fire(x),x.renderNodeCount}},{key:"updateNodeAfterFilterChange",value:function(x){var le=x.renderNodeCount,me=[];return this._updateNodeAfterFilterChange(x,x.visible?1:0,me),this._updateAncestorsRenderNodeCount(x.parent,me.length-le),me}},{key:"_updateNodeAfterFilterChange",value:function(x,le,me){var Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,tt;if(x!==this.root){if(tt=this._filterNode(x,le),tt===0)return x.visible=!1,x.renderNodeCount=0,!1;Ae&&me.push(x)}var pt=me.length;x.renderNodeCount=x===this.root?0:1;var ke=!1;if(!x.collapsed||tt!==0){var we=0,Be=Object(ye.a)(x.children),Le;try{for(Be.s();!(Le=Be.n()).done;){var J=Le.value;ke=this._updateNodeAfterFilterChange(J,tt,me,Ae&&!x.collapsed)||ke,J.visible&&(J.visibleChildIndex=we++)}}catch(Ke){Be.e(Ke)}finally{Be.f()}x.visibleChildrenCount=we}else x.visibleChildrenCount=0;return x!==this.root&&(x.visible=tt===2?ke:tt===1),x.visible?x.collapsed||(x.renderNodeCount+=me.length-pt):(x.renderNodeCount=0,Ae&&me.pop()),this._onDidChangeRenderNodeCount.fire(x),x.visible}},{key:"_updateAncestorsRenderNodeCount",value:function(x,le){if(le!==0)for(;x;)x.renderNodeCount+=le,this._onDidChangeRenderNodeCount.fire(x),x=x.parent}},{key:"_filterNode",value:function(x,le){var me=this.filter?this.filter.filter(x.element,le):1;return typeof me=="boolean"?(x.filterData=void 0,me?1:0):ae(me)?(x.filterData=me.data,Se(me.visibility)):(x.filterData=void 0,Se(me))}},{key:"hasTreeNode",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.root;if(!x||x.length===0)return!0;var me=X(x),Ae=me[0],tt=me.slice(1);return Ae<0||Ae>le.children.length?!1:this.hasTreeNode(tt,le.children[Ae])}},{key:"getTreeNode",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.root;if(!x||x.length===0)return le;var me=X(x),Ae=me[0],tt=me.slice(1);if(Ae<0||Ae>le.children.length)throw new se(this.user,"Invalid tree location");return this.getTreeNode(tt,le.children[Ae])}},{key:"getTreeNodeWithListIndex",value:function(x){if(x.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var le=this.getParentNodeWithListIndex(x),me=le.parentNode,Ae=le.listIndex,tt=le.revealed,pt=le.visible,ke=x[x.length-1];if(ke<0||ke>me.children.length)throw new se(this.user,"Invalid tree location");var we=me.children[ke];return{node:we,listIndex:Ae,revealed:tt,visible:pt&&we.visible}}},{key:"getParentNodeWithListIndex",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.root,me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,tt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,pt=X(x),ke=pt[0],we=pt.slice(1);if(ke<0||ke>le.children.length)throw new se(this.user,"Invalid tree location");for(var Be=0;Be<ke;Be++)me+=le.children[Be].renderNodeCount;return Ae=Ae&&!le.collapsed,tt=tt&&le.visible,we.length===0?{parentNode:le,listIndex:me,revealed:Ae,visible:tt}:this.getParentNodeWithListIndex(we,le.children[ke],me+1,Ae,tt)}},{key:"getNode",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return this.getTreeNode(x)}},{key:"getNodeLocation",value:function(x){for(var le=[],me=x;me.parent;)le.push(me.parent.children.indexOf(me)),me=me.parent;return le.reverse()}},{key:"getParentNodeLocation",value:function(x){if(x.length!==0)return x.length===1?[]:Object(l.s)(x)[0]}}]),In}(),ft=e("X+cX"),fe=e("MNsG"),ie=e("Sdnv"),ge=e("vl9R"),Ve=e("Vhoy"),Ee=Object(Ve.e)("tree-item-expanded",Ve.b.chevronDown),Me=Object(Ve.e)("tree-filter-on-type-on",Ve.b.listFilter),_e=Object(Ve.e)("tree-filter-on-type-off",Ve.b.listSelection),Re=Object(Ve.e)("tree-filter-clear",Ve.b.close),et=Object(Ve.e)("tree-item-loading",Ve.b.loading),Xe=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le){var me;return Object(n.a)(this,x),me=ve.call(this,le.elements.map(function(Ae){return Ae.element})),me.data=le,me}return Object(v.a)(x)}(ee.a);function it(In){return In instanceof ee.a?new Xe(In):In}var bt=function(){function In(ve,x){Object(n.a)(this,In),this.modelProvider=ve,this.dnd=x,this.autoExpandDisposable=t.a.None}return Object(v.a)(In,[{key:"getDragURI",value:function(x){return this.dnd.getDragURI(x.element)}},{key:"getDragLabel",value:function(x,le){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(x.map(function(me){return me.element}),le)}},{key:"onDragStart",value:function(x,le){this.dnd.onDragStart&&this.dnd.onDragStart(it(x),le)}},{key:"onDragOver",value:function(x,le,me,Ae){var tt=this,pt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,ke=this.dnd.onDragOver(it(x),le&&le.element,me,Ae),we=this.autoExpandNode!==le;if(we&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=le),typeof le=="undefined")return ke;if(we&&typeof ke!="boolean"&&ke.autoExpand&&(this.autoExpandDisposable=Object(ft.i)(function(){var Sr=tt.modelProvider(),vr=Sr.getNodeLocation(le);Sr.isCollapsed(vr)&&Sr.setCollapsed(vr,!1),tt.autoExpandNode=void 0},500)),typeof ke=="boolean"||!ke.accept||typeof ke.bubble=="undefined"||ke.feedback){if(!pt){var Be=typeof ke=="boolean"?ke:ke.accept,Le=typeof ke=="boolean"?void 0:ke.effect;return{accept:Be,effect:Le,feedback:[me]}}return ke}if(ke.bubble===1){var J=this.modelProvider(),Ke=J.getNodeLocation(le),We=J.getParentNodeLocation(Ke),Ot=J.getNode(We),Vt=We&&J.getListIndex(We);return this.onDragOver(x,Ot,Vt,Ae,!1)}var $t=this.modelProvider(),Gt=$t.getNodeLocation(le),hn=$t.getListIndex(Gt),$n=$t.getListRenderCount(Gt);return Object.assign(Object.assign({},ke),{feedback:Object(l.q)(hn,hn+$n)})}},{key:"drop",value:function(x,le,me,Ae){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(it(x),le&&le.element,me,Ae)}},{key:"onDragEnd",value:function(x){this.dnd.onDragEnd&&this.dnd.onDragEnd(x)}}]),In}();function Ct(In,ve){return ve&&Object.assign(Object.assign({},ve),{identityProvider:ve.identityProvider&&{getId:function(le){return ve.identityProvider.getId(le.element)}},dnd:ve.dnd&&new bt(In,ve.dnd),multipleSelectionController:ve.multipleSelectionController&&{isSelectionSingleChangeEvent:function(le){return ve.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},le),{element:le.element}))},isSelectionRangeChangeEvent:function(le){return ve.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},le),{element:le.element}))}},accessibilityProvider:ve.accessibilityProvider&&Object.assign(Object.assign({},ve.accessibilityProvider),{getSetSize:function(le){var me=In(),Ae=me.getNodeLocation(le),tt=me.getParentNodeLocation(Ae),pt=me.getNode(tt);return pt.visibleChildrenCount},getPosInSet:function(le){return le.visibleChildIndex+1},isChecked:ve.accessibilityProvider&&ve.accessibilityProvider.isChecked?function(x){return ve.accessibilityProvider.isChecked(x.element)}:void 0,getRole:ve.accessibilityProvider&&ve.accessibilityProvider.getRole?function(x){return ve.accessibilityProvider.getRole(x.element)}:function(){return"treeitem"},getAriaLabel:function(le){return ve.accessibilityProvider.getAriaLabel(le.element)},getWidgetAriaLabel:function(){return ve.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:ve.accessibilityProvider&&ve.accessibilityProvider.getWidgetRole?function(){return ve.accessibilityProvider.getWidgetRole()}:function(){return"tree"},getAriaLevel:ve.accessibilityProvider&&ve.accessibilityProvider.getAriaLevel?function(x){return ve.accessibilityProvider.getAriaLevel(x.element)}:function(x){return x.depth},getActiveDescendantId:ve.accessibilityProvider.getActiveDescendantId&&function(x){return ve.accessibilityProvider.getActiveDescendantId(x.element)}}),keyboardNavigationLabelProvider:ve.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},ve.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:function(le){return ve.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(le.element)}}),enableKeyboardNavigation:ve.simpleKeyboardNavigation})}var Bt=function(){function In(ve){Object(n.a)(this,In),this.delegate=ve}return Object(v.a)(In,[{key:"getHeight",value:function(x){return this.delegate.getHeight(x.element)}},{key:"getTemplateId",value:function(x){return this.delegate.getTemplateId(x.element)}},{key:"hasDynamicHeight",value:function(x){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(x.element)}},{key:"setDynamicHeight",value:function(x,le){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(x.element,le)}}]),In}(),qe;(function(In){In.None="none",In.OnHover="onHover",In.Always="always"})(qe||(qe={}));var st=function(){function In(ve){var x=this,le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];Object(n.a)(this,In),this._elements=le,this.onDidChange=w.b.forEach(ve,function(me){return x._elements=me})}return Object(v.a)(In,[{key:"elements",get:function(){return this._elements}}]),In}(),ut=function(){function In(ve,x,le,me){var Ae=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};Object(n.a)(this,In),this.renderer=ve,this.modelProvider=x,this.activeNodes=me,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=In.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new ge.a,this.activeIndentNodes=new Set,this.indentGuidesDisposable=t.a.None,this.disposables=new t.b,this.templateId=ve.templateId,this.updateOptions(Ae),w.b.map(le,function(tt){return tt.node})(this.onDidChangeNodeTwistieState,this,this.disposables),ve.onDidChangeTwistieState&&ve.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}return Object(v.a)(In,[{key:"updateOptions",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof x.indent!="undefined"&&(this.indent=Object(ie.b)(x.indent,0,40)),typeof x.renderIndentGuides!="undefined"){var le=x.renderIndentGuides!==qe.None;if(le!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=le,this.indentGuidesDisposable.dispose(),le)){var me=new t.b;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,me),this.indentGuidesDisposable=me,this._onDidChangeActiveNodes(this.activeNodes.elements)}}typeof x.hideTwistiesOfChildlessElements!="undefined"&&(this.hideTwistiesOfChildlessElements=x.hideTwistiesOfChildlessElements)}},{key:"renderTemplate",value:function(x){var le=Object(m.append)(x,Object(m.$)(".monaco-tl-row")),me=Object(m.append)(le,Object(m.$)(".monaco-tl-indent")),Ae=Object(m.append)(le,Object(m.$)(".monaco-tl-twistie")),tt=Object(m.append)(le,Object(m.$)(".monaco-tl-contents")),pt=this.renderer.renderTemplate(tt);return{container:x,indent:me,twistie:Ae,indentGuidesDisposable:t.a.None,templateData:pt}}},{key:"renderElement",value:function(x,le,me,Ae){typeof Ae=="number"&&(this.renderedNodes.set(x,{templateData:me,height:Ae}),this.renderedElements.set(x.element,x));var tt=In.DefaultIndent+(x.depth-1)*this.indent;me.twistie.style.paddingLeft="".concat(tt,"px"),me.indent.style.width="".concat(tt+this.indent-16,"px"),this.renderTwistie(x,me),typeof Ae=="number"&&this.renderIndentGuides(x,me),this.renderer.renderElement(x,le,me.templateData,Ae)}},{key:"disposeElement",value:function(x,le,me,Ae){me.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(x,le,me.templateData,Ae),typeof Ae=="number"&&(this.renderedNodes.delete(x),this.renderedElements.delete(x.element))}},{key:"disposeTemplate",value:function(x){this.renderer.disposeTemplate(x.templateData)}},{key:"onDidChangeTwistieState",value:function(x){var le=this.renderedElements.get(x);!le||this.onDidChangeNodeTwistieState(le)}},{key:"onDidChangeNodeTwistieState",value:function(x){var le=this.renderedNodes.get(x);!le||(this.renderTwistie(x,le.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(x,le.templateData))}},{key:"renderTwistie",value:function(x,le){var me;(me=le.twistie.classList).remove.apply(me,Object(q.a)(Ee.classNamesArray));var Ae=!1;if(this.renderer.renderTwistie&&(Ae=this.renderer.renderTwistie(x.element,le.twistie)),x.collapsible&&(!this.hideTwistiesOfChildlessElements||x.visibleChildrenCount>0)){if(!Ae){var tt;(tt=le.twistie.classList).add.apply(tt,Object(q.a)(Ee.classNamesArray))}le.twistie.classList.add("collapsible"),le.twistie.classList.toggle("collapsed",x.collapsed)}else le.twistie.classList.remove("collapsible","collapsed");x.collapsible?le.container.setAttribute("aria-expanded",String(!x.collapsed)):le.container.removeAttribute("aria-expanded")}},{key:"renderIndentGuides",value:function(x,le){var me=this;if(Object(m.clearNode)(le.indent),le.indentGuidesDisposable.dispose(),!!this.shouldRenderIndentGuides){for(var Ae=new t.b,tt=this.modelProvider(),pt=x,ke=function(){var Le=tt.getNodeLocation(pt),J=tt.getParentNodeLocation(Le);if(!J)return"break";var Ke=tt.getNode(J),We=Object(m.$)(".indent-guide",{style:"width: ".concat(me.indent,"px")});me.activeIndentNodes.has(Ke)&&We.classList.add("active"),le.indent.childElementCount===0?le.indent.appendChild(We):le.indent.insertBefore(We,le.indent.firstElementChild),me.renderedIndentGuides.add(Ke,We),Ae.add(Object(t.h)(function(){return me.renderedIndentGuides.delete(Ke,We)})),pt=Ke};;){var we=ke();if(we==="break")break}le.indentGuidesDisposable=Ae}}},{key:"_onDidChangeActiveNodes",value:function(x){var le=this;if(!!this.shouldRenderIndentGuides){var me=new Set,Ae=this.modelProvider();x.forEach(function(tt){var pt=Ae.getNodeLocation(tt);try{var ke=Ae.getParentNodeLocation(pt);tt.collapsible&&tt.children.length>0&&!tt.collapsed?me.add(tt):ke&&me.add(Ae.getNode(ke))}catch(we){}}),this.activeIndentNodes.forEach(function(tt){me.has(tt)||le.renderedIndentGuides.forEach(tt,function(pt){return pt.classList.remove("active")})}),me.forEach(function(tt){le.activeIndentNodes.has(tt)||le.renderedIndentGuides.forEach(tt,function(pt){return pt.classList.add("active")})}),this.activeIndentNodes=me}}},{key:"dispose",value:function(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(t.f)(this.disposables)}}]),In}();ut.DefaultIndent=8;var nt=function(){function In(ve,x,le){Object(n.a)(this,In),this.tree=ve,this.keyboardNavigationLabelProvider=x,this._filter=le,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new t.b,ve.onWillRefilter(this.reset,this,this.disposables)}return Object(v.a)(In,[{key:"totalCount",get:function(){return this._totalCount}},{key:"matchCount",get:function(){return this._matchCount}},{key:"pattern",set:function(x){this._pattern=x,this._lowercasePattern=x.toLowerCase()}},{key:"filter",value:function(x,le){if(this._filter){var me=this._filter.filter(x,le);if(this.tree.options.simpleKeyboardNavigation)return me;var Ae;if(typeof me=="boolean"?Ae=me?1:0:ae(me)?Ae=Se(me.visibility):Ae=me,Ae===0)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:R.a.Default,visibility:!0};var tt=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(x),pt=Array.isArray(tt)?tt:[tt],ke=Object(ye.a)(pt),we;try{for(ke.s();!(we=ke.n()).done;){var Be=we.value,Le=Be&&Be.toString();if(typeof Le=="undefined")return{data:R.a.Default,visibility:!0};var J=Object(R.d)(this._pattern,this._lowercasePattern,0,Le,Le.toLowerCase(),0,!0);if(J)return this._matchCount++,pt.length===1?{data:J,visibility:!0}:{data:{label:Le,score:J},visibility:!0}}}catch(Ke){ke.e(Ke)}finally{ke.f()}return this.tree.options.filterOnType?2:{data:R.a.Default,visibility:!0}}},{key:"reset",value:function(){this._totalCount=0,this._matchCount=0}},{key:"dispose",value:function(){Object(t.f)(this.disposables)}}]),In}(),kt=function(){function In(ve,x,le,me,Ae){Object(n.a)(this,In),this.tree=ve,this.view=le,this.filter=me,this.keyboardNavigationDelegate=Ae,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new w.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new w.a,this.enabledDisposables=new t.b,this.disposables=new t.b,this.domNode=Object(m.$)(".monaco-list-type-filter.".concat(this.positionClassName)),this.domNode.draggable=!0,Object(ce.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(m.append)(le.getHTMLElement(),Object(m.$)(".monaco-list-type-filter-message")),this.labelDomNode=Object(m.append)(this.domNode,Object(m.$)("span.label"));var tt=Object(m.append)(this.domNode,Object(m.$)(".controls"));this._filterOnType=!!ve.options.filterOnType,this.filterOnTypeDomNode=Object(m.append)(tt,Object(m.$)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),Object(ce.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(m.append)(tt,Object(m.$)("button.clear"+Re.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object($.a)("clear","Clear"),this.keyboardNavigationEventFilter=ve.options.keyboardNavigationEventFilter,x.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(ve.options)}return Object(v.a)(In,[{key:"enabled",get:function(){return this._enabled}},{key:"pattern",get:function(){return this._pattern}},{key:"filterOnType",get:function(){return this._filterOnType}},{key:"updateOptions",value:function(x){x.simpleKeyboardNavigation?this.disable():this.enable(),typeof x.filterOnType!="undefined"&&(this._filterOnType=!!x.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType,this.updateFilterOnTypeTitleAndIcon()),typeof x.automaticKeyboardNavigation!="undefined"&&(this.automaticKeyboardNavigation=x.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}},{key:"enable",value:function(){var x=this;if(!this._enabled){var le=w.b.chain(Object(ce.a)(this.view.getHTMLElement(),"keydown")).filter(function(Ae){return!Object(p.e)(Ae.target)||Ae.target===x.filterOnTypeDomNode}).filter(function(Ae){return Ae.key!=="Dead"&&!/^Media/.test(Ae.key)}).map(function(Ae){return new he.a(Ae)}).filter(this.keyboardNavigationEventFilter||function(){return!0}).filter(function(){return x.automaticKeyboardNavigation||x.triggered}).filter(function(Ae){return x.keyboardNavigationDelegate.mightProducePrintableCharacter(Ae)&&!(Ae.keyCode===18||Ae.keyCode===16||Ae.keyCode===15||Ae.keyCode===17)||(x.pattern.length>0||x.triggered)&&(Ae.keyCode===9||Ae.keyCode===1)&&!Ae.altKey&&!Ae.ctrlKey&&!Ae.metaKey||Ae.keyCode===1&&(fe.f?Ae.altKey&&!Ae.metaKey:Ae.ctrlKey)&&!Ae.shiftKey}).forEach(function(Ae){Ae.stopPropagation(),Ae.preventDefault()}).event,me=Object(ce.a)(this.clearDomNode,"click");w.b.chain(w.b.any(le,me)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}}},{key:"disable",value:function(){!this._enabled||(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}},{key:"onEventOrInput",value:function(x){typeof x=="string"?this.onInput(x):x instanceof MouseEvent||x.keyCode===9||x.keyCode===1&&(fe.f?x.altKey:x.ctrlKey)?this.onInput(""):x.keyCode===1?this.onInput(this.pattern.length===0?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+x.browserEvent.key)}},{key:"onInput",value:function(x){var le=this.view.getHTMLElement();x&&!this.domNode.parentElement?le.append(this.domNode):!x&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=x,this._onDidChangePattern.fire(x),this.filter.pattern=x,this.tree.refilter(),x&&this.tree.focusNext(0,!0,void 0,function(tt){return!R.a.isDefault(tt.filterData)});var me=this.tree.getFocus();if(me.length>0){var Ae=me[0];this.tree.getRelativeTop(Ae)===null&&this.tree.reveal(Ae,.5)}this.render(),x||(this.triggered=!1)}},{key:"onDragStart",value:function(){var x=this,le=this.view.getHTMLElement(),me=Object(m.getDomNodePagePosition)(le),Ae=me.left,tt=le.clientWidth,pt=tt/2,ke=this.domNode.clientWidth,we=new t.b,Be=this.positionClassName,Le=function(){switch(Be){case"nw":x.domNode.style.top="4px",x.domNode.style.left="4px";break;case"ne":x.domNode.style.top="4px",x.domNode.style.left="".concat(tt-ke-6,"px");break}},J=function(Ot){Ot.preventDefault();var Vt=Ot.clientX-Ae;Ot.dataTransfer&&(Ot.dataTransfer.dropEffect="none"),Vt<pt?Be="nw":Be="ne",Le()},Ke=function(){x.positionClassName=Be,x.domNode.className="monaco-list-type-filter ".concat(x.positionClassName),x.domNode.style.top="",x.domNode.style.left="",Object(t.f)(we)};Le(),this.domNode.classList.remove(Be),this.domNode.classList.add("dragging"),we.add(Object(t.h)(function(){return x.domNode.classList.remove("dragging")})),Object(ce.a)(document,"dragover")(J,null,we),Object(ce.a)(this.domNode,"dragend")(Ke,null,we),Z.c.CurrentDragAndDropData=new Z.b("vscode-ui"),we.add(Object(t.h)(function(){return Z.c.CurrentDragAndDropData=void 0}))}},{key:"onDidSpliceModel",value:function(){!this._enabled||this.pattern.length===0||(this.tree.refilter(),this.render())}},{key:"onDidChangeFilterOnType",value:function(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}},{key:"updateFilterOnTypeTitleAndIcon",value:function(){if(this.filterOnType){var x,le;(x=this.filterOnTypeDomNode.classList).remove.apply(x,Object(q.a)(_e.classNamesArray)),(le=this.filterOnTypeDomNode.classList).add.apply(le,Object(q.a)(Me.classNamesArray)),this.filterOnTypeDomNode.title=Object($.a)("disable filter on type","Disable Filter on Type")}else{var me,Ae;(me=this.filterOnTypeDomNode.classList).remove.apply(me,Object(q.a)(Me.classNamesArray)),(Ae=this.filterOnTypeDomNode.classList).add.apply(Ae,Object(q.a)(_e.classNamesArray)),this.filterOnTypeDomNode.title=Object($.a)("enable filter on type","Enable Filter on Type")}}},{key:"render",value:function(){var x=this.filter.totalCount>0&&this.filter.matchCount===0;this.pattern&&this.tree.options.filterOnType&&x?(this.messageDomNode.textContent=Object($.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerText="",this._empty=!1),this.domNode.classList.toggle("no-matches",x),this.domNode.title=Object($.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"\u2026"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)}},{key:"shouldAllowFocus",value:function(x){return!this.enabled||!this.pattern||this.filterOnType||this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!R.a.isDefault(x.filterData)}},{key:"dispose",value:function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(t.f)(this.disposables)}}]),In}();function Sn(In){var ve=ne.Unknown;return Object(m.hasParentWithClass)(In.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?ve=ne.Twistie:Object(m.hasParentWithClass)(In.browserEvent.target,"monaco-tl-contents","monaco-tl-row")&&(ve=ne.Element),{browserEvent:In.browserEvent,element:In.element?In.element.element:null,target:ve}}function Tt(In,ve){ve(In),In.children.forEach(function(x){return Tt(x,ve)})}var ht=function(){function In(ve){Object(n.a)(this,In),this.identityProvider=ve,this.nodes=[],this._onDidChange=new w.a,this.onDidChange=this._onDidChange.event}return Object(v.a)(In,[{key:"nodeSet",get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}},{key:"set",value:function(x,le){var me;!((me=le)===null||me===void 0?void 0:me.__forceEvent)&&Object(l.g)(this.nodes,x)||this._set(x,!1,le)}},{key:"_set",value:function(x,le,me){if(this.nodes=Object(q.a)(x),this.elements=void 0,this._nodeSet=void 0,!le){var Ae=this;this._onDidChange.fire({get elements(){return Ae.get()},browserEvent:me})}}},{key:"get",value:function(){return this.elements||(this.elements=this.nodes.map(function(x){return x.element})),Object(q.a)(this.elements)}},{key:"getNodes",value:function(){return this.nodes}},{key:"has",value:function(x){return this.nodeSet.has(x)}},{key:"onDidModelSplice",value:function(x){var le=this,me=x.insertedNodes,Ae=x.deletedNodes;if(!this.identityProvider){var tt=this.createNodeSet(),pt=function($n){return tt.delete($n)};Ae.forEach(function(hn){return Tt(hn,pt)}),this.set(Object(q.a)(tt.values()));return}var ke=new Set,we=function($n){return ke.add(le.identityProvider.getId($n.element).toString())};Ae.forEach(function(hn){return Tt(hn,we)});var Be=new Map,Le=function($n){return Be.set(le.identityProvider.getId($n.element).toString(),$n)};me.forEach(function(hn){return Tt(hn,Le)});var J=[],Ke=Object(ye.a)(this.nodes),We;try{for(Ke.s();!(We=Ke.n()).done;){var Ot=We.value,Vt=this.identityProvider.getId(Ot.element).toString(),$t=ke.has(Vt);if(!$t)J.push(Ot);else{var Gt=Be.get(Vt);Gt&&J.push(Gt)}}}catch(hn){Ke.e(hn)}finally{Ke.f()}this._set(J,!0)}},{key:"createNodeSet",value:function(){var x=new Set,le=Object(ye.a)(this.nodes),me;try{for(le.s();!(me=le.n()).done;){var Ae=me.value;x.add(Ae)}}catch(tt){le.e(tt)}finally{le.f()}return x}}]),In}(),Rt=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me){var Ae;return Object(n.a)(this,x),Ae=ve.call(this,le),Ae.tree=me,Ae}return Object(v.a)(x,[{key:"onViewPointer",value:function(me){if(!(Object(p.e)(me.browserEvent.target)||Object(p.f)(me.browserEvent.target))){var Ae=me.element;if(!Ae)return Object(f.a)(Object(o.a)(x.prototype),"onViewPointer",this).call(this,me);if(this.isSelectionRangeChangeEvent(me)||this.isSelectionSingleChangeEvent(me))return Object(f.a)(Object(o.a)(x.prototype),"onViewPointer",this).call(this,me);var tt=me.browserEvent.target,pt=tt.classList.contains("monaco-tl-twistie")||tt.classList.contains("monaco-icon-label")&&tt.classList.contains("folder-icon")&&me.browserEvent.offsetX<16,ke=!1;if(typeof this.tree.expandOnlyOnTwistieClick=="function"?ke=this.tree.expandOnlyOnTwistieClick(Ae.element):ke=!!this.tree.expandOnlyOnTwistieClick,ke&&!pt&&me.browserEvent.detail!==2)return Object(f.a)(Object(o.a)(x.prototype),"onViewPointer",this).call(this,me);if(!this.tree.expandOnDoubleClick&&me.browserEvent.detail===2)return Object(f.a)(Object(o.a)(x.prototype),"onViewPointer",this).call(this,me);if(Ae.collapsible){var we=this.tree.model,Be=we.getNodeLocation(Ae),Le=me.browserEvent.altKey;if(this.tree.setFocus([Be]),we.setCollapsed(Be,void 0,Le),ke&&pt)return}Object(f.a)(Object(o.a)(x.prototype),"onViewPointer",this).call(this,me)}}},{key:"onDoubleClick",value:function(me){var Ae=me.browserEvent.target.classList.contains("monaco-tl-twistie");Ae||!this.tree.expandOnDoubleClick||Object(f.a)(Object(o.a)(x.prototype),"onDoubleClick",this).call(this,me)}}]),x}(p.d),Ft=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke,we,Be){var Le;return Object(n.a)(this,x),Le=ve.call(this,le,me,Ae,tt,Be),Le.focusTrait=pt,Le.selectionTrait=ke,Le.anchorTrait=we,Le}return Object(v.a)(x,[{key:"createMouseController",value:function(me){return new Rt(this,me.tree)}},{key:"splice",value:function(me,Ae){var tt=this,pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Object(f.a)(Object(o.a)(x.prototype),"splice",this).call(this,me,Ae,pt),pt.length!==0){var ke=[],we=[],Be;pt.forEach(function(Le,J){tt.focusTrait.has(Le)&&ke.push(me+J),tt.selectionTrait.has(Le)&&we.push(me+J),tt.anchorTrait.has(Le)&&(Be=me+J)}),ke.length>0&&Object(f.a)(Object(o.a)(x.prototype),"setFocus",this).call(this,Object(l.f)([].concat(Object(q.a)(Object(f.a)(Object(o.a)(x.prototype),"getFocus",this).call(this)),ke))),we.length>0&&Object(f.a)(Object(o.a)(x.prototype),"setSelection",this).call(this,Object(l.f)([].concat(Object(q.a)(Object(f.a)(Object(o.a)(x.prototype),"getSelection",this).call(this)),we))),typeof Be=="number"&&Object(f.a)(Object(o.a)(x.prototype),"setAnchor",this).call(this,Be)}}},{key:"setFocus",value:function(me,Ae){var tt=this,pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Object(f.a)(Object(o.a)(x.prototype),"setFocus",this).call(this,me,Ae),pt||this.focusTrait.set(me.map(function(ke){return tt.element(ke)}),Ae)}},{key:"setSelection",value:function(me,Ae){var tt=this,pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Object(f.a)(Object(o.a)(x.prototype),"setSelection",this).call(this,me,Ae),pt||this.selectionTrait.set(me.map(function(ke){return tt.element(ke)}),Ae)}},{key:"setAnchor",value:function(me){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Object(f.a)(Object(o.a)(x.prototype),"setAnchor",this).call(this,me),Ae||(typeof me=="undefined"?this.anchorTrait.set([]):this.anchorTrait.set([this.element(me)]))}}]),x}(p.c),nn=function(){function In(ve,x,le,me){var Ae=this,tt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};Object(n.a)(this,In),this._options=tt,this.eventBufferer=new w.c,this.disposables=new t.b,this._onWillRefilter=new w.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new w.a;var pt=new Bt(le),ke=new w.e,we=new w.e,Be=new st(we.event);this.renderers=me.map(function(Gt){return new ut(Gt,function(){return Ae.model},ke.event,Be,tt)});var Le=Object(ye.a)(this.renderers),J;try{for(Le.s();!(J=Le.n()).done;){var Ke=J.value;this.disposables.add(Ke)}}catch(Gt){Le.e(Gt)}finally{Le.f()}var We;tt.keyboardNavigationLabelProvider&&(We=new nt(this,tt.keyboardNavigationLabelProvider,tt.filter),tt=Object.assign(Object.assign({},tt),{filter:We}),this.disposables.add(We)),this.focus=new ht(tt.identityProvider),this.selection=new ht(tt.identityProvider),this.anchor=new ht(tt.identityProvider),this.view=new Ft(ve,x,pt,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},Ct(function(){return Ae.model},tt)),{tree:this})),this.model=this.createModel(ve,this.view,tt),ke.input=this.model.onDidChangeCollapseState;var Ot=w.b.forEach(this.model.onDidSplice,function(Gt){Ae.eventBufferer.bufferEvents(function(){Ae.focus.onDidModelSplice(Gt),Ae.selection.onDidModelSplice(Gt)})});if(Ot(function(){return null},null,this.disposables),we.input=w.b.chain(w.b.any(Ot,this.focus.onDidChange,this.selection.onDidChange)).debounce(function(){return null},0).map(function(){var Gt=new Set,hn=Object(ye.a)(Ae.focus.getNodes()),$n;try{for(hn.s();!($n=hn.n()).done;){var Sr=$n.value;Gt.add(Sr)}}catch(Qr){hn.e(Qr)}finally{hn.f()}var vr=Object(ye.a)(Ae.selection.getNodes()),zn;try{for(vr.s();!(zn=vr.n()).done;){var Tr=zn.value;Gt.add(Tr)}}catch(Qr){vr.e(Qr)}finally{vr.f()}return Object(q.a)(Gt.values())}).event,tt.keyboardSupport!==!1){var Vt=w.b.chain(this.view.onKeyDown).filter(function(Gt){return!Object(p.e)(Gt.target)}).map(function(Gt){return new he.a(Gt)});Vt.filter(function(Gt){return Gt.keyCode===15}).on(this.onLeftArrow,this,this.disposables),Vt.filter(function(Gt){return Gt.keyCode===17}).on(this.onRightArrow,this,this.disposables),Vt.filter(function(Gt){return Gt.keyCode===10}).on(this.onSpace,this,this.disposables)}if(tt.keyboardNavigationLabelProvider){var $t=tt.keyboardNavigationDelegate||p.a;this.typeFilterController=new kt(this,this.model,this.view,We,$t),this.focusNavigationFilter=function(Gt){return Ae.typeFilterController.shouldAllowFocus(Gt)},this.disposables.add(this.typeFilterController)}this.styleElement=Object(m.createStyleSheet)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===qe.Always)}return Object(v.a)(In,[{key:"onDidChangeFocus",get:function(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}},{key:"onDidChangeSelection",get:function(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}},{key:"onMouseDblClick",get:function(){return w.b.map(this.view.onMouseDblClick,Sn)}},{key:"onPointer",get:function(){return w.b.map(this.view.onPointer,Sn)}},{key:"onDidFocus",get:function(){return this.view.onDidFocus}},{key:"onDidChangeCollapseState",get:function(){return this.model.onDidChangeCollapseState}},{key:"expandOnDoubleClick",get:function(){return typeof this._options.expandOnDoubleClick=="undefined"?!0:this._options.expandOnDoubleClick}},{key:"expandOnlyOnTwistieClick",get:function(){return typeof this._options.expandOnlyOnTwistieClick=="undefined"?!0:this._options.expandOnlyOnTwistieClick}},{key:"onDidDispose",get:function(){return this.view.onDidDispose}},{key:"updateOptions",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._options=Object.assign(Object.assign({},this._options),x);var le=Object(ye.a)(this.renderers),me;try{for(le.s();!(me=le.n()).done;){var Ae=me.value;Ae.updateOptions(x)}}catch(tt){le.e(tt)}finally{le.f()}this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation,smoothScrolling:this._options.smoothScrolling,horizontalScrolling:this._options.horizontalScrolling}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===qe.Always)}},{key:"options",get:function(){return this._options}},{key:"getHTMLElement",value:function(){return this.view.getHTMLElement()}},{key:"scrollTop",get:function(){return this.view.scrollTop},set:function(x){this.view.scrollTop=x}},{key:"domFocus",value:function(){this.view.domFocus()}},{key:"layout",value:function(x,le){this.view.layout(x,le)}},{key:"style",value:function(x){var le=".".concat(this.view.domId),me=[];x.treeIndentGuidesStroke&&(me.push(".monaco-list".concat(le,":hover .monaco-tl-indent > .indent-guide, .monaco-list").concat(le,".always .monaco-tl-indent > .indent-guide { border-color: ").concat(x.treeIndentGuidesStroke.transparent(.4),"; }")),me.push(".monaco-list".concat(le," .monaco-tl-indent > .indent-guide.active { border-color: ").concat(x.treeIndentGuidesStroke,"; }"))),this.styleElement.textContent=me.join(`
- `),this.view.style(x)}},{key:"collapse",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return this.model.setCollapsed(x,!0,le)}},{key:"expand",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return this.model.setCollapsed(x,!1,le)}},{key:"isCollapsible",value:function(x){return this.model.isCollapsible(x)}},{key:"setCollapsible",value:function(x,le){return this.model.setCollapsible(x,le)}},{key:"isCollapsed",value:function(x){return this.model.isCollapsed(x)}},{key:"refilter",value:function(){this._onWillRefilter.fire(void 0),this.model.refilter()}},{key:"setSelection",value:function(x,le){var me=this,Ae=x.map(function(pt){return me.model.getNode(pt)});this.selection.set(Ae,le);var tt=x.map(function(pt){return me.model.getListIndex(pt)}).filter(function(pt){return pt>-1});this.view.setSelection(tt,le,!0)}},{key:"getSelection",value:function(){return this.selection.get()}},{key:"setFocus",value:function(x,le){var me=this,Ae=x.map(function(pt){return me.model.getNode(pt)});this.focus.set(Ae,le);var tt=x.map(function(pt){return me.model.getListIndex(pt)}).filter(function(pt){return pt>-1});this.view.setFocus(tt,le,!0)}},{key:"focusNext",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,me=arguments.length>2?arguments[2]:void 0,Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this.focusNavigationFilter;this.view.focusNext(x,le,me,Ae)}},{key:"getFocus",value:function(){return this.focus.get()}},{key:"reveal",value:function(x,le){this.model.expandTo(x);var me=this.model.getListIndex(x);me!==-1&&this.view.reveal(me,le)}},{key:"getRelativeTop",value:function(x){var le=this.model.getListIndex(x);return le===-1?null:this.view.getRelativeTop(le)}},{key:"onLeftArrow",value:function(x){x.preventDefault(),x.stopPropagation();var le=this.view.getFocusedElements();if(le.length!==0){var me=le[0],Ae=this.model.getNodeLocation(me),tt=this.model.setCollapsed(Ae,!0);if(!tt){var pt=this.model.getParentNodeLocation(Ae);if(!pt)return;var ke=this.model.getListIndex(pt);this.view.reveal(ke),this.view.setFocus([ke])}}}},{key:"onRightArrow",value:function(x){x.preventDefault(),x.stopPropagation();var le=this.view.getFocusedElements();if(le.length!==0){var me=le[0],Ae=this.model.getNodeLocation(me),tt=this.model.setCollapsed(Ae,!1);if(!tt){if(!me.children.some(function(Le){return Le.visible}))return;var pt=this.view.getFocus(),ke=Object(c.a)(pt,1),we=ke[0],Be=we+1;this.view.reveal(Be),this.view.setFocus([Be])}}}},{key:"onSpace",value:function(x){x.preventDefault(),x.stopPropagation();var le=this.view.getFocusedElements();if(le.length!==0){var me=le[0],Ae=this.model.getNodeLocation(me),tt=x.browserEvent.altKey;this.model.setCollapsed(Ae,void 0,tt)}}},{key:"dispose",value:function(){Object(t.f)(this.disposables),this.view.dispose()}}]),In}(),bn=function(){function In(ve,x){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Object(n.a)(this,In),this.user=ve,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new je(ve,x,null,le),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,le.sorter&&(this.sorter={compare:function(Ae,tt){return le.sorter.compare(Ae.element,tt.element)}}),this.identityProvider=le.identityProvider}return Object(v.a)(In,[{key:"setChildren",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re.a.empty(),me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ae=this.getElementLocation(x);this._setChildren(Ae,this.preserveCollapseState(le),me)}},{key:"_setChildren",value:function(x){var le=this,me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re.a.empty(),Ae=arguments.length>2?arguments[2]:void 0,tt=new Set,pt=new Set,ke=function(Le){var J;if(Le.element!==null){var Ke=Le;if(tt.add(Ke.element),le.nodes.set(Ke.element,Ke),le.identityProvider){var We=le.identityProvider.getId(Ke.element).toString();pt.add(We),le.nodesByIdentity.set(We,Ke)}(J=Ae.onDidCreateNode)===null||J===void 0||J.call(Ae,Ke)}},we=function(Le){var J;if(Le.element!==null){var Ke=Le;if(tt.has(Ke.element)||le.nodes.delete(Ke.element),le.identityProvider){var We=le.identityProvider.getId(Ke.element).toString();pt.has(We)||le.nodesByIdentity.delete(We)}(J=Ae.onDidDeleteNode)===null||J===void 0||J.call(Ae,Ke)}};this.model.splice([].concat(Object(q.a)(x),[0]),Number.MAX_VALUE,me,Object.assign(Object.assign({},Ae),{onDidCreateNode:ke,onDidDeleteNode:we}))}},{key:"preserveCollapseState",value:function(){var x=this,le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:re.a.empty();return this.sorter&&(le=Object(q.a)(le).sort(this.sorter.compare.bind(this.sorter))),re.a.map(le,function(me){var Ae=x.nodes.get(me.element);if(!Ae&&x.identityProvider){var tt=x.identityProvider.getId(me.element).toString();Ae=x.nodesByIdentity.get(tt)}if(!Ae)return Object.assign(Object.assign({},me),{children:x.preserveCollapseState(me.children)});var pt=typeof me.collapsible=="boolean"?me.collapsible:Ae.collapsible,ke=typeof me.collapsed!="undefined"?me.collapsed:Ae.collapsed;return Object.assign(Object.assign({},me),{collapsible:pt,collapsed:ke,children:x.preserveCollapseState(me.children)})})}},{key:"rerender",value:function(x){var le=this.getElementLocation(x);this.model.rerender(le)}},{key:"has",value:function(x){return this.nodes.has(x)}},{key:"getListIndex",value:function(x){var le=this.getElementLocation(x);return this.model.getListIndex(le)}},{key:"getListRenderCount",value:function(x){var le=this.getElementLocation(x);return this.model.getListRenderCount(le)}},{key:"isCollapsible",value:function(x){var le=this.getElementLocation(x);return this.model.isCollapsible(le)}},{key:"setCollapsible",value:function(x,le){var me=this.getElementLocation(x);return this.model.setCollapsible(me,le)}},{key:"isCollapsed",value:function(x){var le=this.getElementLocation(x);return this.model.isCollapsed(le)}},{key:"setCollapsed",value:function(x,le,me){var Ae=this.getElementLocation(x);return this.model.setCollapsed(Ae,le,me)}},{key:"expandTo",value:function(x){var le=this.getElementLocation(x);this.model.expandTo(le)}},{key:"refilter",value:function(){this.model.refilter()}},{key:"getNode",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(x===null)return this.model.getNode(this.model.rootRef);var le=this.nodes.get(x);if(!le)throw new se(this.user,"Tree element not found: ".concat(x));return le}},{key:"getNodeLocation",value:function(x){return x.element}},{key:"getParentNodeLocation",value:function(x){if(x===null)throw new se(this.user,"Invalid getParentNodeLocation call");var le=this.nodes.get(x);if(!le)throw new se(this.user,"Tree element not found: ".concat(x));var me=this.model.getNodeLocation(le),Ae=this.model.getParentNodeLocation(me),tt=this.model.getNode(Ae);return tt.element}},{key:"getElementLocation",value:function(x){if(x===null)return[];var le=this.nodes.get(x);if(!le)throw new se(this.user,"Tree element not found: ".concat(x));return this.model.getNodeLocation(le)}}]),In}();function sn(In){var ve=[In.element],x=In.incompressible||!1;return{element:{elements:ve,incompressible:x},children:re.a.map(re.a.from(In.children),sn),collapsible:In.collapsible,collapsed:In.collapsed}}function un(In){for(var ve=[In.element],x=In.incompressible||!1,le,me;;){var Ae=re.a.consume(re.a.from(In.children),2),tt=Object(c.a)(Ae,2);if(me=tt[0],le=tt[1],me.length!==1||me[0].incompressible)break;In=me[0],ve.push(In.element)}return{element:{elements:ve,incompressible:x},children:re.a.map(re.a.concat(me,le),un),collapsible:In.collapsible,collapsed:In.collapsed}}function Ht(In){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,x;return ve<In.element.elements.length-1?x=[Ht(In,ve+1)]:x=re.a.map(re.a.from(In.children),function(le){return Ht(le,0)}),ve===0&&In.element.incompressible?{element:In.element.elements[ve],children:x,incompressible:!0,collapsible:In.collapsible,collapsed:In.collapsed}:{element:In.element.elements[ve],children:x,collapsible:In.collapsible,collapsed:In.collapsed}}function jn(In){return Ht(In,0)}function Ln(In,ve,x){return In.element===ve?Object.assign(Object.assign({},In),{children:x}):Object.assign(Object.assign({},In),{children:re.a.map(re.a.from(In.children),function(le){return Ln(le,ve,x)})})}var Un=function(ve){return{getId:function(le){return le.elements.map(function(me){return ve.getId(me).toString()}).join("\0")}}},lt=function(){function In(ve,x){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Object(n.a)(this,In),this.user=ve,this.rootRef=null,this.nodes=new Map,this.model=new bn(ve,x,le),this.enabled=typeof le.compressionEnabled=="undefined"?!0:le.compressionEnabled,this.identityProvider=le.identityProvider}return Object(v.a)(In,[{key:"onDidSplice",get:function(){return this.model.onDidSplice}},{key:"onDidChangeCollapseState",get:function(){return this.model.onDidChangeCollapseState}},{key:"onDidChangeRenderNodeCount",get:function(){return this.model.onDidChangeRenderNodeCount}},{key:"setChildren",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re.a.empty(),me=arguments.length>2?arguments[2]:void 0,Ae=me.diffIdentityProvider&&Un(me.diffIdentityProvider);if(x===null){var tt=re.a.map(le,this.enabled?un:sn);this._setChildren(null,tt,{diffIdentityProvider:Ae,diffDepth:Infinity});return}var pt=this.nodes.get(x);if(!pt)throw new Error("Unknown compressed tree node");var ke=this.model.getNode(pt),we=this.model.getParentNodeLocation(pt),Be=this.model.getNode(we),Le=jn(ke),J=Ln(Le,x,le),Ke=(this.enabled?un:sn)(J),We=Be.children.map(function(Ot){return Ot===ke?Ke:Ot});this._setChildren(Be.element,We,{diffIdentityProvider:Ae,diffDepth:ke.depth-Be.depth})}},{key:"setCompressionEnabled",value:function(x){if(x!==this.enabled){this.enabled=x;var le=this.model.getNode(),me=le.children,Ae=re.a.map(me,jn),tt=re.a.map(Ae,x?un:sn);this._setChildren(null,tt,{diffIdentityProvider:this.identityProvider,diffDepth:Infinity})}}},{key:"_setChildren",value:function(x,le,me){var Ae=this,tt=new Set,pt=function(Be){var Le=Object(ye.a)(Be.element.elements),J;try{for(Le.s();!(J=Le.n()).done;){var Ke=J.value;tt.add(Ke),Ae.nodes.set(Ke,Be.element)}}catch(We){Le.e(We)}finally{Le.f()}},ke=function(Be){var Le=Object(ye.a)(Be.element.elements),J;try{for(Le.s();!(J=Le.n()).done;){var Ke=J.value;tt.has(Ke)||Ae.nodes.delete(Ke)}}catch(We){Le.e(We)}finally{Le.f()}};this.model.setChildren(x,le,Object.assign(Object.assign({},me),{onDidCreateNode:pt,onDidDeleteNode:ke}))}},{key:"has",value:function(x){return this.nodes.has(x)}},{key:"getListIndex",value:function(x){var le=this.getCompressedNode(x);return this.model.getListIndex(le)}},{key:"getListRenderCount",value:function(x){var le=this.getCompressedNode(x);return this.model.getListRenderCount(le)}},{key:"getNode",value:function(x){if(typeof x=="undefined")return this.model.getNode();var le=this.getCompressedNode(x);return this.model.getNode(le)}},{key:"getNodeLocation",value:function(x){var le=this.model.getNodeLocation(x);return le===null?null:le.elements[le.elements.length-1]}},{key:"getParentNodeLocation",value:function(x){var le=this.getCompressedNode(x),me=this.model.getParentNodeLocation(le);return me===null?null:me.elements[me.elements.length-1]}},{key:"isCollapsible",value:function(x){var le=this.getCompressedNode(x);return this.model.isCollapsible(le)}},{key:"setCollapsible",value:function(x,le){var me=this.getCompressedNode(x);return this.model.setCollapsible(me,le)}},{key:"isCollapsed",value:function(x){var le=this.getCompressedNode(x);return this.model.isCollapsed(le)}},{key:"setCollapsed",value:function(x,le,me){var Ae=this.getCompressedNode(x);return this.model.setCollapsed(Ae,le,me)}},{key:"expandTo",value:function(x){var le=this.getCompressedNode(x);this.model.expandTo(le)}},{key:"rerender",value:function(x){var le=this.getCompressedNode(x);this.model.rerender(le)}},{key:"refilter",value:function(){this.model.refilter()}},{key:"getCompressedNode",value:function(x){if(x===null)return null;var le=this.nodes.get(x);if(!le)throw new se(this.user,"Tree element not found: ".concat(x));return le}}]),In}(),Nt=function(ve){return ve[ve.length-1]},zt=function(){function In(ve,x){Object(n.a)(this,In),this.unwrapper=ve,this.node=x}return Object(v.a)(In,[{key:"element",get:function(){return this.node.element===null?null:this.unwrapper(this.node.element)}},{key:"children",get:function(){var x=this;return this.node.children.map(function(le){return new In(x.unwrapper,le)})}},{key:"depth",get:function(){return this.node.depth}},{key:"visibleChildrenCount",get:function(){return this.node.visibleChildrenCount}},{key:"visibleChildIndex",get:function(){return this.node.visibleChildIndex}},{key:"collapsible",get:function(){return this.node.collapsible}},{key:"collapsed",get:function(){return this.node.collapsed}},{key:"visible",get:function(){return this.node.visible}},{key:"filterData",get:function(){return this.node.filterData}}]),In}();function en(In,ve){return{splice:function(le,me,Ae){ve.splice(le,me,Ae.map(function(tt){return In.map(tt)}))},updateElementHeight:function(le,me){ve.updateElementHeight(le,me)}}}function tn(In,ve){return Object.assign(Object.assign({},ve),{identityProvider:ve.identityProvider&&{getId:function(le){return ve.identityProvider.getId(In(le))}},sorter:ve.sorter&&{compare:function(le,me){return ve.sorter.compare(le.elements[0],me.elements[0])}},filter:ve.filter&&{filter:function(le,me){return ve.filter.filter(In(le),me)}}})}var wn=function(){function In(ve,x){var le=this,me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Object(n.a)(this,In),this.rootRef=null,this.elementMapper=me.elementMapper||Nt;var Ae=function(pt){return le.elementMapper(pt.elements)};this.nodeMapper=new be(function(tt){return new zt(Ae,tt)}),this.model=new lt(ve,en(this.nodeMapper,x),tn(Ae,me))}return Object(v.a)(In,[{key:"onDidSplice",get:function(){var x=this;return w.b.map(this.model.onDidSplice,function(le){var me=le.insertedNodes,Ae=le.deletedNodes;return{insertedNodes:me.map(function(tt){return x.nodeMapper.map(tt)}),deletedNodes:Ae.map(function(tt){return x.nodeMapper.map(tt)})}})}},{key:"onDidChangeCollapseState",get:function(){var x=this;return w.b.map(this.model.onDidChangeCollapseState,function(le){var me=le.node,Ae=le.deep;return{node:x.nodeMapper.map(me),deep:Ae}})}},{key:"onDidChangeRenderNodeCount",get:function(){var x=this;return w.b.map(this.model.onDidChangeRenderNodeCount,function(le){return x.nodeMapper.map(le)})}},{key:"setChildren",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re.a.empty(),me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.model.setChildren(x,le,me)}},{key:"setCompressionEnabled",value:function(x){this.model.setCompressionEnabled(x)}},{key:"has",value:function(x){return this.model.has(x)}},{key:"getListIndex",value:function(x){return this.model.getListIndex(x)}},{key:"getListRenderCount",value:function(x){return this.model.getListRenderCount(x)}},{key:"getNode",value:function(x){return this.nodeMapper.map(this.model.getNode(x))}},{key:"getNodeLocation",value:function(x){return x.element}},{key:"getParentNodeLocation",value:function(x){return this.model.getParentNodeLocation(x)}},{key:"isCollapsible",value:function(x){return this.model.isCollapsible(x)}},{key:"setCollapsible",value:function(x,le){return this.model.setCollapsible(x,le)}},{key:"isCollapsed",value:function(x){return this.model.isCollapsed(x)}},{key:"setCollapsed",value:function(x,le,me){return this.model.setCollapsed(x,le,me)}},{key:"expandTo",value:function(x){return this.model.expandTo(x)}},{key:"rerender",value:function(x){return this.model.rerender(x)}},{key:"refilter",value:function(){return this.model.refilter()}},{key:"getCompressedTreeNode",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.model.getNode(x)}}]),In}(),on=e("ZCR3"),vn=function(In,ve,x,le){var me=arguments.length,Ae=me<3?ve:le===null?le=Object.getOwnPropertyDescriptor(ve,x):le,tt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ae=Reflect.decorate(In,ve,x,le);else for(var pt=In.length-1;pt>=0;pt--)(tt=In[pt])&&(Ae=(me<3?tt(Ae):me>3?tt(ve,x,Ae):tt(ve,x))||Ae);return me>3&&Ae&&Object.defineProperty(ve,x,Ae),Ae},dt=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt){var pt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return Object(n.a)(this,x),ve.call(this,le,me,Ae,tt,pt)}return Object(v.a)(x,[{key:"onDidChangeCollapseState",get:function(){return this.model.onDidChangeCollapseState}},{key:"setChildren",value:function(me){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re.a.empty(),tt=arguments.length>2?arguments[2]:void 0;this.model.setChildren(me,Ae,tt)}},{key:"rerender",value:function(me){if(me===void 0){this.view.rerender();return}this.model.rerender(me)}},{key:"hasElement",value:function(me){return this.model.has(me)}},{key:"createModel",value:function(me,Ae,tt){return new bn(me,Ae,tt)}}]),x}(nn),ct=function(){function In(ve,x){Object(n.a)(this,In),this._compressedTreeNodeProvider=ve,this.renderer=x,this.templateId=x.templateId,x.onDidChangeTwistieState&&(this.onDidChangeTwistieState=x.onDidChangeTwistieState)}return Object(v.a)(In,[{key:"compressedTreeNodeProvider",get:function(){return this._compressedTreeNodeProvider()}},{key:"renderTemplate",value:function(x){var le=this.renderer.renderTemplate(x);return{compressedTreeNode:void 0,data:le}}},{key:"renderElement",value:function(x,le,me,Ae){var tt=this.compressedTreeNodeProvider.getCompressedTreeNode(x.element);tt.element.elements.length===1?(me.compressedTreeNode=void 0,this.renderer.renderElement(x,le,me.data,Ae)):(me.compressedTreeNode=tt,this.renderer.renderCompressedElements(tt,le,me.data,Ae))}},{key:"disposeElement",value:function(x,le,me,Ae){me.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(me.compressedTreeNode,le,me.data,Ae):this.renderer.disposeElement&&this.renderer.disposeElement(x,le,me.data,Ae)}},{key:"disposeTemplate",value:function(x){this.renderer.disposeTemplate(x.data)}},{key:"renderTwistie",value:function(x,le){return this.renderer.renderTwistie?this.renderer.renderTwistie(x,le):!1}}]),In}();vn([on.a],ct.prototype,"compressedTreeNodeProvider",null);function Kt(In,ve){return ve&&Object.assign(Object.assign({},ve),{keyboardNavigationLabelProvider:ve.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel:function(le){var me;try{me=In().getCompressedTreeNode(le)}catch(Ae){return ve.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(le)}return me.element.elements.length===1?ve.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(le):ve.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(me.element.elements)}}})}var pn=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt){var pt,ke=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};Object(n.a)(this,x);var we=function(){return Object(r.a)(pt)},Be=tt.map(function(Le){return new ct(we,Le)});return pt=ve.call(this,le,me,Ae,Be,Kt(we,ke))}return Object(v.a)(x,[{key:"setChildren",value:function(me){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re.a.empty(),tt=arguments.length>2?arguments[2]:void 0;this.model.setChildren(me,Ae,tt)}},{key:"createModel",value:function(me,Ae,tt){return new wn(me,Ae,tt)}},{key:"updateOptions",value:function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Object(f.a)(Object(o.a)(x.prototype),"updateOptions",this).call(this,me),typeof me.compressionEnabled!="undefined"&&this.model.setCompressionEnabled(me.compressionEnabled)}},{key:"getCompressedTreeNode",value:function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.model.getCompressedTreeNode(me)}}]),x}(dt),kn=e("qLMh"),Pt=e("/cxE"),gn=function(In,ve,x,le){function me(Ae){return Ae instanceof x?Ae:new x(function(tt){tt(Ae)})}return new(x||(x=Promise))(function(Ae,tt){function pt(Be){try{we(le.next(Be))}catch(Le){tt(Le)}}function ke(Be){try{we(le.throw(Be))}catch(Le){tt(Le)}}function we(Be){Be.done?Ae(Be.value):me(Be.value).then(pt,ke)}we((le=le.apply(In,ve||[])).next())})};function _n(In){return Object.assign(Object.assign({},In),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function Kn(In,ve){return ve.parent?ve.parent===In?!0:Kn(In,ve.parent):!1}function qn(In,ve){return In===ve||Kn(In,ve)||Kn(ve,In)}var rr=function(){function In(ve){Object(n.a)(this,In),this.node=ve}return Object(v.a)(In,[{key:"element",get:function(){return this.node.element.element}},{key:"children",get:function(){return this.node.children.map(function(x){return new In(x)})}},{key:"depth",get:function(){return this.node.depth}},{key:"visibleChildrenCount",get:function(){return this.node.visibleChildrenCount}},{key:"visibleChildIndex",get:function(){return this.node.visibleChildIndex}},{key:"collapsible",get:function(){return this.node.collapsible}},{key:"collapsed",get:function(){return this.node.collapsed}},{key:"visible",get:function(){return this.node.visible}},{key:"filterData",get:function(){return this.node.filterData}}]),In}(),Rn=function(){function In(ve,x,le){Object(n.a)(this,In),this.renderer=ve,this.nodeMapper=x,this.onDidChangeTwistieState=le,this.renderedNodes=new Map,this.templateId=ve.templateId}return Object(v.a)(In,[{key:"renderTemplate",value:function(x){var le=this.renderer.renderTemplate(x);return{templateData:le}}},{key:"renderElement",value:function(x,le,me,Ae){this.renderer.renderElement(this.nodeMapper.map(x),le,me.templateData,Ae)}},{key:"renderTwistie",value:function(x,le){if(x.slow){var me;return(me=le.classList).add.apply(me,Object(q.a)(et.classNamesArray)),!0}else{var Ae;return(Ae=le.classList).remove.apply(Ae,Object(q.a)(et.classNamesArray)),!1}}},{key:"disposeElement",value:function(x,le,me,Ae){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(x),le,me.templateData,Ae)}},{key:"disposeTemplate",value:function(x){this.renderer.disposeTemplate(x.templateData)}},{key:"dispose",value:function(){this.renderedNodes.clear()}}]),In}();function mr(In){return{browserEvent:In.browserEvent,elements:In.elements.map(function(ve){return ve.element})}}function ar(In){return{browserEvent:In.browserEvent,element:In.element&&In.element.element,target:In.target}}var sr=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le){var me;return Object(n.a)(this,x),me=ve.call(this,le.elements.map(function(Ae){return Ae.element})),me.data=le,me}return Object(v.a)(x)}(ee.a);function yr(In){return In instanceof ee.a?new sr(In):In}var br=function(){function In(ve){Object(n.a)(this,In),this.dnd=ve}return Object(v.a)(In,[{key:"getDragURI",value:function(x){return this.dnd.getDragURI(x.element)}},{key:"getDragLabel",value:function(x,le){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(x.map(function(me){return me.element}),le)}},{key:"onDragStart",value:function(x,le){this.dnd.onDragStart&&this.dnd.onDragStart(yr(x),le)}},{key:"onDragOver",value:function(x,le,me,Ae){var tt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;return this.dnd.onDragOver(yr(x),le&&le.element,me,Ae)}},{key:"drop",value:function(x,le,me,Ae){this.dnd.drop(yr(x),le&&le.element,me,Ae)}},{key:"onDragEnd",value:function(x){this.dnd.onDragEnd&&this.dnd.onDragEnd(x)}}]),In}();function _r(In){return In&&Object.assign(Object.assign({},In),{collapseByDefault:!0,identityProvider:In.identityProvider&&{getId:function(x){return In.identityProvider.getId(x.element)}},dnd:In.dnd&&new br(In.dnd),multipleSelectionController:In.multipleSelectionController&&{isSelectionSingleChangeEvent:function(x){return In.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},x),{element:x.element}))},isSelectionRangeChangeEvent:function(x){return In.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},x),{element:x.element}))}},accessibilityProvider:In.accessibilityProvider&&Object.assign(Object.assign({},In.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:In.accessibilityProvider.getRole?function(ve){return In.accessibilityProvider.getRole(ve.element)}:function(){return"treeitem"},isChecked:In.accessibilityProvider.isChecked?function(ve){var x;return!!((x=In.accessibilityProvider)===null||x===void 0?void 0:x.isChecked(ve.element))}:void 0,getAriaLabel:function(x){return In.accessibilityProvider.getAriaLabel(x.element)},getWidgetAriaLabel:function(){return In.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:In.accessibilityProvider.getWidgetRole?function(){return In.accessibilityProvider.getWidgetRole()}:function(){return"tree"},getAriaLevel:In.accessibilityProvider.getAriaLevel&&function(ve){return In.accessibilityProvider.getAriaLevel(ve.element)},getActiveDescendantId:In.accessibilityProvider.getActiveDescendantId&&function(ve){return In.accessibilityProvider.getActiveDescendantId(ve.element)}}),filter:In.filter&&{filter:function(x,le){return In.filter.filter(x.element,le)}},keyboardNavigationLabelProvider:In.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},In.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:function(x){return In.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(x.element)}}),sorter:void 0,expandOnlyOnTwistieClick:typeof In.expandOnlyOnTwistieClick=="undefined"?void 0:typeof In.expandOnlyOnTwistieClick!="function"?In.expandOnlyOnTwistieClick:function(ve){return In.expandOnlyOnTwistieClick(ve.element)},additionalScrollHeight:In.additionalScrollHeight})}function li(In,ve){ve(In),In.children.forEach(function(x){return li(x,ve)})}var xi=function(){function In(ve,x,le,me,Ae){var tt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};Object(n.a)(this,In),this.user=ve,this.dataSource=Ae,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new w.a,this._onDidChangeNodeSlowState=new w.a,this.nodeMapper=new be(function(pt){return new rr(pt)}),this.disposables=new t.b,this.identityProvider=tt.identityProvider,this.autoExpandSingleChildren=typeof tt.autoExpandSingleChildren=="undefined"?!1:tt.autoExpandSingleChildren,this.sorter=tt.sorter,this.collapseByDefault=tt.collapseByDefault,this.tree=this.createTree(ve,x,le,me,tt),this.root=_n({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}return Object(v.a)(In,[{key:"onDidChangeFocus",get:function(){return w.b.map(this.tree.onDidChangeFocus,mr)}},{key:"onDidChangeSelection",get:function(){return w.b.map(this.tree.onDidChangeSelection,mr)}},{key:"onMouseDblClick",get:function(){return w.b.map(this.tree.onMouseDblClick,ar)}},{key:"onPointer",get:function(){return w.b.map(this.tree.onPointer,ar)}},{key:"onDidFocus",get:function(){return this.tree.onDidFocus}},{key:"onDidDispose",get:function(){return this.tree.onDidDispose}},{key:"createTree",value:function(x,le,me,Ae,tt){var pt=this,ke=new Bt(me),we=Ae.map(function(Le){return new Rn(Le,pt.nodeMapper,pt._onDidChangeNodeSlowState.event)}),Be=_r(tt)||{};return new dt(x,le,ke,we,Be)}},{key:"updateOptions",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.tree.updateOptions(x)}},{key:"getHTMLElement",value:function(){return this.tree.getHTMLElement()}},{key:"scrollTop",get:function(){return this.tree.scrollTop},set:function(x){this.tree.scrollTop=x}},{key:"domFocus",value:function(){this.tree.domFocus()}},{key:"layout",value:function(x,le){this.tree.layout(x,le)}},{key:"style",value:function(x){this.tree.style(x)}},{key:"getInput",value:function(){return this.root.element}},{key:"setInput",value:function(x,le){return gn(this,void 0,void 0,Object(kn.a)().mark(function me(){var Ae;return Object(kn.a)().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return this.refreshPromises.forEach(function(ke){return ke.cancel()}),this.refreshPromises.clear(),this.root.element=x,Ae=le&&{viewState:le,focus:[],selection:[]},pt.next=6,this._updateChildren(x,!0,!1,Ae);case 6:Ae&&(this.tree.setFocus(Ae.focus),this.tree.setSelection(Ae.selection)),le&&typeof le.scrollTop=="number"&&(this.scrollTop=le.scrollTop);case 8:case"end":return pt.stop()}},me,this)}))}},{key:"_updateChildren",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.root.element,le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ae=arguments.length>3?arguments[3]:void 0,tt=arguments.length>4?arguments[4]:void 0;return gn(this,void 0,void 0,Object(kn.a)().mark(function pt(){var ke;return Object(kn.a)().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(typeof this.root.element!="undefined"){Be.next=2;break}throw new se(this.user,"Tree input not set");case 2:if(!this.root.refreshPromise){Be.next=7;break}return Be.next=5,this.root.refreshPromise;case 5:return Be.next=7,w.b.toPromise(this._onDidRender.event);case 7:return ke=this.getDataNode(x),Be.next=10,this.refreshAndRenderNode(ke,le,Ae,tt);case 10:if(me)try{this.tree.rerender(ke)}catch(Le){}case 11:case"end":return Be.stop()}},pt,this)}))}},{key:"rerender",value:function(x){if(x===void 0||x===this.root.element){this.tree.rerender();return}var le=this.getDataNode(x);this.tree.rerender(le)}},{key:"collapse",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,me=this.getDataNode(x);return this.tree.collapse(me===this.root?null:me,le)}},{key:"expand",value:function(x){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return gn(this,void 0,void 0,Object(kn.a)().mark(function me(){var Ae,tt;return Object(kn.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(typeof this.root.element!="undefined"){ke.next=2;break}throw new se(this.user,"Tree input not set");case 2:if(!this.root.refreshPromise){ke.next=7;break}return ke.next=5,this.root.refreshPromise;case 5:return ke.next=7,w.b.toPromise(this._onDidRender.event);case 7:if(Ae=this.getDataNode(x),!(this.tree.hasElement(Ae)&&!this.tree.isCollapsible(Ae))){ke.next=10;break}return ke.abrupt("return",!1);case 10:if(!Ae.refreshPromise){ke.next=15;break}return ke.next=13,this.root.refreshPromise;case 13:return ke.next=15,w.b.toPromise(this._onDidRender.event);case 15:if(!(Ae!==this.root&&!Ae.refreshPromise&&!this.tree.isCollapsed(Ae))){ke.next=17;break}return ke.abrupt("return",!1);case 17:if(tt=this.tree.expand(Ae===this.root?null:Ae,le),!Ae.refreshPromise){ke.next=23;break}return ke.next=21,this.root.refreshPromise;case 21:return ke.next=23,w.b.toPromise(this._onDidRender.event);case 23:return ke.abrupt("return",tt);case 24:case"end":return ke.stop()}},me,this)}))}},{key:"setSelection",value:function(x,le){var me=this,Ae=x.map(function(tt){return me.getDataNode(tt)});this.tree.setSelection(Ae,le)}},{key:"getSelection",value:function(){var x=this.tree.getSelection();return x.map(function(le){return le.element})}},{key:"setFocus",value:function(x,le){var me=this,Ae=x.map(function(tt){return me.getDataNode(tt)});this.tree.setFocus(Ae,le)}},{key:"getFocus",value:function(){var x=this.tree.getFocus();return x.map(function(le){return le.element})}},{key:"reveal",value:function(x,le){this.tree.reveal(this.getDataNode(x),le)}},{key:"getDataNode",value:function(x){var le=this.nodes.get(x===this.root.element?null:x);if(!le)throw new se(this.user,"Data tree node not found: ".concat(x));return le}},{key:"refreshAndRenderNode",value:function(x,le,me,Ae){return gn(this,void 0,void 0,Object(kn.a)().mark(function tt(){return Object(kn.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,this.refreshNode(x,le,me);case 2:this.render(x,me,Ae);case 3:case"end":return ke.stop()}},tt,this)}))}},{key:"refreshNode",value:function(x,le,me){return gn(this,void 0,void 0,Object(kn.a)().mark(function Ae(){var tt=this,pt;return Object(kn.a)().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(this.subTreeRefreshPromises.forEach(function(Be,Le){!pt&&qn(Le,x)&&(pt=Be.then(function(){return tt.refreshNode(x,le,me)}))}),!pt){we.next=3;break}return we.abrupt("return",pt);case 3:return we.abrupt("return",this.doRefreshSubTree(x,le,me));case 4:case"end":return we.stop()}},Ae,this)}))}},{key:"doRefreshSubTree",value:function(x,le,me){return gn(this,void 0,void 0,Object(kn.a)().mark(function Ae(){var tt=this,pt,ke;return Object(kn.a)().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return x.refreshPromise=new Promise(function(Le){return pt=Le}),this.subTreeRefreshPromises.set(x,x.refreshPromise),x.refreshPromise.finally(function(){x.refreshPromise=void 0,tt.subTreeRefreshPromises.delete(x)}),Be.prev=3,Be.next=6,this.doRefreshNode(x,le,me);case 6:return ke=Be.sent,x.stale=!1,Be.next=10,ft.d.settled(ke.map(function(Le){return tt.doRefreshSubTree(Le,le,me)}));case 10:return Be.prev=10,pt(),Be.finish(10);case 13:case"end":return Be.stop()}},Ae,this,[[3,,10,13]])}))}},{key:"doRefreshNode",value:function(x,le,me){return gn(this,void 0,void 0,Object(kn.a)().mark(function Ae(){var tt=this,pt,ke,we;return Object(kn.a)().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return x.hasChildren=!!this.dataSource.hasChildren(x.element),x.hasChildren?(ke=Object(ft.n)(800),ke.then(function(){x.slow=!0,tt._onDidChangeNodeSlowState.fire(x)},function(J){return null}),pt=this.doGetChildren(x).finally(function(){return ke.cancel()})):pt=Promise.resolve(re.a.empty()),Le.prev=2,Le.next=5,pt;case 5:return we=Le.sent,Le.abrupt("return",this.setChildren(x,we,le,me));case 9:if(Le.prev=9,Le.t0=Le.catch(2),x!==this.root&&this.tree.hasElement(x)&&this.tree.collapse(x),!Object(Pt.d)(Le.t0)){Le.next=14;break}return Le.abrupt("return",[]);case 14:throw Le.t0;case 15:return Le.prev=15,x.slow&&(x.slow=!1,this._onDidChangeNodeSlowState.fire(x)),Le.finish(15);case 18:case"end":return Le.stop()}},Ae,this,[[2,9,15,18]])}))}},{key:"doGetChildren",value:function(x){var le=this,me=this.refreshPromises.get(x);return me||(me=Object(ft.h)(function(){return gn(le,void 0,void 0,Object(kn.a)().mark(function Ae(){var tt;return Object(kn.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,this.dataSource.getChildren(x.element);case 2:return tt=ke.sent,ke.abrupt("return",this.processChildren(tt));case 4:case"end":return ke.stop()}},Ae,this)}))}),this.refreshPromises.set(x,me),me.finally(function(){le.refreshPromises.delete(x)}))}},{key:"_onDidChangeCollapseState",value:function(x){var le=x.node,me=x.deep;le.element!==null&&!le.collapsed&&le.element.stale&&(me?this.collapse(le.element.element):this.refreshAndRenderNode(le.element,!1).catch(Pt.e))}},{key:"setChildren",value:function(x,le,me,Ae){var tt=this,pt,ke=Object(q.a)(le);if(x.children.length===0&&ke.length===0)return[];var we=new Map,Be=new Map,Le=Object(ye.a)(x.children),J;try{for(Le.s();!(J=Le.n()).done;){var Ke=J.value;if(we.set(Ke.element,Ke),this.identityProvider){var We=this.tree.isCollapsed(Ke);Be.set(Ke.id,{node:Ke,collapsed:We})}}}catch(zn){Le.e(zn)}finally{Le.f()}var Ot=[],Vt=ke.map(function(zn){var Tr=!!tt.dataSource.hasChildren(zn);if(!tt.identityProvider){var Qr=_n({element:zn,parent:x,hasChildren:Tr});return Tr&&tt.collapseByDefault&&!tt.collapseByDefault(zn)&&(Qr.collapsedByDefault=!1,Ot.push(Qr)),Qr}var Qe=tt.identityProvider.getId(zn).toString(),Jt=Be.get(Qe);if(Jt){var ln=Jt.node;return we.delete(ln.element),tt.nodes.delete(ln.element),tt.nodes.set(zn,ln),ln.element=zn,ln.hasChildren=Tr,me?Jt.collapsed?(ln.children.forEach(function(An){return li(An,function(fr){return tt.nodes.delete(fr.element)})}),ln.children.splice(0,ln.children.length),ln.stale=!0):Ot.push(ln):Tr&&tt.collapseByDefault&&!tt.collapseByDefault(zn)&&(ln.collapsedByDefault=!1,Ot.push(ln)),ln}var rn=_n({element:zn,parent:x,id:Qe,hasChildren:Tr});return Ae&&Ae.viewState.focus&&Ae.viewState.focus.indexOf(Qe)>-1&&Ae.focus.push(rn),Ae&&Ae.viewState.selection&&Ae.viewState.selection.indexOf(Qe)>-1&&Ae.selection.push(rn),Ae&&Ae.viewState.expanded&&Ae.viewState.expanded.indexOf(Qe)>-1?Ot.push(rn):Tr&&tt.collapseByDefault&&!tt.collapseByDefault(zn)&&(rn.collapsedByDefault=!1,Ot.push(rn)),rn}),$t=Object(ye.a)(we.values()),Gt;try{for($t.s();!(Gt=$t.n()).done;){var hn=Gt.value;li(hn,function(zn){return tt.nodes.delete(zn.element)})}}catch(zn){$t.e(zn)}finally{$t.f()}var $n=Object(ye.a)(Vt),Sr;try{for($n.s();!(Sr=$n.n()).done;){var vr=Sr.value;this.nodes.set(vr.element,vr)}}catch(zn){$n.e(zn)}finally{$n.f()}return(pt=x.children).splice.apply(pt,[0,x.children.length].concat(Object(q.a)(Vt))),x!==this.root&&this.autoExpandSingleChildren&&Vt.length===1&&Ot.length===0&&(Vt[0].collapsedByDefault=!1,Ot.push(Vt[0])),Ot}},{key:"render",value:function(x,le,me){var Ae=this,tt=x.children.map(function(ke){return Ae.asTreeElement(ke,le)}),pt=me&&Object.assign(Object.assign({},me),{diffIdentityProvider:me.diffIdentityProvider&&{getId:function(we){return me.diffIdentityProvider.getId(we.element)}}});this.tree.setChildren(x===this.root?null:x,tt,pt),x!==this.root&&this.tree.setCollapsible(x,x.hasChildren),this._onDidRender.fire()}},{key:"asTreeElement",value:function(x,le){var me=this;if(x.stale)return{element:x,collapsible:x.hasChildren,collapsed:!0};var Ae;return le&&le.viewState.expanded&&x.id&&le.viewState.expanded.indexOf(x.id)>-1?Ae=!1:Ae=x.collapsedByDefault,x.collapsedByDefault=void 0,{element:x,children:x.hasChildren?re.a.map(x.children,function(tt){return me.asTreeElement(tt,le)}):[],collapsible:x.hasChildren,collapsed:Ae}}},{key:"processChildren",value:function(x){return this.sorter&&(x=Object(q.a)(x).sort(this.sorter.compare.bind(this.sorter))),x}},{key:"dispose",value:function(){this.disposables.dispose()}}]),In}(),Mi=function(){function In(ve){Object(n.a)(this,In),this.node=ve}return Object(v.a)(In,[{key:"element",get:function(){return{elements:this.node.element.elements.map(function(x){return x.element}),incompressible:this.node.element.incompressible}}},{key:"children",get:function(){return this.node.children.map(function(x){return new In(x)})}},{key:"depth",get:function(){return this.node.depth}},{key:"visibleChildrenCount",get:function(){return this.node.visibleChildrenCount}},{key:"visibleChildIndex",get:function(){return this.node.visibleChildIndex}},{key:"collapsible",get:function(){return this.node.collapsible}},{key:"collapsed",get:function(){return this.node.collapsed}},{key:"visible",get:function(){return this.node.visible}},{key:"filterData",get:function(){return this.node.filterData}}]),In}(),Fr=function(){function In(ve,x,le,me){Object(n.a)(this,In),this.renderer=ve,this.nodeMapper=x,this.compressibleNodeMapperProvider=le,this.onDidChangeTwistieState=me,this.renderedNodes=new Map,this.disposables=[],this.templateId=ve.templateId}return Object(v.a)(In,[{key:"renderTemplate",value:function(x){var le=this.renderer.renderTemplate(x);return{templateData:le}}},{key:"renderElement",value:function(x,le,me,Ae){this.renderer.renderElement(this.nodeMapper.map(x),le,me.templateData,Ae)}},{key:"renderCompressedElements",value:function(x,le,me,Ae){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(x),le,me.templateData,Ae)}},{key:"renderTwistie",value:function(x,le){if(x.slow){var me;return(me=le.classList).add.apply(me,Object(q.a)(et.classNamesArray)),!0}else{var Ae;return(Ae=le.classList).remove.apply(Ae,Object(q.a)(et.classNamesArray)),!1}}},{key:"disposeElement",value:function(x,le,me,Ae){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(x),le,me.templateData,Ae)}},{key:"disposeCompressedElements",value:function(x,le,me,Ae){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(x),le,me.templateData,Ae)}},{key:"disposeTemplate",value:function(x){this.renderer.disposeTemplate(x.templateData)}},{key:"dispose",value:function(){this.renderedNodes.clear(),this.disposables=Object(t.f)(this.disposables)}}]),In}();function ur(In){var ve=In&&_r(In);return ve&&Object.assign(Object.assign({},ve),{keyboardNavigationLabelProvider:ve.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},ve.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:function(le){return In.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(le.map(function(me){return me.element}))}})})}var Ti=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke){var we,Be=arguments.length>6&&arguments[6]!==void 0?arguments[6]:{};return Object(n.a)(this,x),we=ve.call(this,le,me,Ae,pt,ke,Be),we.compressionDelegate=tt,we.compressibleNodeMapper=new be(function(Le){return new Mi(Le)}),we.filter=Be.filter,we}return Object(v.a)(x,[{key:"createTree",value:function(me,Ae,tt,pt,ke){var we=this,Be=new Bt(tt),Le=pt.map(function(Ke){return new Fr(Ke,we.nodeMapper,function(){return we.compressibleNodeMapper},we._onDidChangeNodeSlowState.event)}),J=ur(ke)||{};return new pn(me,Ae,Be,Le,J)}},{key:"asTreeElement",value:function(me,Ae){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(me.element)},Object(f.a)(Object(o.a)(x.prototype),"asTreeElement",this).call(this,me,Ae))}},{key:"updateOptions",value:function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.tree.updateOptions(me)}},{key:"render",value:function(me,Ae){var tt=this;if(!this.identityProvider)return Object(f.a)(Object(o.a)(x.prototype),"render",this).call(this,me,Ae);var pt=function($t){return tt.identityProvider.getId($t).toString()},ke=function($t){var Gt=new Set,hn=Object(ye.a)($t),$n;try{for(hn.s();!($n=hn.n()).done;){var Sr=$n.value,vr=tt.tree.getCompressedTreeNode(Sr===tt.root?null:Sr);if(!!vr.element){var zn=Object(ye.a)(vr.element.elements),Tr;try{for(zn.s();!(Tr=zn.n()).done;){var Qr=Tr.value;Gt.add(pt(Qr.element))}}catch(Qe){zn.e(Qe)}finally{zn.f()}}}}catch(Qe){hn.e(Qe)}finally{hn.f()}return Gt},we=ke(this.tree.getSelection()),Be=ke(this.tree.getFocus());Object(f.a)(Object(o.a)(x.prototype),"render",this).call(this,me,Ae);var Le=this.getSelection(),J=!1,Ke=this.getFocus(),We=!1,Ot=function Vt($t){var Gt=$t.element;if(Gt)for(var hn=0;hn<Gt.elements.length;hn++){var $n=pt(Gt.elements[hn].element),Sr=Gt.elements[Gt.elements.length-1].element;we.has($n)&&Le.indexOf(Sr)===-1&&(Le.push(Sr),J=!0),Be.has($n)&&Ke.indexOf(Sr)===-1&&(Ke.push(Sr),We=!0)}$t.children.forEach(Vt)};Ot(this.tree.getCompressedTreeNode(me===this.root?null:me)),J&&this.setSelection(Le),We&&this.setFocus(Ke)}},{key:"processChildren",value:function(me){var Ae=this;return this.filter&&(me=re.a.filter(me,function(tt){var pt=Ae.filter.filter(tt,1),ke=Xi(pt);if(ke===2)throw new Error("Recursive tree visibility not supported in async data compressed trees");return ke===1})),Object(f.a)(Object(o.a)(x.prototype),"processChildren",this).call(this,me)}}]),x}(xi);function Xi(In){return typeof In=="boolean"?In?1:0:ae(In)?Se(In.visibility):Se(In)}var ca=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt){var ke,we=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};return Object(n.a)(this,x),ke=ve.call(this,le,me,Ae,tt,we),ke.user=le,ke.dataSource=pt,ke.identityProvider=we.identityProvider,ke}return Object(v.a)(x,[{key:"createModel",value:function(me,Ae,tt){return new bn(me,Ae,tt)}}]),x}(nn),Zi=e("R3nR"),xa=e("7GBL"),va=e("44XX"),Ma=function(){function In(ve,x,le){Object(n.a)(this,In),this.columns=ve,this.getColumnSize=le,this.templateId=In.TemplateId,this.renderedTemplates=new Set;var me=new Map(x.map(function(we){return[we.templateId,we]}));this.renderers=[];var Ae=Object(ye.a)(ve),tt;try{for(Ae.s();!(tt=Ae.n()).done;){var pt=tt.value,ke=me.get(pt.templateId);if(!ke)throw new Error("Table cell renderer for template id ".concat(pt.templateId," not found."));this.renderers.push(ke)}}catch(we){Ae.e(we)}finally{Ae.f()}}return Object(v.a)(In,[{key:"renderTemplate",value:function(x){for(var le=Object(m.append)(x,Object(m.$)(".monaco-table-tr")),me=[],Ae=[],tt=0;tt<this.columns.length;tt++){var pt=this.renderers[tt],ke=Object(m.append)(le,Object(m.$)(".monaco-table-td",{"data-col-index":tt}));ke.style.width="".concat(this.getColumnSize(tt),"px"),me.push(ke),Ae.push(pt.renderTemplate(ke))}var we={container:x,cellContainers:me,cellTemplateData:Ae};return this.renderedTemplates.add(we),we}},{key:"renderElement",value:function(x,le,me,Ae){for(var tt=0;tt<this.columns.length;tt++){var pt=this.columns[tt],ke=pt.project(x),we=this.renderers[tt];we.renderElement(ke,le,me.cellTemplateData[tt],Ae)}}},{key:"disposeElement",value:function(x,le,me,Ae){for(var tt=0;tt<this.columns.length;tt++){var pt=this.renderers[tt];if(pt.disposeElement){var ke=this.columns[tt],we=ke.project(x);pt.disposeElement(we,le,me.cellTemplateData[tt],Ae)}}}},{key:"disposeTemplate",value:function(x){for(var le=0;le<this.columns.length;le++){var me=this.renderers[le];me.disposeTemplate(x.cellTemplateData[le])}Object(m.clearNode)(x.container),this.renderedTemplates.delete(x)}},{key:"layoutColumn",value:function(x,le){var me=Object(ye.a)(this.renderedTemplates),Ae;try{for(me.s();!(Ae=me.n()).done;){var tt=Ae.value,pt=tt.cellContainers;pt[x].style.width="".concat(le,"px")}}catch(ke){me.e(ke)}finally{me.f()}}}]),In}();Ma.TemplateId="row";function _a(In){return{getHeight:function(x){return In.getHeight(x)},getTemplateId:function(){return Ma.TemplateId}}}var na=function(){function In(ve,x){Object(n.a)(this,In),this.column=ve,this.index=x,this._onDidLayout=new w.a,this.onDidLayout=this._onDidLayout.event,this.element=Object(m.$)(".monaco-table-th",{"data-col-index":x,title:ve.tooltip},ve.label)}return Object(v.a)(In,[{key:"minimumSize",get:function(){var x;return(x=this.column.minimumWidth)!==null&&x!==void 0?x:120}},{key:"maximumSize",get:function(){var x;return(x=this.column.maximumWidth)!==null&&x!==void 0?x:Number.POSITIVE_INFINITY}},{key:"onDidChange",get:function(){var x;return(x=this.column.onDidChangeWidthConstraints)!==null&&x!==void 0?x:w.b.None}},{key:"layout",value:function(x){this._onDidLayout.fire([this.index,x])}}]),In}(),sa=function(){function In(ve,x,le,me,Ae,tt){var pt=this;Object(n.a)(this,In),this.virtualDelegate=le,this.domId="table_id_".concat(++In.InstanceCount),this.cachedHeight=0,this.domNode=Object(m.append)(x,Object(m.$)(".monaco-table.".concat(this.domId)));var ke=me.map(function(Le,J){return new na(Le,J)}),we={size:ke.reduce(function(Le,J){return Le+J.column.weight},0),views:ke.map(function(Le){return{size:Le.column.weight,view:Le}})};this.splitview=new va.b(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:function(){return pt.cachedHeight},descriptor:we}),this.splitview.el.style.height="".concat(le.headerRowHeight,"px"),this.splitview.el.style.lineHeight="".concat(le.headerRowHeight,"px");var Be=new Ma(me,Ae,function(Le){return pt.splitview.getViewSize(Le)});this.list=new p.c(ve,this.domNode,_a(le),[Be],tt),this.columnLayoutDisposable=w.b.any.apply(w.b,Object(q.a)(ke.map(function(Le){return Le.onDidLayout})))(function(Le){var J=Object(c.a)(Le,2),Ke=J[0],We=J[1];return Be.layoutColumn(Ke,We)}),this.styleElement=Object(m.createStyleSheet)(this.domNode),this.style({})}return Object(v.a)(In,[{key:"onDidChangeFocus",get:function(){return this.list.onDidChangeFocus}},{key:"onDidChangeSelection",get:function(){return this.list.onDidChangeSelection}},{key:"onMouseDblClick",get:function(){return this.list.onMouseDblClick}},{key:"onPointer",get:function(){return this.list.onPointer}},{key:"onDidFocus",get:function(){return this.list.onDidFocus}},{key:"onDidDispose",get:function(){return this.list.onDidDispose}},{key:"updateOptions",value:function(x){this.list.updateOptions(x)}},{key:"splice",value:function(x,le){var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];this.list.splice(x,le,me)}},{key:"getHTMLElement",value:function(){return this.domNode}},{key:"style",value:function(x){var le=[];le.push(".monaco-table.".concat(this.domId,` > .monaco-split-view2 .monaco-sash.vertical::before {
- top: `).concat(this.virtualDelegate.headerRowHeight+1,`px;
- height: calc(100% - `).concat(this.virtualDelegate.headerRowHeight,`px);
- }`)),this.styleElement.textContent=le.join(`
- `),this.list.style(x)}},{key:"getSelectedElements",value:function(){return this.list.getSelectedElements()}},{key:"getSelection",value:function(){return this.list.getSelection()}},{key:"getFocus",value:function(){return this.list.getFocus()}},{key:"dispose",value:function(){this.splitview.dispose(),this.list.dispose(),this.columnLayoutDisposable.dispose()}}]),In}();sa.InstanceCount=0;var Ai,ba=function(In,ve,x,le){var me=arguments.length,Ae=me<3?ve:le===null?le=Object.getOwnPropertyDescriptor(ve,x):le,tt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ae=Reflect.decorate(In,ve,x,le);else for(var pt=In.length-1;pt>=0;pt--)(tt=In[pt])&&(Ae=(me<3?tt(Ae):me>3?tt(ve,x,Ae):tt(ve,x))||Ae);return me>3&&Ae&&Object.defineProperty(ve,x,Ae),Ae},ea=function(In,ve){return function(x,le){ve(x,le,In)}},mn=Object(d.c)("listService"),It=function(){function In(ve){Object(n.a)(this,In),this._themeService=ve,this.disposables=new t.b,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}return Object(v.a)(In,[{key:"lastFocusedList",get:function(){return this._lastFocusedWidget}},{key:"register",value:function(x,le){var me=this;if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;var Ae=new p.b(Object(m.createStyleSheet)(),"");this.disposables.add(Object(D.b)(Ae,this._themeService))}if(this.lists.some(function(pt){return pt.widget===x}))throw new Error("Cannot register the same widget multiple times");var tt={widget:x,extraContextKeys:le};return this.lists.push(tt),x.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=x),Object(t.e)(x.onDidFocus(function(){return me._lastFocusedWidget=x}),Object(t.h)(function(){return me.lists.splice(me.lists.indexOf(tt),1)}),x.onDidDispose(function(){me.lists=me.lists.filter(function(pt){return pt!==tt}),me._lastFocusedWidget===x&&(me._lastFocusedWidget=void 0)}))}},{key:"dispose",value:function(){this.disposables.dispose()}}]),In}();It=ba([ea(0,W.b)],It);var Ue=new b.c("listFocus",!0),Ze=new b.c("listSupportsMultiselect",!0),Pe=b.a.and(Ue,b.a.not(te.a)),mt=new b.c("listHasSelectionOrFocus",!1),xt=new b.c("listDoubleSelection",!1),cn=new b.c("listMultiSelection",!1),Ut=new b.c("listSelectionNavigation",!1),wt=new b.c("listSupportsKeyboardNavigation",!0),Pn="listAutomaticKeyboardNavigation",an=new b.c(Pn,!0),Dn=!1;function Tn(In,ve){var x=In.createScoped(ve.getHTMLElement());return Ue.bindTo(x),x}var Zn="workbench.list.multiSelectModifier",Mr="workbench.list.openMode",xr="workbench.list.horizontalScrolling",Vr="workbench.list.keyboardNavigation",Dr="workbench.list.automaticKeyboardNavigation",dr="workbench.tree.indent",gt="workbench.tree.renderIndentGuides",Rr="workbench.list.smoothScrolling",ci="workbench.tree.expandMode";function ai(In){return In.getValue(Zn)==="alt"}var bi=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le){var me;return Object(n.a)(this,x),me=ve.call(this),me.configurationService=le,me.useAltAsMultipleSelectionModifier=ai(le),me.registerListeners(),me}return Object(v.a)(x,[{key:"registerListeners",value:function(){var me=this;this._register(this.configurationService.onDidChangeConfiguration(function(Ae){Ae.affectsConfiguration(Zn)&&(me.useAltAsMultipleSelectionModifier=ai(me.configurationService))}))}},{key:"isSelectionSingleChangeEvent",value:function(me){return this.useAltAsMultipleSelectionModifier?me.browserEvent.altKey:Object(p.h)(me)}},{key:"isSelectionRangeChangeEvent",value:function(me){return Object(p.g)(me)}}]),x}(t.a);function zr(In,ve,x){var le=new t.b,me=Object.assign({},In);if(In.multipleSelectionSupport!==!1&&!In.multipleSelectionController){var Ae=new bi(ve);me.multipleSelectionController=Ae,le.add(Ae)}return me.keyboardNavigationDelegate={mightProducePrintableCharacter:function(pt){return x.mightProducePrintableCharacter(pt)}},me.smoothScrolling=ve.getValue(Rr),[me,le]}var Hi=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke,we,Be,Le,J){var Ke;Object(n.a)(this,x);var We=typeof pt.horizontalScrolling!="undefined"?pt.horizontalScrolling:Le.getValue(xr),Ot=zr(pt,Le,J),Vt=Object(c.a)(Ot,2),$t=Vt[0],Gt=Vt[1];Ke=ve.call(this,le,me,Ae,tt,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(D.d)(Be.getColorTheme(),D.e)),$t),{horizontalScrolling:We})),Ke.disposables.add(Gt),Ke.contextKeyService=Tn(ke,Object(r.a)(Ke)),Ke.themeService=Be;var hn=Ze.bindTo(Ke.contextKeyService);hn.set(pt.multipleSelectionSupport!==!1);var $n=Ut.bindTo(Ke.contextKeyService);return $n.set(Boolean(pt.selectionNavigation)),Ke.listHasSelectionOrFocus=mt.bindTo(Ke.contextKeyService),Ke.listDoubleSelection=xt.bindTo(Ke.contextKeyService),Ke.listMultiSelection=cn.bindTo(Ke.contextKeyService),Ke.horizontalScrolling=pt.horizontalScrolling,Ke._useAltAsMultipleSelectionModifier=ai(Le),Ke.disposables.add(Ke.contextKeyService),Ke.disposables.add(we.register(Object(r.a)(Ke))),pt.overrideStyles&&Ke.updateStyles(pt.overrideStyles),Ke.disposables.add(Ke.onDidChangeSelection(function(){var Sr=Ke.getSelection(),vr=Ke.getFocus();Ke.contextKeyService.bufferChangeEvents(function(){Ke.listHasSelectionOrFocus.set(Sr.length>0||vr.length>0),Ke.listMultiSelection.set(Sr.length>1),Ke.listDoubleSelection.set(Sr.length===2)})})),Ke.disposables.add(Ke.onDidChangeFocus(function(){var Sr=Ke.getSelection(),vr=Ke.getFocus();Ke.listHasSelectionOrFocus.set(Sr.length>0||vr.length>0)})),Ke.disposables.add(Le.onDidChangeConfiguration(function(Sr){Sr.affectsConfiguration(Zn)&&(Ke._useAltAsMultipleSelectionModifier=ai(Le));var vr={};if(Sr.affectsConfiguration(xr)&&Ke.horizontalScrolling===void 0){var zn=Le.getValue(xr);vr=Object.assign(Object.assign({},vr),{horizontalScrolling:zn})}if(Sr.affectsConfiguration(Rr)){var Tr=Le.getValue(Rr);vr=Object.assign(Object.assign({},vr),{smoothScrolling:Tr})}Object.keys(vr).length>0&&Ke.updateOptions(vr)})),Ke.navigator=new Mn(Object(r.a)(Ke),Object.assign({configurationService:Le},pt)),Ke.disposables.add(Ke.navigator),Ke}return Object(v.a)(x,[{key:"updateOptions",value:function(me){Object(f.a)(Object(o.a)(x.prototype),"updateOptions",this).call(this,me),me.overrideStyles&&this.updateStyles(me.overrideStyles)}},{key:"updateStyles",value:function(me){var Ae;(Ae=this._styler)===null||Ae===void 0||Ae.dispose(),this._styler=Object(D.b)(this,this.themeService,me)}},{key:"dispose",value:function(){var me;(me=this._styler)===null||me===void 0||me.dispose(),Object(f.a)(Object(o.a)(x.prototype),"dispose",this).call(this)}}]),x}(p.c);Hi=ba([ea(5,b.b),ea(6,mn),ea(7,W.b),ea(8,A.a),ea(9,O.a)],Hi);var hi=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke,we,Be,Le,J){var Ke;Object(n.a)(this,x);var We=typeof pt.horizontalScrolling!="undefined"?pt.horizontalScrolling:Le.getValue(xr),Ot=zr(pt,Le,J),Vt=Object(c.a)(Ot,2),$t=Vt[0],Gt=Vt[1];Ke=ve.call(this,le,me,Ae,tt,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(D.d)(Be.getColorTheme(),D.e)),$t),{horizontalScrolling:We})),Ke.disposables=new t.b,Ke.disposables.add(Gt),Ke.contextKeyService=Tn(ke,Object(r.a)(Ke)),Ke.themeService=Be,Ke.horizontalScrolling=pt.horizontalScrolling;var hn=Ze.bindTo(Ke.contextKeyService);hn.set(pt.multipleSelectionSupport!==!1);var $n=Ut.bindTo(Ke.contextKeyService);return $n.set(Boolean(pt.selectionNavigation)),Ke._useAltAsMultipleSelectionModifier=ai(Le),Ke.disposables.add(Ke.contextKeyService),Ke.disposables.add(we.register(Object(r.a)(Ke))),pt.overrideStyles&&Ke.updateStyles(pt.overrideStyles),pt.overrideStyles&&Ke.disposables.add(Object(D.b)(Object(r.a)(Ke),Be,pt.overrideStyles)),Ke.disposables.add(Le.onDidChangeConfiguration(function(Sr){Sr.affectsConfiguration(Zn)&&(Ke._useAltAsMultipleSelectionModifier=ai(Le));var vr={};if(Sr.affectsConfiguration(xr)&&Ke.horizontalScrolling===void 0){var zn=Le.getValue(xr);vr=Object.assign(Object.assign({},vr),{horizontalScrolling:zn})}if(Sr.affectsConfiguration(Rr)){var Tr=Le.getValue(Rr);vr=Object.assign(Object.assign({},vr),{smoothScrolling:Tr})}Object.keys(vr).length>0&&Ke.updateOptions(vr)})),Ke.navigator=new Mn(Object(r.a)(Ke),Object.assign({configurationService:Le},pt)),Ke.disposables.add(Ke.navigator),Ke}return Object(v.a)(x,[{key:"updateOptions",value:function(me){Object(f.a)(Object(o.a)(x.prototype),"updateOptions",this).call(this,me),me.overrideStyles&&this.updateStyles(me.overrideStyles)}},{key:"updateStyles",value:function(me){var Ae;(Ae=this._styler)===null||Ae===void 0||Ae.dispose(),this._styler=Object(D.b)(this,this.themeService,me)}},{key:"dispose",value:function(){var me;(me=this._styler)===null||me===void 0||me.dispose(),this.disposables.dispose(),Object(f.a)(Object(o.a)(x.prototype),"dispose",this).call(this)}}]),x}(Y);hi=ba([ea(5,b.b),ea(6,mn),ea(7,W.b),ea(8,A.a),ea(9,O.a)],hi);var Ci=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke,we,Be,Le,J,Ke){var We;Object(n.a)(this,x);var Ot=typeof ke.horizontalScrolling!="undefined"?ke.horizontalScrolling:J.getValue(xr),Vt=zr(ke,J,Ke),$t=Object(c.a)(Vt,2),Gt=$t[0],hn=$t[1];We=ve.call(this,le,me,Ae,tt,pt,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(D.d)(Le.getColorTheme(),D.e)),Gt),{horizontalScrolling:Ot})),We.disposables=new t.b,We.disposables.add(hn),We.contextKeyService=Tn(we,Object(r.a)(We)),We.themeService=Le;var $n=Ze.bindTo(We.contextKeyService);$n.set(ke.multipleSelectionSupport!==!1);var Sr=Ut.bindTo(We.contextKeyService);return Sr.set(Boolean(ke.selectionNavigation)),We.listHasSelectionOrFocus=mt.bindTo(We.contextKeyService),We.listDoubleSelection=xt.bindTo(We.contextKeyService),We.listMultiSelection=cn.bindTo(We.contextKeyService),We.horizontalScrolling=ke.horizontalScrolling,We._useAltAsMultipleSelectionModifier=ai(J),We.disposables.add(We.contextKeyService),We.disposables.add(Be.register(Object(r.a)(We))),ke.overrideStyles&&We.updateStyles(ke.overrideStyles),We.disposables.add(We.onDidChangeSelection(function(){var vr=We.getSelection(),zn=We.getFocus();We.contextKeyService.bufferChangeEvents(function(){We.listHasSelectionOrFocus.set(vr.length>0||zn.length>0),We.listMultiSelection.set(vr.length>1),We.listDoubleSelection.set(vr.length===2)})})),We.disposables.add(We.onDidChangeFocus(function(){var vr=We.getSelection(),zn=We.getFocus();We.listHasSelectionOrFocus.set(vr.length>0||zn.length>0)})),We.disposables.add(J.onDidChangeConfiguration(function(vr){vr.affectsConfiguration(Zn)&&(We._useAltAsMultipleSelectionModifier=ai(J));var zn={};if(vr.affectsConfiguration(xr)&&We.horizontalScrolling===void 0){var Tr=J.getValue(xr);zn=Object.assign(Object.assign({},zn),{horizontalScrolling:Tr})}if(vr.affectsConfiguration(Rr)){var Qr=J.getValue(Rr);zn=Object.assign(Object.assign({},zn),{smoothScrolling:Qr})}Object.keys(zn).length>0&&We.updateOptions(zn)})),We.navigator=new nr(Object(r.a)(We),Object.assign({configurationService:J},ke)),We.disposables.add(We.navigator),We}return Object(v.a)(x,[{key:"updateOptions",value:function(me){Object(f.a)(Object(o.a)(x.prototype),"updateOptions",this).call(this,me),me.overrideStyles&&this.updateStyles(me.overrideStyles)}},{key:"updateStyles",value:function(me){var Ae;(Ae=this._styler)===null||Ae===void 0||Ae.dispose(),this._styler=Object(D.b)(this,this.themeService,me)}},{key:"dispose",value:function(){var me;(me=this._styler)===null||me===void 0||me.dispose(),this.disposables.dispose(),Object(f.a)(Object(o.a)(x.prototype),"dispose",this).call(this)}}]),x}(sa);Ci=ba([ea(6,b.b),ea(7,mn),ea(8,W.b),ea(9,A.a),ea(10,O.a)],Ci);var Ii=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me){var Ae;Object(n.a)(this,x);var tt;return Ae=ve.call(this),Ae.widget=le,Ae._onDidOpen=Ae._register(new w.a),Ae.onDidOpen=Ae._onDidOpen.event,Ae._register(w.b.filter(Ae.widget.onDidChangeSelection,function(pt){return pt.browserEvent instanceof KeyboardEvent})(function(pt){return Ae.onSelectionFromKeyboard(pt)})),Ae._register(Ae.widget.onPointer(function(pt){return Ae.onPointer(pt.element,pt.browserEvent)})),Ae._register(Ae.widget.onMouseDblClick(function(pt){return Ae.onMouseDblClick(pt.element,pt.browserEvent)})),typeof(me==null?void 0:me.openOnSingleClick)!="boolean"&&(me==null?void 0:me.configurationService)?(Ae.openOnSingleClick=(me==null?void 0:me.configurationService.getValue(Mr))!=="doubleClick",Ae._register(me==null?void 0:me.configurationService.onDidChangeConfiguration(function(){Ae.openOnSingleClick=(me==null?void 0:me.configurationService.getValue(Mr))!=="doubleClick"}))):Ae.openOnSingleClick=(tt=me==null?void 0:me.openOnSingleClick)!==null&&tt!==void 0?tt:!0,Ae}return Object(v.a)(x,[{key:"onSelectionFromKeyboard",value:function(me){if(me.elements.length===1){var Ae=me.browserEvent,tt=typeof Ae.preserveFocus=="boolean"?Ae.preserveFocus:!0,pt=typeof Ae.pinned=="boolean"?Ae.pinned:!tt,ke=!1;this._open(this.getSelectedElement(),tt,pt,ke,me.browserEvent)}}},{key:"onPointer",value:function(me,Ae){if(!!this.openOnSingleClick){var tt=Ae.detail===2;if(!tt){var pt=Ae.button===1,ke=!0,we=pt,Be=Ae.ctrlKey||Ae.metaKey||Ae.altKey;this._open(me,ke,we,Be,Ae)}}}},{key:"onMouseDblClick",value:function(me,Ae){if(!!Ae){var tt=Ae.target,pt=tt.classList.contains("monaco-tl-twistie")||tt.classList.contains("monaco-icon-label")&&tt.classList.contains("folder-icon")&&Ae.offsetX<16;if(!pt){var ke=!1,we=!0,Be=Ae.ctrlKey||Ae.metaKey||Ae.altKey;this._open(me,ke,we,Be,Ae)}}}},{key:"_open",value:function(me,Ae,tt,pt,ke){!me||this._onDidOpen.fire({editorOptions:{preserveFocus:Ae,pinned:tt,revealIfVisible:!0},sideBySide:pt,element:me,browserEvent:ke})}}]),x}(t.a),Mn=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me){var Ae;return Object(n.a)(this,x),Ae=ve.call(this,le,me),Ae.widget=le,Ae}return Object(v.a)(x,[{key:"getSelectedElement",value:function(){return this.widget.getSelectedElements()[0]}}]),x}(Ii),nr=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me){return Object(n.a)(this,x),ve.call(this,le,me)}return Object(v.a)(x,[{key:"getSelectedElement",value:function(){return this.widget.getSelectedElements()[0]}}]),x}(Ii),cr=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me){return Object(n.a)(this,x),ve.call(this,le,me)}return Object(v.a)(x,[{key:"getSelectedElement",value:function(){var me;return(me=this.widget.getSelection()[0])!==null&&me!==void 0?me:void 0}}]),x}(Ii);function Lr(In,ve){var x=!1;return function(le){if(x)return x=!1,!1;var me=ve.softDispatch(le,In);return me&&me.enterChord?(x=!0,!1):(x=!1,!0)}}var ei=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke,we,Be,Le,J,Ke){var We;Object(n.a)(this,x);var Ot=ga(me,pt,ke,Le,J,Ke),Vt=Ot.options,$t=Ot.getAutomaticKeyboardNavigation,Gt=Ot.disposable;return We=ve.call(this,le,me,Ae,tt,Vt),We.disposables.add(Gt),We.internals=new fa(Object(r.a)(We),pt,$t,pt.overrideStyles,ke,we,Be,Le,Ke),We.disposables.add(We.internals),We}return Object(v.a)(x)}(dt);ei=ba([ea(5,b.b),ea(6,mn),ea(7,W.b),ea(8,A.a),ea(9,O.a),ea(10,Zi.b)],ei);var ki=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke,we,Be,Le,J,Ke){var We;Object(n.a)(this,x);var Ot=ga(me,pt,ke,Le,J,Ke),Vt=Ot.options,$t=Ot.getAutomaticKeyboardNavigation,Gt=Ot.disposable;return We=ve.call(this,le,me,Ae,tt,Vt),We.disposables.add(Gt),We.internals=new fa(Object(r.a)(We),pt,$t,pt.overrideStyles,ke,we,Be,Le,Ke),We.disposables.add(We.internals),We}return Object(v.a)(x,[{key:"updateOptions",value:function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Object(f.a)(Object(o.a)(x.prototype),"updateOptions",this).call(this,me),me.overrideStyles&&this.internals.updateStyleOverrides(me.overrideStyles)}}]),x}(pn);ki=ba([ea(5,b.b),ea(6,mn),ea(7,W.b),ea(8,A.a),ea(9,O.a),ea(10,Zi.b)],ki);var ua=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke,we,Be,Le,J,Ke,We){var Ot;Object(n.a)(this,x);var Vt=ga(me,ke,we,J,Ke,We),$t=Vt.options,Gt=Vt.getAutomaticKeyboardNavigation,hn=Vt.disposable;return Ot=ve.call(this,le,me,Ae,tt,pt,$t),Ot.disposables.add(hn),Ot.internals=new fa(Object(r.a)(Ot),ke,Gt,ke.overrideStyles,we,Be,Le,J,We),Ot.disposables.add(Ot.internals),Ot}return Object(v.a)(x,[{key:"updateOptions",value:function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Object(f.a)(Object(o.a)(x.prototype),"updateOptions",this).call(this,me),me.overrideStyles&&this.internals.updateStyleOverrides(me.overrideStyles)}}]),x}(ca);ua=ba([ea(6,b.b),ea(7,mn),ea(8,W.b),ea(9,A.a),ea(10,O.a),ea(11,Zi.b)],ua);var Qi=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke,we,Be,Le,J,Ke,We){var Ot;Object(n.a)(this,x);var Vt=ga(me,ke,we,J,Ke,We),$t=Vt.options,Gt=Vt.getAutomaticKeyboardNavigation,hn=Vt.disposable;return Ot=ve.call(this,le,me,Ae,tt,pt,$t),Ot.disposables.add(hn),Ot.internals=new fa(Object(r.a)(Ot),ke,Gt,ke.overrideStyles,we,Be,Le,J,We),Ot.disposables.add(Ot.internals),Ot}return Object(v.a)(x,[{key:"onDidOpen",get:function(){return this.internals.onDidOpen}},{key:"updateOptions",value:function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Object(f.a)(Object(o.a)(x.prototype),"updateOptions",this).call(this,me),me.overrideStyles&&this.internals.updateStyleOverrides(me.overrideStyles)}}]),x}(xi);Qi=ba([ea(6,b.b),ea(7,mn),ea(8,W.b),ea(9,A.a),ea(10,O.a),ea(11,Zi.b)],Qi);var Br=function(In){Object(i.a)(x,In);var ve=Object(a.a)(x);function x(le,me,Ae,tt,pt,ke,we,Be,Le,J,Ke,We,Ot){var Vt;Object(n.a)(this,x);var $t=ga(me,we,Be,Ke,We,Ot),Gt=$t.options,hn=$t.getAutomaticKeyboardNavigation,$n=$t.disposable;return Vt=ve.call(this,le,me,Ae,tt,pt,ke,Gt),Vt.disposables.add($n),Vt.internals=new fa(Object(r.a)(Vt),we,hn,we.overrideStyles,Be,Le,J,Ke,Ot),Vt.disposables.add(Vt.internals),Vt}return Object(v.a)(x)}(Ti);Br=ba([ea(7,b.b),ea(8,mn),ea(9,W.b),ea(10,A.a),ea(11,O.a),ea(12,Zi.b)],Br);function ga(In,ve,x,le,me,Ae){var tt;wt.bindTo(x),Dn||(an.bindTo(x),Dn=!0);var pt=function(){var $t=x.getContextKeyValue(Pn);return $t&&($t=le.getValue(Dr)),$t},ke=Ae.isScreenReaderOptimized(),we=ve.simpleKeyboardNavigation||ke?"simple":le.getValue(Vr),Be=ve.horizontalScrolling!==void 0?ve.horizontalScrolling:le.getValue(xr),Le=zr(ve,le,me),J=Object(c.a)(Le,2),Ke=J[0],We=J[1],Ot=ve.additionalScrollHeight;return{getAutomaticKeyboardNavigation:pt,disposable:We,options:Object.assign(Object.assign({keyboardSupport:!1},Ke),{indent:le.getValue(dr),renderIndentGuides:le.getValue(gt),smoothScrolling:le.getValue(Rr),automaticKeyboardNavigation:pt(),simpleKeyboardNavigation:we==="simple",filterOnType:we==="filter",horizontalScrolling:Be,keyboardNavigationEventFilter:Lr(In,me),additionalScrollHeight:Ot,hideTwistiesOfChildlessElements:ve.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:(tt=ve.expandOnlyOnTwistieClick)!==null&&tt!==void 0?tt:le.getValue(ci)==="doubleClick"})}}var fa=function(){function In(ve,x,le,me,Ae,tt,pt,ke,we){var Be=this;Object(n.a)(this,In),this.tree=ve,this.themeService=pt,this.disposables=[],this.contextKeyService=Tn(Ae,ve);var Le=Ze.bindTo(this.contextKeyService);Le.set(x.multipleSelectionSupport!==!1);var J=Ut.bindTo(this.contextKeyService);J.set(Boolean(x.selectionNavigation)),this.hasSelectionOrFocus=mt.bindTo(this.contextKeyService),this.hasDoubleSelection=xt.bindTo(this.contextKeyService),this.hasMultiSelection=cn.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=ai(ke);var Ke=new Set;Ke.add(Pn);var We=function(){var Vt=we.isScreenReaderOptimized(),$t=Vt?"simple":ke.getValue(Vr);ve.updateOptions({simpleKeyboardNavigation:$t==="simple",filterOnType:$t==="filter"})};this.updateStyleOverrides(me),this.disposables.push(this.contextKeyService,tt.register(ve),ve.onDidChangeSelection(function(){var Ot=ve.getSelection(),Vt=ve.getFocus();Be.contextKeyService.bufferChangeEvents(function(){Be.hasSelectionOrFocus.set(Ot.length>0||Vt.length>0),Be.hasMultiSelection.set(Ot.length>1),Be.hasDoubleSelection.set(Ot.length===2)})}),ve.onDidChangeFocus(function(){var Ot=ve.getSelection(),Vt=ve.getFocus();Be.hasSelectionOrFocus.set(Ot.length>0||Vt.length>0)}),ke.onDidChangeConfiguration(function(Ot){var Vt={};if(Ot.affectsConfiguration(Zn)&&(Be._useAltAsMultipleSelectionModifier=ai(ke)),Ot.affectsConfiguration(dr)){var $t=ke.getValue(dr);Vt=Object.assign(Object.assign({},Vt),{indent:$t})}if(Ot.affectsConfiguration(gt)){var Gt=ke.getValue(gt);Vt=Object.assign(Object.assign({},Vt),{renderIndentGuides:Gt})}if(Ot.affectsConfiguration(Rr)){var hn=ke.getValue(Rr);Vt=Object.assign(Object.assign({},Vt),{smoothScrolling:hn})}if(Ot.affectsConfiguration(Vr)&&We(),Ot.affectsConfiguration(Dr)&&(Vt=Object.assign(Object.assign({},Vt),{automaticKeyboardNavigation:le()})),Ot.affectsConfiguration(xr)&&x.horizontalScrolling===void 0){var $n=ke.getValue(xr);Vt=Object.assign(Object.assign({},Vt),{horizontalScrolling:$n})}Ot.affectsConfiguration(ci)&&x.expandOnlyOnTwistieClick===void 0&&(Vt=Object.assign(Object.assign({},Vt),{expandOnlyOnTwistieClick:ke.getValue(ci)==="doubleClick"})),Object.keys(Vt).length>0&&ve.updateOptions(Vt)}),this.contextKeyService.onDidChangeContext(function(Ot){Ot.affectsSome(Ke)&&ve.updateOptions({automaticKeyboardNavigation:le()})}),we.onDidChangeScreenReaderOptimized(function(){return We()})),this.navigator=new cr(ve,Object.assign({configurationService:ke},x)),this.disposables.push(this.navigator)}return Object(v.a)(In,[{key:"onDidOpen",get:function(){return this.navigator.onDidOpen}},{key:"updateStyleOverrides",value:function(x){Object(t.f)(this.styler),this.styler=x?Object(D.b)(this.tree,this.themeService,x):t.a.None}},{key:"dispose",value:function(){this.disposables=Object(t.f)(this.disposables),Object(t.f)(this.styler),this.styler=void 0}}]),In}();fa=ba([ea(4,b.b),ea(5,mn),ea(6,W.b),ea(7,A.a),ea(8,Zi.b)],fa);var Ja=E.a.as(g.a.Configuration);Ja.registerConfiguration({id:"workbench",order:7,title:Object($.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(Ai={},Object(u.a)(Ai,Zn,{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object($.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object($.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object($.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.")}),Object(u.a)(Ai,Mr,{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object($.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). Note that some trees and lists might choose to ignore this setting if it is not applicable.")}),Object(u.a)(Ai,xr,{type:"boolean",default:!1,description:Object($.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")}),Object(u.a)(Ai,dr,{type:"number",default:8,minimum:0,maximum:40,description:Object($.a)("tree indent setting","Controls tree indentation in pixels.")}),Object(u.a)(Ai,gt,{type:"string",enum:["none","onHover","always"],default:"onHover",description:Object($.a)("render tree indent guides","Controls whether the tree should render indent guides.")}),Object(u.a)(Ai,Rr,{type:"boolean",default:!1,description:Object($.a)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")}),Object(u.a)(Ai,Vr,{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object($.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object($.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object($.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object($.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")}),Object(u.a)(Ai,Dr,{type:"boolean",default:!0,markdownDescription:Object($.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.")}),Object(u.a)(Ai,ci,{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object($.a)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")}),Ai)})},kPKH:function(Ie,M,e){"use strict";var u=e("/kpp");M.a=u.a},"kVK+":function(Ie,M){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */M.read=function(e,u,c,r,f){var o,i,a=f*8-r-1,n=(1<<a)-1,v=n>>1,m=-7,h=c?f-1:0,t=c?-1:1,l=e[u+h];for(h+=t,o=l&(1<<-m)-1,l>>=-m,m+=a;m>0;o=o*256+e[u+h],h+=t,m-=8);for(i=o&(1<<-m)-1,o>>=-m,m+=r;m>0;i=i*256+e[u+h],h+=t,m-=8);if(o===0)o=1-v;else{if(o===n)return i?NaN:(l?-1:1)*Infinity;i=i+Math.pow(2,r),o=o-v}return(l?-1:1)*i*Math.pow(2,o-r)},M.write=function(e,u,c,r,f,o){var i,a,n,v=o*8-f-1,m=(1<<v)-1,h=m>>1,t=f===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=r?0:o-1,p=r?1:-1,w=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===Infinity?(a=isNaN(u)?1:0,i=m):(i=Math.floor(Math.log(u)/Math.LN2),u*(n=Math.pow(2,-i))<1&&(i--,n*=2),i+h>=1?u+=t/n:u+=t*Math.pow(2,1-h),u*n>=2&&(i++,n/=2),i+h>=m?(a=0,i=m):i+h>=1?(a=(u*n-1)*Math.pow(2,f),i=i+h):(a=u*Math.pow(2,h-1)*Math.pow(2,f),i=0));f>=8;e[c+l]=a&255,l+=p,a/=256,f-=8);for(i=i<<f|a,v+=f;v>0;e[c+l]=i&255,l+=p,i/=256,v-=8);e[c+l-p]|=w*128}},kYye:function(Ie,M,e){"use strict";e.d(M,"i",function(){return o}),e.d(M,"j",function(){return i}),e.d(M,"g",function(){return h}),e.d(M,"f",function(){return t}),e.d(M,"h",function(){return p}),e.d(M,"a",function(){return w}),e.d(M,"k",function(){return S}),e.d(M,"b",function(){return T}),e.d(M,"n",function(){return I}),e.d(M,"e",function(){return Y}),e.d(M,"c",function(){return $}),e.d(M,"d",function(){return A}),e.d(M,"m",function(){return g}),e.d(M,"l",function(){return b}),e.d(M,"o",function(){return O}),e.d(M,"p",function(){return E}),e.d(M,"s",function(){return W}),e.d(M,"q",function(){return te}),e.d(M,"t",function(){return re}),e.d(M,"r",function(){return ye});var u=e("3/fG"),c=e("zrhQ"),r=e("MD5Z"),f=e("t9D7"),o=Object(r.rc)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},u.a("lineHighlight","Background color for the highlight of line at the cursor position.")),i=Object(r.rc)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},u.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),a=Object(r.rc)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},u.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),n=Object(r.rc)("editor.rangeHighlightBorder",{dark:null,light:null,hc:r.b},u.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),v=Object(r.rc)("editor.symbolHighlightBackground",{dark:r.x,light:r.x,hc:null},u.a("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),m=Object(r.rc)("editor.symbolHighlightBorder",{dark:null,light:null,hc:r.b},u.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),h=Object(r.rc)("editorCursor.foreground",{dark:"#AEAFAD",light:c.a.black,hc:c.a.white},u.a("caret","Color of the editor cursor.")),t=Object(r.rc)("editorCursor.background",null,u.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),l=Object(r.rc)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},u.a("editorWhitespaces","Color of whitespace characters in the editor.")),p=Object(r.rc)("editorIndentGuide.background",{dark:l,light:l,hc:l},u.a("editorIndentGuides","Color of the editor indentation guides.")),w=Object(r.rc)("editorIndentGuide.activeBackground",{dark:l,light:l,hc:l},u.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),S=Object(r.rc)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:c.a.white},u.a("editorLineNumbers","Color of editor line numbers.")),k=Object(r.rc)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:r.b},u.a("editorActiveLineNumber","Color of editor active line number"),!1,u.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),T=Object(r.rc)("editorLineNumber.activeForeground",{dark:k,light:k,hc:k},u.a("editorActiveLineNumber","Color of editor active line number")),I=Object(r.rc)("editorRuler.foreground",{dark:"#5A5A5A",light:c.a.lightgrey,hc:c.a.white},u.a("editorRuler","Color of the editor rulers.")),Y=Object(r.rc)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},u.a("editorCodeLensForeground","Foreground color of editor CodeLens")),$=Object(r.rc)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},u.a("editorBracketMatchBackground","Background color behind matching brackets")),A=Object(r.rc)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:r.h},u.a("editorBracketMatchBorder","Color for matching brackets boxes")),g=Object(r.rc)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},u.a("editorOverviewRulerBorder","Color of the overview ruler border.")),b=Object(r.rc)("editorOverviewRuler.background",null,u.a("editorOverviewRulerBackground","Background color of the editor overview ruler. Only used when the minimap is enabled and placed on the right side of the editor.")),d=Object(r.rc)("editorGutter.background",{dark:r.r,light:r.r,hc:r.r},u.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),O=Object(r.rc)("editorUnnecessaryCode.border",{dark:null,light:null,hc:c.a.fromHex("#fff").transparent(.8)},u.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),E=Object(r.rc)("editorUnnecessaryCode.opacity",{dark:c.a.fromHex("#000a"),light:c.a.fromHex("#0007"),hc:null},u.a("unnecessaryCodeOpacity",`Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`)),D=new c.a(new c.c(0,122,204,.6)),W=Object(r.rc)("editorOverviewRuler.rangeHighlightForeground",{dark:D,light:D,hc:D},u.a("overviewRulerRangeHighlight","Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."),!0),te=Object(r.rc)("editorOverviewRuler.errorForeground",{dark:new c.a(new c.c(255,18,18,.7)),light:new c.a(new c.c(255,18,18,.7)),hc:new c.a(new c.c(255,50,50,1))},u.a("overviewRuleError","Overview ruler marker color for errors.")),re=Object(r.rc)("editorOverviewRuler.warningForeground",{dark:r.X,light:r.X,hc:r.W},u.a("overviewRuleWarning","Overview ruler marker color for warnings.")),ye=Object(r.rc)("editorOverviewRuler.infoForeground",{dark:r.M,light:r.M,hc:r.L},u.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(f.f)(function(q,oe){var he=q.getColor(r.r);he&&oe.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ".concat(he,"; }"));var ue=q.getColor(r.B);ue&&oe.addRule(".monaco-editor, .monaco-editor .inputarea.ime-input { color: ".concat(ue,"; }"));var ne=q.getColor(d);ne&&oe.addRule(".monaco-editor .margin { background-color: ".concat(ne,"; }"));var se=q.getColor(a);se&&oe.addRule(".monaco-editor .rangeHighlight { background-color: ".concat(se,"; }"));var be=q.getColor(n);be&&oe.addRule(".monaco-editor .rangeHighlight { border: 1px ".concat(q.type==="hc"?"dotted":"solid"," ").concat(be,"; }"));var Z=q.getColor(v);Z&&oe.addRule(".monaco-editor .symbolHighlight { background-color: ".concat(Z,"; }"));var ee=q.getColor(m);ee&&oe.addRule(".monaco-editor .symbolHighlight { border: 1px ".concat(q.type==="hc"?"dotted":"solid"," ").concat(ee,"; }"));var ce=q.getColor(l);ce&&(oe.addRule(".monaco-editor .mtkw { color: ".concat(ce," !important; }")),oe.addRule(".monaco-editor .mtkz { color: ".concat(ce," !important; }")))})},kaz8:function(Ie,M,e){"use strict";var u=e("rePB"),c=e("wx14"),r=e("TSYQ"),f=e.n(r),o=e("x1Ya"),i=e("q1tI"),a=e("H84U"),n=e("ihLV"),v=e("KQm4"),m=e("ODXe"),h=e("bT9E"),t=function(b,d){var O={};for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&d.indexOf(E)<0&&(O[E]=b[E]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,E=Object.getOwnPropertySymbols(b);D<E.length;D++)d.indexOf(E[D])<0&&Object.prototype.propertyIsEnumerable.call(b,E[D])&&(O[E[D]]=b[E[D]]);return O},l=i.createContext(null),p=function(d,O){var E=d.defaultValue,D=d.children,W=d.options,te=W===void 0?[]:W,re=d.prefixCls,ye=d.className,q=d.style,oe=d.onChange,he=t(d,["defaultValue","children","options","prefixCls","className","style","onChange"]),ue=i.useContext(a.b),ne=ue.getPrefixCls,se=ue.direction,be=i.useState(he.value||E||[]),Z=Object(m.a)(be,2),ee=Z[0],ce=Z[1],R=i.useState([]),y=Object(m.a)(R,2),C=y[0],z=y[1];i.useEffect(function(){"value"in he&&ce(he.value||[])},[he.value]);var G=function(){return te.map(function(ge){return typeof ge=="string"||typeof ge=="number"?{label:ge,value:ge}:ge})},X=function(ge){z(function(Ve){return Ve.filter(function(Ee){return Ee!==ge})})},pe=function(ge){z(function(Ve){return[].concat(Object(v.a)(Ve),[ge])})},ae=function(ge){var Ve=ee.indexOf(ge.value),Ee=Object(v.a)(ee);Ve===-1?Ee.push(ge.value):Ee.splice(Ve,1),"value"in he||ce(Ee);var Me=G();oe==null||oe(Ee.filter(function(_e){return C.includes(_e)}).sort(function(_e,Re){var et=Me.findIndex(function(it){return it.value===_e}),Xe=Me.findIndex(function(it){return it.value===Re});return et-Xe}))},Se=ne("checkbox",re),Te="".concat(Se,"-group"),je=Object(h.a)(he,["value","disabled"]);te&&te.length>0&&(D=G().map(function(ie){return i.createElement($,{prefixCls:Se,key:ie.value.toString(),disabled:"disabled"in ie?ie.disabled:he.disabled,value:ie.value,checked:ee.includes(ie.value),onChange:ie.onChange,className:"".concat(Te,"-item"),style:ie.style},ie.label)}));var ft={toggleOption:ae,value:ee,disabled:he.disabled,name:he.name,registerValue:pe,cancelValue:X},fe=f()(Te,Object(u.a)({},"".concat(Te,"-rtl"),se==="rtl"),ye);return i.createElement("div",Object(c.a)({className:fe,style:q},je,{ref:O}),i.createElement(l.Provider,{value:ft},D))},w=i.forwardRef(p),S=i.memo(w),k=e("caoh"),T=function(b,d){var O={};for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&d.indexOf(E)<0&&(O[E]=b[E]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,E=Object.getOwnPropertySymbols(b);D<E.length;D++)d.indexOf(E[D])<0&&Object.prototype.propertyIsEnumerable.call(b,E[D])&&(O[E[D]]=b[E[D]]);return O},I=function(d,O){var E,D,W=d.prefixCls,te=d.className,re=d.children,ye=d.indeterminate,q=ye===void 0?!1:ye,oe=d.style,he=d.onMouseEnter,ue=d.onMouseLeave,ne=d.skipGroup,se=ne===void 0?!1:ne,be=d.disabled,Z=T(d,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),ee=i.useContext(a.b),ce=ee.getPrefixCls,R=ee.direction,y=i.useContext(l),C=Object(i.useContext)(n.b),z=C.isFormItemInput,G=Object(i.useContext)(k.b),X=(D=(y==null?void 0:y.disabled)||be)!==null&&D!==void 0?D:G,pe=i.useRef(Z.value);i.useEffect(function(){y==null||y.registerValue(Z.value)},[]),i.useEffect(function(){if(!se)return Z.value!==pe.current&&(y==null||y.cancelValue(pe.current),y==null||y.registerValue(Z.value),pe.current=Z.value),function(){return y==null?void 0:y.cancelValue(Z.value)}},[Z.value]);var ae=ce("checkbox",W),Se=Object(c.a)({},Z);y&&!se&&(Se.onChange=function(){Z.onChange&&Z.onChange.apply(Z,arguments),y.toggleOption&&y.toggleOption({label:re,value:Z.value})},Se.name=y.name,Se.checked=y.value.includes(Z.value));var Te=f()((E={},Object(u.a)(E,"".concat(ae,"-wrapper"),!0),Object(u.a)(E,"".concat(ae,"-rtl"),R==="rtl"),Object(u.a)(E,"".concat(ae,"-wrapper-checked"),Se.checked),Object(u.a)(E,"".concat(ae,"-wrapper-disabled"),X),Object(u.a)(E,"".concat(ae,"-wrapper-in-form-item"),z),E),te),je=f()(Object(u.a)({},"".concat(ae,"-indeterminate"),q)),ft=q?"mixed":void 0;return i.createElement("label",{className:Te,style:oe,onMouseEnter:he,onMouseLeave:ue},i.createElement(o.a,Object(c.a)({"aria-checked":ft},Se,{prefixCls:ae,className:je,disabled:X,ref:O})),re!==void 0&&i.createElement("span",null,re))},Y=i.forwardRef(I),$=Y,A=$;A.Group=S,A.__ANT_CHECKBOX=!0;var g=M.a=A},kekF:function(Ie,M){function e(u,c){return function(r){return u(c(r))}}Ie.exports=e},khRU:function(Ie,M){Ie.exports="0.8.5"},"kw+w":function(Ie,M,e){},kwvR:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("vuIU"),r=e("1OyB"),f=e("Ji7U"),o=e("LK+K"),i=e("nKUr"),a=e("PjWh"),n=e("ipCM"),v=e("BGR+"),m=e("q1tI"),h=e.n(m),t=e("AWJX"),l=e("rePB"),p=e("g9YV"),w=e("wCAj"),S=e("GNNt"),k=e("wEI+"),T=e("x+uP"),I=e("HaE+"),Y=e("y8nQ"),$=e("Vl3Y"),A=e("ODXe"),g=e("Ff2n"),b=e("erM0"),d=e("uX+g"),O=e("YSkC"),E=e("+caW"),D=e("iOmF"),W=e("rmhi"),te=e("hkzD"),re=e("PNUv"),ye=e("Ga8k"),q=["steps","columns","forceUpdate","grid"],oe=function(lt){var Nt=lt.steps,zt=lt.columns,en=lt.forceUpdate,tn=lt.grid,wn=Object(g.a)(lt,q),on=Object(b.a)(wn),vn=Object(m.useCallback)(function(ct){var Kt,pn;(Kt=(pn=on.current).onCurrentChange)===null||Kt===void 0||Kt.call(pn,ct),en([])},[en,on]),dt=Object(m.useMemo)(function(){return Nt==null?void 0:Nt.map(function(ct,Kt){return Object(m.createElement)(Sn,Object(u.a)(Object(u.a)({grid:tn},ct),{},{key:Kt,layoutType:"StepForm",columns:zt[Kt]}))})},[zt,tn,Nt]);return Object(i.jsx)(ye.a,Object(u.a)(Object(u.a)({},wn),{},{onCurrentChange:vn,children:dt}))},he=oe,ue=function(lt){var Nt=lt.children;return Object(i.jsx)(i.Fragment,{children:Nt})},ne=ue,se=e("Kwbf"),be=e("WuYN"),Z=function(lt,Nt){var zt=Nt.genItems;if(lt.valueType==="dependency"){var en,tn,wn,on=(en=lt.getFieldProps)===null||en===void 0?void 0:en.call(lt);return Object(se.b)(Array.isArray((tn=lt.name)!==null&&tn!==void 0?tn:on==null?void 0:on.name),'SchemaForm: fieldProps.name should be NamePath[] when valueType is "dependency"'),Object(se.b)(typeof lt.columns=="function",'SchemaForm: columns should be a function when valueType is "dependency"'),Array.isArray((wn=lt.name)!==null&&wn!==void 0?wn:on==null?void 0:on.name)?Object(m.createElement)(be.a,Object(u.a)(Object(u.a)({name:lt.name},on),{},{key:lt.key}),function(vn){return!lt.columns||typeof lt.columns!="function"?null:zt(lt.columns(vn))}):null}return!0},ee=e("/zsF"),ce=e("PArb"),R=function(lt){if(lt.valueType==="divider"){var Nt;return Object(m.createElement)(ce.a,Object(u.a)(Object(u.a)({},(Nt=lt.getFieldProps)===null||Nt===void 0?void 0:Nt.call(lt)),{},{key:lt.key}))}return!0},y=e("adzw"),C=function(lt,Nt){var zt=Nt.action,en=Nt.formRef,tn=Nt.type,wn=Nt.originItem,on=Object(u.a)(Object(u.a)({},Object(v.a)(lt,["dataIndex","width","render","renderFormItem","renderText","title"])),{},{name:lt.dataIndex,width:lt.width,render:(lt==null?void 0:lt.render)?function(Kt,pn,kn){var Pt,gn,_n;return lt==null||(Pt=lt.render)===null||Pt===void 0?void 0:Pt.call(lt,Kt,pn,kn,zt==null?void 0:zt.current,Object(u.a)(Object(u.a)({type:tn},lt),{},{formItemProps:(gn=lt.getFormItemProps)===null||gn===void 0?void 0:gn.call(lt),fieldProps:(_n=lt.getFieldProps)===null||_n===void 0?void 0:_n.call(lt)}))}:void 0}),vn=function(){return Object(i.jsx)(y.a,Object(u.a)(Object(u.a)({},on),{},{ignoreFormItem:!0}))},dt=(lt==null?void 0:lt.renderFormItem)?function(Kt,pn){var kn,Pt,gn,_n=Object(a.a)(Object(u.a)(Object(u.a)({},pn),{},{onChange:void 0}));return lt==null||(kn=lt.renderFormItem)===null||kn===void 0?void 0:kn.call(lt,Object(u.a)(Object(u.a)({type:tn},lt),{},{formItemProps:(Pt=lt.getFormItemProps)===null||Pt===void 0?void 0:Pt.call(lt),fieldProps:(gn=lt.getFieldProps)===null||gn===void 0?void 0:gn.call(lt),originProps:wn}),Object(u.a)(Object(u.a)({},_n),{},{defaultRender:vn,type:tn}),en.current)}:void 0;if(lt==null?void 0:lt.renderFormItem){var ct=dt==null?void 0:dt(null,{});if(!ct||lt.ignoreFormItem)return ct}return Object(m.createElement)(y.a,Object(u.a)(Object(u.a)({},on),{},{key:"".concat(lt.key,"-").concat(lt.index),renderFormItem:dt}))},z=e("x1Ii"),G=function(lt,Nt){var zt=Nt.genItems;if(lt.valueType==="formList"&<.dataIndex){var en,tn,wn,on,vn,dt,ct,Kt,pn,kn,Pt;return!lt.columns||!Array.isArray(lt.columns)?null:Object(i.jsx)(z.b,Object(u.a)(Object(u.a)({name:lt.dataIndex,label:lt.label,initialValue:lt.initialValue,colProps:lt.colProps,rowProps:lt.rowProps},(en=lt.getFieldProps)===null||en===void 0?void 0:en.call(lt)),{},{isValidateList:(tn=((vn=lt.getFormItemProps)===null||vn===void 0?void 0:vn.call(lt))||((dt=lt.getFieldProps)===null||dt===void 0?void 0:dt.call(lt)))===null||tn===void 0||(wn=tn.rules)===null||wn===void 0||(on=wn[0])===null||on===void 0?void 0:on.required,emptyListMessage:(ct=((kn=lt.getFormItemProps)===null||kn===void 0?void 0:kn.call(lt))||((Pt=lt.getFieldProps)===null||Pt===void 0?void 0:Pt.call(lt)))===null||ct===void 0||(Kt=ct.rules)===null||Kt===void 0||(pn=Kt[0])===null||pn===void 0?void 0:pn.message,children:zt(lt.columns)}),lt.key)}return!0},X=e("KQm4"),pe=e("5NDa"),ae=e("5rEg"),Se=e("DYRE"),Te=e("zeV3"),je=e("+i8S"),ft=e("Zm9Q"),fe=e("WFLz"),ie=e("a7SZ"),ge=["children","value","valuePropName","onChange","fieldProps","space","type","transform","convertValue"],Ve=["children","space","valuePropName"],Ee={space:Te.b,group:ae.a.Group};function Me(Un){var lt=arguments.length<=1?void 0:arguments[1];return lt&<.target&&Un in lt.target?lt.target[Un]:lt}var _e=function(lt){var Nt=lt.children,zt=lt.value,en=zt===void 0?[]:zt,tn=lt.valuePropName,wn=lt.onChange,on=lt.fieldProps,vn=lt.space,dt=lt.type,ct=dt===void 0?"space":dt,Kt=lt.transform,pn=lt.convertValue,kn=Object(g.a)(lt,ge),Pt=Object(je.a)(function(ar,sr){var yr,br=Object(X.a)(en);br[sr]=Me(tn||"value",ar),wn==null||wn(br),on==null||(yr=on.onChange)===null||yr===void 0||yr.call(on,br)}),gn=-1,_n=Object(ft.a)(Nt).map(function(ar){if(h.a.isValidElement(ar)){var sr,yr,br;gn+=1;var _r=gn,li=(ar==null||(sr=ar.type)===null||sr===void 0?void 0:sr.displayName)==="ProFormComponent"||(ar==null||(yr=ar.props)===null||yr===void 0?void 0:yr.readonly),xi=li?Object(u.a)(Object(u.a)({key:_r,ignoreFormItem:!0},ar.props||{}),{},{fieldProps:Object(u.a)(Object(u.a)({},ar==null||(br=ar.props)===null||br===void 0?void 0:br.fieldProps),{},{onChange:function(){Pt(arguments.length<=0?void 0:arguments[0],_r)}}),value:en==null?void 0:en[_r],onChange:void 0}):Object(u.a)(Object(u.a)({key:_r},ar.props||{}),{},{value:en==null?void 0:en[_r],onChange:function(Fr){var ur,Ti;Pt(Fr,_r),(ur=(Ti=ar.props).onChange)===null||ur===void 0||ur.call(Ti,Fr)}});return h.a.cloneElement(ar,xi)}return ar}),Kn=Ee[ct],qn=Object(ie.b)(kn),rr=qn.RowWrapper,Rn=Object(m.useMemo)(function(){return Object(u.a)({},ct==="group"?{compact:!0}:{})},[ct]),mr=Object(m.useCallback)(function(ar){var sr=ar.children;return Object(i.jsx)(Kn,Object(u.a)(Object(u.a)(Object(u.a)({},Rn),vn),{},{align:"start",children:sr}))},[Kn,vn,Rn]);return Object(i.jsx)(rr,{Wrapper:mr,children:_n})},Re=h.a.forwardRef(function(Un,lt){var Nt=Un.children,zt=Un.space,en=Un.valuePropName,tn=Object(g.a)(Un,Ve);return Object(m.useImperativeHandle)(lt,function(){return{}}),Object(i.jsx)(_e,Object(u.a)(Object(u.a)(Object(u.a)({space:zt,valuePropName:en},tn.fieldProps),{},{onChange:void 0},tn),{},{children:Nt}))}),et=Object(fe.a)(Re),Xe=et,it=function(lt,Nt){var zt=Nt.genItems;if(lt.valueType==="formSet"&<.dataIndex){var en,tn;return!lt.columns||!Array.isArray(lt.columns)?null:Object(m.createElement)(Xe,Object(u.a)(Object(u.a)({},(en=lt.getFormItemProps)===null||en===void 0?void 0:en.call(lt)),{},{key:lt.key,initialValue:lt.initialValue,name:lt.dataIndex,label:lt.label,colProps:lt.colProps,rowProps:lt.rowProps},(tn=lt.getFieldProps)===null||tn===void 0?void 0:tn.call(lt)),zt(lt.columns))}return!0},bt=e("uD7z"),Ct=function(lt,Nt){var zt=Nt.genItems;if(lt.valueType==="group"){var en;return!lt.columns||!Array.isArray(lt.columns)?null:Object(i.jsx)(bt.a,Object(u.a)(Object(u.a)({label:lt.label,colProps:lt.colProps,rowProps:lt.rowProps},(en=lt.getFieldProps)===null||en===void 0?void 0:en.call(lt)),{},{children:zt(lt.columns)}),lt.key)}return!0},Bt=function(lt){return lt.valueType&&typeof lt.valueType=="string"&&["index","indexBorder","option"].includes(lt==null?void 0:lt.valueType)?null:!0},qe=[Bt,Ct,G,it,R,Z],st=function(lt,Nt){for(var zt=0;zt<qe.length;zt++){var en=qe[zt],tn=en(lt,Nt);if(tn!==!0)return tn}return C(lt,Nt)},ut=["columns","layoutType","type","action","shouldUpdate"],nt={DrawerForm:E.a,QueryFilter:re.a,LightFilter:D.a,StepForm:ye.a.StepForm,StepsForm:he,ModalForm:W.a,Embed:ne};function kt(Un){var lt=Un.columns,Nt=Un.layoutType,zt=Nt===void 0?"Form":Nt,en=Un.type,tn=en===void 0?"form":en,wn=Un.action,on=Un.shouldUpdate,vn=on===void 0?!0:on,dt=Object(g.a)(Un,ut),ct=nt[zt]||te.a,Kt=$.a.useForm(),pn=Object(A.a)(Kt,1),kn=pn[0],Pt=$.a.useFormInstance(),gn=Object(m.useState)([]),_n=Object(A.a)(gn,2),Kn=_n[1],qn=Object(m.useState)([]),rr=Object(A.a)(qn,2),Rn=rr[0],mr=rr[1],ar=Object(m.useMemo)(function(){return Object(v.a)(dt,["formRef"])},[dt]),sr=Object(m.useRef)(Un.form||Pt||kn),yr=Object(m.useRef)(),br=Object(b.a)(Un);Object(m.useImperativeHandle)(dt.formRef,function(){return sr.current});var _r=Object(m.useCallback)(function(Fr){return Fr.filter(function(ur){return!(ur.hideInForm&&tn==="form")}).sort(function(ur,Ti){return Ti.order||ur.order?(Ti.order||0)-(ur.order||0):(Ti.index||0)-(ur.index||0)}).map(function(ur,Ti){var Xi,ca=Object(d.a)(ur.title,ur,"form",Object(i.jsx)(O.a,{label:ur.title,tooltip:ur.tooltip||ur.tip})),Zi=Object(a.a)({title:ca,label:ca,name:ur.name,valueType:Object(d.a)(ur.valueType,{}),key:ur.key,columns:ur.columns,valueEnum:ur.valueEnum,dataIndex:ur.key||ur.dataIndex,initialValue:ur.initialValue,width:ur.width,index:ur.index,readonly:ur.readonly,colSize:ur.colSize,colProps:ur.colProps,rowProps:ur.rowProps,className:ur.className,tooltip:ur.tooltip||ur.tip,dependencies:ur.dependencies,proFieldProps:ur.proFieldProps,ignoreFormItem:ur.ignoreFormItem,getFieldProps:ur.fieldProps?function(){return Object(d.a)(ur.fieldProps,sr.current,ur)}:void 0,getFormItemProps:ur.formItemProps?function(){return Object(d.a)(ur.formItemProps,sr.current,ur)}:void 0,render:ur.render,renderFormItem:ur.renderFormItem,renderText:ur.renderText,request:ur.request,params:ur.params,transform:ur.transform,convertValue:ur.convertValue});return Zi.key=Zi.key||((Xi=Zi.dataIndex)===null||Xi===void 0?void 0:Xi.toString())||Ti,st(Zi,{action:wn,type:tn,originItem:ur,formRef:sr,genItems:_r})}).filter(function(ur){return Boolean(ur)})},[wn,sr,tn]),li=Object(m.useCallback)(function(Fr,ur){var Ti=br.current.onValuesChange;(vn===!0||typeof vn=="function"&&vn(ur,yr.current))&&mr([]),yr.current=ur,Ti==null||Ti(Fr,ur)},[br,vn]),xi=Object(m.useMemo)(function(){if(!!sr.current&&!(lt.length&&Array.isArray(lt[0])))return _r(lt)},[lt,_r,Rn]),Mi=Object(m.useMemo)(function(){return zt==="StepsForm"?{forceUpdate:Kn,columns:lt}:{}},[lt,zt]);return Object(i.jsx)(ct,Object(u.a)(Object(u.a)(Object(u.a)({},Mi),ar),{},{form:Un.form||kn,formRef:sr,onValuesChange:li,children:xi}))}var Sn=kt,Tt=e("TSYQ"),ht=e.n(Tt),Rt=e("W38Z");function Ft(Un){var lt=Un.replace(/[A-Z]/g,function(Nt){return"-".concat(Nt.toLowerCase())});return lt.startsWith("-")&&(lt=lt.slice(1)),lt}var nn=function(lt,Nt){return!lt&&Nt!==!1?(Nt==null?void 0:Nt.filterType)==="light"?"LightFilter":"QueryFilter":"Form"},bn=function(lt,Nt,zt){return!lt&&zt==="LightFilter"?Object(v.a)(Object(u.a)({},Nt),["labelWidth","defaultCollapsed","filterType"]):lt?{}:Object(v.a)(Object(u.a)({labelWidth:Nt?Nt==null?void 0:Nt.labelWidth:void 0,defaultCollapsed:!0},Nt),["filterType"])},sn=function(lt,Nt){return lt?Object(v.a)(Nt,["ignoreRules"]):Object(u.a)({ignoreRules:!0},Nt)},un=function(lt){var Nt,zt=lt.onSubmit,en=lt.formRef,tn=lt.dateFormatter,wn=tn===void 0?"string":tn,on=lt.type,vn=lt.columns,dt=lt.action,ct=lt.ghost,Kt=lt.manualRequest,pn=lt.onReset,kn=lt.submitButtonLoading,Pt=lt.search,gn=lt.form,_n=lt.bordered,Kn=on==="form",qn=function(){var _r=Object(I.a)(Object(T.a)().mark(function li(xi,Mi){return Object(T.a)().wrap(function(ur){for(;;)switch(ur.prev=ur.next){case 0:zt&&zt(xi,Mi);case 1:case"end":return ur.stop()}},li)}));return function(xi,Mi){return _r.apply(this,arguments)}}(),rr=Object(m.useContext)(k.a.ConfigContext),Rn=rr.getPrefixCls,mr=Object(m.useMemo)(function(){return vn.filter(function(_r){return!(_r===w.a.EXPAND_COLUMN||_r===w.a.SELECTION_COLUMN||(_r.hideInSearch||_r.search===!1)&&on!=="form"||on==="form"&&_r.hideInForm)}).map(function(_r){var li,xi=!_r.valueType||["textarea","jsonCode","code"].includes(_r==null?void 0:_r.valueType)&&on==="table"?"text":_r==null?void 0:_r.valueType,Mi=(_r==null?void 0:_r.key)||(_r==null||(li=_r.dataIndex)===null||li===void 0?void 0:li.toString());return Object(u.a)(Object(u.a)(Object(u.a)({},_r),{},{width:void 0},_r.search?_r.search:{}),{},{valueType:xi,proFieldProps:Object(u.a)(Object(u.a)({},_r.proFieldProps),{},{proFieldKey:Mi?"table-field-".concat(Mi):void 0})})})},[vn,on]),ar=Rn("pro-table-search"),sr=Rn("pro-table-form"),yr=Object(m.useMemo)(function(){return nn(Kn,Pt)},[Pt,Kn]),br=Object(m.useMemo)(function(){return{submitter:{submitButtonProps:{loading:kn}}}},[kn]);return Object(i.jsx)("div",{className:ht()((Nt={},Object(l.a)(Nt,Rn("pro-card"),!0),Object(l.a)(Nt,"".concat(Rn("pro-card"),"-border"),!!_n),Object(l.a)(Nt,"".concat(Rn("pro-card"),"-bordered"),!!_n),Object(l.a)(Nt,"".concat(Rn("pro-card"),"-ghost"),!!ct),Object(l.a)(Nt,ar,!0),Object(l.a)(Nt,sr,Kn),Object(l.a)(Nt,Rn("pro-table-search-".concat(Ft(yr))),!0),Object(l.a)(Nt,"".concat(ar,"-ghost"),ct),Object(l.a)(Nt,Pt==null?void 0:Pt.className,Pt!==!1&&(Pt==null?void 0:Pt.className)),Nt)),children:Object(i.jsx)(Sn,Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({layoutType:yr,columns:mr,type:on},br),bn(Kn,Pt,yr)),sn(Kn,gn||{})),{},{formRef:en,action:dt,dateFormatter:wn,onInit:function(li){if(on!=="form"){var xi,Mi,Fr,ur=(xi=dt.current)===null||xi===void 0?void 0:xi.pageInfo,Ti=li.current,Xi=Ti===void 0?ur==null?void 0:ur.current:Ti,ca=li.pageSize,Zi=ca===void 0?ur==null?void 0:ur.pageSize:ca;if((Mi=dt.current)===null||Mi===void 0||(Fr=Mi.setPageInfo)===null||Fr===void 0||Fr.call(Mi,Object(u.a)(Object(u.a)({},ur),{},{current:parseInt(Xi,10),pageSize:parseInt(Zi,10)})),Kt)return;qn(li,!0)}},onReset:function(li){pn==null||pn(li)},onFinish:function(li){qn(li,!1)},initialValues:gn==null?void 0:gn.initialValues}))})},Ht=un,jn=function(Un){Object(f.a)(Nt,Un);var lt=Object(o.a)(Nt);function Nt(){var zt;Object(r.a)(this,Nt);for(var en=arguments.length,tn=new Array(en),wn=0;wn<en;wn++)tn[wn]=arguments[wn];return zt=lt.call.apply(lt,[this].concat(tn)),zt.onSubmit=function(on,vn){var dt=zt.props,ct=dt.pagination,Kt=dt.beforeSearchSubmit,pn=Kt===void 0?function(mr){return mr}:Kt,kn=dt.action,Pt=dt.onSubmit,gn=dt.onFormSearchSubmit,_n=ct?Object(a.a)({current:ct.current,pageSize:ct.pageSize}):{},Kn=Object(u.a)(Object(u.a)({},on),{},{_timestamp:Date.now()},_n),qn=Object(v.a)(pn(Kn),Object.keys(_n));if(gn(qn),!vn){var rr,Rn;(rr=kn.current)===null||rr===void 0||(Rn=rr.setPageInfo)===null||Rn===void 0||Rn.call(rr,{current:1})}Pt&&!vn&&(Pt==null||Pt(on))},zt.onReset=function(on){var vn,dt,ct=zt.props,Kt=ct.pagination,pn=ct.beforeSearchSubmit,kn=pn===void 0?function(rr){return rr}:pn,Pt=ct.action,gn=ct.onFormSearchSubmit,_n=ct.onReset,Kn=Kt?Object(a.a)({current:Kt.current,pageSize:Kt.pageSize}):{},qn=Object(v.a)(kn(Object(u.a)(Object(u.a)({},on),Kn)),Object.keys(Kn));gn(qn),(vn=Pt.current)===null||vn===void 0||(dt=vn.setPageInfo)===null||dt===void 0||dt.call(vn,{current:1}),_n==null||_n()},zt.isEqual=function(on){var vn=zt.props,dt=vn.columns,ct=vn.loading,Kt=vn.formRef,pn=vn.type,kn=vn.cardBordered,Pt=vn.dateFormatter,gn=vn.form,_n=vn.search,Kn=vn.manualRequest,qn={columns:dt,loading:ct,formRef:Kt,type:pn,cardBordered:kn,dateFormatter:Pt,form:gn,search:_n,manualRequest:Kn};return!Object(n.a)(qn,{columns:on.columns,formRef:on.formRef,loading:on.loading,type:on.type,cardBordered:on.cardBordered,dateFormatter:on.dateFormatter,form:on.form,search:on.search,manualRequest:on.manualRequest})},zt.shouldComponentUpdate=function(on){return zt.isEqual(on)},zt.render=function(){var on=zt.props,vn=on.columns,dt=on.loading,ct=on.formRef,Kt=on.type,pn=on.action,kn=on.cardBordered,Pt=on.dateFormatter,gn=on.form,_n=on.search,Kn=on.pagination,qn=on.ghost,rr=on.manualRequest,Rn=Kn?Object(a.a)({current:Kn.current,pageSize:Kn.pageSize}):{};return Object(i.jsx)(Ht,{submitButtonLoading:dt,columns:vn,type:Kt,ghost:qn,formRef:ct,onSubmit:zt.onSubmit,manualRequest:rr,onReset:zt.onReset,dateFormatter:Pt,search:_n,form:Object(u.a)(Object(u.a)({autoFocusFirstInput:!1},gn),{},{extraUrlParams:Object(u.a)(Object(u.a)({},Rn),gn==null?void 0:gn.extraUrlParams)}),action:pn,bordered:Object(t.b)("search",kn)})},zt}return Object(c.a)(Nt)}(h.a.Component),Ln=M.a=jn},l2gE:function(Ie,M,e){"use strict";e.d(M,"a",function(){return re});var u=e("rAM+"),c=e("N0LK"),r=e("PTeM"),f=e("MrjW"),o=e("QDVR"),i=e("X+cX"),a="**",n="/",v="[/\\\\]",m="[^/\\\\]",h=/\//g;function t(ne){switch(ne){case 0:return"";case 1:return"".concat(m,"*?");default:return"(?:".concat(v,"|").concat(m,"+").concat(v,"|").concat(v).concat(m,"+)*?")}}function l(ne,se){if(!ne)return[];var be=[],Z=!1,ee=!1,ce="",R=Object(u.a)(ne),y;try{for(R.s();!(y=R.n()).done;){var C=y.value;switch(C){case se:if(!Z&&!ee){be.push(ce),ce="";continue}break;case"{":Z=!0;break;case"}":Z=!1;break;case"[":ee=!0;break;case"]":ee=!1;break}ce+=C}}catch(z){R.e(z)}finally{R.f()}return ce&&be.push(ce),be}function p(ne){if(!ne)return"";var se="",be=l(ne,n);if(be.every(function(ee){return ee===a}))se=".*";else{var Z=!1;be.forEach(function(ee,ce){if(ee===a){Z||(se+=t(2),Z=!0);return}var R=!1,y="",C=!1,z="",G=Object(u.a)(ee),X;try{for(G.s();!(X=G.n()).done;){var pe=X.value;if(pe!=="}"&&R){y+=pe;continue}if(C&&(pe!=="]"||!z)){var ae=void 0;pe==="-"?ae=pe:(pe==="^"||pe==="!")&&!z?ae="^":pe===n?ae="":ae=c.u(pe),z+=ae;continue}switch(pe){case"{":R=!0;continue;case"[":C=!0;continue;case"}":var Se=l(y,","),Te="(?:".concat(Se.map(function(je){return p(je)}).join("|"),")");se+=Te,R=!1,y="";break;case"]":se+="["+z+"]",C=!1,z="";break;case"?":se+=m;continue;case"*":se+=t(1);continue;default:se+=c.u(pe)}}}catch(je){G.e(je)}finally{G.f()}ce<be.length-1&&(be[ce+1]!==a||ce+2<be.length)&&(se+=v),Z=!1})}return se}var w=/^\*\*\/\*\.[\w\.-]+$/,S=/^\*\*\/([\w\.-]+)\/?$/,k=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,T=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,I=/^\*\*((\/[\w\.-]+)+)\/?$/,Y=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,$=new o.a(1e4),A=function(){return!1},g=function(){return null};function b(ne,se){if(!ne)return g;var be;typeof ne!="string"?be=ne.pattern:be=ne,be=be.trim();var Z="".concat(be,"_").concat(!!se.trimForExclusions),ee=$.get(Z);if(ee)return d(ee,ne);var ce;if(w.test(be)){var R=be.substr(4);ee=function(C,z){return typeof C=="string"&&C.endsWith(R)?be:null}}else(ce=S.exec(O(be,se)))?ee=E(ce[1],be):(se.trimForExclusions?T:k).test(be)?ee=D(be,se):(ce=I.exec(O(be,se)))?ee=W(ce[1].substr(1),be,!0):(ce=Y.exec(O(be,se)))?ee=W(ce[1],be,!1):ee=te(be);return $.set(Z,ee),d(ee,ne)}function d(ne,se){return typeof se=="string"?ne:function(be,Z){return r.b(be,se.base)?ne(f.f(se.base,be),Z):null}}function O(ne,se){return se.trimForExclusions&&ne.endsWith("/**")?ne.substr(0,ne.length-2):ne}function E(ne,se){var be="/".concat(ne),Z="\\".concat(ne),ee=function(y,C){return typeof y!="string"?null:C?C===ne?se:null:y===ne||y.endsWith(be)||y.endsWith(Z)?se:null},ce=[ne];return ee.basenames=ce,ee.patterns=[se],ee.allBasenames=ce,ee}function D(ne,se){var be=ue(ne.slice(1,-1).split(",").map(function(y){return b(y,se)}).filter(function(y){return y!==g}),ne),Z=be.length;if(!Z)return g;if(Z===1)return be[0];var ee=function(C,z){for(var G=0,X=be.length;G<X;G++)if(be[G](C,z))return ne;return null},ce=be.find(function(y){return!!y.allBasenames});ce&&(ee.allBasenames=ce.allBasenames);var R=be.reduce(function(y,C){return C.allPaths?y.concat(C.allPaths):y},[]);return R.length&&(ee.allPaths=R),ee}function W(ne,se,be){var Z=f.h===f.e.sep,ee=Z?ne:ne.replace(h,f.h),ce=f.h+ee,R=f.e.sep+ne,y=be?function(C,z){return typeof C=="string"&&(C===ee||C.endsWith(ce)||!Z&&(C===ne||C.endsWith(R)))?se:null}:function(C,z){return typeof C=="string"&&(C===ee||!Z&&C===ne)?se:null};return y.allPaths=[(be?"*/":"./")+ne],y}function te(ne){try{var se=new RegExp("^".concat(p(ne),"$"));return function(be){return se.lastIndex=0,typeof be=="string"&&se.test(be)?ne:null}}catch(be){return g}}function re(ne,se,be){return!ne||typeof se!="string"?!1:ye(ne)(se,void 0,be)}function ye(ne){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ne)return A;if(typeof ne=="string"||q(ne)){var be=b(ne,se);if(be===g)return A;var Z=function(ce,R){return!!be(ce,R)};return be.allBasenames&&(Z.allBasenames=be.allBasenames),be.allPaths&&(Z.allPaths=be.allPaths),Z}return oe(ne,se)}function q(ne){var se=ne;return se&&typeof se.base=="string"&&typeof se.pattern=="string"}function oe(ne,se){var be=ue(Object.getOwnPropertyNames(ne).map(function(G){return he(G,ne[G],se)}).filter(function(G){return G!==g})),Z=be.length;if(!Z)return g;if(!be.some(function(G){return!!G.requiresSiblings})){if(Z===1)return be[0];var ee=function(X,pe){for(var ae=0,Se=be.length;ae<Se;ae++){var Te=be[ae](X,pe);if(Te)return Te}return null},ce=be.find(function(G){return!!G.allBasenames});ce&&(ee.allBasenames=ce.allBasenames);var R=be.reduce(function(G,X){return X.allPaths?G.concat(X.allPaths):G},[]);return R.length&&(ee.allPaths=R),ee}var y=function(X,pe,ae){for(var Se=void 0,Te=0,je=be.length;Te<je;Te++){var ft=be[Te];ft.requiresSiblings&&ae&&(pe||(pe=f.a(X)),Se||(Se=pe.substr(0,pe.length-f.c(X).length)));var fe=ft(X,pe,Se,ae);if(fe)return fe}return null},C=be.find(function(G){return!!G.allBasenames});C&&(y.allBasenames=C.allBasenames);var z=be.reduce(function(G,X){return X.allPaths?G.concat(X.allPaths):G},[]);return z.length&&(y.allPaths=z),y}function he(ne,se,be){if(se===!1)return g;var Z=b(ne,be);if(Z===g)return g;if(typeof se=="boolean")return Z;if(se){var ee=se.when;if(typeof ee=="string"){var ce=function(y,C,z,G){if(!G||!Z(y,C))return null;var X=ee.replace("$(basename)",z),pe=G(X);return Object(i.k)(pe)?pe.then(function(ae){return ae?ne:null}):pe?ne:null};return ce.requiresSiblings=!0,ce}}return Z}function ue(ne,se){var be=ne.filter(function(z){return!!z.basenames});if(be.length<2)return ne;var Z=be.reduce(function(z,G){var X=G.basenames;return X?z.concat(X):z},[]),ee;if(se){ee=[];for(var ce=0,R=Z.length;ce<R;ce++)ee.push(se)}else ee=be.reduce(function(z,G){var X=G.patterns;return X?z.concat(X):z},[]);var y=function(G,X){if(typeof G!="string")return null;if(!X){var pe;for(pe=G.length;pe>0;pe--){var ae=G.charCodeAt(pe-1);if(ae===47||ae===92)break}X=G.substr(pe)}var Se=Z.indexOf(X);return Se!==-1?ee[Se]:null};y.basenames=Z,y.patterns=ee,y.allBasenames=Z;var C=ne.filter(function(z){return!z.basenames});return C.push(y),C}},l9OW:function(Ie,M,e){var u=e("SKAX"),c=e("MMmD");function r(f,o){var i=-1,a=c(f)?Array(f.length):[];return u(f,function(n,v,m){a[++i]=o(n,v,m)}),a}Ie.exports=r},lIPi:function(Ie,M,e){"use strict";var u=e("Znn+"),c=e("ZTPi"),r=e("VTBJ"),f=e("rePB"),o=e("U8pU"),i=e("ODXe"),a=e("GNNt"),n=e("wEI+"),v=e("Ff2n"),m=e("1GLa"),h=e("TLLU"),t=e("nKUr"),l=e("UESt"),p=e("YSkC"),w=e("TSYQ"),S=e.n(w),k=e("BGR+"),T=e("/4Qr"),I=e("6cGi"),Y=e("q1tI"),$=e.n(Y),A=e("S76h"),g=function(se){var be=se.actions,Z=se.prefixCls;return Array.isArray(be)&&(be==null?void 0:be.length)?Object(t.jsx)("ul",{className:"".concat(Z,"-actions"),children:be.map(function(ee,ce){return Object(t.jsx)("li",{style:{width:"".concat(100/be.length,"%")},children:Object(t.jsx)("span",{children:ee})},"action-".concat(ce))})}):be?Object(t.jsx)("ul",{className:"".concat(Z,"-actions"),children:be}):null},b=g,d=e("jCWc"),O=e("kPKH"),E=e("14J3"),D=e("BMrR"),W=e("aK+R"),te=function(se){var be=se.style,Z=se.prefix;return Object(t.jsxs)("div",{className:"".concat(Z,"-loading-content"),style:be,children:[Object(t.jsx)(D.a,{gutter:8,children:Object(t.jsx)(O.a,{span:22,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})})}),Object(t.jsxs)(D.a,{gutter:8,children:[Object(t.jsx)(O.a,{span:8,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})}),Object(t.jsx)(O.a,{span:15,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})})]}),Object(t.jsxs)(D.a,{gutter:8,children:[Object(t.jsx)(O.a,{span:6,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})}),Object(t.jsx)(O.a,{span:18,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})})]}),Object(t.jsxs)(D.a,{gutter:8,children:[Object(t.jsx)(O.a,{span:13,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})}),Object(t.jsx)(O.a,{span:9,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})})]}),Object(t.jsxs)(D.a,{gutter:8,children:[Object(t.jsx)(O.a,{span:4,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})}),Object(t.jsx)(O.a,{span:3,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})}),Object(t.jsx)(O.a,{span:16,children:Object(t.jsx)("div",{className:"".concat(Z,"-loading-block")})})]})]})},re=te,ye=e("df8c"),q=["className","style","bodyStyle","headStyle","title","subTitle","extra","tip","wrap","layout","loading","gutter","tooltip","split","headerBordered","bordered","children","size","actions","ghost","hoverable","direction","collapsed","collapsible","collapsibleIconRender","defaultCollapsed","onCollapse","checked","onChecked","tabs","type"],oe=h.a.useBreakpoint,he=$.a.forwardRef(function(ne,se){var be,Z,ee,ce=ne.className,R=ne.style,y=ne.bodyStyle,C=y===void 0?{}:y,z=ne.headStyle,G=z===void 0?{}:z,X=ne.title,pe=ne.subTitle,ae=ne.extra,Se=ne.tip,Te=ne.wrap,je=Te===void 0?!1:Te,ft=ne.layout,fe=ne.loading,ie=ne.gutter,ge=ie===void 0?0:ie,Ve=ne.tooltip,Ee=ne.split,Me=ne.headerBordered,_e=Me===void 0?!1:Me,Re=ne.bordered,et=Re===void 0?!1:Re,Xe=ne.children,it=ne.size,bt=ne.actions,Ct=ne.ghost,Bt=Ct===void 0?!1:Ct,qe=ne.hoverable,st=qe===void 0?!1:qe,ut=ne.direction,nt=ne.collapsed,kt=ne.collapsible,Sn=kt===void 0?!1:kt,Tt=ne.collapsibleIconRender,ht=ne.defaultCollapsed,Rt=ht===void 0?!1:ht,Ft=ne.onCollapse,nn=ne.checked,bn=ne.onChecked,sn=ne.tabs,un=ne.type,Ht=Object(v.a)(ne,q),jn=Object(Y.useContext)(n.a.ConfigContext),Ln=jn.getPrefixCls,Un=oe(),lt=Object(I.a)(Rt,{value:nt,onChange:Ft}),Nt=Object(i.a)(lt,2),zt=Nt[0],en=Nt[1],tn=["xxl","xl","lg","md","sm","xs"],wn=Object(T.b)(sn==null?void 0:sn.items,Xe,sn),on=function(yr){var br=[0,0],_r=Array.isArray(yr)?yr:[yr,0];return _r.forEach(function(li,xi){if(Object(o.a)(li)==="object")for(var Mi=0;Mi<tn.length;Mi+=1){var Fr=tn[Mi];if(Un[Fr]&&li[Fr]!==void 0){br[xi]=li[Fr];break}}else br[xi]=li||0}),br},vn=function(yr,br){return yr?br:{}},dt=function(yr){var br=yr;if(Object(o.a)(yr)==="object")for(var _r=0;_r<tn.length;_r+=1){var li=tn[_r];if(Un[li]&&yr[li]!==void 0){br=yr[li];break}}var xi=vn(typeof br=="string"&&/\d%|\dpx/i.test(br),{width:br,flexShrink:0});return{span:br,colSpanStyle:xi}},ct=Ln("pro-card"),Kt=on(ge),pn=Object(i.a)(Kt,2),kn=pn[0],Pt=pn[1],gn=!1,_n=$.a.Children.toArray(Xe),Kn=_n.map(function(sr,yr){var br;if(sr==null||(br=sr.type)===null||br===void 0?void 0:br.isProCard){var _r;gn=!0;var li=sr.props.colSpan,xi=dt(li),Mi=xi.span,Fr=xi.colSpanStyle,ur=S()(["".concat(ct,"-col")],(_r={},Object(f.a)(_r,"".concat(ct,"-split-vertical"),Ee==="vertical"&&yr!==_n.length-1),Object(f.a)(_r,"".concat(ct,"-split-horizontal"),Ee==="horizontal"&&yr!==_n.length-1),Object(f.a)(_r,"".concat(ct,"-col-").concat(Mi),typeof Mi=="number"&&Mi>=0&&Mi<=24),_r));return Object(t.jsx)("div",{style:Object(r.a)(Object(r.a)(Object(r.a)({},Fr),vn(kn>0,{paddingRight:kn/2,paddingLeft:kn/2})),vn(Pt>0,{paddingTop:Pt/2,paddingBottom:Pt/2})),className:ur,children:$.a.cloneElement(sr)},"pro-card-col-".concat((sr==null?void 0:sr.key)||yr))}return sr}),qn=S()("".concat(ct),ce,(be={},Object(f.a)(be,"".concat(ct,"-border"),et),Object(f.a)(be,"".concat(ct,"-contain-card"),gn),Object(f.a)(be,"".concat(ct,"-loading"),fe),Object(f.a)(be,"".concat(ct,"-split"),Ee==="vertical"||Ee==="horizontal"),Object(f.a)(be,"".concat(ct,"-ghost"),Bt),Object(f.a)(be,"".concat(ct,"-hoverable"),st),Object(f.a)(be,"".concat(ct,"-size-").concat(it),it),Object(f.a)(be,"".concat(ct,"-type-").concat(un),un),Object(f.a)(be,"".concat(ct,"-collapse"),zt),Object(f.a)(be,"".concat(ct,"-checked"),nn),be)),rr=S()("".concat(ct,"-body"),(Z={},Object(f.a)(Z,"".concat(ct,"-body-center"),ft==="center"),Object(f.a)(Z,"".concat(ct,"-body-direction-column"),Ee==="horizontal"||ut==="column"),Object(f.a)(Z,"".concat(ct,"-body-wrap"),je&&gn),Z)),Rn=Object(r.a)(Object(r.a)(Object(r.a)({},vn(kn>0,{marginRight:-kn/2,marginLeft:-kn/2})),vn(Pt>0,{marginTop:-Pt/2,marginBottom:-Pt/2})),C),mr=$.a.isValidElement(fe)?fe:Object(t.jsx)(re,{prefix:ct,style:C.padding===0||C.padding==="0px"?{padding:24}:void 0}),ar=Sn&&nt===void 0&&(Tt?Tt({collapsed:zt}):Object(t.jsx)(l.a,{rotate:zt?void 0:90,className:"".concat(ct,"-collapsible-icon")}));return Object(t.jsxs)("div",Object(r.a)(Object(r.a)({className:qn,style:R,ref:se,onClick:function(yr){var br;bn==null||bn(yr),Ht==null||(br=Ht.onClick)===null||br===void 0||br.call(Ht,yr)}},Object(k.a)(Ht,["prefixCls","colSpan"])),{},{children:[(X||ae||ar)&&Object(t.jsxs)("div",{className:S()("".concat(ct,"-header"),(ee={},Object(f.a)(ee,"".concat(ct,"-header-border"),_e||un==="inner"),Object(f.a)(ee,"".concat(ct,"-header-collapsible"),ar),ee)),style:G,onClick:function(){ar&&en(!zt)},children:[Object(t.jsxs)("div",{className:"".concat(ct,"-title"),children:[ar,Object(t.jsx)(p.a,{label:X,tooltip:Ve||Se,subTitle:pe})]}),ae&&Object(t.jsx)("div",{className:"".concat(ct,"-extra"),children:ae})]}),sn?Object(t.jsx)("div",{className:"".concat(ct,"-tabs"),children:Object(t.jsx)(c.a,Object(r.a)(Object(r.a)({onChange:sn.onChange},sn),{},{items:wn,children:fe?mr:Xe}))}):Object(t.jsx)("div",{className:rr,style:Rn,children:fe?mr:Kn}),Object(t.jsx)(b,{actions:bt,prefixCls:ct})]}))}),ue=M.a=he},lKfe:function(Ie,M,e){},lMfh:function(Ie,M,e){(function(u,c){Ie.exports=c()})(this,function(){"use strict";function u(R){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},u(R)}var c=/^\s+/,r=/\s+$/;function f(R,y){if(R=R||"",y=y||{},R instanceof f)return R;if(!(this instanceof f))return new f(R,y);var C=o(R);this._originalInput=R,this._r=C.r,this._g=C.g,this._b=C.b,this._a=C.a,this._roundA=Math.round(100*this._a)/100,this._format=y.format||C.format,this._gradientType=y.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=C.ok}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var y=this.toRgb();return(y.r*299+y.g*587+y.b*114)/1e3},getLuminance:function(){var y=this.toRgb(),C,z,G,X,pe,ae;return C=y.r/255,z=y.g/255,G=y.b/255,C<=.03928?X=C/12.92:X=Math.pow((C+.055)/1.055,2.4),z<=.03928?pe=z/12.92:pe=Math.pow((z+.055)/1.055,2.4),G<=.03928?ae=G/12.92:ae=Math.pow((G+.055)/1.055,2.4),.2126*X+.7152*pe+.0722*ae},setAlpha:function(y){return this._a=W(y),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var y=v(this._r,this._g,this._b);return{h:y.h*360,s:y.s,v:y.v,a:this._a}},toHsvString:function(){var y=v(this._r,this._g,this._b),C=Math.round(y.h*360),z=Math.round(y.s*100),G=Math.round(y.v*100);return this._a==1?"hsv("+C+", "+z+"%, "+G+"%)":"hsva("+C+", "+z+"%, "+G+"%, "+this._roundA+")"},toHsl:function(){var y=a(this._r,this._g,this._b);return{h:y.h*360,s:y.s,l:y.l,a:this._a}},toHslString:function(){var y=a(this._r,this._g,this._b),C=Math.round(y.h*360),z=Math.round(y.s*100),G=Math.round(y.l*100);return this._a==1?"hsl("+C+", "+z+"%, "+G+"%)":"hsla("+C+", "+z+"%, "+G+"%, "+this._roundA+")"},toHex:function(y){return h(this._r,this._g,this._b,y)},toHexString:function(y){return"#"+this.toHex(y)},toHex8:function(y){return t(this._r,this._g,this._b,this._a,y)},toHex8String:function(y){return"#"+this.toHex8(y)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(te(this._r,255)*100)+"%",g:Math.round(te(this._g,255)*100)+"%",b:Math.round(te(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(te(this._r,255)*100)+"%, "+Math.round(te(this._g,255)*100)+"%, "+Math.round(te(this._b,255)*100)+"%)":"rgba("+Math.round(te(this._r,255)*100)+"%, "+Math.round(te(this._g,255)*100)+"%, "+Math.round(te(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:E[h(this._r,this._g,this._b,!0)]||!1},toFilter:function(y){var C="#"+l(this._r,this._g,this._b,this._a),z=C,G=this._gradientType?"GradientType = 1, ":"";if(y){var X=f(y);z="#"+l(X._r,X._g,X._b,X._a)}return"progid:DXImageTransform.Microsoft.gradient("+G+"startColorstr="+C+",endColorstr="+z+")"},toString:function(y){var C=!!y;y=y||this._format;var z=!1,G=this._a<1&&this._a>=0,X=!C&&G&&(y==="hex"||y==="hex6"||y==="hex3"||y==="hex4"||y==="hex8"||y==="name");return X?y==="name"&&this._a===0?this.toName():this.toRgbString():(y==="rgb"&&(z=this.toRgbString()),y==="prgb"&&(z=this.toPercentageRgbString()),(y==="hex"||y==="hex6")&&(z=this.toHexString()),y==="hex3"&&(z=this.toHexString(!0)),y==="hex4"&&(z=this.toHex8String(!0)),y==="hex8"&&(z=this.toHex8String()),y==="name"&&(z=this.toName()),y==="hsl"&&(z=this.toHslString()),y==="hsv"&&(z=this.toHsvString()),z||this.toHexString())},clone:function(){return f(this.toString())},_applyModification:function(y,C){var z=y.apply(null,[this].concat([].slice.call(C)));return this._r=z._r,this._g=z._g,this._b=z._b,this.setAlpha(z._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(I,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(Y,arguments)},_applyCombination:function(y,C){return y.apply(null,[this].concat([].slice.call(C)))},analogous:function(){return this._applyCombination(b,arguments)},complement:function(){return this._applyCombination($,arguments)},monochromatic:function(){return this._applyCombination(d,arguments)},splitcomplement:function(){return this._applyCombination(g,arguments)},triad:function(){return this._applyCombination(A,[3])},tetrad:function(){return this._applyCombination(A,[4])}},f.fromRatio=function(R,y){if(u(R)=="object"){var C={};for(var z in R)R.hasOwnProperty(z)&&(z==="a"?C[z]=R[z]:C[z]=ue(R[z]));R=C}return f(R,y)};function o(R){var y={r:0,g:0,b:0},C=1,z=null,G=null,X=null,pe=!1,ae=!1;return typeof R=="string"&&(R=ee(R)),u(R)=="object"&&(Z(R.r)&&Z(R.g)&&Z(R.b)?(y=i(R.r,R.g,R.b),pe=!0,ae=String(R.r).substr(-1)==="%"?"prgb":"rgb"):Z(R.h)&&Z(R.s)&&Z(R.v)?(z=ue(R.s),G=ue(R.v),y=m(R.h,z,G),pe=!0,ae="hsv"):Z(R.h)&&Z(R.s)&&Z(R.l)&&(z=ue(R.s),X=ue(R.l),y=n(R.h,z,X),pe=!0,ae="hsl"),R.hasOwnProperty("a")&&(C=R.a)),C=W(C),{ok:pe,format:R.format||ae,r:Math.min(255,Math.max(y.r,0)),g:Math.min(255,Math.max(y.g,0)),b:Math.min(255,Math.max(y.b,0)),a:C}}function i(R,y,C){return{r:te(R,255)*255,g:te(y,255)*255,b:te(C,255)*255}}function a(R,y,C){R=te(R,255),y=te(y,255),C=te(C,255);var z=Math.max(R,y,C),G=Math.min(R,y,C),X,pe,ae=(z+G)/2;if(z==G)X=pe=0;else{var Se=z-G;switch(pe=ae>.5?Se/(2-z-G):Se/(z+G),z){case R:X=(y-C)/Se+(y<C?6:0);break;case y:X=(C-R)/Se+2;break;case C:X=(R-y)/Se+4;break}X/=6}return{h:X,s:pe,l:ae}}function n(R,y,C){var z,G,X;R=te(R,360),y=te(y,100),C=te(C,100);function pe(Te,je,ft){return ft<0&&(ft+=1),ft>1&&(ft-=1),ft<1/6?Te+(je-Te)*6*ft:ft<1/2?je:ft<2/3?Te+(je-Te)*(2/3-ft)*6:Te}if(y===0)z=G=X=C;else{var ae=C<.5?C*(1+y):C+y-C*y,Se=2*C-ae;z=pe(Se,ae,R+1/3),G=pe(Se,ae,R),X=pe(Se,ae,R-1/3)}return{r:z*255,g:G*255,b:X*255}}function v(R,y,C){R=te(R,255),y=te(y,255),C=te(C,255);var z=Math.max(R,y,C),G=Math.min(R,y,C),X,pe,ae=z,Se=z-G;if(pe=z===0?0:Se/z,z==G)X=0;else{switch(z){case R:X=(y-C)/Se+(y<C?6:0);break;case y:X=(C-R)/Se+2;break;case C:X=(R-y)/Se+4;break}X/=6}return{h:X,s:pe,v:ae}}function m(R,y,C){R=te(R,360)*6,y=te(y,100),C=te(C,100);var z=Math.floor(R),G=R-z,X=C*(1-y),pe=C*(1-G*y),ae=C*(1-(1-G)*y),Se=z%6,Te=[C,pe,X,X,ae,C][Se],je=[ae,C,C,pe,X,X][Se],ft=[X,X,ae,C,C,pe][Se];return{r:Te*255,g:je*255,b:ft*255}}function h(R,y,C,z){var G=[he(Math.round(R).toString(16)),he(Math.round(y).toString(16)),he(Math.round(C).toString(16))];return z&&G[0].charAt(0)==G[0].charAt(1)&&G[1].charAt(0)==G[1].charAt(1)&&G[2].charAt(0)==G[2].charAt(1)?G[0].charAt(0)+G[1].charAt(0)+G[2].charAt(0):G.join("")}function t(R,y,C,z,G){var X=[he(Math.round(R).toString(16)),he(Math.round(y).toString(16)),he(Math.round(C).toString(16)),he(ne(z))];return G&&X[0].charAt(0)==X[0].charAt(1)&&X[1].charAt(0)==X[1].charAt(1)&&X[2].charAt(0)==X[2].charAt(1)&&X[3].charAt(0)==X[3].charAt(1)?X[0].charAt(0)+X[1].charAt(0)+X[2].charAt(0)+X[3].charAt(0):X.join("")}function l(R,y,C,z){var G=[he(ne(z)),he(Math.round(R).toString(16)),he(Math.round(y).toString(16)),he(Math.round(C).toString(16))];return G.join("")}f.equals=function(R,y){return!R||!y?!1:f(R).toRgbString()==f(y).toRgbString()},f.random=function(){return f.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function p(R,y){y=y===0?0:y||10;var C=f(R).toHsl();return C.s-=y/100,C.s=re(C.s),f(C)}function w(R,y){y=y===0?0:y||10;var C=f(R).toHsl();return C.s+=y/100,C.s=re(C.s),f(C)}function S(R){return f(R).desaturate(100)}function k(R,y){y=y===0?0:y||10;var C=f(R).toHsl();return C.l+=y/100,C.l=re(C.l),f(C)}function T(R,y){y=y===0?0:y||10;var C=f(R).toRgb();return C.r=Math.max(0,Math.min(255,C.r-Math.round(255*-(y/100)))),C.g=Math.max(0,Math.min(255,C.g-Math.round(255*-(y/100)))),C.b=Math.max(0,Math.min(255,C.b-Math.round(255*-(y/100)))),f(C)}function I(R,y){y=y===0?0:y||10;var C=f(R).toHsl();return C.l-=y/100,C.l=re(C.l),f(C)}function Y(R,y){var C=f(R).toHsl(),z=(C.h+y)%360;return C.h=z<0?360+z:z,f(C)}function $(R){var y=f(R).toHsl();return y.h=(y.h+180)%360,f(y)}function A(R,y){if(isNaN(y)||y<=0)throw new Error("Argument to polyad must be a positive number");for(var C=f(R).toHsl(),z=[f(R)],G=360/y,X=1;X<y;X++)z.push(f({h:(C.h+X*G)%360,s:C.s,l:C.l}));return z}function g(R){var y=f(R).toHsl(),C=y.h;return[f(R),f({h:(C+72)%360,s:y.s,l:y.l}),f({h:(C+216)%360,s:y.s,l:y.l})]}function b(R,y,C){y=y||6,C=C||30;var z=f(R).toHsl(),G=360/C,X=[f(R)];for(z.h=(z.h-(G*y>>1)+720)%360;--y;)z.h=(z.h+G)%360,X.push(f(z));return X}function d(R,y){y=y||6;for(var C=f(R).toHsv(),z=C.h,G=C.s,X=C.v,pe=[],ae=1/y;y--;)pe.push(f({h:z,s:G,v:X})),X=(X+ae)%1;return pe}f.mix=function(R,y,C){C=C===0?0:C||50;var z=f(R).toRgb(),G=f(y).toRgb(),X=C/100,pe={r:(G.r-z.r)*X+z.r,g:(G.g-z.g)*X+z.g,b:(G.b-z.b)*X+z.b,a:(G.a-z.a)*X+z.a};return f(pe)},f.readability=function(R,y){var C=f(R),z=f(y);return(Math.max(C.getLuminance(),z.getLuminance())+.05)/(Math.min(C.getLuminance(),z.getLuminance())+.05)},f.isReadable=function(R,y,C){var z=f.readability(R,y),G,X;switch(X=!1,G=ce(C),G.level+G.size){case"AAsmall":case"AAAlarge":X=z>=4.5;break;case"AAlarge":X=z>=3;break;case"AAAsmall":X=z>=7;break}return X},f.mostReadable=function(R,y,C){var z=null,G=0,X,pe,ae,Se;C=C||{},pe=C.includeFallbackColors,ae=C.level,Se=C.size;for(var Te=0;Te<y.length;Te++)X=f.readability(R,y[Te]),X>G&&(G=X,z=f(y[Te]));return f.isReadable(R,z,{level:ae,size:Se})||!pe?z:(C.includeFallbackColors=!1,f.mostReadable(R,["#fff","#000"],C))};var O=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},E=f.hexNames=D(O);function D(R){var y={};for(var C in R)R.hasOwnProperty(C)&&(y[R[C]]=C);return y}function W(R){return R=parseFloat(R),(isNaN(R)||R<0||R>1)&&(R=1),R}function te(R,y){q(R)&&(R="100%");var C=oe(R);return R=Math.min(y,Math.max(0,parseFloat(R))),C&&(R=parseInt(R*y,10)/100),Math.abs(R-y)<1e-6?1:R%y/parseFloat(y)}function re(R){return Math.min(1,Math.max(0,R))}function ye(R){return parseInt(R,16)}function q(R){return typeof R=="string"&&R.indexOf(".")!=-1&&parseFloat(R)===1}function oe(R){return typeof R=="string"&&R.indexOf("%")!=-1}function he(R){return R.length==1?"0"+R:""+R}function ue(R){return R<=1&&(R=R*100+"%"),R}function ne(R){return Math.round(parseFloat(R)*255).toString(16)}function se(R){return ye(R)/255}var be=function(){var R="[-\\+]?\\d+%?",y="[-\\+]?\\d*\\.\\d+%?",C="(?:"+y+")|(?:"+R+")",z="[\\s|\\(]+("+C+")[,|\\s]+("+C+")[,|\\s]+("+C+")\\s*\\)?",G="[\\s|\\(]+("+C+")[,|\\s]+("+C+")[,|\\s]+("+C+")[,|\\s]+("+C+")\\s*\\)?";return{CSS_UNIT:new RegExp(C),rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+G),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+G),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"+G),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Z(R){return!!be.CSS_UNIT.exec(R)}function ee(R){R=R.replace(c,"").replace(r,"").toLowerCase();var y=!1;if(O[R])R=O[R],y=!0;else if(R=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var C;return(C=be.rgb.exec(R))?{r:C[1],g:C[2],b:C[3]}:(C=be.rgba.exec(R))?{r:C[1],g:C[2],b:C[3],a:C[4]}:(C=be.hsl.exec(R))?{h:C[1],s:C[2],l:C[3]}:(C=be.hsla.exec(R))?{h:C[1],s:C[2],l:C[3],a:C[4]}:(C=be.hsv.exec(R))?{h:C[1],s:C[2],v:C[3]}:(C=be.hsva.exec(R))?{h:C[1],s:C[2],v:C[3],a:C[4]}:(C=be.hex8.exec(R))?{r:ye(C[1]),g:ye(C[2]),b:ye(C[3]),a:se(C[4]),format:y?"name":"hex8"}:(C=be.hex6.exec(R))?{r:ye(C[1]),g:ye(C[2]),b:ye(C[3]),format:y?"name":"hex"}:(C=be.hex4.exec(R))?{r:ye(C[1]+""+C[1]),g:ye(C[2]+""+C[2]),b:ye(C[3]+""+C[3]),a:se(C[4]+""+C[4]),format:y?"name":"hex8"}:(C=be.hex3.exec(R))?{r:ye(C[1]+""+C[1]),g:ye(C[2]+""+C[2]),b:ye(C[3]+""+C[3]),format:y?"name":"hex"}:!1}function ce(R){var y,C;return R=R||{level:"AA",size:"small"},y=(R.level||"AA").toUpperCase(),C=(R.size||"small").toLowerCase(),y!=="AA"&&y!=="AAA"&&(y="AA"),C!=="small"&&C!=="large"&&(C="small"),{level:y,size:C}}return f})},lQqw:function(Ie,M,e){var u=e("MMmD");function c(r,f){return function(o,i){if(o==null)return o;if(!u(o))return r(o,i);for(var a=o.length,n=f?a:-1,v=Object(o);(f?n--:++n<a)&&i(v[n],n,v)!==!1;);return o}}Ie.exports=c},"lS/g":function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("q1tI"),c=e.n(u),r=c.a.createContext({});M.b=r},lSCD:function(Ie,M,e){var u=e("NykK"),c=e("GoyQ"),r="[object AsyncFunction]",f="[object Function]",o="[object GeneratorFunction]",i="[object Proxy]";function a(n){if(!c(n))return!1;var v=u(n);return v==f||v==o||v==r||v==i}Ie.exports=a},la6v:function(Ie,M,e){var u=e("EA7m"),c=e("ljhN"),r=e("mv/X"),f=e("mTTR"),o=Object.prototype,i=o.hasOwnProperty,a=u(function(n,v){n=Object(n);var m=-1,h=v.length,t=h>2?v[2]:void 0;for(t&&r(v[0],v[1],t)&&(h=1);++m<h;)for(var l=v[m],p=f(l),w=-1,S=p.length;++w<S;){var k=p[w],T=n[k];(T===void 0||c(T,o[k])&&!i.call(n,k))&&(n[k]=l[k])}return n});Ie.exports=a},lfch:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="CopyOutlined";var a=M.a=c.forwardRef(i)},ljhN:function(Ie,M){function e(u,c){return u===c||u!==u&&c!==c}Ie.exports=e},"lm/5":function(Ie,M,e){var u=e("fmRc"),c=e("wF/u"),r=1,f=2;function o(i,a,n,v){var m=n.length,h=m,t=!v;if(i==null)return!h;for(i=Object(i);m--;){var l=n[m];if(t&&l[2]?l[1]!==i[l[0]]:!(l[0]in i))return!1}for(;++m<h;){l=n[m];var p=l[0],w=i[p],S=l[1];if(t&&l[2]){if(w===void 0&&!(p in i))return!1}else{var k=new u;if(v)var T=v(w,S,p,i,a,k);if(!(T===void 0?c(S,w,r|f,v,k):T))return!1}}return!0}Ie.exports=o},lnHP:function(Ie,M,e){"use strict";var u=e("M96O");Ie.exports=o;var c="\0",r="\0",f="";function o(h){this._isDirected=u.has(h,"directed")?h.directed:!0,this._isMultigraph=u.has(h,"multigraph")?h.multigraph:!1,this._isCompound=u.has(h,"compound")?h.compound:!1,this._label=void 0,this._defaultNodeLabelFn=u.constant(void 0),this._defaultEdgeLabelFn=u.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[r]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}o.prototype._nodeCount=0,o.prototype._edgeCount=0,o.prototype.isDirected=function(){return this._isDirected},o.prototype.isMultigraph=function(){return this._isMultigraph},o.prototype.isCompound=function(){return this._isCompound},o.prototype.setGraph=function(h){return this._label=h,this},o.prototype.graph=function(){return this._label},o.prototype.setDefaultNodeLabel=function(h){return u.isFunction(h)||(h=u.constant(h)),this._defaultNodeLabelFn=h,this},o.prototype.nodeCount=function(){return this._nodeCount},o.prototype.nodes=function(){return u.keys(this._nodes)},o.prototype.sources=function(){var h=this;return u.filter(this.nodes(),function(t){return u.isEmpty(h._in[t])})},o.prototype.sinks=function(){var h=this;return u.filter(this.nodes(),function(t){return u.isEmpty(h._out[t])})},o.prototype.setNodes=function(h,t){var l=arguments,p=this;return u.each(h,function(w){l.length>1?p.setNode(w,t):p.setNode(w)}),this},o.prototype.setNode=function(h,t){return u.has(this._nodes,h)?(arguments.length>1&&(this._nodes[h]=t),this):(this._nodes[h]=arguments.length>1?t:this._defaultNodeLabelFn(h),this._isCompound&&(this._parent[h]=r,this._children[h]={},this._children[r][h]=!0),this._in[h]={},this._preds[h]={},this._out[h]={},this._sucs[h]={},++this._nodeCount,this)},o.prototype.node=function(h){return this._nodes[h]},o.prototype.hasNode=function(h){return u.has(this._nodes,h)},o.prototype.removeNode=function(h){var t=this;if(u.has(this._nodes,h)){var l=function(w){t.removeEdge(t._edgeObjs[w])};delete this._nodes[h],this._isCompound&&(this._removeFromParentsChildList(h),delete this._parent[h],u.each(this.children(h),function(p){t.setParent(p)}),delete this._children[h]),u.each(u.keys(this._in[h]),l),delete this._in[h],delete this._preds[h],u.each(u.keys(this._out[h]),l),delete this._out[h],delete this._sucs[h],--this._nodeCount}return this},o.prototype.setParent=function(h,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(u.isUndefined(t))t=r;else{t+="";for(var l=t;!u.isUndefined(l);l=this.parent(l))if(l===h)throw new Error("Setting "+t+" as parent of "+h+" would create a cycle");this.setNode(t)}return this.setNode(h),this._removeFromParentsChildList(h),this._parent[h]=t,this._children[t][h]=!0,this},o.prototype._removeFromParentsChildList=function(h){delete this._children[this._parent[h]][h]},o.prototype.parent=function(h){if(this._isCompound){var t=this._parent[h];if(t!==r)return t}},o.prototype.children=function(h){if(u.isUndefined(h)&&(h=r),this._isCompound){var t=this._children[h];if(t)return u.keys(t)}else{if(h===r)return this.nodes();if(this.hasNode(h))return[]}},o.prototype.predecessors=function(h){var t=this._preds[h];if(t)return u.keys(t)},o.prototype.successors=function(h){var t=this._sucs[h];if(t)return u.keys(t)},o.prototype.neighbors=function(h){var t=this.predecessors(h);if(t)return u.union(t,this.successors(h))},o.prototype.isLeaf=function(h){var t;return this.isDirected()?t=this.successors(h):t=this.neighbors(h),t.length===0},o.prototype.filterNodes=function(h){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var l=this;u.each(this._nodes,function(S,k){h(k)&&t.setNode(k,S)}),u.each(this._edgeObjs,function(S){t.hasNode(S.v)&&t.hasNode(S.w)&&t.setEdge(S,l.edge(S))});var p={};function w(S){var k=l.parent(S);return k===void 0||t.hasNode(k)?(p[S]=k,k):k in p?p[k]:w(k)}return this._isCompound&&u.each(t.nodes(),function(S){t.setParent(S,w(S))}),t},o.prototype.setDefaultEdgeLabel=function(h){return u.isFunction(h)||(h=u.constant(h)),this._defaultEdgeLabelFn=h,this},o.prototype.edgeCount=function(){return this._edgeCount},o.prototype.edges=function(){return u.values(this._edgeObjs)},o.prototype.setPath=function(h,t){var l=this,p=arguments;return u.reduce(h,function(w,S){return p.length>1?l.setEdge(w,S,t):l.setEdge(w,S),S}),this},o.prototype.setEdge=function(){var h,t,l,p,w=!1,S=arguments[0];typeof S=="object"&&S!==null&&"v"in S?(h=S.v,t=S.w,l=S.name,arguments.length===2&&(p=arguments[1],w=!0)):(h=S,t=arguments[1],l=arguments[3],arguments.length>2&&(p=arguments[2],w=!0)),h=""+h,t=""+t,u.isUndefined(l)||(l=""+l);var k=n(this._isDirected,h,t,l);if(u.has(this._edgeLabels,k))return w&&(this._edgeLabels[k]=p),this;if(!u.isUndefined(l)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(h),this.setNode(t),this._edgeLabels[k]=w?p:this._defaultEdgeLabelFn(h,t,l);var T=v(this._isDirected,h,t,l);return h=T.v,t=T.w,Object.freeze(T),this._edgeObjs[k]=T,i(this._preds[t],h),i(this._sucs[h],t),this._in[t][k]=T,this._out[h][k]=T,this._edgeCount++,this},o.prototype.edge=function(h,t,l){var p=arguments.length===1?m(this._isDirected,arguments[0]):n(this._isDirected,h,t,l);return this._edgeLabels[p]},o.prototype.hasEdge=function(h,t,l){var p=arguments.length===1?m(this._isDirected,arguments[0]):n(this._isDirected,h,t,l);return u.has(this._edgeLabels,p)},o.prototype.removeEdge=function(h,t,l){var p=arguments.length===1?m(this._isDirected,arguments[0]):n(this._isDirected,h,t,l),w=this._edgeObjs[p];return w&&(h=w.v,t=w.w,delete this._edgeLabels[p],delete this._edgeObjs[p],a(this._preds[t],h),a(this._sucs[h],t),delete this._in[t][p],delete this._out[h][p],this._edgeCount--),this},o.prototype.inEdges=function(h,t){var l=this._in[h];if(l){var p=u.values(l);return t?u.filter(p,function(w){return w.v===t}):p}},o.prototype.outEdges=function(h,t){var l=this._out[h];if(l){var p=u.values(l);return t?u.filter(p,function(w){return w.w===t}):p}},o.prototype.nodeEdges=function(h,t){var l=this.inEdges(h,t);if(l)return l.concat(this.outEdges(h,t))};function i(h,t){h[t]?h[t]++:h[t]=1}function a(h,t){--h[t]||delete h[t]}function n(h,t,l,p){var w=""+t,S=""+l;if(!h&&w>S){var k=w;w=S,S=k}return w+f+S+f+(u.isUndefined(p)?c:p)}function v(h,t,l,p){var w=""+t,S=""+l;if(!h&&w>S){var k=w;w=S,S=k}var T={v:w,w:S};return p&&(T.name=p),T}function m(h,t){return n(h,t.v,t.w,t.name)}},lnY3:function(Ie,M,e){},lreK:function(Ie,M,e){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.mergeClasses=void 0;var u=e("Ag8Z"),c=i(u),r=e("BkRI"),f=i(r),o=Object.assign||function(n){for(var v=1;v<arguments.length;v++){var m=arguments[v];for(var h in m)Object.prototype.hasOwnProperty.call(m,h)&&(n[h]=m[h])}return n};function i(n){return n&&n.__esModule?n:{default:n}}var a=M.mergeClasses=function(v){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=v.default&&(0,f.default)(v.default)||{};return m.map(function(t){var l=v[t];return l&&(0,c.default)(l,function(p,w){h[w]||(h[w]={}),h[w]=o({},h[w],l[w])}),t}),h};M.default=a},lrmC:function(Ie,M,e){},lvO4:function(Ie,M){var e=Object.prototype,u=e.hasOwnProperty;function c(r,f){return r!=null&&u.call(r,f)}Ie.exports=c},mNz5:function(Ie,M,e){var u=e("dt0z"),c=0;function r(f){var o=++c;return u(f)+o}Ie.exports=r},mTTR:function(Ie,M,e){var u=e("b80T"),c=e("QcOe"),r=e("MMmD");function f(o){return r(o)?u(o,!0):c(o)}Ie.exports=f},mUg4:function(Ie,M,e){var u=e("cq/+"),c=e("EwQA"),r=e("mTTR");function f(o,i){return o==null?o:u(o,c(i),r)}Ie.exports=f},mWMg:function(Ie,M,e){"use strict";var u=e("x+uP"),c=e("HaE+"),r=e("U8pU"),f=e("ODXe"),o=e("GNNt"),i=e("wEI+"),a=e("g9YV"),n=e("wCAj"),v=e("rePB"),m=e("KQm4"),h=e("VTBJ"),t=e("Ff2n"),l=e("q1tI"),p=e.n(l),w=e("nKUr"),S=e("nhC9"),k=e("VMEa"),T=e("LQCs"),I=e("mzd2"),Y=e("PjWh"),$=e("9mHw"),A=e("g5r2"),g=e("3j9d"),b=e("TSYQ"),d=e.n(b),O=e("AMKO"),E=e("fOrg"),D=e("+KLJ"),W=e("DYRE"),te=e("zeV3"),re=e("wFNa"),ye=function(wt){var Pn=wt.intl,an=wt.onCleanSelected;return[Object(w.jsx)("a",{onClick:an,children:Pn.getMessage("alert.clear","\u6E05\u7A7A")},"0")]};function q(Ut){var wt=Ut.selectedRowKeys,Pn=wt===void 0?[]:wt,an=Ut.onCleanSelected,Dn=Ut.alwaysShowAlert,Tn=Ut.selectedRows,Zn=Ut.alertInfoRender,Mr=Zn===void 0?function(bi){var zr=bi.intl;return Object(w.jsxs)(te.b,{children:[zr.getMessage("alert.selected","\u5DF2\u9009\u62E9"),Pn.length,zr.getMessage("alert.item","\u9879"),"\xA0\xA0"]})}:Zn,xr=Ut.alertOptionRender,Vr=xr===void 0?ye:xr,Dr=Object(T.d)(),dr=Vr&&Vr({onCleanSelected:an,selectedRowKeys:Pn,selectedRows:Tn,intl:Dr}),gt=Object(l.useContext)(i.a.ConfigContext),Rr=gt.getPrefixCls,ci=Rr("pro-table-alert");if(Mr===!1)return null;var ai=Mr({intl:Dr,selectedRowKeys:Pn,selectedRows:Tn,onCleanSelected:an});return ai===!1||Pn.length<1&&!Dn?null:Object(w.jsx)("div",{className:ci,children:Object(w.jsx)(D.a,{message:Object(w.jsxs)("div",{className:"".concat(ci,"-info"),children:[Object(w.jsx)("div",{className:"".concat(ci,"-info-content"),children:ai}),dr?Object(w.jsx)("div",{className:"".concat(ci,"-info-option"),children:dr}):null]}),type:"info"})})}var oe=q,he=e("kwvR"),ue=e("vuIU"),ne=e("1OyB"),se=e("Ji7U"),be=e("LK+K"),Z=e("5Dmo"),ee=e("3S7+"),ce=e("rLCj"),R=e("eFNv"),y=e("ipCM"),C=e("6cGi"),z=e("Kwbf"),G=e("zP5H"),X=e("AWJX");function pe(){var Ut,wt,Pn,an,Dn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Tn=Object(l.useRef)(),Zn=Object(l.useRef)(null),Mr=Object(l.useRef)(),xr=Object(l.useRef)(),Vr=Object(l.useState)(""),Dr=Object(f.a)(Vr,2),dr=Dr[0],gt=Dr[1],Rr=Object(l.useRef)([]),ci=Object(C.a)(function(){return Dn.size||Dn.defaultSize||"middle"},{value:Dn.size,onChange:Dn.onSizeChange}),ai=Object(f.a)(ci,2),bi=ai[0],zr=ai[1],Hi=Object(l.useMemo)(function(){var Lr,ei={};return(Lr=Dn.columns)===null||Lr===void 0||Lr.forEach(function(ki,ua){var Qi=ki.key,Br=ki.dataIndex,ga=ki.fixed,fa=ki.disable,Ja=Object(X.a)(Qi!=null?Qi:Br,ua);Ja&&(ei[Ja]={show:!0,fixed:ga,disable:fa})}),ei},[Dn.columns]),hi=Object(C.a)(function(){var Lr,ei,ki=Dn.columnsState||{},ua=ki.persistenceType,Qi=ki.persistenceKey;if(Qi&&ua&&typeof window!="undefined"){var Br=window[ua];try{var ga=Br==null?void 0:Br.getItem(Qi);if(ga)return JSON.parse(ga)}catch(fa){console.warn(fa)}}return Dn.columnsStateMap||((Lr=Dn.columnsState)===null||Lr===void 0?void 0:Lr.value)||((ei=Dn.columnsState)===null||ei===void 0?void 0:ei.defaultValue)||Hi},{value:((Ut=Dn.columnsState)===null||Ut===void 0?void 0:Ut.value)||Dn.columnsStateMap,onChange:((wt=Dn.columnsState)===null||wt===void 0?void 0:wt.onChange)||Dn.onColumnsStateChange}),Ci=Object(f.a)(hi,2),Ii=Ci[0],Mn=Ci[1];Object(l.useLayoutEffect)(function(){var Lr=Dn.columnsState||{},ei=Lr.persistenceType,ki=Lr.persistenceKey;if(ki&&ei&&typeof window!="undefined"){var ua=window[ei];try{var Qi=ua==null?void 0:ua.getItem(ki);Mn(Qi?JSON.parse(Qi):Hi)}catch(Br){console.warn(Br)}}},[Dn.columnsState,Hi,Mn]),Object(z.b)(!Dn.columnsStateMap,"columnsStateMap\u5DF2\u7ECF\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528 columnsState.value \u66FF\u6362"),Object(z.b)(!Dn.columnsStateMap,"columnsStateMap has been discarded, please use columnSstate.value replacement");var nr=Object(l.useCallback)(function(){var Lr=Dn.columnsState||{},ei=Lr.persistenceType,ki=Lr.persistenceKey;if(!(!ki||!ei||typeof window=="undefined")){var ua=window[ei];try{ua==null||ua.removeItem(ki)}catch(Qi){console.error(Qi)}}},[Dn.columnsState]);Object(l.useEffect)(function(){var Lr,ei;if(!(!((Lr=Dn.columnsState)===null||Lr===void 0?void 0:Lr.persistenceKey)||!((ei=Dn.columnsState)===null||ei===void 0?void 0:ei.persistenceType))&&typeof window!="undefined"){var ki=Dn.columnsState,ua=ki.persistenceType,Qi=ki.persistenceKey,Br=window[ua];try{Br==null||Br.setItem(Qi,JSON.stringify(Ii))}catch(ga){console.error(ga)}}},[(Pn=Dn.columnsState)===null||Pn===void 0?void 0:Pn.persistenceKey,Ii,(an=Dn.columnsState)===null||an===void 0?void 0:an.persistenceType]);var cr={action:Tn.current,setAction:function(ei){Tn.current=ei},sortKeyColumns:Rr.current,setSortKeyColumns:function(ei){Rr.current=ei},propsRef:xr,columnsMap:Ii,keyWords:dr,setKeyWords:function(ei){return gt(ei)},setTableSize:zr,tableSize:bi,prefixName:Mr.current,setPrefixName:function(ei){Mr.current=ei},setColumnsMap:Mn,columns:Dn.columns,rootDomRef:Zn,clearPersistenceStorage:nr};return Object.defineProperty(cr,"prefixName",{get:function(){return Mr.current}}),Object.defineProperty(cr,"sortKeyColumns",{get:function(){return Rr.current}}),Object.defineProperty(cr,"action",{get:function(){return Tn.current}}),cr}var ae=Object(G.a)(pe),Se=ae,Te=e("sRBo"),je=e("kaz8"),ft=e("Q9mQ"),fe=e("diRs"),ie=e("ozfa"),ge=e("MJZm"),Ve=e("XSw6"),Ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 00-11.3 0L405.6 752.3a7.23 7.23 0 005.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z"}}]},name:"vertical-align-middle",theme:"outlined"},Me=Ee,_e=e("6VBw"),Re=function(wt,Pn){return l.createElement(_e.a,Object(h.a)(Object(h.a)({},wt),{},{ref:Pn,icon:Me}))};Re.displayName="VerticalAlignMiddleOutlined";var et=l.forwardRef(Re),Xe=e("Hp1U"),it=e("+i8S"),bt=e("uX+g"),Ct=e("BGR+"),Bt=e("K5yz"),qe=["key","dataIndex","children"],st=function(wt){var Pn=wt.title,an=wt.show,Dn=wt.children,Tn=wt.columnKey,Zn=wt.fixed,Mr=Se.useContainer(),xr=Mr.columnsMap,Vr=Mr.setColumnsMap;return an?Object(w.jsx)(ee.a,{title:Pn,children:Object(w.jsx)("span",{onClick:function(dr){dr.stopPropagation(),dr.preventDefault();var gt=xr[Tn]||{},Rr=typeof gt.disable=="boolean"&>.disable;if(!Rr){var ci=Object(h.a)(Object(h.a)({},xr),{},Object(v.a)({},Tn,Object(h.a)(Object(h.a)({},gt),{},{fixed:Zn})));Vr(ci)}},children:Dn})}):null},ut=function(wt){var Pn=wt.columnKey,an=wt.isLeaf,Dn=wt.title,Tn=wt.className,Zn=wt.fixed,Mr=Object(T.d)(),xr=Object(w.jsxs)("span",{className:"".concat(Tn,"-list-item-option"),children:[Object(w.jsx)(st,{columnKey:Pn,fixed:"left",title:Mr.getMessage("tableToolBar.leftPin","\u56FA\u5B9A\u5728\u5217\u9996"),show:Zn!=="left",children:Object(w.jsx)(Ve.a,{})}),Object(w.jsx)(st,{columnKey:Pn,fixed:void 0,title:Mr.getMessage("tableToolBar.noPin","\u4E0D\u56FA\u5B9A"),show:!!Zn,children:Object(w.jsx)(et,{})}),Object(w.jsx)(st,{columnKey:Pn,fixed:"right",title:Mr.getMessage("tableToolBar.rightPin","\u56FA\u5B9A\u5728\u5217\u5C3E"),show:Zn!=="right",children:Object(w.jsx)(Xe.a,{})})]});return Object(w.jsxs)("span",{className:"".concat(Tn,"-list-item"),children:[Object(w.jsx)("div",{className:"".concat(Tn,"-list-item-title"),children:Dn}),an?null:xr]},Pn)},nt=function(wt){var Pn,an,Dn=wt.list,Tn=wt.draggable,Zn=wt.checkable,Mr=wt.className,xr=wt.showTitle,Vr=xr===void 0?!0:xr,Dr=wt.title,dr=wt.listHeight,gt=dr===void 0?280:dr,Rr=Se.useContainer(),ci=Rr.columnsMap,ai=Rr.setColumnsMap,bi=Rr.sortKeyColumns,zr=Rr.setSortKeyColumns,Hi=Dn&&Dn.length>0,hi=Object(l.useMemo)(function(){if(!Hi)return{};var nr=[],cr=function Lr(ei,ki){return ei.map(function(ua){var Qi,Br=ua.key,ga=ua.dataIndex,fa=ua.children,Ja=Object(t.a)(ua,qe),In=Object(X.a)(Br,Ja.index),ve=ci[In||"null"]||{show:!0};ve.show!==!1&&(ki==null?void 0:ki.show)!==!1&&!fa&&nr.push(In);var x=Object(h.a)(Object(h.a)({key:In},Object(Ct.a)(Ja,["className"])),{},{selectable:!1,disabled:ve.disable===!0,disableCheckbox:typeof ve.disable=="boolean"?ve.disable:(Qi=ve.disable)===null||Qi===void 0?void 0:Qi.checkbox,isLeaf:ki?!0:void 0});return fa&&(x.children=Lr(fa,ve)),x})};return{list:cr(Dn),keys:nr}},[ci,Dn,Hi]),Ci=Object(it.a)(function(nr,cr,Lr){var ei=Object(h.a)({},ci),ki=Object(m.a)(bi),ua=ki.findIndex(function(fa){return fa===nr}),Qi=ki.findIndex(function(fa){return fa===cr}),Br=Lr>Qi;if(!(ua<0)){var ga=ki[ua];ki.splice(ua,1),Lr===0?ki.unshift(ga):ki.splice(Br?Qi:Qi+1,0,ga),ki.forEach(function(fa,Ja){ei[fa]=Object(h.a)(Object(h.a)({},ei[fa]||{}),{},{order:Ja})}),ai(ei),zr(ki)}}),Ii=Object(it.a)(function(nr){var cr=nr.node.key,Lr=Object(h.a)({},ci[cr]);Lr.show=nr.checked,ai(Object(h.a)(Object(h.a)({},ci),{},Object(v.a)({},cr,Lr)))});if(!Hi)return null;var Mn=Object(w.jsx)(ge.a,{itemHeight:24,draggable:Tn&&!!((Pn=hi.list)===null||Pn===void 0?void 0:Pn.length)&&((an=hi.list)===null||an===void 0?void 0:an.length)>1,checkable:Zn,onDrop:function(cr){var Lr=cr.node.key,ei=cr.dragNode.key,ki=cr.dropPosition,ua=cr.dropToGap,Qi=ki===-1||!ua?ki+1:ki;Ci(ei,Lr,Qi)},blockNode:!0,onCheck:function(cr,Lr){return Ii(Lr)},checkedKeys:hi.keys,showLine:!1,titleRender:function(cr){var Lr=Object(h.a)(Object(h.a)({},cr),{},{children:void 0});return Object(w.jsx)(ut,Object(h.a)(Object(h.a)({className:Mr},Lr),{},{title:Object(bt.a)(Lr.title,Lr),columnKey:Lr.key}))},height:gt,treeData:hi.list});return Object(w.jsxs)(w.Fragment,{children:[Vr&&Object(w.jsx)("span",{className:"".concat(Mr,"-list-title"),children:Dr}),Mn]})},kt=function(wt){var Pn=wt.localColumns,an=wt.className,Dn=wt.draggable,Tn=wt.checkable,Zn=wt.listsHeight,Mr=[],xr=[],Vr=[],Dr=Object(T.d)();Pn.forEach(function(Rr){if(!Rr.hideInSetting){var ci=Rr.fixed;if(ci==="left"){xr.push(Rr);return}if(ci==="right"){Mr.push(Rr);return}Vr.push(Rr)}});var dr=Mr&&Mr.length>0,gt=xr&&xr.length>0;return Object(w.jsxs)("div",{className:d()("".concat(an,"-list"),Object(v.a)({},"".concat(an,"-list-group"),dr||gt)),children:[Object(w.jsx)(nt,{title:Dr.getMessage("tableToolBar.leftFixedTitle","\u56FA\u5B9A\u5728\u5DE6\u4FA7"),list:xr,draggable:Dn,checkable:Tn,className:an,listHeight:Zn}),Object(w.jsx)(nt,{list:Vr,draggable:Dn,checkable:Tn,title:Dr.getMessage("tableToolBar.noFixedTitle","\u4E0D\u56FA\u5B9A"),showTitle:gt||dr,className:an,listHeight:Zn}),Object(w.jsx)(nt,{title:Dr.getMessage("tableToolBar.rightFixedTitle","\u56FA\u5B9A\u5728\u53F3\u4FA7"),list:Mr,draggable:Dn,checkable:Tn,className:an,listHeight:Zn})]})};function Sn(Ut){var wt,Pn,an=Object(l.useRef)({}),Dn=Se.useContainer(),Tn=Ut.columns,Zn=Ut.checkedReset,Mr=Zn===void 0?!0:Zn,xr=Dn.columnsMap,Vr=Dn.setColumnsMap,Dr=Dn.clearPersistenceStorage;Object(l.useEffect)(function(){var Ci,Ii;if((Ci=Dn.propsRef.current)===null||Ci===void 0||(Ii=Ci.columnsState)===null||Ii===void 0?void 0:Ii.value){var Mn,nr;an.current=JSON.parse(JSON.stringify(((Mn=Dn.propsRef.current)===null||Mn===void 0||(nr=Mn.columnsState)===null||nr===void 0?void 0:nr.value)||{}))}},[]);var dr=Object(it.a)(function(){var Ci=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,Ii={},Mn=function nr(cr){cr.forEach(function(Lr){var ei=Lr.key,ki=Lr.fixed,ua=Lr.index,Qi=Lr.children,Br=Object(X.a)(ei,ua);Br&&(Ii[Br]={show:Ci,fixed:ki}),Qi&&nr(Qi)})};Mn(Tn),Vr(Ii)}),gt=Object(it.a)(function(Ci){Ci.target.checked?dr():dr(!1)}),Rr=Object(it.a)(function(){Dr==null||Dr(),Vr(an.current)}),ci=Object.values(xr).filter(function(Ci){return!Ci||Ci.show===!1}),ai=ci.length>0&&ci.length!==Tn.length,bi=Object(T.d)(),zr=Object(l.useContext)(i.a.ConfigContext),Hi=zr.getPrefixCls,hi=Hi("pro-table-column-setting");return Object(w.jsx)(fe.a,{arrowPointAtCenter:!0,title:Object(w.jsxs)("div",{className:"".concat(hi,"-title"),children:[Object(w.jsx)(je.a,{indeterminate:ai,checked:ci.length===0&&ci.length!==Tn.length,onChange:function(Ii){return gt(Ii)},children:bi.getMessage("tableToolBar.columnDisplay","\u5217\u5C55\u793A")}),Mr?Object(w.jsx)("a",{onClick:Rr,className:"".concat(hi,"-action-rest-button"),children:bi.getMessage("tableToolBar.reset","\u91CD\u7F6E")}):null,(Ut==null?void 0:Ut.extra)?Object(w.jsx)(te.b,{size:12,align:"center",children:Ut.extra}):null]}),overlayClassName:"".concat(hi,"-overlay"),trigger:"click",placement:"bottomRight",content:Object(w.jsx)(kt,{checkable:(wt=Ut.checkable)!==null&&wt!==void 0?wt:!0,draggable:(Pn=Ut.draggable)!==null&&Pn!==void 0?Pn:!0,className:hi,localColumns:Tn,listsHeight:Ut.listsHeight}),children:Ut.children||Object(w.jsx)(ee.a,{title:bi.getMessage("tableToolBar.columnSetting","\u5217\u8BBE\u7F6E"),children:Object(w.jsx)(R.a,{})})})}var Tt=Sn,ht=e("NJHf"),Rt=e("lUTK"),Ft=e("BvKs"),nn=e("qVdP"),bn=e("jsC+"),sn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z"}}]},name:"column-height",theme:"outlined"},un=sn,Ht=function(wt,Pn){return l.createElement(_e.a,Object(h.a)(Object(h.a)({},wt),{},{ref:Pn,icon:un}))};Ht.displayName="ColumnHeightOutlined";var jn=l.forwardRef(Ht),Ln=function(){var wt=Se.useContainer(),Pn=Object(T.d)();return Object(w.jsx)(bn.a,{overlay:Object(w.jsx)(Ft.a,{selectedKeys:[wt.tableSize],onClick:function(Dn){var Tn,Zn=Dn.key;(Tn=wt.setTableSize)===null||Tn===void 0||Tn.call(wt,Zn)},style:{width:80},items:[{key:"large",label:Pn.getMessage("tableToolBar.densityLarger","\u9ED8\u8BA4")},{key:"middle",label:Pn.getMessage("tableToolBar.densityMiddle","\u4E2D\u7B49")},{key:"small",label:Pn.getMessage("tableToolBar.densitySmall","\u7D27\u51D1")}]}),trigger:["click"],children:Object(w.jsx)(ee.a,{title:Pn.getMessage("tableToolBar.density","\u8868\u683C\u5BC6\u5EA6"),children:Object(w.jsx)(jn,{})})})},Un=p.a.memo(Ln),lt=e("IehP"),Nt=e("3R4v"),zt=e("7z/i"),en=function(){var wt=Object(T.d)(),Pn=Object(l.useState)(!1),an=Object(f.a)(Pn,2),Dn=an[0],Tn=an[1];return Object(l.useEffect)(function(){!Object(zt.a)()||(document.onfullscreenchange=function(){Tn(!!document.fullscreenElement)})},[]),Dn?Object(w.jsx)(ee.a,{title:wt.getMessage("tableToolBar.exitFullScreen","\u5168\u5C4F"),children:Object(w.jsx)(lt.a,{})}):Object(w.jsx)(ee.a,{title:wt.getMessage("tableToolBar.fullScreen","\u5168\u5C4F"),children:Object(w.jsx)(Nt.a,{})})},tn=p.a.memo(en),wn=e("XQL4"),on=["headerTitle","tooltip","toolBarRender","action","options","selectedRowKeys","selectedRows","toolbar","onSearch","columns"];function vn(Ut){var wt=Ut.intl;return{reload:{text:wt.getMessage("tableToolBar.reload","\u5237\u65B0"),icon:Object(w.jsx)(ce.a,{})},density:{text:wt.getMessage("tableToolBar.density","\u8868\u683C\u5BC6\u5EA6"),icon:Object(w.jsx)(Un,{})},setting:{text:wt.getMessage("tableToolBar.columnSetting","\u5217\u8BBE\u7F6E"),icon:Object(w.jsx)(R.a,{})},fullScreen:{text:wt.getMessage("tableToolBar.fullScreen","\u5168\u5C4F"),icon:Object(w.jsx)(tn,{})}}}function dt(Ut,wt,Pn,an){return Object.keys(Ut).filter(function(Dn){return Dn}).map(function(Dn){var Tn=Ut[Dn];if(!Tn)return null;var Zn=Tn===!0?wt[Dn]:function(xr){return Tn==null?void 0:Tn(xr,Pn.current)};if(typeof Zn!="function"&&(Zn=function(){}),Dn==="setting")return Object(l.createElement)(Tt,Object(h.a)(Object(h.a)({},Ut[Dn]),{},{columns:an,key:Dn}));if(Dn==="fullScreen")return Object(w.jsx)("span",{onClick:Zn,children:Object(w.jsx)(tn,{})},Dn);var Mr=vn(wt)[Dn];return Mr?Object(w.jsx)("span",{onClick:Zn,children:Object(w.jsx)(ee.a,{title:Mr.text,children:Mr.icon})},Dn):null}).filter(function(Dn){return Dn})}function ct(Ut){var wt=Ut.headerTitle,Pn=Ut.tooltip,an=Ut.toolBarRender,Dn=Ut.action,Tn=Ut.options,Zn=Ut.selectedRowKeys,Mr=Ut.selectedRows,xr=Ut.toolbar,Vr=Ut.onSearch,Dr=Ut.columns,dr=Object(t.a)(Ut,on),gt=Se.useContainer(),Rr=Object(T.d)(),ci=Object(l.useMemo)(function(){var zr={reload:function(){var Ci;return Dn==null||(Ci=Dn.current)===null||Ci===void 0?void 0:Ci.reload()},density:!0,setting:!0,search:!1,fullScreen:function(){var Ci,Ii;return Dn==null||(Ci=Dn.current)===null||Ci===void 0||(Ii=Ci.fullScreen)===null||Ii===void 0?void 0:Ii.call(Ci)}};if(Tn===!1)return[];var Hi=Object(h.a)(Object(h.a)({},zr),{},{fullScreen:!1},Tn);return dt(Hi,Object(h.a)(Object(h.a)({},zr),{},{intl:Rr}),Dn,Dr)},[Dn,Dr,Rr,Tn]),ai=an?an(Dn==null?void 0:Dn.current,{selectedRowKeys:Zn,selectedRows:Mr}):[],bi=Object(l.useMemo)(function(){if(!Tn||!Tn.search)return!1;var zr={value:gt.keyWords,onChange:function(hi){return gt.setKeyWords(hi.target.value)}};return Tn.search===!0?zr:Object(h.a)(Object(h.a)({},zr),Tn.search)},[gt,Tn]);return Object(l.useEffect)(function(){gt.keyWords===void 0&&(Vr==null||Vr(""))},[gt.keyWords,Vr]),Object(w.jsx)(ht.a,Object(h.a)({title:wt,tooltip:Pn||dr.tip,search:bi,onSearch:Vr,actions:ai,settings:ci},xr))}var Kt=function(Ut){Object(se.a)(Pn,Ut);var wt=Object(be.a)(Pn);function Pn(){var an;Object(ne.a)(this,Pn);for(var Dn=arguments.length,Tn=new Array(Dn),Zn=0;Zn<Dn;Zn++)Tn[Zn]=arguments[Zn];return an=wt.call.apply(wt,[this].concat(Tn)),an.onSearch=function(Mr){var xr,Vr,Dr,dr,gt=an.props,Rr=gt.options,ci=gt.onFormSearchSubmit,ai=gt.actionRef;if(!(!Rr||!Rr.search)){var bi=Rr.search===!0?{}:Rr.search,zr=bi.name,Hi=zr===void 0?"keyword":zr,hi=(xr=Rr.search)===null||xr===void 0||(Vr=xr.onSearch)===null||Vr===void 0?void 0:Vr.call(xr,Mr);hi!==!1&&(ai==null||(Dr=ai.current)===null||Dr===void 0||(dr=Dr.setPageInfo)===null||dr===void 0||dr.call(Dr,{current:1}),ci(Object(Y.a)(Object(v.a)({_timestamp:Date.now()},Hi,Mr))))}},an.isEquals=function(Mr){var xr=an.props,Vr=xr.hideToolbar,Dr=xr.tableColumn,dr=xr.options,gt=xr.tooltip,Rr=xr.toolbar,ci=xr.selectedRows,ai=xr.selectedRowKeys,bi=xr.headerTitle,zr=xr.actionRef,Hi=xr.toolBarRender;return Object(y.a)({hideToolbar:Vr,tableColumn:Dr,options:dr,tooltip:gt,toolbar:Rr,selectedRows:ci,selectedRowKeys:ai,headerTitle:bi,actionRef:zr,toolBarRender:Hi},{hideToolbar:Mr.hideToolbar,tableColumn:Mr.tableColumn,options:Mr.options,tooltip:Mr.tooltip,toolbar:Mr.toolbar,selectedRows:Mr.selectedRows,selectedRowKeys:Mr.selectedRowKeys,headerTitle:Mr.headerTitle,actionRef:Mr.actionRef,toolBarRender:Mr.toolBarRender},["render","renderFormItem"])},an.shouldComponentUpdate=function(Mr){return Mr.searchNode?!0:!an.isEquals(Mr)},an.render=function(){var Mr=an.props,xr=Mr.hideToolbar,Vr=Mr.tableColumn,Dr=Mr.options,dr=Mr.searchNode,gt=Mr.tooltip,Rr=Mr.toolbar,ci=Mr.selectedRows,ai=Mr.selectedRowKeys,bi=Mr.headerTitle,zr=Mr.actionRef,Hi=Mr.toolBarRender;return xr?null:Object(w.jsx)(ct,{tooltip:gt,columns:Vr,options:Dr,headerTitle:bi,action:zr,onSearch:an.onSearch,selectedRows:ci,selectedRowKeys:ai,toolBarRender:Hi,toolbar:Object(h.a)({filter:dr},Rr)})},an}return Object(ue.a)(Pn)}(p.a.Component),pn=Kt,kn=e("tkDr"),Pt=e("ft2k"),gn=e("HBdL"),_n=["data","success","total"],Kn=function(wt){var Pn=wt.pageInfo;if(Pn){var an=Pn.current,Dn=Pn.defaultCurrent,Tn=Pn.pageSize,Zn=Pn.defaultPageSize;return{current:an||Dn||1,total:0,pageSize:Tn||Zn||20}}return{current:1,total:0,pageSize:20}},qn=function(wt,Pn,an){var Dn=Object(l.useRef)(!1),Tn=an||{},Zn=Tn.onLoad,Mr=Tn.manual,xr=Tn.polling,Vr=Tn.onRequestError,Dr=Tn.debounceTime,dr=Dr===void 0?20:Dr,gt=Object(l.useRef)(Mr),Rr=Object(l.useRef)(),ci=Object($.a)(Pn,{value:an==null?void 0:an.dataSource,onChange:an==null?void 0:an.onDataSourceChange}),ai=Object(f.a)(ci,2),bi=ai[0],zr=ai[1],Hi=Object($.a)(!1,{value:an==null?void 0:an.loading,onChange:an==null?void 0:an.onLoadingChange}),hi=Object(f.a)(Hi,2),Ci=hi[0],Ii=hi[1],Mn=Object(l.useRef)(!1),nr=Object($.a)(function(){return Kn(an)},{onChange:an==null?void 0:an.onPageInfoChange}),cr=Object(f.a)(nr,2),Lr=cr[0],ei=cr[1],ki=Object(it.a)(function(ke){(ke.current!==Lr.current||ke.pageSize!==Lr.pageSize||ke.total!==Lr.total)&&ei(ke)}),ua=Object($.a)(!1),Qi=Object(f.a)(ua,2),Br=Qi[0],ga=Qi[1],fa=function(we,Be){zr(we),(Lr==null?void 0:Lr.total)!==Be&&ki(Object(h.a)(Object(h.a)({},Lr),{},{total:Be||we.length}))},Ja=Object(Pt.a)(Lr==null?void 0:Lr.current),In=Object(Pt.a)(Lr==null?void 0:Lr.pageSize),ve=Object(Pt.a)(xr),x=an||{},le=x.effects,me=le===void 0?[]:le,Ae=Object(it.a)(function(){Object(r.a)(Ci)==="object"?Ii(Object(h.a)(Object(h.a)({},Ci),{},{spinning:!1})):Ii(!1),ga(!1)}),tt=function(){var ke=Object(c.a)(Object(u.a)().mark(function we(Be){var Le,J,Ke,We,Ot,Vt,$t,Gt,hn,$n,Sr,vr;return Object(u.a)().wrap(function(Tr){for(;;)switch(Tr.prev=Tr.next){case 0:if(!(Ci&&typeof Ci=="boolean"||Mn.current||!wt)){Tr.next=2;break}return Tr.abrupt("return",[]);case 2:if(!gt.current){Tr.next=5;break}return gt.current=!1,Tr.abrupt("return",[]);case 5:return Be?ga(!0):Object(r.a)(Ci)==="object"?Ii(Object(h.a)(Object(h.a)({},Ci),{},{spinning:!0})):Ii(!0),Mn.current=!0,Le=Lr||{},J=Le.pageSize,Ke=Le.current,Tr.prev=8,We=(an==null?void 0:an.pageInfo)!==!1?{current:Ke,pageSize:J}:void 0,Tr.next=12,wt(We);case 12:if(Tr.t0=Tr.sent,Tr.t0){Tr.next=15;break}Tr.t0={};case 15:if(Ot=Tr.t0,Vt=Ot.data,$t=Vt===void 0?[]:Vt,Gt=Ot.success,hn=Ot.total,$n=hn===void 0?0:hn,Sr=Object(t.a)(Ot,_n),Gt!==!1){Tr.next=24;break}return Tr.abrupt("return",[]);case 24:return vr=Object(X.f)($t,[an.postData].filter(function(Qr){return Qr})),fa(vr,$n),Zn==null||Zn(vr,Sr),Tr.abrupt("return",vr);case 30:if(Tr.prev=30,Tr.t1=Tr.catch(8),Vr!==void 0){Tr.next=34;break}throw new Error(Tr.t1);case 34:bi===void 0&&zr([]),Vr(Tr.t1);case 36:return Tr.prev=36,Mn.current=!1,Ae(),Tr.finish(36);case 40:return Tr.abrupt("return",[]);case 41:case"end":return Tr.stop()}},we,null,[[8,30,36,40]])}));return function(Be){return ke.apply(this,arguments)}}(),pt=Object(gn.a)(function(){var ke=Object(c.a)(Object(u.a)().mark(function we(Be){var Le,J;return Object(u.a)().wrap(function(We){for(;;)switch(We.prev=We.next){case 0:return Rr.current&&clearTimeout(Rr.current),We.next=3,tt(Be);case 3:return Le=We.sent,J=Object(bt.a)(xr,Le),J&&!Dn.current&&(Rr.current=setTimeout(function(){pt.run(J)},Math.max(J,2e3))),We.abrupt("return",Le);case 7:case"end":return We.stop()}},we)}));return function(we){return ke.apply(this,arguments)}}(),dr||10);return Object(l.useEffect)(function(){return xr||clearTimeout(Rr.current),!ve&&xr&&pt.run(!0),function(){clearTimeout(Rr.current)}},[xr]),Object(l.useLayoutEffect)(function(){return Dn.current=!1,function(){Dn.current=!0}},[]),Object(l.useEffect)(function(){var ke=Lr||{},we=ke.current,Be=ke.pageSize;(!Ja||Ja===we)&&(!In||In===Be)||an.pageInfo&&bi&&(bi==null?void 0:bi.length)>Be||we!==void 0&&bi&&bi.length<=Be&&pt.run(!1)},[Lr==null?void 0:Lr.current]),Object(l.useEffect)(function(){!In||pt.run(!1)},[Lr==null?void 0:Lr.pageSize]),Object(A.a)(function(){return pt.run(!1),Mr||(gt.current=!1),function(){pt.cancel()}},[].concat(Object(m.a)(me),[Mr])),{dataSource:bi,setDataSource:zr,loading:Ci,reload:function(){var ke=Object(c.a)(Object(u.a)().mark(function Be(){return Object(u.a)().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.next=2,pt.run(!1);case 2:case"end":return J.stop()}},Be)}));function we(){return ke.apply(this,arguments)}return we}(),pageInfo:Lr,pollingLoading:Br,reset:function(){var ke=Object(c.a)(Object(u.a)().mark(function Be(){var Le,J,Ke,We,Ot,Vt,$t,Gt;return Object(u.a)().wrap(function($n){for(;;)switch($n.prev=$n.next){case 0:Le=an||{},J=Le.pageInfo,Ke=J||{},We=Ke.defaultCurrent,Ot=We===void 0?1:We,Vt=Ke.defaultPageSize,$t=Vt===void 0?20:Vt,Gt={current:Ot,total:0,pageSize:$t},ki(Gt);case 4:case"end":return $n.stop()}},Be)}));function we(){return ke.apply(this,arguments)}return we}(),setPageInfo:function(){var ke=Object(c.a)(Object(u.a)().mark(function Be(Le){return Object(u.a)().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:ki(Object(h.a)(Object(h.a)({},Lr),Le));case 1:case"end":return Ke.stop()}},Be)}));function we(Be){return ke.apply(this,arguments)}return we}()}},rr=qn,Rn=function(wt){return function(Pn,an){var Dn,Tn,Zn=Pn.fixed,Mr=Pn.index,xr=an.fixed,Vr=an.index;if(Zn==="left"&&xr!=="left"||xr==="right"&&Zn!=="right")return-2;if(xr==="left"&&Zn!=="left"||Zn==="right"&&xr!=="right")return 2;var Dr=Pn.key||"".concat(Mr),dr=an.key||"".concat(Vr);if(((Dn=wt[Dr])===null||Dn===void 0?void 0:Dn.order)||((Tn=wt[dr])===null||Tn===void 0?void 0:Tn.order)){var gt,Rr;return(((gt=wt[Dr])===null||gt===void 0?void 0:gt.order)||0)-(((Rr=wt[dr])===null||Rr===void 0?void 0:Rr.order)||0)}return(Pn.index||0)-(an.index||0)}},mr=e("yeZT"),ar=e("BY2G"),sr=function(wt){var Pn={};return Object.keys(wt||{}).forEach(function(an){var Dn;Array.isArray(wt[an])&&((Dn=wt[an])===null||Dn===void 0?void 0:Dn.length)===0||wt[an]!==void 0&&(Pn[an]=wt[an])}),Pn},yr=sr,br=e("YSkC"),_r=e("fxyS"),li=e("POPG"),xi=e("ub+h"),Mi=e("lS/g"),Fr=e("hkzD"),ur=e("adzw"),Ti=e("WuYN"),Xi=e("tReJ"),ca=e("U9X9"),Zi=["children"],xa=["",null,void 0],va=function(){for(var wt=arguments.length,Pn=new Array(wt),an=0;an<wt;an++)Pn[an]=arguments[an];return Pn.filter(function(Dn){return Dn!==void 0}).map(function(Dn){return typeof Dn=="number"?Dn.toString():Dn}).flat(1)},Ma=function(wt){var Pn=Object(l.useContext)(Mi.a),an=wt.columnProps,Dn=wt.prefixName,Tn=wt.text,Zn=wt.counter,Mr=wt.rowData,xr=wt.index,Vr=wt.recordKey,Dr=wt.subName,dr=wt.proFieldProps,gt=Fr.a.useFormInstance(),Rr=Vr||xr,ci=Object(l.useState)(function(){var Mn,nr;return va(Dn,Dn?Dr:[],Dn?xr:Rr,(Mn=(nr=an==null?void 0:an.key)!==null&&nr!==void 0?nr:an==null?void 0:an.dataIndex)!==null&&Mn!==void 0?Mn:xr)}),ai=Object(f.a)(ci,2),bi=ai[0],zr=ai[1],Hi=Object(l.useMemo)(function(){return bi.slice(0,-1)},[bi]);Object(l.useEffect)(function(){var Mn,nr,cr=va(Dn,Dn?Dr:[],Dn?xr:Rr,(Mn=(nr=an==null?void 0:an.key)!==null&&nr!==void 0?nr:an==null?void 0:an.dataIndex)!==null&&Mn!==void 0?Mn:xr);cr.join("-")!==bi.join("-")&&zr(cr)},[an==null?void 0:an.dataIndex,an==null?void 0:an.key,xr,Vr,Dn,Rr,Dr,bi]);var hi=Object(l.useMemo)(function(){return[gt,Object(h.a)(Object(h.a)({},an),{},{rowKey:Hi,rowIndex:xr,isEditable:!0})]},[an,gt,xr,Hi]),Ci=Object(l.useCallback)(function(Mn){var nr=Mn.children,cr=Object(t.a)(Mn,Zi);return Object(w.jsx)(Xi.a,Object(h.a)(Object(h.a)({popoverProps:{getPopupContainer:Pn.getPopupContainer||function(){return Zn.rootDomRef.current||document.body}},errorType:"popover",name:bi},cr),{},{children:nr}),Rr)},[Rr,bi]),Ii=Object(l.useCallback)(function(){var Mn,nr,cr=Object(h.a)({},ca.a.apply(void 0,[an==null?void 0:an.formItemProps].concat(Object(m.a)(hi))));cr.messageVariables=Object(h.a)({label:(an==null?void 0:an.title)||"\u6B64\u9879",type:(an==null?void 0:an.valueType)||"\u6587\u672C"},cr==null?void 0:cr.messageVariables),cr.initialValue=(Mn=(nr=Dn?null:Tn)!==null&&nr!==void 0?nr:cr==null?void 0:cr.initialValue)!==null&&Mn!==void 0?Mn:an==null?void 0:an.initialValue;var Lr=Object(w.jsx)(ur.a,Object(h.a)({cacheForSwr:!0,name:bi,proFormFieldKey:Rr,ignoreFormItem:!0,fieldProps:ca.a.apply(void 0,[an==null?void 0:an.fieldProps].concat(Object(m.a)(hi)))},dr),bi.join("-"));return(an==null?void 0:an.renderFormItem)&&(Lr=an.renderFormItem(Object(h.a)(Object(h.a)({},an),{},{index:xr,isEditable:!0,type:"table"}),{defaultRender:function(){return Object(w.jsx)(Ci,Object(h.a)(Object(h.a)({},cr),{},{children:Lr}))},type:"form",recordKey:Vr,record:Object(h.a)(Object(h.a)({},Mr),gt==null?void 0:gt.getFieldValue([Rr])),isEditable:!0},gt,wt.editableUtils),an.ignoreFormItem)?Object(w.jsx)(w.Fragment,{children:Lr}):Object(w.jsx)(Ci,Object(h.a)(Object(h.a)({},cr),{},{children:Lr}),bi.join("-"))},[an,hi,Dn,Tn,Rr,bi,dr,Ci,xr,Vr,Mr,gt,wt.editableUtils]);return bi.length===0?null:typeof(an==null?void 0:an.renderFormItem)=="function"||typeof(an==null?void 0:an.fieldProps)=="function"||typeof(an==null?void 0:an.formItemProps)=="function"?Object(w.jsx)(Ti.a,{name:[Hi],children:function(){return Ii()}}):Ii()};function _a(Ut){var wt,Pn=Ut.text,an=Ut.valueType,Dn=Ut.rowData,Tn=Ut.columnProps;if((!an||["textarea","text"].includes(an.toString()))&&!(Tn==null?void 0:Tn.valueEnum)&&Ut.mode==="read")return xa.includes(Pn)?Ut.columnEmptyText:Pn;if(typeof an=="function"&&Dn)return _a(Object(h.a)(Object(h.a)({},Ut),{},{valueType:an(Dn,Ut.type)||"text"}));var Zn=(Tn==null?void 0:Tn.key)||(Tn==null||(wt=Tn.dataIndex)===null||wt===void 0?void 0:wt.toString()),Mr={valueEnum:Object(bt.a)(Tn==null?void 0:Tn.valueEnum,Dn),request:Tn==null?void 0:Tn.request,params:Object(bt.a)(Tn==null?void 0:Tn.params,Dn,Tn),readonly:Tn==null?void 0:Tn.readonly,text:an==="index"||an==="indexBorder"?Ut.index:Pn,mode:Ut.mode,renderFormItem:void 0,valueType:an,record:Dn,proFieldProps:{emptyText:Ut.columnEmptyText,proFieldKey:Zn?"table-field-".concat(Zn):void 0}};return Ut.mode!=="edit"?Object(w.jsx)(ur.a,Object(h.a)({mode:"read",ignoreFormItem:!0,fieldProps:Object(ca.a)(Tn==null?void 0:Tn.fieldProps,null,Tn)},Mr)):Object(w.jsx)(Ma,Object(h.a)(Object(h.a)({},Ut),{},{proFieldProps:Mr}),Ut.recordKey)}var na=_a,sa=function(wt){var Pn,an=wt.title,Dn=typeof(wt==null?void 0:wt.ellipsis)=="boolean"?wt==null?void 0:wt.ellipsis:wt==null||(Pn=wt.ellipsis)===null||Pn===void 0?void 0:Pn.showTitle;return an&&typeof an=="function"?an(wt,"table",Object(w.jsx)(br.a,{label:null,tooltip:wt.tooltip||wt.tip})):Object(w.jsx)(br.a,{label:an,tooltip:wt.tooltip||wt.tip,ellipsis:Dn})};function Ai(Ut,wt,Pn,an){return typeof an=="boolean"?an===!1:(an==null?void 0:an(Ut,wt,Pn))===!1}var ba=function(wt,Pn,an){var Dn=Array.isArray(an)?Object(xi.a)(Pn,an):Pn[an],Tn=String(Dn);return String(Tn)===String(wt)};function ea(Ut){var wt=Ut.columnProps,Pn=Ut.text,an=Ut.rowData,Dn=Ut.index,Tn=Ut.columnEmptyText,Zn=Ut.counter,Mr=Ut.type,xr=Ut.subName,Vr=Ut.editableUtils,Dr=Zn.action,dr=Zn.prefixName,gt=Vr.isEditable(Object(h.a)(Object(h.a)({},an),{},{index:Dn})),Rr=gt.isEditable,ci=gt.recordKey,ai=wt.renderText,bi=ai===void 0?function(nr){return nr}:ai,zr=bi(Pn,an,Dn,Dr),Hi=Rr&&!Ai(Pn,an,Dn,wt==null?void 0:wt.editable)?"edit":"read",hi=na({text:zr,valueType:wt.valueType||"text",index:Dn,rowData:an,subName:xr,columnProps:Object(h.a)(Object(h.a)({},wt),{},{entry:an,entity:an}),counter:Zn,columnEmptyText:Tn,type:Mr,recordKey:ci,mode:Hi,prefixName:dr,editableUtils:Vr}),Ci=Hi==="edit"?hi:Object(_r.a)(hi,wt,zr);if(Hi==="edit")return wt.valueType==="option"?Object(w.jsx)(te.b,{children:Vr.actionRender(Object(h.a)(Object(h.a)({},an),{},{index:wt.index||Dn}))}):Ci;if(!wt.render){var Ii=p.a.isValidElement(Ci)||["string","number"].includes(Object(r.a)(Ci));return!Object(li.a)(Ci)&&Ii?Ci:null}var Mn=wt.render(Ci,an,Dn,Object(h.a)(Object(h.a)({},Dr),Vr),Object(h.a)(Object(h.a)({},wt),{},{isEditable:Rr,type:"table"}));return Object(X.c)(Mn)?Mn:Mn&&wt.valueType==="option"&&Array.isArray(Mn)?Object(w.jsx)(te.b,{size:16,children:Mn}):Mn}function mn(Ut){var wt,Pn=Ut.columns,an=Ut.counter,Dn=Ut.columnEmptyText,Tn=Ut.type,Zn=Ut.editableUtils,Mr=Ut.rowKey,xr=Mr===void 0?"id":Mr,Vr=Ut.childrenColumnName,Dr=Vr===void 0?"children":Vr,dr=new Map;return Pn==null||(wt=Pn.map(function(gt,Rr){var ci=gt.key,ai=gt.dataIndex,bi=gt.valueEnum,zr=gt.valueType,Hi=zr===void 0?"text":zr,hi=gt.children,Ci=gt.onFilter,Ii=gt.filters,Mn=Ii===void 0?[]:Ii,nr=Object(X.a)(ci||(ai==null?void 0:ai.toString()),Rr),cr=!bi&&!Hi&&!hi;if(cr)return Object(h.a)({index:Rr},gt);var Lr=gt===n.a.EXPAND_COLUMN||gt===n.a.SELECTION_COLUMN;if(Lr)return{index:Rr,isExtraColumns:!0,hideInSearch:!0,hideInTable:!1,hideInForm:!0,hideInSetting:!0,extraColumn:gt};var ei=an.columnsMap[nr]||{fixed:gt.fixed},ki=function(){return Ci===!0?function(ga,fa){return ba(ga,fa,ai)}:Object(ar.a)(Ci)},ua=xr,Qi=Object(h.a)(Object(h.a)({index:Rr,key:nr},gt),{},{title:sa(gt),valueEnum:bi,filters:Mn===!0?Object(mr.d)(Object(bt.a)(bi,void 0)).filter(function(Br){return Br&&Br.value!=="all"}):Mn,onFilter:ki(),fixed:ei.fixed,width:gt.width||(gt.fixed?200:void 0),children:gt.children?mn(Object(h.a)(Object(h.a)({},Ut),{},{columns:gt==null?void 0:gt.children})):void 0,render:function(ga,fa,Ja){typeof xr=="function"&&(ua=xr(fa,Ja));var In;if(Reflect.has(fa,ua)){var ve;In=fa[ua];var x=dr.get(In)||[];(ve=fa[Dr])===null||ve===void 0||ve.forEach(function(me){var Ae=me[ua];dr.has(Ae)||dr.set(Ae,x.concat([Ja,Dr]))})}var le={columnProps:gt,text:ga,rowData:fa,index:Ja,columnEmptyText:Dn,counter:an,type:Tn,subName:dr.get(In),editableUtils:Zn};return ea(le)}});return yr(Qi)}))===null||wt===void 0?void 0:wt.filter(function(gt){return!gt.hideInTable})}var It=["rowKey","tableClassName","action","tableColumn","type","pagination","rowSelection","size","defaultSize","tableStyle","toolbarDom","searchNode","style","cardProps","alertDom","name","onSortChange","onFilterChange","options","isLightFilter","className","cardBordered","editableUtils","getRowKey"],Ue=["cardBordered","request","className","params","defaultData","headerTitle","postData","ghost","pagination","actionRef","columns","toolBarRender","onLoad","onRequestError","style","cardProps","tableStyle","tableClassName","columnsStateMap","onColumnsStateChange","options","search","name","onLoadingChange","rowSelection","beforeSearchSubmit","tableAlertRender","defaultClassName","formRef","type","columnEmptyText","toolbar","rowKey","manualRequest","polling","tooltip","revalidateOnFocus"];function Ze(Ut){var wt=Ut.rowKey,Pn=Ut.tableClassName,an=Ut.action,Dn=Ut.tableColumn,Tn=Ut.type,Zn=Ut.pagination,Mr=Ut.rowSelection,xr=Ut.size,Vr=Ut.defaultSize,Dr=Ut.tableStyle,dr=Ut.toolbarDom,gt=Ut.searchNode,Rr=Ut.style,ci=Ut.cardProps,ai=Ut.alertDom,bi=Ut.name,zr=Ut.onSortChange,Hi=Ut.onFilterChange,hi=Ut.options,Ci=Ut.isLightFilter,Ii=Ut.className,Mn=Ut.cardBordered,nr=Ut.editableUtils,cr=Ut.getRowKey,Lr=Object(t.a)(Ut,It),ei=Se.useContainer(),ki=Object(l.useMemo)(function(){var le=function me(Ae){return Ae.map(function(tt){var pt=Object(X.a)(tt.key,tt.index),ke=ei.columnsMap[pt];return ke&&ke.show===!1?!1:tt.children?Object(h.a)(Object(h.a)({},tt),{},{children:me(tt.children)}):tt}).filter(Boolean)};return le(Dn)},[ei.columnsMap,Dn]),ua=Object(l.useMemo)(function(){return ki==null?void 0:ki.every(function(le){return le.filters===!0&&le.onFilter===!0||le.filters===void 0&&le.onFilter===void 0})},[ki]),Qi=function(me){var Ae=nr.newLineRecord||{},tt=Ae.options,pt=Ae.defaultValue;if(tt==null?void 0:tt.parentKey){var ke,we,Be={data:me,getRowKey:cr,row:Object(h.a)(Object(h.a)({},pt),{},{map_row_parentKey:(ke=Object(I.d)(tt==null?void 0:tt.parentKey))===null||ke===void 0?void 0:ke.toString()}),key:tt==null?void 0:tt.recordKey,childrenColumnName:((we=Ut.expandable)===null||we===void 0?void 0:we.childrenColumnName)||"children"};return Object(I.c)(Be,tt.position==="top"?"top":"update")}if((tt==null?void 0:tt.position)==="top")return[pt].concat(Object(m.a)(an.dataSource));if(Zn&&(Zn==null?void 0:Zn.current)&&(Zn==null?void 0:Zn.pageSize)){var Le=Object(m.a)(an.dataSource);return(Zn==null?void 0:Zn.pageSize)>Le.length?(Le.push(pt),Le):(Le.splice((Zn==null?void 0:Zn.current)*(Zn==null?void 0:Zn.pageSize)-1,0,pt),Le)}return[].concat(Object(m.a)(an.dataSource),[pt])},Br=function(){return Object(h.a)(Object(h.a)({},Lr),{},{size:xr,rowSelection:Mr===!1?void 0:Mr,className:Pn,style:Dr,columns:ki.map(function(me){return me.isExtraColumns?me.extraColumn:me}),loading:an.loading,dataSource:nr.newLineRecord?Qi(an.dataSource):an.dataSource,pagination:Zn,onChange:function(Ae,tt,pt,ke){var we;if((we=Lr.onChange)===null||we===void 0||we.call(Lr,Ae,tt,pt,ke),ua||Hi(Object(Y.a)(tt)),Array.isArray(pt)){var Be=pt.reduce(function(We,Ot){return Object(h.a)(Object(h.a)({},We),{},Object(v.a)({},"".concat(Ot.field),Ot.order))},{});zr(Object(Y.a)(Be))}else{var Le,J=(Le=pt.column)===null||Le===void 0?void 0:Le.sorter,Ke=(J==null?void 0:J.toString())===J;zr(Object(Y.a)(Object(v.a)({},"".concat(Ke?J:pt.field),pt.order))||{})}}})},ga=Object(w.jsx)(n.a,Object(h.a)(Object(h.a)({},Br()),{},{rowKey:wt})),fa=Ut.tableViewRender?Ut.tableViewRender(Object(h.a)(Object(h.a)({},Br()),{},{rowSelection:Mr!==!1?Mr:void 0}),ga):ga,Ja=Object(l.useMemo)(function(){if(Ut.editable&&!Ut.name){var le,me,Ae,tt;return Object(w.jsxs)(w.Fragment,{children:[dr,ai,Object(l.createElement)(k.a,Object(h.a)(Object(h.a)({},(le=Ut.editable)===null||le===void 0?void 0:le.formProps),{},{formRef:(me=Ut.editable)===null||me===void 0||(Ae=me.formProps)===null||Ae===void 0?void 0:Ae.formRef,component:!1,form:(tt=Ut.editable)===null||tt===void 0?void 0:tt.form,onValuesChange:nr.onValuesChange,key:"table",submitter:!1,omitNil:!1,dateFormatter:Ut.dateFormatter}),fa)]})}return Object(w.jsxs)(w.Fragment,{children:[dr,ai,fa]})},[ai,Ut.loading,!!Ut.editable,fa,dr]),In=ci===!1||!!Ut.name?Ja:Object(w.jsx)(S.a,Object(h.a)(Object(h.a)({ghost:Ut.ghost,bordered:Object(X.b)("table",Mn),bodyStyle:dr?{paddingTop:0}:{padding:0}},ci),{},{children:Ja})),ve=function(){return Ut.tableRender?Ut.tableRender(Ut,In,{toolbar:dr||void 0,alert:ai||void 0,table:fa||void 0}):In},x=Object(w.jsxs)("div",{className:d()(Ii,Object(v.a)({},"".concat(Ii,"-polling"),an.pollingLoading)),style:Rr,ref:ei.rootDomRef,children:[Ci?null:gt,Tn!=="form"&&Ut.tableExtraRender&&Object(w.jsx)("div",{className:"".concat(Ii,"-extra"),children:Ut.tableExtraRender(Ut,an.dataSource||[])}),Tn!=="form"&&ve()]});return!hi||!(hi==null?void 0:hi.fullScreen)?x:Object(w.jsx)(i.a,{getPopupContainer:function(){return ei.rootDomRef.current||document.body},children:x})}var Pe={},mt=function(wt){var Pn,an=wt.cardBordered,Dn=wt.request,Tn=wt.className,Zn=wt.params,Mr=Zn===void 0?Pe:Zn,xr=wt.defaultData,Vr=wt.headerTitle,Dr=wt.postData,dr=wt.ghost,gt=wt.pagination,Rr=wt.actionRef,ci=wt.columns,ai=ci===void 0?[]:ci,bi=wt.toolBarRender,zr=wt.onLoad,Hi=wt.onRequestError,hi=wt.style,Ci=wt.cardProps,Ii=wt.tableStyle,Mn=wt.tableClassName,nr=wt.columnsStateMap,cr=wt.onColumnsStateChange,Lr=wt.options,ei=wt.search,ki=wt.name,ua=wt.onLoadingChange,Qi=wt.rowSelection,Br=Qi===void 0?!1:Qi,ga=wt.beforeSearchSubmit,fa=wt.tableAlertRender,Ja=wt.defaultClassName,In=wt.formRef,ve=wt.type,x=ve===void 0?"table":ve,le=wt.columnEmptyText,me=le===void 0?"-":le,Ae=wt.toolbar,tt=wt.rowKey,pt=wt.manualRequest,ke=wt.polling,we=wt.tooltip,Be=wt.revalidateOnFocus,Le=Be===void 0?!1:Be,J=Object(t.a)(wt,Ue),Ke=d()(Ja,Tn),We=Object(l.useRef)(),Ot=Object(l.useRef)(),Vt=In||Ot;Object(l.useImperativeHandle)(Rr,function(){return We.current});var $t=Object($.a)(Br?(Br==null?void 0:Br.defaultSelectedRowKeys)||[]:void 0,{value:Br?Br.selectedRowKeys:void 0}),Gt=Object(f.a)($t,2),hn=Gt[0],$n=Gt[1],Sr=Object(l.useRef)([]),vr=Object(l.useCallback)(function(ra,ya){$n(ra),(!Br||!(Br==null?void 0:Br.selectedRowKeys))&&(Sr.current=ya)},[$n]),zn=Object($.a)(function(){if(!(pt||ei!==!1))return{}}),Tr=Object(f.a)(zn,2),Qr=Tr[0],Qe=Tr[1],Jt=Object($.a)({}),ln=Object(f.a)(Jt,2),rn=ln[0],An=ln[1],fr=Object($.a)({}),Pr=Object(f.a)(fr,2),kr=Pr[0],Ar=Pr[1];Object(l.useEffect)(function(){var ra=Object(X.e)(ai),ya=ra.sort,Ra=ra.filter;An(Ra),Ar(ya)},[]);var vi=Object(T.d)(),Wi=Object(r.a)(gt)==="object"?gt:{defaultCurrent:1,defaultPageSize:20,pageSize:20,current:1},di=Se.useContainer(),ri=Object(l.useMemo)(function(){if(!!Dn)return function(){var ra=Object(c.a)(Object(u.a)().mark(function ya(Ra){var Fa,Ca;return Object(u.a)().wrap(function(No){for(;;)switch(No.prev=No.next){case 0:return Fa=Object(h.a)(Object(h.a)(Object(h.a)({},Ra||{}),Qr),Mr),delete Fa._timestamp,No.next=4,Dn(Fa,kr,rn);case 4:return Ca=No.sent,No.abrupt("return",Ca);case 6:case"end":return No.stop()}},ya)}));return function(ya){return ra.apply(this,arguments)}}()},[Qr,Mr,rn,kr,Dn]),yi=rr(ri,xr,{pageInfo:gt===!1?!1:Wi,loading:wt.loading,dataSource:wt.dataSource,onDataSourceChange:wt.onDataSourceChange,onLoad:zr,onLoadingChange:ua,onRequestError:Hi,postData:Dr,revalidateOnFocus:Le,manual:Qr===void 0,polling:ke,effects:[Object(O.a)(Mr),Object(O.a)(Qr),Object(O.a)(rn),Object(O.a)(kr)],debounceTime:wt.debounceTime,onPageInfoChange:function(ya){var Ra,Fa;x==="list"||!gt||!ri||(gt==null||(Ra=gt.onChange)===null||Ra===void 0||Ra.call(gt,ya.current,ya.pageSize),gt==null||(Fa=gt.onShowSizeChange)===null||Fa===void 0||Fa.call(gt,ya.current,ya.pageSize))}});Object(l.useEffect)(function(){var ra;if(!(wt.manualRequest||!wt.request||!Le||((ra=wt.form)===null||ra===void 0?void 0:ra.ignoreRules))){var ya=function(){document.visibilityState==="visible"&&yi.reload()};return document.addEventListener("visibilitychange",ya),function(){return document.removeEventListener("visibilitychange",ya)}}},[]);var Si=p.a.useRef(new Map),zi=p.a.useMemo(function(){return typeof tt=="function"?tt:function(ra,ya){var Ra;return ya===-1?ra==null?void 0:ra[tt]:wt.name?ya==null?void 0:ya.toString():(Ra=ra==null?void 0:ra[tt])!==null&&Ra!==void 0?Ra:ya==null?void 0:ya.toString()}},[wt.name,tt]);Object(l.useMemo)(function(){var ra;if((ra=yi.dataSource)===null||ra===void 0?void 0:ra.length){var ya=new Map,Ra=yi.dataSource.map(function(Fa){var Ca=zi(Fa,-1);return ya.set(Ca,Fa),Ca});return Si.current=ya,Ra}return[]},[yi.dataSource,zi]),Object(l.useEffect)(function(){Sr.current=hn==null?void 0:hn.map(function(ra){var ya;return(ya=Si.current)===null||ya===void 0?void 0:ya.get(ra)})},[hn]);var si=Object(l.useMemo)(function(){var ra=gt===!1?!1:Object(h.a)({},gt),ya=Object(h.a)(Object(h.a)({},yi.pageInfo),{},{setPageInfo:function(Fa){var Ca=Fa.pageSize,no=Fa.current,No=yi.pageInfo;if(Ca===No.pageSize||No.current===1){yi.setPageInfo({pageSize:Ca,current:no});return}Dn&&yi.setDataSource([]),yi.setPageInfo({pageSize:Ca,current:x==="list"?no:1})}});return Dn&&ra&&(delete ra.onChange,delete ra.onShowSizeChange),Object(X.d)(ra,ya,vi)},[gt,yi,vi]);Object(A.a)(function(){var ra;wt.request&&Mr&&yi.dataSource&&(yi==null||(ra=yi.pageInfo)===null||ra===void 0?void 0:ra.current)!==1&&yi.setPageInfo({current:1})},[Mr]),di.setPrefixName(wt.name);var ii=Object(l.useCallback)(function(){Br&&Br.onChange&&Br.onChange([],[],{type:"none"}),vr([],[])},[Br,vr]);di.setAction(We.current),di.propsRef.current=wt;var Yi=Object(I.a)(Object(h.a)(Object(h.a)({},wt.editable),{},{tableName:wt.name,getRowKey:zi,childrenColumnName:((Pn=wt.expandable)===null||Pn===void 0?void 0:Pn.childrenColumnName)||"children",dataSource:yi.dataSource||[],setDataSource:function(ya){var Ra,Fa;(Ra=wt.editable)===null||Ra===void 0||(Fa=Ra.onValuesChange)===null||Fa===void 0||Fa.call(Ra,void 0,ya),yi.setDataSource(ya)}}));Object(X.g)(We,yi,{fullScreen:function(){var ya;if(!(!((ya=di.rootDomRef)===null||ya===void 0?void 0:ya.current)||!document.fullscreenEnabled))if(document.fullscreenElement)document.exitFullscreen();else{var Ra;(Ra=di.rootDomRef)===null||Ra===void 0||Ra.current.requestFullscreen()}},onCleanSelected:function(){ii()},resetAll:function(){var ya;ii(),An({}),Ar({}),di.setKeyWords(void 0),yi.setPageInfo({current:1}),Vt==null||(ya=Vt.current)===null||ya===void 0||ya.resetFields(),Qe({})},editableUtils:Yi}),Rr&&(Rr.current=We.current);var La=Object(l.useMemo)(function(){var ra;return mn({columns:ai,counter:di,columnEmptyText:me,type:x,editableUtils:Yi,rowKey:tt,childrenColumnName:(ra=wt.expandable)===null||ra===void 0?void 0:ra.childrenColumnName}).sort(Rn(di.columnsMap))},[ai,di==null?void 0:di.sortKeyColumns,di==null?void 0:di.columnsMap,me,x,Yi.editableKeys&&Yi.editableKeys.join(",")]);Object(A.b)(function(){if(La&&La.length>0){var ra=La.map(function(ya){return Object(X.a)(ya.key,ya.index)});di.setSortKeyColumns(ra)}},[La],["render","renderFormItem"],100),Object(A.a)(function(){var ra=yi.pageInfo,ya=gt||{},Ra=ya.current,Fa=Ra===void 0?ra==null?void 0:ra.current:Ra,Ca=ya.pageSize,no=Ca===void 0?ra==null?void 0:ra.pageSize:Ca;gt&&(Fa||no)&&(no!==(ra==null?void 0:ra.pageSize)||Fa!==(ra==null?void 0:ra.current))&&yi.setPageInfo({pageSize:no||ra.pageSize,current:Fa||ra.current})},[gt&>.pageSize,gt&>.current]);var Wa=Object(h.a)(Object(h.a)({selectedRowKeys:hn},Br),{},{onChange:function(ya,Ra,Fa){Br&&Br.onChange&&Br.onChange(ya,Ra,Fa),vr(ya,Ra)}}),Ri=ei!==!1&&(ei==null?void 0:ei.filterType)==="light",Oa=function(ya){if(Lr&&Lr.search){var Ra,Fa,Ca=Lr.search===!0?{}:Lr.search,no=Ca.name,No=no===void 0?"keyword":no,es=(Ra=Lr.search)===null||Ra===void 0||(Fa=Ra.onSearch)===null||Fa===void 0?void 0:Fa.call(Ra,di.keyWords);if(es!==!1){Qe(Object(h.a)(Object(h.a)({},ya),{},Object(v.a)({},No,di.keyWords)));return}}Qe(ya)},Ha=Object(l.useMemo)(function(){if(Object(r.a)(yi.loading)==="object"){var ra;return((ra=yi.loading)===null||ra===void 0?void 0:ra.spinning)||!1}return yi.loading},[yi.loading]),Za=ei===!1&&x!=="form"?null:Object(w.jsx)(he.a,{pagination:si,beforeSearchSubmit:ga,action:We,columns:ai,onFormSearchSubmit:function(ya){Oa(ya)},ghost:dr,onReset:wt.onReset,onSubmit:wt.onSubmit,loading:!!Ha,manualRequest:pt,search:ei,form:wt.form,formRef:Vt,type:wt.type||"table",cardBordered:wt.cardBordered,dateFormatter:wt.dateFormatter}),co=bi===!1?null:Object(w.jsx)(pn,{headerTitle:Vr,hideToolbar:Lr===!1&&!Vr&&!bi&&!Ae&&!Ri,selectedRows:Sr.current,selectedRowKeys:hn,tableColumn:La,tooltip:we,toolbar:Ae,onFormSearchSubmit:function(ya){Qe(Object(h.a)(Object(h.a)({},Qr),ya))},searchNode:Ri?Za:null,options:Lr,actionRef:We,toolBarRender:bi}),Do=Br!==!1?Object(w.jsx)(oe,{selectedRowKeys:hn,selectedRows:Sr.current,onCleanSelected:ii,alertOptionRender:J.tableAlertOptionRender,alertInfoRender:fa,alwaysShowAlert:Br==null?void 0:Br.alwaysShowAlert}):null;return Object(w.jsx)(Ze,Object(h.a)(Object(h.a)({},wt),{},{name:ki,size:di.tableSize,onSizeChange:di.setTableSize,pagination:si,searchNode:Za,rowSelection:Br!==!1?Wa:void 0,className:Ke,tableColumn:La,isLightFilter:Ri,action:yi,alertDom:Do,toolbarDom:co,onSortChange:Ar,onFilterChange:An,editableUtils:Yi,getRowKey:zi}))},xt=function(wt){var Pn=Object(l.useContext)(i.a.ConfigContext),an=Pn.getPrefixCls,Dn=wt.ErrorBoundary===!1?p.a.Fragment:wt.ErrorBoundary||g.a;return Object(w.jsx)(Se.Provider,{initialState:wt,children:Object(w.jsx)(T.a,{children:Object(w.jsx)(Dn,{children:Object(w.jsx)(mt,Object(h.a)({defaultClassName:an("pro-table")},wt))})})})};xt.Summary=n.a.Summary;var cn=M.a=xt},mc0g:function(Ie,M){function e(u){return function(c,r,f){for(var o=-1,i=Object(c),a=f(c),n=a.length;n--;){var v=a[u?n:++o];if(r(i[v],v,i)===!1)break}return c}}Ie.exports=e},mdPL:function(Ie,M,e){(function(u){var c=e("WFqU"),r=M&&!M.nodeType&&M,f=r&&typeof u=="object"&&u&&!u.nodeType&&u,o=f&&f.exports===r,i=o&&c.process,a=function(){try{var n=f&&f.require&&f.require("util").types;return n||i&&i.binding&&i.binding("util")}catch(v){}}();u.exports=a}).call(this,e("hOG+")(Ie))},mq2a:function(Ie,M,e){"use strict";e.d(M,"a",function(){return Bt});var u=e("qLMh"),c=e("q1tI"),r=e.n(c),f=e("LvDl"),o=e.n(f),i=e("NOtv"),a=e.n(i),n=e("cbs0"),v=e.n(n),m=e("17x9"),h=e.n(m),t=e("EVdn"),l=e.n(t),p=e("i8i4"),w=e.n(p),S=e("FQ6V"),k=e.n(S);function T(qe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(ut){return typeof ut}:T=function(ut){return ut&&typeof Symbol=="function"&&ut.constructor===Symbol&&ut!==Symbol.prototype?"symbol":typeof ut},T(qe)}function I(qe,st,ut,nt,kt,Sn,Tt){try{var ht=qe[Sn](Tt),Rt=ht.value}catch(Ft){ut(Ft);return}ht.done?st(Rt):Promise.resolve(Rt).then(nt,kt)}function Y(qe){return function(){var st=this,ut=arguments;return new Promise(function(nt,kt){var Sn=qe.apply(st,ut);function Tt(Rt){I(Sn,nt,kt,Tt,ht,"next",Rt)}function ht(Rt){I(Sn,nt,kt,Tt,ht,"throw",Rt)}Tt(void 0)})}}function $(qe,st){if(!(qe instanceof st))throw new TypeError("Cannot call a class as a function")}function A(qe,st){for(var ut=0;ut<st.length;ut++){var nt=st[ut];nt.enumerable=nt.enumerable||!1,nt.configurable=!0,"value"in nt&&(nt.writable=!0),Object.defineProperty(qe,nt.key,nt)}}function g(qe,st,ut){return st&&A(qe.prototype,st),ut&&A(qe,ut),qe}function b(qe,st,ut){return st in qe?Object.defineProperty(qe,st,{value:ut,enumerable:!0,configurable:!0,writable:!0}):qe[st]=ut,qe}function d(){return d=Object.assign||function(qe){for(var st=1;st<arguments.length;st++){var ut=arguments[st];for(var nt in ut)Object.prototype.hasOwnProperty.call(ut,nt)&&(qe[nt]=ut[nt])}return qe},d.apply(this,arguments)}function O(qe,st){var ut=Object.keys(qe);if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(qe);st&&(nt=nt.filter(function(kt){return Object.getOwnPropertyDescriptor(qe,kt).enumerable})),ut.push.apply(ut,nt)}return ut}function E(qe){for(var st=1;st<arguments.length;st++){var ut=arguments[st]!=null?arguments[st]:{};st%2?O(Object(ut),!0).forEach(function(nt){b(qe,nt,ut[nt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(ut)):O(Object(ut)).forEach(function(nt){Object.defineProperty(qe,nt,Object.getOwnPropertyDescriptor(ut,nt))})}return qe}function D(qe,st){if(typeof st!="function"&&st!==null)throw new TypeError("Super expression must either be null or a function");qe.prototype=Object.create(st&&st.prototype,{constructor:{value:qe,writable:!0,configurable:!0}}),st&&te(qe,st)}function W(qe){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(ut){return ut.__proto__||Object.getPrototypeOf(ut)},W(qe)}function te(qe,st){return te=Object.setPrototypeOf||function(nt,kt){return nt.__proto__=kt,nt},te(qe,st)}function re(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(qe){return!1}}function ye(qe,st){if(qe==null)return{};var ut={},nt=Object.keys(qe),kt,Sn;for(Sn=0;Sn<nt.length;Sn++)kt=nt[Sn],!(st.indexOf(kt)>=0)&&(ut[kt]=qe[kt]);return ut}function q(qe,st){if(qe==null)return{};var ut=ye(qe,st),nt,kt;if(Object.getOwnPropertySymbols){var Sn=Object.getOwnPropertySymbols(qe);for(kt=0;kt<Sn.length;kt++)nt=Sn[kt],!(st.indexOf(nt)>=0)&&(!Object.prototype.propertyIsEnumerable.call(qe,nt)||(ut[nt]=qe[nt]))}return ut}function oe(qe){if(qe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return qe}function he(qe,st){return st&&(typeof st=="object"||typeof st=="function")?st:oe(qe)}function ue(qe){var st=re();return function(){var nt=W(qe),kt;if(st){var Sn=W(this).constructor;kt=Reflect.construct(nt,arguments,Sn)}else kt=nt.apply(this,arguments);return he(this,kt)}}function ne(qe,st){if(!!qe){if(typeof qe=="string")return se(qe,st);var ut=Object.prototype.toString.call(qe).slice(8,-1);if(ut==="Object"&&qe.constructor&&(ut=qe.constructor.name),ut==="Map"||ut==="Set")return Array.from(qe);if(ut==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ut))return se(qe,st)}}function se(qe,st){(st==null||st>qe.length)&&(st=qe.length);for(var ut=0,nt=new Array(st);ut<st;ut++)nt[ut]=qe[ut];return nt}function be(qe,st){var ut;if(typeof Symbol=="undefined"||qe[Symbol.iterator]==null){if(Array.isArray(qe)||(ut=ne(qe))||st&&qe&&typeof qe.length=="number"){ut&&(qe=ut);var nt=0,kt=function(){};return{s:kt,n:function(){return nt>=qe.length?{done:!0}:{done:!1,value:qe[nt++]}},e:function(Ft){throw Ft},f:kt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Sn=!0,Tt=!1,ht;return{s:function(){ut=qe[Symbol.iterator]()},n:function(){var Ft=ut.next();return Sn=Ft.done,Ft},e:function(Ft){Tt=!0,ht=Ft},f:function(){try{!Sn&&ut.return!=null&&ut.return()}finally{if(Tt)throw ht}}}}var Z={nodes:h.a.arrayOf(h.a.shape({id:h.a.string.isRequired,render:h.a.func,left:h.a.number,top:h.a.number,draggable:h.a.boolean})),edges:h.a.arrayOf(h.a.shape({id:h.a.string.isRequired,labelRender:h.a.func,className:h.a.string})),groups:h.a.array,options:h.a.shape({layout:h.a.oneOfType([h.a.func,h.a.string,h.a.object]),zoomable:h.a.bool,moveable:h.a.bool,draggable:h.a.bool,linkable:h.a.bool,disLinkable:h.a.bool,theme:h.a.object,global:h.a.object}),onEdgesChange:h.a.func,onCreateEdge:h.a.func,onDeleteEdge:h.a.func,className:h.a.string,onLoaded:h.a.func,onEachFrame:h.a.func},ee=function(st){return Array.isArray(st)?st:[st]},ce=function(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"id";st=ee(st),ut=ee(ut);var kt=[],Sn=[],Tt=[],ht=be(st),Rt;try{for(ht.s();!(Rt=ht.n()).done;){var Ft=Rt.value;ut.map(function(un){return un[nt]}).includes(Ft[nt])?Tt.push(Ft):kt.push(Ft)}}catch(un){ht.e(un)}finally{ht.f()}var nn=be(ut),bn;try{for(nn.s();!(bn=nn.n()).done;){var sn=bn.value;st.map(function(un){return un[nt]}).includes(sn[nt])||Sn.push(sn)}}catch(un){nn.e(un)}finally{nn.f()}return{created:kt,deleted:Sn,updated:Tt}},R=function(st){!st||(st.recalc=function(){this.nodes.forEach(function(ut){ut.endpoints.forEach(function(nt){!o.a.isFunction(nt.updatePos)||nt.updatePos()})}),this.edges.forEach(function(ut){!o.a.isFunction(ut.redraw)||ut.redraw()}),this.groups.forEach(function(ut){!o.a.isFunction(ut.redraw)||ut.redraw()})},st.recalc())},y=Object(c.createContext)({gather:function(){return null}});function C(qe){var st=qe.id,ut=qe.nodeId,nt=q(qe,["id","nodeId"]),kt=Object(c.useContext)(y),Sn=kt.gather;return Object(c.useEffect)(function(){Sn&&Sn(E({id:st,nodeId:ut},nt))}),r.a.createElement("span",{id:st},qe.children)}C.propTypes={id:h.a.string,nodeId:h.a.string,children:h.a.any};var z=function(st,ut){return{left:st+"px",top:ut+"px",position:"absolute"}},G=function(qe){D(ut,qe);var st=ue(ut);function ut(){return $(this,ut),st.apply(this,arguments)}return g(ut,[{key:"draw",value:function(kt){var Sn=document.createElement("div"),Tt=z(kt.left,kt.top);return Object.keys(Tt).forEach(function(ht){Sn.style[ht]=Tt[ht]}),Sn.className="butterfly-node",Sn.id="bf_node_"+kt.id,Sn}},{key:"_addEventListener",value:function(){var kt=this;l()(this.dom).on("mousedown",function(Sn){var Tt=0;Sn.button===Tt&&(kt.draggable?(kt._isMoving=!0,kt.emit("InnerEvents",{type:"node:dragBegin",data:kt})):kt.emit("InnerEvents",{type:"node:mouseDown",data:kt}))})}}]),ut}(n.Node),X=function(qe){D(ut,qe);var st=ue(ut);function ut(nt){var kt;$(this,ut),kt=st.call(this,nt);var Sn=o.a.get(nt,"options.calcPath");return Sn&&o.a.isFunction(Sn)&&(kt.calcPath=Sn),kt}return g(ut,[{key:"drawLabel",value:function(){var kt=document.createElement("div");return this.id||(this.id=String(Number(new Date))),kt.id="edge_label_".concat(this.id),kt.className="butterflies-label",kt}}]),ut}(n.Edge),pe=function(st,ut){return{left:st+"px",top:ut+"px",position:"absolute"}},ae=function(qe){D(ut,qe);var st=ue(ut);function ut(){return $(this,ut),st.apply(this,arguments)}return g(ut,[{key:"draw",value:function(kt){var Sn=document.createElement("div"),Tt=pe(kt.left,kt.top);return Object.keys(Tt).forEach(function(ht){Sn.style[ht]=Tt[ht]}),Sn.className="butterfly-group",Sn.id="bf_group_".concat(kt.id),Sn.className="butterflies-group",Sn}},{key:"_addEventListener",value:function(){var kt=this;l()(this.dom).on("mousedown",function(Sn){var Tt=0;Sn.button===Tt&&(kt.draggable?(kt._isMoving=!0,kt.emit("InnerEvents",{type:"group:dragBegin",data:kt})):kt.emit("InnerEvents",{type:"group:mouseDown",data:kt}))})}}]),ut}(n.Group),Se=function(st){var ut=st.nodes,nt=ut===void 0?[]:ut,kt=st.edges,Sn=kt===void 0?[]:kt,Tt=st.groups,ht=Tt===void 0?[]:Tt;return{nodes:nt.map(function(Rt){return E(E({},Rt),{},{Class:G})}),edges:Sn.map(function(Rt){var Ft=document.createElement("div");return Ft.id=Rt.id,E(E({},Rt),{},{type:"endpoint",Class:X})}),groups:ht.map(function(Rt){return E(E({},Rt),{},{Class:ae})})}},Te=function(st){!st||(st.relayout=function(){st._autoLayout(st),this.nodes.forEach(function(ut){ut.moveTo(ut.left,ut.top)}),st.recalc&&st.recalc()},st.relayout())},je=function(st,ut){if(!ut.render)return null;if(typeof st!="function")throw Error("".concat(ut,"\u5B58\u5728render\u5C5E\u6027\uFF0C\u5E94\u8BE5\u4E3Afunction\u7C7B\u578B\uFF0C\u73B0\u5728\u662F").concat(T(st)))},ft=a()("butterflf-react"),fe=function(){return null},ie=function(st){var ut=st.nodes,nt=st.idPrefix,kt=st.canvas,Sn=st.onRenderFinish,Tt=Sn===void 0?fe:Sn,ht=[];if(!Array.isArray(ut))return null;Object(c.useEffect)(function(){if(!!kt){var Ft=function(bn){var sn=ut.find(function(un){return un.id===bn});return!!(sn!=null&&sn.endpoints)};ht.forEach(function(nn){var bn=nn.nodeId,sn=nn.endpointId;if(!Ft(bn)&&!(!kt||!bn)){var un=kt.getNode(bn);!un||(ft("add endpoint ".concat(sn," to ").concat(un.id," successfully")),!un.endpoints.some(function(Ht){return Ht.id===sn})&&un.addEndpoint(E(E({},nn),{},{id:sn,dom:document.getElementById(sn)})))}}),kt.nodes.forEach(function(nn){var bn=nn.id;if(!Ft(bn)){var sn=ht.filter(function(un){return un.nodeId===bn});nn.endpoints.forEach(function(un){var Ht=sn.map(function(jn){return jn.endpointId});Ht.includes(un.id)||(ft("remove endpoint ".concat(un.id," from ").concat(nn.id," successfully")),nn.removeEndpoint(un.id))})}}),kt.nodes.forEach(function(nn){Ft(nn.id)||nn.endpoints.forEach(function(bn){var sn=document.getElementById(bn.id);sn||nn.removeEndpoint(bn.id),bn.dom=sn})}),Tt()}});var Rt=ut.map(function(Ft){var nn=Ft.id;if(!nn)return console.warn("node ".concat(nn," \u4E0D\u542B\u6709ID\u5C5E\u6027\uFF0C\u8BF7\u68C0\u67E5\u683C\u5F0F")),null;var bn=document.getElementById(nt+Ft.id);if(!bn)return null;je(Ft.render,"node");var sn=!!Ft.render,un=sn?Ft.render():r.a.createElement(G,d({key:nn},Ft));return w.a.createPortal(un,bn)});return r.a.createElement(y.Provider,{value:{gather:function(nn){var bn=nn.id,sn=nn.nodeId,un=q(nn,["id","nodeId"]);ht.push(E({endpointId:bn,nodeId:sn},un))}}},Rt)};ie.propTypes={canvas:h.a.object,nodes:h.a.array,idPrefix:h.a.string,onRenderFinish:h.a.func};var ge=function(){return null},Ve=function(st){return r.a.createElement("div",{className:"react-bf-group"},r.a.createElement("div",{className:"react-bf-group-header"},st.id),r.a.createElement("div",{className:"react-bf-group-content"}))};Ve.propTypes={id:h.a.string};var Ee=function(st){var ut=st.data,nt=st.type,kt=st.renderKey,Sn=st.idPrefix;return Array.isArray(ut)?ut.map(function(Tt){var ht=Tt.id;if(!ht)return console.warn("".concat(nt," ").concat(ht," \u4E0D\u542B\u6709ID\u5C5E\u6027\uFF0C\u8BF7\u68C0\u67E5\u683C\u5F0F")),null;var Rt=document.getElementById(Sn+Tt.id);if(!Rt)return null;je(Tt.render,nt);var Ft=!!Tt[kt],nn=nt==="group"?Ve:ge;return w.a.createPortal(Ft?Tt[kt]():r.a.createElement(nn,d({key:ht},Tt)),Rt)}):null};Ee.propTypes={data:h.a.array,type:h.a.string,renderKey:h.a.string,idPrefix:h.a.string},Ee.defaultProps={renderKey:"render"};var Me={zoomable:!0,moveable:!0,draggable:!0,linkable:!0,disLinkable:!0,theme:{edge:{arrow:!0,Class:X}}};function _e(qe,st){st===void 0&&(st={});var ut=st.insertAt;if(!(!qe||typeof document=="undefined")){var nt=document.head||document.getElementsByTagName("head")[0],kt=document.createElement("style");kt.type="text/css",ut==="top"&&nt.firstChild?nt.insertBefore(kt,nt.firstChild):nt.appendChild(kt),kt.styleSheet?kt.styleSheet.cssText=qe:kt.appendChild(document.createTextNode(qe))}}var Re=`.butterfly-react {
- min-height: 500px;
- min-width: 500px;
- width: 100%;
- height: 100%;
- display: block;
- position: relative;
- }
- .butterfly-react .butterfly-react-container {
- height: 100%;
- width: 100%;
- position: absolute;
- display: block;
- }
- .butterfly-react .butterfly-node {
- position: absolute;
- user-select: none;
- }
- .butterfly-react .react-bf-group {
- border-radius: 5px;
- min-width: 250px;
- border: 1px solid #aaa;
- }
- .butterfly-react .react-bf-group .react-bf-group-header {
- height: 30px;
- background-color: #aaa;
- text-align: center;
- line-height: 30px;
- }
- .butterfly-react .react-bf-group .react-bf-group-content {
- min-height: 120px;
- }
- `;_e(Re);var et=a()("butterfly-react"),Xe=function(){return null};window._=o.a;var it="butterflies-link",bt=function(st){return!st||typeof st!="function"?Xe:st},Ct=function(qe){D(ut,qe);var st=ue(ut);function ut(nt){var kt;return $(this,ut),kt=st.call(this,nt),kt.savePropsHash(),kt.canvas=null,kt.dom=null,kt}return g(ut,[{key:"savePropsHash",value:function(){this.phash=this.getPropsHash(this.props)}},{key:"getPropsHash",value:function(kt){var Sn=kt.nodes,Tt=Sn===void 0?[]:Sn,ht=kt.edges,Rt=ht===void 0?[]:ht,Ft=kt.groups,nn=Ft===void 0?[]:Ft;return{nodeIds:Tt.map(function(bn){return bn.id}).join(","),nodeLength:Tt.length,edgeIds:Rt.map(function(bn){return bn.id}).join(","),edgeLength:Rt.length,groupIds:nn.map(function(bn){return bn.id}).join(","),groupLength:nn.length}}},{key:"_fourceUpdate",value:function(){var nt=Y(Object(u.a)().mark(function Sn(){var Tt=this;return Object(u.a)().wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:return Rt.abrupt("return",new Promise(function(Ft){Tt.forceUpdate(Ft)}));case 1:case"end":return Rt.stop()}},Sn)}));function kt(){return nt.apply(this,arguments)}return kt}()},{key:"_setState",value:function(){var nt=Y(Object(u.a)().mark(function Sn(Tt){var ht=this;return Object(u.a)().wrap(function(Ft){for(;;)switch(Ft.prev=Ft.next){case 0:return Ft.abrupt("return",new Promise(function(nn){ht.setState(Tt,nn)}));case 1:case"end":return Ft.stop()}},Sn)}));function kt(Sn){return nt.apply(this,arguments)}return kt}()},{key:"componentDidMount",value:function(){var nt=Y(Object(u.a)().mark(function Sn(){var Tt,ht,Rt,Ft,nn,bn,sn,un,Ht;return Object(u.a)().wrap(function(Ln){for(;;)switch(Ln.prev=Ln.next){case 0:if(Tt=this.dom,ht=this.props,Rt=ht.options,Ft=ht.nodes,nn=ht.edges,bn=ht.groups,Tt){Ln.next=5;break}return console.warn("\u5F53\u524Dcanvas\u6CA1\u6709\u7ED1\u5B9Adom\u8282\u70B9\uFF0C\u65E0\u6CD5\u6E32\u67D3"),Ln.abrupt("return");case 5:return sn=E(E(E({},Me),Rt),{},{root:Tt}),un=this.canvas=new n.Canvas(sn),R(this.canvas),Te(this.canvas),Ht=Se({nodes:Ft,edges:nn,groups:bn}),Ln.next=12,new Promise(function(Un,lt){try{un.draw({nodes:Ht.nodes,groups:Ht.groups},function(){Un()})}catch(Nt){lt(Nt)}});case 12:return Ln.next=14,this._fourceUpdate();case 14:bt(this.props.onLoaded)(this.canvas);case 15:case"end":return Ln.stop()}},Sn,this)}));function kt(){return nt.apply(this,arguments)}return kt}()},{key:"alignEdgesCls",value:function(){var kt=this.canvas,Sn=this.props.edges;kt.edges.forEach(function(Tt){var ht=Sn.find(function(nn){return nn.id===Tt.id}),Rt=function(){if(!(!Tt.dom||!ht)){var bn=[it];ht.className&&bn.push(ht.className),Tt.dom.setAttribute("class",bn.join(" "))}},Ft=function(){!Tt.arrowDom||!ht||!ht.arrowClassName||Tt.arrowDom.setAttribute("class",ht.arrowClassName)};Rt(),Ft()})}},{key:"shouldComponentUpdate",value:function(){return et("align edge class"),this.alignEdgesCls(),!0}},{key:"onLinkEvent",value:function(){var kt=this.canvas,Sn=this.props,Tt=Sn.onCreateEdge,ht=Sn.onEdgesChange,Rt=Sn.onDeleteEdge;kt.on("system.link.connect",function(Ft){var nn=Ft.links,bn=nn[0];if(!!bn){var sn=bn.sourceNode,un=bn.sourceEndpoint,Ht=bn.targetNode,jn=bn.targetEndpoint,Ln=sn.id,Un=un.id,lt=Ht.id,Nt=jn.id;bt(Tt)({sourceNodeId:Ln,sourceEndpointId:Un,targetNodeId:lt,targetEndpointId:Nt}),bt(ht)(kt.edges)}}),kt.on("system.link.delete",function(Ft){var nn=Ft.links,bn=nn[0],sn=bn.sourceNode,un=bn.sourceEndpoint,Ht=bn.targetNode,jn=bn.targetEndpoint,Ln=sn.id,Un=un.id,lt=Ht.id,Nt=jn.id;bt(Rt)({sourceNodeId:Ln,sourceEndpointId:Un,targetNodeId:lt,targetEndpointId:Nt}),bt(ht)(kt.edges)})}},{key:"componentDidUpdate",value:function(){var nt=Y(Object(u.a)().mark(function Sn(Tt){var ht,Rt,Ft,nn,bn,sn,un;return Object(u.a)().wrap(function(jn){for(;;)switch(jn.prev=jn.next){case 0:if(this.canvas){jn.next=2;break}return jn.abrupt("return");case 2:if(un=this.props.nodes!==Tt.nodes||this.props.edges!==Tt.edges||this.props.groups!==Tt.groups||((ht=this.props.nodes)===null||ht===void 0?void 0:ht.length)!==((Rt=Tt.nodes)===null||Rt===void 0?void 0:Rt.length)||((Ft=this.props.edges)===null||Ft===void 0?void 0:Ft.length)!==((nn=Tt.edges)===null||nn===void 0?void 0:nn.length)||((bn=this.props.groups)===null||bn===void 0?void 0:bn.length)!==((sn=Tt.groups)===null||sn===void 0?void 0:sn.length),!un){jn.next=8;break}return et("has sth change, align data"),jn.next=7,this.alignCanvasData();case 7:this.updateFlag=!0;case 8:case"end":return jn.stop()}},Sn,this)}));function kt(Sn){return nt.apply(this,arguments)}return kt}()},{key:"alignCanvasData",value:function(){var nt=Y(Object(u.a)().mark(function Sn(){var Tt,ht,Rt,Ft,nn,bn,sn,un;return Object(u.a)().wrap(function(jn){for(;;)switch(jn.prev=jn.next){case 0:if(Tt=this.canvas,Tt){jn.next=4;break}return jn.abrupt("return");case 4:return ht=this.props,Rt=ht.nodes,ht.edges,Ft=ht.groups,ht.onEachFrame,nn=Tt.nodes,Tt.edges,bn=Tt.groups,sn=function(){var Un=ce(Rt,nn),lt=Un.created,Nt=Un.deleted;Tt.addNodes(Se({nodes:lt}).nodes),Tt.removeNodes(Se({nodes:Nt}).nodes)},un=function(){var Un=ce(Ft,bn),lt=Un.created,Nt=Un.deleted;Se({groups:lt}).groups.forEach(function(zt){Tt.addGroup(zt)}),Se({groups:Nt}).groups.forEach(function(zt){Tt.removeGroup(zt.id)})},un(),sn(),jn.next=15,this.forceUpdate();case 15:this.alignEdgesCls();case 16:case"end":return jn.stop()}},Sn,this)}));function kt(){return nt.apply(this,arguments)}return kt}()},{key:"alignEdge",value:function(){var kt=this.canvas;if(!!kt){var Sn=this.props.edges,Tt=kt.edges,ht=function(){var Ft=ce(Sn,Tt),nn=Ft.created,bn=Ft.deleted;kt.addEdges(Se({edges:nn}).edges,!0),kt.removeEdges(Se({edges:bn}).edges.map(function(sn){return sn.id}))};ht(),this.alignEdgesCls(),this.updateFlag&&(bt(this.props.onEachFrame)(),this.updateFlag=!1)}}},{key:"render",value:function(){var kt=this,Sn=this.props,Tt=Sn.className,ht=Sn.groups,Rt=Sn.nodes,Ft=Sn.edges;return r.a.createElement("div",{className:"".concat(Tt||""," butterfly-react")},this.canvas&&r.a.createElement(r.a.Fragment,null,r.a.createElement(ie,{nodes:Rt,idPrefix:"bf_node_",canvas:this.canvas,onRenderFinish:function(){et("node has rended finish, render edges"),kt.canvas.recalc(),kt.alignEdge()}}),r.a.createElement(Ee,{data:Ft,renderKey:"labelRender",idPrefix:"edge_label_",type:"edge"}),r.a.createElement(Ee,{data:ht,type:"group",idPrefix:"bf_group_"})),r.a.createElement("div",{className:"butterfly-react-container",ref:function(bn){return kt.dom=bn}}))}}]),ut}(r.a.Component);Ct.propTypes=Z;var Bt=C;M.b=Ct},mr32:function(Ie,M,e){"use strict";var u=e("rePB"),c=e("wx14"),r=e("ODXe"),f=e("4i/N"),o=e("TSYQ"),i=e.n(o),a=e("bT9E"),n=e("q1tI"),v=e("H84U"),m=e("09Wf"),h=e("g0mS"),t=function($,A){var g={};for(var b in $)Object.prototype.hasOwnProperty.call($,b)&&A.indexOf(b)<0&&(g[b]=$[b]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,b=Object.getOwnPropertySymbols($);d<b.length;d++)A.indexOf(b[d])<0&&Object.prototype.propertyIsEnumerable.call($,b[d])&&(g[b[d]]=$[b[d]]);return g},l=function(A){var g,b=A.prefixCls,d=A.className,O=A.checked,E=A.onChange,D=A.onClick,W=t(A,["prefixCls","className","checked","onChange","onClick"]),te=n.useContext(v.b),re=te.getPrefixCls,ye=function(ue){E==null||E(!O),D==null||D(ue)},q=re("tag",b),oe=i()(q,(g={},Object(u.a)(g,"".concat(q,"-checkable"),!0),Object(u.a)(g,"".concat(q,"-checkable-checked"),O),g),d);return n.createElement("span",Object(c.a)({},W,{className:oe,onClick:ye}))},p=l,w=function($,A){var g={};for(var b in $)Object.prototype.hasOwnProperty.call($,b)&&A.indexOf(b)<0&&(g[b]=$[b]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,b=Object.getOwnPropertySymbols($);d<b.length;d++)A.indexOf(b[d])<0&&Object.prototype.propertyIsEnumerable.call($,b[d])&&(g[b[d]]=$[b[d]]);return g},S=new RegExp("^(".concat(m.a.join("|"),")(-inverse)?$")),k=new RegExp("^(".concat(m.b.join("|"),")$")),T=function(A,g){var b,d=A.prefixCls,O=A.className,E=A.style,D=A.children,W=A.icon,te=A.color,re=A.onClose,ye=A.closeIcon,q=A.closable,oe=q===void 0?!1:q,he=w(A,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),ue=n.useContext(v.b),ne=ue.getPrefixCls,se=ue.direction,be=n.useState(!0),Z=Object(r.a)(be,2),ee=Z[0],ce=Z[1];n.useEffect(function(){"visible"in he&&ce(he.visible)},[he.visible]);var R=function(){return te?S.test(te)||k.test(te):!1},y=Object(c.a)({backgroundColor:te&&!R()?te:void 0},E),C=R(),z=ne("tag",d),G=i()(z,(b={},Object(u.a)(b,"".concat(z,"-").concat(te),C),Object(u.a)(b,"".concat(z,"-has-color"),te&&!C),Object(u.a)(b,"".concat(z,"-hidden"),!ee),Object(u.a)(b,"".concat(z,"-rtl"),se==="rtl"),b),O),X=function(ie){ie.stopPropagation(),re==null||re(ie),!ie.defaultPrevented&&("visible"in he||ce(!1))},pe=function(){return oe?ye?n.createElement("span",{className:"".concat(z,"-close-icon"),onClick:X},ye):n.createElement(f.a,{className:"".concat(z,"-close-icon"),onClick:X}):null},ae="onClick"in he||D&&D.type==="a",Se=Object(a.a)(he,["visible"]),Te=W||null,je=Te?n.createElement(n.Fragment,null,Te,n.createElement("span",null,D)):D,ft=n.createElement("span",Object(c.a)({},Se,{ref:g,className:G,style:y}),je,pe());return ae?n.createElement(h.a,null,ft):ft},I=n.forwardRef(T);I.CheckableTag=p;var Y=M.a=I},"mv/X":function(Ie,M,e){var u=e("ljhN"),c=e("MMmD"),r=e("wJg7"),f=e("GoyQ");function o(i,a,n){if(!f(n))return!1;var v=typeof a;return(v=="number"?c(n)&&r(a,n.length):v=="string"&&a in n)?u(n[a],i):!1}Ie.exports=o},mwIZ:function(Ie,M,e){var u=e("ZWtO");function c(r,f,o){var i=r==null?void 0:u(r,f);return i===void 0?o:i}Ie.exports=c},mzd2:function(Ie,M,e){"use strict";e.d(M,"d",function(){return ie}),e.d(M,"c",function(){return ge}),e.d(M,"b",function(){return _e});var u=e("miYZ"),c=e("tsqr"),r=e("EFp3"),f=e("+L6B"),o=e("Q9mQ"),i=e("sE09"),a=e("wx14"),n=e("ODXe"),v=e("IMoZ"),m=e("TSYQ"),h=e.n(m),t=e("6cGi"),l=e("4IlW"),p=e("q1tI"),w=e("H84U"),S=e("diRs"),k=e("0n0R"),T=e("2/Rp"),I=e("zvFY"),Y=e("lkze"),$=e("YMnH"),A=e("ZvpZ"),g=e("bogI"),b=function(it){var bt=it.prefixCls,Ct=it.okButtonProps,Bt=it.cancelButtonProps,qe=it.title,st=it.cancelText,ut=it.okText,nt=it.okType,kt=it.icon,Sn=it.showCancel,Tt=Sn===void 0?!0:Sn,ht=it.close,Rt=it.onConfirm,Ft=it.onCancel,nn=p.useContext(w.b),bn=nn.getPrefixCls;return p.createElement($.a,{componentName:"Popconfirm",defaultLocale:A.a.Popconfirm},function(sn){return p.createElement("div",{className:"".concat(bt,"-inner-content")},p.createElement("div",{className:"".concat(bt,"-message")},kt&&p.createElement("span",{className:"".concat(bt,"-message-icon")},kt),p.createElement("div",{className:"".concat(bt,"-message-title")},Object(g.a)(qe))),p.createElement("div",{className:"".concat(bt,"-buttons")},Tt&&p.createElement(T.a,Object(a.a)({onClick:Ft,size:"small"},Bt),st!=null?st:sn.cancelText),p.createElement(Y.a,{buttonProps:Object(a.a)(Object(a.a)({size:"small"},Object(I.a)(nt)),Ct),actionFn:Rt,close:ht,prefixCls:bn("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},ut!=null?ut:sn.okText)))})},d=void 0,O=function(Xe,it){var bt={};for(var Ct in Xe)Object.prototype.hasOwnProperty.call(Xe,Ct)&&it.indexOf(Ct)<0&&(bt[Ct]=Xe[Ct]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,Ct=Object.getOwnPropertySymbols(Xe);Bt<Ct.length;Bt++)it.indexOf(Ct[Bt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,Ct[Bt])&&(bt[Ct[Bt]]=Xe[Ct[Bt]]);return bt},E=p.forwardRef(function(Xe,it){var bt=Xe.prefixCls,Ct=Xe.placement,Bt=Ct===void 0?"top":Ct,qe=Xe.trigger,st=qe===void 0?"click":qe,ut=Xe.okType,nt=ut===void 0?"primary":ut,kt=Xe.icon,Sn=kt===void 0?p.createElement(v.a,null):kt,Tt=Xe.children,ht=Xe.overlayClassName,Rt=Xe.onOpenChange,Ft=Xe.onVisibleChange,nn=O(Xe,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),bn=p.useContext(w.b),sn=bn.getPrefixCls,un=Object(t.a)(!1,{value:Xe.open!==void 0?Xe.open:Xe.visible,defaultValue:Xe.defaultOpen!==void 0?Xe.defaultOpen:Xe.defaultVisible}),Ht=Object(n.a)(un,2),jn=Ht[0],Ln=Ht[1],Un=function(ct,Kt){Ln(ct,!0),Ft==null||Ft(ct,Kt),Rt==null||Rt(ct,Kt)},lt=function(ct){Un(!1,ct)},Nt=function(ct){var Kt;return(Kt=Xe.onConfirm)===null||Kt===void 0?void 0:Kt.call(d,ct)},zt=function(ct){var Kt;Un(!1,ct),(Kt=Xe.onCancel)===null||Kt===void 0||Kt.call(d,ct)},en=function(ct){ct.keyCode===l.a.ESC&&jn&&Un(!1,ct)},tn=function(ct){var Kt=Xe.disabled,pn=Kt===void 0?!1:Kt;pn||Un(ct)},wn=sn("popover",bt),on=sn("popconfirm",bt),vn=h()(on,ht);return p.createElement(S.a,Object(a.a)({},nn,{trigger:st,prefixCls:wn,placement:Bt,onOpenChange:tn,open:jn,ref:it,overlayClassName:vn,_overlay:p.createElement(b,Object(a.a)({okType:nt,icon:Sn},Xe,{prefixCls:wn,close:lt,onConfirm:Nt,onCancel:zt}))}),Object(k.a)(Tt,{onKeyDown:function(ct){var Kt,pn;p.isValidElement(Tt)&&((pn=Tt==null?void 0:(Kt=Tt.props).onKeyDown)===null||pn===void 0||pn.call(Kt,ct)),en(ct)}}))}),D=E,W=e("x+uP"),te=e("T5bk"),re=e("HaE+"),ye=e("y8nQ"),q=e("Vl3Y"),oe=e("rePB"),he=e("KQm4"),ue=e("Ff2n"),ne=e("VTBJ"),se=e("U8pU"),be=e("nKUr"),Z=e("ye1Q"),ee=e("LQCs"),ce=e("YWTS"),R=e("ub+h"),y=e("bG1m"),C=e("Kwbf"),z=e("+i8S"),G=e("HBdL"),X=e("wUu8"),pe=e("g5r2"),ae=e("ft2k"),Se=e("/PRe"),Te=e("9mHw"),je=["map_row_parentKey"],ft=["map_row_parentKey","map_row_key"],fe=["map_row_key"],ie=function(it){return Array.isArray(it)?it.join(","):it};function ge(Xe,it){var bt,Ct=Xe.getRowKey,Bt=Xe.row,qe=Xe.data,st=Xe.childrenColumnName,ut=(bt=ie(Xe.key))===null||bt===void 0?void 0:bt.toString(),nt=new Map;function kt(Tt,ht,Rt){Tt.forEach(function(Ft,nn){var bn=(Rt||0)*10+nn,sn=Ct(Ft,bn).toString();Ft&&Object(se.a)(Ft)==="object"&&st in Ft&&kt(Ft[st]||[],sn,bn);var un=Object(ne.a)(Object(ne.a)({},Ft),{},{map_row_key:sn,children:void 0,map_row_parentKey:ht});delete un.children,ht||delete un.map_row_parentKey,nt.set(sn,un)})}it==="top"&&nt.set(ut,Object(ne.a)(Object(ne.a)({},nt.get(ut)),Bt)),kt(qe),it==="update"&&nt.set(ut,Object(ne.a)(Object(ne.a)({},nt.get(ut)),Bt)),it==="delete"&&nt.delete(ut);var Sn=function(ht){var Rt=new Map,Ft=[],nn=function(){ht.forEach(function(sn){if(sn.map_row_parentKey&&!sn.map_row_key){var un=sn.map_row_parentKey,Ht=Object(ue.a)(sn,je);Rt.set(un,[].concat(Object(he.a)(Rt.get(un)||[]),[Ht]))}})};return it==="top"&&nn(),ht.forEach(function(bn){if(bn.map_row_parentKey&&bn.map_row_key){var sn=bn.map_row_parentKey,un=bn.map_row_key,Ht=Object(ue.a)(bn,ft);Rt.has(un)&&(Ht[st]=Rt.get(un)),Rt.set(sn,[].concat(Object(he.a)(Rt.get(sn)||[]),[Ht]))}}),it==="update"&&nn(),ht.forEach(function(bn){if(!bn.map_row_parentKey){var sn=bn.map_row_key,un=Object(ue.a)(bn,fe);if(sn&&Rt.has(sn)){var Ht=Object(ne.a)(Object(ne.a)({},un),{},Object(oe.a)({},st,Rt.get(sn)));Ft.push(Ht);return}Ft.push(un)}}),Ft};return Sn(nt)}function Ve(Xe){var it=Xe.recordKey,bt=Xe.onSave,Ct=Xe.row,Bt=Xe.children,qe=Xe.newLineConfig,st=Xe.editorType,ut=Xe.tableName,nt=Object(p.useContext)(X.a),kt=q.a.useFormInstance(),Sn=Object(Te.a)(!1),Tt=Object(n.a)(Sn,2),ht=Tt[0],Rt=Tt[1];return Object(be.jsxs)("a",{onClick:function(){var Ft=Object(re.a)(Object(W.a)().mark(function bn(sn){var un,Ht,jn,Ln,Un,lt,Nt,zt,en;return Object(W.a)().wrap(function(wn){for(;;)switch(wn.prev=wn.next){case 0:return sn.stopPropagation(),sn.preventDefault(),wn.prev=2,Ht=st==="Map",jn=[ut,Array.isArray(it)?it[0]:it].map(function(on){return on==null?void 0:on.toString()}).flat(1).filter(Boolean),Rt(!0),wn.next=8,kt.validateFields(jn,{recursive:!0});case 8:return Ln=((un=nt.getFieldFormatValue)===null||un===void 0?void 0:un.call(nt,jn))||kt.getFieldValue(jn),Array.isArray(it)&&it.length>1&&(Un=Object(te.a)(it),lt=Un.slice(1),Nt=Object(R.a)(Ln,lt),Object(y.a)(Ln,lt,Nt)),zt=Ht?Object(y.a)({},jn,Ln,!0):Ln,wn.next=13,bt==null?void 0:bt(it,Object(Se.a)({},Ct,zt),Ct,qe);case 13:return en=wn.sent,Rt(!1),wn.abrupt("return",en);case 18:return wn.prev=18,wn.t0=wn.catch(2),console.log(wn.t0),Rt(!1),wn.abrupt("return",null);case 23:case"end":return wn.stop()}},bn,null,[[2,18]])}));function nn(bn){return Ft.apply(this,arguments)}return nn}(),children:[ht?Object(be.jsx)(Z.a,{style:{marginRight:8}}):null,Bt||"\u4FDD\u5B58"]},"save")}var Ee=function(it){var bt=it.recordKey,Ct=it.onDelete,Bt=it.row,qe=it.children,st=it.deletePopconfirmMessage,ut=Object(Te.a)(function(){return!1}),nt=Object(n.a)(ut,2),kt=nt[0],Sn=nt[1],Tt=Object(z.a)(Object(re.a)(Object(W.a)().mark(function ht(){var Rt;return Object(W.a)().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.prev=0,Sn(!0),nn.next=4,Ct==null?void 0:Ct(bt,Bt);case 4:return Rt=nn.sent,Sn(!1),nn.abrupt("return",Rt);case 9:return nn.prev=9,nn.t0=nn.catch(0),console.log(nn.t0),Sn(!1),nn.abrupt("return",null);case 14:case"end":return nn.stop()}},ht,null,[[0,9]])})));return qe!==!1?Object(be.jsx)(D,{title:st,onConfirm:function(){return Tt()},children:Object(be.jsxs)("a",{children:[kt?Object(be.jsx)(Z.a,{style:{marginRight:8}}):null,qe||"\u5220\u9664"]})},"delete"):null},Me=function(it){var bt=it.recordKey,Ct=it.tableName,Bt=it.newLineConfig,qe=it.editorType,st=it.onCancel,ut=it.cancelEditable,nt=it.row,kt=it.cancelText,Sn=Object(p.useContext)(X.a),Tt=q.a.useFormInstance();return Object(be.jsx)("a",{onClick:function(){var ht=Object(re.a)(Object(W.a)().mark(function Ft(nn){var bn,sn,un,Ht,jn,Ln;return Object(W.a)().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:return nn.stopPropagation(),nn.preventDefault(),sn=qe==="Map",un=[Ct,bt].flat(1).filter(Boolean),Ht=((bn=Sn.getFieldFormatValue)===null||bn===void 0?void 0:bn.call(Sn,un))||Tt.getFieldValue(un),jn=sn?Object(y.a)({},un,Ht):Ht,lt.next=8,st==null?void 0:st(bt,jn,nt,Bt);case 8:return Ln=lt.sent,ut(bt),Tt.setFieldsValue(Object(oe.a)({},bt,sn?Object(R.a)(nt,un):nt)),lt.abrupt("return",Ln);case 12:case"end":return lt.stop()}},Ft)}));function Rt(Ft){return ht.apply(this,arguments)}return Rt}(),children:kt||"\u53D6\u6D88"},"cancel")};function _e(Xe,it){var bt=it.recordKey,Ct=it.newLineConfig,Bt=it.saveText,qe=it.deleteText;return[Object(be.jsx)(Ve,Object(ne.a)(Object(ne.a)({},it),{},{row:Xe,children:Bt}),"save"+bt),(Ct==null?void 0:Ct.options.recordKey)!==bt?Object(be.jsx)(Ee,Object(ne.a)(Object(ne.a)({},it),{},{row:Xe,children:qe}),"delete"+bt):null,Object(be.jsx)(Me,Object(ne.a)(Object(ne.a)({},it),{},{row:Xe}),"cancel"+bt)]}function Re(Xe){var it=Object(p.useState)(void 0),bt=Object(n.a)(it,2),Ct=bt[0],Bt=bt[1],qe=Object(p.useRef)(new Map),st=Object(p.useRef)(void 0);Object(pe.b)(function(){var dt=new Map,ct=function Kt(pn,kn){pn==null||pn.forEach(function(Pt,gn){var _n,Kn=kn==null?gn.toString():kn+"_"+gn.toString();dt.set(Kn,ie(Xe.getRowKey(Pt,-1))),dt.set((_n=ie(Xe.getRowKey(Pt,-1)))===null||_n===void 0?void 0:_n.toString(),Kn),Xe.childrenColumnName&&Pt[Xe.childrenColumnName]&&Kt(Pt[Xe.childrenColumnName],Kn)})};ct(Xe.dataSource),qe.current=dt},[Xe.dataSource]),st.current=Ct;var ut=Xe.type||"single",nt=Object(ce.a)(Xe.dataSource,"children",Xe.getRowKey),kt=Object(n.a)(nt,1),Sn=kt[0],Tt=Object(t.a)([],{value:Xe.editableKeys,onChange:Xe.onChange?function(dt){var ct;Xe==null||(ct=Xe.onChange)===null||ct===void 0||ct.call(Xe,dt.filter(function(Kt){return Kt!==void 0}),dt.map(function(Kt){return Sn(Kt)}).filter(function(Kt){return Kt!==void 0}))}:void 0}),ht=Object(n.a)(Tt,2),Rt=ht[0],Ft=ht[1],nn=Object(p.useMemo)(function(){var dt=ut==="single"?Rt==null?void 0:Rt.slice(0,1):Rt;return new Set(dt)},[(Rt||[]).join(","),ut]),bn=Object(ae.a)(Rt),sn=Object(z.a)(function(dt){var ct,Kt,pn,kn,Pt=(ct=Xe.getRowKey(dt,dt.index))===null||ct===void 0||(Kt=ct.toString)===null||Kt===void 0?void 0:Kt.call(ct),gn=(pn=Xe.getRowKey(dt,-1))===null||pn===void 0||(kn=pn.toString)===null||kn===void 0?void 0:kn.call(pn),_n=Rt.map(function(rr){return rr==null?void 0:rr.toString()}),Kn=(bn==null?void 0:bn.map(function(rr){return rr==null?void 0:rr.toString()}))||[],qn=Xe.tableName&&!!(Kn==null?void 0:Kn.includes(gn))||!!(Kn==null?void 0:Kn.includes(Pt));return{recordKey:gn,isEditable:Xe.tableName&&(_n==null?void 0:_n.includes(gn))||(_n==null?void 0:_n.includes(Pt)),preIsEditable:qn}}),un=Object(z.a)(function(dt){return nn.size>0&&ut==="single"&&Xe.onlyOneLineEditorAlertMessage!==!1?(c.default.warn(Xe.onlyOneLineEditorAlertMessage||"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C"),!1):(nn.add(dt),Ft(Array.from(nn)),!0)}),Ht=Object(z.a)(function(){var dt=Object(re.a)(Object(W.a)().mark(function ct(Kt,pn){var kn,Pt;return Object(W.a)().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:if(kn=ie(Kt).toString(),Pt=qe.current.get(kn),!(!nn.has(kn)&&Pt&&(pn!=null?pn:!0)&&Xe.tableName)){_n.next=5;break}return Ht(Pt,!1),_n.abrupt("return");case 5:return Ct&&Ct.options.recordKey===Kt&&Bt(void 0),nn.delete(kn),nn.delete(ie(Kt)),Ft(Array.from(nn)),_n.abrupt("return",!0);case 10:case"end":return _n.stop()}},ct)}));return function(ct,Kt){return dt.apply(this,arguments)}}()),jn=Object(G.a)(Object(re.a)(Object(W.a)().mark(function dt(){var ct,Kt,pn,kn,Pt=arguments;return Object(W.a)().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:for(Kt=Pt.length,pn=new Array(Kt),kn=0;kn<Kt;kn++)pn[kn]=Pt[kn];(ct=Xe.onValuesChange)===null||ct===void 0||ct.call.apply(ct,[Xe].concat(pn));case 2:case"end":return _n.stop()}},dt)})),64),Ln=Object(z.a)(function(dt,ct){var Kt;if(!!Xe.onValuesChange){var pn=Xe.dataSource;Rt.forEach(function(Kn){if((Ct==null?void 0:Ct.options.recordKey)!==Kn){var qn=Kn.toString(),rr=Object(R.a)(ct,[Xe.tableName||"",qn].flat(1).filter(function(Rn){return Rn||Rn===0}));!rr||(pn=ge({data:pn,getRowKey:Xe.getRowKey,row:rr,key:qn,childrenColumnName:Xe.childrenColumnName||"children"},"update"))}});var kn=Xe.tableName?Object(R.a)(dt,[Xe.tableName||""].flat(1)):dt,Pt=(Kt=Object.keys(kn||{}).pop())===null||Kt===void 0?void 0:Kt.toString(),gn=Object(ne.a)(Object(ne.a)({},Ct==null?void 0:Ct.defaultValue),Object(R.a)(ct,[Xe.tableName||"",Pt.toString()].flat(1).filter(function(Kn){return Kn||Kn===0}))),_n=qe.current.has(ie(Pt))?pn.find(function(Kn,qn){var rr,Rn=(rr=Xe.getRowKey(Kn,qn))===null||rr===void 0?void 0:rr.toString();return Rn===Pt}):gn;jn.run(_n||gn,pn)}}),Un=Object(z.a)(function(dt,ct){if((ct==null?void 0:ct.parentKey)&&!qe.current.has(ie(ct==null?void 0:ct.parentKey).toString()))return console.warn("can't find record by key",ct==null?void 0:ct.parentKey),!1;if(st.current&&Xe.onlyAddOneLineAlertMessage!==!1)return c.default.warn(Xe.onlyAddOneLineAlertMessage||"\u53EA\u80FD\u65B0\u589E\u4E00\u884C"),!1;if(nn.size>0&&ut==="single"&&Xe.onlyOneLineEditorAlertMessage!==!1)return c.default.warn(Xe.onlyOneLineEditorAlertMessage||"\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C"),!1;var Kt=Xe.getRowKey(dt,-1);if(!Kt)throw Object(C.b)(!!Kt,`\u8BF7\u8BBE\u7F6E recordCreatorProps.record \u5E76\u8FD4\u56DE\u4E00\u4E2A\u552F\u4E00\u7684key
- https://procomponents.ant.design/components/editable-table#editable-%E6%96%B0%E5%BB%BA%E8%A1%8C`),new Error("\u8BF7\u8BBE\u7F6E recordCreatorProps.record \u5E76\u8FD4\u56DE\u4E00\u4E2A\u552F\u4E00\u7684key");if(nn.add(Kt),Ft(Array.from(nn)),(ct==null?void 0:ct.newRecordType)==="dataSource"||Xe.tableName){var pn,kn={data:Xe.dataSource,getRowKey:Xe.getRowKey,row:Object(ne.a)(Object(ne.a)({},dt),{},{map_row_parentKey:(ct==null?void 0:ct.parentKey)?(pn=ie(ct==null?void 0:ct.parentKey))===null||pn===void 0?void 0:pn.toString():void 0}),key:Kt,childrenColumnName:Xe.childrenColumnName||"children"};Xe.setDataSource(ge(kn,(ct==null?void 0:ct.position)==="top"?"top":"update"))}else Bt({defaultValue:dt,options:Object(ne.a)(Object(ne.a)({},ct),{},{recordKey:Kt})});return!0}),lt=Object(ee.d)(),Nt=(Xe==null?void 0:Xe.saveText)||lt.getMessage("editableTable.action.save","\u4FDD\u5B58"),zt=(Xe==null?void 0:Xe.deleteText)||lt.getMessage("editableTable.action.delete","\u5220\u9664"),en=(Xe==null?void 0:Xe.cancelText)||lt.getMessage("editableTable.action.cancel","\u53D6\u6D88"),tn=Object(z.a)(function(){var dt=Object(re.a)(Object(W.a)().mark(function ct(Kt,pn,kn,Pt){var gn,_n,Kn,qn,rr,Rn,mr;return Object(W.a)().wrap(function(sr){for(;;)switch(sr.prev=sr.next){case 0:return qn=Pt||st.current||{},rr=qn.options,sr.next=3,Xe==null||(gn=Xe.onSave)===null||gn===void 0?void 0:gn.call(Xe,Kt,pn,kn,Pt);case 3:if(Rn=sr.sent,Ht(Kt),!(!(rr==null?void 0:rr.parentKey)&&(rr==null?void 0:rr.recordKey)===Kt)){sr.next=8;break}return(rr==null?void 0:rr.position)==="top"?Xe.setDataSource([pn].concat(Object(he.a)(Xe.dataSource))):Xe.setDataSource([].concat(Object(he.a)(Xe.dataSource),[pn])),sr.abrupt("return",Rn);case 8:return mr={data:Xe.dataSource,getRowKey:Xe.getRowKey,row:rr?Object(ne.a)(Object(ne.a)({},pn),{},{map_row_parentKey:(_n=ie((Kn=rr==null?void 0:rr.parentKey)!==null&&Kn!==void 0?Kn:""))===null||_n===void 0?void 0:_n.toString()}):pn,key:Kt,childrenColumnName:Xe.childrenColumnName||"children"},Xe.setDataSource(ge(mr,(rr==null?void 0:rr.position)==="top"?"top":"update")),sr.abrupt("return",Rn);case 11:case"end":return sr.stop()}},ct)}));return function(ct,Kt,pn,kn){return dt.apply(this,arguments)}}()),wn=Object(z.a)(function(){var dt=Object(re.a)(Object(W.a)().mark(function ct(Kt,pn){var kn,Pt,gn;return Object(W.a)().wrap(function(Kn){for(;;)switch(Kn.prev=Kn.next){case 0:return Pt={data:Xe.dataSource,getRowKey:Xe.getRowKey,row:pn,key:Kt,childrenColumnName:Xe.childrenColumnName||"children"},Kn.next=3,Xe==null||(kn=Xe.onDelete)===null||kn===void 0?void 0:kn.call(Xe,Kt,pn);case 3:return gn=Kn.sent,Kn.next=6,Ht(Kt);case 6:return Xe.setDataSource(ge(Pt,"delete")),Kn.abrupt("return",gn);case 8:case"end":return Kn.stop()}},ct)}));return function(ct,Kt){return dt.apply(this,arguments)}}()),on=Object(z.a)(function(){var dt=Object(re.a)(Object(W.a)().mark(function ct(Kt,pn,kn,Pt){var gn,_n;return Object(W.a)().wrap(function(qn){for(;;)switch(qn.prev=qn.next){case 0:return qn.next=2,Xe==null||(gn=Xe.onCancel)===null||gn===void 0?void 0:gn.call(Xe,Kt,pn,kn,Pt);case 2:return _n=qn.sent,qn.abrupt("return",_n);case 4:case"end":return qn.stop()}},ct)}));return function(ct,Kt,pn,kn){return dt.apply(this,arguments)}}()),vn=function(ct){var Kt=Xe.getRowKey(ct,ct.index),pn={saveText:Nt,cancelText:en,deleteText:zt,addEditRecord:Un,recordKey:Kt,cancelEditable:Ht,index:ct.index,tableName:Xe.tableName,newLineConfig:Ct,onCancel:on,onDelete:wn,onSave:tn,editableKeys:Rt,setEditableRowKeys:Ft,deletePopconfirmMessage:Xe.deletePopconfirmMessage||"".concat(lt.getMessage("deleteThisLine","\u5220\u9664\u6B64\u884C"),"?")},kn=_e(ct,pn);return Xe.actionRender?Xe.actionRender(ct,pn,{save:kn[0],delete:kn[1],cancel:kn[2]}):kn};return{editableKeys:Rt,setEditableRowKeys:Ft,isEditable:sn,actionRender:vn,startEditable:un,cancelEditable:Ht,addEditRecord:Un,newLineRecord:Ct,preEditableKeys:bn,onValuesChange:Ln}}var et=M.a=Re},"n+fv":function(Ie,M,e){"use strict";e.r(M),e.d(M,"create",function(){return c}),e.d(M,"clone",function(){return r}),e.d(M,"length",function(){return f}),e.d(M,"fromValues",function(){return o}),e.d(M,"copy",function(){return i}),e.d(M,"set",function(){return a}),e.d(M,"add",function(){return n}),e.d(M,"subtract",function(){return v}),e.d(M,"multiply",function(){return m}),e.d(M,"divide",function(){return h}),e.d(M,"ceil",function(){return t}),e.d(M,"floor",function(){return l}),e.d(M,"min",function(){return p}),e.d(M,"max",function(){return w}),e.d(M,"round",function(){return S}),e.d(M,"scale",function(){return k}),e.d(M,"scaleAndAdd",function(){return T}),e.d(M,"distance",function(){return I}),e.d(M,"squaredDistance",function(){return Y}),e.d(M,"squaredLength",function(){return $}),e.d(M,"negate",function(){return A}),e.d(M,"inverse",function(){return g}),e.d(M,"normalize",function(){return b}),e.d(M,"dot",function(){return d}),e.d(M,"cross",function(){return O}),e.d(M,"lerp",function(){return E}),e.d(M,"hermite",function(){return D}),e.d(M,"bezier",function(){return W}),e.d(M,"random",function(){return te}),e.d(M,"transformMat4",function(){return re}),e.d(M,"transformMat3",function(){return ye}),e.d(M,"transformQuat",function(){return q}),e.d(M,"rotateX",function(){return oe}),e.d(M,"rotateY",function(){return he}),e.d(M,"rotateZ",function(){return ue}),e.d(M,"angle",function(){return ne}),e.d(M,"zero",function(){return se}),e.d(M,"str",function(){return be}),e.d(M,"exactEquals",function(){return Z}),e.d(M,"equals",function(){return ee}),e.d(M,"sub",function(){return ce}),e.d(M,"mul",function(){return R}),e.d(M,"div",function(){return y}),e.d(M,"dist",function(){return C}),e.d(M,"sqrDist",function(){return z}),e.d(M,"len",function(){return G}),e.d(M,"sqrLen",function(){return X}),e.d(M,"forEach",function(){return pe});var u=e("yU0y");function c(){var ae=new u.ARRAY_TYPE(3);return u.ARRAY_TYPE!=Float32Array&&(ae[0]=0,ae[1]=0,ae[2]=0),ae}function r(ae){var Se=new u.ARRAY_TYPE(3);return Se[0]=ae[0],Se[1]=ae[1],Se[2]=ae[2],Se}function f(ae){var Se=ae[0],Te=ae[1],je=ae[2];return Math.hypot(Se,Te,je)}function o(ae,Se,Te){var je=new u.ARRAY_TYPE(3);return je[0]=ae,je[1]=Se,je[2]=Te,je}function i(ae,Se){return ae[0]=Se[0],ae[1]=Se[1],ae[2]=Se[2],ae}function a(ae,Se,Te,je){return ae[0]=Se,ae[1]=Te,ae[2]=je,ae}function n(ae,Se,Te){return ae[0]=Se[0]+Te[0],ae[1]=Se[1]+Te[1],ae[2]=Se[2]+Te[2],ae}function v(ae,Se,Te){return ae[0]=Se[0]-Te[0],ae[1]=Se[1]-Te[1],ae[2]=Se[2]-Te[2],ae}function m(ae,Se,Te){return ae[0]=Se[0]*Te[0],ae[1]=Se[1]*Te[1],ae[2]=Se[2]*Te[2],ae}function h(ae,Se,Te){return ae[0]=Se[0]/Te[0],ae[1]=Se[1]/Te[1],ae[2]=Se[2]/Te[2],ae}function t(ae,Se){return ae[0]=Math.ceil(Se[0]),ae[1]=Math.ceil(Se[1]),ae[2]=Math.ceil(Se[2]),ae}function l(ae,Se){return ae[0]=Math.floor(Se[0]),ae[1]=Math.floor(Se[1]),ae[2]=Math.floor(Se[2]),ae}function p(ae,Se,Te){return ae[0]=Math.min(Se[0],Te[0]),ae[1]=Math.min(Se[1],Te[1]),ae[2]=Math.min(Se[2],Te[2]),ae}function w(ae,Se,Te){return ae[0]=Math.max(Se[0],Te[0]),ae[1]=Math.max(Se[1],Te[1]),ae[2]=Math.max(Se[2],Te[2]),ae}function S(ae,Se){return ae[0]=Math.round(Se[0]),ae[1]=Math.round(Se[1]),ae[2]=Math.round(Se[2]),ae}function k(ae,Se,Te){return ae[0]=Se[0]*Te,ae[1]=Se[1]*Te,ae[2]=Se[2]*Te,ae}function T(ae,Se,Te,je){return ae[0]=Se[0]+Te[0]*je,ae[1]=Se[1]+Te[1]*je,ae[2]=Se[2]+Te[2]*je,ae}function I(ae,Se){var Te=Se[0]-ae[0],je=Se[1]-ae[1],ft=Se[2]-ae[2];return Math.hypot(Te,je,ft)}function Y(ae,Se){var Te=Se[0]-ae[0],je=Se[1]-ae[1],ft=Se[2]-ae[2];return Te*Te+je*je+ft*ft}function $(ae){var Se=ae[0],Te=ae[1],je=ae[2];return Se*Se+Te*Te+je*je}function A(ae,Se){return ae[0]=-Se[0],ae[1]=-Se[1],ae[2]=-Se[2],ae}function g(ae,Se){return ae[0]=1/Se[0],ae[1]=1/Se[1],ae[2]=1/Se[2],ae}function b(ae,Se){var Te=Se[0],je=Se[1],ft=Se[2],fe=Te*Te+je*je+ft*ft;return fe>0&&(fe=1/Math.sqrt(fe)),ae[0]=Se[0]*fe,ae[1]=Se[1]*fe,ae[2]=Se[2]*fe,ae}function d(ae,Se){return ae[0]*Se[0]+ae[1]*Se[1]+ae[2]*Se[2]}function O(ae,Se,Te){var je=Se[0],ft=Se[1],fe=Se[2],ie=Te[0],ge=Te[1],Ve=Te[2];return ae[0]=ft*Ve-fe*ge,ae[1]=fe*ie-je*Ve,ae[2]=je*ge-ft*ie,ae}function E(ae,Se,Te,je){var ft=Se[0],fe=Se[1],ie=Se[2];return ae[0]=ft+je*(Te[0]-ft),ae[1]=fe+je*(Te[1]-fe),ae[2]=ie+je*(Te[2]-ie),ae}function D(ae,Se,Te,je,ft,fe){var ie=fe*fe,ge=ie*(2*fe-3)+1,Ve=ie*(fe-2)+fe,Ee=ie*(fe-1),Me=ie*(3-2*fe);return ae[0]=Se[0]*ge+Te[0]*Ve+je[0]*Ee+ft[0]*Me,ae[1]=Se[1]*ge+Te[1]*Ve+je[1]*Ee+ft[1]*Me,ae[2]=Se[2]*ge+Te[2]*Ve+je[2]*Ee+ft[2]*Me,ae}function W(ae,Se,Te,je,ft,fe){var ie=1-fe,ge=ie*ie,Ve=fe*fe,Ee=ge*ie,Me=3*fe*ge,_e=3*Ve*ie,Re=Ve*fe;return ae[0]=Se[0]*Ee+Te[0]*Me+je[0]*_e+ft[0]*Re,ae[1]=Se[1]*Ee+Te[1]*Me+je[1]*_e+ft[1]*Re,ae[2]=Se[2]*Ee+Te[2]*Me+je[2]*_e+ft[2]*Re,ae}function te(ae,Se){Se=Se||1;var Te=u.RANDOM()*2*Math.PI,je=u.RANDOM()*2-1,ft=Math.sqrt(1-je*je)*Se;return ae[0]=Math.cos(Te)*ft,ae[1]=Math.sin(Te)*ft,ae[2]=je*Se,ae}function re(ae,Se,Te){var je=Se[0],ft=Se[1],fe=Se[2],ie=Te[3]*je+Te[7]*ft+Te[11]*fe+Te[15];return ie=ie||1,ae[0]=(Te[0]*je+Te[4]*ft+Te[8]*fe+Te[12])/ie,ae[1]=(Te[1]*je+Te[5]*ft+Te[9]*fe+Te[13])/ie,ae[2]=(Te[2]*je+Te[6]*ft+Te[10]*fe+Te[14])/ie,ae}function ye(ae,Se,Te){var je=Se[0],ft=Se[1],fe=Se[2];return ae[0]=je*Te[0]+ft*Te[3]+fe*Te[6],ae[1]=je*Te[1]+ft*Te[4]+fe*Te[7],ae[2]=je*Te[2]+ft*Te[5]+fe*Te[8],ae}function q(ae,Se,Te){var je=Te[0],ft=Te[1],fe=Te[2],ie=Te[3],ge=Se[0],Ve=Se[1],Ee=Se[2],Me=ft*Ee-fe*Ve,_e=fe*ge-je*Ee,Re=je*Ve-ft*ge,et=ft*Re-fe*_e,Xe=fe*Me-je*Re,it=je*_e-ft*Me,bt=ie*2;return Me*=bt,_e*=bt,Re*=bt,et*=2,Xe*=2,it*=2,ae[0]=ge+Me+et,ae[1]=Ve+_e+Xe,ae[2]=Ee+Re+it,ae}function oe(ae,Se,Te,je){var ft=[],fe=[];return ft[0]=Se[0]-Te[0],ft[1]=Se[1]-Te[1],ft[2]=Se[2]-Te[2],fe[0]=ft[0],fe[1]=ft[1]*Math.cos(je)-ft[2]*Math.sin(je),fe[2]=ft[1]*Math.sin(je)+ft[2]*Math.cos(je),ae[0]=fe[0]+Te[0],ae[1]=fe[1]+Te[1],ae[2]=fe[2]+Te[2],ae}function he(ae,Se,Te,je){var ft=[],fe=[];return ft[0]=Se[0]-Te[0],ft[1]=Se[1]-Te[1],ft[2]=Se[2]-Te[2],fe[0]=ft[2]*Math.sin(je)+ft[0]*Math.cos(je),fe[1]=ft[1],fe[2]=ft[2]*Math.cos(je)-ft[0]*Math.sin(je),ae[0]=fe[0]+Te[0],ae[1]=fe[1]+Te[1],ae[2]=fe[2]+Te[2],ae}function ue(ae,Se,Te,je){var ft=[],fe=[];return ft[0]=Se[0]-Te[0],ft[1]=Se[1]-Te[1],ft[2]=Se[2]-Te[2],fe[0]=ft[0]*Math.cos(je)-ft[1]*Math.sin(je),fe[1]=ft[0]*Math.sin(je)+ft[1]*Math.cos(je),fe[2]=ft[2],ae[0]=fe[0]+Te[0],ae[1]=fe[1]+Te[1],ae[2]=fe[2]+Te[2],ae}function ne(ae,Se){var Te=ae[0],je=ae[1],ft=ae[2],fe=Se[0],ie=Se[1],ge=Se[2],Ve=Math.sqrt(Te*Te+je*je+ft*ft),Ee=Math.sqrt(fe*fe+ie*ie+ge*ge),Me=Ve*Ee,_e=Me&&d(ae,Se)/Me;return Math.acos(Math.min(Math.max(_e,-1),1))}function se(ae){return ae[0]=0,ae[1]=0,ae[2]=0,ae}function be(ae){return"vec3("+ae[0]+", "+ae[1]+", "+ae[2]+")"}function Z(ae,Se){return ae[0]===Se[0]&&ae[1]===Se[1]&&ae[2]===Se[2]}function ee(ae,Se){var Te=ae[0],je=ae[1],ft=ae[2],fe=Se[0],ie=Se[1],ge=Se[2];return Math.abs(Te-fe)<=u.EPSILON*Math.max(1,Math.abs(Te),Math.abs(fe))&&Math.abs(je-ie)<=u.EPSILON*Math.max(1,Math.abs(je),Math.abs(ie))&&Math.abs(ft-ge)<=u.EPSILON*Math.max(1,Math.abs(ft),Math.abs(ge))}var ce=v,R=m,y=h,C=I,z=Y,G=f,X=$,pe=function(){var ae=c();return function(Se,Te,je,ft,fe,ie){var ge,Ve;for(Te||(Te=3),je||(je=0),ft?Ve=Math.min(ft*Te+je,Se.length):Ve=Se.length,ge=je;ge<Ve;ge+=Te)ae[0]=Se[ge],ae[1]=Se[ge+1],ae[2]=Se[ge+2],fe(ae,ae,ie),Se[ge]=ae[0],Se[ge+1]=ae[1],Se[ge+2]=ae[2];return Se}}()},n3Sm:function(Ie,M,e){var u=e("SKAX");function c(r,f){var o=[];return u(r,function(i,a,n){f(i,a,n)&&o.push(i)}),o}Ie.exports=c},n6Qo:function(Ie,M,e){"use strict";e.d(M,"a",function(){return a});var u=e("q1tI"),c=e.n(u),r=e("biw7"),f=e("EvKn"),o=e("3U59");function i(n){var v=n.children,m=n.stickyOffsets,h=n.flattenColumns,t=u.useContext(r.a),l=t.prefixCls,p=h.length-1,w=h[p],S=u.useMemo(function(){return{stickyOffsets:m,flattenColumns:h,scrollColumnIndex:(w==null?void 0:w.scrollbar)?p:null}},[w,h,p,m]);return u.createElement(o.a.Provider,{value:S},u.createElement("tfoot",{className:"".concat(l,"-summary")},v))}M.b=i;var a=f.a},nB0o:function(Ie,M,e){"use strict";e.d(M,"a",function(){return Du});var u=e("tJVT"),c=e("rAM+"),r=e("tS8v"),f=e("w4Tj"),o=e("oZsa"),i=e("yKVA"),a=e("879j"),n=e("fWQN"),v=e("mtLc"),m=e("79sc"),h=e("sswD"),t=function(Lt,He,F,U){var s=arguments.length,N=s<3?He:U===null?U=Object.getOwnPropertyDescriptor(He,F):U,Q;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(Lt,He,F,U);else for(var xe=Lt.length-1;xe>=0;xe--)(Q=Lt[xe])&&(N=(s<3?Q(N):s>3?Q(He,F,N):Q(He,F))||N);return s>3&&N&&Object.defineProperty(He,F,N),N},l=function(Lt,He){return function(F,U){He(F,U,Lt)}},p=function(){function Lt(He,F){Object(n.a)(this,Lt)}return Object(v.a)(Lt,[{key:"dispose",value:function(){}}]),Lt}();p.ID="editor.contrib.markerDecorations",p=t([l(1,m.a)],p),Object(h.l)(p.ID,p);var w=e("lrmC"),S=e("3/fG"),k=e("EffR"),T=e("/cxE"),I=e("MI8n"),Y=e("pmY6"),$=e("tYmi"),A=e("HdwC"),g=e("Vxe3"),b=e("D3Dy"),d=e("gCVg"),O=e("ZlPH"),E=e("MNsG"),D=e("pg8w"),W=e("XSiN"),te=e("X+cX"),re=e("AKMP"),ye=function(){function Lt(He,F){Object(n.a)(this,Lt),this.x=He,this.y=F}return Object(v.a)(Lt,[{key:"toClientCoordinates",value:function(){return new q(this.x-k.StandardWindow.scrollX,this.y-k.StandardWindow.scrollY)}}]),Lt}(),q=function(){function Lt(He,F){Object(n.a)(this,Lt),this.clientX=He,this.clientY=F}return Object(v.a)(Lt,[{key:"toPageCoordinates",value:function(){return new ye(this.clientX+k.StandardWindow.scrollX,this.clientY+k.StandardWindow.scrollY)}}]),Lt}(),oe=Object(v.a)(function Lt(He,F,U,s){Object(n.a)(this,Lt),this.x=He,this.y=F,this.width=U,this.height=s});function he(Lt){var He=k.getDomNodePagePosition(Lt);return new oe(He.left,He.top,He.width,He.height)}var ue=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s){var N;return Object(n.a)(this,F),N=He.call(this,U),N.pos=new ye(N.posx,N.posy),N.editorPos=he(s),N}return Object(v.a)(F)}(W.a),ne=function(){function Lt(He){Object(n.a)(this,Lt),this._editorViewDomNode=He}return Object(v.a)(Lt,[{key:"_create",value:function(F){return new ue(F,this._editorViewDomNode)}},{key:"onContextMenu",value:function(F,U){var s=this;return k.addDisposableListener(F,"contextmenu",function(N){U(s._create(N))})}},{key:"onMouseUp",value:function(F,U){var s=this;return k.addDisposableListener(F,"mouseup",function(N){U(s._create(N))})}},{key:"onMouseDown",value:function(F,U){var s=this;return k.addDisposableListener(F,"mousedown",function(N){U(s._create(N))})}},{key:"onMouseLeave",value:function(F,U){var s=this;return k.addDisposableNonBubblingMouseOutListener(F,function(N){U(s._create(N))})}},{key:"onMouseMoveThrottled",value:function(F,U,s,N){var Q=this,xe=function(Ge,qt){return s(Ge,Q._create(qt))};return k.addDisposableThrottledListener(F,"mousemove",U,xe,N)}}]),Lt}(),se=function(){function Lt(He){Object(n.a)(this,Lt),this._editorViewDomNode=He}return Object(v.a)(Lt,[{key:"_create",value:function(F){return new ue(F,this._editorViewDomNode)}},{key:"onPointerUp",value:function(F,U){var s=this;return k.addDisposableListener(F,"pointerup",function(N){U(s._create(N))})}},{key:"onPointerDown",value:function(F,U){var s=this;return k.addDisposableListener(F,"pointerdown",function(N){U(s._create(N))})}},{key:"onPointerLeave",value:function(F,U){var s=this;return k.addDisposableNonBubblingPointerOutListener(F,function(N){U(s._create(N))})}},{key:"onPointerMoveThrottled",value:function(F,U,s,N){var Q=this,xe=function(Ge,qt){return s(Ge,Q._create(qt))};return k.addDisposableThrottledListener(F,"pointermove",U,xe,N)}}]),Lt}(),be=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;return Object(n.a)(this,F),s=He.call(this),s._editorViewDomNode=U,s._globalMouseMoveMonitor=s._register(new re.a),s._keydownListener=null,s}return Object(v.a)(F,[{key:"startMonitoring",value:function(s,N,Q,xe,Je){var Ge=this;this._keydownListener=k.addStandardDisposableListener(document,"keydown",function(fn){var Wn=fn.toKeybinding();Wn.isModifierKey()||Ge._globalMouseMoveMonitor.stopMonitoring(!0,fn.browserEvent)},!0);var qt=function(Wn,Yt){return Q(Wn,new ue(Yt,Ge._editorViewDomNode))};this._globalMouseMoveMonitor.startMonitoring(s,N,qt,xe,function(fn){Ge._keydownListener.dispose(),Je(fn)})}},{key:"stopMonitoring",value:function(){this._globalMouseMoveMonitor.stopMonitoring(!0)}}]),F}(Y.a),Z=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(){var U;return Object(n.a)(this,F),U=He.call(this),U._shouldRender=!0,U}return Object(v.a)(F,[{key:"shouldRender",value:function(){return this._shouldRender}},{key:"forceShouldRender",value:function(){this._shouldRender=!0}},{key:"setShouldRender",value:function(){this._shouldRender=!0}},{key:"onDidRender",value:function(){this._shouldRender=!1}},{key:"onCompositionStart",value:function(s){return!1}},{key:"onCompositionEnd",value:function(s){return!1}},{key:"onConfigurationChanged",value:function(s){return!1}},{key:"onCursorStateChanged",value:function(s){return!1}},{key:"onDecorationsChanged",value:function(s){return!1}},{key:"onFlushed",value:function(s){return!1}},{key:"onFocusChanged",value:function(s){return!1}},{key:"onLanguageConfigurationChanged",value:function(s){return!1}},{key:"onLineMappingChanged",value:function(s){return!1}},{key:"onLinesChanged",value:function(s){return!1}},{key:"onLinesDeleted",value:function(s){return!1}},{key:"onLinesInserted",value:function(s){return!1}},{key:"onRevealRangeRequest",value:function(s){return!1}},{key:"onScrollChanged",value:function(s){return!1}},{key:"onThemeChanged",value:function(s){return!1}},{key:"onTokensChanged",value:function(s){return!1}},{key:"onTokensColorsChanged",value:function(s){return!1}},{key:"onZonesChanged",value:function(s){return!1}},{key:"handleEvents",value:function(s){for(var N=!1,Q=0,xe=s.length;Q<xe;Q++){var Je=s[Q];switch(Je.type){case 0:this.onCompositionStart(Je)&&(N=!0);break;case 1:this.onCompositionEnd(Je)&&(N=!0);break;case 2:this.onConfigurationChanged(Je)&&(N=!0);break;case 3:this.onCursorStateChanged(Je)&&(N=!0);break;case 4:this.onDecorationsChanged(Je)&&(N=!0);break;case 5:this.onFlushed(Je)&&(N=!0);break;case 6:this.onFocusChanged(Je)&&(N=!0);break;case 7:this.onLanguageConfigurationChanged(Je)&&(N=!0);break;case 8:this.onLineMappingChanged(Je)&&(N=!0);break;case 9:this.onLinesChanged(Je)&&(N=!0);break;case 10:this.onLinesDeleted(Je)&&(N=!0);break;case 11:this.onLinesInserted(Je)&&(N=!0);break;case 12:this.onRevealRangeRequest(Je)&&(N=!0);break;case 13:this.onScrollChanged(Je)&&(N=!0);break;case 15:this.onTokensChanged(Je)&&(N=!0);break;case 14:this.onThemeChanged(Je)&&(N=!0);break;case 16:this.onTokensColorsChanged(Je)&&(N=!0);break;case 17:this.onZonesChanged(Je)&&(N=!0);break;default:console.info("View received unknown event: "),console.info(Je)}}N&&(this._shouldRender=!0)}}]),F}(Y.a),ee=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;return Object(n.a)(this,F),s=He.call(this),s._context=U,s._context.addEventHandler(Object(r.a)(s)),s}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}}]),F}(Z),ce=function(){function Lt(){Object(n.a)(this,Lt)}return Object(v.a)(Lt,null,[{key:"write",value:function(F,U){F instanceof O.a,F.setAttribute("data-mprt",String(U))}},{key:"read",value:function(F){var U=F.getAttribute("data-mprt");return U===null?0:parseInt(U,10)}},{key:"collect",value:function(F,U){for(var s=[],N=0;F&&F!==document.body&&F!==U;)F.nodeType===F.ELEMENT_NODE&&(s[N++]=this.read(F)),F=F.parentElement;for(var Q=new Uint8Array(N),xe=0;xe<N;xe++)Q[xe]=s[N-xe-1];return Q}}]),Lt}(),R=function(){function Lt(He,F){Object(n.a)(this,Lt),this._viewLayout=He,this.viewportData=F,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;var U=this._viewLayout.getCurrentViewport();this.scrollTop=U.top,this.scrollLeft=U.left,this.viewportWidth=U.width,this.viewportHeight=U.height}return Object(v.a)(Lt,[{key:"getScrolledTopFromAbsoluteTop",value:function(F){return F-this.scrollTop}},{key:"getVerticalOffsetForLineNumber",value:function(F){return this._viewLayout.getVerticalOffsetForLineNumber(F)}},{key:"getDecorationsInViewport",value:function(){return this.viewportData.getDecorationsInViewport()}}]),Lt}(),y=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N){var Q;return Object(n.a)(this,F),Q=He.call(this,U,s),Q._viewLines=N,Q}return Object(v.a)(F,[{key:"linesVisibleRangesForRange",value:function(s,N){return this._viewLines.linesVisibleRangesForRange(s,N)}},{key:"visibleRangeForPosition",value:function(s){return this._viewLines.visibleRangeForPosition(s)}}]),F}(R),C=Object(v.a)(function Lt(He,F,U){Object(n.a)(this,Lt),this.outsideRenderedLine=He,this.lineNumber=F,this.ranges=U}),z=function(){function Lt(He,F){Object(n.a)(this,Lt),this.left=Math.round(He),this.width=Math.round(F)}return Object(v.a)(Lt,[{key:"toString",value:function(){return"[".concat(this.left,",").concat(this.width,"]")}}]),Lt}(),G=Object(v.a)(function Lt(He,F){Object(n.a)(this,Lt),this.outsideRenderedLine=He,this.left=Math.round(F)}),X=Object(v.a)(function Lt(He,F){Object(n.a)(this,Lt),this.outsideRenderedLine=He,this.ranges=F}),pe=function(){function Lt(He,F){Object(n.a)(this,Lt),this.left=He,this.width=F}return Object(v.a)(Lt,[{key:"toString",value:function(){return"[".concat(this.left,",").concat(this.width,"]")}}],[{key:"compare",value:function(F,U){return F.left-U.left}}]),Lt}(),ae=function(){function Lt(){Object(n.a)(this,Lt)}return Object(v.a)(Lt,null,[{key:"_createRange",value:function(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange}},{key:"_detachRange",value:function(F,U){F.selectNodeContents(U)}},{key:"_readClientRects",value:function(F,U,s,N,Q){var xe=this._createRange();try{return xe.setStart(F,U),xe.setEnd(s,N),xe.getClientRects()}catch(Je){return null}finally{this._detachRange(xe,Q)}}},{key:"_mergeAdjacentRanges",value:function(F){if(F.length===1)return[new z(F[0].left,F[0].width)];F.sort(pe.compare);for(var U=[],s=0,N=F[0].left,Q=F[0].width,xe=1,Je=F.length;xe<Je;xe++){var Ge=F[xe],qt=Ge.left,fn=Ge.width;N+Q+.9>=qt?Q=Math.max(Q,qt+fn-N):(U[s++]=new z(N,Q),N=qt,Q=fn)}return U[s++]=new z(N,Q),U}},{key:"_createHorizontalRangesFromClientRects",value:function(F,U){if(!F||F.length===0)return null;for(var s=[],N=0,Q=F.length;N<Q;N++){var xe=F[N];s[N]=new pe(Math.max(0,xe.left-U),xe.width)}return this._mergeAdjacentRanges(s)}},{key:"readHorizontalRanges",value:function(F,U,s,N,Q,xe,Je){var Ge=0,qt=F.children.length-1;if(Ge>qt)return null;if(U=Math.min(qt,Math.max(Ge,U)),N=Math.min(qt,Math.max(Ge,N)),U===N&&s===Q&&s===0&&!F.children[U].firstChild){var fn=F.children[U].getClientRects();return this._createHorizontalRangesFromClientRects(fn,xe)}U!==N&&N>0&&Q===0&&(N--,Q=1073741824);var Wn=F.children[U].firstChild,Yt=F.children[N].firstChild;if((!Wn||!Yt)&&(!Wn&&s===0&&U>0&&(Wn=F.children[U-1].firstChild,s=1073741824),!Yt&&Q===0&&N>0&&(Yt=F.children[N-1].firstChild,Q=1073741824)),!Wn||!Yt)return null;s=Math.min(Wn.textContent.length,Math.max(0,s)),Q=Math.min(Yt.textContent.length,Math.max(0,Q));var Yn=this._readClientRects(Wn,s,Yt,Q,Je);return this._createHorizontalRangesFromClientRects(Yn,xe)}}]),Lt}(),Se=e("dBaI"),Te=e("baJR"),je=e("nEHx"),ft=e("/UlZ"),fe=function(){return E.g?!0:!(E.d||b.g||b.i)}(),ie=!0,ge=function(){function Lt(He,F){Object(n.a)(this,Lt),this._domNode=He,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=F}return Object(v.a)(Lt,[{key:"clientRectDeltaLeft",get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft}}]),Lt}(),Ve=function(){function Lt(He,F){Object(n.a)(this,Lt),this.themeType=F;var U=He.options,s=U.get(40);this.renderWhitespace=U.get(85),this.renderControlCharacters=U.get(79),this.spaceWidth=s.spaceWidth,this.middotWidth=s.middotWidth,this.wsmiddotWidth=s.wsmiddotWidth,this.useMonospaceOptimizations=s.isMonospace&&!U.get(27),this.canUseHalfwidthRightwardsArrow=s.canUseHalfwidthRightwardsArrow,this.lineHeight=U.get(55),this.stopRenderingLineAfter=U.get(102),this.fontLigatures=U.get(41)}return Object(v.a)(Lt,[{key:"equals",value:function(F){return this.themeType===F.themeType&&this.renderWhitespace===F.renderWhitespace&&this.renderControlCharacters===F.renderControlCharacters&&this.spaceWidth===F.spaceWidth&&this.middotWidth===F.middotWidth&&this.wsmiddotWidth===F.wsmiddotWidth&&this.useMonospaceOptimizations===F.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===F.canUseHalfwidthRightwardsArrow&&this.lineHeight===F.lineHeight&&this.stopRenderingLineAfter===F.stopRenderingLineAfter&&this.fontLigatures===F.fontLigatures}}]),Lt}(),Ee=function(){function Lt(He){Object(n.a)(this,Lt),this._options=He,this._isMaybeInvalid=!0,this._renderedViewLine=null}return Object(v.a)(Lt,[{key:"getDomNode",value:function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}},{key:"setDomNode",value:function(F){if(this._renderedViewLine)this._renderedViewLine.domNode=Object(O.b)(F);else throw new Error("I have no rendered view line to set the dom node to...")}},{key:"onContentChanged",value:function(){this._isMaybeInvalid=!0}},{key:"onTokensChanged",value:function(){this._isMaybeInvalid=!0}},{key:"onDecorationsChanged",value:function(){this._isMaybeInvalid=!0}},{key:"onOptionsChanged",value:function(F){this._isMaybeInvalid=!0,this._options=F}},{key:"onSelectionChanged",value:function(){return this._options.themeType===je.a.HIGH_CONTRAST||this._options.renderWhitespace==="selection"?(this._isMaybeInvalid=!0,!0):!1}},{key:"renderLine",value:function(F,U,s,N){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;var Q=s.getViewLineRenderingData(F),xe=this._options,Je=Se.a.filter(Q.inlineDecorations,F,Q.minColumn,Q.maxColumn),Ge=null;if(xe.themeType===je.a.HIGH_CONTRAST||this._options.renderWhitespace==="selection"){var qt=s.selections,fn=Object(c.a)(qt),Wn;try{for(fn.s();!(Wn=fn.n()).done;){var Yt=Wn.value;if(!(Yt.endLineNumber<F||Yt.startLineNumber>F)){var Yn=Yt.startLineNumber===F?Yt.startColumn:Q.minColumn,hr=Yt.endLineNumber===F?Yt.endColumn:Q.maxColumn;Yn<hr&&(xe.themeType===je.a.HIGH_CONTRAST||this._options.renderWhitespace!=="selection"?Je.push(new Se.a(Yn,hr,"inline-selected-text",0)):(Ge||(Ge=[]),Ge.push(new Te.b(Yn-1,hr-1))))}}}catch(fi){fn.e(fi)}finally{fn.f()}}var Wr=new Te.c(xe.useMonospaceOptimizations,xe.canUseHalfwidthRightwardsArrow,Q.content,Q.continuesWithWrappedLine,Q.isBasicASCII,Q.containsRTL,Q.minColumn-1,Q.tokens,Je,Q.tabSize,Q.startVisibleColumn,xe.spaceWidth,xe.middotWidth,xe.wsmiddotWidth,xe.stopRenderingLineAfter,xe.renderWhitespace,xe.renderControlCharacters,xe.fontLigatures!==ft.e.OFF,Ge);if(this._renderedViewLine&&this._renderedViewLine.input.equals(Wr))return!1;N.appendASCIIString('<div style="top:'),N.appendASCIIString(String(U)),N.appendASCIIString("px;height:"),N.appendASCIIString(String(this._options.lineHeight)),N.appendASCIIString('px;" class="'),N.appendASCIIString(Lt.CLASS_NAME),N.appendASCIIString('">');var $r=Object(Te.d)(Wr,N);N.appendASCIIString("</div>");var wi=null;return ie&&fe&&Q.isBasicASCII&&xe.useMonospaceOptimizations&&$r.containsForeignElements===0&&Q.content.length<300&&Wr.lineTokens.getCount()<100&&(wi=new Me(this._renderedViewLine?this._renderedViewLine.domNode:null,Wr,$r.characterMapping)),wi||(wi=et(this._renderedViewLine?this._renderedViewLine.domNode:null,Wr,$r.characterMapping,$r.containsRTL,$r.containsForeignElements)),this._renderedViewLine=wi,!0}},{key:"layoutLine",value:function(F,U){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(U),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}},{key:"getWidth",value:function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}},{key:"getWidthIsFast",value:function(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0}},{key:"needsMonospaceFontCheck",value:function(){return this._renderedViewLine?this._renderedViewLine instanceof Me:!1}},{key:"monospaceAssumptionsAreValid",value:function(){return this._renderedViewLine&&this._renderedViewLine instanceof Me?this._renderedViewLine.monospaceAssumptionsAreValid():ie}},{key:"onMonospaceAssumptionsInvalidated",value:function(){this._renderedViewLine&&this._renderedViewLine instanceof Me&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}},{key:"getVisibleRangesForRange",value:function(F,U,s){if(!this._renderedViewLine)return null;F=F|0,U=U|0,F=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,F)),U=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,U));var N=this._renderedViewLine.input.stopRenderingLineAfter|0,Q=!1;N!==-1&&F>N+1&&U>N+1&&(Q=!0),N!==-1&&F>N+1&&(F=N+1),N!==-1&&U>N+1&&(U=N+1);var xe=this._renderedViewLine.getVisibleRangesForRange(F,U,s);return xe&&xe.length>0?new X(Q,xe):null}},{key:"getColumnOfNodeOffset",value:function(F,U,s){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(F,U,s):1}}]),Lt}();Ee.CLASS_NAME="view-line";var Me=function(){function Lt(He,F,U){Object(n.a)(this,Lt),this.domNode=He,this.input=F,this._characterMapping=U,this._charWidth=F.spaceWidth}return Object(v.a)(Lt,[{key:"getWidth",value:function(){return this._getCharPosition(this._characterMapping.length)}},{key:"getWidthIsFast",value:function(){return!0}},{key:"monospaceAssumptionsAreValid",value:function(){if(!this.domNode)return ie;var F=this.getWidth(),U=this.domNode.domNode.firstChild.offsetWidth;return Math.abs(F-U)>=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),ie=!1),ie}},{key:"toSlowRenderedLine",value:function(){return et(this.domNode,this.input,this._characterMapping,!1,0)}},{key:"getVisibleRangesForRange",value:function(F,U,s){var N=this._getCharPosition(F),Q=this._getCharPosition(U);return[new z(N,Q-N)]}},{key:"_getCharPosition",value:function(F){var U=this._characterMapping.getAbsoluteOffsets();return U.length===0?0:Math.round(this._charWidth*U[F-1])}},{key:"getColumnOfNodeOffset",value:function(F,U,s){for(var N=U.textContent.length,Q=-1;U;)U=U.previousSibling,Q++;var xe=this._characterMapping.partDataToCharOffset(Q,N,s);return xe+1}}]),Lt}(),_e=function(){function Lt(He,F,U,s,N){if(Object(n.a)(this,Lt),this.domNode=He,this.input=F,this._characterMapping=U,this._isWhitespaceOnly=/^\s*$/.test(F.lineContent),this._containsForeignElements=N,this._cachedWidth=-1,this._pixelOffsetCache=null,!s||this._characterMapping.length===0){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var Q=0,xe=this._characterMapping.length;Q<=xe;Q++)this._pixelOffsetCache[Q]=-1}}return Object(v.a)(Lt,[{key:"_getReadingTarget",value:function(F){return F.domNode.firstChild}},{key:"getWidth",value:function(){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0}},{key:"getWidthIsFast",value:function(){return this._cachedWidth!==-1}},{key:"getVisibleRangesForRange",value:function(F,U,s){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){var N=this._readPixelOffset(this.domNode,F,s);if(N===-1)return null;var Q=this._readPixelOffset(this.domNode,U,s);return Q===-1?null:[new z(N,Q-N)]}return this._readVisibleRangesForRange(this.domNode,F,U,s)}},{key:"_readVisibleRangesForRange",value:function(F,U,s,N){if(U===s){var Q=this._readPixelOffset(F,U,N);return Q===-1?null:[new z(Q,0)]}else return this._readRawVisibleRangesForRange(F,U,s,N)}},{key:"_readPixelOffset",value:function(F,U,s){if(this._characterMapping.length===0){if(this._containsForeignElements===0||this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth();var N=this._getReadingTarget(F);return N.firstChild?N.firstChild.offsetWidth:0}if(this._pixelOffsetCache!==null){var Q=this._pixelOffsetCache[U];if(Q!==-1)return Q;var xe=this._actualReadPixelOffset(F,U,s);return this._pixelOffsetCache[U]=xe,xe}return this._actualReadPixelOffset(F,U,s)}},{key:"_actualReadPixelOffset",value:function(F,U,s){if(this._characterMapping.length===0){var N=ae.readHorizontalRanges(this._getReadingTarget(F),0,0,0,0,s.clientRectDeltaLeft,s.endNode);return!N||N.length===0?-1:N[0].left}if(U===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth();var Q=this._characterMapping.charOffsetToPartData(U-1),xe=Te.a.getPartIndex(Q),Je=Te.a.getCharIndex(Q),Ge=ae.readHorizontalRanges(this._getReadingTarget(F),xe,Je,xe,Je,s.clientRectDeltaLeft,s.endNode);if(!Ge||Ge.length===0)return-1;var qt=Ge[0].left;if(this.input.isBasicASCII){var fn=this._characterMapping.getAbsoluteOffsets(),Wn=Math.round(this.input.spaceWidth*fn[U-1]);if(Math.abs(Wn-qt)<=1)return Wn}return qt}},{key:"_readRawVisibleRangesForRange",value:function(F,U,s,N){if(U===1&&s===this._characterMapping.length)return[new z(0,this.getWidth())];var Q=this._characterMapping.charOffsetToPartData(U-1),xe=Te.a.getPartIndex(Q),Je=Te.a.getCharIndex(Q),Ge=this._characterMapping.charOffsetToPartData(s-1),qt=Te.a.getPartIndex(Ge),fn=Te.a.getCharIndex(Ge);return ae.readHorizontalRanges(this._getReadingTarget(F),xe,Je,qt,fn,N.clientRectDeltaLeft,N.endNode)}},{key:"getColumnOfNodeOffset",value:function(F,U,s){for(var N=U.textContent.length,Q=-1;U;)U=U.previousSibling,Q++;var xe=this._characterMapping.partDataToCharOffset(Q,N,s);return xe+1}}]),Lt}(),Re=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(){return Object(n.a)(this,F),He.apply(this,arguments)}return Object(v.a)(F,[{key:"_readVisibleRangesForRange",value:function(s,N,Q,xe){var Je=Object(f.a)(Object(o.a)(F.prototype),"_readVisibleRangesForRange",this).call(this,s,N,Q,xe);if(!Je||Je.length===0||N===Q||N===1&&Q===this._characterMapping.length)return Je;if(!this.input.containsRTL){var Ge=this._readPixelOffset(s,Q,xe);if(Ge!==-1){var qt=Je[Je.length-1];qt.left<Ge&&(qt.width=Ge-qt.left)}}return Je}}]),F}(_e),et=function(){return b.k?Xe:it}();function Xe(Lt,He,F,U,s){return new Re(Lt,He,F,U,s)}function it(Lt,He,F,U,s){return new _e(Lt,He,F,U,s)}var bt=e("cGHE"),Ct=e("aokT"),Bt=e("Ll0s"),qe=e("cIqD"),st=Object(v.a)(function Lt(He,F){Object(n.a)(this,Lt),this.lastViewCursorsRenderData=He,this.lastTextareaPosition=F}),ut=function(){function Lt(He,F){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,N=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,Q=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;Object(n.a)(this,Lt),this.element=He,this.type=F,this.mouseColumn=U,this.position=s,!N&&s&&(N=new Ct.a(s.lineNumber,s.column,s.lineNumber,s.column)),this.range=N,this.detail=Q}return Object(v.a)(Lt,[{key:"toString",value:function(){return Lt.toString(this)}}],[{key:"_typeToString",value:function(F){return F===1?"TEXTAREA":F===2?"GUTTER_GLYPH_MARGIN":F===3?"GUTTER_LINE_NUMBERS":F===4?"GUTTER_LINE_DECORATIONS":F===5?"GUTTER_VIEW_ZONE":F===6?"CONTENT_TEXT":F===7?"CONTENT_EMPTY":F===8?"CONTENT_VIEW_ZONE":F===9?"CONTENT_WIDGET":F===10?"OVERVIEW_RULER":F===11?"SCROLLBAR":F===12?"OVERLAY_WIDGET":"UNKNOWN"}},{key:"toString",value:function(F){return this._typeToString(F.type)+": "+F.position+" - "+F.range+" - "+F.detail}}]),Lt}(),nt=function(){function Lt(){Object(n.a)(this,Lt)}return Object(v.a)(Lt,null,[{key:"isTextArea",value:function(F){return F.length===2&&F[0]===3&&F[1]===6}},{key:"isChildOfViewLines",value:function(F){return F.length>=4&&F[0]===3&&F[3]===7}},{key:"isStrictChildOfViewLines",value:function(F){return F.length>4&&F[0]===3&&F[3]===7}},{key:"isChildOfScrollableElement",value:function(F){return F.length>=2&&F[0]===3&&F[1]===5}},{key:"isChildOfMinimap",value:function(F){return F.length>=2&&F[0]===3&&F[1]===8}},{key:"isChildOfContentWidgets",value:function(F){return F.length>=4&&F[0]===3&&F[3]===1}},{key:"isChildOfOverflowingContentWidgets",value:function(F){return F.length>=1&&F[0]===2}},{key:"isChildOfOverlayWidgets",value:function(F){return F.length>=2&&F[0]===3&&F[1]===4}}]),Lt}(),kt=function(){function Lt(He,F,U){Object(n.a)(this,Lt),this.model=He.model;var s=He.configuration.options;this.layoutInfo=s.get(127),this.viewDomNode=F.viewDomNode,this.lineHeight=s.get(55),this.stickyTabStops=s.get(101),this.typicalHalfwidthCharacterWidth=s.get(40).typicalHalfwidthCharacterWidth,this.lastRenderData=U,this._context=He,this._viewHelper=F}return Object(v.a)(Lt,[{key:"getZoneAtCoord",value:function(F){return Lt.getZoneAtCoord(this._context,F)}},{key:"getFullLineRangeAtCoord",value:function(F){if(this._context.viewLayout.isAfterLines(F)){var U=this._context.model.getLineCount(),s=this._context.model.getLineMaxColumn(U);return{range:new Ct.a(U,s,U,s),isAfterLines:!0}}var N=this._context.viewLayout.getLineNumberAtVerticalOffset(F),Q=this._context.model.getLineMaxColumn(N);return{range:new Ct.a(N,1,N,Q),isAfterLines:!1}}},{key:"getLineNumberAtVerticalOffset",value:function(F){return this._context.viewLayout.getLineNumberAtVerticalOffset(F)}},{key:"isAfterLines",value:function(F){return this._context.viewLayout.isAfterLines(F)}},{key:"isInTopPadding",value:function(F){return this._context.viewLayout.isInTopPadding(F)}},{key:"isInBottomPadding",value:function(F){return this._context.viewLayout.isInBottomPadding(F)}},{key:"getVerticalOffsetForLineNumber",value:function(F){return this._context.viewLayout.getVerticalOffsetForLineNumber(F)}},{key:"findAttribute",value:function(F,U){return Lt._findAttribute(F,U,this._viewHelper.viewDomNode)}},{key:"getLineWidth",value:function(F){return this._viewHelper.getLineWidth(F)}},{key:"visibleRangeForPosition",value:function(F,U){return this._viewHelper.visibleRangeForPosition(F,U)}},{key:"getPositionFromDOMInfo",value:function(F,U){return this._viewHelper.getPositionFromDOMInfo(F,U)}},{key:"getCurrentScrollTop",value:function(){return this._context.viewLayout.getCurrentScrollTop()}},{key:"getCurrentScrollLeft",value:function(){return this._context.viewLayout.getCurrentScrollLeft()}}],[{key:"getZoneAtCoord",value:function(F,U){var s=F.viewLayout.getWhitespaceAtVerticalOffset(U);if(s){var N=s.verticalOffset+s.height/2,Q=F.model.getLineCount(),xe=null,Je,Ge=null;return s.afterLineNumber!==Q&&(Ge=new bt.a(s.afterLineNumber+1,1)),s.afterLineNumber>0&&(xe=new bt.a(s.afterLineNumber,F.model.getLineMaxColumn(s.afterLineNumber))),Ge===null?Je=xe:xe===null?Je=Ge:U<N?Je=xe:Je=Ge,{viewZoneId:s.id,afterLineNumber:s.afterLineNumber,positionBefore:xe,positionAfter:Ge,position:Je}}return null}},{key:"_findAttribute",value:function(F,U,s){for(;F&&F!==document.body;){if(F.hasAttribute&&F.hasAttribute(U))return F.getAttribute(U);if(F===s)return null;F=F.parentNode}return null}}]),Lt}(),Sn=Object(v.a)(function Lt(He,F,U){Object(n.a)(this,Lt),this.editorPos=F,this.pos=U,this.mouseVerticalOffset=Math.max(0,He.getCurrentScrollTop()+U.y-F.y),this.mouseContentHorizontalOffset=He.getCurrentScrollLeft()+U.x-F.x-He.layoutInfo.contentLeft,this.isInMarginArea=U.x-F.x<He.layoutInfo.contentLeft&&U.x-F.x>=He.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,Ft._getMouseColumn(this.mouseContentHorizontalOffset,He.typicalHalfwidthCharacterWidth))}),Tt=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N,Q){var xe;return Object(n.a)(this,F),xe=He.call(this,U,s,N),xe._ctx=U,Q?(xe.target=Q,xe.targetPath=ce.collect(Q,U.viewDomNode)):(xe.target=null,xe.targetPath=new Uint8Array(0)),xe}return Object(v.a)(F,[{key:"toString",value:function(){return"pos(".concat(this.pos.x,",").concat(this.pos.y,"), editorPos(").concat(this.editorPos.x,",").concat(this.editorPos.y,"), mouseVerticalOffset: ").concat(this.mouseVerticalOffset,", mouseContentHorizontalOffset: ").concat(this.mouseContentHorizontalOffset,`
- target: `).concat(this.target?this.target.outerHTML:null)}},{key:"fulfill",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Je=this.mouseColumn;return N&&N.column<this._ctx.model.getLineMaxColumn(N.lineNumber)&&(Je=Bt.a.visibleColumnFromColumn(this._ctx.model.getLineContent(N.lineNumber),N.column,this._ctx.model.getTextModelOptions().tabSize)+1),new ut(this.target,s,Je,N,Q,xe)}},{key:"withTarget",value:function(s){return new F(this._ctx,this.editorPos,this.pos,s)}}]),F}(Sn),ht={isAfterLines:!0};function Rt(Lt){return{isAfterLines:!1,horizontalDistanceToText:Lt}}var Ft=function(){function Lt(He,F){Object(n.a)(this,Lt),this._context=He,this._viewHelper=F}return Object(v.a)(Lt,[{key:"mouseTargetIsWidget",value:function(F){var U=F.target,s=ce.collect(U,this._viewHelper.viewDomNode);return!!(nt.isChildOfContentWidgets(s)||nt.isChildOfOverflowingContentWidgets(s)||nt.isChildOfOverlayWidgets(s))}},{key:"createMouseTarget",value:function(F,U,s,N){var Q=new kt(this._context,this._viewHelper,F),xe=new Tt(Q,U,s,N);try{var Je=Lt._createMouseTarget(Q,xe,!1);return Je}catch(Ge){return xe.fulfill(0)}}},{key:"getMouseColumn",value:function(F,U){var s=this._context.configuration.options,N=s.get(127),Q=this._context.viewLayout.getCurrentScrollLeft()+U.x-F.x-N.contentLeft;return Lt._getMouseColumn(Q,s.get(40).typicalHalfwidthCharacterWidth)}}],[{key:"_createMouseTarget",value:function(F,U,s){if(U.target===null){if(s)return U.fulfill(0);var N=Lt._doHitTest(F,U);return N.position?Lt.createMouseTargetFromHitTestPosition(F,U,N.position.lineNumber,N.position.column):this._createMouseTarget(F,U.withTarget(N.hitTarget),!0)}var Q=U,xe=null;return xe=xe||Lt._hitTestContentWidget(F,Q),xe=xe||Lt._hitTestOverlayWidget(F,Q),xe=xe||Lt._hitTestMinimap(F,Q),xe=xe||Lt._hitTestScrollbarSlider(F,Q),xe=xe||Lt._hitTestViewZone(F,Q),xe=xe||Lt._hitTestMargin(F,Q),xe=xe||Lt._hitTestViewCursor(F,Q),xe=xe||Lt._hitTestTextArea(F,Q),xe=xe||Lt._hitTestViewLines(F,Q,s),xe=xe||Lt._hitTestScrollbar(F,Q),xe||U.fulfill(0)}},{key:"_hitTestContentWidget",value:function(F,U){if(nt.isChildOfContentWidgets(U.targetPath)||nt.isChildOfOverflowingContentWidgets(U.targetPath)){var s=F.findAttribute(U.target,"widgetId");return s?U.fulfill(9,null,null,s):U.fulfill(0)}return null}},{key:"_hitTestOverlayWidget",value:function(F,U){if(nt.isChildOfOverlayWidgets(U.targetPath)){var s=F.findAttribute(U.target,"widgetId");return s?U.fulfill(12,null,null,s):U.fulfill(0)}return null}},{key:"_hitTestViewCursor",value:function(F,U){if(U.target){var s=F.lastRenderData.lastViewCursorsRenderData,N=Object(c.a)(s),Q;try{for(N.s();!(Q=N.n()).done;){var xe=Q.value;if(U.target===xe.domNode)return U.fulfill(6,xe.position)}}catch(hr){N.e(hr)}finally{N.f()}}if(U.isInContentArea){var Je=F.lastRenderData.lastViewCursorsRenderData,Ge=U.mouseContentHorizontalOffset,qt=U.mouseVerticalOffset,fn=Object(c.a)(Je),Wn;try{for(fn.s();!(Wn=fn.n()).done;){var Yt=Wn.value;if(!(Ge<Yt.contentLeft)&&!(Ge>Yt.contentLeft+Yt.width)){var Yn=F.getVerticalOffsetForLineNumber(Yt.position.lineNumber);if(Yn<=qt&&qt<=Yn+Yt.height)return U.fulfill(6,Yt.position)}}}catch(hr){fn.e(hr)}finally{fn.f()}}return null}},{key:"_hitTestViewZone",value:function(F,U){var s=F.getZoneAtCoord(U.mouseVerticalOffset);if(s){var N=U.isInContentArea?8:5;return U.fulfill(N,s.position,null,s)}return null}},{key:"_hitTestTextArea",value:function(F,U){return nt.isTextArea(U.targetPath)?F.lastRenderData.lastTextareaPosition?U.fulfill(6,F.lastRenderData.lastTextareaPosition):U.fulfill(1,F.lastRenderData.lastTextareaPosition):null}},{key:"_hitTestMargin",value:function(F,U){if(U.isInMarginArea){var s=F.getFullLineRangeAtCoord(U.mouseVerticalOffset),N=s.range.getStartPosition(),Q=Math.abs(U.pos.x-U.editorPos.x),xe={isAfterLines:s.isAfterLines,glyphMarginLeft:F.layoutInfo.glyphMarginLeft,glyphMarginWidth:F.layoutInfo.glyphMarginWidth,lineNumbersWidth:F.layoutInfo.lineNumbersWidth,offsetX:Q};return Q-=F.layoutInfo.glyphMarginLeft,Q<=F.layoutInfo.glyphMarginWidth?U.fulfill(2,N,s.range,xe):(Q-=F.layoutInfo.glyphMarginWidth,Q<=F.layoutInfo.lineNumbersWidth?U.fulfill(3,N,s.range,xe):(Q-=F.layoutInfo.lineNumbersWidth,U.fulfill(4,N,s.range,xe)))}return null}},{key:"_hitTestViewLines",value:function(F,U,s){if(!nt.isChildOfViewLines(U.targetPath))return null;if(F.isInTopPadding(U.mouseVerticalOffset))return U.fulfill(7,new bt.a(1,1),void 0,ht);if(F.isAfterLines(U.mouseVerticalOffset)||F.isInBottomPadding(U.mouseVerticalOffset)){var N=F.model.getLineCount(),Q=F.model.getLineMaxColumn(N);return U.fulfill(7,new bt.a(N,Q),void 0,ht)}if(s){if(nt.isStrictChildOfViewLines(U.targetPath)){var xe=F.getLineNumberAtVerticalOffset(U.mouseVerticalOffset);if(F.model.getLineLength(xe)===0){var Je=F.getLineWidth(xe),Ge=Rt(U.mouseContentHorizontalOffset-Je);return U.fulfill(7,new bt.a(xe,1),void 0,Ge)}var qt=F.getLineWidth(xe);if(U.mouseContentHorizontalOffset>=qt){var fn=Rt(U.mouseContentHorizontalOffset-qt),Wn=new bt.a(xe,F.model.getLineMaxColumn(xe));return U.fulfill(7,Wn,void 0,fn)}}return U.fulfill(0)}var Yt=Lt._doHitTest(F,U);return Yt.position?Lt.createMouseTargetFromHitTestPosition(F,U,Yt.position.lineNumber,Yt.position.column):this._createMouseTarget(F,U.withTarget(Yt.hitTarget),!0)}},{key:"_hitTestMinimap",value:function(F,U){if(nt.isChildOfMinimap(U.targetPath)){var s=F.getLineNumberAtVerticalOffset(U.mouseVerticalOffset),N=F.model.getLineMaxColumn(s);return U.fulfill(11,new bt.a(s,N))}return null}},{key:"_hitTestScrollbarSlider",value:function(F,U){if(nt.isChildOfScrollableElement(U.targetPath)&&U.target&&U.target.nodeType===1){var s=U.target.className;if(s&&/\b(slider|scrollbar)\b/.test(s)){var N=F.getLineNumberAtVerticalOffset(U.mouseVerticalOffset),Q=F.model.getLineMaxColumn(N);return U.fulfill(11,new bt.a(N,Q))}}return null}},{key:"_hitTestScrollbar",value:function(F,U){if(nt.isChildOfScrollableElement(U.targetPath)){var s=F.getLineNumberAtVerticalOffset(U.mouseVerticalOffset),N=F.model.getLineMaxColumn(s);return U.fulfill(11,new bt.a(s,N))}return null}},{key:"_getMouseColumn",value:function(F,U){if(F<0)return 1;var s=Math.round(F/U);return s+1}},{key:"createMouseTargetFromHitTestPosition",value:function(F,U,s,N){var Q=new bt.a(s,N),xe=F.getLineWidth(s);if(U.mouseContentHorizontalOffset>xe){var Je=Rt(U.mouseContentHorizontalOffset-xe);return U.fulfill(7,Q,void 0,Je)}var Ge=F.visibleRangeForPosition(s,N);if(!Ge)return U.fulfill(0,Q);var qt=Ge.left;if(U.mouseContentHorizontalOffset===qt)return U.fulfill(6,Q);var fn=[];if(fn.push({offset:Ge.left,column:N}),N>1){var Wn=F.visibleRangeForPosition(s,N-1);Wn&&fn.push({offset:Wn.left,column:N-1})}var Yt=F.model.getLineMaxColumn(s);if(N<Yt){var Yn=F.visibleRangeForPosition(s,N+1);Yn&&fn.push({offset:Yn.left,column:N+1})}fn.sort(function(fi,Vi){return fi.offset-Vi.offset});for(var hr=1;hr<fn.length;hr++){var Wr=fn[hr-1],$r=fn[hr];if(Wr.offset<=U.mouseContentHorizontalOffset&&U.mouseContentHorizontalOffset<=$r.offset){var wi=new Ct.a(s,Wr.column,s,$r.column);return U.fulfill(6,Q,wi)}}return U.fulfill(6,Q)}},{key:"_doHitTestWithCaretRangeFromPoint",value:function(F,U){var s=F.getLineNumberAtVerticalOffset(U.mouseVerticalOffset),N=F.getVerticalOffsetForLineNumber(s),Q=N+Math.floor(F.lineHeight/2),xe=U.pos.y+(Q-U.mouseVerticalOffset);xe<=U.editorPos.y&&(xe=U.editorPos.y+1),xe>=U.editorPos.y+F.layoutInfo.height&&(xe=U.editorPos.y+F.layoutInfo.height-1);var Je=new ye(U.pos.x,xe),Ge=this._actualDoHitTestWithCaretRangeFromPoint(F,Je.toClientCoordinates());return Ge.position?Ge:this._actualDoHitTestWithCaretRangeFromPoint(F,U.pos.toClientCoordinates())}},{key:"_actualDoHitTestWithCaretRangeFromPoint",value:function(F,U){var s=k.getShadowRoot(F.viewDomNode),N;if(s?typeof s.caretRangeFromPoint=="undefined"?N=nn(s,U.clientX,U.clientY):N=s.caretRangeFromPoint(U.clientX,U.clientY):N=document.caretRangeFromPoint(U.clientX,U.clientY),!N||!N.startContainer)return{position:null,hitTarget:null};var Q=N.startContainer,xe=null;if(Q.nodeType===Q.TEXT_NODE){var Je=Q.parentNode,Ge=Je?Je.parentNode:null,qt=Ge?Ge.parentNode:null,fn=qt&&qt.nodeType===qt.ELEMENT_NODE?qt.className:null;if(fn===Ee.CLASS_NAME){var Wn=F.getPositionFromDOMInfo(Je,N.startOffset);return{position:Wn,hitTarget:null}}else xe=Q.parentNode}else if(Q.nodeType===Q.ELEMENT_NODE){var Yt=Q.parentNode,Yn=Yt?Yt.parentNode:null,hr=Yn&&Yn.nodeType===Yn.ELEMENT_NODE?Yn.className:null;if(hr===Ee.CLASS_NAME){var Wr=F.getPositionFromDOMInfo(Q,Q.textContent.length);return{position:Wr,hitTarget:null}}else xe=Q}return{position:null,hitTarget:xe}}},{key:"_doHitTestWithCaretPositionFromPoint",value:function(F,U){var s=document.caretPositionFromPoint(U.clientX,U.clientY);if(s.offsetNode.nodeType===s.offsetNode.TEXT_NODE){var N=s.offsetNode.parentNode,Q=N?N.parentNode:null,xe=Q?Q.parentNode:null,Je=xe&&xe.nodeType===xe.ELEMENT_NODE?xe.className:null;if(Je===Ee.CLASS_NAME){var Ge=F.getPositionFromDOMInfo(s.offsetNode.parentNode,s.offset);return{position:Ge,hitTarget:null}}else return{position:null,hitTarget:s.offsetNode.parentNode}}if(s.offsetNode.nodeType===s.offsetNode.ELEMENT_NODE){var qt=s.offsetNode.parentNode,fn=qt&&qt.nodeType===qt.ELEMENT_NODE?qt.className:null,Wn=qt?qt.parentNode:null,Yt=Wn&&Wn.nodeType===Wn.ELEMENT_NODE?Wn.className:null;if(fn===Ee.CLASS_NAME){var Yn=s.offsetNode.childNodes[Math.min(s.offset,s.offsetNode.childNodes.length-1)];if(Yn){var hr=F.getPositionFromDOMInfo(Yn,0);return{position:hr,hitTarget:null}}}else if(Yt===Ee.CLASS_NAME){var Wr=F.getPositionFromDOMInfo(s.offsetNode,0);return{position:Wr,hitTarget:null}}}return{position:null,hitTarget:s.offsetNode}}},{key:"_snapToSoftTabBoundary",value:function(F,U){var s=U.getLineContent(F.lineNumber),N=U.getTextModelOptions(),Q=N.tabSize,xe=qe.a.atomicPosition(s,F.column-1,Q,2);return xe!==-1?new bt.a(F.lineNumber,xe+1):F}},{key:"_doHitTest",value:function(F,U){var s;return typeof document.caretRangeFromPoint=="function"?s=this._doHitTestWithCaretRangeFromPoint(F,U):document.caretPositionFromPoint?s=this._doHitTestWithCaretPositionFromPoint(F,U.pos.toClientCoordinates()):s={position:null,hitTarget:null},s.position&&F.stickyTabStops&&(s.position=this._snapToSoftTabBoundary(s.position,F.model)),s}}]),Lt}();function nn(Lt,He,F){var U=document.createRange(),s=Lt.elementFromPoint(He,F);if(s!==null){for(;s&&s.firstChild&&s.firstChild.nodeType!==s.firstChild.TEXT_NODE&&s.lastChild&&s.lastChild.firstChild;)s=s.lastChild;var N=s.getBoundingClientRect(),Q=window.getComputedStyle(s,null).getPropertyValue("font"),xe=s.innerText,Je=N.left,Ge=0,qt;if(He>N.left+N.width)Ge=xe.length;else for(var fn=bn.getInstance(),Wn=0;Wn<xe.length+1;Wn++){if(qt=fn.getCharWidth(xe.charAt(Wn),Q)/2,Je+=qt,He<Je){Ge=Wn;break}Je+=qt}U.setStart(s.firstChild,Ge),U.setEnd(s.firstChild,Ge)}return U}var bn=function(){function Lt(){Object(n.a)(this,Lt),this._cache={},this._canvas=document.createElement("canvas")}return Object(v.a)(Lt,[{key:"getCharWidth",value:function(F,U){var s=F+U;if(this._cache[s])return this._cache[s];var N=this._canvas.getContext("2d");N.font=U;var Q=N.measureText(F),xe=Q.width;return this._cache[s]=xe,xe}}],[{key:"getInstance",value:function(){return Lt._INSTANCE||(Lt._INSTANCE=new Lt),Lt._INSTANCE}}]),Lt}();bn._INSTANCE=null;var sn=e("Yr1X");function un(Lt){return function(He,F){var U=!1;return Lt&&(U=Lt.mouseTargetIsWidget(F)),U||F.preventDefault(),F}}var Ht=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N){var Q;Object(n.a)(this,F),Q=He.call(this),Q._context=U,Q.viewController=s,Q.viewHelper=N,Q.mouseTargetFactory=new Ft(Q._context,N),Q._mouseDownOperation=Q._register(new jn(Q._context,Q.viewController,Q.viewHelper,function(Ge,qt){return Q._createMouseTarget(Ge,qt)},function(Ge){return Q._getMouseColumn(Ge)})),Q.lastMouseLeaveTime=-1,Q._height=Q._context.configuration.options.get(127).height;var xe=new ne(Q.viewHelper.viewDomNode);Q._register(xe.onContextMenu(Q.viewHelper.viewDomNode,function(Ge){return Q._onContextMenu(Ge,!0)})),Q._register(xe.onMouseMoveThrottled(Q.viewHelper.viewDomNode,function(Ge){return Q._onMouseMove(Ge)},un(Q.mouseTargetFactory),F.MOUSE_MOVE_MINIMUM_TIME)),Q._register(xe.onMouseUp(Q.viewHelper.viewDomNode,function(Ge){return Q._onMouseUp(Ge)})),Q._register(xe.onMouseLeave(Q.viewHelper.viewDomNode,function(Ge){return Q._onMouseLeave(Ge)})),Q._register(xe.onMouseDown(Q.viewHelper.viewDomNode,function(Ge){return Q._onMouseDown(Ge)}));var Je=function(qt){if(Q.viewController.emitMouseWheel(qt),!!Q._context.configuration.options.get(64)){var fn=new W.b(qt),Wn=E.f?(qt.metaKey||qt.ctrlKey)&&!qt.shiftKey&&!qt.altKey:qt.ctrlKey&&!qt.metaKey&&!qt.shiftKey&&!qt.altKey;if(Wn){var Yt=sn.a.getZoomLevel(),Yn=fn.deltaY>0?1:-1;sn.a.setZoomLevel(Yt+Yn),fn.preventDefault(),fn.stopPropagation()}}};return Q._register(k.addDisposableListener(Q.viewHelper.viewDomNode,k.EventType.MOUSE_WHEEL,Je,{capture:!0,passive:!1})),Q._context.addEventHandler(Object(r.a)(Q)),Q}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){if(s.hasChanged(127)){var N=this._context.configuration.options.get(127).height;this._height!==N&&(this._height=N,this._mouseDownOperation.onHeightChanged())}return!1}},{key:"onCursorStateChanged",value:function(s){return this._mouseDownOperation.onCursorStateChanged(s),!1}},{key:"onFocusChanged",value:function(s){return!1}},{key:"onScrollChanged",value:function(s){return this._mouseDownOperation.onScrollChanged(),!1}},{key:"getTargetAtClientPoint",value:function(s,N){var Q=new q(s,N),xe=Q.toPageCoordinates(),Je=he(this.viewHelper.viewDomNode);return xe.y<Je.y||xe.y>Je.y+Je.height||xe.x<Je.x||xe.x>Je.x+Je.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),Je,xe,null)}},{key:"_createMouseTarget",value:function(s,N){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),s.editorPos,s.pos,N?s.target:null)}},{key:"_getMouseColumn",value:function(s){return this.mouseTargetFactory.getMouseColumn(s.editorPos,s.pos)}},{key:"_onContextMenu",value:function(s,N){this.viewController.emitContextMenu({event:s,target:this._createMouseTarget(s,N)})}},{key:"_onMouseMove",value:function(s){if(!this._mouseDownOperation.isActive()){var N=s.timestamp;N<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:s,target:this._createMouseTarget(s,!0)})}}},{key:"_onMouseLeave",value:function(s){this.lastMouseLeaveTime=new Date().getTime(),this.viewController.emitMouseLeave({event:s,target:null})}},{key:"_onMouseUp",value:function(s){this.viewController.emitMouseUp({event:s,target:this._createMouseTarget(s,!0)})}},{key:"_onMouseDown",value:function(s){var N=this,Q=this._createMouseTarget(s,!0),xe=Q.type===6||Q.type===7,Je=Q.type===2||Q.type===3||Q.type===4,Ge=Q.type===3,qt=this._context.configuration.options.get(95),fn=Q.type===8||Q.type===5,Wn=Q.type===9,Yt=s.leftButton||s.middleButton;E.f&&s.leftButton&&s.ctrlKey&&(Yt=!1);var Yn=function(){s.preventDefault(),N.viewHelper.focusTextArea()};if(Yt&&(xe||Ge&&qt))Yn(),this._mouseDownOperation.start(Q.type,s);else if(Je)s.preventDefault();else if(fn){var hr=Q.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(hr.viewZoneId)&&(Yn(),this._mouseDownOperation.start(Q.type,s),s.preventDefault())}else Wn&&this.viewHelper.shouldSuppressMouseDownOnWidget(Q.detail)&&(Yn(),s.preventDefault());this.viewController.emitMouseDown({event:s,target:Q})}}]),F}(Z);Ht.MOUSE_MOVE_MINIMUM_TIME=100;var jn=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N,Q,xe){var Je;return Object(n.a)(this,F),Je=He.call(this),Je._context=U,Je._viewController=s,Je._viewHelper=N,Je._createMouseTarget=Q,Je._getMouseColumn=xe,Je._mouseMoveMonitor=Je._register(new be(Je._viewHelper.viewDomNode)),Je._onScrollTimeout=Je._register(new te.g),Je._mouseState=new Ln,Je._currentSelection=new d.a(1,1,1,1),Je._isActive=!1,Je._lastMouseEvent=null,Je}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"isActive",value:function(){return this._isActive}},{key:"_onMouseDownThenMove",value:function(s){this._lastMouseEvent=s,this._mouseState.setModifiers(s);var N=this._findMousePosition(s,!0);!N||(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:s,target:N}):this._dispatchMouse(N,!0))}},{key:"start",value:function(s,N){var Q=this;this._lastMouseEvent=N,this._mouseState.setStartedOnLineNumbers(s===3),this._mouseState.setStartButtons(N),this._mouseState.setModifiers(N);var xe=this._findMousePosition(N,!0);if(!(!xe||!xe.position)){this._mouseState.trySetCount(N.detail,xe.position),N.detail=this._mouseState.count;var Je=this._context.configuration.options;if(!Je.get(77)&&Je.get(29)&&!Je.get(16)&&!this._mouseState.altKey&&N.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&xe.type===6&&xe.position&&this._currentSelection.containsPosition(xe.position)){this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(N.target,N.buttons,un(null),function(Ge){return Q._onMouseDownThenMove(Ge)},function(Ge){var qt=Q._findMousePosition(Q._lastMouseEvent,!0);Ge&&Ge instanceof KeyboardEvent?Q._viewController.emitMouseDropCanceled():Q._viewController.emitMouseDrop({event:Q._lastMouseEvent,target:qt?Q._createMouseTarget(Q._lastMouseEvent,!0):null}),Q._stop()});return}this._mouseState.isDragAndDrop=!1,this._dispatchMouse(xe,N.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(N.target,N.buttons,un(null),function(Ge){return Q._onMouseDownThenMove(Ge)},function(){return Q._stop()}))}}},{key:"_stop",value:function(){this._isActive=!1,this._onScrollTimeout.cancel()}},{key:"onHeightChanged",value:function(){this._mouseMoveMonitor.stopMonitoring()}},{key:"onScrollChanged",value:function(){var s=this;!this._isActive||this._onScrollTimeout.setIfNotSet(function(){if(!!s._lastMouseEvent){var N=s._findMousePosition(s._lastMouseEvent,!1);!N||s._mouseState.isDragAndDrop||s._dispatchMouse(N,!0)}},10)}},{key:"onCursorStateChanged",value:function(s){this._currentSelection=s.selections[0]}},{key:"_getPositionOutsideEditor",value:function(s){var N=s.editorPos,Q=this._context.model,xe=this._context.viewLayout,Je=this._getMouseColumn(s);if(s.posy<N.y){var Ge=Math.max(xe.getCurrentScrollTop()-(N.y-s.posy),0),qt=kt.getZoneAtCoord(this._context,Ge);if(qt){var fn=this._helpPositionJumpOverViewZone(qt);if(fn)return new ut(null,13,Je,fn)}var Wn=xe.getLineNumberAtVerticalOffset(Ge);return new ut(null,13,Je,new bt.a(Wn,1))}if(s.posy>N.y+N.height){var Yt=xe.getCurrentScrollTop()+(s.posy-N.y),Yn=kt.getZoneAtCoord(this._context,Yt);if(Yn){var hr=this._helpPositionJumpOverViewZone(Yn);if(hr)return new ut(null,13,Je,hr)}var Wr=xe.getLineNumberAtVerticalOffset(Yt);return new ut(null,13,Je,new bt.a(Wr,Q.getLineMaxColumn(Wr)))}var $r=xe.getLineNumberAtVerticalOffset(xe.getCurrentScrollTop()+(s.posy-N.y));return s.posx<N.x?new ut(null,13,Je,new bt.a($r,1)):s.posx>N.x+N.width?new ut(null,13,Je,new bt.a($r,Q.getLineMaxColumn($r))):null}},{key:"_findMousePosition",value:function(s,N){var Q=this._getPositionOutsideEditor(s);if(Q)return Q;var xe=this._createMouseTarget(s,N),Je=xe.position;if(!Je)return null;if(xe.type===8||xe.type===5){var Ge=this._helpPositionJumpOverViewZone(xe.detail);if(Ge)return new ut(xe.element,xe.type,xe.mouseColumn,Ge,null,xe.detail)}return xe}},{key:"_helpPositionJumpOverViewZone",value:function(s){var N=new bt.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),Q=s.positionBefore,xe=s.positionAfter;return Q&&xe?Q.isBefore(N)?Q:xe:null}},{key:"_dispatchMouse",value:function(s,N){!s.position||this._viewController.dispatchMouse({position:s.position,mouseColumn:s.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:N,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})}}]),F}(Y.a),Ln=function(){function Lt(){Object(n.a)(this,Lt),this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object(v.a)(Lt,[{key:"altKey",get:function(){return this._altKey}},{key:"ctrlKey",get:function(){return this._ctrlKey}},{key:"metaKey",get:function(){return this._metaKey}},{key:"shiftKey",get:function(){return this._shiftKey}},{key:"leftButton",get:function(){return this._leftButton}},{key:"middleButton",get:function(){return this._middleButton}},{key:"startedOnLineNumbers",get:function(){return this._startedOnLineNumbers}},{key:"count",get:function(){return this._lastMouseDownCount}},{key:"setModifiers",value:function(F){this._altKey=F.altKey,this._ctrlKey=F.ctrlKey,this._metaKey=F.metaKey,this._shiftKey=F.shiftKey}},{key:"setStartButtons",value:function(F){this._leftButton=F.leftButton,this._middleButton=F.middleButton}},{key:"setStartedOnLineNumbers",value:function(F){this._startedOnLineNumbers=F}},{key:"trySetCount",value:function(F,U){var s=new Date().getTime();s-this._lastSetMouseDownCountTime>Lt.CLEAR_MOUSE_DOWN_COUNT_TIME&&(F=1),this._lastSetMouseDownCountTime=s,F>this._lastMouseDownCount+1&&(F=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(U)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=U,this._lastMouseDownCount=Math.min(F,this._lastMouseDownPositionEqualCount)}}]),Lt}();Ln.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var Un=e("CjF5"),lt=e("5TxY"),Nt=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N){var Q;Object(n.a)(this,F),Q=He.call(this,U,s,N),Q._register(D.b.addTarget(Q.viewHelper.linesContentDomNode)),Q._register(k.addDisposableListener(Q.viewHelper.linesContentDomNode,D.a.Tap,function(Je){return Q.onTap(Je)})),Q._register(k.addDisposableListener(Q.viewHelper.linesContentDomNode,D.a.Change,function(Je){return Q.onChange(Je)})),Q._register(k.addDisposableListener(Q.viewHelper.linesContentDomNode,D.a.Contextmenu,function(Je){return Q._onContextMenu(new ue(Je,Q.viewHelper.viewDomNode),!1)})),Q._lastPointerType="mouse",Q._register(k.addDisposableListener(Q.viewHelper.linesContentDomNode,"pointerdown",function(Je){var Ge=Je.pointerType;if(Ge==="mouse"){Q._lastPointerType="mouse";return}else Ge==="touch"?Q._lastPointerType="touch":Q._lastPointerType="pen"}));var xe=new se(Q.viewHelper.viewDomNode);return Q._register(xe.onPointerMoveThrottled(Q.viewHelper.viewDomNode,function(Je){return Q._onMouseMove(Je)},un(Q.mouseTargetFactory),Ht.MOUSE_MOVE_MINIMUM_TIME)),Q._register(xe.onPointerUp(Q.viewHelper.viewDomNode,function(Je){return Q._onMouseUp(Je)})),Q._register(xe.onPointerLeave(Q.viewHelper.viewDomNode,function(Je){return Q._onMouseLeave(Je)})),Q._register(xe.onPointerDown(Q.viewHelper.viewDomNode,function(Je){return Q._onMouseDown(Je)})),Q}return Object(v.a)(F,[{key:"onTap",value:function(s){if(!(!s.initialTarget||!this.viewHelper.linesContentDomNode.contains(s.initialTarget))){s.preventDefault(),this.viewHelper.focusTextArea();var N=this._createMouseTarget(new ue(s,this.viewHelper.viewDomNode),!1);N.position&&this.viewController.dispatchMouse({position:N.position,mouseColumn:N.position.column,startedOnLineNumbers:!1,mouseDownCount:s.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}}},{key:"onChange",value:function(s){this._lastPointerType==="touch"&&this._context.model.deltaScrollNow(-s.translationX,-s.translationY)}},{key:"_onMouseDown",value:function(s){s.browserEvent.pointerType!=="touch"&&Object(f.a)(Object(o.a)(F.prototype),"_onMouseDown",this).call(this,s)}}]),F}(Ht),zt=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N){var Q;return Object(n.a)(this,F),Q=He.call(this,U,s,N),Q._register(D.b.addTarget(Q.viewHelper.linesContentDomNode)),Q._register(k.addDisposableListener(Q.viewHelper.linesContentDomNode,D.a.Tap,function(xe){return Q.onTap(xe)})),Q._register(k.addDisposableListener(Q.viewHelper.linesContentDomNode,D.a.Change,function(xe){return Q.onChange(xe)})),Q._register(k.addDisposableListener(Q.viewHelper.linesContentDomNode,D.a.Contextmenu,function(xe){return Q._onContextMenu(new ue(xe,Q.viewHelper.viewDomNode),!1)})),Q}return Object(v.a)(F,[{key:"onTap",value:function(s){s.preventDefault(),this.viewHelper.focusTextArea();var N=this._createMouseTarget(new ue(s,this.viewHelper.viewDomNode),!1);if(N.position){var Q=document.createEvent("CustomEvent");Q.initEvent(lt.d.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(Q),this.viewController.moveTo(N.position)}}},{key:"onChange",value:function(s){this._context.model.deltaScrollNow(-s.translationX,-s.translationY)}}]),F}(Ht),en=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N){var Q;return Object(n.a)(this,F),Q=He.call(this),E.c&&Un.a.pointerEvents?Q.handler=Q._register(new Nt(U,s,N)):window.TouchEvent?Q.handler=Q._register(new zt(U,s,N)):Q.handler=Q._register(new Ht(U,s,N)),Q}return Object(v.a)(F,[{key:"getTargetAtClientPoint",value:function(s,N){return this.handler.getTargetAtClientPoint(s,N)}}]),F}(Y.a),tn=e("VvMK"),wn=e("N0LK"),on=e("Comh"),vn=e("Krc3"),dt=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(){return Object(n.a)(this,F),He.apply(this,arguments)}return Object(v.a)(F)}(Z),ct=e("kYye"),Kt=e("t9D7"),pn=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;return Object(n.a)(this,F),s=He.call(this),s._context=U,s._readConfig(),s._lastCursorModelPosition=new bt.a(1,1),s._renderResult=null,s._activeLineNumber=1,s._context.addEventHandler(Object(r.a)(s)),s}return Object(v.a)(F,[{key:"_readConfig",value:function(){var s=this._context.configuration.options;this._lineHeight=s.get(55);var N=s.get(56);this._renderLineNumbers=N.renderType,this._renderCustomLineNumbers=N.renderFn,this._renderFinalNewline=s.get(81);var Q=s.get(127);this._lineNumbersLeft=Q.lineNumbersLeft,this._lineNumbersWidth=Q.lineNumbersWidth}},{key:"dispose",value:function(){this._context.removeEventHandler(this),this._renderResult=null,Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){return this._readConfig(),!0}},{key:"onCursorStateChanged",value:function(s){var N=s.selections[0].getPosition();this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(N);var Q=!1;return this._activeLineNumber!==N.lineNumber&&(this._activeLineNumber=N.lineNumber,Q=!0),(this._renderLineNumbers===2||this._renderLineNumbers===3)&&(Q=!0),Q}},{key:"onFlushed",value:function(s){return!0}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollTopChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"_getLineRenderLineNumber",value:function(s){var N=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new bt.a(s,1));if(N.column!==1)return"";var Q=N.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(Q);if(this._renderLineNumbers===2){var xe=Math.abs(this._lastCursorModelPosition.lineNumber-Q);return xe===0?'<span class="relative-current-line-number">'+Q+"</span>":String(xe)}return this._renderLineNumbers===3?this._lastCursorModelPosition.lineNumber===Q||Q%10==0?String(Q):"":String(Q)}},{key:"prepareRender",value:function(s){if(this._renderLineNumbers===0){this._renderResult=null;return}for(var N=E.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",Q=s.visibleRange.startLineNumber,xe=s.visibleRange.endLineNumber,Je='<div class="'+F.CLASS_NAME+N+'" style="left:'+this._lineNumbersLeft+"px;width:"+this._lineNumbersWidth+'px;">',Ge=this._context.model.getLineCount(),qt=[],fn=Q;fn<=xe;fn++){var Wn=fn-Q;if(!this._renderFinalNewline&&fn===Ge&&this._context.model.getLineLength(fn)===0){qt[Wn]="";continue}var Yt=this._getLineRenderLineNumber(fn);Yt?fn===this._activeLineNumber?qt[Wn]='<div class="active-line-number '+F.CLASS_NAME+N+'" style="left:'+this._lineNumbersLeft+"px;width:"+this._lineNumbersWidth+'px;">'+Yt+"</div>":qt[Wn]=Je+Yt+"</div>":qt[Wn]=""}this._renderResult=qt}},{key:"render",value:function(s,N){if(!this._renderResult)return"";var Q=N-s;return Q<0||Q>=this._renderResult.length?"":this._renderResult[Q]}}]),F}(dt);pn.CLASS_NAME="line-numbers",Object(Kt.f)(function(Lt,He){var F=Lt.getColor(ct.k);F&&He.addRule(".monaco-editor .line-numbers { color: ".concat(F,"; }"));var U=Lt.getColor(ct.b);U&&He.addRule(".monaco-editor .line-numbers.active-line-number { color: ".concat(U,"; }"))});var kn=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this,U);var N=s._context.configuration.options,Q=N.get(127);return s._canUseLayerHinting=!N.get(26),s._contentLeft=Q.contentLeft,s._glyphMarginLeft=Q.glyphMarginLeft,s._glyphMarginWidth=Q.glyphMarginWidth,s._domNode=Object(O.b)(document.createElement("div")),s._domNode.setClassName(F.OUTER_CLASS_NAME),s._domNode.setPosition("absolute"),s._domNode.setAttribute("role","presentation"),s._domNode.setAttribute("aria-hidden","true"),s._glyphMarginBackgroundDomNode=Object(O.b)(document.createElement("div")),s._glyphMarginBackgroundDomNode.setClassName(F.CLASS_NAME),s._domNode.appendChild(s._glyphMarginBackgroundDomNode),s}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"getDomNode",value:function(){return this._domNode}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(127);return this._canUseLayerHinting=!N.get(26),this._contentLeft=Q.contentLeft,this._glyphMarginLeft=Q.glyphMarginLeft,this._glyphMarginWidth=Q.glyphMarginWidth,!0}},{key:"onScrollChanged",value:function(s){return Object(f.a)(Object(o.a)(F.prototype),"onScrollChanged",this).call(this,s)||s.scrollTopChanged}},{key:"prepareRender",value:function(s){}},{key:"render",value:function(s){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var N=s.scrollTop-s.bigNumbersDelta;this._domNode.setTop(-N);var Q=Math.min(s.scrollHeight,1e6);this._domNode.setHeight(Q),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(Q)}}]),F}(ee);kn.CLASS_NAME="glyph-margin",kn.OUTER_CLASS_NAME="margin";var Pt=e("5v8Y"),gn=e("51su"),_n=function(){function Lt(He,F,U){Object(n.a)(this,Lt),this.top=He,this.left=F,this.width=U}return Object(v.a)(Lt,[{key:"setWidth",value:function(F){return new Lt(this.top,this.left,F)}}]),Lt}(),Kn=b.g,qn=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N){var Q;Object(n.a)(this,F),Q=He.call(this,U),Q._primaryCursorPosition=new bt.a(1,1),Q._primaryCursorVisibleRange=null,Q._viewController=s,Q._viewHelper=N,Q._scrollLeft=0,Q._scrollTop=0;var xe=Q._context.configuration.options,Je=xe.get(127);Q._setAccessibilityOptions(xe),Q._contentLeft=Je.contentLeft,Q._contentWidth=Je.contentWidth,Q._contentHeight=Je.height,Q._fontInfo=xe.get(40),Q._lineHeight=xe.get(55),Q._emptySelectionClipboard=xe.get(30),Q._copyWithSyntaxHighlighting=xe.get(19),Q._visibleTextArea=null,Q._selections=[new d.a(1,1,1,1)],Q._modelSelections=[new d.a(1,1,1,1)],Q._lastRenderPosition=null,Q.textArea=Object(O.b)(document.createElement("textarea")),ce.write(Q.textArea,6),Q.textArea.setClassName("inputarea ".concat(gn.a)),Q.textArea.setAttribute("wrap","off"),Q.textArea.setAttribute("autocorrect","off"),Q.textArea.setAttribute("autocapitalize","off"),Q.textArea.setAttribute("autocomplete","off"),Q.textArea.setAttribute("spellcheck","false"),Q.textArea.setAttribute("aria-label",Q._getAriaLabel(xe)),Q.textArea.setAttribute("tabindex",String(xe.get(109))),Q.textArea.setAttribute("role","textbox"),Q.textArea.setAttribute("aria-roledescription",S.a("editor","editor")),Q.textArea.setAttribute("aria-multiline","true"),Q.textArea.setAttribute("aria-haspopup","false"),Q.textArea.setAttribute("aria-autocomplete","both"),xe.get(28)&&xe.get(77)&&Q.textArea.setAttribute("readonly","true"),Q.textAreaCover=Object(O.b)(document.createElement("div")),Q.textAreaCover.setPosition("absolute");var Ge={getLineCount:function(){return Q._context.model.getLineCount()},getLineMaxColumn:function(Wn){return Q._context.model.getLineMaxColumn(Wn)},getValueInRange:function(Wn,Yt){return Q._context.model.getValueInRange(Wn,Yt)}},qt={getDataToCopy:function(Wn){var Yt=Q._context.model.getPlainTextToCopy(Q._modelSelections,Q._emptySelectionClipboard,E.j),Yn=Q._context.model.getEOL(),hr=Q._emptySelectionClipboard&&Q._modelSelections.length===1&&Q._modelSelections[0].isEmpty(),Wr=Array.isArray(Yt)?Yt:null,$r=Array.isArray(Yt)?Yt.join(Yn):Yt,wi=void 0,fi=null;if(Wn&&(lt.a.forceCopyWithSyntaxHighlighting||Q._copyWithSyntaxHighlighting&&$r.length<65536)){var Vi=Q._context.model.getRichTextToCopy(Q._modelSelections,Q._emptySelectionClipboard);Vi&&(wi=Vi.html,fi=Vi.mode)}return{isFromEmptySelection:hr,multicursorText:Wr,text:$r,html:wi,mode:fi}},getScreenReaderContent:function(Wn){if(Q._accessibilitySupport===1){if(E.f){var Yt=Q._selections[0];if(Yt.isEmpty()){var Yn=Yt.getStartPosition(),hr=Q._getWordBeforePosition(Yn);if(hr.length===0&&(hr=Q._getCharacterBeforePosition(Yn)),hr.length>0)return new on.b(hr,hr.length,hr.length,Yn,Yn)}}return on.b.EMPTY}if(b.e){var Wr=Q._selections[0];if(Wr.isEmpty()){var $r=Wr.getStartPosition(),wi=Q._getAndroidWordAtPosition($r),fi=Object(u.a)(wi,2),Vi=fi[0],da=fi[1];if(Vi.length>0)return new on.b(Vi,da,da,$r,$r)}return on.b.EMPTY}return on.a.fromEditorSelection(Wn,Ge,Q._selections[0],Q._accessibilityPageSize,Q._accessibilitySupport===0)},deduceModelPosition:function(Wn,Yt,Yn){return Q._context.model.deduceModelPositionRelativeToViewPosition(Wn,Yt,Yn)}};return Q._textAreaInput=Q._register(new lt.c(qt,Q.textArea)),Q._register(Q._textAreaInput.onKeyDown(function(fn){Q._viewController.emitKeyDown(fn)})),Q._register(Q._textAreaInput.onKeyUp(function(fn){Q._viewController.emitKeyUp(fn)})),Q._register(Q._textAreaInput.onPaste(function(fn){var Wn=!1,Yt=null,Yn=null;fn.metadata&&(Wn=Q._emptySelectionClipboard&&!!fn.metadata.isFromEmptySelection,Yt=typeof fn.metadata.multicursorText!="undefined"?fn.metadata.multicursorText:null,Yn=fn.metadata.mode),Q._viewController.paste(fn.text,Wn,Yt,Yn)})),Q._register(Q._textAreaInput.onCut(function(){Q._viewController.cut()})),Q._register(Q._textAreaInput.onType(function(fn){fn.replacePrevCharCnt||fn.replaceNextCharCnt||fn.positionDelta?(on.c&&console.log(" => compositionType: <<".concat(fn.text,">>, ").concat(fn.replacePrevCharCnt,", ").concat(fn.replaceNextCharCnt,", ").concat(fn.positionDelta)),Q._viewController.compositionType(fn.text,fn.replacePrevCharCnt,fn.replaceNextCharCnt,fn.positionDelta)):(on.c&&console.log(" => type: <<".concat(fn.text,">>")),Q._viewController.type(fn.text))})),Q._register(Q._textAreaInput.onSelectionChangeRequest(function(fn){Q._viewController.setSelection(fn)})),Q._register(Q._textAreaInput.onCompositionStart(function(fn){var Wn=Q._selections[0].startLineNumber,Yt=Q._selections[0].startColumn+fn.revealDeltaColumns;Q._context.model.revealRange("keyboard",!0,new Ct.a(Wn,Yt,Wn,Yt),0,1);var Yn=Q._viewHelper.visibleRangeForPositionRelativeToEditor(Wn,Yt);Yn&&(Q._visibleTextArea=new _n(Q._context.viewLayout.getVerticalOffsetForLineNumber(Wn),Yn.left,Kn?0:1),Q._render()),Q.textArea.setClassName("inputarea ".concat(gn.a," ime-input")),Q._viewController.compositionStart(),Q._context.model.onCompositionStart()})),Q._register(Q._textAreaInput.onCompositionUpdate(function(fn){!Q._visibleTextArea||(Q._visibleTextArea=Q._visibleTextArea.setWidth(rr(fn.data,Q._fontInfo)),Q._render())})),Q._register(Q._textAreaInput.onCompositionEnd(function(){Q._visibleTextArea=null,Q._render(),Q.textArea.setClassName("inputarea ".concat(gn.a)),Q._viewController.compositionEnd(),Q._context.model.onCompositionEnd()})),Q._register(Q._textAreaInput.onFocus(function(){Q._context.model.setHasFocus(!0)})),Q._register(Q._textAreaInput.onBlur(function(){Q._context.model.setHasFocus(!1)})),Q}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"_getAndroidWordAtPosition",value:function(s){for(var N='`~!@#$%^&*()-=+[{]}\\|;:",.<>/?',Q=this._context.model.getLineContent(s.lineNumber),xe=Object(Pt.a)(N),Je=!0,Ge=s.column,qt=!0,fn=s.column,Wn=0;Wn<50&&(Je||qt);){if(Je&&Ge<=1&&(Je=!1),Je){var Yt=Q.charCodeAt(Ge-2),Yn=xe.get(Yt);Yn!==0?Je=!1:Ge--}if(qt&&fn>Q.length&&(qt=!1),qt){var hr=Q.charCodeAt(fn-1),Wr=xe.get(hr);Wr!==0?qt=!1:fn++}Wn++}return[Q.substring(Ge-1,fn-1),s.column-Ge]}},{key:"_getWordBeforePosition",value:function(s){for(var N=this._context.model.getLineContent(s.lineNumber),Q=Object(Pt.a)(this._context.configuration.options.get(113)),xe=s.column,Je=0;xe>1;){var Ge=N.charCodeAt(xe-2),qt=Q.get(Ge);if(qt!==0||Je>50)return N.substring(xe-1,s.column-1);Je++,xe--}return N.substring(0,s.column-1)}},{key:"_getCharacterBeforePosition",value:function(s){if(s.column>1){var N=this._context.model.getLineContent(s.lineNumber),Q=N.charAt(s.column-2);if(!wn.E(Q.charCodeAt(0)))return Q}return""}},{key:"_getAriaLabel",value:function(s){var N=s.get(2);return N===1?S.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press {0} for options.",E.d?"Shift+Alt+F1":"Alt+F1"):s.get(4)}},{key:"_setAccessibilityOptions",value:function(s){this._accessibilitySupport=s.get(2);var N=s.get(3);this._accessibilitySupport===2&&N===ft.g.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=N}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(127);return this._setAccessibilityOptions(N),this._contentLeft=Q.contentLeft,this._contentWidth=Q.contentWidth,this._contentHeight=Q.height,this._fontInfo=N.get(40),this._lineHeight=N.get(55),this._emptySelectionClipboard=N.get(30),this._copyWithSyntaxHighlighting=N.get(19),this.textArea.setAttribute("aria-label",this._getAriaLabel(N)),this.textArea.setAttribute("tabindex",String(N.get(109))),(s.hasChanged(28)||s.hasChanged(77))&&(N.get(28)&&N.get(77)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),s.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}},{key:"onCursorStateChanged",value:function(s){return this._selections=s.selections.slice(0),this._modelSelections=s.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}},{key:"onDecorationsChanged",value:function(s){return!0}},{key:"onFlushed",value:function(s){return!0}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return this._scrollLeft=s.scrollLeft,this._scrollTop=s.scrollTop,!0}},{key:"onZonesChanged",value:function(s){return!0}},{key:"isFocused",value:function(){return this._textAreaInput.isFocused()}},{key:"focusTextArea",value:function(){this._textAreaInput.focusTextArea()}},{key:"getLastRenderData",value:function(){return this._lastRenderPosition}},{key:"setAriaOptions",value:function(s){s.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",s.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),s.role&&this.textArea.setAttribute("role",s.role)}},{key:"prepareRender",value:function(s){this._primaryCursorPosition=new bt.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=s.visibleRangeForPosition(this._primaryCursorPosition)}},{key:"render",value:function(s){this._textAreaInput.writeScreenReaderContent("render"),this._render()}},{key:"_render",value:function(){if(this._visibleTextArea){this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}var s=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(s<this._contentLeft||s>this._contentLeft+this._contentWidth){this._renderAtTopLeft();return}var N=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(N<0||N>this._contentHeight){this._renderAtTopLeft();return}if(E.f){this._renderInsideEditor(this._primaryCursorPosition,N,s,Kn?0:1,this._lineHeight);return}this._renderInsideEditor(this._primaryCursorPosition,N,s,Kn?0:1,Kn?0:1)}},{key:"_renderInsideEditor",value:function(s,N,Q,xe,Je){this._lastRenderPosition=s;var Ge=this.textArea,qt=this.textAreaCover;A.a.applyFontInfo(Ge,this._fontInfo),Ge.setTop(N),Ge.setLeft(Q),Ge.setWidth(xe),Ge.setHeight(Je),qt.setTop(0),qt.setLeft(0),qt.setWidth(0),qt.setHeight(0)}},{key:"_renderAtTopLeft",value:function(){this._lastRenderPosition=null;var s=this.textArea,N=this.textAreaCover;if(A.a.applyFontInfo(s,this._fontInfo),s.setTop(0),s.setLeft(0),N.setTop(0),N.setLeft(0),Kn){s.setWidth(0),s.setHeight(0),N.setWidth(0),N.setHeight(0);return}s.setWidth(1),s.setHeight(1),N.setWidth(1),N.setHeight(1);var Q=this._context.configuration.options;Q.get(46)?N.setClassName("monaco-editor-background textAreaCover "+kn.OUTER_CLASS_NAME):Q.get(56).renderType!==0?N.setClassName("monaco-editor-background textAreaCover "+pn.CLASS_NAME):N.setClassName("monaco-editor-background textAreaCover")}}]),F}(ee);function rr(Lt,He){var F=document.createElement("canvas"),U=F.getContext("2d");U.font=Rn(He);var s=U.measureText(Lt);return b.g?s.width+2:s.width}function Rn(Lt){return mr("normal",Lt.fontWeight,Lt.fontSize,Lt.lineHeight,Lt.fontFamily)}function mr(Lt,He,F,U,s){return"".concat(Lt," normal ").concat(He," ").concat(F,"px / ").concat(U,"px ").concat(s)}var ar=e("1YUG"),sr=function(){function Lt(He,F,U,s){Object(n.a)(this,Lt),this.configuration=He,this.viewModel=F,this.userInputEvents=U,this.commandDelegate=s}return Object(v.a)(Lt,[{key:"paste",value:function(F,U,s,N){this.commandDelegate.paste(F,U,s,N)}},{key:"type",value:function(F){this.commandDelegate.type(F)}},{key:"compositionType",value:function(F,U,s,N){this.commandDelegate.compositionType(F,U,s,N)}},{key:"compositionStart",value:function(){this.commandDelegate.startComposition()}},{key:"compositionEnd",value:function(){this.commandDelegate.endComposition()}},{key:"cut",value:function(){this.commandDelegate.cut()}},{key:"setSelection",value:function(F){ar.b.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:F})}},{key:"_validateViewColumn",value:function(F){var U=this.viewModel.getLineMinColumn(F.lineNumber);return F.column<U?new bt.a(F.lineNumber,U):F}},{key:"_hasMulticursorModifier",value:function(F){switch(this.configuration.options.get(66)){case"altKey":return F.altKey;case"ctrlKey":return F.ctrlKey;case"metaKey":return F.metaKey;default:return!1}}},{key:"_hasNonMulticursorModifier",value:function(F){switch(this.configuration.options.get(66)){case"altKey":return F.ctrlKey||F.metaKey;case"ctrlKey":return F.altKey||F.metaKey;case"metaKey":return F.ctrlKey||F.altKey;default:return!1}}},{key:"dispatchMouse",value:function(F){var U=this.configuration.options,s=E.d&&U.get(93),N=U.get(16);F.middleButton&&!s?this._columnSelect(F.position,F.mouseColumn,F.inSelectionMode):F.startedOnLineNumbers?this._hasMulticursorModifier(F)?F.inSelectionMode?this._lastCursorLineSelect(F.position):this._createCursor(F.position,!0):F.inSelectionMode?this._lineSelectDrag(F.position):this._lineSelect(F.position):F.mouseDownCount>=4?this._selectAll():F.mouseDownCount===3?this._hasMulticursorModifier(F)?F.inSelectionMode?this._lastCursorLineSelectDrag(F.position):this._lastCursorLineSelect(F.position):F.inSelectionMode?this._lineSelectDrag(F.position):this._lineSelect(F.position):F.mouseDownCount===2?this._hasMulticursorModifier(F)?this._lastCursorWordSelect(F.position):F.inSelectionMode?this._wordSelectDrag(F.position):this._wordSelect(F.position):this._hasMulticursorModifier(F)?this._hasNonMulticursorModifier(F)||(F.shiftKey?this._columnSelect(F.position,F.mouseColumn,!0):F.inSelectionMode?this._lastCursorMoveToSelect(F.position):this._createCursor(F.position,!1)):F.inSelectionMode?F.altKey?this._columnSelect(F.position,F.mouseColumn,!0):N?this._columnSelect(F.position,F.mouseColumn,!0):this._moveToSelect(F.position):this.moveTo(F.position)}},{key:"_usualArgs",value:function(F){return F=this._validateViewColumn(F),{source:"mouse",position:this._convertViewToModelPosition(F),viewPosition:F}}},{key:"moveTo",value:function(F){ar.b.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_moveToSelect",value:function(F){ar.b.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_columnSelect",value:function(F,U,s){F=this._validateViewColumn(F),ar.b.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(F),viewPosition:F,mouseColumn:U,doColumnSelect:s})}},{key:"_createCursor",value:function(F,U){F=this._validateViewColumn(F),ar.b.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(F),viewPosition:F,wholeLine:U})}},{key:"_lastCursorMoveToSelect",value:function(F){ar.b.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_wordSelect",value:function(F){ar.b.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_wordSelectDrag",value:function(F){ar.b.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_lastCursorWordSelect",value:function(F){ar.b.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_lineSelect",value:function(F){ar.b.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_lineSelectDrag",value:function(F){ar.b.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_lastCursorLineSelect",value:function(F){ar.b.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_lastCursorLineSelectDrag",value:function(F){ar.b.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(F))}},{key:"_selectAll",value:function(){ar.b.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}},{key:"_convertViewToModelPosition",value:function(F){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(F)}},{key:"emitKeyDown",value:function(F){this.userInputEvents.emitKeyDown(F)}},{key:"emitKeyUp",value:function(F){this.userInputEvents.emitKeyUp(F)}},{key:"emitContextMenu",value:function(F){this.userInputEvents.emitContextMenu(F)}},{key:"emitMouseMove",value:function(F){this.userInputEvents.emitMouseMove(F)}},{key:"emitMouseLeave",value:function(F){this.userInputEvents.emitMouseLeave(F)}},{key:"emitMouseUp",value:function(F){this.userInputEvents.emitMouseUp(F)}},{key:"emitMouseDown",value:function(F){this.userInputEvents.emitMouseDown(F)}},{key:"emitMouseDrag",value:function(F){this.userInputEvents.emitMouseDrag(F)}},{key:"emitMouseDrop",value:function(F){this.userInputEvents.emitMouseDrop(F)}},{key:"emitMouseDropCanceled",value:function(){this.userInputEvents.emitMouseDropCanceled()}},{key:"emitMouseWheel",value:function(F){this.userInputEvents.emitMouseWheel(F)}}]),Lt}(),yr=function(){function Lt(He){Object(n.a)(this,Lt),this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseDropCanceled=null,this.onMouseWheel=null,this._coordinatesConverter=He}return Object(v.a)(Lt,[{key:"emitKeyDown",value:function(F){this.onKeyDown&&this.onKeyDown(F)}},{key:"emitKeyUp",value:function(F){this.onKeyUp&&this.onKeyUp(F)}},{key:"emitContextMenu",value:function(F){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(F))}},{key:"emitMouseMove",value:function(F){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(F))}},{key:"emitMouseLeave",value:function(F){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(F))}},{key:"emitMouseDown",value:function(F){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(F))}},{key:"emitMouseUp",value:function(F){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(F))}},{key:"emitMouseDrag",value:function(F){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(F))}},{key:"emitMouseDrop",value:function(F){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(F))}},{key:"emitMouseDropCanceled",value:function(){this.onMouseDropCanceled&&this.onMouseDropCanceled()}},{key:"emitMouseWheel",value:function(F){this.onMouseWheel&&this.onMouseWheel(F)}},{key:"_convertViewToModelMouseEvent",value:function(F){return F.target?{event:F.event,target:this._convertViewToModelMouseTarget(F.target)}:F}},{key:"_convertViewToModelMouseTarget",value:function(F){return Lt.convertViewToModelMouseTarget(F,this._coordinatesConverter)}}],[{key:"convertViewToModelMouseTarget",value:function(F,U){return new br(F.element,F.type,F.mouseColumn,F.position?U.convertViewPositionToModelPosition(F.position):null,F.range?U.convertViewRangeToModelRange(F.range):null,F.detail)}}]),Lt}(),br=function(){function Lt(He,F,U,s,N,Q){Object(n.a)(this,Lt),this.element=He,this.type=F,this.mouseColumn=U,this.position=s,this.range=N,this.detail=Q}return Object(v.a)(Lt,[{key:"toString",value:function(){return ut.toString(this)}}]),Lt}(),_r=e("erNZ"),li,xi=function(){function Lt(He){Object(n.a)(this,Lt),this._createLine=He,this._set(1,[])}return Object(v.a)(Lt,[{key:"flush",value:function(){this._set(1,[])}},{key:"_set",value:function(F,U){this._lines=U,this._rendLineNumberStart=F}},{key:"_get",value:function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}},{key:"getStartLineNumber",value:function(){return this._rendLineNumberStart}},{key:"getEndLineNumber",value:function(){return this._rendLineNumberStart+this._lines.length-1}},{key:"getCount",value:function(){return this._lines.length}},{key:"getLine",value:function(F){var U=F-this._rendLineNumberStart;if(U<0||U>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[U]}},{key:"onLinesDeleted",value:function(F,U){if(this.getCount()===0)return null;var s=this.getStartLineNumber(),N=this.getEndLineNumber();if(U<s){var Q=U-F+1;return this._rendLineNumberStart-=Q,null}if(F>N)return null;for(var xe=0,Je=0,Ge=s;Ge<=N;Ge++){var qt=Ge-this._rendLineNumberStart;F<=Ge&&Ge<=U&&(Je===0?(xe=qt,Je=1):Je++)}if(F<s){var fn=0;U<s?fn=U-F+1:fn=s-F,this._rendLineNumberStart-=fn}var Wn=this._lines.splice(xe,Je);return Wn}},{key:"onLinesChanged",value:function(F,U){if(this.getCount()===0)return!1;for(var s=this.getStartLineNumber(),N=this.getEndLineNumber(),Q=!1,xe=F;xe<=U;xe++)xe>=s&&xe<=N&&(this._lines[xe-this._rendLineNumberStart].onContentChanged(),Q=!0);return Q}},{key:"onLinesInserted",value:function(F,U){if(this.getCount()===0)return null;var s=U-F+1,N=this.getStartLineNumber(),Q=this.getEndLineNumber();if(F<=N)return this._rendLineNumberStart+=s,null;if(F>Q)return null;if(s+F>Q){var xe=this._lines.splice(F-this._rendLineNumberStart,Q-F+1);return xe}for(var Je=[],Ge=0;Ge<s;Ge++)Je[Ge]=this._createLine();var qt=F-this._rendLineNumberStart,fn=this._lines.slice(0,qt),Wn=this._lines.slice(qt,this._lines.length-s),Yt=this._lines.slice(this._lines.length-s,this._lines.length);return this._lines=fn.concat(Je).concat(Wn),Yt}},{key:"onTokensChanged",value:function(F){if(this.getCount()===0)return!1;for(var U=this.getStartLineNumber(),s=this.getEndLineNumber(),N=!1,Q=0,xe=F.length;Q<xe;Q++){var Je=F[Q];if(!(Je.toLineNumber<U||Je.fromLineNumber>s))for(var Ge=Math.max(U,Je.fromLineNumber),qt=Math.min(s,Je.toLineNumber),fn=Ge;fn<=qt;fn++){var Wn=fn-this._rendLineNumberStart;this._lines[Wn].onTokensChanged(),N=!0}}return N}}]),Lt}(),Mi=function(){function Lt(He){var F=this;Object(n.a)(this,Lt),this._host=He,this.domNode=this._createDomNode(),this._linesCollection=new xi(function(){return F._host.createVisibleLine()})}return Object(v.a)(Lt,[{key:"_createDomNode",value:function(){var F=Object(O.b)(document.createElement("div"));return F.setClassName("view-layer"),F.setPosition("absolute"),F.domNode.setAttribute("role","presentation"),F.domNode.setAttribute("aria-hidden","true"),F}},{key:"onConfigurationChanged",value:function(F){return!!F.hasChanged(127)}},{key:"onFlushed",value:function(F){return this._linesCollection.flush(),!0}},{key:"onLinesChanged",value:function(F){return this._linesCollection.onLinesChanged(F.fromLineNumber,F.toLineNumber)}},{key:"onLinesDeleted",value:function(F){var U=this._linesCollection.onLinesDeleted(F.fromLineNumber,F.toLineNumber);if(U)for(var s=0,N=U.length;s<N;s++){var Q=U[s].getDomNode();Q&&this.domNode.domNode.removeChild(Q)}return!0}},{key:"onLinesInserted",value:function(F){var U=this._linesCollection.onLinesInserted(F.fromLineNumber,F.toLineNumber);if(U)for(var s=0,N=U.length;s<N;s++){var Q=U[s].getDomNode();Q&&this.domNode.domNode.removeChild(Q)}return!0}},{key:"onScrollChanged",value:function(F){return F.scrollTopChanged}},{key:"onTokensChanged",value:function(F){return this._linesCollection.onTokensChanged(F.ranges)}},{key:"onZonesChanged",value:function(F){return!0}},{key:"getStartLineNumber",value:function(){return this._linesCollection.getStartLineNumber()}},{key:"getEndLineNumber",value:function(){return this._linesCollection.getEndLineNumber()}},{key:"getVisibleLine",value:function(F){return this._linesCollection.getLine(F)}},{key:"renderLines",value:function(F){var U=this._linesCollection._get(),s=new Fr(this.domNode.domNode,this._host,F),N={rendLineNumberStart:U.rendLineNumberStart,lines:U.lines,linesLength:U.lines.length},Q=s.render(N,F.startLineNumber,F.endLineNumber,F.relativeVerticalOffset);this._linesCollection._set(Q.rendLineNumberStart,Q.lines)}}]),Lt}(),Fr=function(){function Lt(He,F,U){Object(n.a)(this,Lt),this.domNode=He,this.host=F,this.viewportData=U}return Object(v.a)(Lt,[{key:"render",value:function(F,U,s,N){var Q={rendLineNumberStart:F.rendLineNumberStart,lines:F.lines.slice(0),linesLength:F.linesLength};if(Q.rendLineNumberStart+Q.linesLength-1<U||s<Q.rendLineNumberStart){Q.rendLineNumberStart=U,Q.linesLength=s-U+1,Q.lines=[];for(var xe=U;xe<=s;xe++)Q.lines[xe-U]=this.host.createVisibleLine();return this._finishRendering(Q,!0,N),Q}if(this._renderUntouchedLines(Q,Math.max(U-Q.rendLineNumberStart,0),Math.min(s-Q.rendLineNumberStart,Q.linesLength-1),N,U),Q.rendLineNumberStart>U){var Je=U,Ge=Math.min(s,Q.rendLineNumberStart-1);Je<=Ge&&(this._insertLinesBefore(Q,Je,Ge,N,U),Q.linesLength+=Ge-Je+1)}else if(Q.rendLineNumberStart<U){var qt=Math.min(Q.linesLength,U-Q.rendLineNumberStart);qt>0&&(this._removeLinesBefore(Q,qt),Q.linesLength-=qt)}if(Q.rendLineNumberStart=U,Q.rendLineNumberStart+Q.linesLength-1<s){var fn=Q.rendLineNumberStart+Q.linesLength,Wn=s;fn<=Wn&&(this._insertLinesAfter(Q,fn,Wn,N,U),Q.linesLength+=Wn-fn+1)}else if(Q.rendLineNumberStart+Q.linesLength-1>s){var Yt=Math.max(0,s-Q.rendLineNumberStart+1),Yn=Q.linesLength-1,hr=Yn-Yt+1;hr>0&&(this._removeLinesAfter(Q,hr),Q.linesLength-=hr)}return this._finishRendering(Q,!1,N),Q}},{key:"_renderUntouchedLines",value:function(F,U,s,N,Q){for(var xe=F.rendLineNumberStart,Je=F.lines,Ge=U;Ge<=s;Ge++){var qt=xe+Ge;Je[Ge].layoutLine(qt,N[qt-Q])}}},{key:"_insertLinesBefore",value:function(F,U,s,N,Q){for(var xe=[],Je=0,Ge=U;Ge<=s;Ge++)xe[Je++]=this.host.createVisibleLine();F.lines=xe.concat(F.lines)}},{key:"_removeLinesBefore",value:function(F,U){for(var s=0;s<U;s++){var N=F.lines[s].getDomNode();N&&this.domNode.removeChild(N)}F.lines.splice(0,U)}},{key:"_insertLinesAfter",value:function(F,U,s,N,Q){for(var xe=[],Je=0,Ge=U;Ge<=s;Ge++)xe[Je++]=this.host.createVisibleLine();F.lines=F.lines.concat(xe)}},{key:"_removeLinesAfter",value:function(F,U){for(var s=F.linesLength-U,N=0;N<U;N++){var Q=F.lines[s+N].getDomNode();Q&&this.domNode.removeChild(Q)}F.lines.splice(s,U)}},{key:"_finishRenderingNewLines",value:function(F,U,s,N){Lt._ttPolicy&&(s=Lt._ttPolicy.createHTML(s));var Q=this.domNode.lastChild;U||!Q?this.domNode.innerHTML=s:Q.insertAdjacentHTML("afterend",s);for(var xe=this.domNode.lastChild,Je=F.linesLength-1;Je>=0;Je--){var Ge=F.lines[Je];N[Je]&&(Ge.setDomNode(xe),xe=xe.previousSibling)}}},{key:"_finishRenderingInvalidLines",value:function(F,U,s){var N=document.createElement("div");Lt._ttPolicy&&(U=Lt._ttPolicy.createHTML(U)),N.innerHTML=U;for(var Q=0;Q<F.linesLength;Q++){var xe=F.lines[Q];if(s[Q]){var Je=N.firstChild,Ge=xe.getDomNode();Ge.parentNode.replaceChild(Je,Ge),xe.setDomNode(Je)}}}},{key:"_finishRendering",value:function(F,U,s){var N=Lt._sb,Q=F.linesLength,xe=F.lines,Je=F.rendLineNumberStart,Ge=[];{N.reset();for(var qt=!1,fn=0;fn<Q;fn++){var Wn=xe[fn];Ge[fn]=!1;var Yt=Wn.getDomNode();if(!Yt){var Yn=Wn.renderLine(fn+Je,s[fn],this.viewportData,N);!Yn||(Ge[fn]=!0,qt=!0)}}qt&&this._finishRenderingNewLines(F,U,N.build(),Ge)}{N.reset();for(var hr=!1,Wr=[],$r=0;$r<Q;$r++){var wi=xe[$r];if(Wr[$r]=!1,!Ge[$r]){var fi=wi.renderLine($r+Je,s[$r],this.viewportData,N);!fi||(Wr[$r]=!0,hr=!0)}}hr&&this._finishRenderingInvalidLines(F,N.build(),Wr)}}}]),Lt}();Fr._ttPolicy=(li=window.trustedTypes)===null||li===void 0?void 0:li.createPolicy("editorViewLayer",{createHTML:function(He){return He}}),Fr._sb=Object(_r.a)(1e5);var ur=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;return Object(n.a)(this,F),s=He.call(this,U),s._visibleLines=new Mi(Object(r.a)(s)),s.domNode=s._visibleLines.domNode,s._dynamicOverlays=[],s._isFocused=!1,s.domNode.setClassName("view-overlays"),s}return Object(v.a)(F,[{key:"shouldRender",value:function(){if(Object(f.a)(Object(o.a)(F.prototype),"shouldRender",this).call(this))return!0;for(var s=0,N=this._dynamicOverlays.length;s<N;s++){var Q=this._dynamicOverlays[s];if(Q.shouldRender())return!0}return!1}},{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this);for(var s=0,N=this._dynamicOverlays.length;s<N;s++){var Q=this._dynamicOverlays[s];Q.dispose()}this._dynamicOverlays=[]}},{key:"getDomNode",value:function(){return this.domNode}},{key:"createVisibleLine",value:function(){return new Ti(this._context.configuration,this._dynamicOverlays)}},{key:"addDynamicOverlay",value:function(s){this._dynamicOverlays.push(s)}},{key:"onConfigurationChanged",value:function(s){this._visibleLines.onConfigurationChanged(s);for(var N=this._visibleLines.getStartLineNumber(),Q=this._visibleLines.getEndLineNumber(),xe=N;xe<=Q;xe++){var Je=this._visibleLines.getVisibleLine(xe);Je.onConfigurationChanged(s)}return!0}},{key:"onFlushed",value:function(s){return this._visibleLines.onFlushed(s)}},{key:"onFocusChanged",value:function(s){return this._isFocused=s.isFocused,!0}},{key:"onLinesChanged",value:function(s){return this._visibleLines.onLinesChanged(s)}},{key:"onLinesDeleted",value:function(s){return this._visibleLines.onLinesDeleted(s)}},{key:"onLinesInserted",value:function(s){return this._visibleLines.onLinesInserted(s)}},{key:"onScrollChanged",value:function(s){return this._visibleLines.onScrollChanged(s)||!0}},{key:"onTokensChanged",value:function(s){return this._visibleLines.onTokensChanged(s)}},{key:"onZonesChanged",value:function(s){return this._visibleLines.onZonesChanged(s)}},{key:"prepareRender",value:function(s){for(var N=this._dynamicOverlays.filter(function(Ge){return Ge.shouldRender()}),Q=0,xe=N.length;Q<xe;Q++){var Je=N[Q];Je.prepareRender(s),Je.onDidRender()}}},{key:"render",value:function(s){this._viewOverlaysRender(s),this.domNode.toggleClassName("focused",this._isFocused)}},{key:"_viewOverlaysRender",value:function(s){this._visibleLines.renderLines(s.viewportData)}}]),F}(ee),Ti=function(){function Lt(He,F){Object(n.a)(this,Lt),this._configuration=He,this._lineHeight=this._configuration.options.get(55),this._dynamicOverlays=F,this._domNode=null,this._renderedContent=null}return Object(v.a)(Lt,[{key:"getDomNode",value:function(){return this._domNode?this._domNode.domNode:null}},{key:"setDomNode",value:function(F){this._domNode=Object(O.b)(F)}},{key:"onContentChanged",value:function(){}},{key:"onTokensChanged",value:function(){}},{key:"onConfigurationChanged",value:function(F){this._lineHeight=this._configuration.options.get(55)}},{key:"renderLine",value:function(F,U,s,N){for(var Q="",xe=0,Je=this._dynamicOverlays.length;xe<Je;xe++){var Ge=this._dynamicOverlays[xe];Q+=Ge.render(s.startLineNumber,F)}return this._renderedContent===Q?!1:(this._renderedContent=Q,N.appendASCIIString('<div style="position:absolute;top:'),N.appendASCIIString(String(U)),N.appendASCIIString("px;width:100%;height:"),N.appendASCIIString(String(this._lineHeight)),N.appendASCIIString('px;">'),N.appendASCIIString(Q),N.appendASCIIString("</div>"),!0)}},{key:"layoutLine",value:function(F,U){this._domNode&&(this._domNode.setTop(U),this._domNode.setHeight(this._lineHeight))}}]),Lt}(),Xi=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this,U);var N=s._context.configuration.options,Q=N.get(127);return s._contentWidth=Q.contentWidth,s.domNode.setHeight(0),s}return Object(v.a)(F,[{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(127);return this._contentWidth=Q.contentWidth,Object(f.a)(Object(o.a)(F.prototype),"onConfigurationChanged",this).call(this,s)||!0}},{key:"onScrollChanged",value:function(s){return Object(f.a)(Object(o.a)(F.prototype),"onScrollChanged",this).call(this,s)||s.scrollWidthChanged}},{key:"_viewOverlaysRender",value:function(s){Object(f.a)(Object(o.a)(F.prototype),"_viewOverlaysRender",this).call(this,s),this.domNode.setWidth(Math.max(s.scrollWidth,this._contentWidth))}}]),F}(ur),ca=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this,U);var N=s._context.configuration.options,Q=N.get(127);return s._contentLeft=Q.contentLeft,s.domNode.setClassName("margin-view-overlays"),s.domNode.setWidth(1),A.a.applyFontInfo(s.domNode,N.get(40)),s}return Object(v.a)(F,[{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options;A.a.applyFontInfo(this.domNode,N.get(40));var Q=N.get(127);return this._contentLeft=Q.contentLeft,Object(f.a)(Object(o.a)(F.prototype),"onConfigurationChanged",this).call(this,s)||!0}},{key:"onScrollChanged",value:function(s){return Object(f.a)(Object(o.a)(F.prototype),"onScrollChanged",this).call(this,s)||s.scrollHeightChanged}},{key:"_viewOverlaysRender",value:function(s){Object(f.a)(Object(o.a)(F.prototype),"_viewOverlaysRender",this).call(this,s);var N=Math.min(s.scrollHeight,1e6);this.domNode.setHeight(N),this.domNode.setWidth(this._contentLeft)}}]),F}(ur),Zi=Object(v.a)(function Lt(He,F){Object(n.a)(this,Lt),this.top=He,this.left=F}),xa=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s){var N;return Object(n.a)(this,F),N=He.call(this,U),N._viewDomNode=s,N._widgets={},N.domNode=Object(O.b)(document.createElement("div")),ce.write(N.domNode,1),N.domNode.setClassName("contentWidgets"),N.domNode.setPosition("absolute"),N.domNode.setTop(0),N.overflowingContentWidgetsDomNode=Object(O.b)(document.createElement("div")),ce.write(N.overflowingContentWidgetsDomNode,2),N.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),N}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this),this._widgets={}}},{key:"onConfigurationChanged",value:function(s){for(var N=Object.keys(this._widgets),Q=0,xe=N;Q<xe.length;Q++){var Je=xe[Q];this._widgets[Je].onConfigurationChanged(s)}return!0}},{key:"onDecorationsChanged",value:function(s){return!0}},{key:"onFlushed",value:function(s){return!0}},{key:"onLineMappingChanged",value:function(s){for(var N=Object.keys(this._widgets),Q=0,xe=N;Q<xe.length;Q++){var Je=xe[Q];this._widgets[Je].onLineMappingChanged(s)}return!0}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return!0}},{key:"onZonesChanged",value:function(s){return!0}},{key:"addWidget",value:function(s){var N=new va(this._context,this._viewDomNode,s);this._widgets[N.id]=N,N.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(N.domNode):this.domNode.appendChild(N.domNode),this.setShouldRender()}},{key:"setWidgetPosition",value:function(s,N,Q){var xe=this._widgets[s.getId()];xe.setPosition(N,Q),this.setShouldRender()}},{key:"removeWidget",value:function(s){var N=s.getId();if(this._widgets.hasOwnProperty(N)){var Q=this._widgets[N];delete this._widgets[N];var xe=Q.domNode.domNode;xe.parentNode.removeChild(xe),xe.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}},{key:"shouldSuppressMouseDownOnWidget",value:function(s){return this._widgets.hasOwnProperty(s)?this._widgets[s].suppressMouseDown:!1}},{key:"onBeforeRender",value:function(s){for(var N=Object.keys(this._widgets),Q=0,xe=N;Q<xe.length;Q++){var Je=xe[Q];this._widgets[Je].onBeforeRender(s)}}},{key:"prepareRender",value:function(s){for(var N=Object.keys(this._widgets),Q=0,xe=N;Q<xe.length;Q++){var Je=xe[Q];this._widgets[Je].prepareRender(s)}}},{key:"render",value:function(s){for(var N=Object.keys(this._widgets),Q=0,xe=N;Q<xe.length;Q++){var Je=xe[Q];this._widgets[Je].render(s)}}}]),F}(ee),va=function(){function Lt(He,F,U){Object(n.a)(this,Lt),this._context=He,this._viewDomNode=F,this._actual=U,this.domNode=Object(O.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;var s=this._context.configuration.options,N=s.get(127);this._fixedOverflowWidgets=s.get(34),this._contentWidth=N.contentWidth,this._contentLeft=N.contentLeft,this._lineHeight=s.get(55),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}return Object(v.a)(Lt,[{key:"onConfigurationChanged",value:function(F){var U=this._context.configuration.options;if(this._lineHeight=U.get(55),F.hasChanged(127)){var s=U.get(127);this._contentLeft=s.contentLeft,this._contentWidth=s.contentWidth,this._maxWidth=this._getMaxWidth()}}},{key:"onLineMappingChanged",value:function(F){this._setPosition(this._range)}},{key:"_setPosition",value:function(F){if(this._range=F,this._viewRange=null,this._range){var U=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(U.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(U.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(U))}}},{key:"_getMaxWidth",value:function(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth}},{key:"setPosition",value:function(F,U){this._setPosition(F),this._preference=U,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1}},{key:"_layoutBoxInViewport",value:function(F,U,s,N,Q){var xe=F.top,Je=xe,Ge=U.top+this._lineHeight,qt=Q.viewportHeight-Ge,fn=xe-N,Wn=Je>=N,Yt=Ge,Yn=qt>=N,hr=F.left,Wr=U.left;return hr+s>Q.scrollLeft+Q.viewportWidth&&(hr=Q.scrollLeft+Q.viewportWidth-s),Wr+s>Q.scrollLeft+Q.viewportWidth&&(Wr=Q.scrollLeft+Q.viewportWidth-s),hr<Q.scrollLeft&&(hr=Q.scrollLeft),Wr<Q.scrollLeft&&(Wr=Q.scrollLeft),{fitsAbove:Wn,aboveTop:fn,aboveLeft:hr,fitsBelow:Yn,belowTop:Yt,belowLeft:Wr}}},{key:"_layoutHorizontalSegmentInPage",value:function(F,U,s,N){var Q=Math.max(0,U.left-N),xe=Math.min(U.left+U.width+N,F.width),Je=U.left+s-k.StandardWindow.scrollX;if(Je+N>xe){var Ge=Je-(xe-N);Je-=Ge,s-=Ge}if(Je<Q){var qt=Je-Q;Je-=qt,s-=qt}return[s,Je]}},{key:"_layoutBoxInPage",value:function(F,U,s,N,Q){var xe=F.top-N,Je=U.top+this._lineHeight,Ge=k.getDomNodePagePosition(this._viewDomNode.domNode),qt=Ge.top+xe-k.StandardWindow.scrollY,fn=Ge.top+Je-k.StandardWindow.scrollY,Wn=k.getClientArea(document.body),Yt=this._layoutHorizontalSegmentInPage(Wn,Ge,F.left-Q.scrollLeft+this._contentLeft,s),Yn=Object(u.a)(Yt,2),hr=Yn[0],Wr=Yn[1],$r=this._layoutHorizontalSegmentInPage(Wn,Ge,U.left-Q.scrollLeft+this._contentLeft,s),wi=Object(u.a)($r,2),fi=wi[0],Vi=wi[1],da=22,ia=22,ma=qt>=da,Ea=fn+N<=Wn.height-ia;return this._fixedOverflowWidgets?{fitsAbove:ma,aboveTop:Math.max(qt,da),aboveLeft:Wr,fitsBelow:Ea,belowTop:fn,belowLeft:Vi}:{fitsAbove:ma,aboveTop:xe,aboveLeft:hr,fitsBelow:Ea,belowTop:Je,belowLeft:fi}}},{key:"_prepareRenderWidgetAtExactPositionOverflowing",value:function(F){return new Zi(F.top,F.left+this._contentLeft)}},{key:"_getTopAndBottomLeft",value:function(F){if(!this._viewRange)return[null,null];var U=F.linesVisibleRangesForRange(this._viewRange,!1);if(!U||U.length===0)return[null,null];var s=U[0],N=U[0],Q=Object(c.a)(U),xe;try{for(Q.s();!(xe=Q.n()).done;){var Je=xe.value;Je.lineNumber<s.lineNumber&&(s=Je),Je.lineNumber>N.lineNumber&&(N=Je)}}catch(da){Q.e(da)}finally{Q.f()}var Ge=1073741824,qt=Object(c.a)(s.ranges),fn;try{for(qt.s();!(fn=qt.n()).done;){var Wn=fn.value;Wn.left<Ge&&(Ge=Wn.left)}}catch(da){qt.e(da)}finally{qt.f()}var Yt=1073741824,Yn=Object(c.a)(N.ranges),hr;try{for(Yn.s();!(hr=Yn.n()).done;){var Wr=hr.value;Wr.left<Yt&&(Yt=Wr.left)}}catch(da){Yn.e(da)}finally{Yn.f()}var $r=F.getVerticalOffsetForLineNumber(s.lineNumber)-F.scrollTop,wi=new Zi($r,Ge),fi=F.getVerticalOffsetForLineNumber(N.lineNumber)-F.scrollTop,Vi=new Zi(fi,Yt);return[wi,Vi]}},{key:"_prepareRenderWidget",value:function(F){var U=this._getTopAndBottomLeft(F),s=Object(u.a)(U,2),N=s[0],Q=s[1];if(!N||!Q)return null;if(this._cachedDomNodeClientWidth===-1||this._cachedDomNodeClientHeight===-1){var xe=null;if(typeof this._actual.beforeRender=="function"&&(xe=Ma(this._actual.beforeRender,this._actual)),xe)this._cachedDomNodeClientWidth=xe.width,this._cachedDomNodeClientHeight=xe.height;else{var Je=this.domNode.domNode;this._cachedDomNodeClientWidth=Je.clientWidth,this._cachedDomNodeClientHeight=Je.clientHeight}}var Ge;if(this.allowEditorOverflow?Ge=this._layoutBoxInPage(N,Q,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,F):Ge=this._layoutBoxInViewport(N,Q,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,F),this._preference)for(var qt=1;qt<=2;qt++){var fn=Object(c.a)(this._preference),Wn;try{for(fn.s();!(Wn=fn.n()).done;){var Yt=Wn.value;if(Yt===1){if(!Ge)return null;if(qt===2||Ge.fitsAbove)return{coordinate:new Zi(Ge.aboveTop,Ge.aboveLeft),position:1}}else if(Yt===2){if(!Ge)return null;if(qt===2||Ge.fitsBelow)return{coordinate:new Zi(Ge.belowTop,Ge.belowLeft),position:2}}else return this.allowEditorOverflow?{coordinate:this._prepareRenderWidgetAtExactPositionOverflowing(N),position:0}:{coordinate:N,position:0}}}catch(Yn){fn.e(Yn)}finally{fn.f()}}return null}},{key:"onBeforeRender",value:function(F){!this._viewRange||!this._preference||this._viewRange.endLineNumber<F.startLineNumber||this._viewRange.startLineNumber>F.endLineNumber||this.domNode.setMaxWidth(this._maxWidth)}},{key:"prepareRender",value:function(F){this._renderData=this._prepareRenderWidget(F)}},{key:"render",value:function(F){if(!this._renderData){this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")),typeof this._actual.afterRender=="function"&&Ma(this._actual.afterRender,this._actual,null);return}this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+F.scrollTop-F.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),typeof this._actual.afterRender=="function"&&Ma(this._actual.afterRender,this._actual,this._renderData.position)}}]),Lt}();function Ma(Lt,He){try{for(var F=arguments.length,U=new Array(F>2?F-2:0),s=2;s<F;s++)U[s-2]=arguments[s];return Lt.call.apply(Lt,[He].concat(U))}catch(N){return null}}var _a=e("kw+w"),na=e("6OMU"),sa=!0,Ai=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this),s._context=U;var N=s._context.configuration.options,Q=N.get(127);return s._lineHeight=N.get(55),s._renderLineHighlight=N.get(82),s._renderLineHighlightOnlyWhenFocus=N.get(83),s._contentLeft=Q.contentLeft,s._contentWidth=Q.contentWidth,s._selectionIsEmpty=!0,s._focused=!1,s._cursorLineNumbers=[1],s._selections=[new d.a(1,1,1,1)],s._renderData=null,s._context.addEventHandler(Object(r.a)(s)),s}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"_readFromSelections",value:function(){var s=!1,N=sa?this._selections.slice(0,1):this._selections,Q=N.map(function(Je){return Je.positionLineNumber});Q.sort(function(Je,Ge){return Je-Ge}),na.g(this._cursorLineNumbers,Q)||(this._cursorLineNumbers=Q,s=!0);var xe=N.every(function(Je){return Je.isEmpty()});return this._selectionIsEmpty!==xe&&(this._selectionIsEmpty=xe,s=!0),s}},{key:"onThemeChanged",value:function(s){return this._readFromSelections()}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(127);return this._lineHeight=N.get(55),this._renderLineHighlight=N.get(82),this._renderLineHighlightOnlyWhenFocus=N.get(83),this._contentLeft=Q.contentLeft,this._contentWidth=Q.contentWidth,!0}},{key:"onCursorStateChanged",value:function(s){return this._selections=s.selections,this._readFromSelections()}},{key:"onFlushed",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollWidthChanged||s.scrollTopChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"onFocusChanged",value:function(s){return this._renderLineHighlightOnlyWhenFocus?(this._focused=s.isFocused,!0):!1}},{key:"prepareRender",value:function(s){if(!this._shouldRenderThis()){this._renderData=null;return}for(var N=this._renderOne(s),Q=s.visibleRange.startLineNumber,xe=s.visibleRange.endLineNumber,Je=this._cursorLineNumbers.length,Ge=0,qt=[],fn=Q;fn<=xe;fn++){for(var Wn=fn-Q;Ge<Je&&this._cursorLineNumbers[Ge]<fn;)Ge++;Ge<Je&&this._cursorLineNumbers[Ge]===fn?qt[Wn]=N:qt[Wn]=""}this._renderData=qt}},{key:"render",value:function(s,N){if(!this._renderData)return"";var Q=N-s;return Q>=this._renderData.length?"":this._renderData[Q]}}]),F}(dt),ba=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(){return Object(n.a)(this,F),He.apply(this,arguments)}return Object(v.a)(F,[{key:"_renderOne",value:function(s){var N="current-line"+(this._shouldRenderOther()?" current-line-both":"");return'<div class="'.concat(N,'" style="width:').concat(Math.max(s.scrollWidth,this._contentWidth),"px; height:").concat(this._lineHeight,'px;"></div>')}},{key:"_shouldRenderThis",value:function(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}},{key:"_shouldRenderOther",value:function(){return(this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all")&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}]),F}(Ai),ea=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(){return Object(n.a)(this,F),He.apply(this,arguments)}return Object(v.a)(F,[{key:"_renderOne",value:function(s){var N="current-line"+(this._shouldRenderMargin()?" current-line-margin":"")+(this._shouldRenderOther()?" current-line-margin-both":"");return'<div class="'.concat(N,'" style="width:').concat(this._contentLeft,"px; height:").concat(this._lineHeight,'px;"></div>')}},{key:"_shouldRenderMargin",value:function(){return(this._renderLineHighlight==="gutter"||this._renderLineHighlight==="all")&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}},{key:"_shouldRenderThis",value:function(){return!0}},{key:"_shouldRenderOther",value:function(){return(this._renderLineHighlight==="line"||this._renderLineHighlight==="all")&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}]),F}(Ai);Object(Kt.f)(function(Lt,He){sa=!1;var F=Lt.getColor(ct.i);if(F&&(He.addRule(".monaco-editor .view-overlays .current-line { background-color: ".concat(F,"; }")),He.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: ".concat(F,"; border: none; }"))),!F||F.isTransparent()||Lt.defines(ct.j)){var U=Lt.getColor(ct.j);U&&(sa=!0,He.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid ".concat(U,"; }")),He.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ".concat(U,"; }")),Lt.type==="hc"&&(He.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),He.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}});var mn=e("Vtyv"),It=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this),s._context=U;var N=s._context.configuration.options;return s._lineHeight=N.get(55),s._typicalHalfwidthCharacterWidth=N.get(40).typicalHalfwidthCharacterWidth,s._renderResult=null,s._context.addEventHandler(Object(r.a)(s)),s}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),this._renderResult=null,Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options;return this._lineHeight=N.get(55),this._typicalHalfwidthCharacterWidth=N.get(40).typicalHalfwidthCharacterWidth,!0}},{key:"onDecorationsChanged",value:function(s){return!0}},{key:"onFlushed",value:function(s){return!0}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollTopChanged||s.scrollWidthChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"prepareRender",value:function(s){for(var N=s.getDecorationsInViewport(),Q=[],xe=0,Je=0,Ge=N.length;Je<Ge;Je++){var qt=N[Je];qt.options.className&&(Q[xe++]=qt)}Q=Q.sort(function(Wr,$r){if(Wr.options.zIndex<$r.options.zIndex)return-1;if(Wr.options.zIndex>$r.options.zIndex)return 1;var wi=Wr.options.className,fi=$r.options.className;return wi<fi?-1:wi>fi?1:Ct.a.compareRangesUsingStarts(Wr.range,$r.range)});for(var fn=s.visibleRange.startLineNumber,Wn=s.visibleRange.endLineNumber,Yt=[],Yn=fn;Yn<=Wn;Yn++){var hr=Yn-fn;Yt[hr]=""}this._renderWholeLineDecorations(s,Q,Yt),this._renderNormalDecorations(s,Q,Yt),this._renderResult=Yt}},{key:"_renderWholeLineDecorations",value:function(s,N,Q){for(var xe=String(this._lineHeight),Je=s.visibleRange.startLineNumber,Ge=s.visibleRange.endLineNumber,qt=0,fn=N.length;qt<fn;qt++){var Wn=N[qt];if(!!Wn.options.isWholeLine)for(var Yt='<div class="cdr '+Wn.options.className+'" style="left:0;width:100%;height:'+xe+'px;"></div>',Yn=Math.max(Wn.range.startLineNumber,Je),hr=Math.min(Wn.range.endLineNumber,Ge),Wr=Yn;Wr<=hr;Wr++){var $r=Wr-Je;Q[$r]+=Yt}}}},{key:"_renderNormalDecorations",value:function(s,N,Q){for(var xe=String(this._lineHeight),Je=s.visibleRange.startLineNumber,Ge=null,qt=!1,fn=null,Wn=0,Yt=N.length;Wn<Yt;Wn++){var Yn=N[Wn];if(!Yn.options.isWholeLine){var hr=Yn.options.className,Wr=Boolean(Yn.options.showIfCollapsed),$r=Yn.range;if(Wr&&$r.endColumn===1&&$r.endLineNumber!==$r.startLineNumber&&($r=new Ct.a($r.startLineNumber,$r.startColumn,$r.endLineNumber-1,this._context.model.getLineMaxColumn($r.endLineNumber-1))),Ge===hr&&qt===Wr&&Ct.a.areIntersectingOrTouching(fn,$r)){fn=Ct.a.plusRange(fn,$r);continue}Ge!==null&&this._renderNormalDecoration(s,fn,Ge,qt,xe,Je,Q),Ge=hr,qt=Wr,fn=$r}}Ge!==null&&this._renderNormalDecoration(s,fn,Ge,qt,xe,Je,Q)}},{key:"_renderNormalDecoration",value:function(s,N,Q,xe,Je,Ge,qt){var fn=s.linesVisibleRangesForRange(N,Q==="findMatch");if(!!fn)for(var Wn=0,Yt=fn.length;Wn<Yt;Wn++){var Yn=fn[Wn];if(!Yn.outsideRenderedLine){var hr=Yn.lineNumber-Ge;if(xe&&Yn.ranges.length===1){var Wr=Yn.ranges[0];Wr.width===0&&(Yn.ranges[0]=new z(Wr.left,this._typicalHalfwidthCharacterWidth))}for(var $r=0,wi=Yn.ranges.length;$r<wi;$r++){var fi=Yn.ranges[$r],Vi='<div class="cdr '+Q+'" style="left:'+String(fi.left)+"px;width:"+String(fi.width)+"px;height:"+Je+'px;"></div>';qt[hr]+=Vi}}}}},{key:"render",value:function(s,N){if(!this._renderResult)return"";var Q=N-s;return Q<0||Q>=this._renderResult.length?"":this._renderResult[Q]}}]),F}(dt),Ue=e("GJhM"),Ze=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N,Q){var xe;Object(n.a)(this,F),xe=He.call(this,U);var Je=xe._context.configuration.options,Ge=Je.get(89),qt=Je.get(63),fn=Je.get(32),Wn=Je.get(92),Yt={listenOnDomNode:N.domNode,className:"editor-scrollable "+Object(Kt.e)(U.theme.type),useShadows:!1,lazyRender:!0,vertical:Ge.vertical,horizontal:Ge.horizontal,verticalHasArrows:Ge.verticalHasArrows,horizontalHasArrows:Ge.horizontalHasArrows,verticalScrollbarSize:Ge.verticalScrollbarSize,verticalSliderSize:Ge.verticalSliderSize,horizontalScrollbarSize:Ge.horizontalScrollbarSize,horizontalSliderSize:Ge.horizontalSliderSize,handleMouseWheel:Ge.handleMouseWheel,alwaysConsumeMouseWheel:Ge.alwaysConsumeMouseWheel,arrowSize:Ge.arrowSize,mouseWheelScrollSensitivity:qt,fastScrollSensitivity:fn,scrollPredominantAxis:Wn,scrollByPage:Ge.scrollByPage};xe.scrollbar=xe._register(new Ue.c(s.domNode,Yt,xe._context.viewLayout.getScrollable())),ce.write(xe.scrollbar.getDomNode(),5),xe.scrollbarDomNode=Object(O.b)(xe.scrollbar.getDomNode()),xe.scrollbarDomNode.setPosition("absolute"),xe._setLayout();var Yn=function(Wr,$r,wi){var fi={};if($r){var Vi=Wr.scrollTop;Vi&&(fi.scrollTop=xe._context.viewLayout.getCurrentScrollTop()+Vi,Wr.scrollTop=0)}if(wi){var da=Wr.scrollLeft;da&&(fi.scrollLeft=xe._context.viewLayout.getCurrentScrollLeft()+da,Wr.scrollLeft=0)}xe._context.model.setScrollPosition(fi,1)};return xe._register(k.addDisposableListener(N.domNode,"scroll",function(hr){return Yn(N.domNode,!0,!0)})),xe._register(k.addDisposableListener(s.domNode,"scroll",function(hr){return Yn(s.domNode,!0,!1)})),xe._register(k.addDisposableListener(Q.domNode,"scroll",function(hr){return Yn(Q.domNode,!0,!1)})),xe._register(k.addDisposableListener(xe.scrollbarDomNode.domNode,"scroll",function(hr){return Yn(xe.scrollbarDomNode.domNode,!0,!1)})),xe}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"_setLayout",value:function(){var s=this._context.configuration.options,N=s.get(127);this.scrollbarDomNode.setLeft(N.contentLeft);var Q=s.get(61),xe=Q.side;xe==="right"?this.scrollbarDomNode.setWidth(N.contentWidth+N.minimap.minimapWidth):this.scrollbarDomNode.setWidth(N.contentWidth),this.scrollbarDomNode.setHeight(N.height)}},{key:"getOverviewRulerLayoutInfo",value:function(){return this.scrollbar.getOverviewRulerLayoutInfo()}},{key:"getDomNode",value:function(){return this.scrollbarDomNode}},{key:"delegateVerticalScrollbarMouseDown",value:function(s){this.scrollbar.delegateVerticalScrollbarMouseDown(s)}},{key:"onConfigurationChanged",value:function(s){if(s.hasChanged(89)||s.hasChanged(63)||s.hasChanged(32)){var N=this._context.configuration.options,Q=N.get(89),xe=N.get(63),Je=N.get(32),Ge=N.get(92),qt={handleMouseWheel:Q.handleMouseWheel,mouseWheelScrollSensitivity:xe,fastScrollSensitivity:Je,scrollPredominantAxis:Ge};this.scrollbar.updateOptions(qt)}return s.hasChanged(127)&&this._setLayout(),!0}},{key:"onScrollChanged",value:function(s){return!0}},{key:"onThemeChanged",value:function(s){return this.scrollbar.updateClassName("editor-scrollable "+Object(Kt.e)(this._context.theme.type)),!0}},{key:"prepareRender",value:function(s){}},{key:"render",value:function(s){this.scrollbar.renderNow()}}]),F}(ee),Pe=e("hHjc"),mt=Object(v.a)(function Lt(He,F,U){Object(n.a)(this,Lt),this.startLineNumber=+He,this.endLineNumber=+F,this.className=String(U)}),xt=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(){return Object(n.a)(this,F),He.apply(this,arguments)}return Object(v.a)(F,[{key:"_render",value:function(s,N,Q){for(var xe=[],Je=s;Je<=N;Je++){var Ge=Je-s;xe[Ge]=[]}if(Q.length===0)return xe;Q.sort(function(fi,Vi){return fi.className===Vi.className?fi.startLineNumber===Vi.startLineNumber?fi.endLineNumber-Vi.endLineNumber:fi.startLineNumber-Vi.startLineNumber:fi.className<Vi.className?-1:1});for(var qt=null,fn=0,Wn=0,Yt=Q.length;Wn<Yt;Wn++){var Yn=Q[Wn],hr=Yn.className,Wr=Math.max(Yn.startLineNumber,s)-s,$r=Math.min(Yn.endLineNumber,N)-s;qt===hr?(Wr=Math.max(fn+1,Wr),fn=Math.max(fn,$r)):(qt=hr,fn=$r);for(var wi=Wr;wi<=fn;wi++)xe[wi].push(qt)}return xe}}]),F}(dt),cn=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this),s._context=U;var N=s._context.configuration.options,Q=N.get(127);return s._lineHeight=N.get(55),s._glyphMargin=N.get(46),s._glyphMarginLeft=Q.glyphMarginLeft,s._glyphMarginWidth=Q.glyphMarginWidth,s._renderResult=null,s._context.addEventHandler(Object(r.a)(s)),s}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),this._renderResult=null,Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(127);return this._lineHeight=N.get(55),this._glyphMargin=N.get(46),this._glyphMarginLeft=Q.glyphMarginLeft,this._glyphMarginWidth=Q.glyphMarginWidth,!0}},{key:"onDecorationsChanged",value:function(s){return!0}},{key:"onFlushed",value:function(s){return!0}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollTopChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"_getDecorations",value:function(s){for(var N=s.getDecorationsInViewport(),Q=[],xe=0,Je=0,Ge=N.length;Je<Ge;Je++){var qt=N[Je],fn=qt.options.glyphMarginClassName;fn&&(Q[xe++]=new mt(qt.range.startLineNumber,qt.range.endLineNumber,fn))}return Q}},{key:"prepareRender",value:function(s){if(!this._glyphMargin){this._renderResult=null;return}for(var N=s.visibleRange.startLineNumber,Q=s.visibleRange.endLineNumber,xe=this._render(N,Q,this._getDecorations(s)),Je=this._lineHeight.toString(),Ge=this._glyphMarginLeft.toString(),qt=this._glyphMarginWidth.toString(),fn='" style="left:'+Ge+"px;width:"+qt+"px;height:"+Je+'px;"></div>',Wn=[],Yt=N;Yt<=Q;Yt++){var Yn=Yt-N,hr=xe[Yn];hr.length===0?Wn[Yn]="":Wn[Yn]='<div class="cgmr codicon '+hr.join(" ")+fn}this._renderResult=Wn}},{key:"render",value:function(s,N){if(!this._renderResult)return"";var Q=N-s;return Q<0||Q>=this._renderResult.length?"":this._renderResult[Q]}}]),F}(xt),Ut=e("C6rC"),wt=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this),s._context=U,s._primaryLineNumber=0;var N=s._context.configuration.options,Q=N.get(128),xe=N.get(40);return s._lineHeight=N.get(55),s._spaceWidth=xe.spaceWidth,s._enabled=N.get(80),s._activeIndentEnabled=N.get(49),s._maxIndentLeft=Q.wrappingColumn===-1?-1:Q.wrappingColumn*xe.typicalHalfwidthCharacterWidth,s._renderResult=null,s._context.addEventHandler(Object(r.a)(s)),s}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),this._renderResult=null,Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(128),xe=N.get(40);return this._lineHeight=N.get(55),this._spaceWidth=xe.spaceWidth,this._enabled=N.get(80),this._activeIndentEnabled=N.get(49),this._maxIndentLeft=Q.wrappingColumn===-1?-1:Q.wrappingColumn*xe.typicalHalfwidthCharacterWidth,!0}},{key:"onCursorStateChanged",value:function(s){var N=s.selections[0],Q=N.isEmpty()?N.positionLineNumber:0;return this._primaryLineNumber!==Q?(this._primaryLineNumber=Q,!0):!1}},{key:"onDecorationsChanged",value:function(s){return!0}},{key:"onFlushed",value:function(s){return!0}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollTopChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"onLanguageConfigurationChanged",value:function(s){return!0}},{key:"prepareRender",value:function(s){if(!this._enabled){this._renderResult=null;return}var N=s.visibleRange.startLineNumber,Q=s.visibleRange.endLineNumber,xe=this._context.model.getTextModelOptions(),Je=xe.indentSize,Ge=Je*this._spaceWidth,qt=s.scrollWidth,fn=this._lineHeight,Wn=this._context.model.getLinesIndentGuides(N,Q),Yt=0,Yn=0,hr=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var Wr=this._context.model.getActiveIndentGuide(this._primaryLineNumber,N,Q);Yt=Wr.startLineNumber,Yn=Wr.endLineNumber,hr=Wr.indent}for(var $r=[],wi=N;wi<=Q;wi++){var fi=Yt<=wi&&wi<=Yn,Vi=wi-N,da=Wn[Vi],ia="";if(da>=1)for(var ma=s.visibleRangeForPosition(new bt.a(wi,1)),Ea=ma?ma.left:0,Qa=1;Qa<=da;Qa++){var eo=fi&&Qa===hr?"cigra":"cigr";if(ia+='<div class="'.concat(eo,'" style="left:').concat(Ea,"px;height:").concat(fn,"px;width:").concat(Ge,'px"></div>'),Ea+=Ge,Ea>qt||this._maxIndentLeft>0&&Ea>this._maxIndentLeft)break}$r[Vi]=ia}this._renderResult=$r}},{key:"render",value:function(s,N){if(!this._renderResult)return"";var Q=N-s;return Q<0||Q>=this._renderResult.length?"":this._renderResult[Q]}}]),F}(dt);Object(Kt.f)(function(Lt,He){var F=Lt.getColor(ct.h);F&&He.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 ".concat(F," inset; }"));var U=Lt.getColor(ct.a)||F;U&&He.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 ".concat(U," inset; }"))});var Pn=e("OKK6"),an=function(){function Lt(){Object(n.a)(this,Lt),this._currentVisibleRange=new Ct.a(1,1,1,1)}return Object(v.a)(Lt,[{key:"getCurrentVisibleRange",value:function(){return this._currentVisibleRange}},{key:"setCurrentVisibleRange",value:function(F){this._currentVisibleRange=F}}]),Lt}(),Dn=Object(v.a)(function Lt(He,F,U,s,N,Q){Object(n.a)(this,Lt),this.lineNumber=He,this.startColumn=F,this.endColumn=U,this.startScrollTop=s,this.stopScrollTop=N,this.scrollType=Q,this.type="range",this.minLineNumber=He,this.maxLineNumber=He}),Tn=Object(v.a)(function Lt(He,F,U,s){Object(n.a)(this,Lt),this.selections=He,this.startScrollTop=F,this.stopScrollTop=U,this.scrollType=s,this.type="selections";for(var N=He[0].startLineNumber,Q=He[0].endLineNumber,xe=1,Je=He.length;xe<Je;xe++){var Ge=He[xe];N=Math.min(N,Ge.startLineNumber),Q=Math.max(Q,Ge.endLineNumber)}this.minLineNumber=N,this.maxLineNumber=Q}),Zn=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s){var N;Object(n.a)(this,F),N=He.call(this,U),N._linesContent=s,N._textRangeRestingSpot=document.createElement("div"),N._visibleLines=new Mi(Object(r.a)(N)),N.domNode=N._visibleLines.domNode;var Q=N._context.configuration,xe=N._context.configuration.options,Je=xe.get(40),Ge=xe.get(128);return N._lineHeight=xe.get(55),N._typicalHalfwidthCharacterWidth=Je.typicalHalfwidthCharacterWidth,N._isViewportWrapping=Ge.isViewportWrapping,N._revealHorizontalRightPadding=xe.get(86),N._cursorSurroundingLines=xe.get(23),N._cursorSurroundingLinesStyle=xe.get(24),N._canUseLayerHinting=!xe.get(26),N._viewLineOptions=new Ve(Q,N._context.theme.type),ce.write(N.domNode,7),N.domNode.setClassName("view-lines ".concat(gn.a)),A.a.applyFontInfo(N.domNode,Je),N._maxLineWidth=0,N._asyncUpdateLineWidths=new te.e(function(){N._updateLineWidthsSlow()},200),N._asyncCheckMonospaceFontAssumptions=new te.e(function(){N._checkMonospaceFontAssumptions()},2e3),N._lastRenderedData=new an,N._horizontalRevealRequest=null,N}return Object(v.a)(F,[{key:"dispose",value:function(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"getDomNode",value:function(){return this.domNode}},{key:"createVisibleLine",value:function(){return new Ee(this._viewLineOptions)}},{key:"onConfigurationChanged",value:function(s){this._visibleLines.onConfigurationChanged(s),s.hasChanged(128)&&(this._maxLineWidth=0);var N=this._context.configuration.options,Q=N.get(40),xe=N.get(128);return this._lineHeight=N.get(55),this._typicalHalfwidthCharacterWidth=Q.typicalHalfwidthCharacterWidth,this._isViewportWrapping=xe.isViewportWrapping,this._revealHorizontalRightPadding=N.get(86),this._cursorSurroundingLines=N.get(23),this._cursorSurroundingLinesStyle=N.get(24),this._canUseLayerHinting=!N.get(26),A.a.applyFontInfo(this.domNode,Q),this._onOptionsMaybeChanged(),s.hasChanged(127)&&(this._maxLineWidth=0),!0}},{key:"_onOptionsMaybeChanged",value:function(){var s=this._context.configuration,N=new Ve(s,this._context.theme.type);if(!this._viewLineOptions.equals(N)){this._viewLineOptions=N;for(var Q=this._visibleLines.getStartLineNumber(),xe=this._visibleLines.getEndLineNumber(),Je=Q;Je<=xe;Je++){var Ge=this._visibleLines.getVisibleLine(Je);Ge.onOptionsChanged(this._viewLineOptions)}return!0}return!1}},{key:"onCursorStateChanged",value:function(s){for(var N=this._visibleLines.getStartLineNumber(),Q=this._visibleLines.getEndLineNumber(),xe=!1,Je=N;Je<=Q;Je++)xe=this._visibleLines.getVisibleLine(Je).onSelectionChanged()||xe;return xe}},{key:"onDecorationsChanged",value:function(s){for(var N=this._visibleLines.getStartLineNumber(),Q=this._visibleLines.getEndLineNumber(),xe=N;xe<=Q;xe++)this._visibleLines.getVisibleLine(xe).onDecorationsChanged();return!0}},{key:"onFlushed",value:function(s){var N=this._visibleLines.onFlushed(s);return this._maxLineWidth=0,N}},{key:"onLinesChanged",value:function(s){return this._visibleLines.onLinesChanged(s)}},{key:"onLinesDeleted",value:function(s){return this._visibleLines.onLinesDeleted(s)}},{key:"onLinesInserted",value:function(s){return this._visibleLines.onLinesInserted(s)}},{key:"onRevealRangeRequest",value:function(s){var N=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),s.source,s.range,s.selections,s.verticalType);if(N===-1)return!1;var Q=this._context.viewLayout.validateScrollPosition({scrollTop:N});s.revealHorizontal?s.range&&s.range.startLineNumber!==s.range.endLineNumber?Q={scrollTop:Q.scrollTop,scrollLeft:0}:s.range?this._horizontalRevealRequest=new Dn(s.range.startLineNumber,s.range.startColumn,s.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),Q.scrollTop,s.scrollType):s.selections&&s.selections.length>0&&(this._horizontalRevealRequest=new Tn(s.selections,this._context.viewLayout.getCurrentScrollTop(),Q.scrollTop,s.scrollType)):this._horizontalRevealRequest=null;var xe=Math.abs(this._context.viewLayout.getCurrentScrollTop()-Q.scrollTop),Je=xe<=this._lineHeight?1:s.scrollType;return this._context.model.setScrollPosition(Q,Je),!0}},{key:"onScrollChanged",value:function(s){if(this._horizontalRevealRequest&&s.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&s.scrollTopChanged){var N=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),Q=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(s.scrollTop<N||s.scrollTop>Q)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(s.scrollWidth),this._visibleLines.onScrollChanged(s)||!0}},{key:"onTokensChanged",value:function(s){return this._visibleLines.onTokensChanged(s)}},{key:"onZonesChanged",value:function(s){return this._context.model.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(s)}},{key:"onThemeChanged",value:function(s){return this._onOptionsMaybeChanged()}},{key:"getPositionFromDOMInfo",value:function(s,N){var Q=this._getViewLineDomNode(s);if(Q===null)return null;var xe=this._getLineNumberFor(Q);if(xe===-1||xe<1||xe>this._context.model.getLineCount())return null;if(this._context.model.getLineMaxColumn(xe)===1)return new bt.a(xe,1);var Je=this._visibleLines.getStartLineNumber(),Ge=this._visibleLines.getEndLineNumber();if(xe<Je||xe>Ge)return null;var qt=this._visibleLines.getVisibleLine(xe).getColumnOfNodeOffset(xe,s,N),fn=this._context.model.getLineMinColumn(xe);return qt<fn&&(qt=fn),new bt.a(xe,qt)}},{key:"_getViewLineDomNode",value:function(s){for(;s&&s.nodeType===1;){if(s.className===Ee.CLASS_NAME)return s;s=s.parentElement}return null}},{key:"_getLineNumberFor",value:function(s){for(var N=this._visibleLines.getStartLineNumber(),Q=this._visibleLines.getEndLineNumber(),xe=N;xe<=Q;xe++){var Je=this._visibleLines.getVisibleLine(xe);if(s===Je.getDomNode())return xe}return-1}},{key:"getLineWidth",value:function(s){var N=this._visibleLines.getStartLineNumber(),Q=this._visibleLines.getEndLineNumber();return s<N||s>Q?-1:this._visibleLines.getVisibleLine(s).getWidth()}},{key:"linesVisibleRangesForRange",value:function(s,N){if(this.shouldRender())return null;var Q=s.endLineNumber,xe=Ct.a.intersectRanges(s,this._lastRenderedData.getCurrentVisibleRange());if(!xe)return null;var Je=[],Ge=0,qt=new ge(this.domNode.domNode,this._textRangeRestingSpot),fn=0;N&&(fn=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new bt.a(xe.startLineNumber,1)).lineNumber);for(var Wn=this._visibleLines.getStartLineNumber(),Yt=this._visibleLines.getEndLineNumber(),Yn=xe.startLineNumber;Yn<=xe.endLineNumber;Yn++)if(!(Yn<Wn||Yn>Yt)){var hr=Yn===xe.startLineNumber?xe.startColumn:1,Wr=Yn===xe.endLineNumber?xe.endColumn:this._context.model.getLineMaxColumn(Yn),$r=this._visibleLines.getVisibleLine(Yn).getVisibleRangesForRange(hr,Wr,qt);if(!!$r){if(N&&Yn<Q){var wi=fn;fn=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new bt.a(Yn+1,1)).lineNumber,wi!==fn&&($r.ranges[$r.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}Je[Ge++]=new C($r.outsideRenderedLine,Yn,$r.ranges)}}return Ge===0?null:Je}},{key:"_visibleRangesForLineRange",value:function(s,N,Q){return this.shouldRender()||s<this._visibleLines.getStartLineNumber()||s>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(s).getVisibleRangesForRange(N,Q,new ge(this.domNode.domNode,this._textRangeRestingSpot))}},{key:"visibleRangeForPosition",value:function(s){var N=this._visibleRangesForLineRange(s.lineNumber,s.column,s.column);return N?new G(N.outsideRenderedLine,N.ranges[0].left):null}},{key:"updateLineWidths",value:function(){this._updateLineWidths(!1)}},{key:"_updateLineWidthsFast",value:function(){return this._updateLineWidths(!0)}},{key:"_updateLineWidthsSlow",value:function(){this._updateLineWidths(!1)}},{key:"_updateLineWidths",value:function(s){for(var N=this._visibleLines.getStartLineNumber(),Q=this._visibleLines.getEndLineNumber(),xe=1,Je=!0,Ge=N;Ge<=Q;Ge++){var qt=this._visibleLines.getVisibleLine(Ge);if(s&&!qt.getWidthIsFast()){Je=!1;continue}xe=Math.max(xe,qt.getWidth())}return Je&&N===1&&Q===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(xe),Je}},{key:"_checkMonospaceFontAssumptions",value:function(){for(var s=-1,N=-1,Q=this._visibleLines.getStartLineNumber(),xe=this._visibleLines.getEndLineNumber(),Je=Q;Je<=xe;Je++){var Ge=this._visibleLines.getVisibleLine(Je);if(Ge.needsMonospaceFontCheck()){var qt=Ge.getWidth();qt>N&&(N=qt,s=Je)}}if(s!==-1&&!this._visibleLines.getVisibleLine(s).monospaceAssumptionsAreValid())for(var fn=Q;fn<=xe;fn++){var Wn=this._visibleLines.getVisibleLine(fn);Wn.onMonospaceAssumptionsInvalidated()}}},{key:"prepareRender",value:function(){throw new Error("Not supported")}},{key:"render",value:function(){throw new Error("Not supported")}},{key:"renderText",value:function(s){if(this._visibleLines.renderLines(s),this._lastRenderedData.setCurrentVisibleRange(s.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var N=this._horizontalRevealRequest;if(s.startLineNumber<=N.minLineNumber&&N.maxLineNumber<=s.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var Q=this._computeScrollLeftToReveal(N);Q&&(this._isViewportWrapping||this._ensureMaxLineWidth(Q.maxHorizontalOffset),this._context.model.setScrollPosition({scrollLeft:Q.scrollLeft},N.scrollType))}}if(this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),E.d&&!this._asyncCheckMonospaceFontAssumptions.isScheduled())for(var xe=this._visibleLines.getStartLineNumber(),Je=this._visibleLines.getEndLineNumber(),Ge=xe;Ge<=Je;Ge++){var qt=this._visibleLines.getVisibleLine(Ge);if(qt.needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");var fn=this._context.viewLayout.getCurrentScrollTop()-s.bigNumbersDelta;this._linesContent.setTop(-fn),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}},{key:"_ensureMaxLineWidth",value:function(s){var N=Math.ceil(s);this._maxLineWidth<N&&(this._maxLineWidth=N,this._context.model.setMaxLineWidth(this._maxLineWidth))}},{key:"_computeScrollTopToRevealRange",value:function(s,N,Q,xe,Je){var Ge=s.top,qt=s.height,fn=Ge+qt,Wn,Yt,Yn;if(xe&&xe.length>0){for(var hr=xe[0].startLineNumber,Wr=xe[0].endLineNumber,$r=1,wi=xe.length;$r<wi;$r++){var fi=xe[$r];hr=Math.min(hr,fi.startLineNumber),Wr=Math.max(Wr,fi.endLineNumber)}Wn=!1,Yt=this._context.viewLayout.getVerticalOffsetForLineNumber(hr),Yn=this._context.viewLayout.getVerticalOffsetForLineNumber(Wr)+this._lineHeight}else if(Q)Wn=!0,Yt=this._context.viewLayout.getVerticalOffsetForLineNumber(Q.startLineNumber),Yn=this._context.viewLayout.getVerticalOffsetForLineNumber(Q.endLineNumber)+this._lineHeight;else return-1;var Vi=N==="mouse"&&this._cursorSurroundingLinesStyle==="default";if(!Vi){var da=Math.min(qt/this._lineHeight/2,this._cursorSurroundingLines);Yt-=da*this._lineHeight,Yn+=Math.max(0,da-1)*this._lineHeight}(Je===0||Je===4)&&(Yn+=this._lineHeight);var ia;if(Yn-Yt>qt){if(!Wn)return-1;ia=Yt}else if(Je===5||Je===6)if(Je===6&&Ge<=Yt&&Yn<=fn)ia=Ge;else{var ma=Math.max(5*this._lineHeight,qt*.2),Ea=Yt-ma,Qa=Yn-qt;ia=Math.max(Qa,Ea)}else if(Je===1||Je===2)if(Je===2&&Ge<=Yt&&Yn<=fn)ia=Ge;else{var eo=(Yt+Yn)/2;ia=Math.max(0,eo-qt/2)}else ia=this._computeMinimumScrolling(Ge,fn,Yt,Yn,Je===3,Je===4);return ia}},{key:"_computeScrollLeftToReveal",value:function(s){var N=this._context.viewLayout.getCurrentViewport(),Q=N.left,xe=Q+N.width,Je=1073741824,Ge=0;if(s.type==="range"){var qt=this._visibleRangesForLineRange(s.lineNumber,s.startColumn,s.endColumn);if(!qt)return null;var fn=Object(c.a)(qt.ranges),Wn;try{for(fn.s();!(Wn=fn.n()).done;){var Yt=Wn.value;Je=Math.min(Je,Yt.left),Ge=Math.max(Ge,Yt.left+Yt.width)}}catch(ia){fn.e(ia)}finally{fn.f()}}else{var Yn=Object(c.a)(s.selections),hr;try{for(Yn.s();!(hr=Yn.n()).done;){var Wr=hr.value;if(Wr.startLineNumber!==Wr.endLineNumber)return null;var $r=this._visibleRangesForLineRange(Wr.startLineNumber,Wr.startColumn,Wr.endColumn);if(!$r)return null;var wi=Object(c.a)($r.ranges),fi;try{for(wi.s();!(fi=wi.n()).done;){var Vi=fi.value;Je=Math.min(Je,Vi.left),Ge=Math.max(Ge,Vi.left+Vi.width)}}catch(ia){wi.e(ia)}finally{wi.f()}}}catch(ia){Yn.e(ia)}finally{Yn.f()}}if(Je=Math.max(0,Je-F.HORIZONTAL_EXTRA_PX),Ge+=this._revealHorizontalRightPadding,s.type==="selections"&&Ge-Je>N.width)return null;var da=this._computeMinimumScrolling(Q,xe,Je,Ge);return{scrollLeft:da,maxHorizontalOffset:Ge}}},{key:"_computeMinimumScrolling",value:function(s,N,Q,xe,Je,Ge){s=s|0,N=N|0,Q=Q|0,xe=xe|0,Je=!!Je,Ge=!!Ge;var qt=N-s,fn=xe-Q;if(fn<qt){if(Je)return Q;if(Ge)return Math.max(0,xe-qt);if(Q<s)return Q;if(xe>N)return Math.max(0,xe-qt)}else return Q;return s}}]),F}(ee);Zn.HORIZONTAL_EXTRA_PX=30;var Mr=e("J+ZK"),xr=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this),s._context=U;var N=s._context.configuration.options,Q=N.get(127);return s._decorationsLeft=Q.decorationsLeft,s._decorationsWidth=Q.decorationsWidth,s._renderResult=null,s._context.addEventHandler(Object(r.a)(s)),s}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),this._renderResult=null,Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(127);return this._decorationsLeft=Q.decorationsLeft,this._decorationsWidth=Q.decorationsWidth,!0}},{key:"onDecorationsChanged",value:function(s){return!0}},{key:"onFlushed",value:function(s){return!0}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollTopChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"_getDecorations",value:function(s){for(var N=s.getDecorationsInViewport(),Q=[],xe=0,Je=0,Ge=N.length;Je<Ge;Je++){var qt=N[Je],fn=qt.options.linesDecorationsClassName;fn&&(Q[xe++]=new mt(qt.range.startLineNumber,qt.range.endLineNumber,fn));var Wn=qt.options.firstLineDecorationClassName;Wn&&(Q[xe++]=new mt(qt.range.startLineNumber,qt.range.startLineNumber,Wn))}return Q}},{key:"prepareRender",value:function(s){for(var N=s.visibleRange.startLineNumber,Q=s.visibleRange.endLineNumber,xe=this._render(N,Q,this._getDecorations(s)),Je=this._decorationsLeft.toString(),Ge=this._decorationsWidth.toString(),qt='" style="left:'+Je+"px;width:"+Ge+'px;"></div>',fn=[],Wn=N;Wn<=Q;Wn++){for(var Yt=Wn-N,Yn=xe[Yt],hr="",Wr=0,$r=Yn.length;Wr<$r;Wr++)hr+='<div class="cldr '+Yn[Wr]+qt;fn[Yt]=hr}this._renderResult=fn}},{key:"render",value:function(s,N){return this._renderResult?this._renderResult[N-s]:""}}]),F}(xt),Vr=e("XXBq"),Dr=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;return Object(n.a)(this,F),s=He.call(this),s._context=U,s._renderResult=null,s._context.addEventHandler(Object(r.a)(s)),s}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),this._renderResult=null,Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){return!0}},{key:"onDecorationsChanged",value:function(s){return!0}},{key:"onFlushed",value:function(s){return!0}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollTopChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"_getDecorations",value:function(s){for(var N=s.getDecorationsInViewport(),Q=[],xe=0,Je=0,Ge=N.length;Je<Ge;Je++){var qt=N[Je],fn=qt.options.marginClassName;fn&&(Q[xe++]=new mt(qt.range.startLineNumber,qt.range.endLineNumber,fn))}return Q}},{key:"prepareRender",value:function(s){for(var N=s.visibleRange.startLineNumber,Q=s.visibleRange.endLineNumber,xe=this._render(N,Q,this._getDecorations(s)),Je=[],Ge=N;Ge<=Q;Ge++){for(var qt=Ge-N,fn=xe[qt],Wn="",Yt=0,Yn=fn.length;Yt<Yn;Yt++)Wn+='<div class="cmdr '+fn[Yt]+'" style=""></div>';Je[qt]=Wn}this._renderResult=Je}},{key:"render",value:function(s,N){return this._renderResult?this._renderResult[N-s]:""}}]),F}(xt),dr=e("8gvo"),gt=function(){function Lt(He,F,U,s){Object(n.a)(this,Lt),this.r=Lt._clamp(He),this.g=Lt._clamp(F),this.b=Lt._clamp(U),this.a=Lt._clamp(s)}return Object(v.a)(Lt,[{key:"equals",value:function(F){return this.r===F.r&&this.g===F.g&&this.b===F.b&&this.a===F.a}}],[{key:"_clamp",value:function(F){return F<0?0:F>255?255:F|0}}]),Lt}();gt.Empty=new gt(0,0,0,0);var Rr=e("twdY"),ci=function(){function Lt(){var He=this;Object(n.a)(this,Lt),this._onDidChange=new I.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),Rr.D.onDidChange(function(F){F.changedColorMap&&He._updateColorMap()})}return Object(v.a)(Lt,[{key:"_updateColorMap",value:function(){var F=Rr.D.getColorMap();if(!F){this._colors=[gt.Empty],this._backgroundIsLight=!0;return}this._colors=[gt.Empty];for(var U=1;U<F.length;U++){var s=F[U].rgba;this._colors[U]=new gt(s.r,s.g,s.b,Math.round(s.a*255))}var N=F[2].getRelativeLuminance();this._backgroundIsLight=N>=.5,this._onDidChange.fire(void 0)}},{key:"getColor",value:function(F){return(F<1||F>=this._colors.length)&&(F=2),this._colors[F]}},{key:"backgroundIsLight",value:function(){return this._backgroundIsLight}}],[{key:"getInstance",value:function(){return this._INSTANCE||(this._INSTANCE=new Lt),this._INSTANCE}}]),Lt}();ci._INSTANCE=null;var ai=e("qNAo"),bi=e("MD5Z"),zr=function(){for(var Lt=[],He=32;He<=126;He++)Lt.push(He);return Lt.push(65533),Lt}(),Hi=function(He,F){return He-=32,He<0||He>96?F<=2?(He+96)%96:96-1:He},hi=e("CZ1j"),Ci=function(){function Lt(He,F){Object(n.a)(this,Lt),this.scale=F,this.charDataNormal=Lt.soften(He,12/15),this.charDataLight=Lt.soften(He,50/60)}return Object(v.a)(Lt,[{key:"renderChar",value:function(F,U,s,N,Q,xe,Je,Ge,qt){var fn=1*this.scale,Wn=2*this.scale,Yt=qt?1:Wn;if(U+fn>F.width||s+Yt>F.height){console.warn("bad render request outside image data");return}for(var Yn=Ge?this.charDataLight:this.charDataNormal,hr=Hi(N,Je),Wr=F.width*4,$r=xe.r,wi=xe.g,fi=xe.b,Vi=Q.r-$r,da=Q.g-wi,ia=Q.b-fi,ma=F.data,Ea=hr*fn*Wn,Qa=s*Wr+U*4,eo=0;eo<Yt;eo++){for(var lo=Qa,ho=0;ho<fn;ho++){var Eo=Yn[Ea++]/255;ma[lo++]=$r+Vi*Eo,ma[lo++]=wi+da*Eo,ma[lo++]=fi+ia*Eo,lo++}Qa+=Wr}}},{key:"blockRenderChar",value:function(F,U,s,N,Q,xe,Je){var Ge=1*this.scale,qt=2*this.scale,fn=Je?1:qt;if(U+Ge>F.width||s+fn>F.height){console.warn("bad render request outside image data");return}for(var Wn=F.width*4,Yt=.5,Yn=Q.r,hr=Q.g,Wr=Q.b,$r=N.r-Yn,wi=N.g-hr,fi=N.b-Wr,Vi=Yn+$r*Yt,da=hr+wi*Yt,ia=Wr+fi*Yt,ma=F.data,Ea=s*Wn+U*4,Qa=0;Qa<fn;Qa++){for(var eo=Ea,lo=0;lo<Ge;lo++)ma[eo++]=Vi,ma[eo++]=da,ma[eo++]=ia,eo++;Ea+=Wn}}}],[{key:"soften",value:function(F,U){for(var s=new Uint8ClampedArray(F.length),N=0,Q=F.length;N<Q;N++)s[N]=Object(hi.b)(F[N]*U);return s}}]),Lt}(),Ii=e("C/vA"),Mn={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,A:10,B:11,C:12,D:13,E:14,F:15},nr=function(He){for(var F=new Uint8ClampedArray(He.length/2),U=0;U<He.length;U+=2)F[U>>1]=Mn[He[U]]<<4|Mn[He[U+1]]&15;return F},cr={1:Object(Ii.a)(function(){return nr("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")}),2:Object(Ii.a)(function(){return nr("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")})},Lr=function(){function Lt(){Object(n.a)(this,Lt)}return Object(v.a)(Lt,null,[{key:"create",value:function(F,U){if(this.lastCreated&&F===this.lastCreated.scale&&U===this.lastFontFamily)return this.lastCreated;var s;return cr[F]?s=new Ci(cr[F](),F):s=Lt.createFromSampleData(Lt.createSampleData(U).data,F),this.lastFontFamily=U,this.lastCreated=s,s}},{key:"createSampleData",value:function(F){var U=document.createElement("canvas"),s=U.getContext("2d");U.style.height="".concat(16,"px"),U.height=16,U.width=96*10,U.style.width=96*10+"px",s.fillStyle="#ffffff",s.font="bold ".concat(16,"px ",F),s.textBaseline="middle";var N=0,Q=Object(c.a)(zr),xe;try{for(Q.s();!(xe=Q.n()).done;){var Je=xe.value;s.fillText(String.fromCharCode(Je),N,16/2),N+=10}}catch(Ge){Q.e(Ge)}finally{Q.f()}return s.getImageData(0,0,96*10,16)}},{key:"createFromSampleData",value:function(F,U){var s=16*10*4*96;if(F.length!==s)throw new Error("Unexpected source in MinimapCharRenderer");var N=Lt._downsample(F,U);return new Ci(N,U)}},{key:"_downsampleChar",value:function(F,U,s,N,Q){for(var xe=1*Q,Je=2*Q,Ge=N,qt=0,fn=0;fn<Je;fn++)for(var Wn=fn/Je*16,Yt=(fn+1)/Je*16,Yn=0;Yn<xe;Yn++){for(var hr=Yn/xe*10,Wr=(Yn+1)/xe*10,$r=0,wi=0,fi=Wn;fi<Yt;fi++)for(var Vi=U+Math.floor(fi)*3840,da=1-(fi-Math.floor(fi)),ia=hr;ia<Wr;ia++){var ma=1-(ia-Math.floor(ia)),Ea=Vi+Math.floor(ia)*4,Qa=ma*da;wi+=Qa,$r+=F[Ea]*F[Ea+3]/255*Qa}var eo=$r/wi;qt=Math.max(qt,eo),s[Ge++]=Object(hi.b)(eo)}return qt}},{key:"_downsample",value:function(F,U){for(var s=2*U*1*U,N=s*96,Q=new Uint8ClampedArray(N),xe=0,Je=0,Ge=0,qt=0;qt<96;qt++)Ge=Math.max(Ge,this._downsampleChar(F,Je,Q,xe,U)),xe+=s,Je+=10*4;if(Ge>0)for(var fn=255/Ge,Wn=0;Wn<N;Wn++)Q[Wn]*=fn;return Q}}]),Lt}(),ei=e("M1Kb"),ki=140,ua=2,Qi=function(){function Lt(He,F,U){var s=this;Object(n.a)(this,Lt);var N=He.options,Q=N.get(125),xe=N.get(127),Je=xe.minimap,Ge=N.get(40),qt=N.get(61);this.renderMinimap=Je.renderMinimap,this.size=qt.size,this.minimapHeightIsEditorHeight=Je.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=N.get(91),this.showSlider=qt.showSlider,this.pixelRatio=Q,this.typicalHalfwidthCharacterWidth=Ge.typicalHalfwidthCharacterWidth,this.lineHeight=N.get(55),this.minimapLeft=Je.minimapLeft,this.minimapWidth=Je.minimapWidth,this.minimapHeight=xe.height,this.canvasInnerWidth=Je.minimapCanvasInnerWidth,this.canvasInnerHeight=Je.minimapCanvasInnerHeight,this.canvasOuterWidth=Je.minimapCanvasOuterWidth,this.canvasOuterHeight=Je.minimapCanvasOuterHeight,this.isSampling=Je.minimapIsSampling,this.editorHeight=xe.height,this.fontScale=Je.minimapScale,this.minimapLineHeight=Je.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=Object(Ii.a)(function(){return Lr.create(s.fontScale,Ge.fontFamily)}),this.backgroundColor=Lt._getMinimapBackground(F,U)}return Object(v.a)(Lt,[{key:"equals",value:function(F){return this.renderMinimap===F.renderMinimap&&this.size===F.size&&this.minimapHeightIsEditorHeight===F.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===F.scrollBeyondLastLine&&this.showSlider===F.showSlider&&this.pixelRatio===F.pixelRatio&&this.typicalHalfwidthCharacterWidth===F.typicalHalfwidthCharacterWidth&&this.lineHeight===F.lineHeight&&this.minimapLeft===F.minimapLeft&&this.minimapWidth===F.minimapWidth&&this.minimapHeight===F.minimapHeight&&this.canvasInnerWidth===F.canvasInnerWidth&&this.canvasInnerHeight===F.canvasInnerHeight&&this.canvasOuterWidth===F.canvasOuterWidth&&this.canvasOuterHeight===F.canvasOuterHeight&&this.isSampling===F.isSampling&&this.editorHeight===F.editorHeight&&this.fontScale===F.fontScale&&this.minimapLineHeight===F.minimapLineHeight&&this.minimapCharWidth===F.minimapCharWidth&&this.backgroundColor&&this.backgroundColor.equals(F.backgroundColor)}}],[{key:"_getMinimapBackground",value:function(F,U){var s=F.getColor(bi.Wb);return s?new gt(s.rgba.r,s.rgba.g,s.rgba.b,s.rgba.a):U.getColor(2)}}]),Lt}(),Br=function(){function Lt(He,F,U,s,N,Q,xe,Je){Object(n.a)(this,Lt),this.scrollTop=He,this.scrollHeight=F,this.sliderNeeded=U,this._computedSliderRatio=s,this.sliderTop=N,this.sliderHeight=Q,this.startLineNumber=xe,this.endLineNumber=Je}return Object(v.a)(Lt,[{key:"getDesiredScrollTopFromDelta",value:function(F){return Math.round(this.scrollTop+F/this._computedSliderRatio)}},{key:"getDesiredScrollTopFromTouchLocation",value:function(F){return Math.round((F-this.sliderHeight/2)/this._computedSliderRatio)}}],[{key:"create",value:function(F,U,s,N,Q,xe,Je,Ge,qt,fn,Wn){var Yt=F.pixelRatio,Yn=F.minimapLineHeight,hr=Math.floor(F.canvasInnerHeight/Yn),Wr=F.lineHeight;if(F.minimapHeightIsEditorHeight){var $r=Ge*F.lineHeight+(F.scrollBeyondLastLine?Q-F.lineHeight:0),wi=Math.max(1,Math.floor(Q*Q/$r)),fi=Math.max(0,F.minimapHeight-wi),Vi=fi/(fn-Q),da=qt*Vi,ia=fi>0,ma=Math.floor(F.canvasInnerHeight/F.minimapLineHeight);return new Lt(qt,fn,ia,Vi,da,wi,1,Math.min(Je,ma))}var Ea;if(xe&&s!==Je){var Qa=s-U+1;Ea=Math.floor(Qa*Yn/Yt)}else{var eo=Q/Wr;Ea=Math.floor(eo*Yn/Yt)}var lo;F.scrollBeyondLastLine?lo=(Je-1)*Yn/Yt:lo=Math.max(0,Je*Yn/Yt-Ea),lo=Math.min(F.minimapHeight-Ea,lo);var ho=lo/(fn-Q),Eo=qt*ho,Uo=0;if(F.scrollBeyondLastLine){var us=Q/Wr;Uo=us-1}if(hr>=Je+Uo){var ns=1,is=Je,Es=lo>0;return new Lt(qt,fn,Es,ho,Eo,Ea,ns,is)}else{var ys=Math.max(1,Math.floor(U-Eo*Yt/Yn));Wn&&Wn.scrollHeight===fn&&(Wn.scrollTop>qt&&(ys=Math.min(ys,Wn.startLineNumber)),Wn.scrollTop<qt&&(ys=Math.max(ys,Wn.startLineNumber)));var il=Math.min(Je,ys+hr-1),Ns=(qt-N)/Wr,Ol=(U-ys+Ns)*Yn/Yt;return new Lt(qt,fn,!0,ho,Ol,Ea,ys,il)}}}]),Lt}(),ga=function(){function Lt(He){Object(n.a)(this,Lt),this.dy=He}return Object(v.a)(Lt,[{key:"onContentChanged",value:function(){this.dy=-1}},{key:"onTokensChanged",value:function(){this.dy=-1}}]),Lt}();ga.INVALID=new ga(-1);var fa=function(){function Lt(He,F,U){Object(n.a)(this,Lt),this.renderedLayout=He,this._imageData=F,this._renderedLines=new xi(function(){return ga.INVALID}),this._renderedLines._set(He.startLineNumber,U)}return Object(v.a)(Lt,[{key:"linesEquals",value:function(F){if(!this.scrollEquals(F))return!1;for(var U=this._renderedLines._get(),s=U.lines,N=0,Q=s.length;N<Q;N++)if(s[N].dy===-1)return!1;return!0}},{key:"scrollEquals",value:function(F){return this.renderedLayout.startLineNumber===F.startLineNumber&&this.renderedLayout.endLineNumber===F.endLineNumber}},{key:"_get",value:function(){var F=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:F.rendLineNumberStart,lines:F.lines}}},{key:"onLinesChanged",value:function(F,U){return this._renderedLines.onLinesChanged(F,U)}},{key:"onLinesDeleted",value:function(F,U){this._renderedLines.onLinesDeleted(F,U)}},{key:"onLinesInserted",value:function(F,U){this._renderedLines.onLinesInserted(F,U)}},{key:"onTokensChanged",value:function(F){return this._renderedLines.onTokensChanged(F)}}]),Lt}(),Ja=function(){function Lt(He,F,U,s){Object(n.a)(this,Lt),this._backgroundFillData=Lt._createBackgroundFillData(F,U,s),this._buffers=[He.createImageData(F,U),He.createImageData(F,U)],this._lastUsedBuffer=0}return Object(v.a)(Lt,[{key:"getBuffer",value:function(){this._lastUsedBuffer=1-this._lastUsedBuffer;var F=this._buffers[this._lastUsedBuffer];return F.data.set(this._backgroundFillData),F}}],[{key:"_createBackgroundFillData",value:function(F,U,s){for(var N=s.r,Q=s.g,xe=s.b,Je=new Uint8ClampedArray(F*U*4),Ge=0,qt=0;qt<U;qt++)for(var fn=0;fn<F;fn++)Je[Ge]=N,Je[Ge+1]=Q,Je[Ge+2]=xe,Je[Ge+3]=255,Ge+=4;return Je}}]),Lt}(),In=function(){function Lt(He,F){Object(n.a)(this,Lt),this.samplingRatio=He,this.minimapLines=F}return Object(v.a)(Lt,[{key:"modelLineToMinimapLine",value:function(F){return Math.min(this.minimapLines.length,Math.max(1,Math.round(F/this.samplingRatio)))}},{key:"modelLineRangeToMinimapLineRange",value:function(F,U){for(var s=this.modelLineToMinimapLine(F)-1;s>0&&this.minimapLines[s-1]>=F;)s--;for(var N=this.modelLineToMinimapLine(U)-1;N+1<this.minimapLines.length&&this.minimapLines[N+1]<=U;)N++;if(s===N){var Q=this.minimapLines[s];if(Q<F||Q>U)return null}return[s+1,N+1]}},{key:"decorationLineRangeToMinimapLineRange",value:function(F,U){var s=this.modelLineToMinimapLine(F),N=this.modelLineToMinimapLine(U);return F!==U&&N===s&&(N===this.minimapLines.length?s>1&&s--:N++),[s,N]}},{key:"onLinesDeleted",value:function(F){for(var U=F.toLineNumber-F.fromLineNumber+1,s=this.minimapLines.length,N=0,Q=this.minimapLines.length-1;Q>=0&&!(this.minimapLines[Q]<F.fromLineNumber);Q--)this.minimapLines[Q]<=F.toLineNumber?(this.minimapLines[Q]=Math.max(1,F.fromLineNumber-1),s=Math.min(s,Q),N=Math.max(N,Q)):this.minimapLines[Q]-=U;return[s,N]}},{key:"onLinesInserted",value:function(F){for(var U=F.toLineNumber-F.fromLineNumber+1,s=this.minimapLines.length-1;s>=0&&!(this.minimapLines[s]<F.fromLineNumber);s--)this.minimapLines[s]+=U}}],[{key:"compute",value:function(F,U,s){if(F.renderMinimap===0||!F.isSampling)return[null,[]];var N=F.pixelRatio,Q=F.lineHeight,xe=F.scrollBeyondLastLine,Je=ft.f.computeContainedMinimapLineCount({viewLineCount:U,scrollBeyondLastLine:xe,height:F.editorHeight,lineHeight:Q,pixelRatio:N}),Ge=Je.minimapLineCount,qt=U/Ge,fn=qt/2;if(!s||s.minimapLines.length===0){var Wn=[];if(Wn[0]=1,Ge>1){for(var Yt=0,Yn=Ge-1;Yt<Yn;Yt++)Wn[Yt]=Math.round(Yt*qt+fn);Wn[Ge-1]=U}return[new Lt(qt,Wn),[]]}for(var hr=s.minimapLines,Wr=hr.length,$r=[],wi=0,fi=0,Vi=1,da=10,ia=[],ma=null,Ea=0;Ea<Ge;Ea++){for(var Qa=Math.max(Vi,Math.round(Ea*qt)),eo=Math.max(Qa,Math.round((Ea+1)*qt));wi<Wr&&hr[wi]<Qa;){if(ia.length<da){var lo=wi+1+fi;ma&&ma.type==="deleted"&&ma._oldIndex===wi-1?ma.deleteToLineNumber++:(ma={type:"deleted",_oldIndex:wi,deleteFromLineNumber:lo,deleteToLineNumber:lo},ia.push(ma)),fi--}wi++}var ho=void 0;if(wi<Wr&&hr[wi]<=eo)ho=hr[wi],wi++;else if(Ea===0?ho=1:Ea+1===Ge?ho=U:ho=Math.round(Ea*qt+fn),ia.length<da){var Eo=wi+1+fi;ma&&ma.type==="inserted"&&ma._i===Ea-1?ma.insertToLineNumber++:(ma={type:"inserted",_i:Ea,insertFromLineNumber:Eo,insertToLineNumber:Eo},ia.push(ma)),fi++}$r[Ea]=ho,Vi=ho}if(ia.length<da)for(;wi<Wr;){var Uo=wi+1+fi;ma&&ma.type==="deleted"&&ma._oldIndex===wi-1?ma.deleteToLineNumber++:(ma={type:"deleted",_oldIndex:wi,deleteFromLineNumber:Uo,deleteToLineNumber:Uo},ia.push(ma)),fi--,wi++}else ia=[{type:"flush"}];return[new Lt(qt,$r),ia]}}]),Lt}(),ve=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this,U),s.tokensColorTracker=ci.getInstance(),s._selections=[],s._minimapSelections=null,s.options=new Qi(s._context.configuration,s._context.theme,s.tokensColorTracker);var N=In.compute(s.options,s._context.model.getLineCount(),null),Q=Object(u.a)(N,1),xe=Q[0];return s._samplingState=xe,s._shouldCheckSampling=!1,s._actual=new x(U.theme,Object(r.a)(s)),s}return Object(v.a)(F,[{key:"dispose",value:function(){this._actual.dispose(),Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"getDomNode",value:function(){return this._actual.getDomNode()}},{key:"_onOptionsMaybeChanged",value:function(){var s=new Qi(this._context.configuration,this._context.theme,this.tokensColorTracker);return this.options.equals(s)?!1:(this.options=s,this._recreateLineSampling(),this._actual.onDidChangeOptions(),!0)}},{key:"onConfigurationChanged",value:function(s){return this._onOptionsMaybeChanged()}},{key:"onCursorStateChanged",value:function(s){return this._selections=s.selections,this._minimapSelections=null,this._actual.onSelectionChanged()}},{key:"onDecorationsChanged",value:function(s){return s.affectsMinimap?this._actual.onDecorationsChanged():!1}},{key:"onFlushed",value:function(s){return this._samplingState&&(this._shouldCheckSampling=!0),this._actual.onFlushed()}},{key:"onLinesChanged",value:function(s){if(this._samplingState){var N=this._samplingState.modelLineRangeToMinimapLineRange(s.fromLineNumber,s.toLineNumber);return N?this._actual.onLinesChanged(N[0],N[1]):!1}else return this._actual.onLinesChanged(s.fromLineNumber,s.toLineNumber)}},{key:"onLinesDeleted",value:function(s){if(this._samplingState){var N=this._samplingState.onLinesDeleted(s),Q=Object(u.a)(N,2),xe=Q[0],Je=Q[1];return xe<=Je&&this._actual.onLinesChanged(xe+1,Je+1),this._shouldCheckSampling=!0,!0}else return this._actual.onLinesDeleted(s.fromLineNumber,s.toLineNumber)}},{key:"onLinesInserted",value:function(s){return this._samplingState?(this._samplingState.onLinesInserted(s),this._shouldCheckSampling=!0,!0):this._actual.onLinesInserted(s.fromLineNumber,s.toLineNumber)}},{key:"onScrollChanged",value:function(s){return this._actual.onScrollChanged()}},{key:"onThemeChanged",value:function(s){return this._context.model.invalidateMinimapColorCache(),this._actual.onThemeChanged(),this._onOptionsMaybeChanged(),!0}},{key:"onTokensChanged",value:function(s){if(this._samplingState){var N=[],Q=Object(c.a)(s.ranges),xe;try{for(Q.s();!(xe=Q.n()).done;){var Je=xe.value,Ge=this._samplingState.modelLineRangeToMinimapLineRange(Je.fromLineNumber,Je.toLineNumber);Ge&&N.push({fromLineNumber:Ge[0],toLineNumber:Ge[1]})}}catch(qt){Q.e(qt)}finally{Q.f()}return N.length?this._actual.onTokensChanged(N):!1}else return this._actual.onTokensChanged(s.ranges)}},{key:"onTokensColorsChanged",value:function(s){return this._onOptionsMaybeChanged(),this._actual.onTokensColorsChanged()}},{key:"onZonesChanged",value:function(s){return this._actual.onZonesChanged()}},{key:"prepareRender",value:function(s){this._shouldCheckSampling&&(this._shouldCheckSampling=!1,this._recreateLineSampling())}},{key:"render",value:function(s){var N=s.visibleRange.startLineNumber,Q=s.visibleRange.endLineNumber;this._samplingState&&(N=this._samplingState.modelLineToMinimapLine(N),Q=this._samplingState.modelLineToMinimapLine(Q));var xe={viewportContainsWhitespaceGaps:s.viewportData.whitespaceViewportData.length>0,scrollWidth:s.scrollWidth,scrollHeight:s.scrollHeight,viewportStartLineNumber:N,viewportEndLineNumber:Q,viewportStartLineNumberVerticalOffset:s.getVerticalOffsetForLineNumber(N),scrollTop:s.scrollTop,scrollLeft:s.scrollLeft,viewportWidth:s.viewportWidth,viewportHeight:s.viewportHeight};this._actual.render(xe)}},{key:"_recreateLineSampling",value:function(){this._minimapSelections=null;var s=Boolean(this._samplingState),N=In.compute(this.options,this._context.model.getLineCount(),this._samplingState),Q=Object(u.a)(N,2),xe=Q[0],Je=Q[1];if(this._samplingState=xe,s&&this._samplingState){var Ge=Object(c.a)(Je),qt;try{for(Ge.s();!(qt=Ge.n()).done;){var fn=qt.value;switch(fn.type){case"deleted":this._actual.onLinesDeleted(fn.deleteFromLineNumber,fn.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(fn.insertFromLineNumber,fn.insertToLineNumber);break;case"flush":this._actual.onFlushed();break}}}catch(Wn){Ge.e(Wn)}finally{Ge.f()}}}},{key:"getLineCount",value:function(){return this._samplingState?this._samplingState.minimapLines.length:this._context.model.getLineCount()}},{key:"getRealLineCount",value:function(){return this._context.model.getLineCount()}},{key:"getLineContent",value:function(s){return this._samplingState?this._context.model.getLineContent(this._samplingState.minimapLines[s-1]):this._context.model.getLineContent(s)}},{key:"getMinimapLinesRenderingData",value:function(s,N,Q){if(this._samplingState){for(var xe=[],Je=0,Ge=N-s+1;Je<Ge;Je++)Q[Je]?xe[Je]=this._context.model.getViewLineData(this._samplingState.minimapLines[s+Je-1]):xe[Je]=null;return xe}return this._context.model.getMinimapLinesRenderingData(s,N,Q).data}},{key:"getSelections",value:function(){if(this._minimapSelections===null)if(this._samplingState){this._minimapSelections=[];var s=Object(c.a)(this._selections),N;try{for(s.s();!(N=s.n()).done;){var Q=N.value,xe=this._samplingState.decorationLineRangeToMinimapLineRange(Q.startLineNumber,Q.endLineNumber),Je=Object(u.a)(xe,2),Ge=Je[0],qt=Je[1];this._minimapSelections.push(new d.a(Ge,Q.startColumn,qt,Q.endColumn))}}catch(fn){s.e(fn)}finally{s.f()}}else this._minimapSelections=this._selections;return this._minimapSelections}},{key:"getMinimapDecorationsInViewport",value:function(s,N){var Q;if(this._samplingState){var xe=this._samplingState.minimapLines[s-1],Je=this._samplingState.minimapLines[N-1];Q=new Ct.a(xe,1,Je,this._context.model.getLineMaxColumn(Je))}else Q=new Ct.a(s,1,N,this._context.model.getLineMaxColumn(N));var Ge=this._context.model.getDecorationsInViewport(Q);if(this._samplingState){var qt=[],fn=Object(c.a)(Ge),Wn;try{for(fn.s();!(Wn=fn.n()).done;){var Yt=Wn.value;if(!!Yt.options.minimap){var Yn=Yt.range,hr=this._samplingState.modelLineToMinimapLine(Yn.startLineNumber),Wr=this._samplingState.modelLineToMinimapLine(Yn.endLineNumber);qt.push(new ai.f(new Ct.a(hr,Yn.startColumn,Wr,Yn.endColumn),Yt.options))}}}catch($r){fn.e($r)}finally{fn.f()}return qt}return Ge}},{key:"getOptions",value:function(){return this._context.model.getTextModelOptions()}},{key:"revealLineNumber",value:function(s){this._samplingState&&(s=this._samplingState.minimapLines[s-1]),this._context.model.revealRange("mouse",!1,new Ct.a(s,1,s,1),1,0)}},{key:"setScrollTop",value:function(s){this._context.model.setScrollPosition({scrollTop:s},1)}}]),F}(ee),x=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s){var N;return Object(n.a)(this,F),N=He.call(this),N._renderDecorations=!1,N._gestureInProgress=!1,N._theme=U,N._model=s,N._lastRenderData=null,N._buffers=null,N._selectionColor=N._theme.getColor(bi.Zb),N._domNode=Object(O.b)(document.createElement("div")),ce.write(N._domNode,8),N._domNode.setClassName(N._getMinimapDomNodeClassName()),N._domNode.setPosition("absolute"),N._domNode.setAttribute("role","presentation"),N._domNode.setAttribute("aria-hidden","true"),N._shadow=Object(O.b)(document.createElement("div")),N._shadow.setClassName("minimap-shadow-hidden"),N._domNode.appendChild(N._shadow),N._canvas=Object(O.b)(document.createElement("canvas")),N._canvas.setPosition("absolute"),N._canvas.setLeft(0),N._domNode.appendChild(N._canvas),N._decorationsCanvas=Object(O.b)(document.createElement("canvas")),N._decorationsCanvas.setPosition("absolute"),N._decorationsCanvas.setClassName("minimap-decorations-layer"),N._decorationsCanvas.setLeft(0),N._domNode.appendChild(N._decorationsCanvas),N._slider=Object(O.b)(document.createElement("div")),N._slider.setPosition("absolute"),N._slider.setClassName("minimap-slider"),N._slider.setLayerHinting(!0),N._slider.setContain("strict"),N._domNode.appendChild(N._slider),N._sliderHorizontal=Object(O.b)(document.createElement("div")),N._sliderHorizontal.setPosition("absolute"),N._sliderHorizontal.setClassName("minimap-slider-horizontal"),N._slider.appendChild(N._sliderHorizontal),N._applyLayout(),N._mouseDownListener=k.addStandardDisposableListener(N._domNode.domNode,"mousedown",function(Q){Q.preventDefault();var xe=N._model.options.renderMinimap;if(xe!==0&&!!N._lastRenderData){if(N._model.options.size!=="proportional"){if(Q.leftButton&&N._lastRenderData){var Je=k.getDomNodePagePosition(N._slider.domNode),Ge=Je.top+Je.height/2;N._startSliderDragging(Q.buttons,Q.posx,Ge,Q.posy,N._lastRenderData.renderedLayout)}return}var qt=N._model.options.minimapLineHeight,fn=N._model.options.canvasInnerHeight/N._model.options.canvasOuterHeight*Q.browserEvent.offsetY,Wn=Math.floor(fn/qt),Yt=Wn+N._lastRenderData.renderedLayout.startLineNumber;Yt=Math.min(Yt,N._model.getLineCount()),N._model.revealLineNumber(Yt)}}),N._sliderMouseMoveMonitor=new re.a,N._sliderMouseDownListener=k.addStandardDisposableListener(N._slider.domNode,"mousedown",function(Q){Q.preventDefault(),Q.stopPropagation(),Q.leftButton&&N._lastRenderData&&N._startSliderDragging(Q.buttons,Q.posx,Q.posy,Q.posy,N._lastRenderData.renderedLayout)}),N._gestureDisposable=D.b.addTarget(N._domNode.domNode),N._sliderTouchStartListener=k.addDisposableListener(N._domNode.domNode,D.a.Start,function(Q){Q.preventDefault(),Q.stopPropagation(),N._lastRenderData&&(N._slider.toggleClassName("active",!0),N._gestureInProgress=!0,N.scrollDueToTouchEvent(Q))},{passive:!1}),N._sliderTouchMoveListener=k.addDisposableListener(N._domNode.domNode,D.a.Change,function(Q){Q.preventDefault(),Q.stopPropagation(),N._lastRenderData&&N._gestureInProgress&&N.scrollDueToTouchEvent(Q)},{passive:!1}),N._sliderTouchEndListener=k.addStandardDisposableListener(N._domNode.domNode,D.a.End,function(Q){Q.preventDefault(),Q.stopPropagation(),N._gestureInProgress=!1,N._slider.toggleClassName("active",!1)}),N}return Object(v.a)(F,[{key:"_startSliderDragging",value:function(s,N,Q,xe,Je){var Ge=this;this._slider.toggleClassName("active",!0);var qt=function(Wn,Yt){var Yn=Math.abs(Yt-N);if(E.j&&Yn>ki){Ge._model.setScrollTop(Je.scrollTop);return}var hr=Wn-Q;Ge._model.setScrollTop(Je.getDesiredScrollTopFromDelta(hr))};xe!==Q&&qt(xe,N),this._sliderMouseMoveMonitor.startMonitoring(this._slider.domNode,s,re.b,function(fn){return qt(fn.posy,fn.posx)},function(){Ge._slider.toggleClassName("active",!1)})}},{key:"scrollDueToTouchEvent",value:function(s){var N=this._domNode.domNode.getBoundingClientRect().top,Q=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(s.pageY-N);this._model.setScrollTop(Q)}},{key:"dispose",value:function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"_getMinimapDomNodeClassName",value:function(){return this._model.options.showSlider==="always"?"minimap slider-always":"minimap slider-mouseover"}},{key:"getDomNode",value:function(){return this._domNode}},{key:"_applyLayout",value:function(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}},{key:"_getBuffer",value:function(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new Ja(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}},{key:"onDidChangeOptions",value:function(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}},{key:"onSelectionChanged",value:function(){return this._renderDecorations=!0,!0}},{key:"onDecorationsChanged",value:function(){return this._renderDecorations=!0,!0}},{key:"onFlushed",value:function(){return this._lastRenderData=null,!0}},{key:"onLinesChanged",value:function(s,N){return this._lastRenderData?this._lastRenderData.onLinesChanged(s,N):!1}},{key:"onLinesDeleted",value:function(s,N){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(s,N),!0}},{key:"onLinesInserted",value:function(s,N){return this._lastRenderData&&this._lastRenderData.onLinesInserted(s,N),!0}},{key:"onScrollChanged",value:function(){return this._renderDecorations=!0,!0}},{key:"onThemeChanged",value:function(){return this._selectionColor=this._theme.getColor(bi.Zb),this._renderDecorations=!0,!0}},{key:"onTokensChanged",value:function(s){return this._lastRenderData?this._lastRenderData.onTokensChanged(s):!1}},{key:"onTokensColorsChanged",value:function(){return this._lastRenderData=null,this._buffers=null,!0}},{key:"onZonesChanged",value:function(){return this._lastRenderData=null,!0}},{key:"render",value:function(s){var N=this._model.options.renderMinimap;if(N===0){this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),this._sliderHorizontal.setHeight(0);return}s.scrollLeft+s.viewportWidth>=s.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var Q=Br.create(this._model.options,s.viewportStartLineNumber,s.viewportEndLineNumber,s.viewportStartLineNumberVerticalOffset,s.viewportHeight,s.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),s.scrollTop,s.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(Q.sliderNeeded?"block":"none"),this._slider.setTop(Q.sliderTop),this._slider.setHeight(Q.sliderHeight);var xe=s.scrollLeft/this._model.options.typicalHalfwidthCharacterWidth,Je=Math.min(this._model.options.minimapWidth,Math.round(xe*this._model.options.minimapCharWidth/this._model.options.pixelRatio));this._sliderHorizontal.setLeft(Je),this._sliderHorizontal.setWidth(this._model.options.minimapWidth-Je),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(Q.sliderHeight),this.renderDecorations(Q),this._lastRenderData=this.renderLines(Q)}},{key:"renderDecorations",value:function(s){if(this._renderDecorations){this._renderDecorations=!1;var N=this._model.getSelections(),Q=this._model.getMinimapDecorationsInViewport(s.startLineNumber,s.endLineNumber),xe=this._model.options,Je=xe.canvasInnerWidth,Ge=xe.canvasInnerHeight,qt=this._model.options.minimapLineHeight,fn=this._model.options.minimapCharWidth,Wn=this._model.getOptions().tabSize,Yt=this._decorationsCanvas.domNode.getContext("2d");Yt.clearRect(0,0,Je,Ge);for(var Yn=new Map,hr=0;hr<N.length;hr++)for(var Wr=N[hr],$r=Wr.startLineNumber;$r<=Wr.endLineNumber;$r++)this.renderDecorationOnLine(Yt,Yn,Wr,this._selectionColor,s,$r,qt,qt,Wn,fn);for(var wi=0;wi<Q.length;wi++){var fi=Q[wi];if(!!fi.options.minimap)for(var Vi=fi.options.minimap.getColor(this._theme),da=fi.range.startLineNumber;da<=fi.range.endLineNumber;da++)switch(fi.options.minimap.position){case ei.c.Inline:this.renderDecorationOnLine(Yt,Yn,fi.range,Vi,s,da,qt,qt,Wn,fn);continue;case ei.c.Gutter:var ia=(da-s.startLineNumber)*qt,ma=2;this.renderDecoration(Yt,Vi,ma,ia,ua,qt);continue}}}}},{key:"renderDecorationOnLine",value:function(s,N,Q,xe,Je,Ge,qt,fn,Wn,Yt){var Yn=(Ge-Je.startLineNumber)*fn;if(!(Yn+qt<0||Yn>this._model.options.canvasInnerHeight)){var hr=N.get(Ge),Wr=!hr;if(!hr){var $r=this._model.getLineContent(Ge);hr=[ft.h];for(var wi=1;wi<$r.length+1;wi++){var fi=$r.charCodeAt(wi-1),Vi=fi===9?Wn*Yt:wn.D(fi)?2*Yt:Yt;hr[wi]=hr[wi-1]+Vi}N.set(Ge,hr)}var da=Q.startColumn,ia=Q.endColumn,ma=Q.startLineNumber,Ea=Q.endLineNumber,Qa=ma===Ge?hr[da-1]:ft.h,eo=Ea>Ge?hr.length-1:ia-1;if(eo>0){var lo=hr[eo]-Qa||2;this.renderDecoration(s,xe,Qa,Yn,lo,qt)}Wr&&this.renderLineHighlight(s,xe,Yn,qt)}}},{key:"renderLineHighlight",value:function(s,N,Q,xe){s.fillStyle=N&&N.transparent(.5).toString()||"",s.fillRect(ft.h,Q,s.canvas.width,xe)}},{key:"renderDecoration",value:function(s,N,Q,xe,Je,Ge){s.fillStyle=N&&N.toString()||"",s.fillRect(Q,xe,Je,Ge)}},{key:"renderLines",value:function(s){var N=s.startLineNumber,Q=s.endLineNumber,xe=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(s)){var Je=this._lastRenderData._get();return new fa(s,Je.imageData,Je.lines)}var Ge=this._getBuffer();if(!Ge)return null;for(var qt=F._renderUntouchedLines(Ge,N,Q,xe,this._lastRenderData),fn=Object(u.a)(qt,3),Wn=fn[0],Yt=fn[1],Yn=fn[2],hr=this._model.getMinimapLinesRenderingData(N,Q,Yn),Wr=this._model.getOptions().tabSize,$r=this._model.options.backgroundColor,wi=this._model.tokensColorTracker,fi=wi.backgroundIsLight(),Vi=this._model.options.renderMinimap,da=this._model.options.charRenderer(),ia=this._model.options.fontScale,ma=this._model.options.minimapCharWidth,Ea=Vi===1?2:2+1,Qa=Ea*ia,eo=xe>Qa?Math.floor((xe-Qa)/2):0,lo=0,ho=[],Eo=0,Uo=Q-N+1;Eo<Uo;Eo++)Yn[Eo]&&F._renderLine(Ge,$r,fi,Vi,ma,wi,da,lo,eo,Wr,hr[Eo],ia,xe),ho[Eo]=new ga(lo),lo+=xe;var us=Wn===-1?0:Wn,ns=Yt===-1?Ge.height:Yt,is=ns-us,Es=this._canvas.domNode.getContext("2d");return Es.putImageData(Ge,0,0,0,us,Ge.width,is),new fa(s,Ge,ho)}}],[{key:"_renderUntouchedLines",value:function(s,N,Q,xe,Je){var Ge=[];if(!Je){for(var qt=0,fn=Q-N+1;qt<fn;qt++)Ge[qt]=!0;return[-1,-1,Ge]}for(var Wn=Je._get(),Yt=Wn.imageData.data,Yn=Wn.rendLineNumberStart,hr=Wn.lines,Wr=hr.length,$r=s.width,wi=s.data,fi=(Q-N+1)*xe*$r*4,Vi=-1,da=-1,ia=-1,ma=-1,Ea=-1,Qa=-1,eo=0,lo=N;lo<=Q;lo++){var ho=lo-N,Eo=lo-Yn,Uo=Eo>=0&&Eo<Wr?hr[Eo].dy:-1;if(Uo===-1){Ge[ho]=!0,eo+=xe;continue}var us=Uo*$r*4,ns=(Uo+xe)*$r*4,is=eo*$r*4,Es=(eo+xe)*$r*4;ma===us&&Qa===is?(ma=ns,Qa=Es):(ia!==-1&&(wi.set(Yt.subarray(ia,ma),Ea),Vi===-1&&ia===0&&ia===Ea&&(Vi=ma),da===-1&&ma===fi&&ia===Ea&&(da=ia)),ia=us,ma=ns,Ea=is,Qa=Es),Ge[ho]=!1,eo+=xe}ia!==-1&&(wi.set(Yt.subarray(ia,ma),Ea),Vi===-1&&ia===0&&ia===Ea&&(Vi=ma),da===-1&&ma===fi&&ia===Ea&&(da=ia));var ys=Vi===-1?-1:Vi/($r*4),il=da===-1?-1:da/($r*4);return[ys,il,Ge]}},{key:"_renderLine",value:function(s,N,Q,xe,Je,Ge,qt,fn,Wn,Yt,Yn,hr,Wr){for(var $r=Yn.content,wi=Yn.tokens,fi=s.width-Je,Vi=Wr===1,da=ft.h,ia=0,ma=0,Ea=0,Qa=wi.getCount();Ea<Qa;Ea++)for(var eo=wi.getEndOffset(Ea),lo=wi.getForeground(Ea),ho=Ge.getColor(lo);ia<eo;ia++){if(da>fi)return;var Eo=$r.charCodeAt(ia);if(Eo===9){var Uo=Yt-(ia+ma)%Yt;ma+=Uo-1,da+=Uo*Je}else if(Eo===32)da+=Je;else for(var us=wn.D(Eo)?2:1,ns=0;ns<us;ns++)if(xe===2?qt.blockRenderChar(s,da,fn+Wn,ho,N,Q,Vi):qt.renderChar(s,da,fn+Wn,Eo,ho,N,hr,Q,Vi),da+=Je,da>fi)return}}}]),F}(Y.a);Object(Kt.f)(function(Lt,He){var F=Lt.getColor(bi.Wb);F&&He.addRule(".monaco-editor .minimap > canvas { opacity: ".concat(F.rgba.a,"; will-change: opacity; }"));var U=Lt.getColor(bi.bc);U&&He.addRule(".monaco-editor .minimap-slider .minimap-slider-horizontal { background: ".concat(U,"; }"));var s=Lt.getColor(bi.cc);s&&He.addRule(".monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ".concat(s,"; }"));var N=Lt.getColor(bi.ac);N&&He.addRule(".monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ".concat(N,"; }"));var Q=Lt.getColor(bi.tc);Q&&He.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: ".concat(Q," -6px 0 6px -6px inset; }"))});var le=e("cl4r"),me=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this,U);var N=s._context.configuration.options,Q=N.get(127);return s._widgets={},s._verticalScrollbarWidth=Q.verticalScrollbarWidth,s._minimapWidth=Q.minimap.minimapWidth,s._horizontalScrollbarHeight=Q.horizontalScrollbarHeight,s._editorHeight=Q.height,s._editorWidth=Q.width,s._domNode=Object(O.b)(document.createElement("div")),ce.write(s._domNode,4),s._domNode.setClassName("overlayWidgets"),s}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this),this._widgets={}}},{key:"getDomNode",value:function(){return this._domNode}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(127);return this._verticalScrollbarWidth=Q.verticalScrollbarWidth,this._minimapWidth=Q.minimap.minimapWidth,this._horizontalScrollbarHeight=Q.horizontalScrollbarHeight,this._editorHeight=Q.height,this._editorWidth=Q.width,!0}},{key:"addWidget",value:function(s){var N=Object(O.b)(s.getDomNode());this._widgets[s.getId()]={widget:s,preference:null,domNode:N},N.setPosition("absolute"),N.setAttribute("widgetId",s.getId()),this._domNode.appendChild(N),this.setShouldRender()}},{key:"setWidgetPosition",value:function(s,N){var Q=this._widgets[s.getId()];return Q.preference===N?!1:(Q.preference=N,this.setShouldRender(),!0)}},{key:"removeWidget",value:function(s){var N=s.getId();if(this._widgets.hasOwnProperty(N)){var Q=this._widgets[N],xe=Q.domNode.domNode;delete this._widgets[N],xe.parentNode.removeChild(xe),this.setShouldRender()}}},{key:"_renderWidget",value:function(s){var N=s.domNode;if(s.preference===null){N.unsetTop();return}if(s.preference===0)N.setTop(0),N.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(s.preference===1){var Q=N.domNode.clientHeight;N.setTop(this._editorHeight-Q-2*this._horizontalScrollbarHeight),N.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else s.preference===2&&(N.setTop(0),N.domNode.style.right="50%")}},{key:"prepareRender",value:function(s){}},{key:"render",value:function(s){this._domNode.setWidth(this._editorWidth);for(var N=Object.keys(this._widgets),Q=0,xe=N.length;Q<xe;Q++){var Je=N[Q];this._renderWidget(this._widgets[Je])}}}]),F}(ee),Ae=e("zrhQ"),tt=function(){function Lt(He,F){Object(n.a)(this,Lt);var U=He.options;this.lineHeight=U.get(55),this.pixelRatio=U.get(125),this.overviewRulerLanes=U.get(70),this.renderBorder=U.get(69);var s=F.getColor(ct.m);this.borderColor=s?s.toString():null,this.hideCursor=U.get(48);var N=F.getColor(ct.g);this.cursorColor=N?N.transparent(.7).toString():null,this.themeType=F.type;var Q=U.get(61),xe=Q.enabled,Je=Q.side,Ge=xe?F.getColor(ct.l)||Rr.D.getDefaultBackground():null;Ge===null||Je==="left"?this.backgroundColor=null:this.backgroundColor=Ae.a.Format.CSS.formatHex(Ge);var qt=U.get(127),fn=qt.overviewRuler;this.top=fn.top,this.right=fn.right,this.domWidth=fn.width,this.domHeight=fn.height,this.overviewRulerLanes===0?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);var Wn=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes),Yt=Object(u.a)(Wn,2),Yn=Yt[0],hr=Yt[1];this.x=Yn,this.w=hr}return Object(v.a)(Lt,[{key:"_initLanes",value:function(F,U,s){var N=U-F;if(s>=3){var Q=Math.floor(N/3),xe=Math.floor(N/3),Je=N-Q-xe,Ge=F,qt=Ge+Q,fn=Ge+Q+Je;return[[0,Ge,qt,Ge,fn,Ge,qt,Ge],[0,Q,Je,Q+Je,xe,Q+Je+xe,Je+xe,Q+Je+xe]]}else if(s===2){var Wn=Math.floor(N/2),Yt=N-Wn,Yn=F,hr=Yn+Wn;return[[0,Yn,Yn,Yn,hr,Yn,Yn,Yn],[0,Wn,Wn,Wn,Yt,Wn+Yt,Wn+Yt,Wn+Yt]]}else{var Wr=F,$r=N;return[[0,Wr,Wr,Wr,Wr,Wr,Wr,Wr],[0,$r,$r,$r,$r,$r,$r,$r]]}}},{key:"equals",value:function(F){return this.lineHeight===F.lineHeight&&this.pixelRatio===F.pixelRatio&&this.overviewRulerLanes===F.overviewRulerLanes&&this.renderBorder===F.renderBorder&&this.borderColor===F.borderColor&&this.hideCursor===F.hideCursor&&this.cursorColor===F.cursorColor&&this.themeType===F.themeType&&this.backgroundColor===F.backgroundColor&&this.top===F.top&&this.right===F.right&&this.domWidth===F.domWidth&&this.domHeight===F.domHeight&&this.canvasWidth===F.canvasWidth&&this.canvasHeight===F.canvasHeight}}]),Lt}(),pt=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;return Object(n.a)(this,F),s=He.call(this,U),s._domNode=Object(O.b)(document.createElement("canvas")),s._domNode.setClassName("decorationsOverviewRuler"),s._domNode.setPosition("absolute"),s._domNode.setLayerHinting(!0),s._domNode.setContain("strict"),s._domNode.setAttribute("aria-hidden","true"),s._updateSettings(!1),s._tokensColorTrackerListener=Rr.D.onDidChange(function(N){N.changedColorMap&&s._updateSettings(!0)}),s._cursorPositions=[],s}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this),this._tokensColorTrackerListener.dispose()}},{key:"_updateSettings",value:function(s){var N=new tt(this._context.configuration,this._context.theme);return this._settings&&this._settings.equals(N)?!1:(this._settings=N,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,s&&this._render(),!0)}},{key:"onConfigurationChanged",value:function(s){return this._updateSettings(!1)}},{key:"onCursorStateChanged",value:function(s){this._cursorPositions=[];for(var N=0,Q=s.selections.length;N<Q;N++)this._cursorPositions[N]=s.selections[N].getPosition();return this._cursorPositions.sort(bt.a.compare),!0}},{key:"onDecorationsChanged",value:function(s){return!!s.affectsOverviewRuler}},{key:"onFlushed",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollHeightChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"onThemeChanged",value:function(s){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)}},{key:"getDomNode",value:function(){return this._domNode.domNode}},{key:"prepareRender",value:function(s){}},{key:"render",value:function(s){this._render()}},{key:"_render",value:function(){if(this._settings.overviewRulerLanes===0){this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"");return}var s=this._settings.canvasWidth,N=this._settings.canvasHeight,Q=this._settings.lineHeight,xe=this._context.viewLayout,Je=this._context.viewLayout.getScrollHeight(),Ge=N/Je,qt=this._context.model.getAllOverviewRulerDecorations(this._context.theme),fn=6*this._settings.pixelRatio|0,Wn=fn/2|0,Yt=this._domNode.domNode.getContext("2d");this._settings.backgroundColor===null?Yt.clearRect(0,0,s,N):(Yt.fillStyle=this._settings.backgroundColor,Yt.fillRect(0,0,s,N));var Yn=this._settings.x,hr=this._settings.w,Wr=Object.keys(qt);Wr.sort();for(var $r=0,wi=Wr.length;$r<wi;$r++){var fi=Wr[$r],Vi=qt[fi];Yt.fillStyle=fi;for(var da=0,ia=0,ma=0,Ea=0,Qa=Vi.length;Ea<Qa;Ea++){var eo=Vi[3*Ea],lo=Vi[3*Ea+1],ho=Vi[3*Ea+2],Eo=xe.getVerticalOffsetForLineNumber(lo)*Ge|0,Uo=(xe.getVerticalOffsetForLineNumber(ho)+Q)*Ge|0,us=Uo-Eo;if(us<fn){var ns=(Eo+Uo)/2|0;ns<Wn?ns=Wn:ns+Wn>N&&(ns=N-Wn),Eo=ns-Wn,Uo=ns+Wn}Eo>ma+1||eo!==da?(Ea!==0&&Yt.fillRect(Yn[da],ia,hr[da],ma-ia),da=eo,ia=Eo,ma=Uo):Uo>ma&&(ma=Uo)}Yt.fillRect(Yn[da],ia,hr[da],ma-ia)}if(!this._settings.hideCursor&&this._settings.cursorColor){var is=2*this._settings.pixelRatio|0,Es=is/2|0,ys=this._settings.x[7],il=this._settings.w[7];Yt.fillStyle=this._settings.cursorColor;for(var Ns=-100,Ol=-100,Ws=0,Yl=this._cursorPositions.length;Ws<Yl;Ws++){var hl=this._cursorPositions[Ws],Xs=xe.getVerticalOffsetForLineNumber(hl.lineNumber)*Ge|0;Xs<Es?Xs=Es:Xs+Es>N&&(Xs=N-Es);var Kl=Xs-Es,ul=Kl+is;Kl>Ol+1?(Ws!==0&&Yt.fillRect(ys,Ns,il,Ol-Ns),Ns=Kl,Ol=ul):ul>Ol&&(Ol=ul)}Yt.fillRect(ys,Ns,il,Ol-Ns)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(Yt.beginPath(),Yt.lineWidth=1,Yt.strokeStyle=this._settings.borderColor,Yt.moveTo(0,0),Yt.lineTo(0,N),Yt.stroke(),Yt.moveTo(0,0),Yt.lineTo(s,0),Yt.stroke())}}]),F}(ee),ke=e("MvK1"),we=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s){var N;Object(n.a)(this,F),N=He.call(this),N._context=U;var Q=N._context.configuration.options;return N._domNode=Object(O.b)(document.createElement("canvas")),N._domNode.setClassName(s),N._domNode.setPosition("absolute"),N._domNode.setLayerHinting(!0),N._domNode.setContain("strict"),N._zoneManager=new ke.b(function(xe){return N._context.viewLayout.getVerticalOffsetForLineNumber(xe)}),N._zoneManager.setDOMWidth(0),N._zoneManager.setDOMHeight(0),N._zoneManager.setOuterHeight(N._context.viewLayout.getScrollHeight()),N._zoneManager.setLineHeight(Q.get(55)),N._zoneManager.setPixelRatio(Q.get(125)),N._context.addEventHandler(Object(r.a)(N)),N}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options;return s.hasChanged(55)&&(this._zoneManager.setLineHeight(N.get(55)),this._render()),s.hasChanged(125)&&(this._zoneManager.setPixelRatio(N.get(125)),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}},{key:"onFlushed",value:function(s){return this._render(),!0}},{key:"onScrollChanged",value:function(s){return s.scrollHeightChanged&&(this._zoneManager.setOuterHeight(s.scrollHeight),this._render()),!0}},{key:"onZonesChanged",value:function(s){return this._render(),!0}},{key:"getDomNode",value:function(){return this._domNode.domNode}},{key:"setLayout",value:function(s){this._domNode.setTop(s.top),this._domNode.setRight(s.right);var N=!1;N=this._zoneManager.setDOMWidth(s.width)||N,N=this._zoneManager.setDOMHeight(s.height)||N,N&&(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())}},{key:"setZones",value:function(s){this._zoneManager.setZones(s),this._render()}},{key:"_render",value:function(){if(this._zoneManager.getOuterHeight()===0)return!1;var s=this._zoneManager.getCanvasWidth(),N=this._zoneManager.getCanvasHeight(),Q=this._zoneManager.resolveColorZones(),xe=this._zoneManager.getId2Color(),Je=this._domNode.domNode.getContext("2d");return Je.clearRect(0,0,s,N),Q.length>0&&this._renderOneLane(Je,Q,xe,s),!0}},{key:"_renderOneLane",value:function(s,N,Q,xe){var Je=0,Ge=0,qt=0,fn=Object(c.a)(N),Wn;try{for(fn.s();!(Wn=fn.n()).done;){var Yt=Wn.value,Yn=Yt.colorId,hr=Yt.from,Wr=Yt.to;Yn!==Je?(s.fillRect(0,Ge,xe,qt-Ge),Je=Yn,s.fillStyle=Q[Je],Ge=hr,qt=Wr):qt>=hr?qt=Math.max(qt,Wr):(s.fillRect(0,Ge,xe,qt-Ge),Ge=hr,qt=Wr)}}catch($r){fn.e($r)}finally{fn.f()}s.fillRect(0,Ge,xe,qt-Ge)}}]),F}(Z),Be=e("7zd4"),Le=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this,U),s.domNode=Object(O.b)(document.createElement("div")),s.domNode.setAttribute("role","presentation"),s.domNode.setAttribute("aria-hidden","true"),s.domNode.setClassName("view-rulers"),s._renderedRulers=[];var N=s._context.configuration.options;return s._rulers=N.get(88),s._typicalHalfwidthCharacterWidth=N.get(40).typicalHalfwidthCharacterWidth,s}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options;return this._rulers=N.get(88),this._typicalHalfwidthCharacterWidth=N.get(40).typicalHalfwidthCharacterWidth,!0}},{key:"onScrollChanged",value:function(s){return s.scrollHeightChanged}},{key:"prepareRender",value:function(s){}},{key:"_ensureRulersCount",value:function(){var s=this._renderedRulers.length,N=this._rulers.length;if(s!==N){if(s<N){for(var Q=this._context.model.getTextModelOptions(),xe=Q.tabSize,Je=xe,Ge=N-s;Ge>0;){var qt=Object(O.b)(document.createElement("div"));qt.setClassName("view-ruler"),qt.setWidth(Je),this.domNode.appendChild(qt),this._renderedRulers.push(qt),Ge--}return}for(var fn=s-N;fn>0;){var Wn=this._renderedRulers.pop();this.domNode.removeChild(Wn),fn--}}}},{key:"render",value:function(s){this._ensureRulersCount();for(var N=0,Q=this._rulers.length;N<Q;N++){var xe=this._renderedRulers[N],Je=this._rulers[N];xe.setBoxShadow(Je.color?"1px 0 0 0 ".concat(Je.color," inset"):""),xe.setHeight(Math.min(s.scrollHeight,1e6)),xe.setLeft(Je.column*this._typicalHalfwidthCharacterWidth)}}}]),F}(ee);Object(Kt.f)(function(Lt,He){var F=Lt.getColor(ct.n);F&&He.addRule(".monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ".concat(F," inset; }"))});var J=e("2MPD"),Ke=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this,U),s._scrollTop=0,s._width=0,s._updateWidth(),s._shouldShow=!1;var N=s._context.configuration.options,Q=N.get(89);return s._useShadows=Q.useShadows,s._domNode=Object(O.b)(document.createElement("div")),s._domNode.setAttribute("role","presentation"),s._domNode.setAttribute("aria-hidden","true"),s}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"_updateShouldShow",value:function(){var s=this._useShadows&&this._scrollTop>0;return this._shouldShow!==s?(this._shouldShow=s,!0):!1}},{key:"getDomNode",value:function(){return this._domNode}},{key:"_updateWidth",value:function(){var s=this._context.configuration.options,N=s.get(127);N.minimap.renderMinimap===0||N.minimap.minimapWidth>0&&N.minimap.minimapLeft===0?this._width=N.width:this._width=N.width-N.minimap.minimapWidth-N.verticalScrollbarWidth}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(89);return this._useShadows=Q.useShadows,this._updateWidth(),this._updateShouldShow(),!0}},{key:"onScrollChanged",value:function(s){return this._scrollTop=s.scrollTop,this._updateShouldShow()}},{key:"prepareRender",value:function(s){}},{key:"render",value:function(s){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}]),F}(ee);Object(Kt.f)(function(Lt,He){var F=Lt.getColor(bi.tc);F&&He.addRule(".monaco-editor .scroll-decoration { box-shadow: ".concat(F," 0 6px 6px -6px inset; }"))});var We=e("eC1c"),Ot=Object(v.a)(function Lt(He){Object(n.a)(this,Lt),this.left=He.left,this.width=He.width,this.startStyle=null,this.endStyle=null}),Vt=Object(v.a)(function Lt(He,F){Object(n.a)(this,Lt),this.lineNumber=He,this.ranges=F});function $t(Lt){return new Ot(Lt)}function Gt(Lt){return new Vt(Lt.lineNumber,Lt.ranges.map($t))}var hn=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this),s._previousFrameVisibleRangesWithStyle=[],s._context=U;var N=s._context.configuration.options;return s._lineHeight=N.get(55),s._roundedSelection=N.get(87),s._typicalHalfwidthCharacterWidth=N.get(40).typicalHalfwidthCharacterWidth,s._selections=[],s._renderResult=null,s._context.addEventHandler(Object(r.a)(s)),s}return Object(v.a)(F,[{key:"dispose",value:function(){this._context.removeEventHandler(this),this._renderResult=null,Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options;return this._lineHeight=N.get(55),this._roundedSelection=N.get(87),this._typicalHalfwidthCharacterWidth=N.get(40).typicalHalfwidthCharacterWidth,!0}},{key:"onCursorStateChanged",value:function(s){return this._selections=s.selections.slice(0),!0}},{key:"onDecorationsChanged",value:function(s){return!0}},{key:"onFlushed",value:function(s){return!0}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollTopChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"_visibleRangesHaveGaps",value:function(s){for(var N=0,Q=s.length;N<Q;N++){var xe=s[N];if(xe.ranges.length>1)return!0}return!1}},{key:"_enrichVisibleRangesWithStyle",value:function(s,N,Q){var xe=this._typicalHalfwidthCharacterWidth/4,Je=null,Ge=null;if(Q&&Q.length>0&&N.length>0){var qt=N[0].lineNumber;if(qt===s.startLineNumber)for(var fn=0;!Je&&fn<Q.length;fn++)Q[fn].lineNumber===qt&&(Je=Q[fn].ranges[0]);var Wn=N[N.length-1].lineNumber;if(Wn===s.endLineNumber)for(var Yt=Q.length-1;!Ge&&Yt>=0;Yt--)Q[Yt].lineNumber===Wn&&(Ge=Q[Yt].ranges[0]);Je&&!Je.startStyle&&(Je=null),Ge&&!Ge.startStyle&&(Ge=null)}for(var Yn=0,hr=N.length;Yn<hr;Yn++){var Wr=N[Yn].ranges[0],$r=Wr.left,wi=Wr.left+Wr.width,fi={top:0,bottom:0},Vi={top:0,bottom:0};if(Yn>0){var da=N[Yn-1].ranges[0].left,ia=N[Yn-1].ranges[0].left+N[Yn-1].ranges[0].width;$n($r-da)<xe?fi.top=2:$r>da&&(fi.top=1),$n(wi-ia)<xe?Vi.top=2:da<wi&&wi<ia&&(Vi.top=1)}else Je&&(fi.top=Je.startStyle.top,Vi.top=Je.endStyle.top);if(Yn+1<hr){var ma=N[Yn+1].ranges[0].left,Ea=N[Yn+1].ranges[0].left+N[Yn+1].ranges[0].width;$n($r-ma)<xe?fi.bottom=2:ma<$r&&$r<Ea&&(fi.bottom=1),$n(wi-Ea)<xe?Vi.bottom=2:wi<Ea&&(Vi.bottom=1)}else Ge&&(fi.bottom=Ge.startStyle.bottom,Vi.bottom=Ge.endStyle.bottom);Wr.startStyle=fi,Wr.endStyle=Vi}}},{key:"_getVisibleRangesWithStyle",value:function(s,N,Q){var xe=N.linesVisibleRangesForRange(s,!0)||[],Je=xe.map(Gt),Ge=this._visibleRangesHaveGaps(Je);return!Ge&&this._roundedSelection&&this._enrichVisibleRangesWithStyle(N.visibleRange,Je,Q),Je}},{key:"_createSelectionPiece",value:function(s,N,Q,xe,Je){return'<div class="cslr '+Q+'" style="top:'+s.toString()+"px;left:"+xe.toString()+"px;width:"+Je.toString()+"px;height:"+N+'px;"></div>'}},{key:"_actualRenderOneSelection",value:function(s,N,Q,xe){if(xe.length!==0)for(var Je=!!xe[0].ranges[0].startStyle,Ge=this._lineHeight.toString(),qt=(this._lineHeight-1).toString(),fn=xe[0].lineNumber,Wn=xe[xe.length-1].lineNumber,Yt=0,Yn=xe.length;Yt<Yn;Yt++){for(var hr=xe[Yt],Wr=hr.lineNumber,$r=Wr-N,wi=Q&&(Wr===Wn||Wr===fn)?qt:Ge,fi=Q&&Wr===fn?1:0,Vi="",da="",ia=0,ma=hr.ranges.length;ia<ma;ia++){var Ea=hr.ranges[ia];if(Je){var Qa=Ea.startStyle,eo=Ea.endStyle;if(Qa.top===1||Qa.bottom===1){Vi+=this._createSelectionPiece(fi,wi,F.SELECTION_CLASS_NAME,Ea.left-F.ROUNDED_PIECE_WIDTH,F.ROUNDED_PIECE_WIDTH);var lo=F.EDITOR_BACKGROUND_CLASS_NAME;Qa.top===1&&(lo+=" "+F.SELECTION_TOP_RIGHT),Qa.bottom===1&&(lo+=" "+F.SELECTION_BOTTOM_RIGHT),Vi+=this._createSelectionPiece(fi,wi,lo,Ea.left-F.ROUNDED_PIECE_WIDTH,F.ROUNDED_PIECE_WIDTH)}if(eo.top===1||eo.bottom===1){Vi+=this._createSelectionPiece(fi,wi,F.SELECTION_CLASS_NAME,Ea.left+Ea.width,F.ROUNDED_PIECE_WIDTH);var ho=F.EDITOR_BACKGROUND_CLASS_NAME;eo.top===1&&(ho+=" "+F.SELECTION_TOP_LEFT),eo.bottom===1&&(ho+=" "+F.SELECTION_BOTTOM_LEFT),Vi+=this._createSelectionPiece(fi,wi,ho,Ea.left+Ea.width,F.ROUNDED_PIECE_WIDTH)}}var Eo=F.SELECTION_CLASS_NAME;if(Je){var Uo=Ea.startStyle,us=Ea.endStyle;Uo.top===0&&(Eo+=" "+F.SELECTION_TOP_LEFT),Uo.bottom===0&&(Eo+=" "+F.SELECTION_BOTTOM_LEFT),us.top===0&&(Eo+=" "+F.SELECTION_TOP_RIGHT),us.bottom===0&&(Eo+=" "+F.SELECTION_BOTTOM_RIGHT)}da+=this._createSelectionPiece(fi,wi,Eo,Ea.left,Ea.width)}s[$r][0]+=Vi,s[$r][1]+=da}}},{key:"prepareRender",value:function(s){for(var N=[],Q=s.visibleRange.startLineNumber,xe=s.visibleRange.endLineNumber,Je=Q;Je<=xe;Je++){var Ge=Je-Q;N[Ge]=["",""]}for(var qt=[],fn=0,Wn=this._selections.length;fn<Wn;fn++){var Yt=this._selections[fn];if(Yt.isEmpty()){qt[fn]=null;continue}var Yn=this._getVisibleRangesWithStyle(Yt,s,this._previousFrameVisibleRangesWithStyle[fn]);qt[fn]=Yn,this._actualRenderOneSelection(N,Q,this._selections.length>1,Yn)}this._previousFrameVisibleRangesWithStyle=qt,this._renderResult=N.map(function(hr){var Wr=Object(u.a)(hr,2),$r=Wr[0],wi=Wr[1];return $r+wi})}},{key:"render",value:function(s,N){if(!this._renderResult)return"";var Q=N-s;return Q<0||Q>=this._renderResult.length?"":this._renderResult[Q]}}]),F}(dt);hn.SELECTION_CLASS_NAME="selected-text",hn.SELECTION_TOP_LEFT="top-left-radius",hn.SELECTION_BOTTOM_LEFT="bottom-left-radius",hn.SELECTION_TOP_RIGHT="top-right-radius",hn.SELECTION_BOTTOM_RIGHT="bottom-right-radius",hn.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",hn.ROUNDED_PIECE_WIDTH=10,Object(Kt.f)(function(Lt,He){var F=Lt.getColor(bi.R);F&&He.addRule(".monaco-editor .focused .selected-text { background-color: ".concat(F,"; }"));var U=Lt.getColor(bi.J);U&&He.addRule(".monaco-editor .selected-text { background-color: ".concat(U,"; }"));var s=Lt.getColor(bi.S);s&&!s.isTransparent()&&He.addRule(".monaco-editor .view-line span.inline-selected-text { color: ".concat(s,"; }"))});function $n(Lt){return Lt<0?-Lt:Lt}var Sr=e("2Tsy"),vr=Object(v.a)(function Lt(He,F,U,s,N,Q){Object(n.a)(this,Lt),this.top=He,this.left=F,this.width=U,this.height=s,this.textContent=N,this.textContentClassName=Q}),zn=function(){function Lt(He){Object(n.a)(this,Lt),this._context=He;var F=this._context.configuration.options,U=F.get(40);this._cursorStyle=F.get(22),this._lineHeight=F.get(55),this._typicalHalfwidthCharacterWidth=U.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(F.get(25),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(O.b)(document.createElement("div")),this._domNode.setClassName("cursor ".concat(gn.a)),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),A.a.applyFontInfo(this._domNode,U),this._domNode.setDisplay("none"),this._position=new bt.a(1,1),this._lastRenderedContent="",this._renderData=null}return Object(v.a)(Lt,[{key:"getDomNode",value:function(){return this._domNode}},{key:"getPosition",value:function(){return this._position}},{key:"show",value:function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}},{key:"hide",value:function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}},{key:"onConfigurationChanged",value:function(F){var U=this._context.configuration.options,s=U.get(40);return this._cursorStyle=U.get(22),this._lineHeight=U.get(55),this._typicalHalfwidthCharacterWidth=s.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(U.get(25),this._typicalHalfwidthCharacterWidth),A.a.applyFontInfo(this._domNode,s),!0}},{key:"onCursorPositionChanged",value:function(F){return this._position=F,!0}},{key:"_prepareRender",value:function(F){var U="";if(this._cursorStyle===ft.i.Line||this._cursorStyle===ft.i.LineThin){var s=F.visibleRangeForPosition(this._position);if(!s||s.outsideRenderedLine)return null;var N;if(this._cursorStyle===ft.i.Line){if(N=k.computeScreenAwareSize(this._lineCursorWidth>0?this._lineCursorWidth:2),N>2){var Q=this._context.model.getLineContent(this._position.lineNumber),xe=wn.K(Q,this._position.column-1);U=Q.substr(this._position.column-1,xe)}}else N=k.computeScreenAwareSize(1);var Je=s.left;N>=2&&Je>=1&&(Je-=1);var Ge=F.getVerticalOffsetForLineNumber(this._position.lineNumber)-F.bigNumbersDelta;return new vr(Ge,Je,N,this._lineHeight,U,"")}var qt=this._context.model.getLineContent(this._position.lineNumber),fn=wn.K(qt,this._position.column-1),Wn=F.linesVisibleRangesForRange(new Ct.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+fn),!1);if(!Wn||Wn.length===0)return null;var Yt=Wn[0];if(Yt.outsideRenderedLine||Yt.ranges.length===0)return null;var Yn=Yt.ranges[0],hr=Yn.width<1?this._typicalHalfwidthCharacterWidth:Yn.width,Wr="";if(this._cursorStyle===ft.i.Block){var $r=this._context.model.getViewLineData(this._position.lineNumber);U=qt.substr(this._position.column-1,fn);var wi=$r.tokens.findTokenIndexAtOffset(this._position.column-1);Wr=$r.tokens.getClassName(wi)}var fi=F.getVerticalOffsetForLineNumber(this._position.lineNumber)-F.bigNumbersDelta,Vi=this._lineHeight;return(this._cursorStyle===ft.i.Underline||this._cursorStyle===ft.i.UnderlineThin)&&(fi+=this._lineHeight-2,Vi=2),new vr(fi,Yn.left,hr,Vi,U,Wr)}},{key:"prepareRender",value:function(F){this._renderData=this._prepareRender(F)}},{key:"render",value:function(F){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName("cursor ".concat(gn.a," ").concat(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)}}]),Lt}(),Tr=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this,U);var N=s._context.configuration.options;return s._readOnly=N.get(77),s._cursorBlinking=N.get(20),s._cursorStyle=N.get(22),s._cursorSmoothCaretAnimation=N.get(21),s._selectionIsEmpty=!0,s._isComposingInput=!1,s._isVisible=!1,s._primaryCursor=new zn(s._context),s._secondaryCursors=[],s._renderData=[],s._domNode=Object(O.b)(document.createElement("div")),s._domNode.setAttribute("role","presentation"),s._domNode.setAttribute("aria-hidden","true"),s._updateDomClassName(),s._domNode.appendChild(s._primaryCursor.getDomNode()),s._startCursorBlinkAnimation=new te.g,s._cursorFlatBlinkInterval=new te.c,s._blinkingEnabled=!1,s._editorHasFocus=!1,s._updateBlinking(),s}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}},{key:"getDomNode",value:function(){return this._domNode}},{key:"onCompositionStart",value:function(s){return this._isComposingInput=!0,this._updateBlinking(),!0}},{key:"onCompositionEnd",value:function(s){return this._isComposingInput=!1,this._updateBlinking(),!0}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options;this._readOnly=N.get(77),this._cursorBlinking=N.get(20),this._cursorStyle=N.get(22),this._cursorSmoothCaretAnimation=N.get(21),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(s);for(var Q=0,xe=this._secondaryCursors.length;Q<xe;Q++)this._secondaryCursors[Q].onConfigurationChanged(s);return!0}},{key:"_onCursorPositionChanged",value:function(s,N){if(this._primaryCursor.onCursorPositionChanged(s),this._updateBlinking(),this._secondaryCursors.length<N.length)for(var Q=N.length-this._secondaryCursors.length,xe=0;xe<Q;xe++){var Je=new zn(this._context);this._domNode.domNode.insertBefore(Je.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(Je)}else if(this._secondaryCursors.length>N.length)for(var Ge=this._secondaryCursors.length-N.length,qt=0;qt<Ge;qt++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1);for(var fn=0;fn<N.length;fn++)this._secondaryCursors[fn].onCursorPositionChanged(N[fn])}},{key:"onCursorStateChanged",value:function(s){for(var N=[],Q=0,xe=s.selections.length;Q<xe;Q++)N[Q]=s.selections[Q].getPosition();this._onCursorPositionChanged(N[0],N.slice(1));var Je=s.selections[0].isEmpty();return this._selectionIsEmpty!==Je&&(this._selectionIsEmpty=Je,this._updateDomClassName()),!0}},{key:"onDecorationsChanged",value:function(s){return!0}},{key:"onFlushed",value:function(s){return!0}},{key:"onFocusChanged",value:function(s){return this._editorHasFocus=s.isFocused,this._updateBlinking(),!1}},{key:"onLinesChanged",value:function(s){return!0}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return!0}},{key:"onTokensChanged",value:function(s){var N=function(qt){for(var fn=0,Wn=s.ranges.length;fn<Wn;fn++)if(s.ranges[fn].fromLineNumber<=qt.lineNumber&&qt.lineNumber<=s.ranges[fn].toLineNumber)return!0;return!1};if(N(this._primaryCursor.getPosition()))return!0;var Q=Object(c.a)(this._secondaryCursors),xe;try{for(Q.s();!(xe=Q.n()).done;){var Je=xe.value;if(N(Je.getPosition()))return!0}}catch(Ge){Q.e(Ge)}finally{Q.f()}return!1}},{key:"onZonesChanged",value:function(s){return!0}},{key:"_getCursorBlinking",value:function(){return this._isComposingInput||!this._editorHasFocus?0:this._readOnly?5:this._cursorBlinking}},{key:"_updateBlinking",value:function(){var s=this;this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();var N=this._getCursorBlinking(),Q=N===0,xe=N===5;Q?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),!Q&&!xe&&(N===1?this._cursorFlatBlinkInterval.cancelAndSet(function(){s._isVisible?s._hide():s._show()},F.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(function(){s._blinkingEnabled=!0,s._updateDomClassName()},F.BLINK_INTERVAL))}},{key:"_updateDomClassName",value:function(){this._domNode.setClassName(this._getClassName())}},{key:"_getClassName",value:function(){var s="cursors-layer";switch(this._selectionIsEmpty||(s+=" has-selection"),this._cursorStyle){case ft.i.Line:s+=" cursor-line-style";break;case ft.i.Block:s+=" cursor-block-style";break;case ft.i.Underline:s+=" cursor-underline-style";break;case ft.i.LineThin:s+=" cursor-line-thin-style";break;case ft.i.BlockOutline:s+=" cursor-block-outline-style";break;case ft.i.UnderlineThin:s+=" cursor-underline-thin-style";break;default:s+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:s+=" cursor-blink";break;case 2:s+=" cursor-smooth";break;case 3:s+=" cursor-phase";break;case 4:s+=" cursor-expand";break;case 5:s+=" cursor-solid";break;default:s+=" cursor-solid"}else s+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(s+=" cursor-smooth-caret-animation"),s}},{key:"_show",value:function(){this._primaryCursor.show();for(var s=0,N=this._secondaryCursors.length;s<N;s++)this._secondaryCursors[s].show();this._isVisible=!0}},{key:"_hide",value:function(){this._primaryCursor.hide();for(var s=0,N=this._secondaryCursors.length;s<N;s++)this._secondaryCursors[s].hide();this._isVisible=!1}},{key:"prepareRender",value:function(s){this._primaryCursor.prepareRender(s);for(var N=0,Q=this._secondaryCursors.length;N<Q;N++)this._secondaryCursors[N].prepareRender(s)}},{key:"render",value:function(s){var N=[],Q=0,xe=this._primaryCursor.render(s);xe&&(N[Q++]=xe);for(var Je=0,Ge=this._secondaryCursors.length;Je<Ge;Je++){var qt=this._secondaryCursors[Je].render(s);qt&&(N[Q++]=qt)}this._renderData=N}},{key:"getLastRenderData",value:function(){return this._renderData}}]),F}(ee);Tr.BLINK_INTERVAL=500,Object(Kt.f)(function(Lt,He){var F=Lt.getColor(ct.g);if(F){var U=Lt.getColor(ct.f);U||(U=F.opposite()),He.addRule(".monaco-editor .cursors-layer .cursor { background-color: ".concat(F,"; border-color: ").concat(F,"; color: ").concat(U,"; }")),Lt.type==="hc"&&He.addRule(".monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ".concat(U,"; border-right: 1px solid ").concat(U,"; }"))}});var Qr=function(){throw new Error("Invalid change accessor")},Qe=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;Object(n.a)(this,F),s=He.call(this,U);var N=s._context.configuration.options,Q=N.get(127);return s._lineHeight=N.get(55),s._contentWidth=Q.contentWidth,s._contentLeft=Q.contentLeft,s.domNode=Object(O.b)(document.createElement("div")),s.domNode.setClassName("view-zones"),s.domNode.setPosition("absolute"),s.domNode.setAttribute("role","presentation"),s.domNode.setAttribute("aria-hidden","true"),s.marginDomNode=Object(O.b)(document.createElement("div")),s.marginDomNode.setClassName("margin-view-zones"),s.marginDomNode.setPosition("absolute"),s.marginDomNode.setAttribute("role","presentation"),s.marginDomNode.setAttribute("aria-hidden","true"),s._zones={},s}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this),this._zones={}}},{key:"_recomputeWhitespacesProps",value:function(){var s=this,N=this._context.viewLayout.getWhitespaces(),Q=new Map,xe=Object(c.a)(N),Je;try{for(xe.s();!(Je=xe.n()).done;){var Ge=Je.value;Q.set(Ge.id,Ge)}}catch(fn){xe.e(fn)}finally{xe.f()}var qt=!1;return this._context.model.changeWhitespace(function(fn){for(var Wn=Object.keys(s._zones),Yt=0,Yn=Wn.length;Yt<Yn;Yt++){var hr=Wn[Yt],Wr=s._zones[hr],$r=s._computeWhitespaceProps(Wr.delegate),wi=Q.get(hr);wi&&(wi.afterLineNumber!==$r.afterViewLineNumber||wi.height!==$r.heightInPx)&&(fn.changeOneWhitespace(hr,$r.afterViewLineNumber,$r.heightInPx),s._safeCallOnComputedHeight(Wr.delegate,$r.heightInPx),qt=!0)}}),qt}},{key:"onConfigurationChanged",value:function(s){var N=this._context.configuration.options,Q=N.get(127);return this._lineHeight=N.get(55),this._contentWidth=Q.contentWidth,this._contentLeft=Q.contentLeft,s.hasChanged(55)&&this._recomputeWhitespacesProps(),!0}},{key:"onLineMappingChanged",value:function(s){return this._recomputeWhitespacesProps()}},{key:"onLinesDeleted",value:function(s){return!0}},{key:"onScrollChanged",value:function(s){return s.scrollTopChanged||s.scrollWidthChanged}},{key:"onZonesChanged",value:function(s){return!0}},{key:"onLinesInserted",value:function(s){return!0}},{key:"_getZoneOrdinal",value:function(s){return typeof s.afterColumn!="undefined"?s.afterColumn:1e4}},{key:"_computeWhitespaceProps",value:function(s){if(s.afterLineNumber===0)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(s),minWidthInPx:this._minWidthInPixels(s)};var N;if(typeof s.afterColumn!="undefined")N=this._context.model.validateModelPosition({lineNumber:s.afterLineNumber,column:s.afterColumn});else{var Q=this._context.model.validateModelPosition({lineNumber:s.afterLineNumber,column:1}).lineNumber;N=new bt.a(Q,this._context.model.getModelLineMaxColumn(Q))}var xe;N.column===this._context.model.getModelLineMaxColumn(N.lineNumber)?xe=this._context.model.validateModelPosition({lineNumber:N.lineNumber+1,column:1}):xe=this._context.model.validateModelPosition({lineNumber:N.lineNumber,column:N.column+1});var Je=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(N),Ge=this._context.model.coordinatesConverter.modelPositionIsVisible(xe);return{afterViewLineNumber:Je.lineNumber,heightInPx:Ge?this._heightInPixels(s):0,minWidthInPx:this._minWidthInPixels(s)}}},{key:"changeViewZones",value:function(s){var N=this,Q=!1;return this._context.model.changeWhitespace(function(xe){var Je={addZone:function(qt){return Q=!0,N._addZone(xe,qt)},removeZone:function(qt){!qt||(Q=N._removeZone(xe,qt)||Q)},layoutZone:function(qt){!qt||(Q=N._layoutZone(xe,qt)||Q)}};Jt(s,Je),Je.addZone=Qr,Je.removeZone=Qr,Je.layoutZone=Qr}),Q}},{key:"_addZone",value:function(s,N){var Q=this._computeWhitespaceProps(N),xe=s.insertWhitespace(Q.afterViewLineNumber,this._getZoneOrdinal(N),Q.heightInPx,Q.minWidthInPx),Je={whitespaceId:xe,delegate:N,isVisible:!1,domNode:Object(O.b)(N.domNode),marginDomNode:N.marginDomNode?Object(O.b)(N.marginDomNode):null};return this._safeCallOnComputedHeight(Je.delegate,Q.heightInPx),Je.domNode.setPosition("absolute"),Je.domNode.domNode.style.width="100%",Je.domNode.setDisplay("none"),Je.domNode.setAttribute("monaco-view-zone",Je.whitespaceId),this.domNode.appendChild(Je.domNode),Je.marginDomNode&&(Je.marginDomNode.setPosition("absolute"),Je.marginDomNode.domNode.style.width="100%",Je.marginDomNode.setDisplay("none"),Je.marginDomNode.setAttribute("monaco-view-zone",Je.whitespaceId),this.marginDomNode.appendChild(Je.marginDomNode)),this._zones[Je.whitespaceId]=Je,this.setShouldRender(),Je.whitespaceId}},{key:"_removeZone",value:function(s,N){if(this._zones.hasOwnProperty(N)){var Q=this._zones[N];return delete this._zones[N],s.removeWhitespace(Q.whitespaceId),Q.domNode.removeAttribute("monaco-visible-view-zone"),Q.domNode.removeAttribute("monaco-view-zone"),Q.domNode.domNode.parentNode.removeChild(Q.domNode.domNode),Q.marginDomNode&&(Q.marginDomNode.removeAttribute("monaco-visible-view-zone"),Q.marginDomNode.removeAttribute("monaco-view-zone"),Q.marginDomNode.domNode.parentNode.removeChild(Q.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}},{key:"_layoutZone",value:function(s,N){if(this._zones.hasOwnProperty(N)){var Q=this._zones[N],xe=this._computeWhitespaceProps(Q.delegate);return s.changeOneWhitespace(Q.whitespaceId,xe.afterViewLineNumber,xe.heightInPx),this._safeCallOnComputedHeight(Q.delegate,xe.heightInPx),this.setShouldRender(),!0}return!1}},{key:"shouldSuppressMouseDownOnViewZone",value:function(s){if(this._zones.hasOwnProperty(s)){var N=this._zones[s];return Boolean(N.delegate.suppressMouseDown)}return!1}},{key:"_heightInPixels",value:function(s){return typeof s.heightInPx=="number"?s.heightInPx:typeof s.heightInLines=="number"?this._lineHeight*s.heightInLines:this._lineHeight}},{key:"_minWidthInPixels",value:function(s){return typeof s.minWidthInPx=="number"?s.minWidthInPx:0}},{key:"_safeCallOnComputedHeight",value:function(s,N){if(typeof s.onComputedHeight=="function")try{s.onComputedHeight(N)}catch(Q){Object(T.e)(Q)}}},{key:"_safeCallOnDomNodeTop",value:function(s,N){if(typeof s.onDomNodeTop=="function")try{s.onDomNodeTop(N)}catch(Q){Object(T.e)(Q)}}},{key:"prepareRender",value:function(s){}},{key:"render",value:function(s){for(var N=s.viewportData.whitespaceViewportData,Q={},xe=!1,Je=0,Ge=N.length;Je<Ge;Je++)Q[N[Je].id]=N[Je],xe=!0;for(var qt=Object.keys(this._zones),fn=0,Wn=qt.length;fn<Wn;fn++){var Yt=qt[fn],Yn=this._zones[Yt],hr=0,Wr=0,$r="none";Q.hasOwnProperty(Yt)?(hr=Q[Yt].verticalOffset-s.bigNumbersDelta,Wr=Q[Yt].height,$r="block",Yn.isVisible||(Yn.domNode.setAttribute("monaco-visible-view-zone","true"),Yn.isVisible=!0),this._safeCallOnDomNodeTop(Yn.delegate,s.getScrolledTopFromAbsoluteTop(Q[Yt].verticalOffset))):(Yn.isVisible&&(Yn.domNode.removeAttribute("monaco-visible-view-zone"),Yn.isVisible=!1),this._safeCallOnDomNodeTop(Yn.delegate,s.getScrolledTopFromAbsoluteTop(-1e6))),Yn.domNode.setTop(hr),Yn.domNode.setHeight(Wr),Yn.domNode.setDisplay($r),Yn.marginDomNode&&(Yn.marginDomNode.setTop(hr),Yn.marginDomNode.setHeight(Wr),Yn.marginDomNode.setDisplay($r))}xe&&(this.domNode.setWidth(Math.max(s.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))}}]),F}(ee);function Jt(Lt,He){try{return Lt(He)}catch(F){Object(T.e)(F)}}var ln=function(){function Lt(He){Object(n.a)(this,Lt),this._theme=He}return Object(v.a)(Lt,[{key:"type",get:function(){return this._theme.type}},{key:"update",value:function(F){this._theme=F}},{key:"getColor",value:function(F){return this._theme.getColor(F)}}]),Lt}(),rn=function(){function Lt(He,F,U){Object(n.a)(this,Lt),this.configuration=He,this.theme=new ln(F),this.model=U,this.viewLayout=U.viewLayout}return Object(v.a)(Lt,[{key:"addEventHandler",value:function(F){this.model.addViewEventHandler(F)}},{key:"removeEventHandler",value:function(F){this.model.removeViewEventHandler(F)}}]),Lt}(),An=function(){function Lt(He,F,U,s){Object(n.a)(this,Lt),this.selections=He,this.startLineNumber=F.startLineNumber|0,this.endLineNumber=F.endLineNumber|0,this.relativeVerticalOffset=F.relativeVerticalOffset,this.bigNumbersDelta=F.bigNumbersDelta|0,this.whitespaceViewportData=U,this._model=s,this.visibleRange=new Ct.a(F.startLineNumber,this._model.getLineMinColumn(F.startLineNumber),F.endLineNumber,this._model.getLineMaxColumn(F.endLineNumber))}return Object(v.a)(Lt,[{key:"getViewLineRenderingData",value:function(F){return this._model.getViewLineRenderingData(this.visibleRange,F)}},{key:"getDecorationsInViewport",value:function(){return this._model.getDecorationsInViewport(this.visibleRange)}}]),Lt}(),fr=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N,Q,xe,Je){var Ge;Object(n.a)(this,F),Ge=He.call(this),Ge._selections=[new d.a(1,1,1,1)],Ge._renderAnimationFrame=null;var qt=new sr(s,Q,xe,U);Ge._context=new rn(s,N.getColorTheme(),Q),Ge._configPixelRatio=Ge._context.configuration.options.get(125),Ge._context.addEventHandler(Object(r.a)(Ge)),Ge._register(N.onDidColorThemeChange(function(fi){Ge._context.theme.update(fi),Ge._context.model.onDidColorThemeChange(),Ge.render(!0,!1)})),Ge._viewParts=[],Ge._textAreaHandler=new qn(Ge._context,qt,Ge._createTextAreaHandlerHelper()),Ge._viewParts.push(Ge._textAreaHandler),Ge._linesContent=Object(O.b)(document.createElement("div")),Ge._linesContent.setClassName("lines-content monaco-editor-background"),Ge._linesContent.setPosition("absolute"),Ge.domNode=Object(O.b)(document.createElement("div")),Ge.domNode.setClassName(Ge._getEditorClassName()),Ge.domNode.setAttribute("role","code"),Ge._overflowGuardContainer=Object(O.b)(document.createElement("div")),ce.write(Ge._overflowGuardContainer,3),Ge._overflowGuardContainer.setClassName("overflow-guard"),Ge._scrollbar=new Ze(Ge._context,Ge._linesContent,Ge.domNode,Ge._overflowGuardContainer),Ge._viewParts.push(Ge._scrollbar),Ge._viewLines=new Zn(Ge._context,Ge._linesContent),Ge._viewZones=new Qe(Ge._context),Ge._viewParts.push(Ge._viewZones);var fn=new pt(Ge._context);Ge._viewParts.push(fn);var Wn=new Ke(Ge._context);Ge._viewParts.push(Wn);var Yt=new Xi(Ge._context);Ge._viewParts.push(Yt),Yt.addDynamicOverlay(new ba(Ge._context)),Yt.addDynamicOverlay(new hn(Ge._context)),Yt.addDynamicOverlay(new wt(Ge._context)),Yt.addDynamicOverlay(new It(Ge._context));var Yn=new ca(Ge._context);Ge._viewParts.push(Yn),Yn.addDynamicOverlay(new ea(Ge._context)),Yn.addDynamicOverlay(new cn(Ge._context)),Yn.addDynamicOverlay(new Dr(Ge._context)),Yn.addDynamicOverlay(new xr(Ge._context)),Yn.addDynamicOverlay(new pn(Ge._context));var hr=new kn(Ge._context);hr.getDomNode().appendChild(Ge._viewZones.marginDomNode),hr.getDomNode().appendChild(Yn.getDomNode()),Ge._viewParts.push(hr),Ge._contentWidgets=new xa(Ge._context,Ge.domNode),Ge._viewParts.push(Ge._contentWidgets),Ge._viewCursors=new Tr(Ge._context),Ge._viewParts.push(Ge._viewCursors),Ge._overlayWidgets=new me(Ge._context),Ge._viewParts.push(Ge._overlayWidgets);var Wr=new Le(Ge._context);Ge._viewParts.push(Wr);var $r=new ve(Ge._context);if(Ge._viewParts.push($r),fn){var wi=Ge._scrollbar.getOverviewRulerLayoutInfo();wi.parent.insertBefore(fn.getDomNode(),wi.insertBefore)}return Ge._linesContent.appendChild(Yt.getDomNode()),Ge._linesContent.appendChild(Wr.domNode),Ge._linesContent.appendChild(Ge._viewZones.domNode),Ge._linesContent.appendChild(Ge._viewLines.getDomNode()),Ge._linesContent.appendChild(Ge._contentWidgets.domNode),Ge._linesContent.appendChild(Ge._viewCursors.getDomNode()),Ge._overflowGuardContainer.appendChild(hr.getDomNode()),Ge._overflowGuardContainer.appendChild(Ge._scrollbar.getDomNode()),Ge._overflowGuardContainer.appendChild(Wn.getDomNode()),Ge._overflowGuardContainer.appendChild(Ge._textAreaHandler.textArea),Ge._overflowGuardContainer.appendChild(Ge._textAreaHandler.textAreaCover),Ge._overflowGuardContainer.appendChild(Ge._overlayWidgets.getDomNode()),Ge._overflowGuardContainer.appendChild($r.getDomNode()),Ge.domNode.appendChild(Ge._overflowGuardContainer),Je?Je.appendChild(Ge._contentWidgets.overflowingContentWidgetsDomNode.domNode):Ge.domNode.appendChild(Ge._contentWidgets.overflowingContentWidgetsDomNode),Ge._applyLayout(),Ge._pointerHandler=Ge._register(new en(Ge._context,qt,Ge._createPointerHandlerHelper())),Ge}return Object(v.a)(F,[{key:"_flushAccumulatedAndRenderNow",value:function(){this._renderNow()}},{key:"_createPointerHandlerHelper",value:function(){var s=this;return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:function(){s.focus()},dispatchTextAreaEvent:function(Q){s._textAreaHandler.textArea.domNode.dispatchEvent(Q)},getLastRenderData:function(){var Q=s._viewCursors.getLastRenderData()||[],xe=s._textAreaHandler.getLastRenderData();return new st(Q,xe)},shouldSuppressMouseDownOnViewZone:function(Q){return s._viewZones.shouldSuppressMouseDownOnViewZone(Q)},shouldSuppressMouseDownOnWidget:function(Q){return s._contentWidgets.shouldSuppressMouseDownOnWidget(Q)},getPositionFromDOMInfo:function(Q,xe){return s._flushAccumulatedAndRenderNow(),s._viewLines.getPositionFromDOMInfo(Q,xe)},visibleRangeForPosition:function(Q,xe){return s._flushAccumulatedAndRenderNow(),s._viewLines.visibleRangeForPosition(new bt.a(Q,xe))},getLineWidth:function(Q){return s._flushAccumulatedAndRenderNow(),s._viewLines.getLineWidth(Q)}}}},{key:"_createTextAreaHandlerHelper",value:function(){var s=this;return{visibleRangeForPositionRelativeToEditor:function(Q,xe){return s._flushAccumulatedAndRenderNow(),s._viewLines.visibleRangeForPosition(new bt.a(Q,xe))}}}},{key:"_applyLayout",value:function(){var s=this._context.configuration.options,N=s.get(127);this.domNode.setWidth(N.width),this.domNode.setHeight(N.height),this._overflowGuardContainer.setWidth(N.width),this._overflowGuardContainer.setHeight(N.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}},{key:"_getEditorClassName",value:function(){var s=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(124)+" "+Object(Kt.e)(this._context.theme.type)+s}},{key:"handleEvents",value:function(s){Object(f.a)(Object(o.a)(F.prototype),"handleEvents",this).call(this,s),this._scheduleRender()}},{key:"onConfigurationChanged",value:function(s){return this._configPixelRatio=this._context.configuration.options.get(125),this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}},{key:"onCursorStateChanged",value:function(s){return this._selections=s.selections,!1}},{key:"onFocusChanged",value:function(s){return this.domNode.setClassName(this._getEditorClassName()),!1}},{key:"onThemeChanged",value:function(s){return this.domNode.setClassName(this._getEditorClassName()),!1}},{key:"dispose",value:function(){this._renderAnimationFrame!==null&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();var s=Object(c.a)(this._viewParts),N;try{for(s.s();!(N=s.n()).done;){var Q=N.value;Q.dispose()}}catch(xe){s.e(xe)}finally{s.f()}Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"_scheduleRender",value:function(){this._renderAnimationFrame===null&&(this._renderAnimationFrame=k.runAtThisOrScheduleAtNextAnimationFrame(this._onRenderScheduled.bind(this),100))}},{key:"_onRenderScheduled",value:function(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}},{key:"_renderNow",value:function(){var s=this;Pr(function(){return s._actualRender()})}},{key:"_getViewPartsToRender",value:function(){var s=[],N=0,Q=Object(c.a)(this._viewParts),xe;try{for(Q.s();!(xe=Q.n()).done;){var Je=xe.value;Je.shouldRender()&&(s[N++]=Je)}}catch(Ge){Q.e(Ge)}finally{Q.f()}return s}},{key:"_actualRender",value:function(){if(!!k.isInDOM(this.domNode.domNode)){var s=this._getViewPartsToRender();if(!(!this._viewLines.shouldRender()&&s.length===0)){var N=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(N.startLineNumber,N.endLineNumber,N.centeredLineNumber);var Q=new An(this._selections,N,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(Q),this._viewLines.shouldRender()&&(this._viewLines.renderText(Q),this._viewLines.onDidRender(),s=this._getViewPartsToRender());var xe=new y(this._context.viewLayout,Q,this._viewLines),Je=Object(c.a)(s),Ge;try{for(Je.s();!(Ge=Je.n()).done;){var qt=Ge.value;qt.prepareRender(xe)}}catch(Yn){Je.e(Yn)}finally{Je.f()}var fn=Object(c.a)(s),Wn;try{for(fn.s();!(Wn=fn.n()).done;){var Yt=Wn.value;Yt.render(xe),Yt.onDidRender()}}catch(Yn){fn.e(Yn)}finally{fn.f()}Math.abs(b.a()-this._configPixelRatio)>.001&&this._context.configuration.updatePixelRatio()}}}},{key:"delegateVerticalScrollbarMouseDown",value:function(s){this._scrollbar.delegateVerticalScrollbarMouseDown(s)}},{key:"restoreState",value:function(s){this._context.model.setScrollPosition({scrollTop:s.scrollTop},1),this._context.model.tokenizeViewport(),this._renderNow(),this._viewLines.updateLineWidths(),this._context.model.setScrollPosition({scrollLeft:s.scrollLeft},1)}},{key:"getOffsetForColumn",value:function(s,N){var Q=this._context.model.validateModelPosition({lineNumber:s,column:N}),xe=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(Q);this._flushAccumulatedAndRenderNow();var Je=this._viewLines.visibleRangeForPosition(new bt.a(xe.lineNumber,xe.column));return Je?Je.left:-1}},{key:"getTargetAtClientPoint",value:function(s,N){var Q=this._pointerHandler.getTargetAtClientPoint(s,N);return Q?yr.convertViewToModelMouseTarget(Q,this._context.model.coordinatesConverter):null}},{key:"createOverviewRuler",value:function(s){return new we(this._context,s)}},{key:"change",value:function(s){this._viewZones.changeViewZones(s),this._scheduleRender()}},{key:"render",value:function(s,N){if(N){this._viewLines.forceShouldRender();var Q=Object(c.a)(this._viewParts),xe;try{for(Q.s();!(xe=Q.n()).done;){var Je=xe.value;Je.forceShouldRender()}}catch(Ge){Q.e(Ge)}finally{Q.f()}}s?this._flushAccumulatedAndRenderNow():this._scheduleRender()}},{key:"focus",value:function(){this._textAreaHandler.focusTextArea()}},{key:"isFocused",value:function(){return this._textAreaHandler.isFocused()}},{key:"setAriaOptions",value:function(s){this._textAreaHandler.setAriaOptions(s)}},{key:"addContentWidget",value:function(s){this._contentWidgets.addWidget(s.widget),this.layoutContentWidget(s),this._scheduleRender()}},{key:"layoutContentWidget",value:function(s){var N=s.position&&s.position.range||null;if(N===null){var Q=s.position?s.position.position:null;Q!==null&&(N=new Ct.a(Q.lineNumber,Q.column,Q.lineNumber,Q.column))}var xe=s.position?s.position.preference:null;this._contentWidgets.setWidgetPosition(s.widget,N,xe),this._scheduleRender()}},{key:"removeContentWidget",value:function(s){this._contentWidgets.removeWidget(s.widget),this._scheduleRender()}},{key:"addOverlayWidget",value:function(s){this._overlayWidgets.addWidget(s.widget),this.layoutOverlayWidget(s),this._scheduleRender()}},{key:"layoutOverlayWidget",value:function(s){var N=s.position?s.position.preference:null,Q=this._overlayWidgets.setWidgetPosition(s.widget,N);Q&&this._scheduleRender()}},{key:"removeOverlayWidget",value:function(s){this._overlayWidgets.removeWidget(s.widget),this._scheduleRender()}}]),F}(Z);function Pr(Lt){try{return Lt()}catch(He){Object(T.e)(He)}}var kr=function(){function Lt(He){Object(n.a)(this,Lt),this._selTrackedRange=null,this._trackSelection=!0,this._setState(He,new Bt.f(new Ct.a(1,1,1,1),0,new bt.a(1,1),0),new Bt.f(new Ct.a(1,1,1,1),0,new bt.a(1,1),0))}return Object(v.a)(Lt,[{key:"dispose",value:function(F){this._removeTrackedRange(F)}},{key:"startTrackingSelection",value:function(F){this._trackSelection=!0,this._updateTrackedRange(F)}},{key:"stopTrackingSelection",value:function(F){this._trackSelection=!1,this._removeTrackedRange(F)}},{key:"_updateTrackedRange",value:function(F){!this._trackSelection||(this._selTrackedRange=F.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}},{key:"_removeTrackedRange",value:function(F){this._selTrackedRange=F.model._setTrackedRange(this._selTrackedRange,null,0)}},{key:"asCursorState",value:function(){return new Bt.d(this.modelState,this.viewState)}},{key:"readSelectionFromMarkers",value:function(F){var U=F.model._getTrackedRange(this._selTrackedRange);return this.modelState.selection.getDirection()===0?new d.a(U.startLineNumber,U.startColumn,U.endLineNumber,U.endColumn):new d.a(U.endLineNumber,U.endColumn,U.startLineNumber,U.startColumn)}},{key:"ensureValidState",value:function(F){this._setState(F,this.modelState,this.viewState)}},{key:"setState",value:function(F,U,s){this._setState(F,U,s)}},{key:"_setState",value:function(F,U,s){if(U){var xe=F.model.validateRange(U.selectionStart),Je=U.selectionStart.equalsRange(xe)?U.selectionStartLeftoverVisibleColumns:0,Ge=F.model.validatePosition(U.position),qt=U.position.equals(Ge)?U.leftoverVisibleColumns:0;U=new Bt.f(xe,Je,Ge,qt)}else{if(!s)return;var N=F.model.validateRange(F.coordinatesConverter.convertViewRangeToModelRange(s.selectionStart)),Q=F.model.validatePosition(F.coordinatesConverter.convertViewPositionToModelPosition(s.position));U=new Bt.f(N,s.selectionStartLeftoverVisibleColumns,Q,s.leftoverVisibleColumns)}if(s){var hr=F.coordinatesConverter.validateViewRange(s.selectionStart,U.selectionStart),Wr=F.coordinatesConverter.validateViewPosition(s.position,U.position);s=new Bt.f(hr,U.selectionStartLeftoverVisibleColumns,Wr,U.leftoverVisibleColumns)}else{var fn=F.coordinatesConverter.convertModelPositionToViewPosition(new bt.a(U.selectionStart.startLineNumber,U.selectionStart.startColumn)),Wn=F.coordinatesConverter.convertModelPositionToViewPosition(new bt.a(U.selectionStart.endLineNumber,U.selectionStart.endColumn)),Yt=new Ct.a(fn.lineNumber,fn.column,Wn.lineNumber,Wn.column),Yn=F.coordinatesConverter.convertModelPositionToViewPosition(U.position);s=new Bt.f(Yt,U.selectionStartLeftoverVisibleColumns,Yn,U.leftoverVisibleColumns)}this.modelState=U,this.viewState=s,this._updateTrackedRange(F)}}]),Lt}(),Ar=function(){function Lt(He){Object(n.a)(this,Lt),this.context=He,this.primaryCursor=new kr(He),this.secondaryCursors=[],this.lastAddedCursorIndex=0}return Object(v.a)(Lt,[{key:"dispose",value:function(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()}},{key:"startTrackingSelections",value:function(){this.primaryCursor.startTrackingSelection(this.context);for(var F=0,U=this.secondaryCursors.length;F<U;F++)this.secondaryCursors[F].startTrackingSelection(this.context)}},{key:"stopTrackingSelections",value:function(){this.primaryCursor.stopTrackingSelection(this.context);for(var F=0,U=this.secondaryCursors.length;F<U;F++)this.secondaryCursors[F].stopTrackingSelection(this.context)}},{key:"updateContext",value:function(F){this.context=F}},{key:"ensureValidState",value:function(){this.primaryCursor.ensureValidState(this.context);for(var F=0,U=this.secondaryCursors.length;F<U;F++)this.secondaryCursors[F].ensureValidState(this.context)}},{key:"readSelectionFromMarkers",value:function(){var F=[];F[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(var U=0,s=this.secondaryCursors.length;U<s;U++)F[U+1]=this.secondaryCursors[U].readSelectionFromMarkers(this.context);return F}},{key:"getAll",value:function(){var F=[];F[0]=this.primaryCursor.asCursorState();for(var U=0,s=this.secondaryCursors.length;U<s;U++)F[U+1]=this.secondaryCursors[U].asCursorState();return F}},{key:"getViewPositions",value:function(){var F=[];F[0]=this.primaryCursor.viewState.position;for(var U=0,s=this.secondaryCursors.length;U<s;U++)F[U+1]=this.secondaryCursors[U].viewState.position;return F}},{key:"getTopMostViewPosition",value:function(){for(var F=this.primaryCursor.viewState.position,U=0,s=this.secondaryCursors.length;U<s;U++){var N=this.secondaryCursors[U].viewState.position;N.isBefore(F)&&(F=N)}return F}},{key:"getBottomMostViewPosition",value:function(){for(var F=this.primaryCursor.viewState.position,U=0,s=this.secondaryCursors.length;U<s;U++){var N=this.secondaryCursors[U].viewState.position;F.isBeforeOrEqual(N)&&(F=N)}return F}},{key:"getSelections",value:function(){var F=[];F[0]=this.primaryCursor.modelState.selection;for(var U=0,s=this.secondaryCursors.length;U<s;U++)F[U+1]=this.secondaryCursors[U].modelState.selection;return F}},{key:"getViewSelections",value:function(){var F=[];F[0]=this.primaryCursor.viewState.selection;for(var U=0,s=this.secondaryCursors.length;U<s;U++)F[U+1]=this.secondaryCursors[U].viewState.selection;return F}},{key:"setSelections",value:function(F){this.setStates(Bt.d.fromModelSelections(F))}},{key:"getPrimaryCursor",value:function(){return this.primaryCursor.asCursorState()}},{key:"setStates",value:function(F){F!==null&&(this.primaryCursor.setState(this.context,F[0].modelState,F[0].viewState),this._setSecondaryStates(F.slice(1)))}},{key:"_setSecondaryStates",value:function(F){var U=this.secondaryCursors.length,s=F.length;if(U<s)for(var N=s-U,Q=0;Q<N;Q++)this._addSecondaryCursor();else if(U>s)for(var xe=U-s,Je=0;Je<xe;Je++)this._removeSecondaryCursor(this.secondaryCursors.length-1);for(var Ge=0;Ge<s;Ge++)this.secondaryCursors[Ge].setState(this.context,F[Ge].modelState,F[Ge].viewState)}},{key:"killSecondaryCursors",value:function(){this._setSecondaryStates([])}},{key:"_addSecondaryCursor",value:function(){this.secondaryCursors.push(new kr(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length}},{key:"getLastAddedCursorIndex",value:function(){return this.secondaryCursors.length===0||this.lastAddedCursorIndex===0?0:this.lastAddedCursorIndex}},{key:"_removeSecondaryCursor",value:function(F){this.lastAddedCursorIndex>=F+1&&this.lastAddedCursorIndex--,this.secondaryCursors[F].dispose(this.context),this.secondaryCursors.splice(F,1)}},{key:"_getAll",value:function(){var F=[];F[0]=this.primaryCursor;for(var U=0,s=this.secondaryCursors.length;U<s;U++)F[U+1]=this.secondaryCursors[U];return F}},{key:"normalize",value:function(){if(this.secondaryCursors.length!==0){for(var F=this._getAll(),U=[],s=0,N=F.length;s<N;s++)U.push({index:s,selection:F[s].modelState.selection});U.sort(function(lo,ho){return lo.selection.startLineNumber===ho.selection.startLineNumber?lo.selection.startColumn-ho.selection.startColumn:lo.selection.startLineNumber-ho.selection.startLineNumber});for(var Q=0;Q<U.length-1;Q++){var xe=U[Q],Je=U[Q+1],Ge=xe.selection,qt=Je.selection;if(!!this.context.cursorConfig.multiCursorMergeOverlapping){var fn=void 0;if(qt.isEmpty()||Ge.isEmpty()?fn=qt.getStartPosition().isBeforeOrEqual(Ge.getEndPosition()):fn=qt.getStartPosition().isBefore(Ge.getEndPosition()),fn){var Wn=xe.index<Je.index?Q:Q+1,Yt=xe.index<Je.index?Q+1:Q,Yn=U[Yt].index,hr=U[Wn].index,Wr=U[Yt].selection,$r=U[Wn].selection;if(!Wr.equalsSelection($r)){var wi=Wr.plusRange($r),fi=Wr.selectionStartLineNumber===Wr.startLineNumber&&Wr.selectionStartColumn===Wr.startColumn,Vi=$r.selectionStartLineNumber===$r.startLineNumber&&$r.selectionStartColumn===$r.startColumn,da=void 0;Yn===this.lastAddedCursorIndex?(da=fi,this.lastAddedCursorIndex=hr):da=Vi;var ia=void 0;da?ia=new d.a(wi.startLineNumber,wi.startColumn,wi.endLineNumber,wi.endColumn):ia=new d.a(wi.endLineNumber,wi.endColumn,wi.startLineNumber,wi.startColumn),U[Wn].selection=ia;var ma=Bt.d.fromModelSelection(ia);F[hr].setState(this.context,ma.modelState,ma.viewState)}var Ea=Object(c.a)(U),Qa;try{for(Ea.s();!(Qa=Ea.n()).done;){var eo=Qa.value;eo.index>Yn&&eo.index--}}catch(lo){Ea.e(lo)}finally{Ea.f()}F.splice(Yn,1),U.splice(Yt,1),this._removeSecondaryCursor(Yn-1),Q--}}}}}}]),Lt}(),vi=e("snIX"),Wi=e("GR/f"),di=Object(v.a)(function Lt(){Object(n.a)(this,Lt),this.type=0}),ri=Object(v.a)(function Lt(){Object(n.a)(this,Lt),this.type=1}),yi=function(){function Lt(He){Object(n.a)(this,Lt),this.type=2,this._source=He}return Object(v.a)(Lt,[{key:"hasChanged",value:function(F){return this._source.hasChanged(F)}}]),Lt}(),Si=Object(v.a)(function Lt(He,F){Object(n.a)(this,Lt),this.type=3,this.selections=He,this.modelSelections=F}),zi=Object(v.a)(function Lt(He){Object(n.a)(this,Lt),this.type=4,He?(this.affectsMinimap=He.affectsMinimap,this.affectsOverviewRuler=He.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}),si=Object(v.a)(function Lt(){Object(n.a)(this,Lt),this.type=5}),ii=Object(v.a)(function Lt(He){Object(n.a)(this,Lt),this.type=6,this.isFocused=He}),Yi=Object(v.a)(function Lt(){Object(n.a)(this,Lt),this.type=7}),La=Object(v.a)(function Lt(){Object(n.a)(this,Lt),this.type=8}),Wa=Object(v.a)(function Lt(He,F){Object(n.a)(this,Lt),this.type=9,this.fromLineNumber=He,this.toLineNumber=F}),Ri=Object(v.a)(function Lt(He,F){Object(n.a)(this,Lt),this.type=10,this.fromLineNumber=He,this.toLineNumber=F}),Oa=Object(v.a)(function Lt(He,F){Object(n.a)(this,Lt),this.type=11,this.fromLineNumber=He,this.toLineNumber=F}),Ha=Object(v.a)(function Lt(He,F,U,s,N,Q){Object(n.a)(this,Lt),this.type=12,this.source=He,this.range=F,this.selections=U,this.verticalType=s,this.revealHorizontal=N,this.scrollType=Q}),Za=Object(v.a)(function Lt(He){Object(n.a)(this,Lt),this.type=13,this.scrollWidth=He.scrollWidth,this.scrollLeft=He.scrollLeft,this.scrollHeight=He.scrollHeight,this.scrollTop=He.scrollTop,this.scrollWidthChanged=He.scrollWidthChanged,this.scrollLeftChanged=He.scrollLeftChanged,this.scrollHeightChanged=He.scrollHeightChanged,this.scrollTopChanged=He.scrollTopChanged}),co=Object(v.a)(function Lt(){Object(n.a)(this,Lt),this.type=14}),Do=Object(v.a)(function Lt(He){Object(n.a)(this,Lt),this.type=15,this.ranges=He}),ra=Object(v.a)(function Lt(){Object(n.a)(this,Lt),this.type=16}),ya=Object(v.a)(function Lt(){Object(n.a)(this,Lt),this.type=17}),Ra=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(){var U;return Object(n.a)(this,F),U=He.call(this),U._onEvent=U._register(new I.a),U.onEvent=U._onEvent.event,U._eventHandlers=[],U._viewEventQueue=null,U._isConsumingViewEventQueue=!1,U._collector=null,U._collectorCnt=0,U._outgoingEvents=[],U}return Object(v.a)(F,[{key:"emitOutgoingEvent",value:function(s){this._addOutgoingEvent(s),this._emitOugoingEvents()}},{key:"_addOutgoingEvent",value:function(s){for(var N=0,Q=this._outgoingEvents.length;N<Q;N++)if(this._outgoingEvents[N].kind===s.kind){this._outgoingEvents[N]=this._outgoingEvents[N].merge(s);return}this._outgoingEvents.push(s)}},{key:"_emitOugoingEvents",value:function(){for(;this._outgoingEvents.length>0;){if(this._collector||this._isConsumingViewEventQueue)return;var s=this._outgoingEvents.shift();s.isNoOp()||this._onEvent.fire(s)}}},{key:"addViewEventHandler",value:function(s){for(var N=0,Q=this._eventHandlers.length;N<Q;N++)this._eventHandlers[N]===s&&console.warn("Detected duplicate listener in ViewEventDispatcher",s);this._eventHandlers.push(s)}},{key:"removeViewEventHandler",value:function(s){for(var N=0;N<this._eventHandlers.length;N++)if(this._eventHandlers[N]===s){this._eventHandlers.splice(N,1);break}}},{key:"beginEmitViewEvents",value:function(){return this._collectorCnt++,this._collectorCnt===1&&(this._collector=new Fa),this._collector}},{key:"endEmitViewEvents",value:function(){if(this._collectorCnt--,this._collectorCnt===0){var s=this._collector.outgoingEvents,N=this._collector.viewEvents;this._collector=null;var Q=Object(c.a)(s),xe;try{for(Q.s();!(xe=Q.n()).done;){var Je=xe.value;this._addOutgoingEvent(Je)}}catch(Ge){Q.e(Ge)}finally{Q.f()}N.length>0&&this._emitMany(N)}this._emitOugoingEvents()}},{key:"emitSingleViewEvent",value:function(s){try{var N=this.beginEmitViewEvents();N.emitViewEvent(s)}finally{this.endEmitViewEvents()}}},{key:"_emitMany",value:function(s){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(s):this._viewEventQueue=s,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}},{key:"_consumeViewEventQueue",value:function(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}},{key:"_doConsumeQueue",value:function(){for(;this._viewEventQueue;){var s=this._viewEventQueue;this._viewEventQueue=null;var N=this._eventHandlers.slice(0),Q=Object(c.a)(N),xe;try{for(Q.s();!(xe=Q.n()).done;){var Je=xe.value;Je.handleEvents(s)}}catch(Ge){Q.e(Ge)}finally{Q.f()}}}}]),F}(Y.a),Fa=function(){function Lt(){Object(n.a)(this,Lt),this.viewEvents=[],this.outgoingEvents=[]}return Object(v.a)(Lt,[{key:"emitViewEvent",value:function(F){this.viewEvents.push(F)}},{key:"emitOutgoingEvent",value:function(F){this.outgoingEvents.push(F)}}]),Lt}(),Ca=function(){function Lt(He,F,U,s){Object(n.a)(this,Lt),this.kind=0,this._oldContentWidth=He,this._oldContentHeight=F,this.contentWidth=U,this.contentHeight=s,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}return Object(v.a)(Lt,[{key:"isNoOp",value:function(){return!this.contentWidthChanged&&!this.contentHeightChanged}},{key:"merge",value:function(F){return F.kind!==0?this:new Lt(this._oldContentWidth,this._oldContentHeight,F.contentWidth,F.contentHeight)}}]),Lt}(),no=function(){function Lt(He,F){Object(n.a)(this,Lt),this.kind=1,this.oldHasFocus=He,this.hasFocus=F}return Object(v.a)(Lt,[{key:"isNoOp",value:function(){return this.oldHasFocus===this.hasFocus}},{key:"merge",value:function(F){return F.kind!==1?this:new Lt(this.oldHasFocus,F.hasFocus)}}]),Lt}(),No=function(){function Lt(He,F,U,s,N,Q,xe,Je){Object(n.a)(this,Lt),this.kind=2,this._oldScrollWidth=He,this._oldScrollLeft=F,this._oldScrollHeight=U,this._oldScrollTop=s,this.scrollWidth=N,this.scrollLeft=Q,this.scrollHeight=xe,this.scrollTop=Je,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}return Object(v.a)(Lt,[{key:"isNoOp",value:function(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}},{key:"merge",value:function(F){return F.kind!==2?this:new Lt(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,F.scrollWidth,F.scrollLeft,F.scrollHeight,F.scrollTop)}}]),Lt}(),es=function(){function Lt(){Object(n.a)(this,Lt),this.kind=3}return Object(v.a)(Lt,[{key:"isNoOp",value:function(){return!1}},{key:"merge",value:function(F){return this}}]),Lt}(),ds=function(){function Lt(He,F,U,s,N,Q,xe){Object(n.a)(this,Lt),this.kind=5,this.oldSelections=He,this.selections=F,this.oldModelVersionId=U,this.modelVersionId=s,this.source=N,this.reason=Q,this.reachedMaxCursorCount=xe}return Object(v.a)(Lt,[{key:"isNoOp",value:function(){return Lt._selectionsAreEqual(this.oldSelections,this.selections)&&this.oldModelVersionId===this.modelVersionId}},{key:"merge",value:function(F){return F.kind!==5?this:new Lt(this.oldSelections,F.selections,this.oldModelVersionId,F.modelVersionId,F.source,F.reason,this.reachedMaxCursorCount||F.reachedMaxCursorCount)}}],[{key:"_selectionsAreEqual",value:function(F,U){if(!F&&!U)return!0;if(!F||!U)return!1;var s=F.length,N=U.length;if(s!==N)return!1;for(var Q=0;Q<s;Q++)if(!F[Q].equalsSelection(U[Q]))return!1;return!0}}]),Lt}(),Yr=function(){function Lt(){Object(n.a)(this,Lt),this.kind=4}return Object(v.a)(Lt,[{key:"isNoOp",value:function(){return!1}},{key:"merge",value:function(F){return this}}]),Lt}(),jr=function(){function Lt(He,F){Object(n.a)(this,Lt),this.modelVersionId=He.getVersionId(),this.cursorState=F.getCursorStates()}return Object(v.a)(Lt,[{key:"equals",value:function(F){if(!F||this.modelVersionId!==F.modelVersionId||this.cursorState.length!==F.cursorState.length)return!1;for(var U=0,s=this.cursorState.length;U<s;U++)if(!this.cursorState[U].equals(F.cursorState[U]))return!1;return!0}}]),Lt}(),Ei=function(){function Lt(He,F,U){Object(n.a)(this,Lt),this._model=He,this._autoClosedCharactersDecorations=F,this._autoClosedEnclosingDecorations=U}return Object(v.a)(Lt,[{key:"dispose",value:function(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])}},{key:"getAutoClosedCharactersRanges",value:function(){for(var F=[],U=0;U<this._autoClosedCharactersDecorations.length;U++){var s=this._model.getDecorationRange(this._autoClosedCharactersDecorations[U]);s&&F.push(s)}return F}},{key:"isValid",value:function(F){for(var U=[],s=0;s<this._autoClosedEnclosingDecorations.length;s++){var N=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[s]);if(N&&(U.push(N),N.startLineNumber!==N.endLineNumber))return!1}U.sort(Ct.a.compareRangesUsingStarts),F.sort(Ct.a.compareRangesUsingStarts);for(var Q=0;Q<F.length;Q++)if(Q>=U.length||!U[Q].strictContainsRange(F[Q]))return!1;return!0}}],[{key:"getAllAutoClosedCharacters",value:function(F){var U=[],s=Object(c.a)(F),N;try{for(s.s();!(N=s.n()).done;){var Q=N.value;U=U.concat(Q.getAutoClosedCharactersRanges())}}catch(xe){s.e(xe)}finally{s.f()}return U}}]),Lt}(),gi=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N,Q){var xe;return Object(n.a)(this,F),xe=He.call(this),xe._model=U,xe._knownModelVersionId=xe._model.getVersionId(),xe._viewModel=s,xe._coordinatesConverter=N,xe.context=new Bt.c(xe._model,xe._coordinatesConverter,Q),xe._cursors=new Ar(xe.context),xe._hasFocus=!1,xe._isHandling=!1,xe._isDoingComposition=!1,xe._selectionsWhenCompositionStarted=null,xe._columnSelectData=null,xe._autoClosedActions=[],xe._prevEditOperationType=0,xe}return Object(v.a)(F,[{key:"dispose",value:function(){this._cursors.dispose(),this._autoClosedActions=Object(Y.f)(this._autoClosedActions),Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"updateConfiguration",value:function(s){this.context=new Bt.c(this._model,this._coordinatesConverter,s),this._cursors.updateContext(this.context)}},{key:"onLineMappingChanged",value:function(s){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(s,"viewModel",0,this.getCursorStates())}},{key:"setHasFocus",value:function(s){this._hasFocus=s}},{key:"_validateAutoClosedActions",value:function(){if(this._autoClosedActions.length>0)for(var s=this._cursors.getSelections(),N=0;N<this._autoClosedActions.length;N++){var Q=this._autoClosedActions[N];Q.isValid(s)||(Q.dispose(),this._autoClosedActions.splice(N,1),N--)}}},{key:"getPrimaryCursorState",value:function(){return this._cursors.getPrimaryCursor()}},{key:"getLastAddedCursorIndex",value:function(){return this._cursors.getLastAddedCursorIndex()}},{key:"getCursorStates",value:function(){return this._cursors.getAll()}},{key:"setStates",value:function(s,N,Q,xe){var Je=!1;xe!==null&&xe.length>F.MAX_CURSOR_COUNT&&(xe=xe.slice(0,F.MAX_CURSOR_COUNT),Je=!0);var Ge=new jr(this._model,this);return this._cursors.setStates(xe),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(s,N,Q,Ge,Je)}},{key:"setCursorColumnSelectData",value:function(s){this._columnSelectData=s}},{key:"revealPrimary",value:function(s,N,Q,xe){var Je=this._cursors.getViewPositions();if(Je.length>1){this._emitCursorRevealRange(s,N,null,this._cursors.getViewSelections(),0,Q,xe);return}else{var Ge=Je[0],qt=new Ct.a(Ge.lineNumber,Ge.column,Ge.lineNumber,Ge.column);this._emitCursorRevealRange(s,N,qt,null,0,Q,xe)}}},{key:"_revealPrimaryCursor",value:function(s,N,Q,xe,Je){var Ge=this._cursors.getViewPositions();if(Ge.length>1)this._emitCursorRevealRange(s,N,null,this._cursors.getViewSelections(),Q,xe,Je);else{var qt=Ge[0],fn=new Ct.a(qt.lineNumber,qt.column,qt.lineNumber,qt.column);this._emitCursorRevealRange(s,N,fn,null,Q,xe,Je)}}},{key:"_emitCursorRevealRange",value:function(s,N,Q,xe,Je,Ge,qt){s.emitViewEvent(new Ha(N,Q,xe,Je,Ge,qt))}},{key:"saveState",value:function(){for(var s=[],N=this._cursors.getSelections(),Q=0,xe=N.length;Q<xe;Q++){var Je=N[Q];s.push({inSelectionMode:!Je.isEmpty(),selectionStart:{lineNumber:Je.selectionStartLineNumber,column:Je.selectionStartColumn},position:{lineNumber:Je.positionLineNumber,column:Je.positionColumn}})}return s}},{key:"restoreState",value:function(s,N){for(var Q=[],xe=0,Je=N.length;xe<Je;xe++){var Ge=N[xe],qt=1,fn=1;Ge.position&&Ge.position.lineNumber&&(qt=Ge.position.lineNumber),Ge.position&&Ge.position.column&&(fn=Ge.position.column);var Wn=qt,Yt=fn;Ge.selectionStart&&Ge.selectionStart.lineNumber&&(Wn=Ge.selectionStart.lineNumber),Ge.selectionStart&&Ge.selectionStart.column&&(Yt=Ge.selectionStart.column),Q.push({selectionStartLineNumber:Wn,selectionStartColumn:Yt,positionLineNumber:qt,positionColumn:fn})}this.setStates(s,"restoreState",0,Bt.d.fromModelSelections(Q)),this.revealPrimary(s,"restoreState",!0,1)}},{key:"onModelContentChanged",value:function(s,N){if(this._knownModelVersionId=N.versionId,!this._isHandling){var Q=N.containsEvent(1);if(this._prevEditOperationType=0,Q)this._cursors.dispose(),this._cursors=new Ar(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(s,"model",1,null,!1);else if(this._hasFocus&&N.resultingSelection&&N.resultingSelection.length>0){var xe=Bt.d.fromModelSelections(N.resultingSelection);this.setStates(s,"modelChange",N.isUndoing?5:N.isRedoing?6:2,xe)&&this._revealPrimaryCursor(s,"modelChange",0,!0,0)}else{var Je=this._cursors.readSelectionFromMarkers();this.setStates(s,"modelChange",2,Bt.d.fromModelSelections(Je))}}}},{key:"getSelection",value:function(){return this._cursors.getPrimaryCursor().modelState.selection}},{key:"getTopMostViewPosition",value:function(){return this._cursors.getTopMostViewPosition()}},{key:"getBottomMostViewPosition",value:function(){return this._cursors.getBottomMostViewPosition()}},{key:"getCursorColumnSelectData",value:function(){if(this._columnSelectData)return this._columnSelectData;var s=this._cursors.getPrimaryCursor(),N=s.viewState.selectionStart.getStartPosition(),Q=s.viewState.position;return{isReal:!1,fromViewLineNumber:N.lineNumber,fromViewVisualColumn:Bt.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,N),toViewLineNumber:Q.lineNumber,toViewVisualColumn:Bt.a.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,Q)}}},{key:"getSelections",value:function(){return this._cursors.getSelections()}},{key:"setSelections",value:function(s,N,Q,xe){this.setStates(s,N,xe,Bt.d.fromModelSelections(Q))}},{key:"getPrevEditOperationType",value:function(){return this._prevEditOperationType}},{key:"setPrevEditOperationType",value:function(s){this._prevEditOperationType=s}},{key:"_pushAutoClosedAction",value:function(s,N){for(var Q=[],xe=[],Je=0,Ge=s.length;Je<Ge;Je++)Q.push({range:s[Je],options:{inlineClassName:"auto-closed-character",stickiness:1}}),xe.push({range:N[Je],options:{stickiness:1}});var qt=this._model.deltaDecorations([],Q),fn=this._model.deltaDecorations([],xe);this._autoClosedActions.push(new Ei(this._model,qt,fn))}},{key:"_executeEditOperation",value:function(s){if(!!s){s.shouldPushStackElementBefore&&this._model.pushStackElement();var N=or.executeCommands(this._model,this._cursors.getSelections(),s.commands);if(N){this._interpretCommandResult(N);for(var Q=[],xe=[],Je=0;Je<s.commands.length;Je++){var Ge=s.commands[Je];Ge instanceof Wi.b&&Ge.enclosingRange&&Ge.closeCharacterRange&&(Q.push(Ge.closeCharacterRange),xe.push(Ge.enclosingRange))}Q.length>0&&this._pushAutoClosedAction(Q,xe),this._prevEditOperationType=s.type}s.shouldPushStackElementAfter&&this._model.pushStackElement()}}},{key:"_interpretCommandResult",value:function(s){(!s||s.length===0)&&(s=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(s),this._cursors.normalize()}},{key:"_emitStateChangedIfNecessary",value:function(s,N,Q,xe,Je){var Ge=new jr(this._model,this);if(Ge.equals(xe))return!1;var qt=this._cursors.getSelections(),fn=this._cursors.getViewSelections();if(s.emitViewEvent(new Si(fn,qt)),!xe||xe.cursorState.length!==Ge.cursorState.length||Ge.cursorState.some(function(Yn,hr){return!Yn.modelState.equals(xe.cursorState[hr].modelState)})){var Wn=xe?xe.cursorState.map(function(Yn){return Yn.modelState.selection}):null,Yt=xe?xe.modelVersionId:0;s.emitOutgoingEvent(new ds(Wn,qt,Yt,Ge.modelVersionId,N||"keyboard",Q,Je))}return!0}},{key:"_findAutoClosingPairs",value:function(s){if(!s.length)return null;for(var N=[],Q=0,xe=s.length;Q<xe;Q++){var Je=s[Q];if(!Je.text||Je.text.indexOf(`
- `)>=0)return null;var Ge=Je.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!Ge)return null;var qt=Ge[1],fn=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(qt);if(!fn||fn.length!==1)return null;var Wn=fn[0].open,Yt=Je.text.length-Ge[2].length-1,Yn=Je.text.lastIndexOf(Wn,Yt-1);if(Yn===-1)return null;N.push([Yn,Yt])}return N}},{key:"executeEdits",value:function(s,N,Q,xe){var Je=this,Ge=null;N==="snippet"&&(Ge=this._findAutoClosingPairs(Q)),Ge&&(Q[0]._isTracked=!0);var qt=[],fn=[],Wn=this._model.pushEditOperations(this.getSelections(),Q,function(Yt){if(Ge)for(var Yn=0,hr=Ge.length;Yn<hr;Yn++){var Wr=Object(u.a)(Ge[Yn],2),$r=Wr[0],wi=Wr[1],fi=Yt[Yn],Vi=fi.range.startLineNumber,da=fi.range.startColumn-1+$r,ia=fi.range.startColumn-1+wi;qt.push(new Ct.a(Vi,ia+1,Vi,ia+2)),fn.push(new Ct.a(Vi,da+1,Vi,ia+2))}var ma=xe(Yt);return ma&&(Je._isHandling=!0),ma});Wn&&(this._isHandling=!1,this.setSelections(s,N,Wn,0)),qt.length>0&&this._pushAutoClosedAction(qt,fn)}},{key:"_executeEdit",value:function(s,N,Q){var xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(!this.context.cursorConfig.readOnly){var Je=new jr(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),s()}catch(Ge){Object(T.e)(Ge)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(N,Q,xe,Je,!1)&&this._revealPrimaryCursor(N,Q,0,!0,0)}}},{key:"setIsDoingComposition",value:function(s){this._isDoingComposition=s}},{key:"getAutoClosedCharacters",value:function(){return Ei.getAllAutoClosedCharacters(this._autoClosedActions)}},{key:"startComposition",value:function(s){this._selectionsWhenCompositionStarted=this.getSelections().slice(0)}},{key:"endComposition",value:function(s,N){var Q=this;this._executeEdit(function(){N==="keyboard"&&(Q._executeEditOperation(Wi.a.compositionEndWithInterceptors(Q._prevEditOperationType,Q.context.cursorConfig,Q._model,Q._selectionsWhenCompositionStarted,Q.getSelections(),Q.getAutoClosedCharacters())),Q._selectionsWhenCompositionStarted=null)},s,N)}},{key:"type",value:function(s,N,Q){var xe=this;this._executeEdit(function(){if(Q==="keyboard")for(var Je=N.length,Ge=0;Ge<Je;){var qt=wn.K(N,Ge),fn=N.substr(Ge,qt);xe._executeEditOperation(Wi.a.typeWithInterceptors(xe._isDoingComposition,xe._prevEditOperationType,xe.context.cursorConfig,xe._model,xe.getSelections(),xe.getAutoClosedCharacters(),fn)),Ge+=qt}else xe._executeEditOperation(Wi.a.typeWithoutInterceptors(xe._prevEditOperationType,xe.context.cursorConfig,xe._model,xe.getSelections(),N))},s,Q)}},{key:"compositionType",value:function(s,N,Q,xe,Je,Ge){var qt=this;if(N.length===0&&Q===0&&xe===0){if(Je!==0){var fn=this.getSelections().map(function(Wn){var Yt=Wn.getPosition();return new d.a(Yt.lineNumber,Yt.column+Je,Yt.lineNumber,Yt.column+Je)});this.setSelections(s,Ge,fn,0)}return}this._executeEdit(function(){qt._executeEditOperation(Wi.a.compositionType(qt._prevEditOperationType,qt.context.cursorConfig,qt._model,qt.getSelections(),N,Q,xe,Je))},s,Ge)}},{key:"paste",value:function(s,N,Q,xe,Je){var Ge=this;this._executeEdit(function(){Ge._executeEditOperation(Wi.a.paste(Ge.context.cursorConfig,Ge._model,Ge.getSelections(),N,Q,xe||[]))},s,Je,4)}},{key:"cut",value:function(s,N){var Q=this;this._executeEdit(function(){Q._executeEditOperation(vi.a.cut(Q.context.cursorConfig,Q._model,Q.getSelections()))},s,N)}},{key:"executeCommand",value:function(s,N,Q){var xe=this;this._executeEdit(function(){xe._cursors.killSecondaryCursors(),xe._executeEditOperation(new Bt.e(0,[N],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},s,Q)}},{key:"executeCommands",value:function(s,N,Q){var xe=this;this._executeEdit(function(){xe._executeEditOperation(new Bt.e(0,N,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},s,Q)}}]),F}(Y.a);gi.MAX_CURSOR_COUNT=1e4;var or=function(){function Lt(){Object(n.a)(this,Lt)}return Object(v.a)(Lt,null,[{key:"executeCommands",value:function(F,U,s){for(var N={model:F,selectionsBefore:U,trackedRanges:[],trackedRangesDirection:[]},Q=this._innerExecuteCommands(N,s),xe=0,Je=N.trackedRanges.length;xe<Je;xe++)N.model._setTrackedRange(N.trackedRanges[xe],null,0);return Q}},{key:"_innerExecuteCommands",value:function(F,U){if(this._arrayIsEmpty(U))return null;var s=this._getEditOperations(F,U);if(s.operations.length===0)return null;var N=s.operations,Q=this._getLoserCursorMap(N);if(Q.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;for(var xe=[],Je=0,Ge=N.length;Je<Ge;Je++)Q.hasOwnProperty(N[Je].identifier.major.toString())||xe.push(N[Je]);s.hadTrackedEditOperation&&xe.length>0&&(xe[0]._isTracked=!0);var qt=F.model.pushEditOperations(F.selectionsBefore,xe,function(Wr){for(var $r=[],wi=0;wi<F.selectionsBefore.length;wi++)$r[wi]=[];var fi=Object(c.a)(Wr),Vi;try{for(fi.s();!(Vi=fi.n()).done;){var da=Vi.value;!da.identifier||$r[da.identifier.major].push(da)}}catch(eo){fi.e(eo)}finally{fi.f()}for(var ia=function(lo,ho){return lo.identifier.minor-ho.identifier.minor},ma=[],Ea=function(lo){$r[lo].length>0?($r[lo].sort(ia),ma[lo]=U[lo].computeCursorState(F.model,{getInverseEditOperations:function(){return $r[lo]},getTrackedSelection:function(Eo){var Uo=parseInt(Eo,10),us=F.model._getTrackedRange(F.trackedRanges[Uo]);return F.trackedRangesDirection[Uo]===0?new d.a(us.startLineNumber,us.startColumn,us.endLineNumber,us.endColumn):new d.a(us.endLineNumber,us.endColumn,us.startLineNumber,us.startColumn)}})):ma[lo]=F.selectionsBefore[lo]},Qa=0;Qa<F.selectionsBefore.length;Qa++)Ea(Qa);return ma});qt||(qt=F.selectionsBefore);var fn=[];for(var Wn in Q)Q.hasOwnProperty(Wn)&&fn.push(parseInt(Wn,10));fn.sort(function(Wr,$r){return $r-Wr});for(var Yt=0,Yn=fn;Yt<Yn.length;Yt++){var hr=Yn[Yt];qt.splice(hr,1)}return qt}},{key:"_arrayIsEmpty",value:function(F){for(var U=0,s=F.length;U<s;U++)if(F[U])return!1;return!0}},{key:"_getEditOperations",value:function(F,U){for(var s=[],N=!1,Q=0,xe=U.length;Q<xe;Q++){var Je=U[Q];if(Je){var Ge=this._getEditOperationsFromCommand(F,Q,Je);s=s.concat(Ge.operations),N=N||Ge.hadTrackedEditOperation}}return{operations:s,hadTrackedEditOperation:N}}},{key:"_getEditOperationsFromCommand",value:function(F,U,s){var N=[],Q=0,xe=function(Yt,Yn){var hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ct.a.isEmpty(Yt)&&Yn===""||N.push({identifier:{major:U,minor:Q++},range:Yt,text:Yn,forceMoveMarkers:hr,isAutoWhitespaceEdit:s.insertsAutoWhitespace})},Je=!1,Ge=function(Yt,Yn,hr){Je=!0,xe(Yt,Yn,hr)},qt=function(Yt,Yn){var hr=d.a.liftSelection(Yt),Wr;if(hr.isEmpty())if(typeof Yn=="boolean")Yn?Wr=2:Wr=3;else{var $r=F.model.getLineMaxColumn(hr.startLineNumber);hr.startColumn===$r?Wr=2:Wr=3}else Wr=1;var wi=F.trackedRanges.length,fi=F.model._setTrackedRange(null,hr,Wr);return F.trackedRanges[wi]=fi,F.trackedRangesDirection[wi]=hr.getDirection(),wi.toString()},fn={addEditOperation:xe,addTrackedEditOperation:Ge,trackSelection:qt};try{s.getEditOperations(F.model,fn)}catch(Wn){return Object(T.e)(Wn),{operations:[],hadTrackedEditOperation:!1}}return{operations:N,hadTrackedEditOperation:Je}}},{key:"_getLoserCursorMap",value:function(F){F=F.slice(0),F.sort(function(Ge,qt){return-Ct.a.compareRangesUsingEnds(Ge.range,qt.range)});for(var U={},s=1;s<F.length;s++){var N=F[s-1],Q=F[s];if(Ct.a.getStartPosition(N.range).isBefore(Ct.a.getEndPosition(Q.range))){var xe=void 0;N.identifier.major>Q.identifier.major?xe=N.identifier.major:xe=Q.identifier.major,U[xe.toString()]=!0;for(var Je=0;Je<F.length;Je++)F[Je].identifier.major===xe&&(F.splice(Je,1),Je<s&&s--,Je--);s>0&&s--}}return U}}]),Lt}(),Ir=e("9Y+e"),Ur=e("iuje"),Li=e("wQH0"),oa=e("TQUy"),Ua=e("QuOb"),$a=function(){function Lt(){Object(n.a)(this,Lt),this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}return Object(v.a)(Lt,[{key:"insert",value:function(F){this._hasPending=!0,this._inserts.push(F)}},{key:"change",value:function(F){this._hasPending=!0,this._changes.push(F)}},{key:"remove",value:function(F){this._hasPending=!0,this._removes.push(F)}},{key:"mustCommit",value:function(){return this._hasPending}},{key:"commit",value:function(F){if(!!this._hasPending){var U=this._inserts,s=this._changes,N=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],F._commitPendingChanges(U,s,N)}}}]),Lt}(),Ba=Object(v.a)(function Lt(He,F,U,s,N){Object(n.a)(this,Lt),this.id=He,this.afterLineNumber=F,this.ordinal=U,this.height=s,this.minWidth=N,this.prefixSum=0}),ro=function(){function Lt(He,F,U,s){Object(n.a)(this,Lt),this._instanceId=wn.P(++Lt.INSTANCE_COUNT),this._pendingChanges=new $a,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=He,this._lineHeight=F,this._paddingTop=U,this._paddingBottom=s}return Object(v.a)(Lt,[{key:"setLineHeight",value:function(F){this._checkPendingChanges(),this._lineHeight=F}},{key:"setPadding",value:function(F,U){this._paddingTop=F,this._paddingBottom=U}},{key:"onFlushed",value:function(F){this._checkPendingChanges(),this._lineCount=F}},{key:"changeWhitespace",value:function(F){var U=this,s=!1;try{var N={insertWhitespace:function(xe,Je,Ge,qt){s=!0,xe=xe|0,Je=Je|0,Ge=Ge|0,qt=qt|0;var fn=U._instanceId+ ++U._lastWhitespaceId;return U._pendingChanges.insert(new Ba(fn,xe,Je,Ge,qt)),fn},changeOneWhitespace:function(xe,Je,Ge){s=!0,Je=Je|0,Ge=Ge|0,U._pendingChanges.change({id:xe,newAfterLineNumber:Je,newHeight:Ge})},removeWhitespace:function(xe){s=!0,U._pendingChanges.remove({id:xe})}};F(N)}finally{this._pendingChanges.commit(this)}return s}},{key:"_commitPendingChanges",value:function(F,U,s){if((F.length>0||s.length>0)&&(this._minWidth=-1),F.length+U.length+s.length<=1){var N=Object(c.a)(F),Q;try{for(N.s();!(Q=N.n()).done;){var xe=Q.value;this._insertWhitespace(xe)}}catch(Qa){N.e(Qa)}finally{N.f()}var Je=Object(c.a)(U),Ge;try{for(Je.s();!(Ge=Je.n()).done;){var qt=Ge.value;this._changeOneWhitespace(qt.id,qt.newAfterLineNumber,qt.newHeight)}}catch(Qa){Je.e(Qa)}finally{Je.f()}var fn=Object(c.a)(s),Wn;try{for(fn.s();!(Wn=fn.n()).done;){var Yt=Wn.value,Yn=this._findWhitespaceIndex(Yt.id);Yn!==-1&&this._removeWhitespace(Yn)}}catch(Qa){fn.e(Qa)}finally{fn.f()}return}var hr=new Set,Wr=Object(c.a)(s),$r;try{for(Wr.s();!($r=Wr.n()).done;){var wi=$r.value;hr.add(wi.id)}}catch(Qa){Wr.e(Qa)}finally{Wr.f()}var fi=new Map,Vi=Object(c.a)(U),da;try{for(Vi.s();!(da=Vi.n()).done;){var ia=da.value;fi.set(ia.id,ia)}}catch(Qa){Vi.e(Qa)}finally{Vi.f()}var ma=function(eo){var lo=[],ho=Object(c.a)(eo),Eo;try{for(ho.s();!(Eo=ho.n()).done;){var Uo=Eo.value;if(!hr.has(Uo.id)){if(fi.has(Uo.id)){var us=fi.get(Uo.id);Uo.afterLineNumber=us.newAfterLineNumber,Uo.height=us.newHeight}lo.push(Uo)}}}catch(ns){ho.e(ns)}finally{ho.f()}return lo},Ea=ma(this._arr).concat(ma(F));Ea.sort(function(Qa,eo){return Qa.afterLineNumber===eo.afterLineNumber?Qa.ordinal-eo.ordinal:Qa.afterLineNumber-eo.afterLineNumber}),this._arr=Ea,this._prefixSumValidIndex=-1}},{key:"_checkPendingChanges",value:function(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}},{key:"_insertWhitespace",value:function(F){var U=Lt.findInsertionIndex(this._arr,F.afterLineNumber,F.ordinal);this._arr.splice(U,0,F),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,U-1)}},{key:"_findWhitespaceIndex",value:function(F){for(var U=this._arr,s=0,N=U.length;s<N;s++)if(U[s].id===F)return s;return-1}},{key:"_changeOneWhitespace",value:function(F,U,s){var N=this._findWhitespaceIndex(F);if(N!==-1&&(this._arr[N].height!==s&&(this._arr[N].height=s,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,N-1)),this._arr[N].afterLineNumber!==U)){var Q=this._arr[N];this._removeWhitespace(N),Q.afterLineNumber=U,this._insertWhitespace(Q)}}},{key:"_removeWhitespace",value:function(F){this._arr.splice(F,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,F-1)}},{key:"onLinesDeleted",value:function(F,U){this._checkPendingChanges(),F=F|0,U=U|0,this._lineCount-=U-F+1;for(var s=0,N=this._arr.length;s<N;s++){var Q=this._arr[s].afterLineNumber;F<=Q&&Q<=U?this._arr[s].afterLineNumber=F-1:Q>U&&(this._arr[s].afterLineNumber-=U-F+1)}}},{key:"onLinesInserted",value:function(F,U){this._checkPendingChanges(),F=F|0,U=U|0,this._lineCount+=U-F+1;for(var s=0,N=this._arr.length;s<N;s++){var Q=this._arr[s].afterLineNumber;F<=Q&&(this._arr[s].afterLineNumber+=U-F+1)}}},{key:"getWhitespacesTotalHeight",value:function(){return this._checkPendingChanges(),this._arr.length===0?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)}},{key:"getWhitespacesAccumulatedHeight",value:function(F){this._checkPendingChanges(),F=F|0;var U=Math.max(0,this._prefixSumValidIndex+1);U===0&&(this._arr[0].prefixSum=this._arr[0].height,U++);for(var s=U;s<=F;s++)this._arr[s].prefixSum=this._arr[s-1].prefixSum+this._arr[s].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,F),this._arr[F].prefixSum}},{key:"getLinesTotalHeight",value:function(){this._checkPendingChanges();var F=this._lineHeight*this._lineCount,U=this.getWhitespacesTotalHeight();return F+U+this._paddingTop+this._paddingBottom}},{key:"getWhitespaceAccumulatedHeightBeforeLineNumber",value:function(F){this._checkPendingChanges(),F=F|0;var U=this._findLastWhitespaceBeforeLineNumber(F);return U===-1?0:this.getWhitespacesAccumulatedHeight(U)}},{key:"_findLastWhitespaceBeforeLineNumber",value:function(F){F=F|0;for(var U=this._arr,s=0,N=U.length-1;s<=N;){var Q=N-s|0,xe=Q/2|0,Je=s+xe|0;if(U[Je].afterLineNumber<F){if(Je+1>=U.length||U[Je+1].afterLineNumber>=F)return Je;s=Je+1|0}else N=Je-1|0}return-1}},{key:"_findFirstWhitespaceAfterLineNumber",value:function(F){F=F|0;var U=this._findLastWhitespaceBeforeLineNumber(F),s=U+1;return s<this._arr.length?s:-1}},{key:"getFirstWhitespaceIndexAfterLineNumber",value:function(F){return this._checkPendingChanges(),F=F|0,this._findFirstWhitespaceAfterLineNumber(F)}},{key:"getVerticalOffsetForLineNumber",value:function(F){this._checkPendingChanges(),F=F|0;var U;F>1?U=this._lineHeight*(F-1):U=0;var s=this.getWhitespaceAccumulatedHeightBeforeLineNumber(F);return U+s+this._paddingTop}},{key:"getWhitespaceMinWidth",value:function(){if(this._checkPendingChanges(),this._minWidth===-1){for(var F=0,U=0,s=this._arr.length;U<s;U++)F=Math.max(F,this._arr[U].minWidth);this._minWidth=F}return this._minWidth}},{key:"isAfterLines",value:function(F){this._checkPendingChanges();var U=this.getLinesTotalHeight();return F>U}},{key:"isInTopPadding",value:function(F){return this._paddingTop===0?!1:(this._checkPendingChanges(),F<this._paddingTop)}},{key:"isInBottomPadding",value:function(F){if(this._paddingBottom===0)return!1;this._checkPendingChanges();var U=this.getLinesTotalHeight();return F>=U-this._paddingBottom}},{key:"getLineNumberAtOrAfterVerticalOffset",value:function(F){if(this._checkPendingChanges(),F=F|0,F<0)return 1;for(var U=this._lineCount|0,s=this._lineHeight,N=1,Q=U;N<Q;){var xe=(N+Q)/2|0,Je=this.getVerticalOffsetForLineNumber(xe)|0;if(F>=Je+s)N=xe+1;else{if(F>=Je)return xe;Q=xe}}return N>U?U:N}},{key:"getLinesViewportData",value:function(F,U){this._checkPendingChanges(),F=F|0,U=U|0;var s=this._lineHeight,N=this.getLineNumberAtOrAfterVerticalOffset(F)|0,Q=this.getVerticalOffsetForLineNumber(N)|0,xe=this._lineCount|0,Je=this.getFirstWhitespaceIndexAfterLineNumber(N)|0,Ge=this.getWhitespacesCount()|0,qt,fn;Je===-1?(Je=Ge,fn=xe+1,qt=0):(fn=this.getAfterLineNumberForWhitespaceIndex(Je)|0,qt=this.getHeightForWhitespaceIndex(Je)|0);var Wn=Q,Yt=Wn,Yn=5e5,hr=0;Q>=Yn&&(hr=Math.floor(Q/Yn)*Yn,hr=Math.floor(hr/s)*s,Yt-=hr);for(var Wr=[],$r=F+(U-F)/2,wi=-1,fi=N;fi<=xe;fi++){if(wi===-1){var Vi=Wn,da=Wn+s;(Vi<=$r&&$r<da||Vi>$r)&&(wi=fi)}for(Wn+=s,Wr[fi-N]=Yt,Yt+=s;fn===fi;)Yt+=qt,Wn+=qt,Je++,Je>=Ge?fn=xe+1:(fn=this.getAfterLineNumberForWhitespaceIndex(Je)|0,qt=this.getHeightForWhitespaceIndex(Je)|0);if(Wn>=U){xe=fi;break}}wi===-1&&(wi=xe);var ia=this.getVerticalOffsetForLineNumber(xe)|0,ma=N,Ea=xe;return ma<Ea&&Q<F&&ma++,ma<Ea&&ia+s>U&&Ea--,{bigNumbersDelta:hr,startLineNumber:N,endLineNumber:xe,relativeVerticalOffset:Wr,centeredLineNumber:wi,completelyVisibleStartLineNumber:ma,completelyVisibleEndLineNumber:Ea}}},{key:"getVerticalOffsetForWhitespaceIndex",value:function(F){this._checkPendingChanges(),F=F|0;var U=this.getAfterLineNumberForWhitespaceIndex(F),s;U>=1?s=this._lineHeight*U:s=0;var N;return F>0?N=this.getWhitespacesAccumulatedHeight(F-1):N=0,s+N+this._paddingTop}},{key:"getWhitespaceIndexAtOrAfterVerticallOffset",value:function(F){this._checkPendingChanges(),F=F|0;var U=0,s=this.getWhitespacesCount()-1;if(s<0)return-1;var N=this.getVerticalOffsetForWhitespaceIndex(s),Q=this.getHeightForWhitespaceIndex(s);if(F>=N+Q)return-1;for(;U<s;){var xe=Math.floor((U+s)/2),Je=this.getVerticalOffsetForWhitespaceIndex(xe),Ge=this.getHeightForWhitespaceIndex(xe);if(F>=Je+Ge)U=xe+1;else{if(F>=Je)return xe;s=xe}}return U}},{key:"getWhitespaceAtVerticalOffset",value:function(F){this._checkPendingChanges(),F=F|0;var U=this.getWhitespaceIndexAtOrAfterVerticallOffset(F);if(U<0||U>=this.getWhitespacesCount())return null;var s=this.getVerticalOffsetForWhitespaceIndex(U);if(s>F)return null;var N=this.getHeightForWhitespaceIndex(U),Q=this.getIdForWhitespaceIndex(U),xe=this.getAfterLineNumberForWhitespaceIndex(U);return{id:Q,afterLineNumber:xe,verticalOffset:s,height:N}}},{key:"getWhitespaceViewportData",value:function(F,U){this._checkPendingChanges(),F=F|0,U=U|0;var s=this.getWhitespaceIndexAtOrAfterVerticallOffset(F),N=this.getWhitespacesCount()-1;if(s<0)return[];for(var Q=[],xe=s;xe<=N;xe++){var Je=this.getVerticalOffsetForWhitespaceIndex(xe),Ge=this.getHeightForWhitespaceIndex(xe);if(Je>=U)break;Q.push({id:this.getIdForWhitespaceIndex(xe),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(xe),verticalOffset:Je,height:Ge})}return Q}},{key:"getWhitespaces",value:function(){return this._checkPendingChanges(),this._arr.slice(0)}},{key:"getWhitespacesCount",value:function(){return this._checkPendingChanges(),this._arr.length}},{key:"getIdForWhitespaceIndex",value:function(F){return this._checkPendingChanges(),F=F|0,this._arr[F].id}},{key:"getAfterLineNumberForWhitespaceIndex",value:function(F){return this._checkPendingChanges(),F=F|0,this._arr[F].afterLineNumber}},{key:"getHeightForWhitespaceIndex",value:function(F){return this._checkPendingChanges(),F=F|0,this._arr[F].height}}],[{key:"findInsertionIndex",value:function(F,U,s){for(var N=0,Q=F.length;N<Q;){var xe=N+Q>>>1;U===F[xe].afterLineNumber?s<F[xe].ordinal?Q=xe:N=xe+1:U<F[xe].afterLineNumber?Q=xe:N=xe+1}return N}}]),Lt}();ro.INSTANCE_COUNT=0;var mo=125,oo=function(){function Lt(He,F,U,s){Object(n.a)(this,Lt),He=He|0,F=F|0,U=U|0,s=s|0,He<0&&(He=0),F<0&&(F=0),U<0&&(U=0),s<0&&(s=0),this.width=He,this.contentWidth=F,this.scrollWidth=Math.max(He,F),this.height=U,this.contentHeight=s,this.scrollHeight=Math.max(U,s)}return Object(v.a)(Lt,[{key:"equals",value:function(F){return this.width===F.width&&this.contentWidth===F.contentWidth&&this.height===F.height&&this.contentHeight===F.contentHeight}}]),Lt}(),Oo=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s){var N;return Object(n.a)(this,F),N=He.call(this),N._onDidContentSizeChange=N._register(new I.a),N.onDidContentSizeChange=N._onDidContentSizeChange.event,N._dimensions=new oo(0,0,0,0),N._scrollable=N._register(new Ua.a(U,s)),N.onDidScroll=N._scrollable.onScroll,N}return Object(v.a)(F,[{key:"getScrollable",value:function(){return this._scrollable}},{key:"setSmoothScrollDuration",value:function(s){this._scrollable.setSmoothScrollDuration(s)}},{key:"validateScrollPosition",value:function(s){return this._scrollable.validateScrollPosition(s)}},{key:"getScrollDimensions",value:function(){return this._dimensions}},{key:"setScrollDimensions",value:function(s){if(!this._dimensions.equals(s)){var N=this._dimensions;this._dimensions=s,this._scrollable.setScrollDimensions({width:s.width,scrollWidth:s.scrollWidth,height:s.height,scrollHeight:s.scrollHeight},!0);var Q=N.contentWidth!==s.contentWidth,xe=N.contentHeight!==s.contentHeight;(Q||xe)&&this._onDidContentSizeChange.fire(new Ca(N.contentWidth,N.contentHeight,s.contentWidth,s.contentHeight))}}},{key:"getFutureScrollPosition",value:function(){return this._scrollable.getFutureScrollPosition()}},{key:"getCurrentScrollPosition",value:function(){return this._scrollable.getCurrentScrollPosition()}},{key:"setScrollPositionNow",value:function(s){this._scrollable.setScrollPositionNow(s)}},{key:"setScrollPositionSmooth",value:function(s){this._scrollable.setScrollPositionSmooth(s)}}]),F}(Y.a),Yo=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N){var Q;Object(n.a)(this,F),Q=He.call(this),Q._configuration=U;var xe=Q._configuration.options,Je=xe.get(127),Ge=xe.get(71);return Q._linesLayout=new ro(s,xe.get(55),Ge.top,Ge.bottom),Q._scrollable=Q._register(new Oo(0,N)),Q._configureSmoothScrollDuration(),Q._scrollable.setScrollDimensions(new oo(Je.contentWidth,0,Je.height,0)),Q.onDidScroll=Q._scrollable.onDidScroll,Q.onDidContentSizeChange=Q._scrollable.onDidContentSizeChange,Q._updateHeight(),Q}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"getScrollable",value:function(){return this._scrollable.getScrollable()}},{key:"onHeightMaybeChanged",value:function(){this._updateHeight()}},{key:"_configureSmoothScrollDuration",value:function(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(100)?mo:0)}},{key:"onConfigurationChanged",value:function(s){var N=this._configuration.options;if(s.hasChanged(55)&&this._linesLayout.setLineHeight(N.get(55)),s.hasChanged(71)){var Q=N.get(71);this._linesLayout.setPadding(Q.top,Q.bottom)}if(s.hasChanged(127)){var xe=N.get(127),Je=xe.contentWidth,Ge=xe.height,qt=this._scrollable.getScrollDimensions(),fn=qt.contentWidth;this._scrollable.setScrollDimensions(new oo(Je,qt.contentWidth,Ge,this._getContentHeight(Je,Ge,fn)))}else this._updateHeight();s.hasChanged(100)&&this._configureSmoothScrollDuration()}},{key:"onFlushed",value:function(s){this._linesLayout.onFlushed(s)}},{key:"onLinesDeleted",value:function(s,N){this._linesLayout.onLinesDeleted(s,N)}},{key:"onLinesInserted",value:function(s,N){this._linesLayout.onLinesInserted(s,N)}},{key:"_getHorizontalScrollbarHeight",value:function(s,N){var Q=this._configuration.options,xe=Q.get(89);return xe.horizontal===2||s>=N?0:xe.horizontalScrollbarSize}},{key:"_getContentHeight",value:function(s,N,Q){var xe=this._configuration.options,Je=this._linesLayout.getLinesTotalHeight();return xe.get(91)?Je+=Math.max(0,N-xe.get(55)-xe.get(71).bottom):Je+=this._getHorizontalScrollbarHeight(s,Q),Je}},{key:"_updateHeight",value:function(){var s=this._scrollable.getScrollDimensions(),N=s.width,Q=s.height,xe=s.contentWidth;this._scrollable.setScrollDimensions(new oo(N,s.contentWidth,Q,this._getContentHeight(N,Q,xe)))}},{key:"getCurrentViewport",value:function(){var s=this._scrollable.getScrollDimensions(),N=this._scrollable.getCurrentScrollPosition();return new ai.g(N.scrollTop,N.scrollLeft,s.width,s.height)}},{key:"getFutureViewport",value:function(){var s=this._scrollable.getScrollDimensions(),N=this._scrollable.getFutureScrollPosition();return new ai.g(N.scrollTop,N.scrollLeft,s.width,s.height)}},{key:"_computeContentWidth",value:function(s){var N=this._configuration.options,Q=N.get(128),xe=N.get(40);if(Q.isViewportWrapping){var Je=N.get(127),Ge=N.get(61);return s>Je.contentWidth+xe.typicalHalfwidthCharacterWidth&&Ge.enabled&&Ge.side==="right"?s+Je.verticalScrollbarWidth:s}else{var qt=N.get(90)*xe.typicalHalfwidthCharacterWidth,fn=this._linesLayout.getWhitespaceMinWidth();return Math.max(s+qt,fn)}}},{key:"setMaxLineWidth",value:function(s){var N=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new oo(N.width,this._computeContentWidth(s),N.height,N.contentHeight)),this._updateHeight()}},{key:"saveState",value:function(){var s=this._scrollable.getFutureScrollPosition(),N=s.scrollTop,Q=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(N),xe=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(Q);return{scrollTop:N,scrollTopWithoutViewZones:N-xe,scrollLeft:s.scrollLeft}}},{key:"changeWhitespace",value:function(s){var N=this._linesLayout.changeWhitespace(s);return N&&this.onHeightMaybeChanged(),N}},{key:"getVerticalOffsetForLineNumber",value:function(s){return this._linesLayout.getVerticalOffsetForLineNumber(s)}},{key:"isAfterLines",value:function(s){return this._linesLayout.isAfterLines(s)}},{key:"isInTopPadding",value:function(s){return this._linesLayout.isInTopPadding(s)}},{key:"isInBottomPadding",value:function(s){return this._linesLayout.isInBottomPadding(s)}},{key:"getLineNumberAtVerticalOffset",value:function(s){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(s)}},{key:"getWhitespaceAtVerticalOffset",value:function(s){return this._linesLayout.getWhitespaceAtVerticalOffset(s)}},{key:"getLinesViewportData",value:function(){var s=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(s.top,s.top+s.height)}},{key:"getLinesViewportDataAtScrollTop",value:function(s){var N=this._scrollable.getScrollDimensions();return s+N.height>N.scrollHeight&&(s=N.scrollHeight-N.height),s<0&&(s=0),this._linesLayout.getLinesViewportData(s,s+N.height)}},{key:"getWhitespaceViewportData",value:function(){var s=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(s.top,s.top+s.height)}},{key:"getWhitespaces",value:function(){return this._linesLayout.getWhitespaces()}},{key:"getContentWidth",value:function(){var s=this._scrollable.getScrollDimensions();return s.contentWidth}},{key:"getScrollWidth",value:function(){var s=this._scrollable.getScrollDimensions();return s.scrollWidth}},{key:"getContentHeight",value:function(){var s=this._scrollable.getScrollDimensions();return s.contentHeight}},{key:"getScrollHeight",value:function(){var s=this._scrollable.getScrollDimensions();return s.scrollHeight}},{key:"getCurrentScrollLeft",value:function(){var s=this._scrollable.getCurrentScrollPosition();return s.scrollLeft}},{key:"getCurrentScrollTop",value:function(){var s=this._scrollable.getCurrentScrollPosition();return s.scrollTop}},{key:"validateScrollPosition",value:function(s){return this._scrollable.validateScrollPosition(s)}},{key:"setScrollPosition",value:function(s,N){N===1?this._scrollable.setScrollPositionNow(s):this._scrollable.setScrollPositionSmooth(s)}},{key:"deltaScrollNow",value:function(s,N){var Q=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:Q.scrollLeft+s,scrollTop:Q.scrollTop+N})}}]),F}(Y.a),ts=e("tX9W"),Os=e("LeU+"),Rs=function(){function Lt(He){Object(n.a)(this,Lt),this._lines=He}return Object(v.a)(Lt,[{key:"convertViewPositionToModelPosition",value:function(F){return this._lines.convertViewPositionToModelPosition(F.lineNumber,F.column)}},{key:"convertViewRangeToModelRange",value:function(F){return this._lines.convertViewRangeToModelRange(F)}},{key:"validateViewPosition",value:function(F,U){return this._lines.validateViewPosition(F.lineNumber,F.column,U)}},{key:"validateViewRange",value:function(F,U){return this._lines.validateViewRange(F,U)}},{key:"convertModelPositionToViewPosition",value:function(F){return this._lines.convertModelPositionToViewPosition(F.lineNumber,F.column)}},{key:"convertModelRangeToViewRange",value:function(F){return this._lines.convertModelRangeToViewRange(F)}},{key:"modelPositionIsVisible",value:function(F){return this._lines.modelPositionIsVisible(F.lineNumber,F.column)}},{key:"getModelLineViewLineCount",value:function(F){return this._lines.getModelLineViewLineCount(F)}}]),Lt}(),Mo=function(){function Lt(He){Object(n.a)(this,Lt),this._counts=He,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}return Object(v.a)(Lt,[{key:"_invalidate",value:function(F){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,F-1)}},{key:"_ensureValid",value:function(){if(!this._isValid){for(var F=this._validEndIndex+1,U=this._counts.length;F<U;F++){var s=this._counts[F],N=F>0?this._modelToView[F-1]:0;this._modelToView[F]=N+s;for(var Q=0;Q<s;Q++)this._viewToModel[N+Q]=F}this._modelToView.length=this._counts.length,this._viewToModel.length=this._modelToView[this._modelToView.length-1],this._isValid=!0,this._validEndIndex=this._counts.length-1}}},{key:"changeValue",value:function(F,U){this._counts[F]!==U&&(this._counts[F]=U,this._invalidate(F))}},{key:"removeValues",value:function(F,U){this._counts.splice(F,U),this._invalidate(F)}},{key:"insertValues",value:function(F,U){this._counts=na.a(this._counts,F,U),this._invalidate(F)}},{key:"getTotalValue",value:function(){return this._ensureValid(),this._viewToModel.length}},{key:"getAccumulatedValue",value:function(F){return this._ensureValid(),this._modelToView[F]}},{key:"getIndexOf",value:function(F){this._ensureValid();var U=this._viewToModel[F],s=U>0?this._modelToView[U-1]:0;return new Os.b(U,F-s)}}]),Lt}(),Bs=function(){function Lt(He,F,U,s,N,Q,xe,Je){Object(n.a)(this,Lt),this.model=He,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=F,this._monospaceLineBreaksComputerFactory=U,this.fontInfo=s,this.tabSize=N,this.wrappingStrategy=Q,this.wrappingColumn=xe,this.wrappingIndent=Je,this._constructLines(!0,null)}return Object(v.a)(Lt,[{key:"dispose",value:function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])}},{key:"createCoordinatesConverter",value:function(){return new Rs(this)}},{key:"_constructLines",value:function(F,U){var s=this;this.lines=[],F&&(this.hiddenAreasIds=[]);for(var N=this.model.getLinesContent(),Q=N.length,xe=this.createLineBreaksComputer(),Je=0;Je<Q;Je++)xe.addRequest(N[Je],U?U[Je]:null);for(var Ge=xe.finalize(),qt=[],fn=this.hiddenAreasIds.map(function(Vi){return s.model.getDecorationRange(Vi)}).sort(Ct.a.compareRangesUsingStarts),Wn=1,Yt=0,Yn=-1,hr=Yn+1<fn.length?Yt+1:Q+2,Wr=0;Wr<Q;Wr++){var $r=Wr+1;$r===hr&&(Yn++,Wn=fn[Yn].startLineNumber,Yt=fn[Yn].endLineNumber,hr=Yn+1<fn.length?Yt+1:Q+2);var wi=$r>=Wn&&$r<=Yt,fi=Ps(Ge[Wr],!wi);qt[Wr]=fi.getViewLineCount(),this.lines[Wr]=fi}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new Mo(qt)}},{key:"getHiddenAreas",value:function(){var F=this;return this.hiddenAreasIds.map(function(U){return F.model.getDecorationRange(U)})}},{key:"_reduceRanges",value:function(F){var U=this;if(F.length===0)return[];for(var s=F.map(function(fn){return U.model.validateRange(fn)}).sort(Ct.a.compareRangesUsingStarts),N=[],Q=s[0].startLineNumber,xe=s[0].endLineNumber,Je=1,Ge=s.length;Je<Ge;Je++){var qt=s[Je];qt.startLineNumber>xe+1?(N.push(new Ct.a(Q,1,xe,1)),Q=qt.startLineNumber,xe=qt.endLineNumber):qt.endLineNumber>xe&&(xe=qt.endLineNumber)}return N.push(new Ct.a(Q,1,xe,1)),N}},{key:"setHiddenAreas",value:function(F){var U=this,s=this._reduceRanges(F),N=this.hiddenAreasIds.map(function(ia){return U.model.getDecorationRange(ia)}).sort(Ct.a.compareRangesUsingStarts);if(s.length===N.length){for(var Q=!1,xe=0;xe<s.length;xe++)if(!s[xe].equalsRange(N[xe])){Q=!0;break}if(!Q)return!1}var Je=[],Ge=Object(c.a)(s),qt;try{for(Ge.s();!(qt=Ge.n()).done;){var fn=qt.value;Je.push({range:fn,options:ts.a.EMPTY})}}catch(ia){Ge.e(ia)}finally{Ge.f()}this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,Je);for(var Wn=s,Yt=1,Yn=0,hr=-1,Wr=hr+1<Wn.length?Yn+1:this.lines.length+2,$r=!1,wi=0;wi<this.lines.length;wi++){var fi=wi+1;fi===Wr&&(hr++,Yt=Wn[hr].startLineNumber,Yn=Wn[hr].endLineNumber,Wr=hr+1<Wn.length?Yn+1:this.lines.length+2);var Vi=!1;if(fi>=Yt&&fi<=Yn?this.lines[wi].isVisible()&&(this.lines[wi]=this.lines[wi].setVisible(!1),Vi=!0):($r=!0,this.lines[wi].isVisible()||(this.lines[wi]=this.lines[wi].setVisible(!0),Vi=!0)),Vi){var da=this.lines[wi].getViewLineCount();this.prefixSumComputer.changeValue(wi,da)}}return $r||this.setHiddenAreas([]),!0}},{key:"modelPositionIsVisible",value:function(F,U){return F<1||F>this.lines.length?!1:this.lines[F-1].isVisible()}},{key:"getModelLineViewLineCount",value:function(F){return F<1||F>this.lines.length?1:this.lines[F-1].getViewLineCount()}},{key:"setTabSize",value:function(F){return this.tabSize===F?!1:(this.tabSize=F,this._constructLines(!1,null),!0)}},{key:"setWrappingSettings",value:function(F,U,s,N){var Q=this.fontInfo.equals(F),xe=this.wrappingStrategy===U,Je=this.wrappingColumn===s,Ge=this.wrappingIndent===N;if(Q&&xe&&Je&&Ge)return!1;var qt=Q&&xe&&!Je&&Ge;this.fontInfo=F,this.wrappingStrategy=U,this.wrappingColumn=s,this.wrappingIndent=N;var fn=null;if(qt){fn=[];for(var Wn=0,Yt=this.lines.length;Wn<Yt;Wn++)fn[Wn]=this.lines[Wn].getLineBreakData()}return this._constructLines(!1,fn),!0}},{key:"createLineBreaksComputer",value:function(){var F=this.wrappingStrategy==="advanced"?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory;return F.createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)}},{key:"onModelFlushed",value:function(){this._constructLines(!0,null)}},{key:"onModelLinesDeleted",value:function(F,U,s){if(F<=this._validModelVersionId)return null;var N=U===1?1:this.prefixSumComputer.getAccumulatedValue(U-2)+1,Q=this.prefixSumComputer.getAccumulatedValue(s-1);return this.lines.splice(U-1,s-U+1),this.prefixSumComputer.removeValues(U-1,s-U+1),new Ri(N,Q)}},{key:"onModelLinesInserted",value:function(F,U,s,N){if(F<=this._validModelVersionId)return null;for(var Q=U>2&&!this.lines[U-2].isVisible(),xe=U===1?1:this.prefixSumComputer.getAccumulatedValue(U-2)+1,Je=0,Ge=[],qt=[],fn=0,Wn=N.length;fn<Wn;fn++){var Yt=Ps(N[fn],!Q);Ge.push(Yt);var Yn=Yt.getViewLineCount();Je+=Yn,qt[fn]=Yn}return this.lines=this.lines.slice(0,U-1).concat(Ge).concat(this.lines.slice(U-1)),this.prefixSumComputer.insertValues(U-1,qt),new Oa(xe,xe+Je-1)}},{key:"onModelLineChanged",value:function(F,U,s){if(F<=this._validModelVersionId)return[!1,null,null,null];var N=U-1,Q=this.lines[N].getViewLineCount(),xe=this.lines[N].isVisible(),Je=Ps(s,xe);this.lines[N]=Je;var Ge=this.lines[N].getViewLineCount(),qt=!1,fn=0,Wn=-1,Yt=0,Yn=-1,hr=0,Wr=-1;Q>Ge?(fn=U===1?1:this.prefixSumComputer.getAccumulatedValue(U-2)+1,Wn=fn+Ge-1,hr=Wn+1,Wr=hr+(Q-Ge)-1,qt=!0):Q<Ge?(fn=U===1?1:this.prefixSumComputer.getAccumulatedValue(U-2)+1,Wn=fn+Q-1,Yt=Wn+1,Yn=Yt+(Ge-Q)-1,qt=!0):(fn=U===1?1:this.prefixSumComputer.getAccumulatedValue(U-2)+1,Wn=fn+Ge-1),this.prefixSumComputer.changeValue(N,Ge);var $r=fn<=Wn?new Wa(fn,Wn):null,wi=Yt<=Yn?new Oa(Yt,Yn):null,fi=hr<=Wr?new Ri(hr,Wr):null;return[qt,$r,wi,fi]}},{key:"acceptVersionId",value:function(F){this._validModelVersionId=F,this.lines.length===1&&!this.lines[0].isVisible()&&this.setHiddenAreas([])}},{key:"getViewLineCount",value:function(){return this.prefixSumComputer.getTotalValue()}},{key:"_toValidViewLineNumber",value:function(F){if(F<1)return 1;var U=this.getViewLineCount();return F>U?U:F|0}},{key:"getActiveIndentGuide",value:function(F,U,s){F=this._toValidViewLineNumber(F),U=this._toValidViewLineNumber(U),s=this._toValidViewLineNumber(s);var N=this.convertViewPositionToModelPosition(F,this.getViewLineMinColumn(F)),Q=this.convertViewPositionToModelPosition(U,this.getViewLineMinColumn(U)),xe=this.convertViewPositionToModelPosition(s,this.getViewLineMinColumn(s)),Je=this.model.getActiveIndentGuide(N.lineNumber,Q.lineNumber,xe.lineNumber),Ge=this.convertModelPositionToViewPosition(Je.startLineNumber,1),qt=this.convertModelPositionToViewPosition(Je.endLineNumber,this.model.getLineMaxColumn(Je.endLineNumber));return{startLineNumber:Ge.lineNumber,endLineNumber:qt.lineNumber,indent:Je.indent}}},{key:"getViewLinesIndentGuides",value:function(F,U){F=this._toValidViewLineNumber(F),U=this._toValidViewLineNumber(U);for(var s=this.convertViewPositionToModelPosition(F,this.getViewLineMinColumn(F)),N=this.convertViewPositionToModelPosition(U,this.getViewLineMaxColumn(U)),Q=[],xe=[],Je=[],Ge=s.lineNumber-1,qt=N.lineNumber-1,fn=null,Wn=Ge;Wn<=qt;Wn++){var Yt=this.lines[Wn];if(Yt.isVisible()){var Yn=Yt.getViewLineNumberOfModelPosition(0,Wn===Ge?s.column:1),hr=Yt.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(Wn+1)),Wr=hr-Yn+1,$r=0;Wr>1&&Yt.getViewLineMinColumn(this.model,Wn+1,hr)===1&&($r=Yn===0?1:2),xe.push(Wr),Je.push($r),fn===null&&(fn=new bt.a(Wn+1,0))}else fn!==null&&(Q=Q.concat(this.model.getLinesIndentGuides(fn.lineNumber,Wn)),fn=null)}fn!==null&&(Q=Q.concat(this.model.getLinesIndentGuides(fn.lineNumber,N.lineNumber)),fn=null);for(var wi=U-F+1,fi=new Array(wi),Vi=0,da=0,ia=Q.length;da<ia;da++){var ma=Q[da],Ea=Math.min(wi-Vi,xe[da]),Qa=Je[da],eo=void 0;Qa===2?eo=0:Qa===1?eo=1:eo=Ea;for(var lo=0;lo<Ea;lo++)lo===eo&&(ma=0),fi[Vi++]=ma}return fi}},{key:"getViewLineContent",value:function(F){F=this._toValidViewLineNumber(F);var U=this.prefixSumComputer.getIndexOf(F-1),s=U.index,N=U.remainder;return this.lines[s].getViewLineContent(this.model,s+1,N)}},{key:"getViewLineLength",value:function(F){F=this._toValidViewLineNumber(F);var U=this.prefixSumComputer.getIndexOf(F-1),s=U.index,N=U.remainder;return this.lines[s].getViewLineLength(this.model,s+1,N)}},{key:"getViewLineMinColumn",value:function(F){F=this._toValidViewLineNumber(F);var U=this.prefixSumComputer.getIndexOf(F-1),s=U.index,N=U.remainder;return this.lines[s].getViewLineMinColumn(this.model,s+1,N)}},{key:"getViewLineMaxColumn",value:function(F){F=this._toValidViewLineNumber(F);var U=this.prefixSumComputer.getIndexOf(F-1),s=U.index,N=U.remainder;return this.lines[s].getViewLineMaxColumn(this.model,s+1,N)}},{key:"getViewLineData",value:function(F){F=this._toValidViewLineNumber(F);var U=this.prefixSumComputer.getIndexOf(F-1),s=U.index,N=U.remainder;return this.lines[s].getViewLineData(this.model,s+1,N)}},{key:"getViewLinesData",value:function(F,U,s){F=this._toValidViewLineNumber(F),U=this._toValidViewLineNumber(U);for(var N=this.prefixSumComputer.getIndexOf(F-1),Q=F,xe=N.index,Je=N.remainder,Ge=[],qt=xe,fn=this.model.getLineCount();qt<fn;qt++){var Wn=this.lines[qt];if(!!Wn.isVisible()){var Yt=qt===xe?Je:0,Yn=Wn.getViewLineCount()-Yt,hr=!1;Q+Yn>U&&(hr=!0,Yn=U-Q+1);var Wr=Yt+Yn;if(Wn.getViewLinesData(this.model,qt+1,Yt,Wr,Q-F,s,Ge),Q+=Yn,hr)break}}return Ge}},{key:"validateViewPosition",value:function(F,U,s){F=this._toValidViewLineNumber(F);var N=this.prefixSumComputer.getIndexOf(F-1),Q=N.index,xe=N.remainder,Je=this.lines[Q],Ge=Je.getViewLineMinColumn(this.model,Q+1,xe),qt=Je.getViewLineMaxColumn(this.model,Q+1,xe);U<Ge&&(U=Ge),U>qt&&(U=qt);var fn=Je.getModelColumnOfViewPosition(xe,U),Wn=this.model.validatePosition(new bt.a(Q+1,fn));return Wn.equals(s)?new bt.a(F,U):this.convertModelPositionToViewPosition(s.lineNumber,s.column)}},{key:"validateViewRange",value:function(F,U){var s=this.validateViewPosition(F.startLineNumber,F.startColumn,U.getStartPosition()),N=this.validateViewPosition(F.endLineNumber,F.endColumn,U.getEndPosition());return new Ct.a(s.lineNumber,s.column,N.lineNumber,N.column)}},{key:"convertViewPositionToModelPosition",value:function(F,U){F=this._toValidViewLineNumber(F);var s=this.prefixSumComputer.getIndexOf(F-1),N=s.index,Q=s.remainder,xe=this.lines[N].getModelColumnOfViewPosition(Q,U);return this.model.validatePosition(new bt.a(N+1,xe))}},{key:"convertViewRangeToModelRange",value:function(F){var U=this.convertViewPositionToModelPosition(F.startLineNumber,F.startColumn),s=this.convertViewPositionToModelPosition(F.endLineNumber,F.endColumn);return new Ct.a(U.lineNumber,U.column,s.lineNumber,s.column)}},{key:"convertModelPositionToViewPosition",value:function(F,U){for(var s=this.model.validatePosition(new bt.a(F,U)),N=s.lineNumber,Q=s.column,xe=N-1,Je=!1;xe>0&&!this.lines[xe].isVisible();)xe--,Je=!0;if(xe===0&&!this.lines[xe].isVisible())return new bt.a(1,1);var Ge=1+(xe===0?0:this.prefixSumComputer.getAccumulatedValue(xe-1)),qt;return Je?qt=this.lines[xe].getViewPositionOfModelPosition(Ge,this.model.getLineMaxColumn(xe+1)):qt=this.lines[N-1].getViewPositionOfModelPosition(Ge,Q),qt}},{key:"convertModelRangeToViewRange",value:function(F){var U=this.convertModelPositionToViewPosition(F.startLineNumber,F.startColumn),s=this.convertModelPositionToViewPosition(F.endLineNumber,F.endColumn);return F.startLineNumber===F.endLineNumber&&U.lineNumber!==s.lineNumber&&s.column===this.getViewLineMinColumn(s.lineNumber)?new Ct.a(U.lineNumber,U.column,s.lineNumber-1,this.getViewLineMaxColumn(s.lineNumber-1)):new Ct.a(U.lineNumber,U.column,s.lineNumber,s.column)}},{key:"_getViewLineNumberForModelPosition",value:function(F,U){var s=F-1;if(this.lines[s].isVisible()){var N=1+(s===0?0:this.prefixSumComputer.getAccumulatedValue(s-1));return this.lines[s].getViewLineNumberOfModelPosition(N,U)}for(;s>0&&!this.lines[s].isVisible();)s--;if(s===0&&!this.lines[s].isVisible())return 1;var Q=1+(s===0?0:this.prefixSumComputer.getAccumulatedValue(s-1));return this.lines[s].getViewLineNumberOfModelPosition(Q,this.model.getLineMaxColumn(s+1))}},{key:"getAllOverviewRulerDecorations",value:function(F,U,s){var N=this.model.getOverviewRulerDecorations(F,U),Q=new St,xe=Object(c.a)(N),Je;try{for(xe.s();!(Je=xe.n()).done;){var Ge=Je.value,qt=Ge.options.overviewRuler,fn=qt?qt.position:0;if(fn!==0){var Wn=qt.getColor(s),Yt=this._getViewLineNumberForModelPosition(Ge.range.startLineNumber,Ge.range.startColumn),Yn=this._getViewLineNumberForModelPosition(Ge.range.endLineNumber,Ge.range.endColumn);Q.accept(Wn,Yt,Yn,fn)}}}catch(hr){xe.e(hr)}finally{xe.f()}return Q.result}},{key:"getDecorationsInRange",value:function(F,U,s){var N=this.convertViewPositionToModelPosition(F.startLineNumber,F.startColumn),Q=this.convertViewPositionToModelPosition(F.endLineNumber,F.endColumn);if(Q.lineNumber-N.lineNumber<=F.endLineNumber-F.startLineNumber)return this.model.getDecorationsInRange(new Ct.a(N.lineNumber,1,Q.lineNumber,Q.column),U,s);for(var xe=[],Je=N.lineNumber-1,Ge=Q.lineNumber-1,qt=null,fn=Je;fn<=Ge;fn++){var Wn=this.lines[fn];if(Wn.isVisible())qt===null&&(qt=new bt.a(fn+1,fn===Je?N.column:1));else if(qt!==null){var Yt=this.model.getLineMaxColumn(fn);xe=xe.concat(this.model.getDecorationsInRange(new Ct.a(qt.lineNumber,qt.column,fn,Yt),U,s)),qt=null}}qt!==null&&(xe=xe.concat(this.model.getDecorationsInRange(new Ct.a(qt.lineNumber,qt.column,Q.lineNumber,Q.column),U,s)),qt=null),xe.sort(function(da,ia){var ma=Ct.a.compareRangesUsingStarts(da.range,ia.range);return ma===0?da.id<ia.id?-1:da.id>ia.id?1:0:ma});var Yn=[],hr=0,Wr=null,$r=Object(c.a)(xe),wi;try{for($r.s();!(wi=$r.n()).done;){var fi=wi.value,Vi=fi.id;Wr!==Vi&&(Wr=Vi,Yn[hr++]=fi)}}catch(da){$r.e(da)}finally{$r.f()}return Yn}}]),Lt}(),ll=function(){function Lt(){Object(n.a)(this,Lt)}return Object(v.a)(Lt,[{key:"isVisible",value:function(){return!0}},{key:"setVisible",value:function(F){return F?this:ks.INSTANCE}},{key:"getLineBreakData",value:function(){return null}},{key:"getViewLineCount",value:function(){return 1}},{key:"getViewLineContent",value:function(F,U,s){return F.getLineContent(U)}},{key:"getViewLineLength",value:function(F,U,s){return F.getLineLength(U)}},{key:"getViewLineMinColumn",value:function(F,U,s){return F.getLineMinColumn(U)}},{key:"getViewLineMaxColumn",value:function(F,U,s){return F.getLineMaxColumn(U)}},{key:"getViewLineData",value:function(F,U,s){var N=F.getLineTokens(U),Q=N.getLineContent();return new ai.d(Q,!1,1,Q.length+1,0,N.inflate())}},{key:"getViewLinesData",value:function(F,U,s,N,Q,xe,Je){if(!xe[Q]){Je[Q]=null;return}Je[Q]=this.getViewLineData(F,U,0)}},{key:"getModelColumnOfViewPosition",value:function(F,U){return U}},{key:"getViewPositionOfModelPosition",value:function(F,U){return new bt.a(F,U)}},{key:"getViewLineNumberOfModelPosition",value:function(F,U){return F}}]),Lt}();ll.INSTANCE=new ll;var ks=function(){function Lt(){Object(n.a)(this,Lt)}return Object(v.a)(Lt,[{key:"isVisible",value:function(){return!1}},{key:"setVisible",value:function(F){return F?ll.INSTANCE:this}},{key:"getLineBreakData",value:function(){return null}},{key:"getViewLineCount",value:function(){return 0}},{key:"getViewLineContent",value:function(F,U,s){throw new Error("Not supported")}},{key:"getViewLineLength",value:function(F,U,s){throw new Error("Not supported")}},{key:"getViewLineMinColumn",value:function(F,U,s){throw new Error("Not supported")}},{key:"getViewLineMaxColumn",value:function(F,U,s){throw new Error("Not supported")}},{key:"getViewLineData",value:function(F,U,s){throw new Error("Not supported")}},{key:"getViewLinesData",value:function(F,U,s,N,Q,xe,Je){throw new Error("Not supported")}},{key:"getModelColumnOfViewPosition",value:function(F,U){throw new Error("Not supported")}},{key:"getViewPositionOfModelPosition",value:function(F,U){throw new Error("Not supported")}},{key:"getViewLineNumberOfModelPosition",value:function(F,U){throw new Error("Not supported")}}]),Lt}();ks.INSTANCE=new ks;var xl=function(){function Lt(He,F){Object(n.a)(this,Lt),this._lineBreakData=He,this._isVisible=F}return Object(v.a)(Lt,[{key:"isVisible",value:function(){return this._isVisible}},{key:"setVisible",value:function(F){return this._isVisible=F,this}},{key:"getLineBreakData",value:function(){return this._lineBreakData}},{key:"getViewLineCount",value:function(){return this._isVisible?this._lineBreakData.breakOffsets.length:0}},{key:"getInputStartOffsetOfOutputLineIndex",value:function(F){return ai.b.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,F,0)}},{key:"getInputEndOffsetOfOutputLineIndex",value:function(F,U,s){return s+1===this._lineBreakData.breakOffsets.length?F.getLineMaxColumn(U)-1:ai.b.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,s+1,0)}},{key:"getViewLineContent",value:function(F,U,s){if(!this._isVisible)throw new Error("Not supported");var N=this.getInputStartOffsetOfOutputLineIndex(s),Q=this.getInputEndOffsetOfOutputLineIndex(F,U,s),xe=F.getValueInRange({startLineNumber:U,startColumn:N+1,endLineNumber:U,endColumn:Q+1});return s>0&&(xe=Wo(this._lineBreakData.wrappedTextIndentLength)+xe),xe}},{key:"getViewLineLength",value:function(F,U,s){if(!this._isVisible)throw new Error("Not supported");var N=this.getInputStartOffsetOfOutputLineIndex(s),Q=this.getInputEndOffsetOfOutputLineIndex(F,U,s),xe=Q-N;return s>0&&(xe=this._lineBreakData.wrappedTextIndentLength+xe),xe}},{key:"getViewLineMinColumn",value:function(F,U,s){if(!this._isVisible)throw new Error("Not supported");return s>0?this._lineBreakData.wrappedTextIndentLength+1:1}},{key:"getViewLineMaxColumn",value:function(F,U,s){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(F,U,s).length+1}},{key:"getViewLineData",value:function(F,U,s){if(!this._isVisible)throw new Error("Not supported");var N=this.getInputStartOffsetOfOutputLineIndex(s),Q=this.getInputEndOffsetOfOutputLineIndex(F,U,s),xe=F.getValueInRange({startLineNumber:U,startColumn:N+1,endLineNumber:U,endColumn:Q+1});s>0&&(xe=Wo(this._lineBreakData.wrappedTextIndentLength)+xe);var Je=s>0?this._lineBreakData.wrappedTextIndentLength+1:1,Ge=xe.length+1,qt=s+1<this.getViewLineCount(),fn=0;s>0&&(fn=this._lineBreakData.wrappedTextIndentLength);var Wn=F.getLineTokens(U),Yt=s===0?0:this._lineBreakData.breakOffsetsVisibleColumn[s-1];return new ai.d(xe,qt,Je,Ge,Yt,Wn.sliceAndInflate(N,Q,fn))}},{key:"getViewLinesData",value:function(F,U,s,N,Q,xe,Je){if(!this._isVisible)throw new Error("Not supported");for(var Ge=s;Ge<N;Ge++){var qt=Q+Ge-s;if(!xe[qt]){Je[qt]=null;continue}Je[qt]=this.getViewLineData(F,U,Ge)}}},{key:"getModelColumnOfViewPosition",value:function(F,U){if(!this._isVisible)throw new Error("Not supported");var s=U-1;return F>0&&(s<this._lineBreakData.wrappedTextIndentLength?s=0:s-=this._lineBreakData.wrappedTextIndentLength),ai.b.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,F,s)+1}},{key:"getViewPositionOfModelPosition",value:function(F,U){if(!this._isVisible)throw new Error("Not supported");var s=ai.b.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,U-1),N=s.outputLineIndex,Q=s.outputOffset+1;return N>0&&(Q+=this._lineBreakData.wrappedTextIndentLength),new bt.a(F+N,Q)}},{key:"getViewLineNumberOfModelPosition",value:function(F,U){if(!this._isVisible)throw new Error("Not supported");var s=ai.b.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,U-1);return F+s.outputLineIndex}}]),Lt}(),Pl=[""];function Wo(Lt){if(Lt>=Pl.length)for(var He=1;He<=Lt;He++)Pl[He]=yl(He);return Pl[Lt]}function yl(Lt){return new Array(Lt+1).join(" ")}function Ps(Lt,He){return Lt===null?He?ll.INSTANCE:ks.INSTANCE:new xl(Lt,He)}var B=function(){function Lt(He){Object(n.a)(this,Lt),this._lines=He}return Object(v.a)(Lt,[{key:"_validPosition",value:function(F){return this._lines.model.validatePosition(F)}},{key:"_validRange",value:function(F){return this._lines.model.validateRange(F)}},{key:"convertViewPositionToModelPosition",value:function(F){return this._validPosition(F)}},{key:"convertViewRangeToModelRange",value:function(F){return this._validRange(F)}},{key:"validateViewPosition",value:function(F,U){return this._validPosition(U)}},{key:"validateViewRange",value:function(F,U){return this._validRange(U)}},{key:"convertModelPositionToViewPosition",value:function(F){return this._validPosition(F)}},{key:"convertModelRangeToViewRange",value:function(F){return this._validRange(F)}},{key:"modelPositionIsVisible",value:function(F){var U=this._lines.model.getLineCount();return!(F.lineNumber<1||F.lineNumber>U)}},{key:"getModelLineViewLineCount",value:function(F){return 1}}]),Lt}(),Oe=function(){function Lt(He){Object(n.a)(this,Lt),this.model=He}return Object(v.a)(Lt,[{key:"dispose",value:function(){}},{key:"createCoordinatesConverter",value:function(){return new B(this)}},{key:"getHiddenAreas",value:function(){return[]}},{key:"setHiddenAreas",value:function(F){return!1}},{key:"setTabSize",value:function(F){return!1}},{key:"setWrappingSettings",value:function(F,U,s,N){return!1}},{key:"createLineBreaksComputer",value:function(){var F=[];return{addRequest:function(s,N){F.push(null)},finalize:function(){return F}}}},{key:"onModelFlushed",value:function(){}},{key:"onModelLinesDeleted",value:function(F,U,s){return new Ri(U,s)}},{key:"onModelLinesInserted",value:function(F,U,s,N){return new Oa(U,s)}},{key:"onModelLineChanged",value:function(F,U,s){return[!1,new Wa(U,U),null,null]}},{key:"acceptVersionId",value:function(F){}},{key:"getViewLineCount",value:function(){return this.model.getLineCount()}},{key:"getActiveIndentGuide",value:function(F,U,s){return{startLineNumber:F,endLineNumber:F,indent:0}}},{key:"getViewLinesIndentGuides",value:function(F,U){for(var s=U-F+1,N=new Array(s),Q=0;Q<s;Q++)N[Q]=0;return N}},{key:"getViewLineContent",value:function(F){return this.model.getLineContent(F)}},{key:"getViewLineLength",value:function(F){return this.model.getLineLength(F)}},{key:"getViewLineMinColumn",value:function(F){return this.model.getLineMinColumn(F)}},{key:"getViewLineMaxColumn",value:function(F){return this.model.getLineMaxColumn(F)}},{key:"getViewLineData",value:function(F){var U=this.model.getLineTokens(F),s=U.getLineContent();return new ai.d(s,!1,1,s.length+1,0,U.inflate())}},{key:"getViewLinesData",value:function(F,U,s){var N=this.model.getLineCount();F=Math.min(Math.max(1,F),N),U=Math.min(Math.max(1,U),N);for(var Q=[],xe=F;xe<=U;xe++){var Je=xe-F;s[Je]||(Q[Je]=null),Q[Je]=this.getViewLineData(xe)}return Q}},{key:"getAllOverviewRulerDecorations",value:function(F,U,s){var N=this.model.getOverviewRulerDecorations(F,U),Q=new St,xe=Object(c.a)(N),Je;try{for(xe.s();!(Je=xe.n()).done;){var Ge=Je.value,qt=Ge.options.overviewRuler,fn=qt?qt.position:0;if(fn!==0){var Wn=qt.getColor(s),Yt=Ge.range.startLineNumber,Yn=Ge.range.endLineNumber;Q.accept(Wn,Yt,Yn,fn)}}}catch(hr){xe.e(hr)}finally{xe.f()}return Q.result}},{key:"getDecorationsInRange",value:function(F,U,s){return this.model.getDecorationsInRange(F,U,s)}}]),Lt}(),St=function(){function Lt(){Object(n.a)(this,Lt),this.result=Object.create(null)}return Object(v.a)(Lt,[{key:"accept",value:function(F,U,s,N){var Q=this.result[F];if(Q){var xe=Q[Q.length-3],Je=Q[Q.length-1];if(xe===N&&Je+1>=U){s>Je&&(Q[Q.length-1]=s);return}Q.push(N,U,s)}else this.result[F]=[N,U,s]}}]),Lt}(),Qt=function(){function Lt(He,F,U,s,N){Object(n.a)(this,Lt),this.editorId=He,this.model=F,this.configuration=U,this._linesCollection=s,this._coordinatesConverter=N,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}return Object(v.a)(Lt,[{key:"_clearCachedModelDecorationsResolver",value:function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}},{key:"dispose",value:function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}},{key:"reset",value:function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}},{key:"onModelDecorationsChanged",value:function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}},{key:"onLineMappingChanged",value:function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}},{key:"_getOrCreateViewModelDecoration",value:function(F){var U=F.id,s=this._decorationsCache[U];if(!s){var N=F.range,Q=F.options,xe;if(Q.isWholeLine){var Je=this._coordinatesConverter.convertModelPositionToViewPosition(new bt.a(N.startLineNumber,1)),Ge=this._coordinatesConverter.convertModelPositionToViewPosition(new bt.a(N.endLineNumber,this.model.getLineMaxColumn(N.endLineNumber)));xe=new Ct.a(Je.lineNumber,Je.column,Ge.lineNumber,Ge.column)}else xe=this._coordinatesConverter.convertModelRangeToViewRange(N);s=new ai.f(xe,Q),this._decorationsCache[U]=s}return s}},{key:"getDecorationsViewportData",value:function(F){var U=this._cachedModelDecorationsResolver!==null;return U=U&&F.equalsRange(this._cachedModelDecorationsResolverViewRange),U||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(F),this._cachedModelDecorationsResolverViewRange=F),this._cachedModelDecorationsResolver}},{key:"_getDecorationsViewportData",value:function(F){for(var U=this._linesCollection.getDecorationsInRange(F,this.editorId,Object(ft.m)(this.configuration.options)),s=F.startLineNumber,N=F.endLineNumber,Q=[],xe=0,Je=[],Ge=s;Ge<=N;Ge++)Je[Ge-s]=[];for(var qt=0,fn=U.length;qt<fn;qt++){var Wn=U[qt],Yt=Wn.options,Yn=this._getOrCreateViewModelDecoration(Wn),hr=Yn.range;if(Q[xe++]=Yn,Yt.inlineClassName)for(var Wr=new ai.a(hr,Yt.inlineClassName,Yt.inlineClassNameAffectsLetterSpacing?3:0),$r=Math.max(s,hr.startLineNumber),wi=Math.min(N,hr.endLineNumber),fi=$r;fi<=wi;fi++)Je[fi-s].push(Wr);if(Yt.beforeContentClassName&&s<=hr.startLineNumber&&hr.startLineNumber<=N){var Vi=new ai.a(new Ct.a(hr.startLineNumber,hr.startColumn,hr.startLineNumber,hr.startColumn),Yt.beforeContentClassName,1);Je[hr.startLineNumber-s].push(Vi)}if(Yt.afterContentClassName&&s<=hr.endLineNumber&&hr.endLineNumber<=N){var da=new ai.a(new Ct.a(hr.endLineNumber,hr.endColumn,hr.endLineNumber,hr.endColumn),Yt.afterContentClassName,2);Je[hr.endLineNumber-s].push(da)}}return{decorations:Q,inlineDecorations:Je}}}]),Lt}(),Cn=!0,Nn=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N,Q,xe,Je){var Ge;if(Object(n.a)(this,F),Ge=He.call(this),Ge._editorId=U,Ge._configuration=s,Ge.model=N,Ge._eventDispatcher=new Ra,Ge.onEvent=Ge._eventDispatcher.onEvent,Ge.cursorConfig=new Bt.b(Ge.model.getLanguageIdentifier(),Ge.model.getOptions(),Ge._configuration),Ge._tokenizeViewportSoon=Ge._register(new te.e(function(){return Ge.tokenizeViewport()},50)),Ge._updateConfigurationViewLineCount=Ge._register(new te.e(function(){return Ge._updateConfigurationViewLineCountNow()},0)),Ge._hasFocus=!1,Ge._viewportStartLine=-1,Ge._viewportStartLineTrackedRange=null,Ge._viewportStartLineDelta=0,Cn&&Ge.model.isTooLargeForTokenization())Ge._lines=new Oe(Ge.model);else{var qt=Ge._configuration.options,fn=qt.get(40),Wn=qt.get(121),Yt=qt.get(128),Yn=qt.get(120);Ge._lines=new Bs(Ge.model,Q,xe,fn,Ge.model.getOptions().tabSize,Wn,Yt.wrappingColumn,Yn)}return Ge.coordinatesConverter=Ge._lines.createCoordinatesConverter(),Ge._cursor=Ge._register(new gi(N,Object(r.a)(Ge),Ge.coordinatesConverter,Ge.cursorConfig)),Ge.viewLayout=Ge._register(new Yo(Ge._configuration,Ge.getLineCount(),Je)),Ge._register(Ge.viewLayout.onDidScroll(function(hr){hr.scrollTopChanged&&Ge._tokenizeViewportSoon.schedule(),Ge._eventDispatcher.emitSingleViewEvent(new Za(hr)),Ge._eventDispatcher.emitOutgoingEvent(new No(hr.oldScrollWidth,hr.oldScrollLeft,hr.oldScrollHeight,hr.oldScrollTop,hr.scrollWidth,hr.scrollLeft,hr.scrollHeight,hr.scrollTop))})),Ge._register(Ge.viewLayout.onDidContentSizeChange(function(hr){Ge._eventDispatcher.emitOutgoingEvent(hr)})),Ge._decorations=new Qt(Ge._editorId,Ge.model,Ge._configuration,Ge._lines,Ge.coordinatesConverter),Ge._registerModelEvents(),Ge._register(Ge._configuration.onDidChangeFast(function(hr){try{var Wr=Ge._eventDispatcher.beginEmitViewEvents();Ge._onConfigurationChanged(Wr,hr)}finally{Ge._eventDispatcher.endEmitViewEvents()}})),Ge._register(ci.getInstance().onDidChange(function(){Ge._eventDispatcher.emitSingleViewEvent(new ra)})),Ge._updateConfigurationViewLineCountNow(),Ge}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this),this._decorations.dispose(),this._lines.dispose(),this.invalidateMinimapColorCache(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),this._eventDispatcher.dispose()}},{key:"createLineBreaksComputer",value:function(){return this._lines.createLineBreaksComputer()}},{key:"addViewEventHandler",value:function(s){this._eventDispatcher.addViewEventHandler(s)}},{key:"removeViewEventHandler",value:function(s){this._eventDispatcher.removeViewEventHandler(s)}},{key:"_updateConfigurationViewLineCountNow",value:function(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}},{key:"tokenizeViewport",value:function(){var s=this.viewLayout.getLinesViewportData(),N=this.coordinatesConverter.convertViewPositionToModelPosition(new bt.a(s.startLineNumber,1)),Q=this.coordinatesConverter.convertViewPositionToModelPosition(new bt.a(s.endLineNumber,1));this.model.tokenizeViewport(N.lineNumber,Q.lineNumber)}},{key:"setHasFocus",value:function(s){this._hasFocus=s,this._cursor.setHasFocus(s),this._eventDispatcher.emitSingleViewEvent(new ii(s)),this._eventDispatcher.emitOutgoingEvent(new no(!s,s))}},{key:"onCompositionStart",value:function(){this._eventDispatcher.emitSingleViewEvent(new di)}},{key:"onCompositionEnd",value:function(){this._eventDispatcher.emitSingleViewEvent(new ri)}},{key:"onDidColorThemeChange",value:function(){this._eventDispatcher.emitSingleViewEvent(new co)}},{key:"_onConfigurationChanged",value:function(s,N){var Q=null;if(this._viewportStartLine!==-1){var xe=new bt.a(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine));Q=this.coordinatesConverter.convertViewPositionToModelPosition(xe)}var Je=!1,Ge=this._configuration.options,qt=Ge.get(40),fn=Ge.get(121),Wn=Ge.get(128),Yt=Ge.get(120);if(this._lines.setWrappingSettings(qt,fn,Wn.wrappingColumn,Yt)&&(s.emitViewEvent(new si),s.emitViewEvent(new La),s.emitViewEvent(new zi(null)),this._cursor.onLineMappingChanged(s),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.getCurrentScrollTop()!==0&&(Je=!0),this._updateConfigurationViewLineCount.schedule()),N.hasChanged(77)&&(this._decorations.reset(),s.emitViewEvent(new zi(null))),s.emitViewEvent(new yi(N)),this.viewLayout.onConfigurationChanged(N),Je&&Q){var Yn=this.coordinatesConverter.convertModelPositionToViewPosition(Q),hr=this.viewLayout.getVerticalOffsetForLineNumber(Yn.lineNumber);this.viewLayout.setScrollPosition({scrollTop:hr+this._viewportStartLineDelta},1)}Bt.b.shouldRecreate(N)&&(this.cursorConfig=new Bt.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig))}},{key:"_registerModelEvents",value:function(){var s=this;this._register(this.model.onDidChangeRawContentFast(function(N){try{var Q=s._eventDispatcher.beginEmitViewEvents(),xe=!1,Je=!1,Ge=N.changes,qt=N.versionId,fn=s._lines.createLineBreaksComputer(),Wn=Object(c.a)(Ge),Yt;try{for(Wn.s();!(Yt=Wn.n()).done;){var Yn=Yt.value;switch(Yn.changeType){case 4:{var hr=Object(c.a)(Yn.detail),Wr;try{for(hr.s();!(Wr=hr.n()).done;){var $r=Wr.value;fn.addRequest($r,null)}}catch(Ns){hr.e(Ns)}finally{hr.f()}break}case 2:{fn.addRequest(Yn.detail,null);break}}}}catch(Ns){Wn.e(Ns)}finally{Wn.f()}var wi=fn.finalize(),fi=0,Vi=Object(c.a)(Ge),da;try{for(Vi.s();!(da=Vi.n()).done;){var ia=da.value;switch(ia.changeType){case 1:{s._lines.onModelFlushed(),Q.emitViewEvent(new si),s._decorations.reset(),s.viewLayout.onFlushed(s.getLineCount()),xe=!0;break}case 3:{var ma=s._lines.onModelLinesDeleted(qt,ia.fromLineNumber,ia.toLineNumber);ma!==null&&(Q.emitViewEvent(ma),s.viewLayout.onLinesDeleted(ma.fromLineNumber,ma.toLineNumber)),xe=!0;break}case 4:{var Ea=wi.slice(fi,fi+ia.detail.length);fi+=ia.detail.length;var Qa=s._lines.onModelLinesInserted(qt,ia.fromLineNumber,ia.toLineNumber,Ea);Qa!==null&&(Q.emitViewEvent(Qa),s.viewLayout.onLinesInserted(Qa.fromLineNumber,Qa.toLineNumber)),xe=!0;break}case 2:{var eo=wi[fi];fi++;var lo=s._lines.onModelLineChanged(qt,ia.lineNumber,eo),ho=Object(u.a)(lo,4),Eo=ho[0],Uo=ho[1],us=ho[2],ns=ho[3];Je=Eo,Uo&&Q.emitViewEvent(Uo),us&&(Q.emitViewEvent(us),s.viewLayout.onLinesInserted(us.fromLineNumber,us.toLineNumber)),ns&&(Q.emitViewEvent(ns),s.viewLayout.onLinesDeleted(ns.fromLineNumber,ns.toLineNumber));break}case 5:break}}}catch(Ns){Vi.e(Ns)}finally{Vi.f()}s._lines.acceptVersionId(qt),s.viewLayout.onHeightMaybeChanged(),!xe&&Je&&(Q.emitViewEvent(new La),Q.emitViewEvent(new zi(null)),s._cursor.onLineMappingChanged(Q),s._decorations.onLineMappingChanged())}finally{s._eventDispatcher.endEmitViewEvents()}if(s._viewportStartLine=-1,s._configuration.setMaxLineNumber(s.model.getLineCount()),s._updateConfigurationViewLineCountNow(),!s._hasFocus&&s.model.getAttachedEditorCount()>=2&&s._viewportStartLineTrackedRange){var is=s.model._getTrackedRange(s._viewportStartLineTrackedRange);if(is){var Es=s.coordinatesConverter.convertModelPositionToViewPosition(is.getStartPosition()),ys=s.viewLayout.getVerticalOffsetForLineNumber(Es.lineNumber);s.viewLayout.setScrollPosition({scrollTop:ys+s._viewportStartLineDelta},1)}}try{var il=s._eventDispatcher.beginEmitViewEvents();s._cursor.onModelContentChanged(il,N)}finally{s._eventDispatcher.endEmitViewEvents()}})),this._register(this.model.onDidChangeTokens(function(N){for(var Q=[],xe=0,Je=N.ranges.length;xe<Je;xe++){var Ge=N.ranges[xe],qt=s.coordinatesConverter.convertModelPositionToViewPosition(new bt.a(Ge.fromLineNumber,1)).lineNumber,fn=s.coordinatesConverter.convertModelPositionToViewPosition(new bt.a(Ge.toLineNumber,s.model.getLineMaxColumn(Ge.toLineNumber))).lineNumber;Q[xe]={fromLineNumber:qt,toLineNumber:fn}}s._eventDispatcher.emitSingleViewEvent(new Do(Q)),N.tokenizationSupportChanged&&s._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeLanguageConfiguration(function(N){s._eventDispatcher.emitSingleViewEvent(new Yi),s.cursorConfig=new Bt.b(s.model.getLanguageIdentifier(),s.model.getOptions(),s._configuration),s._cursor.updateConfiguration(s.cursorConfig)})),this._register(this.model.onDidChangeLanguage(function(N){s.cursorConfig=new Bt.b(s.model.getLanguageIdentifier(),s.model.getOptions(),s._configuration),s._cursor.updateConfiguration(s.cursorConfig)})),this._register(this.model.onDidChangeOptions(function(N){if(s._lines.setTabSize(s.model.getOptions().tabSize)){try{var Q=s._eventDispatcher.beginEmitViewEvents();Q.emitViewEvent(new si),Q.emitViewEvent(new La),Q.emitViewEvent(new zi(null)),s._cursor.onLineMappingChanged(Q),s._decorations.onLineMappingChanged(),s.viewLayout.onFlushed(s.getLineCount())}finally{s._eventDispatcher.endEmitViewEvents()}s._updateConfigurationViewLineCount.schedule()}s.cursorConfig=new Bt.b(s.model.getLanguageIdentifier(),s.model.getOptions(),s._configuration),s._cursor.updateConfiguration(s.cursorConfig)})),this._register(this.model.onDidChangeDecorations(function(N){s._decorations.onModelDecorationsChanged(),s._eventDispatcher.emitSingleViewEvent(new zi(N))}))}},{key:"setHiddenAreas",value:function(s){try{var N=this._eventDispatcher.beginEmitViewEvents(),Q=this._lines.setHiddenAreas(s);Q&&(N.emitViewEvent(new si),N.emitViewEvent(new La),N.emitViewEvent(new zi(null)),this._cursor.onLineMappingChanged(N),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}},{key:"getVisibleRangesPlusViewportAboveBelow",value:function(){var s=this._configuration.options.get(127),N=this._configuration.options.get(55),Q=Math.max(20,Math.round(s.height/N)),xe=this.viewLayout.getLinesViewportData(),Je=Math.max(1,xe.completelyVisibleStartLineNumber-Q),Ge=Math.min(this.getLineCount(),xe.completelyVisibleEndLineNumber+Q);return this._toModelVisibleRanges(new Ct.a(Je,this.getLineMinColumn(Je),Ge,this.getLineMaxColumn(Ge)))}},{key:"getVisibleRanges",value:function(){var s=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(s)}},{key:"_toModelVisibleRanges",value:function(s){var N=this.coordinatesConverter.convertViewRangeToModelRange(s),Q=this._lines.getHiddenAreas();if(Q.length===0)return[N];for(var xe=[],Je=0,Ge=N.startLineNumber,qt=N.startColumn,fn=N.endLineNumber,Wn=N.endColumn,Yt=0,Yn=Q.length;Yt<Yn;Yt++){var hr=Q[Yt].startLineNumber,Wr=Q[Yt].endLineNumber;Wr<Ge||hr>fn||(Ge<hr&&(xe[Je++]=new Ct.a(Ge,qt,hr-1,this.model.getLineMaxColumn(hr-1))),Ge=Wr+1,qt=1)}return(Ge<fn||Ge===fn&&qt<Wn)&&(xe[Je++]=new Ct.a(Ge,qt,fn,Wn)),xe}},{key:"getCompletelyVisibleViewRange",value:function(){var s=this.viewLayout.getLinesViewportData(),N=s.completelyVisibleStartLineNumber,Q=s.completelyVisibleEndLineNumber;return new Ct.a(N,this.getLineMinColumn(N),Q,this.getLineMaxColumn(Q))}},{key:"getCompletelyVisibleViewRangeAtScrollTop",value:function(s){var N=this.viewLayout.getLinesViewportDataAtScrollTop(s),Q=N.completelyVisibleStartLineNumber,xe=N.completelyVisibleEndLineNumber;return new Ct.a(Q,this.getLineMinColumn(Q),xe,this.getLineMaxColumn(xe))}},{key:"saveState",value:function(){var s=this.viewLayout.saveState(),N=s.scrollTop,Q=this.viewLayout.getLineNumberAtVerticalOffset(N),xe=this.coordinatesConverter.convertViewPositionToModelPosition(new bt.a(Q,this.getLineMinColumn(Q))),Je=this.viewLayout.getVerticalOffsetForLineNumber(Q)-N;return{scrollLeft:s.scrollLeft,firstPosition:xe,firstPositionDeltaTop:Je}}},{key:"reduceRestoreState",value:function(s){if(typeof s.firstPosition=="undefined")return this._reduceRestoreStateCompatibility(s);var N=this.model.validatePosition(s.firstPosition),Q=this.coordinatesConverter.convertModelPositionToViewPosition(N),xe=this.viewLayout.getVerticalOffsetForLineNumber(Q.lineNumber)-s.firstPositionDeltaTop;return{scrollLeft:s.scrollLeft,scrollTop:xe}}},{key:"_reduceRestoreStateCompatibility",value:function(s){return{scrollLeft:s.scrollLeft,scrollTop:s.scrollTopWithoutViewZones}}},{key:"getTabSize",value:function(){return this.model.getOptions().tabSize}},{key:"getTextModelOptions",value:function(){return this.model.getOptions()}},{key:"getLineCount",value:function(){return this._lines.getViewLineCount()}},{key:"setViewport",value:function(s,N,Q){this._viewportStartLine=s;var xe=this.coordinatesConverter.convertViewPositionToModelPosition(new bt.a(s,this.getLineMinColumn(s)));this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,new Ct.a(xe.lineNumber,xe.column,xe.lineNumber,xe.column),1);var Je=this.viewLayout.getVerticalOffsetForLineNumber(s),Ge=this.viewLayout.getCurrentScrollTop();this._viewportStartLineDelta=Ge-Je}},{key:"getActiveIndentGuide",value:function(s,N,Q){return this._lines.getActiveIndentGuide(s,N,Q)}},{key:"getLinesIndentGuides",value:function(s,N){return this._lines.getViewLinesIndentGuides(s,N)}},{key:"getLineContent",value:function(s){return this._lines.getViewLineContent(s)}},{key:"getLineLength",value:function(s){return this._lines.getViewLineLength(s)}},{key:"getLineMinColumn",value:function(s){return this._lines.getViewLineMinColumn(s)}},{key:"getLineMaxColumn",value:function(s){return this._lines.getViewLineMaxColumn(s)}},{key:"getLineFirstNonWhitespaceColumn",value:function(s){var N=wn.v(this.getLineContent(s));return N===-1?0:N+1}},{key:"getLineLastNonWhitespaceColumn",value:function(s){var N=wn.I(this.getLineContent(s));return N===-1?0:N+2}},{key:"getDecorationsInViewport",value:function(s){return this._decorations.getDecorationsViewportData(s).decorations}},{key:"getViewLineRenderingData",value:function(s,N){var Q=this.model.mightContainRTL(),xe=this.model.mightContainNonBasicASCII(),Je=this.getTabSize(),Ge=this._lines.getViewLineData(N),qt=this._decorations.getDecorationsViewportData(s).inlineDecorations,fn=qt[N-s.startLineNumber];return new ai.e(Ge.minColumn,Ge.maxColumn,Ge.content,Ge.continuesWithWrappedLine,Q,xe,Ge.tokens,fn,Je,Ge.startVisibleColumn)}},{key:"getViewLineData",value:function(s){return this._lines.getViewLineData(s)}},{key:"getMinimapLinesRenderingData",value:function(s,N,Q){var xe=this._lines.getViewLinesData(s,N,Q);return new ai.c(this.getTabSize(),xe)}},{key:"getAllOverviewRulerDecorations",value:function(s){return this._lines.getAllOverviewRulerDecorations(this._editorId,Object(ft.m)(this._configuration.options),s)}},{key:"invalidateOverviewRulerColorCache",value:function(){var s=this.model.getOverviewRulerDecorations(),N=Object(c.a)(s),Q;try{for(N.s();!(Q=N.n()).done;){var xe=Q.value,Je=xe.options.overviewRuler;Je&&Je.invalidateCachedColor()}}catch(Ge){N.e(Ge)}finally{N.f()}}},{key:"invalidateMinimapColorCache",value:function(){var s=this.model.getAllDecorations(),N=Object(c.a)(s),Q;try{for(N.s();!(Q=N.n()).done;){var xe=Q.value,Je=xe.options.minimap;Je&&Je.invalidateCachedColor()}}catch(Ge){N.e(Ge)}finally{N.f()}}},{key:"getValueInRange",value:function(s,N){var Q=this.coordinatesConverter.convertViewRangeToModelRange(s);return this.model.getValueInRange(Q,N)}},{key:"getModelLineMaxColumn",value:function(s){return this.model.getLineMaxColumn(s)}},{key:"validateModelPosition",value:function(s){return this.model.validatePosition(s)}},{key:"validateModelRange",value:function(s){return this.model.validateRange(s)}},{key:"deduceModelPositionRelativeToViewPosition",value:function(s,N,Q){var xe=this.coordinatesConverter.convertViewPositionToModelPosition(s);this.model.getEOL().length===2&&(N<0?N-=Q:N+=Q);var Je=this.model.getOffsetAt(xe),Ge=Je+N;return this.model.getPositionAt(Ge)}},{key:"getEOL",value:function(){return this.model.getEOL()}},{key:"getPlainTextToCopy",value:function(s,N,Q){var xe=Q?`\r
- `:this.model.getEOL();s=s.slice(0),s.sort(Ct.a.compareRangesUsingStarts);var Je=!1,Ge=!1,qt=Object(c.a)(s),fn;try{for(qt.s();!(fn=qt.n()).done;){var Wn=fn.value;Wn.isEmpty()?Je=!0:Ge=!0}}catch(eo){qt.e(eo)}finally{qt.f()}if(!Ge){if(!N)return"";for(var Yt=s.map(function(eo){return eo.startLineNumber}),Yn="",hr=0;hr<Yt.length;hr++)hr>0&&Yt[hr-1]===Yt[hr]||(Yn+=this.model.getLineContent(Yt[hr])+xe);return Yn}if(Je&&N){var Wr=[],$r=0,wi=Object(c.a)(s),fi;try{for(wi.s();!(fi=wi.n()).done;){var Vi=fi.value,da=Vi.startLineNumber;Vi.isEmpty()?da!==$r&&Wr.push(this.model.getLineContent(da)):Wr.push(this.model.getValueInRange(Vi,Q?2:0)),$r=da}}catch(eo){wi.e(eo)}finally{wi.f()}return Wr.length===1?Wr[0]:Wr}var ia=[],ma=Object(c.a)(s),Ea;try{for(ma.s();!(Ea=ma.n()).done;){var Qa=Ea.value;Qa.isEmpty()||ia.push(this.model.getValueInRange(Qa,Q?2:0))}}catch(eo){ma.e(eo)}finally{ma.f()}return ia.length===1?ia[0]:ia}},{key:"getRichTextToCopy",value:function(s,N){var Q=this.model.getLanguageIdentifier();if(Q.id===1||s.length!==1)return null;var xe=s[0];if(xe.isEmpty()){if(!N)return null;var Je=xe.startLineNumber;xe=new Ct.a(Je,this.model.getLineMinColumn(Je),Je,this.model.getLineMaxColumn(Je))}var Ge=this._configuration.options.get(40),qt=this._getColorMap(),fn=/[:;\\\/<>]/.test(Ge.fontFamily),Wn=fn||Ge.fontFamily===ft.c.fontFamily,Yt;if(Wn)Yt=ft.c.fontFamily;else{Yt=Ge.fontFamily,Yt=Yt.replace(/"/g,"'");var Yn=/[,']/.test(Yt);if(!Yn){var hr=/[+ ]/.test(Yt);hr&&(Yt="'".concat(Yt,"'"))}Yt="".concat(Yt,", ").concat(ft.c.fontFamily)}return{mode:Q.language,html:'<div style="'+"color: ".concat(qt[1],";")+"background-color: ".concat(qt[2],";")+"font-family: ".concat(Yt,";")+"font-weight: ".concat(Ge.fontWeight,";")+"font-size: ".concat(Ge.fontSize,"px;")+"line-height: ".concat(Ge.lineHeight,"px;")+'white-space: pre;">'+this._getHTMLToCopy(xe,qt)+"</div>"}}},{key:"_getHTMLToCopy",value:function(s,N){for(var Q=s.startLineNumber,xe=s.startColumn,Je=s.endLineNumber,Ge=s.endColumn,qt=this.getTabSize(),fn="",Wn=Q;Wn<=Je;Wn++){var Yt=this.model.getLineTokens(Wn),Yn=Yt.getLineContent(),hr=Wn===Q?xe-1:0,Wr=Wn===Je?Ge-1:Yn.length;Yn===""?fn+="<br>":fn+=Object(oa.a)(Yn,Yt.inflate(),N,hr,Wr,qt,E.j)}return fn}},{key:"_getColorMap",value:function(){var s=Rr.D.getColorMap(),N=["#000000"];if(s)for(var Q=1,xe=s.length;Q<xe;Q++)N[Q]=Ae.a.Format.CSS.formatHex(s[Q]);return N}},{key:"pushStackElement",value:function(){this.model.pushStackElement()}},{key:"getPrimaryCursorState",value:function(){return this._cursor.getPrimaryCursorState()}},{key:"getLastAddedCursorIndex",value:function(){return this._cursor.getLastAddedCursorIndex()}},{key:"getCursorStates",value:function(){return this._cursor.getCursorStates()}},{key:"setCursorStates",value:function(s,N,Q){var xe=this;this._withViewEventsCollector(function(Je){return xe._cursor.setStates(Je,s,N,Q)})}},{key:"getCursorColumnSelectData",value:function(){return this._cursor.getCursorColumnSelectData()}},{key:"getCursorAutoClosedCharacters",value:function(){return this._cursor.getAutoClosedCharacters()}},{key:"setCursorColumnSelectData",value:function(s){this._cursor.setCursorColumnSelectData(s)}},{key:"getPrevEditOperationType",value:function(){return this._cursor.getPrevEditOperationType()}},{key:"setPrevEditOperationType",value:function(s){this._cursor.setPrevEditOperationType(s)}},{key:"getSelection",value:function(){return this._cursor.getSelection()}},{key:"getSelections",value:function(){return this._cursor.getSelections()}},{key:"getPosition",value:function(){return this._cursor.getPrimaryCursorState().modelState.position}},{key:"setSelections",value:function(s,N){var Q=this,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._withViewEventsCollector(function(Je){return Q._cursor.setSelections(Je,s,N,xe)})}},{key:"saveCursorState",value:function(){return this._cursor.saveState()}},{key:"restoreCursorState",value:function(s){var N=this;this._withViewEventsCollector(function(Q){return N._cursor.restoreState(Q,s)})}},{key:"_executeCursorEdit",value:function(s){if(this._cursor.context.cursorConfig.readOnly){this._eventDispatcher.emitOutgoingEvent(new Yr);return}this._withViewEventsCollector(s)}},{key:"executeEdits",value:function(s,N,Q){var xe=this;this._executeCursorEdit(function(Je){return xe._cursor.executeEdits(Je,s,N,Q)})}},{key:"startComposition",value:function(){var s=this;this._cursor.setIsDoingComposition(!0),this._executeCursorEdit(function(N){return s._cursor.startComposition(N)})}},{key:"endComposition",value:function(s){var N=this;this._cursor.setIsDoingComposition(!1),this._executeCursorEdit(function(Q){return N._cursor.endComposition(Q,s)})}},{key:"type",value:function(s,N){var Q=this;this._executeCursorEdit(function(xe){return Q._cursor.type(xe,s,N)})}},{key:"compositionType",value:function(s,N,Q,xe,Je){var Ge=this;this._executeCursorEdit(function(qt){return Ge._cursor.compositionType(qt,s,N,Q,xe,Je)})}},{key:"paste",value:function(s,N,Q,xe){var Je=this;this._executeCursorEdit(function(Ge){return Je._cursor.paste(Ge,s,N,Q,xe)})}},{key:"cut",value:function(s){var N=this;this._executeCursorEdit(function(Q){return N._cursor.cut(Q,s)})}},{key:"executeCommand",value:function(s,N){var Q=this;this._executeCursorEdit(function(xe){return Q._cursor.executeCommand(xe,s,N)})}},{key:"executeCommands",value:function(s,N){var Q=this;this._executeCursorEdit(function(xe){return Q._cursor.executeCommands(xe,s,N)})}},{key:"revealPrimaryCursor",value:function(s,N){var Q=this;this._withViewEventsCollector(function(xe){return Q._cursor.revealPrimary(xe,s,N,0)})}},{key:"revealTopMostCursor",value:function(s){var N=this._cursor.getTopMostViewPosition(),Q=new Ct.a(N.lineNumber,N.column,N.lineNumber,N.column);this._withViewEventsCollector(function(xe){return xe.emitViewEvent(new Ha(s,Q,null,0,!0,0))})}},{key:"revealBottomMostCursor",value:function(s){var N=this._cursor.getBottomMostViewPosition(),Q=new Ct.a(N.lineNumber,N.column,N.lineNumber,N.column);this._withViewEventsCollector(function(xe){return xe.emitViewEvent(new Ha(s,Q,null,0,!0,0))})}},{key:"revealRange",value:function(s,N,Q,xe,Je){this._withViewEventsCollector(function(Ge){return Ge.emitViewEvent(new Ha(s,Q,null,xe,N,Je))})}},{key:"getVerticalOffsetForLineNumber",value:function(s){return this.viewLayout.getVerticalOffsetForLineNumber(s)}},{key:"getScrollTop",value:function(){return this.viewLayout.getCurrentScrollTop()}},{key:"setScrollTop",value:function(s,N){this.viewLayout.setScrollPosition({scrollTop:s},N)}},{key:"setScrollPosition",value:function(s,N){this.viewLayout.setScrollPosition(s,N)}},{key:"deltaScrollNow",value:function(s,N){this.viewLayout.deltaScrollNow(s,N)}},{key:"changeWhitespace",value:function(s){var N=this.viewLayout.changeWhitespace(s);N&&(this._eventDispatcher.emitSingleViewEvent(new ya),this._eventDispatcher.emitOutgoingEvent(new es))}},{key:"setMaxLineWidth",value:function(s){this.viewLayout.setMaxLineWidth(s)}},{key:"_withViewEventsCollector",value:function(s){try{var N=this._eventDispatcher.beginEmitViewEvents();s(N)}finally{this._eventDispatcher.endEmitViewEvents()}}}]),F}(Y.a),Bn=e("nnTU"),Xn=e("T8No"),Jn=e("Cg/j"),Cr=e("8HsV"),Kr=e("sM1p"),ti=e("R3nR"),Pi=e("746U"),pi=e("MXAL"),Fi=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s){var N;Object(n.a)(this,F),N=He.call(this,0);for(var Q=0;Q<U.length;Q++)N.set(U.charCodeAt(Q),1);for(var xe=0;xe<s.length;xe++)N.set(s.charCodeAt(xe),2);return N}return Object(v.a)(F,[{key:"get",value:function(s){return s>=0&&s<256?this._asciiMap[s]:s>=12352&&s<=12543||s>=13312&&s<=19903||s>=19968&&s<=40959?3:this._map.get(s)||this._defaultValue}}]),F}(pi.a),ha=[],$i=[],wa=function(){function Lt(He,F){Object(n.a)(this,Lt),this.classifier=new Fi(He,F)}return Object(v.a)(Lt,[{key:"createLineBreaksComputer",value:function(F,U,s,N){var Q=this;U=U|0,s=+s;var xe=[],Je=[];return{addRequest:function(qt,fn){xe.push(qt),Je.push(fn)},finalize:function(){for(var qt=F.typicalFullwidthCharacterWidth/F.typicalHalfwidthCharacterWidth,fn=[],Wn=0,Yt=xe.length;Wn<Yt;Wn++){var Yn=Je[Wn];Yn?fn[Wn]=Lo(Q.classifier,Yn,xe[Wn],U,s,qt,N):fn[Wn]=Co(Q.classifier,xe[Wn],U,s,qt,N)}return ha.length=0,$i.length=0,fn}}}}],[{key:"create",value:function(F){return new Lt(F.get(116),F.get(115))}}]),Lt}();function Lo(Lt,He,F,U,s,N,Q){if(s===-1)return null;var xe=F.length;if(xe<=1)return null;var Je=He.breakOffsets,Ge=He.breakOffsetsVisibleColumn,qt=fo(F,U,s,N,Q),fn=s-qt,Wn=ha,Yt=$i,Yn=0,hr=0,Wr=0,$r=s,wi=Je.length,fi=0;if(fi>=0)for(var Vi=Math.abs(Ge[fi]-$r);fi+1<wi;){var da=Math.abs(Ge[fi+1]-$r);if(da>=Vi)break;Vi=da,fi++}for(;fi<wi;){var ia=fi<0?0:Je[fi],ma=fi<0?0:Ge[fi];hr>ia&&(ia=hr,ma=Wr);var Ea=0,Qa=0,eo=0,lo=0;if(ma<=$r){for(var ho=ma,Eo=ia===0?0:F.charCodeAt(ia-1),Uo=ia===0?0:Lt.get(Eo),us=!0,ns=ia;ns<xe;ns++){var is=ns,Es=F.charCodeAt(ns),ys=void 0,il=void 0;if(wn.E(Es)?(ns++,ys=0,il=2):(ys=Lt.get(Es),il=qa(Es,ho,U,N)),is>hr&&pa(Eo,Uo,Es,ys)&&(Ea=is,Qa=ho),ho+=il,ho>$r){is>hr?(eo=is,lo=ho-il):(eo=ns+1,lo=ho),ho-Qa>fn&&(Ea=0),us=!1;break}Eo=Es,Uo=ys}if(us){Yn>0&&(Wn[Yn]=Je[Je.length-1],Yt[Yn]=Ge[Je.length-1],Yn++);break}}if(Ea===0){for(var Ns=ma,Ol=F.charCodeAt(ia),Ws=Lt.get(Ol),Yl=!1,hl=ia-1;hl>=hr;hl--){var Xs=hl+1,Kl=F.charCodeAt(hl);if(Kl===9){Yl=!0;break}var ul=void 0,wu=void 0;if(wn.F(Kl)?(hl--,ul=0,wu=2):(ul=Lt.get(Kl),wu=wn.D(Kl)?N:1),Ns<=$r){if(eo===0&&(eo=Xs,lo=Ns),Ns<=$r-fn)break;if(pa(Kl,ul,Ol,Ws)){Ea=Xs,Qa=Ns;break}}Ns-=wu,Ol=Kl,Ws=ul}if(Ea!==0){var kl=fn-(lo-Qa);if(kl<=U){var Fl=F.charCodeAt(eo),mu=void 0;wn.E(Fl)?mu=2:mu=qa(Fl,lo,U,N),kl-mu<0&&(Ea=0)}}if(Yl){fi--;continue}}if(Ea===0&&(Ea=eo,Qa=lo),Ea<=hr){var Jl=F.charCodeAt(hr);wn.E(Jl)?(Ea=hr+2,Qa=Wr+2):(Ea=hr+1,Qa=Wr+qa(Jl,Wr,U,N))}for(hr=Ea,Wn[Yn]=Ea,Wr=Qa,Yt[Yn]=Qa,Yn++,$r=Qa+fn;fi<0||fi<wi&&Ge[fi]<Qa;)fi++;for(var pu=Math.abs(Ge[fi]-$r);fi+1<wi;){var Ku=Math.abs(Ge[fi+1]-$r);if(Ku>=pu)break;pu=Ku,fi++}}return Yn===0?null:(Wn.length=Yn,Yt.length=Yn,ha=He.breakOffsets,$i=He.breakOffsetsVisibleColumn,He.breakOffsets=Wn,He.breakOffsetsVisibleColumn=Yt,He.wrappedTextIndentLength=qt,He)}function Co(Lt,He,F,U,s,N){if(U===-1)return null;var Q=He.length;if(Q<=1)return null;var xe=fo(He,F,U,s,N),Je=U-xe,Ge=[],qt=[],fn=0,Wn=0,Yt=0,Yn=U,hr=He.charCodeAt(0),Wr=Lt.get(hr),$r=qa(hr,0,F,s),wi=1;wn.E(hr)&&($r+=1,hr=He.charCodeAt(1),Wr=Lt.get(hr),wi++);for(var fi=wi;fi<Q;fi++){var Vi=fi,da=He.charCodeAt(fi),ia=void 0,ma=void 0;wn.E(da)?(fi++,ia=0,ma=2):(ia=Lt.get(da),ma=qa(da,$r,F,s)),pa(hr,Wr,da,ia)&&(Wn=Vi,Yt=$r),$r+=ma,$r>Yn&&((Wn===0||$r-Yt>Je)&&(Wn=Vi,Yt=$r-ma),Ge[fn]=Wn,qt[fn]=Yt,fn++,Yn=Yt+Je,Wn=0),hr=da,Wr=ia}return fn===0?null:(Ge[fn]=Q,qt[fn]=$r,new ai.b(Ge,qt,xe))}function qa(Lt,He,F,U){return Lt===9?F-He%F:wn.D(Lt)||Lt<32?U:1}function Va(Lt,He){return He-Lt%He}function pa(Lt,He,F,U){return F!==32&&(He===2||He===3&&U!==2||U===1||U===3&&He!==1)}function fo(Lt,He,F,U,s){var N=0;if(s!==0){var Q=wn.v(Lt);if(Q!==-1){for(var xe=0;xe<Q;xe++){var Je=Lt.charCodeAt(xe)===9?Va(N,He):1;N+=Je}for(var Ge=s===3?2:s===2?1:0,qt=0;qt<Ge;qt++){var fn=Va(N,He);N+=fn}N+U>F&&(N=0)}}return N}var Ao,ko=(Ao=window.trustedTypes)===null||Ao===void 0?void 0:Ao.createPolicy("domLineBreaksComputer",{createHTML:function(He){return He}}),Jo=function(){function Lt(){Object(n.a)(this,Lt)}return Object(v.a)(Lt,[{key:"createLineBreaksComputer",value:function(F,U,s,N){U=U|0,s=+s;var Q=[];return{addRequest:function(Je,Ge){Q.push(Je)},finalize:function(){return rs(Q,F,U,s,N)}}}}],[{key:"create",value:function(){return new Lt}}]),Lt}();function rs(Lt,He,F,U,s){var N;if(U===-1){for(var Q=[],xe=0,Je=Lt.length;xe<Je;xe++)Q[xe]=null;return Q}var Ge=Math.round(U*He.typicalHalfwidthCharacterWidth);(s===2||s===3)&&(s=1);var qt=document.createElement("div");A.a.applyFontInfoSlow(qt,He);for(var fn=Object(_r.a)(1e4),Wn=[],Yt=[],Yn=[],hr=[],Wr=[],$r=0;$r<Lt.length;$r++){var wi=Lt[$r],fi=0,Vi=0,da=Ge;if(s!==0)if(fi=wn.v(wi),fi===-1)fi=0;else{for(var ia=0;ia<fi;ia++){var ma=wi.charCodeAt(ia)===9?F-Vi%F:1;Vi+=ma}var Ea=Math.ceil(He.spaceWidth*Vi);Ea+He.typicalFullwidthCharacterWidth>Ge?(fi=0,Vi=0):da=Ge-Ea}var Qa=wi.substr(fi),eo=Cs(Qa,Vi,F,da,fn);Wn[$r]=fi,Yt[$r]=Vi,Yn[$r]=Qa,hr[$r]=eo[0],Wr[$r]=eo[1]}var lo=fn.build(),ho=(N=ko==null?void 0:ko.createHTML(lo))!==null&&N!==void 0?N:lo;qt.innerHTML=ho,qt.style.position="absolute",qt.style.top="10000",qt.style.wordWrap="break-word",document.body.appendChild(qt);for(var Eo=document.createRange(),Uo=Array.prototype.slice.call(qt.children,0),us=[],ns=0;ns<Lt.length;ns++){var is=Uo[ns],Es=ms(Eo,is,Yn[ns],hr[ns]);if(Es===null){us[ns]=null;continue}for(var ys=Wn[ns],il=Yt[ns],Ns=Wr[ns],Ol=[],Ws=0,Yl=Es.length;Ws<Yl;Ws++)Ol[Ws]=Ns[Es[Ws]];if(ys!==0)for(var hl=0,Xs=Es.length;hl<Xs;hl++)Es[hl]+=ys;us[ns]=new ai.b(Es,Ol,il)}return document.body.removeChild(qt),us}function Cs(Lt,He,F,U,s){s.appendASCIIString('<div style="width:'),s.appendASCIIString(String(U)),s.appendASCIIString('px;">');var N=Lt.length,Q=He,xe=0,Je=[],Ge=[],qt=0<N?Lt.charCodeAt(0):0;s.appendASCIIString("<span>");for(var fn=0;fn<N;fn++){fn!==0&&fn%16384==0&&s.appendASCIIString("</span><span>"),Je[fn]=xe,Ge[fn]=Q;var Wn=qt;qt=fn+1<N?Lt.charCodeAt(fn+1):0;var Yt=1,Yn=1;switch(Wn){case 9:Yt=F-Q%F,Yn=Yt;for(var hr=1;hr<=Yt;hr++)hr<Yt?s.write1(160):s.appendASCII(32);break;case 32:qt===32?s.write1(160):s.appendASCII(32);break;case 60:s.appendASCIIString("<");break;case 62:s.appendASCIIString(">");break;case 38:s.appendASCIIString("&");break;case 0:s.appendASCIIString("�");break;case 65279:case 8232:case 8233:case 133:s.write1(65533);break;default:wn.D(Wn)&&Yn++,Wn<32?s.write1(9216+Wn):s.write1(Wn)}xe+=Yt,Q+=Yn}return s.appendASCIIString("</span>"),Je[Lt.length]=xe,Ge[Lt.length]=Q,s.appendASCIIString("</div>"),[Je,Ge]}function ms(Lt,He,F,U){if(F.length<=1)return null;var s=Array.prototype.slice.call(He.children,0),N=[];try{Po(Lt,s,U,0,null,F.length-1,null,N)}catch(Q){return console.log(Q),null}return N.length===0?null:(N.push(F.length),N)}function Po(Lt,He,F,U,s,N,Q,xe){if(U!==N&&(s=s||rl(Lt,He,F[U],F[U+1]),Q=Q||rl(Lt,He,F[N],F[N+1]),!(Math.abs(s[0].top-Q[0].top)<=.1))){if(U+1===N){xe.push(N);return}var Je=U+(N-U)/2|0,Ge=rl(Lt,He,F[Je],F[Je+1]);Po(Lt,He,F,U,s,Je,Ge,xe),Po(Lt,He,F,Je,Ge,N,Q,xe)}}function rl(Lt,He,F,U){return Lt.setStart(He[F/16384|0].firstChild,F%16384),Lt.setEnd(He[U/16384|0].firstChild,U%16384),Lt.getClientRects()}var Rl=e("1I1M"),bl=function(Lt,He,F,U){var s=arguments.length,N=s<3?He:U===null?U=Object.getOwnPropertyDescriptor(He,F):U,Q;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(Lt,He,F,U);else for(var xe=Lt.length-1;xe>=0;xe--)(Q=Lt[xe])&&(N=(s<3?Q(N):s>3?Q(He,F,N):Q(He,F))||N);return s>3&&N&&Object.defineProperty(He,F,N),N},Tl=function(Lt,He){return function(F,U){He(F,U,Lt)}},ou=0,Vu=function(){function Lt(He,F,U,s,N){Object(n.a)(this,Lt),this.model=He,this.viewModel=F,this.view=U,this.hasRealView=s,this.listenersToRemove=N}return Object(v.a)(Lt,[{key:"dispose",value:function(){Object(Y.f)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}]),Lt}(),Du=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s,N,Q,xe,Je,Ge,qt,fn,Wn){var Yt;Object(n.a)(this,F),Yt=He.call(this),Yt._onDidDispose=Yt._register(new I.a),Yt.onDidDispose=Yt._onDidDispose.event,Yt._onDidChangeModelContent=Yt._register(new I.a),Yt.onDidChangeModelContent=Yt._onDidChangeModelContent.event,Yt._onDidChangeModelLanguage=Yt._register(new I.a),Yt.onDidChangeModelLanguage=Yt._onDidChangeModelLanguage.event,Yt._onDidChangeModelLanguageConfiguration=Yt._register(new I.a),Yt.onDidChangeModelLanguageConfiguration=Yt._onDidChangeModelLanguageConfiguration.event,Yt._onDidChangeModelOptions=Yt._register(new I.a),Yt.onDidChangeModelOptions=Yt._onDidChangeModelOptions.event,Yt._onDidChangeModelDecorations=Yt._register(new I.a),Yt.onDidChangeModelDecorations=Yt._onDidChangeModelDecorations.event,Yt._onDidChangeConfiguration=Yt._register(new I.a),Yt.onDidChangeConfiguration=Yt._onDidChangeConfiguration.event,Yt._onDidChangeModel=Yt._register(new I.a),Yt.onDidChangeModel=Yt._onDidChangeModel.event,Yt._onDidChangeCursorPosition=Yt._register(new I.a),Yt.onDidChangeCursorPosition=Yt._onDidChangeCursorPosition.event,Yt._onDidChangeCursorSelection=Yt._register(new I.a),Yt.onDidChangeCursorSelection=Yt._onDidChangeCursorSelection.event,Yt._onDidAttemptReadOnlyEdit=Yt._register(new I.a),Yt.onDidAttemptReadOnlyEdit=Yt._onDidAttemptReadOnlyEdit.event,Yt._onDidLayoutChange=Yt._register(new I.a),Yt.onDidLayoutChange=Yt._onDidLayoutChange.event,Yt._editorTextFocus=Yt._register(new qo),Yt.onDidFocusEditorText=Yt._editorTextFocus.onDidChangeToTrue,Yt.onDidBlurEditorText=Yt._editorTextFocus.onDidChangeToFalse,Yt._editorWidgetFocus=Yt._register(new qo),Yt.onDidFocusEditorWidget=Yt._editorWidgetFocus.onDidChangeToTrue,Yt.onDidBlurEditorWidget=Yt._editorWidgetFocus.onDidChangeToFalse,Yt._onWillType=Yt._register(new I.a),Yt.onWillType=Yt._onWillType.event,Yt._onDidType=Yt._register(new I.a),Yt.onDidType=Yt._onDidType.event,Yt._onDidCompositionStart=Yt._register(new I.a),Yt.onDidCompositionStart=Yt._onDidCompositionStart.event,Yt._onDidCompositionEnd=Yt._register(new I.a),Yt.onDidCompositionEnd=Yt._onDidCompositionEnd.event,Yt._onDidPaste=Yt._register(new I.a),Yt.onDidPaste=Yt._onDidPaste.event,Yt._onMouseUp=Yt._register(new I.a),Yt.onMouseUp=Yt._onMouseUp.event,Yt._onMouseDown=Yt._register(new I.a),Yt.onMouseDown=Yt._onMouseDown.event,Yt._onMouseDrag=Yt._register(new I.a),Yt.onMouseDrag=Yt._onMouseDrag.event,Yt._onMouseDrop=Yt._register(new I.a),Yt.onMouseDrop=Yt._onMouseDrop.event,Yt._onMouseDropCanceled=Yt._register(new I.a),Yt.onMouseDropCanceled=Yt._onMouseDropCanceled.event,Yt._onContextMenu=Yt._register(new I.a),Yt.onContextMenu=Yt._onContextMenu.event,Yt._onMouseMove=Yt._register(new I.a),Yt.onMouseMove=Yt._onMouseMove.event,Yt._onMouseLeave=Yt._register(new I.a),Yt.onMouseLeave=Yt._onMouseLeave.event,Yt._onMouseWheel=Yt._register(new I.a),Yt.onMouseWheel=Yt._onMouseWheel.event,Yt._onKeyUp=Yt._register(new I.a),Yt.onKeyUp=Yt._onKeyUp.event,Yt._onKeyDown=Yt._register(new I.a),Yt.onKeyDown=Yt._onKeyDown.event,Yt._onDidContentSizeChange=Yt._register(new I.a),Yt.onDidContentSizeChange=Yt._onDidContentSizeChange.event,Yt._onDidScrollChange=Yt._register(new I.a),Yt.onDidScrollChange=Yt._onDidScrollChange.event,Yt._onDidChangeViewZones=Yt._register(new I.a),Yt.onDidChangeViewZones=Yt._onDidChangeViewZones.event;var Yn=Object.assign({},s);Yt._domElement=U,Yt._overflowWidgetsDomNode=Yn.overflowWidgetsDomNode,delete Yn.overflowWidgetsDomNode,Yt._id=++ou,Yt._decorationTypeKeysToIds={},Yt._decorationTypeSubtypes={},Yt.isSimpleWidget=N.isSimpleWidget||!1,Yt._telemetryData=N.telemetryData,Yt._configuration=Yt._register(Yt._createConfiguration(Yn,Wn)),Yt._register(Yt._configuration.onDidChange(function(Vi){Yt._onDidChangeConfiguration.fire(Vi);var da=Yt._configuration.options;if(Vi.hasChanged(127)){var ia=da.get(127);Yt._onDidLayoutChange.fire(ia)}})),Yt._contextKeyService=Yt._register(Ge.createScoped(Yt._domElement)),Yt._notificationService=fn,Yt._codeEditorService=xe,Yt._commandService=Je,Yt._themeService=qt,Yt._register(new Io(Object(r.a)(Yt),Yt._contextKeyService)),Yt._register(new po(Object(r.a)(Yt),Yt._contextKeyService)),Yt._instantiationService=Q.createChild(new Cr.a([Xn.b,Yt._contextKeyService])),Yt._modelData=null,Yt._contributions={},Yt._actions={},Yt._focusTracker=new fl(U),Yt._focusTracker.onChange(function(){Yt._editorWidgetFocus.setValue(Yt._focusTracker.hasFocus())}),Yt._contentWidgets={},Yt._overlayWidgets={};var hr;Array.isArray(N.contributions)?hr=N.contributions:hr=h.d.getEditorContributions();var Wr=Object(c.a)(hr),$r;try{for(Wr.s();!($r=Wr.n()).done;){var wi=$r.value;try{var fi=Yt._instantiationService.createInstance(wi.ctor,Object(r.a)(Yt));Yt._contributions[wi.id]=fi}catch(Vi){Object(T.e)(Vi)}}}catch(Vi){Wr.e(Vi)}finally{Wr.f()}return h.d.getEditorActions().forEach(function(Vi){var da=new Ir.a(Vi.id,Vi.label,Vi.alias,Object(Pi.n)(Vi.precondition),function(){return Yt._instantiationService.invokeFunction(function(ia){return Promise.resolve(Vi.runEditorCommand(ia,Object(r.a)(Yt),null))})},Yt._contextKeyService);Yt._actions[da.id]=da}),Yt._codeEditorService.addCodeEditor(Object(r.a)(Yt)),Yt}return Object(v.a)(F,[{key:"_createConfiguration",value:function(s,N){return new A.a(this.isSimpleWidget,s,this._domElement,N)}},{key:"getId",value:function(){return this.getEditorType()+":"+this._id}},{key:"getEditorType",value:function(){return Ur.a.ICodeEditor}},{key:"dispose",value:function(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();for(var s=Object.keys(this._contributions),N=0,Q=s.length;N<Q;N++){var xe=s[N];this._contributions[xe].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"invokeWithinContext",value:function(s){return this._instantiationService.invokeFunction(s)}},{key:"updateOptions",value:function(s){this._configuration.updateOptions(s)}},{key:"getOptions",value:function(){return this._configuration.options}},{key:"getOption",value:function(s){return this._configuration.options.get(s)}},{key:"getRawOptions",value:function(){return this._configuration.getRawOptions()}},{key:"getOverflowWidgetsDomNode",value:function(){return this._overflowWidgetsDomNode}},{key:"getConfiguredWordAtPosition",value:function(s){return this._modelData?Rl.a.getWordAtPosition(this._modelData.model,this._configuration.options.get(113),s):null}},{key:"getValue",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(!this._modelData)return"";var N=!!(s&&s.preserveBOM),Q=0;return s&&s.lineEnding&&s.lineEnding===`
- `?Q=1:s&&s.lineEnding&&s.lineEnding===`\r
- `&&(Q=2),this._modelData.model.getValue(Q,N)}},{key:"setValue",value:function(s){!this._modelData||this._modelData.model.setValue(s)}},{key:"getModel",value:function(){return this._modelData?this._modelData.model:null}},{key:"setModel",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,N=s;if(!(this._modelData===null&&N===null)&&!(this._modelData&&this._modelData.model===N)){var Q=this.hasTextFocus(),xe=this._detachModel();this._attachModel(N),Q&&this.hasModel()&&this.focus();var Je={oldModelUrl:xe?xe.uri:null,newModelUrl:N?N.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(Je),this._postDetachModelCleanup(xe)}}},{key:"_removeDecorationTypes",value:function(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(var s in this._decorationTypeSubtypes){var N=this._decorationTypeSubtypes[s];for(var Q in N)this._removeDecorationType(s+"-"+Q)}this._decorationTypeSubtypes={}}}},{key:"getVisibleRanges",value:function(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}},{key:"getVisibleRangesPlusViewportAboveBelow",value:function(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}},{key:"getWhitespaces",value:function(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}},{key:"getTopForLineNumber",value:function(s){return this._modelData?F._getVerticalOffsetForPosition(this._modelData,s,1):-1}},{key:"getTopForPosition",value:function(s,N){return this._modelData?F._getVerticalOffsetForPosition(this._modelData,s,N):-1}},{key:"setHiddenAreas",value:function(s){this._modelData&&this._modelData.viewModel.setHiddenAreas(s.map(function(N){return Ct.a.lift(N)}))}},{key:"getVisibleColumnFromPosition",value:function(s){if(!this._modelData)return s.column;var N=this._modelData.model.validatePosition(s),Q=this._modelData.model.getOptions().tabSize;return Bt.a.visibleColumnFromColumn(this._modelData.model.getLineContent(N.lineNumber),N.column,Q)+1}},{key:"getPosition",value:function(){return this._modelData?this._modelData.viewModel.getPosition():null}},{key:"setPosition",value:function(s){if(!!this._modelData){if(!bt.a.isIPosition(s))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections("api",[{selectionStartLineNumber:s.lineNumber,selectionStartColumn:s.column,positionLineNumber:s.lineNumber,positionColumn:s.column}])}}},{key:"_sendRevealRange",value:function(s,N,Q,xe){if(!!this._modelData){if(!Ct.a.isIRange(s))throw new Error("Invalid arguments");var Je=this._modelData.model.validateRange(s),Ge=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(Je);this._modelData.viewModel.revealRange("api",Q,Ge,N,xe)}}},{key:"revealLine",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealLine(s,0,N)}},{key:"revealLineInCenter",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealLine(s,1,N)}},{key:"revealLineInCenterIfOutsideViewport",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealLine(s,2,N)}},{key:"revealLineNearTop",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealLine(s,5,N)}},{key:"_revealLine",value:function(s,N,Q){if(typeof s!="number")throw new Error("Invalid arguments");this._sendRevealRange(new Ct.a(s,1,s,1),N,!1,Q)}},{key:"revealPosition",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealPosition(s,0,!0,N)}},{key:"revealPositionInCenter",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealPosition(s,1,!0,N)}},{key:"revealPositionInCenterIfOutsideViewport",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealPosition(s,2,!0,N)}},{key:"revealPositionNearTop",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealPosition(s,5,!0,N)}},{key:"_revealPosition",value:function(s,N,Q,xe){if(!bt.a.isIPosition(s))throw new Error("Invalid arguments");this._sendRevealRange(new Ct.a(s.lineNumber,s.column,s.lineNumber,s.column),N,Q,xe)}},{key:"getSelection",value:function(){return this._modelData?this._modelData.viewModel.getSelection():null}},{key:"getSelections",value:function(){return this._modelData?this._modelData.viewModel.getSelections():null}},{key:"setSelection",value:function(s){var N=d.a.isISelection(s),Q=Ct.a.isIRange(s);if(!N&&!Q)throw new Error("Invalid arguments");if(N)this._setSelectionImpl(s);else if(Q){var xe={selectionStartLineNumber:s.startLineNumber,selectionStartColumn:s.startColumn,positionLineNumber:s.endLineNumber,positionColumn:s.endColumn};this._setSelectionImpl(xe)}}},{key:"_setSelectionImpl",value:function(s){if(!!this._modelData){var N=new d.a(s.selectionStartLineNumber,s.selectionStartColumn,s.positionLineNumber,s.positionColumn);this._modelData.viewModel.setSelections("api",[N])}}},{key:"revealLines",value:function(s,N){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._revealLines(s,N,0,Q)}},{key:"revealLinesInCenter",value:function(s,N){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._revealLines(s,N,1,Q)}},{key:"revealLinesInCenterIfOutsideViewport",value:function(s,N){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._revealLines(s,N,2,Q)}},{key:"revealLinesNearTop",value:function(s,N){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this._revealLines(s,N,5,Q)}},{key:"_revealLines",value:function(s,N,Q,xe){if(typeof s!="number"||typeof N!="number")throw new Error("Invalid arguments");this._sendRevealRange(new Ct.a(s,1,N,1),Q,!1,xe)}},{key:"revealRange",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;this._revealRange(s,Q?1:0,xe,N)}},{key:"revealRangeInCenter",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealRange(s,1,!0,N)}},{key:"revealRangeInCenterIfOutsideViewport",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealRange(s,2,!0,N)}},{key:"revealRangeNearTop",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealRange(s,5,!0,N)}},{key:"revealRangeNearTopIfOutsideViewport",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealRange(s,6,!0,N)}},{key:"revealRangeAtTop",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._revealRange(s,3,!0,N)}},{key:"_revealRange",value:function(s,N,Q,xe){if(!Ct.a.isIRange(s))throw new Error("Invalid arguments");this._sendRevealRange(Ct.a.lift(s),N,Q,xe)}},{key:"setSelections",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"api",Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!!this._modelData){if(!s||s.length===0)throw new Error("Invalid arguments");for(var xe=0,Je=s.length;xe<Je;xe++)if(!d.a.isISelection(s[xe]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(N,s,Q)}}},{key:"getContentWidth",value:function(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}},{key:"getScrollWidth",value:function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}},{key:"getScrollLeft",value:function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}},{key:"getContentHeight",value:function(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}},{key:"getScrollHeight",value:function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}},{key:"getScrollTop",value:function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}},{key:"setScrollLeft",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;if(!!this._modelData){if(typeof s!="number")throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollLeft:s},N)}}},{key:"setScrollTop",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;if(!!this._modelData){if(typeof s!="number")throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollTop:s},N)}}},{key:"setScrollPosition",value:function(s){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;!this._modelData||this._modelData.viewModel.setScrollPosition(s,N)}},{key:"saveViewState",value:function(){if(!this._modelData)return null;for(var s={},N=Object.keys(this._contributions),Q=0,xe=N;Q<xe.length;Q++){var Je=xe[Q],Ge=this._contributions[Je];typeof Ge.saveViewState=="function"&&(s[Je]=Ge.saveViewState())}var qt=this._modelData.viewModel.saveCursorState(),fn=this._modelData.viewModel.saveState();return{cursorState:qt,viewState:fn,contributionsState:s}}},{key:"restoreViewState",value:function(s){if(!(!this._modelData||!this._modelData.hasRealView)){var N=s;if(N&&N.cursorState&&N.viewState){var Q=N.cursorState;Array.isArray(Q)?this._modelData.viewModel.restoreCursorState(Q):this._modelData.viewModel.restoreCursorState([Q]);for(var xe=N.contributionsState||{},Je=Object.keys(this._contributions),Ge=0,qt=Je.length;Ge<qt;Ge++){var fn=Je[Ge],Wn=this._contributions[fn];typeof Wn.restoreViewState=="function"&&Wn.restoreViewState(xe[fn])}var Yt=this._modelData.viewModel.reduceRestoreState(N.viewState);this._modelData.view.restoreState(Yt)}}}},{key:"getContribution",value:function(s){return this._contributions[s]||null}},{key:"getActions",value:function(){for(var s=[],N=Object.keys(this._actions),Q=0,xe=N.length;Q<xe;Q++){var Je=N[Q];s.push(this._actions[Je])}return s}},{key:"getSupportedActions",value:function(){var s=this.getActions();return s=s.filter(function(N){return N.isSupported()}),s}},{key:"getAction",value:function(s){return this._actions[s]||null}},{key:"trigger",value:function(s,N,Q){switch(Q=Q||{},N){case"compositionStart":this._startComposition();return;case"compositionEnd":this._endComposition(s);return;case"type":{var xe=Q;this._type(s,xe.text||"");return}case"replacePreviousChar":{var Je=Q;this._compositionType(s,Je.text||"",Je.replaceCharCnt||0,0,0);return}case"compositionType":{var Ge=Q;this._compositionType(s,Ge.text||"",Ge.replacePrevCharCnt||0,Ge.replaceNextCharCnt||0,Ge.positionDelta||0);return}case"paste":{var qt=Q;this._paste(s,qt.text||"",qt.pasteOnNewLine||!1,qt.multicursorText||null,qt.mode||null);return}case"cut":this._cut(s);return}var fn=this.getAction(N);if(fn){Promise.resolve(fn.run()).then(void 0,T.e);return}!this._modelData||this._triggerEditorCommand(s,N,Q)||this._triggerCommand(N,Q)}},{key:"_triggerCommand",value:function(s,N){this._commandService.executeCommand(s,N)}},{key:"_startComposition",value:function(){!this._modelData||(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}},{key:"_endComposition",value:function(s){!this._modelData||(this._modelData.viewModel.endComposition(s),this._onDidCompositionEnd.fire())}},{key:"_type",value:function(s,N){!this._modelData||N.length===0||(s==="keyboard"&&this._onWillType.fire(N),this._modelData.viewModel.type(N,s),s==="keyboard"&&this._onDidType.fire(N))}},{key:"_compositionType",value:function(s,N,Q,xe,Je){!this._modelData||this._modelData.viewModel.compositionType(N,Q,xe,Je,s)}},{key:"_paste",value:function(s,N,Q,xe,Je){if(!(!this._modelData||N.length===0)){var Ge=this._modelData.viewModel.getSelection().getStartPosition();this._modelData.viewModel.paste(N,Q,xe,s);var qt=this._modelData.viewModel.getSelection().getStartPosition();s==="keyboard"&&this._onDidPaste.fire({range:new Ct.a(Ge.lineNumber,Ge.column,qt.lineNumber,qt.column),mode:Je})}}},{key:"_cut",value:function(s){!this._modelData||this._modelData.viewModel.cut(s)}},{key:"_triggerEditorCommand",value:function(s,N,Q){var xe=this,Je=h.d.getEditorCommand(N);return Je?(Q=Q||{},Q.source=s,this._instantiationService.invokeFunction(function(Ge){Promise.resolve(Je.runEditorCommand(Ge,xe,Q)).then(void 0,T.e)}),!0):!1}},{key:"_getViewModel",value:function(){return this._modelData?this._modelData.viewModel:null}},{key:"pushUndoStop",value:function(){return!this._modelData||this._configuration.options.get(77)?!1:(this._modelData.model.pushStackElement(),!0)}},{key:"popUndoStop",value:function(){return!this._modelData||this._configuration.options.get(77)?!1:(this._modelData.model.popStackElement(),!0)}},{key:"executeEdits",value:function(s,N,Q){if(!this._modelData||this._configuration.options.get(77))return!1;var xe;return Q?Array.isArray(Q)?xe=function(){return Q}:xe=Q:xe=function(){return null},this._modelData.viewModel.executeEdits(s,N,xe),!0}},{key:"executeCommand",value:function(s,N){!this._modelData||this._modelData.viewModel.executeCommand(N,s)}},{key:"executeCommands",value:function(s,N){!this._modelData||this._modelData.viewModel.executeCommands(N,s)}},{key:"changeDecorations",value:function(s){return this._modelData?this._modelData.model.changeDecorations(s,this._id):null}},{key:"getLineDecorations",value:function(s){return this._modelData?this._modelData.model.getLineDecorations(s,this._id,Object(ft.m)(this._configuration.options)):null}},{key:"deltaDecorations",value:function(s,N){return this._modelData?s.length===0&&N.length===0?s:this._modelData.model.deltaDecorations(s,N,this._id):[]}},{key:"removeDecorations",value:function(s){var N=this._decorationTypeKeysToIds[s];N&&this.deltaDecorations(N,[]),this._decorationTypeKeysToIds.hasOwnProperty(s)&&delete this._decorationTypeKeysToIds[s],this._decorationTypeSubtypes.hasOwnProperty(s)&&delete this._decorationTypeSubtypes[s]}},{key:"getLayoutInfo",value:function(){var s=this._configuration.options,N=s.get(127);return N}},{key:"createOverviewRuler",value:function(s){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.createOverviewRuler(s)}},{key:"getContainerDomNode",value:function(){return this._domElement}},{key:"getDomNode",value:function(){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.domNode.domNode}},{key:"delegateVerticalScrollbarMouseDown",value:function(s){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateVerticalScrollbarMouseDown(s)}},{key:"layout",value:function(s){this._configuration.observeReferenceElement(s),this.render()}},{key:"focus",value:function(){!this._modelData||!this._modelData.hasRealView||this._modelData.view.focus()}},{key:"hasTextFocus",value:function(){return!this._modelData||!this._modelData.hasRealView?!1:this._modelData.view.isFocused()}},{key:"hasWidgetFocus",value:function(){return this._focusTracker&&this._focusTracker.hasFocus()}},{key:"addContentWidget",value:function(s){var N={widget:s,position:s.getPosition()};this._contentWidgets.hasOwnProperty(s.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[s.getId()]=N,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(N)}},{key:"layoutContentWidget",value:function(s){var N=s.getId();if(this._contentWidgets.hasOwnProperty(N)){var Q=this._contentWidgets[N];Q.position=s.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(Q)}}},{key:"removeContentWidget",value:function(s){var N=s.getId();if(this._contentWidgets.hasOwnProperty(N)){var Q=this._contentWidgets[N];delete this._contentWidgets[N],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(Q)}}},{key:"addOverlayWidget",value:function(s){var N={widget:s,position:s.getPosition()};this._overlayWidgets.hasOwnProperty(s.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[s.getId()]=N,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(N)}},{key:"layoutOverlayWidget",value:function(s){var N=s.getId();if(this._overlayWidgets.hasOwnProperty(N)){var Q=this._overlayWidgets[N];Q.position=s.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(Q)}}},{key:"removeOverlayWidget",value:function(s){var N=s.getId();if(this._overlayWidgets.hasOwnProperty(N)){var Q=this._overlayWidgets[N];delete this._overlayWidgets[N],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(Q)}}},{key:"changeViewZones",value:function(s){!this._modelData||!this._modelData.hasRealView||this._modelData.view.change(s)}},{key:"getTargetAtClientPoint",value:function(s,N){return!this._modelData||!this._modelData.hasRealView?null:this._modelData.view.getTargetAtClientPoint(s,N)}},{key:"getScrolledVisiblePosition",value:function(s){if(!this._modelData||!this._modelData.hasRealView)return null;var N=this._modelData.model.validatePosition(s),Q=this._configuration.options,xe=Q.get(127),Je=F._getVerticalOffsetForPosition(this._modelData,N.lineNumber,N.column)-this.getScrollTop(),Ge=this._modelData.view.getOffsetForColumn(N.lineNumber,N.column)+xe.glyphMarginWidth+xe.lineNumbersWidth+xe.decorationsWidth-this.getScrollLeft();return{top:Je,left:Ge,height:Q.get(55)}}},{key:"getOffsetForColumn",value:function(s,N){return!this._modelData||!this._modelData.hasRealView?-1:this._modelData.view.getOffsetForColumn(s,N)}},{key:"render",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;!this._modelData||!this._modelData.hasRealView||this._modelData.view.render(!0,s)}},{key:"setAriaOptions",value:function(s){!this._modelData||!this._modelData.hasRealView||this._modelData.view.setAriaOptions(s)}},{key:"applyFontInfo",value:function(s){A.a.applyFontInfoSlow(s,this._configuration.options.get(40))}},{key:"_attachModel",value:function(s){var N=this;if(!s){this._modelData=null;return}var Q=[];this._domElement.setAttribute("data-mode-id",s.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(s.isDominatedByLongLines()),this._configuration.setMaxLineNumber(s.getLineCount()),s.onBeforeAttached();var xe=new Nn(this._id,this._configuration,s,Jo.create(),wa.create(this._configuration.options),function(fi){return k.scheduleAtNextAnimationFrame(fi)});Q.push(s.onDidChangeDecorations(function(fi){return N._onDidChangeModelDecorations.fire(fi)})),Q.push(s.onDidChangeLanguage(function(fi){N._domElement.setAttribute("data-mode-id",s.getLanguageIdentifier().language),N._onDidChangeModelLanguage.fire(fi)})),Q.push(s.onDidChangeLanguageConfiguration(function(fi){return N._onDidChangeModelLanguageConfiguration.fire(fi)})),Q.push(s.onDidChangeContent(function(fi){return N._onDidChangeModelContent.fire(fi)})),Q.push(s.onDidChangeOptions(function(fi){return N._onDidChangeModelOptions.fire(fi)})),Q.push(s.onWillDispose(function(){return N.setModel(null)})),Q.push(xe.onEvent(function(fi){switch(fi.kind){case 0:N._onDidContentSizeChange.fire(fi);break;case 1:N._editorTextFocus.setValue(fi.hasFocus);break;case 2:N._onDidScrollChange.fire(fi);break;case 3:N._onDidChangeViewZones.fire();break;case 4:N._onDidAttemptReadOnlyEdit.fire();break;case 5:{fi.reachedMaxCursorCount&&N._notificationService.warn(S.a("cursors.maximum","The number of cursors has been limited to {0}.",gi.MAX_CURSOR_COUNT));for(var Vi=[],da=0,ia=fi.selections.length;da<ia;da++)Vi[da]=fi.selections[da].getPosition();var ma={position:Vi[0],secondaryPositions:Vi.slice(1),reason:fi.reason,source:fi.source};N._onDidChangeCursorPosition.fire(ma);var Ea={selection:fi.selections[0],secondarySelections:fi.selections.slice(1),modelVersionId:fi.modelVersionId,oldSelections:fi.oldSelections,oldModelVersionId:fi.oldModelVersionId,source:fi.source,reason:fi.reason};N._onDidChangeCursorSelection.fire(Ea);break}}}));var Je=this._createView(xe),Ge=Object(u.a)(Je,2),qt=Ge[0],fn=Ge[1];if(fn){this._domElement.appendChild(qt.domNode.domNode);for(var Wn=Object.keys(this._contentWidgets),Yt=0,Yn=Wn.length;Yt<Yn;Yt++){var hr=Wn[Yt];qt.addContentWidget(this._contentWidgets[hr])}Wn=Object.keys(this._overlayWidgets);for(var Wr=0,$r=Wn.length;Wr<$r;Wr++){var wi=Wn[Wr];qt.addOverlayWidget(this._overlayWidgets[wi])}qt.render(!1,!0),qt.domNode.domNode.setAttribute("data-uri",s.uri.toString())}this._modelData=new Vu(s,xe,qt,fn,Q)}},{key:"_createView",value:function(s){var N=this,Q;this.isSimpleWidget?Q={paste:function(qt,fn,Wn,Yt){N._paste("keyboard",qt,fn,Wn,Yt)},type:function(qt){N._type("keyboard",qt)},compositionType:function(qt,fn,Wn,Yt){N._compositionType("keyboard",qt,fn,Wn,Yt)},startComposition:function(){N._startComposition()},endComposition:function(){N._endComposition("keyboard")},cut:function(){N._cut("keyboard")}}:Q={paste:function(qt,fn,Wn,Yt){var Yn={text:qt,pasteOnNewLine:fn,multicursorText:Wn,mode:Yt};N._commandService.executeCommand("paste",Yn)},type:function(qt){var fn={text:qt};N._commandService.executeCommand("type",fn)},compositionType:function(qt,fn,Wn,Yt){if(Wn||Yt){var Yn={text:qt,replacePrevCharCnt:fn,replaceNextCharCnt:Wn,positionDelta:Yt};N._commandService.executeCommand("compositionType",Yn)}else{var hr={text:qt,replaceCharCnt:fn};N._commandService.executeCommand("replacePreviousChar",hr)}},startComposition:function(){N._commandService.executeCommand("compositionStart",{})},endComposition:function(){N._commandService.executeCommand("compositionEnd",{})},cut:function(){N._commandService.executeCommand("cut",{})}};var xe=new yr(s.coordinatesConverter);xe.onKeyDown=function(Ge){return N._onKeyDown.fire(Ge)},xe.onKeyUp=function(Ge){return N._onKeyUp.fire(Ge)},xe.onContextMenu=function(Ge){return N._onContextMenu.fire(Ge)},xe.onMouseMove=function(Ge){return N._onMouseMove.fire(Ge)},xe.onMouseLeave=function(Ge){return N._onMouseLeave.fire(Ge)},xe.onMouseDown=function(Ge){return N._onMouseDown.fire(Ge)},xe.onMouseUp=function(Ge){return N._onMouseUp.fire(Ge)},xe.onMouseDrag=function(Ge){return N._onMouseDrag.fire(Ge)},xe.onMouseDrop=function(Ge){return N._onMouseDrop.fire(Ge)},xe.onMouseDropCanceled=function(Ge){return N._onMouseDropCanceled.fire(Ge)},xe.onMouseWheel=function(Ge){return N._onMouseWheel.fire(Ge)};var Je=new fr(Q,this._configuration,this._themeService,s,xe,this._overflowWidgetsDomNode);return[Je,!0]}},{key:"_postDetachModelCleanup",value:function(s){s&&s.removeAllDecorationsWithOwnerId(this._id)}},{key:"_detachModel",value:function(){if(!this._modelData)return null;var s=this._modelData.model,N=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),N&&this._domElement.contains(N)&&this._domElement.removeChild(N),s}},{key:"_removeDecorationType",value:function(s){this._codeEditorService.removeDecorationType(s)}},{key:"hasModel",value:function(){return this._modelData!==null}}],[{key:"_getVerticalOffsetForPosition",value:function(s,N,Q){var xe=s.model.validatePosition({lineNumber:N,column:Q}),Je=s.viewModel.coordinatesConverter.convertModelPositionToViewPosition(xe);return s.viewModel.viewLayout.getVerticalOffsetForLineNumber(Je.lineNumber)}}]),F}(Y.a);Du=bl([Tl(3,Jn.a),Tl(4,g.a),Tl(5,Bn.b),Tl(6,Xn.b),Tl(7,Kt.b),Tl(8,Kr.a),Tl(9,ti.b)],Du);var qo=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(){var U;return Object(n.a)(this,F),U=He.call(this),U._onDidChangeToTrue=U._register(new I.a),U.onDidChangeToTrue=U._onDidChangeToTrue.event,U._onDidChangeToFalse=U._register(new I.a),U.onDidChangeToFalse=U._onDidChangeToFalse.event,U._value=0,U}return Object(v.a)(F,[{key:"setValue",value:function(s){var N=s?2:1;this._value!==N&&(this._value=N,this._value===2?this._onDidChangeToTrue.fire():this._value===1&&this._onDidChangeToFalse.fire())}}]),F}(Y.a),Io=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s){var N;return Object(n.a)(this,F),N=He.call(this),N._editor=U,s.createKey("editorId",U.getId()),N._editorSimpleInput=Li.a.editorSimpleInput.bindTo(s),N._editorFocus=Li.a.focus.bindTo(s),N._textInputFocus=Li.a.textInputFocus.bindTo(s),N._editorTextFocus=Li.a.editorTextFocus.bindTo(s),N._editorTabMovesFocus=Li.a.tabMovesFocus.bindTo(s),N._editorReadonly=Li.a.readOnly.bindTo(s),N._inDiffEditor=Li.a.inDiffEditor.bindTo(s),N._editorColumnSelection=Li.a.columnSelection.bindTo(s),N._hasMultipleSelections=Li.a.hasMultipleSelections.bindTo(s),N._hasNonEmptySelection=Li.a.hasNonEmptySelection.bindTo(s),N._canUndo=Li.a.canUndo.bindTo(s),N._canRedo=Li.a.canRedo.bindTo(s),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._editorSimpleInput.set(N._editor.isSimpleWidget),N}return Object(v.a)(F,[{key:"_updateFromConfig",value:function(){var s=this._editor.getOptions();this._editorTabMovesFocus.set(s.get(126)),this._editorReadonly.set(s.get(77)),this._inDiffEditor.set(s.get(51)),this._editorColumnSelection.set(s.get(16))}},{key:"_updateFromSelection",value:function(){var s=this._editor.getSelections();s?(this._hasMultipleSelections.set(s.length>1),this._hasNonEmptySelection.set(s.some(function(N){return!N.isEmpty()}))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}},{key:"_updateFromFocus",value: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())}},{key:"_updateFromModel",value:function(){var s=this._editor.getModel();this._canUndo.set(Boolean(s&&s.canUndo())),this._canRedo.set(Boolean(s&&s.canRedo()))}}]),F}(Y.a),po=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U,s){var N;Object(n.a)(this,F),N=He.call(this),N._editor=U,N._contextKeyService=s,N._langId=Li.a.languageId.bindTo(s),N._hasCompletionItemProvider=Li.a.hasCompletionItemProvider.bindTo(s),N._hasCodeActionsProvider=Li.a.hasCodeActionsProvider.bindTo(s),N._hasCodeLensProvider=Li.a.hasCodeLensProvider.bindTo(s),N._hasDefinitionProvider=Li.a.hasDefinitionProvider.bindTo(s),N._hasDeclarationProvider=Li.a.hasDeclarationProvider.bindTo(s),N._hasImplementationProvider=Li.a.hasImplementationProvider.bindTo(s),N._hasTypeDefinitionProvider=Li.a.hasTypeDefinitionProvider.bindTo(s),N._hasHoverProvider=Li.a.hasHoverProvider.bindTo(s),N._hasDocumentHighlightProvider=Li.a.hasDocumentHighlightProvider.bindTo(s),N._hasDocumentSymbolProvider=Li.a.hasDocumentSymbolProvider.bindTo(s),N._hasReferenceProvider=Li.a.hasReferenceProvider.bindTo(s),N._hasRenameProvider=Li.a.hasRenameProvider.bindTo(s),N._hasSignatureHelpProvider=Li.a.hasSignatureHelpProvider.bindTo(s),N._hasInlineHintsProvider=Li.a.hasInlineHintsProvider.bindTo(s),N._hasDocumentFormattingProvider=Li.a.hasDocumentFormattingProvider.bindTo(s),N._hasDocumentSelectionFormattingProvider=Li.a.hasDocumentSelectionFormattingProvider.bindTo(s),N._hasMultipleDocumentFormattingProvider=Li.a.hasMultipleDocumentFormattingProvider.bindTo(s),N._hasMultipleDocumentSelectionFormattingProvider=Li.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(s),N._isInWalkThrough=Li.a.isInWalkThroughSnippet.bindTo(s);var Q=function(){return N._update()};return N._register(U.onDidChangeModel(Q)),N._register(U.onDidChangeModelLanguage(Q)),N._register(Rr.d.onDidChange(Q)),N._register(Rr.a.onDidChange(Q)),N._register(Rr.b.onDidChange(Q)),N._register(Rr.f.onDidChange(Q)),N._register(Rr.e.onDidChange(Q)),N._register(Rr.q.onDidChange(Q)),N._register(Rr.E.onDidChange(Q)),N._register(Rr.p.onDidChange(Q)),N._register(Rr.i.onDidChange(Q)),N._register(Rr.m.onDidChange(Q)),N._register(Rr.w.onDidChange(Q)),N._register(Rr.x.onDidChange(Q)),N._register(Rr.g.onDidChange(Q)),N._register(Rr.j.onDidChange(Q)),N._register(Rr.z.onDidChange(Q)),N._register(Rr.r.onDidChange(Q)),Q(),N}return Object(v.a)(F,[{key:"dispose",value:function(){Object(f.a)(Object(o.a)(F.prototype),"dispose",this).call(this)}},{key:"reset",value:function(){var s=this;this._contextKeyService.bufferChangeEvents(function(){s._langId.reset(),s._hasCompletionItemProvider.reset(),s._hasCodeActionsProvider.reset(),s._hasCodeLensProvider.reset(),s._hasDefinitionProvider.reset(),s._hasDeclarationProvider.reset(),s._hasImplementationProvider.reset(),s._hasTypeDefinitionProvider.reset(),s._hasHoverProvider.reset(),s._hasDocumentHighlightProvider.reset(),s._hasDocumentSymbolProvider.reset(),s._hasReferenceProvider.reset(),s._hasRenameProvider.reset(),s._hasDocumentFormattingProvider.reset(),s._hasDocumentSelectionFormattingProvider.reset(),s._hasSignatureHelpProvider.reset(),s._isInWalkThrough.reset()})}},{key:"_update",value:function(){var s=this,N=this._editor.getModel();if(!N){this.reset();return}this._contextKeyService.bufferChangeEvents(function(){s._langId.set(N.getLanguageIdentifier().language),s._hasCompletionItemProvider.set(Rr.d.has(N)),s._hasCodeActionsProvider.set(Rr.a.has(N)),s._hasCodeLensProvider.set(Rr.b.has(N)),s._hasDefinitionProvider.set(Rr.f.has(N)),s._hasDeclarationProvider.set(Rr.e.has(N)),s._hasImplementationProvider.set(Rr.q.has(N)),s._hasTypeDefinitionProvider.set(Rr.E.has(N)),s._hasHoverProvider.set(Rr.p.has(N)),s._hasDocumentHighlightProvider.set(Rr.i.has(N)),s._hasDocumentSymbolProvider.set(Rr.m.has(N)),s._hasReferenceProvider.set(Rr.w.has(N)),s._hasRenameProvider.set(Rr.x.has(N)),s._hasSignatureHelpProvider.set(Rr.z.has(N)),s._hasInlineHintsProvider.set(Rr.r.has(N)),s._hasDocumentFormattingProvider.set(Rr.g.has(N)||Rr.j.has(N)),s._hasDocumentSelectionFormattingProvider.set(Rr.j.has(N)),s._hasMultipleDocumentFormattingProvider.set(Rr.g.all(N).length+Rr.j.all(N).length>1),s._hasMultipleDocumentSelectionFormattingProvider.set(Rr.j.all(N).length>1),s._isInWalkThrough.set(N.uri.scheme===$.c.walkThroughSnippet)})}}]),F}(Y.a),fl=function(Lt){Object(i.a)(F,Lt);var He=Object(a.a)(F);function F(U){var s;return Object(n.a)(this,F),s=He.call(this),s._onChange=s._register(new I.a),s.onChange=s._onChange.event,s._hasFocus=!1,s._domFocusTracker=s._register(k.trackFocus(U)),s._register(s._domFocusTracker.onDidFocus(function(){s._hasFocus=!0,s._onChange.fire(void 0)})),s._register(s._domFocusTracker.onDidBlur(function(){s._hasFocus=!1,s._onChange.fire(void 0)})),s}return Object(v.a)(F,[{key:"hasFocus",value:function(){return this._hasFocus}}]),F}(Y.a),ir=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='"),Al=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 gu(Lt){return ir+encodeURIComponent(Lt.toString())+Al}var Vl=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),vs=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');function nu(Lt){return Vl+encodeURIComponent(Lt.toString())+vs}Object(Kt.f)(function(Lt,He){var F=Lt.getColor(bi.t);F&&He.addRule(".monaco-editor .".concat("squiggly-error"," { border-bottom: 4px double ",F,"; }"));var U=Lt.getColor(bi.u);U&&He.addRule(".monaco-editor .".concat("squiggly-error",' { background: url("data:image/svg+xml,',gu(U),'") repeat-x bottom left; }'));var s=Lt.getColor(bi.s);s&&He.addRule(".monaco-editor .".concat("squiggly-error","::before { display: block; content: ''; width: 100%; height: 100%; background: ",s,"; }"));var N=Lt.getColor(bi.W);N&&He.addRule(".monaco-editor .".concat("squiggly-warning"," { border-bottom: 4px double ",N,"; }"));var Q=Lt.getColor(bi.X);Q&&He.addRule(".monaco-editor .".concat("squiggly-warning",' { background: url("data:image/svg+xml,',gu(Q),'") repeat-x bottom left; }'));var xe=Lt.getColor(bi.V);xe&&He.addRule(".monaco-editor .".concat("squiggly-warning","::before { display: block; content: ''; width: 100%; height: 100%; background: ",xe,"; }"));var Je=Lt.getColor(bi.L);Je&&He.addRule(".monaco-editor .".concat("squiggly-info"," { border-bottom: 4px double ",Je,"; }"));var Ge=Lt.getColor(bi.M);Ge&&He.addRule(".monaco-editor .".concat("squiggly-info",' { background: url("data:image/svg+xml,',gu(Ge),'") repeat-x bottom left; }'));var qt=Lt.getColor(bi.K);qt&&He.addRule(".monaco-editor .".concat("squiggly-info","::before { display: block; content: ''; width: 100%; height: 100%; background: ",qt,"; }"));var fn=Lt.getColor(bi.C);fn&&He.addRule(".monaco-editor .".concat("squiggly-hint"," { border-bottom: 2px dotted ",fn,"; }"));var Wn=Lt.getColor(bi.D);Wn&&He.addRule(".monaco-editor .".concat("squiggly-hint",' { background: url("data:image/svg+xml,',nu(Wn),'") no-repeat bottom left; }'));var Yt=Lt.getColor(ct.p);Yt&&He.addRule(".monaco-editor.showUnused .".concat("squiggly-inline-unnecessary"," { opacity: ",Yt.rgba.a,"; }"));var Yn=Lt.getColor(ct.o);Yn&&He.addRule(".monaco-editor.showUnused .".concat("squiggly-unnecessary"," { border-bottom: 2px dashed ",Yn,"; }"));var hr=Lt.getColor(bi.B)||"inherit";He.addRule(".monaco-editor.showDeprecated .".concat("squiggly-inline-deprecated"," { text-decoration: line-through; text-decoration-color: ",hr,"}"))})},nD70:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r}),e.d(M,"b",function(){return f});var u=e("fWQN"),c=e("mtLc"),r=function(){function o(i){Object(u.a)(this,o),this._prefix=i,this._lastId=0}return Object(c.a)(o,[{key:"nextId",value:function(){return this._prefix+ ++this._lastId}}]),o}(),f=new r("id#")},nEHx:function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});var u;(function(c){c.DARK="dark",c.LIGHT="light",c.HIGH_CONTRAST="hc"})(u||(u={}))},nRaC:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("0fbx"),f=e.n(r),o=e("R9oj"),i=e("OaEy")},nSmt:function(Ie,M,e){},nXVj:function(Ie,M,e){"use strict";M.a=function(u){return function(){return u}}},nhC9:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("nKUr"),r=e("lIPi"),f=e("+AS1"),o=e("/4Qr"),i=function(h){return Object(c.jsx)(r.a,Object(u.a)({bodyStyle:{padding:0}},h))},a=r.a;a.isProCard=!0,a.Divider=f.a,a.TabPane=o.a,a.Group=i;var n=a,v=M.a=n},nnTU:function(Ie,M,e){"use strict";e.d(M,"b",function(){return m}),e.d(M,"a",function(){return h});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("pmY6"),o=e("746U"),i=e("Cg/j"),a=e("MI8n"),n=e("24hK"),v=e("JYp7"),m=Object(i.c)("commandService"),h=new(function(){function t(){Object(c.a)(this,t),this._commands=new Map,this._onDidRegisterCommand=new a.a,this.onDidRegisterCommand=this._onDidRegisterCommand.event}return Object(r.a)(t,[{key:"registerCommand",value:function(p,w){var S=this;if(!p)throw new Error("invalid command");if(typeof p=="string"){if(!w)throw new Error("invalid command");return this.registerCommand({id:p,handler:w})}if(p.description){var k=[],T=Object(u.a)(p.description.args),I;try{for(T.s();!(I=T.n()).done;){var Y=I.value;k.push(Y.constraint)}}catch(O){T.e(O)}finally{T.f()}var $=p.handler;p.handler=function(O){for(var E=arguments.length,D=new Array(E>1?E-1:0),W=1;W<E;W++)D[W-1]=arguments[W];return Object(o.m)(D,k),$.apply(void 0,[O].concat(D))}}var A=p.id,g=this._commands.get(A);g||(g=new n.a,this._commands.set(A,g));var b=g.unshift(p),d=Object(f.h)(function(){b();var O=S._commands.get(A);(O==null?void 0:O.isEmpty())&&S._commands.delete(A)});return this._onDidRegisterCommand.fire(A),d}},{key:"registerCommandAlias",value:function(p,w){return h.registerCommand(p,function(S){for(var k,T=arguments.length,I=new Array(T>1?T-1:0),Y=1;Y<T;Y++)I[Y-1]=arguments[Y];return(k=S.get(m)).executeCommand.apply(k,[w].concat(I))})}},{key:"getCommand",value:function(p){var w=this._commands.get(p);if(!(!w||w.isEmpty()))return v.a.first(w)}},{key:"getCommands",value:function(){var p=new Map,w=Object(u.a)(this._commands.keys()),S;try{for(w.s();!(S=w.n()).done;){var k=S.value,T=this.getCommand(k);T&&p.set(k,T)}}catch(I){w.e(I)}finally{w.f()}return p}}]),t}());h.registerCommand("noop",function(){})},noZS:function(Ie,M,e){var u=e("hypo"),c=e("JC6p"),r=e("ut/Y");function f(o,i){var a={};return i=r(i,3),c(o,function(n,v,m){u(a,v,i(n,v,m))}),a}Ie.exports=f},nrhi:function(Ie,M,e){"use strict";e.d(M,"a",function(){return n});var u=e("fWQN"),c=e("mtLc"),r=e("/kV6"),f=e("MNsG"),o=e("nnTU"),i=e("ic2d"),a=function(){function h(){Object(u.a)(this,h),this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}return Object(c.a)(h,[{key:"registerKeybindingRule",value:function(l){var p=h.bindToCurrentPlatform(l);if(p&&p.primary){var w=Object(r.f)(p.primary,f.a);w&&this._registerDefaultKeybinding(w,l.id,l.args,l.weight,0,l.when)}if(p&&Array.isArray(p.secondary))for(var S=0,k=p.secondary.length;S<k;S++){var T=p.secondary[S],I=Object(r.f)(T,f.a);I&&this._registerDefaultKeybinding(I,l.id,l.args,l.weight,-S-1,l.when)}}},{key:"registerCommandAndKeybindingRule",value:function(l){this.registerKeybindingRule(l),o.a.registerCommand(l)}},{key:"_assertNoCtrlAlt",value:function(l,p){l.ctrlKey&&l.altKey&&!l.metaKey&&h._mightProduceChar(l.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",l," for ",p)}},{key:"_registerDefaultKeybinding",value:function(l,p,w,S,k,T){f.a===1&&this._assertNoCtrlAlt(l.parts[0],p),this._coreKeybindings.push({keybinding:l,command:p,commandArgs:w,when:T,weight1:S,weight2:k,extensionId:null,isBuiltinExtension:!1}),this._cachedMergedKeybindings=null}},{key:"getDefaultKeybindings",value:function(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(m)),this._cachedMergedKeybindings.slice(0)}}],[{key:"bindToCurrentPlatform",value:function(l){if(f.a===1){if(l&&l.win)return l.win}else if(f.a===2){if(l&&l.mac)return l.mac}else if(l&&l.linux)return l.linux;return l}},{key:"_mightProduceChar",value:function(l){return l>=21&&l<=30||l>=31&&l<=56?!0:l===80||l===81||l===82||l===83||l===84||l===85||l===86||l===110||l===111||l===87||l===88||l===89||l===90||l===91||l===92}}]),h}(),n=new a,v={EditorModes:"platform.keybindingsRegistry"};i.a.add(v.EditorModes,n);function m(h,t){return h.weight1!==t.weight1?h.weight1-t.weight1:h.command<t.command?-1:h.command>t.command?1:h.weight2-t.weight2}},nuFA:function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});var u;(function(c){function r(a,n){if(a.start>=n.end||n.start>=a.end)return{start:0,end:0};var v=Math.max(a.start,n.start),m=Math.min(a.end,n.end);return m-v<=0?{start:0,end:0}:{start:v,end:m}}c.intersect=r;function f(a){return a.end-a.start<=0}c.isEmpty=f;function o(a,n){return!f(r(a,n))}c.intersects=o;function i(a,n){var v=[],m={start:a.start,end:Math.min(n.start,a.end)},h={start:Math.max(n.end,a.start),end:a.end};return f(m)||v.push(m),f(h)||v.push(h),v}c.relativeComplement=i})(u||(u={}))},o39E:function(Ie,M,e){"use strict";e.d(M,"a",function(){return n});var u=e("fWQN"),c=e("mtLc"),r=e("w4Tj"),f=e("oZsa"),o=e("yKVA"),i=e("879j"),a=e("pmY6"),n=function(v){Object(o.a)(h,v);var m=Object(i.a)(h);function h(t,l,p){var w;return Object(u.a)(this,h),w=m.call(this),w.referenceDomElement=t,w.changeCallback=p,w.width=-1,w.height=-1,w.resizeObserver=null,w.measureReferenceDomElementToken=-1,w.measureReferenceDomElement(!1,l),w}return Object(c.a)(h,[{key:"dispose",value:function(){this.stopObserving(),Object(r.a)(Object(f.a)(h.prototype),"dispose",this).call(this)}},{key:"getWidth",value:function(){return this.width}},{key:"getHeight",value:function(){return this.height}},{key:"startObserving",value:function(){var l=this;typeof ResizeObserver!="undefined"?!this.resizeObserver&&this.referenceDomElement&&(this.resizeObserver=new ResizeObserver(function(p){p&&p[0]&&p[0].contentRect?l.observe({width:p[0].contentRect.width,height:p[0].contentRect.height}):l.observe()}),this.resizeObserver.observe(this.referenceDomElement)):this.measureReferenceDomElementToken===-1&&(this.measureReferenceDomElementToken=setInterval(function(){return l.observe()},100))}},{key:"stopObserving",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.measureReferenceDomElementToken!==-1&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)}},{key:"observe",value:function(l){this.measureReferenceDomElement(!0,l)}},{key:"measureReferenceDomElement",value:function(l,p){var w=0,S=0;p?(w=p.width,S=p.height):this.referenceDomElement&&(w=this.referenceDomElement.clientWidth,S=this.referenceDomElement.clientHeight),w=Math.max(5,w),S=Math.max(5,S),(this.width!==w||this.height!==S)&&(this.width=w,this.height=S,l&&this.changeCallback())}}]),h}(a.a)},oAeH:function(Ie,M,e){"use strict";e.d(M,"b",function(){return v}),e.d(M,"a",function(){return m});var u=e("fWQN"),c=e("mtLc"),r=e("746U"),f=e("Ll0s"),o=e("+Fos"),i=e("1I1M"),a=e("cGHE"),n=e("aokT"),v=function(){function h(){Object(u.a)(this,h)}return Object(c.a)(h,null,[{key:"addCursorDown",value:function(l,p,w){for(var S=[],k=0,T=0,I=p.length;T<I;T++){var Y=p[T];S[k++]=new f.d(Y.modelState,Y.viewState),w?S[k++]=f.d.fromModelState(o.a.translateDown(l.cursorConfig,l.model,Y.modelState)):S[k++]=f.d.fromViewState(o.a.translateDown(l.cursorConfig,l,Y.viewState))}return S}},{key:"addCursorUp",value:function(l,p,w){for(var S=[],k=0,T=0,I=p.length;T<I;T++){var Y=p[T];S[k++]=new f.d(Y.modelState,Y.viewState),w?S[k++]=f.d.fromModelState(o.a.translateUp(l.cursorConfig,l.model,Y.modelState)):S[k++]=f.d.fromViewState(o.a.translateUp(l.cursorConfig,l,Y.viewState))}return S}},{key:"moveToBeginningOfLine",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k];S[k]=this._moveToLineStart(l,I,w)}return S}},{key:"_moveToLineStart",value:function(l,p,w){var S=p.viewState.position.column,k=p.modelState.position.column,T=S===k,I=p.viewState.position.lineNumber,Y=l.getLineFirstNonWhitespaceColumn(I),$=S===Y;return!T&&!$?this._moveToLineStartByView(l,p,w):this._moveToLineStartByModel(l,p,w)}},{key:"_moveToLineStartByView",value:function(l,p,w){return f.d.fromViewState(o.a.moveToBeginningOfLine(l.cursorConfig,l,p.viewState,w))}},{key:"_moveToLineStartByModel",value:function(l,p,w){return f.d.fromModelState(o.a.moveToBeginningOfLine(l.cursorConfig,l.model,p.modelState,w))}},{key:"moveToEndOfLine",value:function(l,p,w,S){for(var k=[],T=0,I=p.length;T<I;T++){var Y=p[T];k[T]=this._moveToLineEnd(l,Y,w,S)}return k}},{key:"_moveToLineEnd",value:function(l,p,w,S){var k=p.viewState.position,T=l.getLineMaxColumn(k.lineNumber),I=k.column===T,Y=p.modelState.position,$=l.model.getLineMaxColumn(Y.lineNumber),A=T-k.column==$-Y.column;return I||A?this._moveToLineEndByModel(l,p,w,S):this._moveToLineEndByView(l,p,w,S)}},{key:"_moveToLineEndByView",value:function(l,p,w,S){return f.d.fromViewState(o.a.moveToEndOfLine(l.cursorConfig,l,p.viewState,w,S))}},{key:"_moveToLineEndByModel",value:function(l,p,w,S){return f.d.fromModelState(o.a.moveToEndOfLine(l.cursorConfig,l.model,p.modelState,w,S))}},{key:"expandLineSelection",value:function(l,p){for(var w=[],S=0,k=p.length;S<k;S++){var T=p[S],I=T.modelState.selection.startLineNumber,Y=l.model.getLineCount(),$=T.modelState.selection.endLineNumber,A=void 0;$===Y?A=l.model.getLineMaxColumn(Y):($++,A=1),w[S]=f.d.fromModelState(new f.f(new n.a(I,1,I,1),0,new a.a($,A),0))}return w}},{key:"moveToBeginningOfBuffer",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k];S[k]=f.d.fromModelState(o.a.moveToBeginningOfBuffer(l.cursorConfig,l.model,I.modelState,w))}return S}},{key:"moveToEndOfBuffer",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k];S[k]=f.d.fromModelState(o.a.moveToEndOfBuffer(l.cursorConfig,l.model,I.modelState,w))}return S}},{key:"selectAll",value:function(l,p){var w=l.model.getLineCount(),S=l.model.getLineMaxColumn(w);return f.d.fromModelState(new f.f(new n.a(1,1,1,1),0,new a.a(w,S),0))}},{key:"line",value:function(l,p,w,S,k){var T=l.model.validatePosition(S),I=k?l.coordinatesConverter.validateViewPosition(new a.a(k.lineNumber,k.column),T):l.coordinatesConverter.convertModelPositionToViewPosition(T);if(!w||!p.modelState.hasSelection()){var Y=l.model.getLineCount(),$=T.lineNumber+1,A=1;return $>Y&&($=Y,A=l.model.getLineMaxColumn($)),f.d.fromModelState(new f.f(new n.a(T.lineNumber,1,$,A),0,new a.a($,A),0))}var g=p.modelState.selectionStart.getStartPosition().lineNumber;if(T.lineNumber<g)return f.d.fromViewState(p.viewState.move(p.modelState.hasSelection(),I.lineNumber,1,0));if(T.lineNumber>g){var b=l.getLineCount(),d=I.lineNumber+1,O=1;return d>b&&(d=b,O=l.getLineMaxColumn(d)),f.d.fromViewState(p.viewState.move(p.modelState.hasSelection(),d,O,0))}else{var E=p.modelState.selectionStart.getEndPosition();return f.d.fromModelState(p.modelState.move(p.modelState.hasSelection(),E.lineNumber,E.column,0))}}},{key:"word",value:function(l,p,w,S){var k=l.model.validatePosition(S);return f.d.fromModelState(i.a.word(l.cursorConfig,l.model,p.modelState,w,k))}},{key:"cancelSelection",value:function(l,p){if(!p.modelState.hasSelection())return new f.d(p.modelState,p.viewState);var w=p.viewState.position.lineNumber,S=p.viewState.position.column;return f.d.fromViewState(new f.f(new n.a(w,S,w,S),0,new a.a(w,S),0))}},{key:"moveTo",value:function(l,p,w,S,k){var T=l.model.validatePosition(S),I=k?l.coordinatesConverter.validateViewPosition(new a.a(k.lineNumber,k.column),T):l.coordinatesConverter.convertModelPositionToViewPosition(T);return f.d.fromViewState(p.viewState.move(w,I.lineNumber,I.column,0))}},{key:"simpleMove",value:function(l,p,w,S,k,T){switch(w){case 0:return T===4?this._moveHalfLineLeft(l,p,S):this._moveLeft(l,p,S,k);case 1:return T===4?this._moveHalfLineRight(l,p,S):this._moveRight(l,p,S,k);case 2:return T===2?this._moveUpByViewLines(l,p,S,k):this._moveUpByModelLines(l,p,S,k);case 3:return T===2?this._moveDownByViewLines(l,p,S,k):this._moveDownByModelLines(l,p,S,k);case 4:return T===2?p.map(function(I){return f.d.fromViewState(o.a.moveToPrevBlankLine(l.cursorConfig,l,I.viewState,S))}):p.map(function(I){return f.d.fromModelState(o.a.moveToPrevBlankLine(l.cursorConfig,l.model,I.modelState,S))});case 5:return T===2?p.map(function(I){return f.d.fromViewState(o.a.moveToNextBlankLine(l.cursorConfig,l,I.viewState,S))}):p.map(function(I){return f.d.fromModelState(o.a.moveToNextBlankLine(l.cursorConfig,l.model,I.modelState,S))});case 6:return this._moveToViewMinColumn(l,p,S);case 7:return this._moveToViewFirstNonWhitespaceColumn(l,p,S);case 8:return this._moveToViewCenterColumn(l,p,S);case 9:return this._moveToViewMaxColumn(l,p,S);case 10:return this._moveToViewLastNonWhitespaceColumn(l,p,S);default:return null}}},{key:"viewportMove",value:function(l,p,w,S,k){var T=l.getCompletelyVisibleViewRange(),I=l.coordinatesConverter.convertViewRangeToModelRange(T);switch(w){case 11:{var Y=this._firstLineNumberInRange(l.model,I,k),$=l.model.getLineFirstNonWhitespaceColumn(Y);return[this._moveToModelPosition(l,p[0],S,Y,$)]}case 13:{var A=this._lastLineNumberInRange(l.model,I,k),g=l.model.getLineFirstNonWhitespaceColumn(A);return[this._moveToModelPosition(l,p[0],S,A,g)]}case 12:{var b=Math.round((I.startLineNumber+I.endLineNumber)/2),d=l.model.getLineFirstNonWhitespaceColumn(b);return[this._moveToModelPosition(l,p[0],S,b,d)]}case 14:{for(var O=[],E=0,D=p.length;E<D;E++){var W=p[E];O[E]=this.findPositionInViewportIfOutside(l,W,T,S)}return O}default:return null}}},{key:"findPositionInViewportIfOutside",value:function(l,p,w,S){var k=p.viewState.position.lineNumber;if(w.startLineNumber<=k&&k<=w.endLineNumber-1)return new f.d(p.modelState,p.viewState);k>w.endLineNumber-1&&(k=w.endLineNumber-1),k<w.startLineNumber&&(k=w.startLineNumber);var T=l.getLineFirstNonWhitespaceColumn(k);return this._moveToViewPosition(l,p,S,k,T)}},{key:"_firstLineNumberInRange",value:function(l,p,w){var S=p.startLineNumber;return p.startColumn!==l.getLineMinColumn(S)&&S++,Math.min(p.endLineNumber,S+w-1)}},{key:"_lastLineNumberInRange",value:function(l,p,w){var S=p.startLineNumber;return p.startColumn!==l.getLineMinColumn(S)&&S++,Math.max(S,p.endLineNumber-w+1)}},{key:"_moveLeft",value:function(l,p,w,S){for(var k=p.length>1,T=[],I=0,Y=p.length;I<Y;I++){var $=p[I],A=k||!$.viewState.hasSelection(),g=o.a.moveLeft(l.cursorConfig,l,$.viewState,w,S);if(A&&S===1&&$.viewState.position.column===l.getLineMinColumn($.viewState.position.lineNumber)&&g.position.lineNumber!==$.viewState.position.lineNumber){var b=l.coordinatesConverter.convertViewPositionToModelPosition(g.position);b.lineNumber===$.modelState.position.lineNumber&&(g=o.a.moveLeft(l.cursorConfig,l,g,w,1))}T[I]=f.d.fromViewState(g)}return T}},{key:"_moveHalfLineLeft",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k],Y=I.viewState.position.lineNumber,$=Math.round(l.getLineContent(Y).length/2);S[k]=f.d.fromViewState(o.a.moveLeft(l.cursorConfig,l,I.viewState,w,$))}return S}},{key:"_moveRight",value:function(l,p,w,S){for(var k=p.length>1,T=[],I=0,Y=p.length;I<Y;I++){var $=p[I],A=k||!$.viewState.hasSelection(),g=o.a.moveRight(l.cursorConfig,l,$.viewState,w,S);if(A&&S===1&&$.viewState.position.column===l.getLineMaxColumn($.viewState.position.lineNumber)&&g.position.lineNumber!==$.viewState.position.lineNumber){var b=l.coordinatesConverter.convertViewPositionToModelPosition(g.position);b.lineNumber===$.modelState.position.lineNumber&&(g=o.a.moveRight(l.cursorConfig,l,g,w,1))}T[I]=f.d.fromViewState(g)}return T}},{key:"_moveHalfLineRight",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k],Y=I.viewState.position.lineNumber,$=Math.round(l.getLineContent(Y).length/2);S[k]=f.d.fromViewState(o.a.moveRight(l.cursorConfig,l,I.viewState,w,$))}return S}},{key:"_moveDownByViewLines",value:function(l,p,w,S){for(var k=[],T=0,I=p.length;T<I;T++){var Y=p[T];k[T]=f.d.fromViewState(o.a.moveDown(l.cursorConfig,l,Y.viewState,w,S))}return k}},{key:"_moveDownByModelLines",value:function(l,p,w,S){for(var k=[],T=0,I=p.length;T<I;T++){var Y=p[T];k[T]=f.d.fromModelState(o.a.moveDown(l.cursorConfig,l.model,Y.modelState,w,S))}return k}},{key:"_moveUpByViewLines",value:function(l,p,w,S){for(var k=[],T=0,I=p.length;T<I;T++){var Y=p[T];k[T]=f.d.fromViewState(o.a.moveUp(l.cursorConfig,l,Y.viewState,w,S))}return k}},{key:"_moveUpByModelLines",value:function(l,p,w,S){for(var k=[],T=0,I=p.length;T<I;T++){var Y=p[T];k[T]=f.d.fromModelState(o.a.moveUp(l.cursorConfig,l.model,Y.modelState,w,S))}return k}},{key:"_moveToViewPosition",value:function(l,p,w,S,k){return f.d.fromViewState(p.viewState.move(w,S,k,0))}},{key:"_moveToModelPosition",value:function(l,p,w,S,k){return f.d.fromModelState(p.modelState.move(w,S,k,0))}},{key:"_moveToViewMinColumn",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k],Y=I.viewState.position.lineNumber,$=l.getLineMinColumn(Y);S[k]=this._moveToViewPosition(l,I,w,Y,$)}return S}},{key:"_moveToViewFirstNonWhitespaceColumn",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k],Y=I.viewState.position.lineNumber,$=l.getLineFirstNonWhitespaceColumn(Y);S[k]=this._moveToViewPosition(l,I,w,Y,$)}return S}},{key:"_moveToViewCenterColumn",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k],Y=I.viewState.position.lineNumber,$=Math.round((l.getLineMaxColumn(Y)+l.getLineMinColumn(Y))/2);S[k]=this._moveToViewPosition(l,I,w,Y,$)}return S}},{key:"_moveToViewMaxColumn",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k],Y=I.viewState.position.lineNumber,$=l.getLineMaxColumn(Y);S[k]=this._moveToViewPosition(l,I,w,Y,$)}return S}},{key:"_moveToViewLastNonWhitespaceColumn",value:function(l,p,w){for(var S=[],k=0,T=p.length;k<T;k++){var I=p[k],Y=I.viewState.position.lineNumber,$=l.getLineLastNonWhitespaceColumn(Y);S[k]=this._moveToViewPosition(l,I,w,Y,$)}return S}}]),h}(),m;(function(h){var t=function(w){if(!r.i(w))return!1;var S=w;return!(!r.j(S.to)||!r.k(S.select)&&!r.f(S.select)||!r.k(S.by)&&!r.j(S.by)||!r.k(S.value)&&!r.h(S.value))};h.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:
- * 'to': A mandatory logical position value providing where to move the cursor.
- \`\`\`
- 'left', 'right', 'up', 'down', 'prevBlankLine', 'nextBlankLine',
- 'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'
- 'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'
- 'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'
- \`\`\`
- * 'by': Unit to move. Default is computed based on 'to' value.
- \`\`\`
- 'line', 'wrappedLine', 'character', 'halfLine'
- \`\`\`
- * 'value': Number of units to move. Default is '1'.
- * 'select': If 'true' makes the selection. Default is 'false'.
- `,constraint:t,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","prevBlankLine","nextBlankLine","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}}}}]},h.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",PrevBlankLine:"prevBlankLine",NextBlankLine:"nextBlankLine",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},h.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"};function l(p){if(!p.to)return null;var w;switch(p.to){case h.RawDirection.Left:w=0;break;case h.RawDirection.Right:w=1;break;case h.RawDirection.Up:w=2;break;case h.RawDirection.Down:w=3;break;case h.RawDirection.PrevBlankLine:w=4;break;case h.RawDirection.NextBlankLine:w=5;break;case h.RawDirection.WrappedLineStart:w=6;break;case h.RawDirection.WrappedLineFirstNonWhitespaceCharacter:w=7;break;case h.RawDirection.WrappedLineColumnCenter:w=8;break;case h.RawDirection.WrappedLineEnd:w=9;break;case h.RawDirection.WrappedLineLastNonWhitespaceCharacter:w=10;break;case h.RawDirection.ViewPortTop:w=11;break;case h.RawDirection.ViewPortBottom:w=13;break;case h.RawDirection.ViewPortCenter:w=12;break;case h.RawDirection.ViewPortIfOutside:w=14;break;default:return null}var S=0;switch(p.by){case h.RawUnit.Line:S=1;break;case h.RawUnit.WrappedLine:S=2;break;case h.RawUnit.Character:S=3;break;case h.RawUnit.HalfLine:S=4;break}return{direction:w,unit:S,select:!!p.select,value:p.value||1}}h.parse=l})(m||(m={}))},"oCl/":function(Ie,M,e){var u=e("CH3K"),c=e("LcsW"),r=e("MvSz"),f=e("0ycA"),o=Object.getOwnPropertySymbols,i=o?function(a){for(var n=[];a;)u(n,r(a)),a=c(a);return n}:f;Ie.exports=i},oEjn:function(Ie,M,e){"use strict";var u=e("q1tI"),c=e.n(u),r=u.createContext({renderWithProps:!1});M.a=r},oFSf:function(Ie,M,e){"use strict";e.d(M,"b",function(){return S}),e.d(M,"a",function(){return k});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("3/fG"),o=e("/cxE"),i=e("gCVg"),a=e("bY76"),n=e("5nk5"),v=e("HpOR"),m=e("gslv");function h(T){return T.toString()}var t=function(){function T(I,Y,$,A,g,b,d){Object(c.a)(this,T),this.beforeVersionId=I,this.afterVersionId=Y,this.beforeEOL=$,this.afterEOL=A,this.beforeCursorState=g,this.afterCursorState=b,this.changes=d}return Object(r.a)(T,[{key:"append",value:function(Y,$,A,g,b){$.length>0&&(this.changes=Object(n.b)(this.changes,$)),this.afterEOL=A,this.afterVersionId=g,this.afterCursorState=b}},{key:"serialize",value:function(){var Y=4+4+1+1+T._writeSelectionsSize(this.beforeCursorState)+T._writeSelectionsSize(this.afterCursorState)+4,$=Object(u.a)(this.changes),A;try{for($.s();!(A=$.n()).done;){var g=A.value;Y+=g.writeSize()}}catch(W){$.e(W)}finally{$.f()}var b=new Uint8Array(Y),d=0;v.f(b,this.beforeVersionId,d),d+=4,v.f(b,this.afterVersionId,d),d+=4,v.g(b,this.beforeEOL,d),d+=1,v.g(b,this.afterEOL,d),d+=1,d=T._writeSelections(b,this.beforeCursorState,d),d=T._writeSelections(b,this.afterCursorState,d),v.f(b,this.changes.length,d),d+=4;var O=Object(u.a)(this.changes),E;try{for(O.s();!(E=O.n()).done;){var D=E.value;d=D.write(b,d)}}catch(W){O.e(W)}finally{O.f()}return b.buffer}}],[{key:"create",value:function(Y,$){var A=Y.getAlternativeVersionId(),g=w(Y);return new T(A,A,g,g,$,$,[])}},{key:"_writeSelectionsSize",value:function(Y){return 4+4*4*(Y?Y.length:0)}},{key:"_writeSelections",value:function(Y,$,A){if(v.f(Y,$?$.length:0,A),A+=4,$){var g=Object(u.a)($),b;try{for(g.s();!(b=g.n()).done;){var d=b.value;v.f(Y,d.selectionStartLineNumber,A),A+=4,v.f(Y,d.selectionStartColumn,A),A+=4,v.f(Y,d.positionLineNumber,A),A+=4,v.f(Y,d.positionColumn,A),A+=4}}catch(O){g.e(O)}finally{g.f()}}return A}},{key:"_readSelections",value:function(Y,$,A){var g=v.c(Y,$);$+=4;for(var b=0;b<g;b++){var d=v.c(Y,$);$+=4;var O=v.c(Y,$);$+=4;var E=v.c(Y,$);$+=4;var D=v.c(Y,$);$+=4,A.push(new i.a(d,O,E,D))}return $}},{key:"deserialize",value:function(Y){var $=new Uint8Array(Y),A=0,g=v.c($,A);A+=4;var b=v.c($,A);A+=4;var d=v.d($,A);A+=1;var O=v.d($,A);A+=1;var E=[];A=T._readSelections($,A,E);var D=[];A=T._readSelections($,A,D);var W=v.c($,A);A+=4;for(var te=[],re=0;re<W;re++)A=n.a.read($,A,te);return new T(g,b,d,O,E,D,te)}}]),T}(),l=function(){function T(I,Y){Object(c.a)(this,T),this.model=I,this._data=t.create(I,Y)}return Object(r.a)(T,[{key:"type",get:function(){return 0}},{key:"resource",get:function(){return a.a.isUri(this.model)?this.model:this.model.uri}},{key:"label",get:function(){return f.a("edit","Typing")}},{key:"toString",value:function(){var Y=this._data instanceof t?this._data:t.deserialize(this._data);return Y.changes.map(function($){return $.toString()}).join(", ")}},{key:"matchesResource",value:function(Y){var $=a.a.isUri(this.model)?this.model:this.model.uri;return $.toString()===Y.toString()}},{key:"setModel",value:function(Y){this.model=Y}},{key:"canAppend",value:function(Y){return this.model===Y&&this._data instanceof t}},{key:"append",value:function(Y,$,A,g,b){this._data instanceof t&&this._data.append(Y,$,A,g,b)}},{key:"close",value:function(){this._data instanceof t&&(this._data=this._data.serialize())}},{key:"open",value:function(){this._data instanceof t||(this._data=t.deserialize(this._data))}},{key:"undo",value:function(){if(a.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof t&&(this._data=this._data.serialize());var Y=t.deserialize(this._data);this.model._applyUndo(Y.changes,Y.beforeEOL,Y.beforeVersionId,Y.beforeCursorState)}},{key:"redo",value:function(){if(a.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof t&&(this._data=this._data.serialize());var Y=t.deserialize(this._data);this.model._applyRedo(Y.changes,Y.afterEOL,Y.afterVersionId,Y.afterCursorState)}},{key:"heapSize",value:function(){return this._data instanceof t&&(this._data=this._data.serialize()),this._data.byteLength+168}}]),T}(),p=function(){function T(I,Y){Object(c.a)(this,T),this.type=1,this.label=I,this._isOpen=!0,this._editStackElementsArr=Y.slice(0),this._editStackElementsMap=new Map;var $=Object(u.a)(this._editStackElementsArr),A;try{for($.s();!(A=$.n()).done;){var g=A.value,b=h(g.resource);this._editStackElementsMap.set(b,g)}}catch(d){$.e(d)}finally{$.f()}this._delegate=null}return Object(r.a)(T,[{key:"resources",get:function(){return this._editStackElementsArr.map(function(Y){return Y.resource})}},{key:"prepareUndoRedo",value:function(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}},{key:"matchesResource",value:function(Y){var $=h(Y);return this._editStackElementsMap.has($)}},{key:"setModel",value:function(Y){var $=h(a.a.isUri(Y)?Y:Y.uri);this._editStackElementsMap.has($)&&this._editStackElementsMap.get($).setModel(Y)}},{key:"canAppend",value:function(Y){if(!this._isOpen)return!1;var $=h(Y.uri);if(this._editStackElementsMap.has($)){var A=this._editStackElementsMap.get($);return A.canAppend(Y)}return!1}},{key:"append",value:function(Y,$,A,g,b){var d=h(Y.uri),O=this._editStackElementsMap.get(d);O.append(Y,$,A,g,b)}},{key:"close",value:function(){this._isOpen=!1}},{key:"open",value:function(){}},{key:"undo",value:function(){this._isOpen=!1;var Y=Object(u.a)(this._editStackElementsArr),$;try{for(Y.s();!($=Y.n()).done;){var A=$.value;A.undo()}}catch(g){Y.e(g)}finally{Y.f()}}},{key:"redo",value:function(){var Y=Object(u.a)(this._editStackElementsArr),$;try{for(Y.s();!($=Y.n()).done;){var A=$.value;A.redo()}}catch(g){Y.e(g)}finally{Y.f()}}},{key:"heapSize",value:function(Y){var $=h(Y);if(this._editStackElementsMap.has($)){var A=this._editStackElementsMap.get($);return A.heapSize()}return 0}},{key:"split",value:function(){return this._editStackElementsArr}},{key:"toString",value:function(){var Y=[],$=Object(u.a)(this._editStackElementsArr),A;try{for($.s();!(A=$.n()).done;){var g=A.value;Y.push("".concat(Object(m.b)(g.resource),": ").concat(g))}}catch(b){$.e(b)}finally{$.f()}return"{".concat(Y.join(", "),"}")}}]),T}();function w(T){var I=T.getEOL();return I===`
- `?0:1}function S(T){return T?T instanceof l||T instanceof p:!1}var k=function(){function T(I,Y){Object(c.a)(this,T),this._model=I,this._undoRedoService=Y}return Object(r.a)(T,[{key:"pushStackElement",value:function(){var Y=this._undoRedoService.getLastElement(this._model.uri);S(Y)&&Y.close()}},{key:"popStackElement",value:function(){var Y=this._undoRedoService.getLastElement(this._model.uri);S(Y)&&Y.open()}},{key:"clear",value:function(){this._undoRedoService.removeElements(this._model.uri)}},{key:"_getOrCreateEditStackElement",value:function(Y){var $=this._undoRedoService.getLastElement(this._model.uri);if(S($)&&$.canAppend(this._model))return $;var A=new l(this._model,Y);return this._undoRedoService.pushElement(A),A}},{key:"pushEOL",value:function(Y){var $=this._getOrCreateEditStackElement(null);this._model.setEOL(Y),$.append(this._model,[],w(this._model),this._model.getAlternativeVersionId(),null)}},{key:"pushEditOperation",value:function(Y,$,A){var g=this._getOrCreateEditStackElement(Y),b=this._model.applyEdits($,!0),d=T._computeCursorState(A,b),O=b.map(function(E,D){return{index:D,textChange:E.textChange}});return O.sort(function(E,D){return E.textChange.oldPosition===D.textChange.oldPosition?E.index-D.index:E.textChange.oldPosition-D.textChange.oldPosition}),g.append(this._model,O.map(function(E){return E.textChange}),w(this._model),this._model.getAlternativeVersionId(),d),d}}],[{key:"_computeCursorState",value:function(Y,$){try{return Y?Y($):null}catch(A){return Object(o.e)(A),null}}}]),T}()},oIFs:function(Ie,M,e){},or5M:function(Ie,M,e){var u=e("1hJj"),c=e("QoRX"),r=e("xYSL"),f=1,o=2;function i(a,n,v,m,h,t){var l=v&f,p=a.length,w=n.length;if(p!=w&&!(l&&w>p))return!1;var S=t.get(a),k=t.get(n);if(S&&k)return S==n&&k==a;var T=-1,I=!0,Y=v&o?new u:void 0;for(t.set(a,n),t.set(n,a);++T<p;){var $=a[T],A=n[T];if(m)var g=l?m(A,$,T,n,a,t):m($,A,T,a,n,t);if(g!==void 0){if(g)continue;I=!1;break}if(Y){if(!c(n,function(b,d){if(!r(Y,d)&&($===b||h($,b,v,m,t)))return Y.push(d)})){I=!1;break}}else if(!($===A||h($,A,v,m,t))){I=!1;break}}return t.delete(a),t.delete(n),I}Ie.exports=i},"otv/":function(Ie,M,e){var u=e("nmnc"),c=u?u.prototype:void 0,r=c?c.valueOf:void 0;function f(o){return r?Object(r.call(o)):{}}Ie.exports=f},ozfa:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("KxFI"),f=e.n(r)},pAY0:function(Ie,M,e){},pAvP:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("Cg/j"),c="editorWorkerService",r=Object(u.c)(c)},"pED+":function(Ie,M,e){},pFRH:function(Ie,M,e){var u=e("cvCv"),c=e("O0oS"),r=e("zZ0H"),f=c?function(o,i){return c(o,"toString",{configurable:!0,enumerable:!1,value:u(i),writable:!0})}:r;Ie.exports=f},pHPU:function(Ie,M,e){var u=e("M96O"),c=e("AevD");Ie.exports=f;var r=u.constant(1);function f(i,a,n,v){return o(i,String(a),n||r,v||function(m){return i.outEdges(m)})}function o(i,a,n,v){var m={},h=new c,t,l,p=function(S){var k=S.v!==t?S.v:S.w,T=m[k],I=n(S),Y=l.distance+I;if(I<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+S+" Weight: "+I);Y<T.distance&&(T.distance=Y,T.predecessor=t,h.decrease(k,Y))};for(i.nodes().forEach(function(w){var S=w===a?0:Number.POSITIVE_INFINITY;m[w]={distance:S},h.add(w,S)});h.size()>0&&(t=h.removeMin(),l=m[t],l.distance!==Number.POSITIVE_INFINITY);)v(t).forEach(p);return m}},pL63:function(Ie,M,e){},pSRY:function(Ie,M,e){var u=e("QkVE");function c(r){return u(this,r).has(r)}Ie.exports=c},pWRy:function(Ie,M,e){"use strict";e.d(M,"a",function(){return n}),e.d(M,"b",function(){return v});var u=e("ODXe"),c=e("q1tI"),r=e.n(c),f=e("TNol"),o=e("mBDr"),i=e("Gytx"),a=e.n(i);function n(){var m=c.createContext(null),h=function(l){var p=l.value,w=l.children,S=c.useRef(p);S.current=p;var k=c.useState(function(){return{getValue:function(){return S.current},listeners:new Set}}),T=Object(u.a)(k,1),I=T[0];return Object(f.a)(function(){I.listeners.forEach(function(Y){Y(p)})},[p]),c.createElement(m.Provider,{value:I},w)};return{Context:m,Provider:h}}function v(m,h){var t=Object(o.a)(h),l=c.useContext(m==null?void 0:m.Context),p=l||{},w=p.listeners,S=p.getValue,k=c.useState(function(){return t(l?S():null)}),T=Object(u.a)(k,2),I=T[0],Y=T[1];return Object(f.a)(function(){if(!l)return;function $(A){Y(function(g){var b=t(A);return a()(g,b)?g:b})}return w.add($),function(){w.delete($)}},[l]),I}},pg8w:function(Ie,M,e){"use strict";e.d(M,"a",function(){return t}),e.d(M,"b",function(){return l});var u=e("fWQN"),c=e("mtLc"),r=e("w4Tj"),f=e("oZsa"),o=e("yKVA"),i=e("879j"),a=e("6OMU"),n=e("pmY6"),v=e("EffR"),m=e("ZCR3"),h=function(p,w,S,k){var T=arguments.length,I=T<3?w:k===null?k=Object.getOwnPropertyDescriptor(w,S):k,Y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")I=Reflect.decorate(p,w,S,k);else for(var $=p.length-1;$>=0;$--)(Y=p[$])&&(I=(T<3?Y(I):T>3?Y(w,S,I):Y(w,S))||I);return T>3&&I&&Object.defineProperty(w,S,I),I},t;(function(p){p.Tap="-monaco-gesturetap",p.Change="-monaco-gesturechange",p.Start="-monaco-gesturestart",p.End="-monaco-gesturesend",p.Contextmenu="-monaco-gesturecontextmenu"})(t||(t={}));var l=function(p){Object(o.a)(S,p);var w=Object(i.a)(S);function S(){var k;return Object(u.a)(this,S),k=w.call(this),k.dispatched=!1,k.activeTouches={},k.handle=null,k.targets=[],k.ignoreTargets=[],k._lastSetTapCountTime=0,k._register(v.addDisposableListener(document,"touchstart",function(T){return k.onTouchStart(T)},{passive:!1})),k._register(v.addDisposableListener(document,"touchend",function(T){return k.onTouchEnd(T)})),k._register(v.addDisposableListener(document,"touchmove",function(T){return k.onTouchMove(T)},{passive:!1})),k}return Object(c.a)(S,[{key:"dispose",value:function(){this.handle&&(this.handle.dispose(),this.handle=null),Object(r.a)(Object(f.a)(S.prototype),"dispose",this).call(this)}},{key:"onTouchStart",value:function(T){var I=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(var Y=0,$=T.targetTouches.length;Y<$;Y++){var A=T.targetTouches.item(Y);this.activeTouches[A.identifier]={id:A.identifier,initialTarget:A.target,initialTimeStamp:I,initialPageX:A.pageX,initialPageY:A.pageY,rollingTimestamps:[I],rollingPageX:[A.pageX],rollingPageY:[A.pageY]};var g=this.newGestureEvent(t.Start,A.target);g.pageX=A.pageX,g.pageY=A.pageY,this.dispatchEvent(g)}this.dispatched&&(T.preventDefault(),T.stopPropagation(),this.dispatched=!1)}},{key:"onTouchEnd",value:function(T){for(var I=this,Y=Date.now(),$=Object.keys(this.activeTouches).length,A=function(E,D){var W=T.changedTouches.item(E);if(!I.activeTouches.hasOwnProperty(String(W.identifier)))return console.warn("move of an UNKNOWN touch",W),"continue";var te=I.activeTouches[W.identifier],re=Date.now()-te.initialTimeStamp;if(re<S.HOLD_DELAY&&Math.abs(te.initialPageX-a.r(te.rollingPageX))<30&&Math.abs(te.initialPageY-a.r(te.rollingPageY))<30){var ye=I.newGestureEvent(t.Tap,te.initialTarget);ye.pageX=a.r(te.rollingPageX),ye.pageY=a.r(te.rollingPageY),I.dispatchEvent(ye)}else if(re>=S.HOLD_DELAY&&Math.abs(te.initialPageX-a.r(te.rollingPageX))<30&&Math.abs(te.initialPageY-a.r(te.rollingPageY))<30){var q=I.newGestureEvent(t.Contextmenu,te.initialTarget);q.pageX=a.r(te.rollingPageX),q.pageY=a.r(te.rollingPageY),I.dispatchEvent(q)}else if($===1){var oe=a.r(te.rollingPageX),he=a.r(te.rollingPageY),ue=a.r(te.rollingTimestamps)-te.rollingTimestamps[0],ne=oe-te.rollingPageX[0],se=he-te.rollingPageY[0],be=I.targets.filter(function(Z){return te.initialTarget instanceof Node&&Z.contains(te.initialTarget)});I.inertia(be,Y,Math.abs(ne)/ue,ne>0?1:-1,oe,Math.abs(se)/ue,se>0?1:-1,he)}I.dispatchEvent(I.newGestureEvent(t.End,te.initialTarget)),delete I.activeTouches[W.identifier]},g=0,b=T.changedTouches.length;g<b;g++)var d=A(g,b);this.dispatched&&(T.preventDefault(),T.stopPropagation(),this.dispatched=!1)}},{key:"newGestureEvent",value:function(T,I){var Y=document.createEvent("CustomEvent");return Y.initEvent(T,!1,!0),Y.initialTarget=I,Y.tapCount=0,Y}},{key:"dispatchEvent",value:function(T){var I=this;if(T.type===t.Tap){var Y=new Date().getTime(),$=0;Y-this._lastSetTapCountTime>S.CLEAR_TAP_COUNT_TIME?$=1:$=2,this._lastSetTapCountTime=Y,T.tapCount=$}else(T.type===t.Change||T.type===t.Contextmenu)&&(this._lastSetTapCountTime=0);for(var A=0;A<this.ignoreTargets.length;A++)if(T.initialTarget instanceof Node&&this.ignoreTargets[A].contains(T.initialTarget))return;this.targets.forEach(function(g){T.initialTarget instanceof Node&&g.contains(T.initialTarget)&&(g.dispatchEvent(T),I.dispatched=!0)})}},{key:"inertia",value:function(T,I,Y,$,A,g,b,d){var O=this;this.handle=v.scheduleAtNextAnimationFrame(function(){var E=Date.now(),D=E-I,W=0,te=0,re=!0;Y+=S.SCROLL_FRICTION*D,g+=S.SCROLL_FRICTION*D,Y>0&&(re=!1,W=$*Y*D),g>0&&(re=!1,te=b*g*D);var ye=O.newGestureEvent(t.Change);ye.translationX=W,ye.translationY=te,T.forEach(function(q){return q.dispatchEvent(ye)}),re||O.inertia(T,E,Y,$,A+W,g,b,d+te)})}},{key:"onTouchMove",value:function(T){for(var I=Date.now(),Y=0,$=T.changedTouches.length;Y<$;Y++){var A=T.changedTouches.item(Y);if(!this.activeTouches.hasOwnProperty(String(A.identifier))){console.warn("end of an UNKNOWN touch",A);continue}var g=this.activeTouches[A.identifier],b=this.newGestureEvent(t.Change,g.initialTarget);b.translationX=A.pageX-a.r(g.rollingPageX),b.translationY=A.pageY-a.r(g.rollingPageY),b.pageX=A.pageX,b.pageY=A.pageY,this.dispatchEvent(b),g.rollingPageX.length>3&&(g.rollingPageX.shift(),g.rollingPageY.shift(),g.rollingTimestamps.shift()),g.rollingPageX.push(A.pageX),g.rollingPageY.push(A.pageY),g.rollingTimestamps.push(I)}this.dispatched&&(T.preventDefault(),T.stopPropagation(),this.dispatched=!1)}}],[{key:"addTarget",value:function(T){return S.isTouchDevice()?(S.INSTANCE||(S.INSTANCE=new S),S.INSTANCE.targets.push(T),{dispose:function(){S.INSTANCE.targets=S.INSTANCE.targets.filter(function(Y){return Y!==T})}}):n.a.None}},{key:"ignoreTarget",value:function(T){return S.isTouchDevice()?(S.INSTANCE||(S.INSTANCE=new S),S.INSTANCE.ignoreTargets.push(T),{dispose:function(){S.INSTANCE.ignoreTargets=S.INSTANCE.ignoreTargets.filter(function(Y){return Y!==T})}}):n.a.None}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}}]),S}(n.a);l.SCROLL_FRICTION=-.005,l.HOLD_DELAY=700,l.CLEAR_TAP_COUNT_TIME=400,h([m.a],l,"isTouchDevice",null)},pmY6:function(Ie,M,e){"use strict";e.d(M,"g",function(){return p}),e.d(M,"f",function(){return w}),e.d(M,"e",function(){return S}),e.d(M,"h",function(){return k}),e.d(M,"b",function(){return T}),e.d(M,"a",function(){return I}),e.d(M,"d",function(){return Y}),e.d(M,"c",function(){return $});var u=e("rAM+"),c=e("yKVA"),r=e("879j"),f=e("ZKkB"),o=e("fWQN"),i=e("mtLc"),a=e("JYp7"),n=!1,v=null;if(n){var m="__is_disposable_tracked__";v=new(function(){function A(){Object(o.a)(this,A)}return Object(i.a)(A,[{key:"trackDisposable",value:function(b){var d=new Error("Potentially leaked disposable").stack;setTimeout(function(){b[m]||console.log(d)},3e3)}},{key:"markTracked",value:function(b){if(b&&b!==I.None)try{b[m]=!0}catch(d){}}}]),A}())}function h(A){!v||v.markTracked(A)}function t(A){return v&&v.trackDisposable(A),A}var l=function(A){Object(c.a)(b,A);var g=Object(r.a)(b);function b(d){var O;return Object(o.a)(this,b),O=g.call(this,"Encountered errors while disposing of store. Errors: [".concat(d.join(", "),"]")),O.errors=d,O}return Object(i.a)(b)}(Object(f.a)(Error));function p(A){return typeof A.dispose=="function"&&A.dispose.length===0}function w(A){if(a.a.is(A)){var g=[],b=Object(u.a)(A),d;try{for(b.s();!(d=b.n()).done;){var O=d.value;if(O){h(O);try{O.dispose()}catch(E){g.push(E)}}}}catch(E){b.e(E)}finally{b.f()}if(g.length===1)throw g[0];if(g.length>1)throw new l(g);return Array.isArray(A)?[]:A}else if(A)return h(A),A.dispose(),A}function S(){for(var A=arguments.length,g=new Array(A),b=0;b<A;b++)g[b]=arguments[b];return g.forEach(h),k(function(){return w(g)})}function k(A){var g=t({dispose:function(){h(g),A()}});return g}var T=function(){function A(){Object(o.a)(this,A),this._toDispose=new Set,this._isDisposed=!1}return Object(i.a)(A,[{key:"dispose",value:function(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}},{key:"clear",value:function(){try{w(this._toDispose.values())}finally{this._toDispose.clear()}}},{key:"add",value:function(b){if(!b)return b;if(b===this)throw new Error("Cannot register a disposable on itself!");return h(b),this._isDisposed?A.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(b),b}}]),A}();T.DISABLE_DISPOSED_WARNING=!1;var I=function(){function A(){Object(o.a)(this,A),this._store=new T,t(this)}return Object(i.a)(A,[{key:"dispose",value:function(){h(this),this._store.dispose()}},{key:"_register",value:function(b){if(b===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(b)}}]),A}();I.None=Object.freeze({dispose:function(){}});var Y=function(){function A(){Object(o.a)(this,A),this._isDisposed=!1,t(this)}return Object(i.a)(A,[{key:"value",get:function(){return this._isDisposed?void 0:this._value},set:function(b){var d;this._isDisposed||b===this._value||((d=this._value)===null||d===void 0||d.dispose(),b&&h(b),this._value=b)}},{key:"clear",value:function(){this.value=void 0}},{key:"dispose",value:function(){var b;this._isDisposed=!0,h(this),(b=this._value)===null||b===void 0||b.dispose(),this._value=void 0}}]),A}(),$=function(){function A(g){Object(o.a)(this,A),this.object=g}return Object(i.a)(A,[{key:"dispose",value:function(){}}]),A}()},ptHe:function(Ie,M,e){"use strict";var u=e("b5wT"),c=e("KZ/l");Ie.exports={run:r,undo:o};function r(i){var a=i.graph().acyclicer==="greedy"?c(i,n(i)):f(i);u.forEach(a,function(v){var m=i.edge(v);i.removeEdge(v),m.forwardName=v.name,m.reversed=!0,i.setEdge(v.w,v.v,m,u.uniqueId("rev"))});function n(v){return function(m){return v.edge(m).weight}}}function f(i){var a=[],n={},v={};function m(h){u.has(v,h)||(v[h]=!0,n[h]=!0,u.forEach(i.outEdges(h),function(t){u.has(n,t.w)?a.push(t):m(t.w)}),delete n[h])}return u.forEach(i.nodes(),m),a}function o(i){u.forEach(i.edges(),function(a){var n=i.edge(a);if(n.reversed){i.removeEdge(a);var v=n.forwardName;delete n.reversed,delete n.forwardName,i.setEdge(a.w,a.v,n,v)}})}},ptcw:function(Ie,M,e){"use strict";e.d(M,"d",function(){return c}),e.d(M,"a",function(){return f}),e.d(M,"b",function(){return o}),e.d(M,"e",function(){return i}),e.d(M,"c",function(){return n});var u=e("MD5Z");function c(v,m){var h=Object.create(null);for(var t in m){var l=m[t];l&&(h[t]=Object(u.sc)(l,v))}return h}function r(v,m,h){function t(l){var p=c(v.getColorTheme(),m);typeof h=="function"?h(p):h.style(p)}return t(v.getColorTheme()),v.onDidColorThemeChange(t)}function f(v,m,h){return r(m,{badgeBackground:(h==null?void 0:h.badgeBackground)||u.c,badgeForeground:(h==null?void 0:h.badgeForeground)||u.d,badgeBorder:u.h},v)}function o(v,m,h){return r(m,Object.assign(Object.assign({},i),h||{}),v)}var i={listFocusBackground:u.Fb,listFocusForeground:u.Gb,listFocusOutline:u.Hb,listActiveSelectionBackground:u.zb,listActiveSelectionForeground:u.Ab,listFocusAndSelectionBackground:u.zb,listFocusAndSelectionForeground:u.Ab,listInactiveSelectionBackground:u.Nb,listInactiveSelectionForeground:u.Ob,listInactiveFocusBackground:u.Lb,listInactiveFocusOutline:u.Mb,listHoverBackground:u.Jb,listHoverForeground:u.Kb,listDropBackground:u.Bb,listSelectionOutline:u.b,listHoverOutline:u.b,listFilterWidgetBackground:u.Cb,listFilterWidgetOutline:u.Eb,listFilterWidgetNoMatchesOutline:u.Db,listMatchesShadow:u.Gc,treeIndentGuidesStroke:u.Fc,tableColumnsBorder:u.Bc},a={shadowColor:u.Gc,borderColor:u.Qb,foregroundColor:u.Rb,backgroundColor:u.Pb,selectionForegroundColor:u.Ub,selectionBackgroundColor:u.Sb,selectionBorderColor:u.Tb,separatorColor:u.Vb};function n(v,m,h){return r(m,Object.assign(Object.assign({},a),h),v)}},"q/I2":function(Ie,M,e){},q3PH:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("fWQN"),c=e("mtLc"),r=e("yKVA"),f=e("879j"),o=e("+q00"),i=function(a){Object(r.a)(v,a);var n=Object(f.a)(v);function v(m){var h;return Object(u.a)(this,v),h=n.call(this),h.data=m,h.rows=m.length,h.columns=m[0].length,h}return Object(c.a)(v,[{key:"set",value:function(h,t,l){return this.data[h][t]=l,this}},{key:"get",value:function(h,t){return this.data[h][t]}}]),v}(o.a)},q4HE:function(Ie,M){var e="\\ud800-\\udfff",u="\\u0300-\\u036f",c="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",f=u+c+r,o="\\ufe0e\\ufe0f",i="["+e+"]",a="["+f+"]",n="\\ud83c[\\udffb-\\udfff]",v="(?:"+a+"|"+n+")",m="[^"+e+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",t="[\\ud800-\\udbff][\\udc00-\\udfff]",l="\\u200d",p=v+"?",w="["+o+"]?",S="(?:"+l+"(?:"+[m,h,t].join("|")+")"+w+p+")*",k=w+p+S,T="(?:"+[m+a+"?",a,h,t,i].join("|")+")",I=RegExp(n+"(?="+n+")|"+T+k,"g");function Y($){for(var A=I.lastIndex=0;I.test($);)++A;return A}Ie.exports=Y},q92V:function(Ie,M,e){var u=e("dunj"),c=e("V9xz"),r=e("zZ0H");function f(o){return o&&o.length?u(o,r,c):void 0}Ie.exports=f},qGSU:function(Ie,M,e){"use strict";var u=e("b5wT");Ie.exports={adjust:c,undo:r};function c(m){var h=m.graph().rankdir.toLowerCase();(h==="lr"||h==="rl")&&f(m)}function r(m){var h=m.graph().rankdir.toLowerCase();(h==="bt"||h==="rl")&&i(m),(h==="lr"||h==="rl")&&(n(m),f(m))}function f(m){u.forEach(m.nodes(),function(h){o(m.node(h))}),u.forEach(m.edges(),function(h){o(m.edge(h))})}function o(m){var h=m.width;m.width=m.height,m.height=h}function i(m){u.forEach(m.nodes(),function(h){a(m.node(h))}),u.forEach(m.edges(),function(h){var t=m.edge(h);u.forEach(t.points,a),u.has(t,"y")&&a(t)})}function a(m){m.y=-m.y}function n(m){u.forEach(m.nodes(),function(h){v(m.node(h))}),u.forEach(m.edges(),function(h){var t=m.edge(h);u.forEach(t.points,v),u.has(t,"x")&&v(t)})}function v(m){var h=m.x;m.x=m.y,m.y=h}},qNAo:function(Ie,M,e){"use strict";e.d(M,"g",function(){return f}),e.d(M,"b",function(){return i}),e.d(M,"c",function(){return a}),e.d(M,"d",function(){return n}),e.d(M,"e",function(){return v}),e.d(M,"a",function(){return m}),e.d(M,"f",function(){return h});var u=e("mtLc"),c=e("fWQN"),r=e("N0LK"),f=Object(u.a)(function t(l,p,w,S){Object(c.a)(this,t),this.top=l|0,this.left=p|0,this.width=w|0,this.height=S|0}),o=Object(u.a)(function t(l,p){Object(c.a)(this,t),this.outputLineIndex=l,this.outputOffset=p}),i=function(){function t(l,p,w){Object(c.a)(this,t),this.breakOffsets=l,this.breakOffsetsVisibleColumn=p,this.wrappedTextIndentLength=w}return Object(u.a)(t,null,[{key:"getInputOffsetOfOutputPosition",value:function(p,w,S){return w===0?S:p[w-1]+S}},{key:"getOutputPositionOfInputOffset",value:function(p,w){for(var S=0,k=p.length-1,T=0,I=0;S<=k;){T=S+(k-S)/2|0;var Y=p[T];if(I=T>0?p[T-1]:0,w<I)k=T-1;else if(w>=Y)S=T+1;else break}return new o(T,w-I)}}]),t}(),a=Object(u.a)(function t(l,p){Object(c.a)(this,t),this.tabSize=l,this.data=p}),n=Object(u.a)(function t(l,p,w,S,k,T){Object(c.a)(this,t),this.content=l,this.continuesWithWrappedLine=p,this.minColumn=w,this.maxColumn=S,this.startVisibleColumn=k,this.tokens=T}),v=function(){function t(l,p,w,S,k,T,I,Y,$,A){Object(c.a)(this,t),this.minColumn=l,this.maxColumn=p,this.content=w,this.continuesWithWrappedLine=S,this.isBasicASCII=t.isBasicASCII(w,T),this.containsRTL=t.containsRTL(w,this.isBasicASCII,k),this.tokens=I,this.inlineDecorations=Y,this.tabSize=$,this.startVisibleColumn=A}return Object(u.a)(t,null,[{key:"isBasicASCII",value:function(p,w){return w?r.A(p):!0}},{key:"containsRTL",value:function(p,w,S){return!w&&S?r.m(p):!1}}]),t}(),m=Object(u.a)(function t(l,p,w){Object(c.a)(this,t),this.range=l,this.inlineClassName=p,this.type=w}),h=Object(u.a)(function t(l,p){Object(c.a)(this,t),this.range=l,this.options=p})},qZTm:function(Ie,M,e){var u=e("fR/l"),c=e("MvSz"),r=e("7GkX");function f(o){return u(o,r,c)}Ie.exports=f},qj0h:function(Ie,M,e){"use strict";e.d(M,"b",function(){return r}),e.d(M,"c",function(){return f}),e.d(M,"a",function(){return i}),e.d(M,"f",function(){return n}),e.d(M,"d",function(){return v}),e.d(M,"e",function(){return m});var u=e("rAM+"),c=e("746U");function r(h){if(!h||typeof h!="object"||h instanceof RegExp)return h;var t=Array.isArray(h)?[]:{};return Object.keys(h).forEach(function(l){h[l]&&typeof h[l]=="object"?t[l]=r(h[l]):t[l]=h[l]}),t}function f(h){if(!h||typeof h!="object")return h;for(var t=[h];t.length>0;){var l=t.shift();Object.freeze(l);for(var p in l)if(o.call(l,p)){var w=l[p];typeof w=="object"&&!Object.isFrozen(w)&&t.push(w)}}return h}var o=Object.prototype.hasOwnProperty;function i(h,t){return a(h,t,new Set)}function a(h,t,l){if(Object(c.l)(h))return h;var p=t(h);if(typeof p!="undefined")return p;if(Object(c.e)(h)){var w=[],S=Object(u.a)(h),k;try{for(S.s();!(k=S.n()).done;){var T=k.value;w.push(a(T,t,l))}}catch($){S.e($)}finally{S.f()}return w}if(Object(c.i)(h)){if(l.has(h))throw new Error("Cannot clone recursive data-structure");l.add(h);var I={};for(var Y in h)o.call(h,Y)&&(I[Y]=a(h[Y],t,l));return l.delete(h),I}return h}function n(h,t){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Object(c.i)(h)?(Object(c.i)(t)&&Object.keys(t).forEach(function(p){p in h?l&&(Object(c.i)(h[p])&&Object(c.i)(t[p])?n(h[p],t[p],l):h[p]=t[p]):h[p]=t[p]}),h):t}function v(h,t){if(h===t)return!0;if(h==null||t===null||t===void 0||typeof h!=typeof t||typeof h!="object"||Array.isArray(h)!==Array.isArray(t))return!1;var l,p;if(Array.isArray(h)){if(h.length!==t.length)return!1;for(l=0;l<h.length;l++)if(!v(h[l],t[l]))return!1}else{var w=[];for(p in h)w.push(p);w.sort();var S=[];for(p in t)S.push(p);if(S.sort(),!v(w,S))return!1;for(l=0;l<w.length;l++)if(!v(h[w[l]],t[w[l]]))return!1}return!0}function m(h,t,l){var p=t(h);return typeof p=="undefined"?l:p}},quyA:function(Ie,M){var e="\\ud800-\\udfff",u="\\u0300-\\u036f",c="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",f=u+c+r,o="\\ufe0e\\ufe0f",i="\\u200d",a=RegExp("["+i+e+f+o+"]");function n(v){return a.test(v)}Ie.exports=n},qvmO:function(Ie,M,e){var u=e("3y7U");Ie.exports=c;function c(r,f){return u(r,f,"pre")}},r0BQ:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("mtLc"),c=e("fWQN"),r=Object(u.a)(function f(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Object(c.a)(this,f),this.ctor=o,this.staticArguments=i,this.supportsDelayedInstantiation=a})},r8Mj:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c}),e.d(M,"c",function(){return r}),e.d(M,"b",function(){return f}),e.d(M,"d",function(){return o});var u=e("HOj0");function c(i){var a="";i<.1*1024?a=i.toFixed(2)+"B":i<.1*1024*1024?a=(i/1024).toFixed(2)+"KB":i<.1*1024*1024*1024?a=(i/(1024*1024)).toFixed(2)+"MB":a=(i/(1024*1024*1024)).toFixed(2)+"GB";var n=a+"",v=n.indexOf("."),m=n.substr(v+1,2);return m=="00"?n.substring(0,v)+n.substr(v+3,2):a}function r(i){var a=i.toString().indexOf(".")!==-1?i.toLocaleString():i.toString().replace(/(\d)(?=(\d{3})+$)/g,"$1,");return a}function f(i){return i/1e3%60<1?i+Object(u.a)("global.time.millisecond"):o(i/1e3)}function o(i){i=Math.floor(i);var a=i+Object(u.a)("global.time.second");if(i>60){var n=i%60,v=Math.floor(i/60);if(a=v+Object(u.a)("global.time.minute")+n+Object(u.a)("global.time.second"),v>60){v=Math.floor(i/60)%60;var m=Math.floor(Math.floor(i/60)/60);if(a=m+Object(u.a)("global.time.hour")+v+Object(u.a)("global.time.minute")+n+Object(u.a)("global.time.second"),m>24){m=Math.floor(Math.floor(i/60)/60)%24;var h=Math.floor(Math.floor(Math.floor(i/60)/60)/24);a=h+Object(u.a)("global.time.day")+m+Object(u.a)("global.time.hour")+v+Object(u.a)("global.time.minute")+n+Object(u.a)("global.time.second")}}}return a}},"rAM+":function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Qw5x");function c(r,f){var o=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!o){if(Array.isArray(r)||(o=Object(u.a)(r))||f&&r&&typeof r.length=="number"){o&&(r=o);var i=0,a=function(){};return{s:a,n:function(){return i>=r.length?{done:!0}:{done:!1,value:r[i++]}},e:function(t){throw t},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n=!0,v=!1,m;return{s:function(){o=o.call(r)},n:function(){var t=o.next();return n=t.done,t},e:function(t){v=!0,m=t},f:function(){try{!n&&o.return!=null&&o.return()}finally{if(v)throw m}}}}},rEGp:function(Ie,M){function e(u){var c=-1,r=Array(u.size);return u.forEach(function(f){r[++c]=f}),r}Ie.exports=e},rLCj:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="ReloadOutlined";var a=M.a=c.forwardRef(i)},rgW5:function(Ie,M,e){"use strict";var u=e("wx14"),c=e("rePB"),r=e("ye1Q"),f=e("TSYQ"),o=e.n(f),i=e("q1tI"),a=e("H84U"),n=e("0n0R"),v=function(S,k){var T={};for(var I in S)Object.prototype.hasOwnProperty.call(S,I)&&k.indexOf(I)<0&&(T[I]=S[I]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,I=Object.getOwnPropertySymbols(S);Y<I.length;Y++)k.indexOf(I[Y])<0&&Object.prototype.propertyIsEnumerable.call(S,I[Y])&&(T[I[Y]]=S[I[Y]]);return T},m=function(k){var T,I,Y=k.prefixCls,$=k.className,A=k.color,g=A===void 0?"blue":A,b=k.dot,d=k.pending,O=d===void 0?!1:d,E=k.position,D=k.label,W=k.children,te=v(k,["prefixCls","className","color","dot","pending","position","label","children"]),re=i.useContext(a.b),ye=re.getPrefixCls,q=ye("timeline",Y),oe=o()((T={},Object(c.a)(T,"".concat(q,"-item"),!0),Object(c.a)(T,"".concat(q,"-item-pending"),O),T),$),he=o()((I={},Object(c.a)(I,"".concat(q,"-item-head"),!0),Object(c.a)(I,"".concat(q,"-item-head-custom"),!!b),Object(c.a)(I,"".concat(q,"-item-head-").concat(g),!0),I)),ue=/blue|red|green|gray/.test(g||"")?void 0:g;return i.createElement("li",Object(u.a)({},te,{className:oe}),D&&i.createElement("div",{className:"".concat(q,"-item-label")},D),i.createElement("div",{className:"".concat(q,"-item-tail")}),i.createElement("div",{className:he,style:{borderColor:ue,color:ue}},b),i.createElement("div",{className:"".concat(q,"-item-content")},W))},h=m,t=function(S,k){var T={};for(var I in S)Object.prototype.hasOwnProperty.call(S,I)&&k.indexOf(I)<0&&(T[I]=S[I]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,I=Object.getOwnPropertySymbols(S);Y<I.length;Y++)k.indexOf(I[Y])<0&&Object.prototype.propertyIsEnumerable.call(S,I[Y])&&(T[I[Y]]=S[I[Y]]);return T},l=function(k){var T,I=i.useContext(a.b),Y=I.getPrefixCls,$=I.direction,A=k.prefixCls,g=k.pending,b=g===void 0?null:g,d=k.pendingDot,O=k.children,E=k.className,D=k.reverse,W=D===void 0?!1:D,te=k.mode,re=te===void 0?"":te,ye=t(k,["prefixCls","pending","pendingDot","children","className","reverse","mode"]),q=Y("timeline",A),oe=typeof b=="boolean"?null:b,he=b?i.createElement(h,{pending:!!b,dot:d||i.createElement(r.a,null)},oe):null,ue=i.Children.toArray(O);ue.push(he),W&&ue.reverse();var ne=function(C,z){return re==="alternate"?C.props.position==="right"?"".concat(q,"-item-right"):C.props.position==="left"||z%2==0?"".concat(q,"-item-left"):"".concat(q,"-item-right"):re==="left"?"".concat(q,"-item-left"):re==="right"||C.props.position==="right"?"".concat(q,"-item-right"):""},se=ue.filter(function(y){return!!y}),be=i.Children.count(se),Z="".concat(q,"-item-last"),ee=i.Children.map(se,function(y,C){var z=C===be-2?Z:"",G=C===be-1?Z:"";return Object(n.a)(y,{className:o()([y.props.className,!W&&!!b?z:G,ne(y,C)])})}),ce=ue.some(function(y){var C;return!!((C=y==null?void 0:y.props)===null||C===void 0?void 0:C.label)}),R=o()(q,(T={},Object(c.a)(T,"".concat(q,"-pending"),!!b),Object(c.a)(T,"".concat(q,"-reverse"),!!W),Object(c.a)(T,"".concat(q,"-").concat(re),!!re&&!ce),Object(c.a)(T,"".concat(q,"-label"),ce),Object(c.a)(T,"".concat(q,"-rtl"),$==="rtl"),T),E);return i.createElement("ul",Object(u.a)({},ye,{className:R}),ee)};l.Item=h;var p=l,w=M.a=p},rmhi:function(Ie,M,e){"use strict";e.d(M,"a",function(){return A});var u=e("2qtc"),c=e("kLXV"),r=e("x+uP"),f=e("HaE+"),o=e("VTBJ"),i=e("ODXe"),a=e("GNNt"),n=e("wEI+"),v=e("Ff2n"),m=e("nKUr"),h=e.n(m),t=e("2oH+"),l=e.n(t),p=e("6cGi"),w=e("Kwbf"),S=e("q1tI"),k=e.n(S),T=e("i8i4"),I=e.n(T),Y=e("T1Ok"),$=["children","trigger","onVisibleChange","modalProps","onFinish","submitTimeout","title","width","visible"];function A(g){var b,d,O,E,D=g.children,W=g.trigger,te=g.onVisibleChange,re=g.modalProps,ye=g.onFinish,q=g.submitTimeout,oe=g.title,he=g.width,ue=g.visible,ne=Object(v.a)(g,$);Object(w.b)(!ne.footer||!(re==null?void 0:re.footer),"ModalForm \u662F\u4E00\u4E2A ProForm \u7684\u7279\u6B8A\u5E03\u5C40\uFF0C\u5982\u679C\u60F3\u81EA\u5B9A\u4E49\u6309\u94AE\uFF0C\u8BF7\u4F7F\u7528 submit.render \u81EA\u5B9A\u4E49\u3002");var se=Object(S.useContext)(n.a.ConfigContext),be=Object(S.useState)([]),Z=Object(i.a)(be,2),ee=Z[1],ce=Object(S.useState)(!1),R=Object(i.a)(ce,2),y=R[0],C=R[1],z=Object(p.a)(!!ue,{value:ue,onChange:te}),G=Object(i.a)(z,2),X=G[0],pe=G[1],ae=Object(S.useRef)(null),Se=Object(S.useCallback)(function(Ve){ae.current===null&&Ve&&ee([]),ae.current=Ve},[]),Te=Object(S.useRef)(),je=Object(S.useCallback)(function(){var Ve,Ee,Me,_e=(Ve=(Ee=ne.form)!==null&&Ee!==void 0?Ee:(Me=ne.formRef)===null||Me===void 0?void 0:Me.current)!==null&&Ve!==void 0?Ve:Te.current;_e&&(re==null?void 0:re.destroyOnClose)&&_e.resetFields()},[re==null?void 0:re.destroyOnClose,ne.form,ne.formRef]);Object(S.useEffect)(function(){X&&ue&&(te==null||te(!0))},[ue,X]);var ft=Object(S.useMemo)(function(){return W?k.a.cloneElement(W,Object(o.a)(Object(o.a)({key:"trigger"},W.props),{},{onClick:function(){var Ve=Object(f.a)(Object(r.a)().mark(function Me(_e){var Re,et;return Object(r.a)().wrap(function(it){for(;;)switch(it.prev=it.next){case 0:pe(!X),(Re=W.props)===null||Re===void 0||(et=Re.onClick)===null||et===void 0||et.call(Re,_e);case 2:case"end":return it.stop()}},Me)}));function Ee(Me){return Ve.apply(this,arguments)}return Ee}()})):null},[pe,W,X]),fe=Object(S.useMemo)(function(){var Ve,Ee,Me,_e,Re,et,Xe,it;return ne.submitter===!1?!1:l()({searchConfig:{submitText:(Ve=(Ee=re==null?void 0:re.okText)!==null&&Ee!==void 0?Ee:(Me=se.locale)===null||Me===void 0||(_e=Me.Modal)===null||_e===void 0?void 0:_e.okText)!==null&&Ve!==void 0?Ve:"\u786E\u8BA4",resetText:(Re=(et=re==null?void 0:re.cancelText)!==null&&et!==void 0?et:(Xe=se.locale)===null||Xe===void 0||(it=Xe.Modal)===null||it===void 0?void 0:it.cancelText)!==null&&Re!==void 0?Re:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:q?y:void 0,onClick:function(Ct){var Bt;pe(!1),je(),re==null||(Bt=re.onCancel)===null||Bt===void 0||Bt.call(re,Ct)}}},ne.submitter)},[(b=se.locale)===null||b===void 0||(d=b.Modal)===null||d===void 0?void 0:d.cancelText,(O=se.locale)===null||O===void 0||(E=O.Modal)===null||E===void 0?void 0:E.okText,re,ne.submitter,pe,y,q,je]),ie=Object(S.useCallback)(function(Ve,Ee){return Object(m.jsxs)(m.Fragment,{children:[Ve,ae.current&&Ee?Object(T.createPortal)(Ee,ae.current):Ee]})},[]),ge=Object(S.useCallback)(function(){var Ve=Object(f.a)(Object(r.a)().mark(function Ee(Me){var _e,Re,et;return Object(r.a)().wrap(function(it){for(;;)switch(it.prev=it.next){case 0:return _e=ye==null?void 0:ye(Me),q&&_e instanceof Promise&&(C(!0),Re=setTimeout(function(){return C(!1)},q),_e.finally(function(){clearTimeout(Re),C(!1)})),it.next=4,_e;case 4:return et=it.sent,et&&pe(!1),it.abrupt("return",et);case 7:case"end":return it.stop()}},Ee)}));return function(Ee){return Ve.apply(this,arguments)}}(),[ye,pe,q]);return Object(m.jsxs)(m.Fragment,{children:[Object(m.jsx)(c.a,Object(o.a)(Object(o.a)({title:oe,width:he||800},re),{},{visible:X,onCancel:function(Ee){var Me;q&&y||(pe(!1),re==null||(Me=re.onCancel)===null||Me===void 0||Me.call(re,Ee))},afterClose:function(){var Ee;je(),re==null||(Ee=re.afterClose)===null||Ee===void 0||Ee.call(re)},footer:ne.submitter!==!1&&Object(m.jsx)("div",{ref:Se,style:{display:"flex",justifyContent:"flex-end"}}),children:Object(m.jsx)(Y.a,Object(o.a)(Object(o.a)({formComponentType:"ModalForm",layout:"vertical",formRef:Te},ne),{},{submitter:fe,onFinish:function(){var Ve=Object(f.a)(Object(r.a)().mark(function Me(_e){var Re;return Object(r.a)().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Xe.next=2,ge(_e);case 2:return Re=Xe.sent,Re===!0&&je(),Xe.abrupt("return",Re);case 5:case"end":return Xe.stop()}},Me)}));function Ee(Me){return Ve.apply(this,arguments)}return Ee}(),contentRender:ie,children:D}))})),ft]})}},rsCp:function(Ie,M,e){},sE09:function(Ie,M,e){},sEf8:function(Ie,M){function e(u){return function(c){return u(c)}}Ie.exports=e},sFUC:function(Ie,M,e){"use strict";e.d(M,"b",function(){return c}),e.d(M,"c",function(){return r}),e.d(M,"a",function(){return f});var u=e("iuje");function c(o){return o&&typeof o.getEditorType=="function"?o.getEditorType()===u.a.ICodeEditor:!1}function r(o){return o&&typeof o.getEditorType=="function"?o.getEditorType()===u.a.IDiffEditor:!1}function f(o){return c(o)?o:r(o)?o.getModifiedEditor():null}},sK0q:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=Object.prototype.toString;function c(r){var f=u.call(r);return f.endsWith("Array]")&&!f.includes("Big")}},sM1p:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i}),e.d(M,"b",function(){return a});var u=e("mtLc"),c=e("fWQN"),r=e("S3by"),f=e("Cg/j"),o=r.a,i=Object(f.c)("notificationService"),a=Object(u.a)(function n(){Object(c.a)(this,n)})},sR1s:function(Ie,M,e){"use strict";e.d(M,"b",function(){return r}),e.d(M,"a",function(){return f}),e.d(M,"c",function(){return o});var u="RC_TABLE_KEY";function c(i){return i==null?[]:Array.isArray(i)?i:[i]}function r(i,a){if(!a&&typeof a!="number")return i;for(var n=c(a),v=i,m=0;m<n.length;m+=1){if(!v)return null;var h=n[m];v=v[h]}return v}function f(i){var a=[],n={};return i.forEach(function(v){for(var m=v||{},h=m.key,t=m.dataIndex,l=h||c(t).join("-")||u;n[l];)l="".concat(l,"_next");n[l]=!0,a.push(l)}),a}function o(i){return i!=null}},sRBo:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("KCY9"),f=e.n(r)},sboe:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("q1tI"),c=e.n(u),r=u.createContext(null)},scqD:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("themeService")},seXi:function(Ie,M,e){var u=e("qZTm"),c=1,r=Object.prototype,f=r.hasOwnProperty;function o(i,a,n,v,m,h){var t=n&c,l=u(i),p=l.length,w=u(a),S=w.length;if(p!=S&&!t)return!1;for(var k=p;k--;){var T=l[k];if(!(t?T in a:f.call(a,T)))return!1}var I=h.get(i),Y=h.get(a);if(I&&Y)return I==a&&Y==i;var $=!0;h.set(i,a),h.set(a,i);for(var A=t;++k<p;){T=l[k];var g=i[T],b=a[T];if(v)var d=t?v(b,g,T,a,i,h):v(g,b,T,i,a,h);if(!(d===void 0?g===b||m(g,b,n,v,h):d)){$=!1;break}A||(A=T=="constructor")}if($&&!A){var O=i.constructor,E=a.constructor;O!=E&&"constructor"in i&&"constructor"in a&&!(typeof O=="function"&&O instanceof O&&typeof E=="function"&&E instanceof E)&&($=!1)}return h.delete(i),h.delete(a),$}Ie.exports=o},shjB:function(Ie,M){var e=9007199254740991;function u(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=e}Ie.exports=u},siPX:function(Ie,M,e){},slOs:function(Ie,M,e){},snIX:function(Ie,M,e){"use strict";e.d(M,"a",function(){return v});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("N0LK"),o=e("LCkn"),i=e("Ll0s"),a=e("+Fos"),n=e("aokT"),v=function(){function m(){Object(c.a)(this,m)}return Object(r.a)(m,null,[{key:"deleteRight",value:function(t,l,p,w){for(var S=[],k=t!==3,T=0,I=w.length;T<I;T++){var Y=w[T],$=Y;if($.isEmpty()){var A=Y.getPosition(),g=a.a.right(l,p,A.lineNumber,A.column);$=new n.a(g.lineNumber,g.column,A.lineNumber,A.column)}if($.isEmpty()){S[T]=null;continue}$.startLineNumber!==$.endLineNumber&&(k=!0),S[T]=new o.a($,"")}return[k,S]}},{key:"isAutoClosingPairDelete",value:function(t,l,p,w,S,k,T){if(l==="never"&&p==="never"||t==="never")return!1;for(var I=0,Y=k.length;I<Y;I++){var $=k[I],A=$.getPosition();if(!$.isEmpty())return!1;var g=S.getLineContent(A.lineNumber);if(A.column<2||A.column>=g.length+1)return!1;var b=g.charAt(A.column-2),d=w.get(b);if(!d)return!1;if(Object(i.g)(b)){if(p==="never")return!1}else if(l==="never")return!1;var O=g.charAt(A.column-1),E=!1,D=Object(u.a)(d),W;try{for(D.s();!(W=D.n()).done;){var te=W.value;te.open===b&&te.close===O&&(E=!0)}}catch(he){D.e(he)}finally{D.f()}if(!E)return!1;if(t==="auto"){for(var re=!1,ye=0,q=T.length;ye<q;ye++){var oe=T[ye];if(A.lineNumber===oe.startLineNumber&&A.column===oe.startColumn){re=!0;break}}if(!re)return!1}}return!0}},{key:"_runAutoClosingPairDelete",value:function(t,l,p){for(var w=[],S=0,k=p.length;S<k;S++){var T=p[S].getPosition(),I=new n.a(T.lineNumber,T.column-1,T.lineNumber,T.column+1);w[S]=new o.a(I,"")}return[!0,w]}},{key:"deleteLeft",value:function(t,l,p,w,S){if(this.isAutoClosingPairDelete(l.autoClosingDelete,l.autoClosingBrackets,l.autoClosingQuotes,l.autoClosingPairs.autoClosingPairsOpenByEnd,p,w,S))return this._runAutoClosingPairDelete(l,p,w);for(var k=[],T=t!==2,I=0,Y=w.length;I<Y;I++){var $=w[I],A=$;if(A.isEmpty()){var g=$.getPosition();if(l.useTabStops&&g.column>1){var b=p.getLineContent(g.lineNumber),d=f.v(b),O=d===-1?b.length+1:d+1;if(g.column<=O){var E=i.a.visibleColumnFromColumn2(l,p,g),D=i.a.prevIndentTabStop(E,l.indentSize),W=i.a.columnFromVisibleColumn2(l,p,g.lineNumber,D);A=new n.a(g.lineNumber,W,g.lineNumber,g.column)}else A=new n.a(g.lineNumber,g.column-1,g.lineNumber,g.column)}else{var te=a.a.left(l,p,g.lineNumber,g.column);A=new n.a(te.lineNumber,te.column,g.lineNumber,g.column)}}if(A.isEmpty()){k[I]=null;continue}A.startLineNumber!==A.endLineNumber&&(T=!0),k[I]=new o.a(A,"")}return[T,k]}},{key:"cut",value:function(t,l,p){for(var w=[],S=0,k=p.length;S<k;S++){var T=p[S];if(T.isEmpty())if(t.emptySelectionClipboard){var I=T.getPosition(),Y=void 0,$=void 0,A=void 0,g=void 0;I.lineNumber<l.getLineCount()?(Y=I.lineNumber,$=1,A=I.lineNumber+1,g=1):I.lineNumber>1?(Y=I.lineNumber-1,$=l.getLineMaxColumn(I.lineNumber-1),A=I.lineNumber,g=l.getLineMaxColumn(I.lineNumber)):(Y=I.lineNumber,$=1,A=I.lineNumber,g=l.getLineMaxColumn(I.lineNumber));var b=new n.a(Y,$,A,g);b.isEmpty()?w[S]=null:w[S]=new o.a(b,"")}else w[S]=null;else w[S]=new o.a(T,"")}return new i.e(0,w,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}]),m}()},sswD:function(Ie,M,e){"use strict";e.d(M,"a",function(){return $}),e.d(M,"e",function(){return A}),e.d(M,"c",function(){return b}),e.d(M,"b",function(){return d}),e.d(M,"f",function(){return O}),e.d(M,"n",function(){return E}),e.d(M,"o",function(){return D}),e.d(M,"k",function(){return W}),e.d(M,"j",function(){return te}),e.d(M,"p",function(){return re}),e.d(M,"m",function(){return ye}),e.d(M,"l",function(){return q}),e.d(M,"d",function(){return oe}),e.d(M,"i",function(){return se}),e.d(M,"g",function(){return be}),e.d(M,"h",function(){return Z});var u=e("oBTY"),c=e("rAM+"),r=e("yKVA"),f=e("879j"),o=e("fWQN"),i=e("mtLc"),a=e("3/fG"),n=e("bY76"),v=e("Vxe3"),m=e("cGHE"),h=e("G2kB"),t=e("t49l"),l=e("fjLI"),p=e("nnTU"),w=e("T8No"),S=e("nrhi"),k=e("ic2d"),T=e("XXUj"),I=e("746U"),Y=e("09fa"),$=function(){function ee(ce){Object(o.a)(this,ee),this.id=ce.id,this.precondition=ce.precondition,this._kbOpts=ce.kbOpts,this._menuOpts=ce.menuOpts,this._description=ce.description}return Object(i.a)(ee,[{key:"register",value:function(){var R=this;if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){var y=this._kbOpts.kbExpr;this.precondition&&(y?y=w.a.and(y,this.precondition):y=this.precondition),S.a.registerCommandAndKeybindingRule({id:this.id,handler:function(z,G){return R.runCommand(z,G)},weight:this._kbOpts.weight,args:this._kbOpts.args,when:y,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else p.a.registerCommand({id:this.id,handler:function(z,G){return R.runCommand(z,G)},description:this._description})}},{key:"_registerMenuItem",value:function(R){l.d.appendMenuItem(R.menuId,{group:R.group,command:{id:this.id,title:R.title,icon:R.icon,precondition:this.precondition},when:R.when,order:R.order})}}]),ee}(),A=function(ee){Object(r.a)(R,ee);var ce=Object(f.a)(R);function R(){var y;return Object(o.a)(this,R),y=ce.apply(this,arguments),y._implementations=[],y}return Object(i.a)(R,[{key:"addImplementation",value:function(C,z,G){var X=this;return this._implementations.push({priority:C,name:z,implementation:G}),this._implementations.sort(function(pe,ae){return ae.priority-pe.priority}),{dispose:function(){for(var ae=0;ae<X._implementations.length;ae++)if(X._implementations[ae].implementation===G){X._implementations.splice(ae,1);return}}}}},{key:"runCommand",value:function(C,z){var G=C.get(Y.b),X=Object(c.a)(this._implementations),pe;try{for(X.s();!(pe=X.n()).done;){var ae=pe.value,Se=ae.implementation(C,z);if(Se)return G.trace("Command '".concat(this.id,"' was handled by '").concat(ae.name,"'.")),typeof Se=="boolean"?void 0:Se}}catch(Te){X.e(Te)}finally{X.f()}}}]),R}($),g=function(ee){Object(r.a)(R,ee);var ce=Object(f.a)(R);function R(y,C){var z;return Object(o.a)(this,R),z=ce.call(this,C),z.command=y,z}return Object(i.a)(R,[{key:"runCommand",value:function(C,z){return this.command.runCommand(C,z)}}]),R}($),b=function(ee){Object(r.a)(R,ee);var ce=Object(f.a)(R);function R(){return Object(o.a)(this,R),ce.apply(this,arguments)}return Object(i.a)(R,[{key:"runCommand",value:function(C,z){var G=this,X=C.get(v.a),pe=X.getFocusedCodeEditor()||X.getActiveCodeEditor();if(!!pe)return pe.invokeWithinContext(function(ae){var Se=ae.get(w.b);if(!!Se.contextMatchesRules(Object(I.n)(G.precondition)))return G.runEditorCommand(ae,pe,z)})}}],[{key:"bindToContribution",value:function(C){return function(z){Object(r.a)(X,z);var G=Object(f.a)(X);function X(pe){var ae;return Object(o.a)(this,X),ae=G.call(this,pe),ae._callback=pe.handler,ae}return Object(i.a)(X,[{key:"runEditorCommand",value:function(ae,Se,Te){var je=C(Se);je&&this._callback(C(Se),Te)}}]),X}(R)}}]),R}($),d=function(ee){Object(r.a)(R,ee);var ce=Object(f.a)(R);function R(y){var C;return Object(o.a)(this,R),C=ce.call(this,R.convertOptions(y)),C.label=y.label,C.alias=y.alias,C}return Object(i.a)(R,[{key:"runEditorCommand",value:function(C,z,G){return this.reportTelemetry(C,z),this.run(C,z,G||{})}},{key:"reportTelemetry",value:function(C,z){C.get(T.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}],[{key:"convertOptions",value:function(C){var z;Array.isArray(C.menuOpts)?z=C.menuOpts:C.menuOpts?z=[C.menuOpts]:z=[];function G(pe){return pe.menuId||(pe.menuId=l.b.EditorContext),pe.title||(pe.title=C.label),pe.when=w.a.and(C.precondition,pe.when),pe}if(Array.isArray(C.contextMenuOpts)){var X;(X=z).push.apply(X,Object(u.a)(C.contextMenuOpts.map(G)))}else C.contextMenuOpts&&z.push(G(C.contextMenuOpts));return C.menuOpts=z,C}}]),R}(b),O=function(ee){Object(r.a)(R,ee);var ce=Object(f.a)(R);function R(){var y;return Object(o.a)(this,R),y=ce.apply(this,arguments),y._implementations=[],y}return Object(i.a)(R,[{key:"addImplementation",value:function(C,z){var G=this;return this._implementations.push([C,z]),this._implementations.sort(function(X,pe){return pe[0]-X[0]}),{dispose:function(){for(var pe=0;pe<G._implementations.length;pe++)if(G._implementations[pe][1]===z){G._implementations.splice(pe,1);return}}}}},{key:"run",value:function(C,z,G){var X=Object(c.a)(this._implementations),pe;try{for(X.s();!(pe=X.n()).done;){var ae=pe.value,Se=ae[1](C,z,G);if(Se)return typeof Se=="boolean"?void 0:Se}}catch(Te){X.e(Te)}finally{X.f()}}}]),R}(d);function E(ee,ce){p.a.registerCommand(ee,function(R){for(var y=arguments.length,C=new Array(y>1?y-1:0),z=1;z<y;z++)C[z-1]=arguments[z];var G=C[0],X=C[1];Object(I.b)(n.a.isUri(G)),Object(I.b)(m.a.isIPosition(X));var pe=R.get(h.a).getModel(G);if(pe){var ae=m.a.lift(X);return ce.apply(void 0,[pe,ae].concat(Object(u.a)(C.slice(2))))}return R.get(t.a).createModelReference(G).then(function(Se){return new Promise(function(Te,je){try{var ft=ce(Se.object.textEditorModel,m.a.lift(X),C.slice(2));Te(ft)}catch(fe){je(fe)}}).finally(function(){Se.dispose()})})})}function D(ee,ce){p.a.registerCommand(ee,function(R){for(var y=arguments.length,C=new Array(y>1?y-1:0),z=1;z<y;z++)C[z-1]=arguments[z];var G=C[0];Object(I.b)(n.a.isUri(G));var X=R.get(h.a).getModel(G);return X?ce.apply(void 0,[X].concat(Object(u.a)(C.slice(1)))):R.get(t.a).createModelReference(G).then(function(pe){return new Promise(function(ae,Se){try{var Te=ce(pe.object.textEditorModel,C.slice(1));ae(Te)}catch(je){Se(je)}}).finally(function(){pe.dispose()})})})}function W(ee){return ue.INSTANCE.registerEditorCommand(ee),ee}function te(ee){var ce=new ee;return ue.INSTANCE.registerEditorAction(ce),ce}function re(ee){return ue.INSTANCE.registerEditorAction(ee),ee}function ye(ee){ue.INSTANCE.registerEditorAction(ee)}function q(ee,ce){ue.INSTANCE.registerEditorContribution(ee,ce)}var oe;(function(ee){function ce(G){return ue.INSTANCE.getEditorCommand(G)}ee.getEditorCommand=ce;function R(){return ue.INSTANCE.getEditorActions()}ee.getEditorActions=R;function y(){return ue.INSTANCE.getEditorContributions()}ee.getEditorContributions=y;function C(G){return ue.INSTANCE.getEditorContributions().filter(function(X){return G.indexOf(X.id)>=0})}ee.getSomeEditorContributions=C;function z(){return ue.INSTANCE.getDiffEditorContributions()}ee.getDiffEditorContributions=z})(oe||(oe={}));var he={EditorCommonContributions:"editor.contributions"},ue=function(){function ee(){Object(o.a)(this,ee),this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}return Object(i.a)(ee,[{key:"registerEditorContribution",value:function(R,y){this.editorContributions.push({id:R,ctor:y})}},{key:"getEditorContributions",value:function(){return this.editorContributions.slice(0)}},{key:"getDiffEditorContributions",value:function(){return this.diffEditorContributions.slice(0)}},{key:"registerEditorAction",value:function(R){R.register(),this.editorActions.push(R)}},{key:"getEditorActions",value:function(){return this.editorActions.slice(0)}},{key:"registerEditorCommand",value:function(R){R.register(),this.editorCommands[R.id]=R}},{key:"getEditorCommand",value:function(R){return this.editorCommands[R]||null}}]),ee}();ue.INSTANCE=new ue,k.a.add(he.EditorCommonContributions,ue.INSTANCE);function ne(ee){return ee.register(),ee}var se=ne(new A({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2048|56},menuOpts:[{menuId:l.b.MenubarEditMenu,group:"1_do",title:a.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:l.b.CommandPalette,group:"",title:a.a("undo","Undo"),order:1}]}));ne(new g(se,{id:"default:undo",precondition:void 0}));var be=ne(new A({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2048|55,secondary:[2048|1024|56],mac:{primary:2048|1024|56}},menuOpts:[{menuId:l.b.MenubarEditMenu,group:"1_do",title:a.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:l.b.CommandPalette,group:"",title:a.a("redo","Redo"),order:1}]}));ne(new g(be,{id:"default:redo",precondition:void 0}));var Z=ne(new A({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2048|31},menuOpts:[{menuId:l.b.MenubarSelectionMenu,group:"1_basic",title:a.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:l.b.CommandPalette,group:"",title:a.a("selectAll","Select All"),order:1}]}))},t2Dn:function(Ie,M,e){var u=e("hypo"),c=e("ljhN");function r(f,o,i){(i!==void 0&&!c(f[o],i)||i===void 0&&!(o in f))&&u(f,o,i)}Ie.exports=r},t49l:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("Cg/j"),c=Object(u.c)("textModelService")},t9D7:function(Ie,M,e){"use strict";e.d(M,"b",function(){return t}),e.d(M,"g",function(){return p}),e.d(M,"d",function(){return w}),e.d(M,"e",function(){return S}),e.d(M,"a",function(){return k}),e.d(M,"f",function(){return Y}),e.d(M,"c",function(){return $});var u=e("yKVA"),c=e("879j"),r=e("fWQN"),f=e("mtLc"),o=e("tJVT"),i=e("Cg/j"),a=e("pmY6"),n=e("ic2d"),v=e("MI8n"),m=e("nEHx"),h=e("Vhoy"),t=Object(i.c)("themeService"),l;(function(A){function g(b){return b&&typeof b=="object"&&typeof b.id=="string"}A.isThemeColor=g})(l||(l={}));function p(A){return{id:A}}var w;(function(A){function g(D){return D&&typeof D=="object"&&typeof D.id=="string"&&(typeof D.color=="undefined"||l.isThemeColor(D.color))}A.isThemeIcon=g;var b=new RegExp("^\\$\\((".concat(h.a.iconNameExpression,"(?:").concat(h.a.iconModifierExpression,")?)\\)$"));function d(D){var W=b.exec(D);if(!!W){var te=Object(o.a)(W,2),re=te[1];return{id:re}}}A.fromString=d;function O(D,W){var te=D.id,re=te.lastIndexOf("~");return re!==-1&&(te=te.substring(0,re)),W&&(te="".concat(te,"~").concat(W)),{id:te}}A.modify=O;function E(D,W){var te,re;return D.id===W.id&&((te=D.color)===null||te===void 0?void 0:te.id)===((re=W.color)===null||re===void 0?void 0:re.id)}A.isEqual=E,A.asClassNameArray=h.a.asClassNameArray,A.asClassName=h.a.asClassName,A.asCSSSelector=h.a.asCSSSelector})(w||(w={}));function S(A){switch(A){case m.a.DARK:return"vs-dark";case m.a.HIGH_CONTRAST:return"hc-black";default:return"vs"}}var k={ThemingContribution:"base.contributions.theming"},T=function(){function A(){Object(r.a)(this,A),this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new v.a}return Object(f.a)(A,[{key:"onColorThemeChange",value:function(b){var d=this;return this.themingParticipants.push(b),this.onThemingParticipantAddedEmitter.fire(b),Object(a.h)(function(){var O=d.themingParticipants.indexOf(b);d.themingParticipants.splice(O,1)})}},{key:"getThemingParticipants",value:function(){return this.themingParticipants}}]),A}(),I=new T;n.a.add(k.ThemingContribution,I);function Y(A){return I.onColorThemeChange(A)}var $=function(A){Object(u.a)(b,A);var g=Object(c.a)(b);function b(d){var O;return Object(r.a)(this,b),O=g.call(this),O.themeService=d,O.theme=d.getColorTheme(),O._register(O.themeService.onDidColorThemeChange(function(E){return O.onThemeChange(E)})),O}return Object(f.a)(b,[{key:"onThemeChange",value:function(O){this.theme=O,this.updateStyles()}},{key:"updateStyles",value:function(){}}]),b}(a.a)},tADe:function(Ie,M,e){"use strict";e.d(M,"c",function(){return f}),e.d(M,"a",function(){return o}),e.d(M,"b",function(){return i});var u=e("Cg/j"),c=e("3/fG"),r=e("S3by"),f;(function(a){a[a.Hint=1]="Hint",a[a.Info=2]="Info",a[a.Warning=4]="Warning",a[a.Error=8]="Error"})(f||(f={})),function(a){function n(l,p){return p-l}a.compare=n;var v=Object.create(null);v[a.Error]=Object(c.a)("sev.error","Error"),v[a.Warning]=Object(c.a)("sev.warning","Warning"),v[a.Info]=Object(c.a)("sev.info","Info");function m(l){return v[l]||""}a.toString=m;function h(l){switch(l){case r.a.Error:return a.Error;case r.a.Warning:return a.Warning;case r.a.Info:return a.Info;case r.a.Ignore:return a.Hint}}a.fromSeverity=h;function t(l){switch(l){case a.Error:return r.a.Error;case a.Warning:return r.a.Warning;case a.Info:return r.a.Info;case a.Hint:return r.a.Ignore}}a.toSeverity=t}(f||(f={}));var o;(function(a){var n="";function v(h){return m(h,!0)}a.makeKey=v;function m(h,t){var l=[n];return h.source?l.push(h.source.replace("\xA6","\\\xA6")):l.push(n),h.code?typeof h.code=="string"?l.push(h.code.replace("\xA6","\\\xA6")):l.push(h.code.value.replace("\xA6","\\\xA6")):l.push(n),h.severity!==void 0&&h.severity!==null?l.push(f.toString(h.severity)):l.push(n),h.message&&t?l.push(h.message.replace("\xA6","\\\xA6")):l.push(n),h.startLineNumber!==void 0&&h.startLineNumber!==null?l.push(h.startLineNumber.toString()):l.push(n),h.startColumn!==void 0&&h.startColumn!==null?l.push(h.startColumn.toString()):l.push(n),h.endLineNumber!==void 0&&h.endLineNumber!==null?l.push(h.endLineNumber.toString()):l.push(n),h.endColumn!==void 0&&h.endColumn!==null?l.push(h.endColumn.toString()):l.push(n),l.push(n),l.join("\xA6")}a.makeKeyOptionalMessage=m})(o||(o={}));var i=Object(u.c)("markerService")},tFsv:function(Ie,M,e){"use strict";e.r(M);var u=e("R9oj"),c=e("ECub"),r=e("DYRE"),f=e("zeV3"),o=e("+BJd"),i=e("mr32"),a=e("qVdP"),n=e("jsC+"),v=e("lUTK"),m=e("BvKs"),h=e("+L6B"),t=e("2/Rp"),l=e("qLMh"),p=e("miYZ"),w=e("tsqr"),S=e("9og8"),k=e("2qtc"),T=e("kLXV"),I=e("tJVT"),Y=e("CiB2"),$=e("tU7J"),A=e("wFql"),g=e("q1tI"),b=e("Ty5D"),d=e("9kvl"),O=e("VA6q"),E=e("GZ0F"),D=e("40U4"),W=e("BAY6"),te=e("LF7l"),re=e("tMyG"),ye=e("nhC9"),q=e("gqAu"),oe=e("wd/R"),he=e.n(oe),ue=e("bP8k"),ne=e("gFTJ"),se=e("5Dmo"),be=e("3S7+"),Z=e("nKUr"),ee=function(Ut){var wt=Ut.statusCounts;return Object(Z.jsxs)(Z.Fragment,{children:[(wt==null?void 0:wt.CREATED)>0?Object(Z.jsx)(be.a,{title:"CREATED",children:Object(Z.jsx)(i.a,{color:"#666",children:wt.CREATED})}):void 0,(wt==null?void 0:wt.INITIALIZING)>0?Object(Z.jsx)(be.a,{title:"INITIALIZING",children:Object(Z.jsx)(i.a,{color:"#666",children:wt.INITIALIZING})}):void 0,(wt==null?void 0:wt.DEPLOYING)>0?Object(Z.jsx)(be.a,{title:"DEPLOYING",children:Object(Z.jsx)(i.a,{color:"#666",children:wt.DEPLOYING})}):void 0,(wt==null?void 0:wt.RUNNING)>0?Object(Z.jsx)(be.a,{title:"RUNNING",children:Object(Z.jsx)(i.a,{color:"#44b549",children:wt.RUNNING})}):void 0,(wt==null?void 0:wt.FAILED)>0?Object(Z.jsx)(be.a,{title:"FAILED",children:Object(Z.jsx)(i.a,{color:"#ff4d4f",children:wt.FAILED})}):void 0,(wt==null?void 0:wt.FINISHED)>0?Object(Z.jsx)(be.a,{title:"FINISHED",children:Object(Z.jsx)(i.a,{color:"#108ee9",children:wt.FINISHED})}):void 0,(wt==null?void 0:wt.RECONCILING)>0?Object(Z.jsx)(be.a,{title:"RECONCILING",children:Object(Z.jsx)(i.a,{color:"#666",children:wt.RECONCILING})}):void 0,(wt==null?void 0:wt.SCHEDULED)>0?Object(Z.jsx)(be.a,{title:"SCHEDULED",children:Object(Z.jsx)(i.a,{color:"#666",children:wt.SCHEDULED})}):void 0,(wt==null?void 0:wt.CANCELING)>0?Object(Z.jsx)(be.a,{title:"CANCELING",children:Object(Z.jsx)(i.a,{color:"#feb72b",children:wt.CANCELING})}):void 0,(wt==null?void 0:wt.CANCELED)>0?Object(Z.jsx)(be.a,{title:"CANCELED",children:Object(Z.jsx)(i.a,{color:"#db970f",children:wt.CANCELED})}):void 0]})},ce=ee,R=e("Qiat"),y=e("Wc6/"),C=e("r8Mj"),z=e("HOj0"),G=A.a.Text,X=function(Ut){var wt,Pn,an,Dn,Tn,Zn,Mr,xr,Vr,Dr,dr=Ut.job,gt=[{title:Object(z.a)("pages.devops.baseinfo.name"),dataIndex:"name",render:function(ci,ai){return Object(Z.jsx)(G,{style:{width:500},ellipsis:{tooltip:ai.name},children:ai.name})}},{title:Object(z.a)("pages.devops.baseinfo.status"),dataIndex:"status",sorter:!0,render:function(ci,ai){return Object(Z.jsx)(y.b,{status:ai.status})}},{title:Object(z.a)("pages.devops.baseinfo.readbytes"),render:function(ci,ai){return Object(C.a)(ai.metrics["read-bytes"])}},{title:Object(z.a)("pages.devops.baseinfo.readrecords"),render:function(ci,ai){return Object(C.c)(ai.metrics["read-records"])}},{title:Object(z.a)("pages.devops.baseinfo.writebytes"),render:function(ci,ai){return Object(C.a)(ai.metrics["write-bytes"])}},{title:Object(z.a)("pages.devops.baseinfo.writerecords"),render:function(ci,ai){return Object(C.c)(ai.metrics["write-records"])}},{title:Object(z.a)("pages.devops.baseinfo.parallelism"),sorter:!0,dataIndex:"parallelism"},{title:Object(z.a)("global.table.startTime"),dataIndex:"start-time",valueType:"dateTime"},{title:Object(z.a)("global.table.useTime"),render:function(ci,ai){return Object(C.b)(ai.duration)}},{title:Object(z.a)("global.table.endTime"),dataIndex:"end-time",valueType:"dateTime"},{title:Object(z.a)("pages.devops.baseinfo.tasks"),render:function(ci,ai){return Object(Z.jsx)(ce,{statusCounts:ai.tasks})}}];return Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsxs)(ne.b,{bordered:!0,size:"small",children:[Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.jobinfo.overview"),children:dr!=null&&(wt=dr.jobHistory)!==null&&wt!==void 0&&wt.job?Object(Z.jsx)(ce,{statusCounts:dr==null||(Pn=dr.jobHistory)===null||Pn===void 0?void 0:Pn.job["status-counts"]}):void 0}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.baseinfo.restart_number"),children:dr!=null&&(an=dr.instance)!==null&&an!==void 0&&an.failedRestartCount?dr==null||(Dn=dr.instance)===null||Dn===void 0?void 0:Dn.failedRestartCount:0}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("global.table.useTime"),children:Object(C.d)(dr==null||(Tn=dr.instance)===null||Tn===void 0?void 0:Tn.duration)}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("global.table.startUpTime"),children:dr==null||(Zn=dr.instance)===null||Zn===void 0?void 0:Zn.createTime}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("global.table.updateTime"),children:dr==null||(Mr=dr.instance)===null||Mr===void 0?void 0:Mr.updateTime}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("global.table.finishTime"),children:dr==null||(xr=dr.instance)===null||xr===void 0?void 0:xr.finishTime})]}),dr!=null&&(Vr=dr.jobHistory)!==null&&Vr!==void 0&&Vr.job?Object(Z.jsx)(R.a,{columns:gt,style:{width:"100%"},dataSource:dr==null||(Dr=dr.jobHistory)===null||Dr===void 0?void 0:Dr.job.vertices,rowKey:"name",pagination:{defaultPageSize:10,showSizeChanger:!0},toolBarRender:!1,search:!1,size:"small"}):void 0]})},pe=X,ae=e("/zsF"),Se=e("PArb"),Te=A.a.Text,je=A.a.Link,ft=function(Ut){var wt,Pn,an,Dn,Tn,Zn,Mr,xr,Vr,Dr,dr,gt,Rr,ci,ai,bi,zr,Hi,hi,Ci,Ii,Mn,nr,cr,Lr,ei,ki,ua,Qi,Br=Ut.job;return Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsx)(Se.a,{children:"cecf-re-computing Job Configuration",orientation:"left"}),Object(Z.jsxs)(ne.b,{bordered:!0,size:"small",children:[Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.exec.mode"),children:Br!=null&&(wt=Br.history)!==null&&wt!==void 0&&wt.type?Object(Z.jsxs)(i.a,{color:"blue",children:[Object(Z.jsx)(W.a,{})," ",Br==null||(an=Br.history)===null||an===void 0?void 0:an.type]},Br==null||(Pn=Br.history)===null||Pn===void 0?void 0:Pn.type):void 0}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.alias"),children:Br!=null&&(Dn=Br.cluster)!==null&&Dn!==void 0&&Dn.alias?Object(Z.jsx)(je,{children:Br==null||(Tn=Br.cluster)===null||Tn===void 0?void 0:Tn.alias}):"-"}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.clusterConfiguration"),children:Br!=null&&(Zn=Br.clusterConfiguration)!==null&&Zn!==void 0&&Zn.alias?Object(Z.jsx)(je,{children:Br==null||(Mr=Br.clusterConfiguration)===null||Mr===void 0?void 0:Mr.alias}):"-"}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.session"),children:Br!=null&&(xr=Br.history)!==null&&xr!==void 0&&xr.session?Object(Z.jsx)(je,{children:Br==null||(Vr=Br.history)===null||Vr===void 0?void 0:Vr.session}):Object(z.a)("button.disable")}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.useSqlFragment"),children:Br!=null&&(Dr=Br.history)!==null&&Dr!==void 0&&Dr.config.useSqlFragment?Object(z.a)("button.enable"):Object(z.a)("button.disable")}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.useStatementSet"),children:Br!=null&&(dr=Br.history)!==null&&dr!==void 0&&dr.config.useStatementSet?Object(z.a)("button.enable"):Object(z.a)("button.disable")}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.isJarTask"),children:Br!=null&&(gt=Br.history)!==null&>!==void 0&>.config.isJarTask?"Jar":"FlinkSQL"}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.useBatchModel"),children:Br!=null&&(Rr=Br.history)!==null&&Rr!==void 0&&Rr.config.useBatchModel?Object(z.a)("button.enable"):Object(z.a)("button.disable")}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.checkpoint"),children:Br==null||(ci=Br.history)===null||ci===void 0?void 0:ci.config.checkpoint}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.savePointStrategy"),children:(Br==null||(ai=Br.history)===null||ai===void 0?void 0:ai.config.savePointStrategy)=="NONE"?Object(z.a)("global.savepoint.strategy.disabled"):(Br==null||(bi=Br.history)===null||bi===void 0?void 0:bi.config.savePointStrategy)=="LATEST"?Object(z.a)("global.savepoint.strategy.latest"):(Br==null||(zr=Br.history)===null||zr===void 0?void 0:zr.config.savePointStrategy)=="EARLIEST"?Object(z.a)("global.savepoint.strategy.earliest"):(Br==null||(Hi=Br.history)===null||Hi===void 0?void 0:Hi.config.savePointStrategy)=="CUSTOM"?Object(z.a)("global.savepoint.strategy.custom"):Object(z.a)("global.savepoint.strategy.disabled")}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.savePointPath"),span:2,children:Br==null||(hi=Br.history)===null||hi===void 0?void 0:hi.config.savePointPath}),Br!=null&&Br.jar?Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.jarpath"),children:Br==null||(Ci=Br.jar)===null||Ci===void 0?void 0:Ci.path}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.jarmainclass"),children:Br==null||(Ii=Br.jar)===null||Ii===void 0?void 0:Ii.mainClass}),Object(Z.jsx)(ne.b.Item,{label:Object(z.a)("pages.devops.config.jarparams"),children:Br==null||(Mn=Br.jar)===null||Mn===void 0?void 0:Mn.paras})]}):void 0]})]}),Object(Z.jsx)(Z.Fragment,{children:!JSON.stringify(Br==null||(nr=Br.jobHistory)===null||nr===void 0?void 0:nr.config).includes("errors")&&(Br==null||(cr=Br.jobHistory)===null||cr===void 0?void 0:cr.config)&&Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsx)("br",{}),Object(Z.jsx)(Se.a,{children:"Flink Job Configuration",orientation:"left"}),Object(Z.jsxs)(ne.b,{bordered:!0,size:"small",children:[Object(Z.jsx)(ne.b.Item,{label:"Execution Mode",children:Object(Z.jsx)(i.a,{color:"blue",title:"Execution Mode",children:Br==null||(Lr=Br.jobHistory)===null||Lr===void 0?void 0:Lr.config["execution-config"]["execution-mode"]})}),Object(Z.jsx)(ne.b.Item,{label:"Restart Strategy",children:Object(Z.jsx)(i.a,{color:"blue",title:"Restart Strategy",children:Br==null||(ei=Br.jobHistory)===null||ei===void 0?void 0:ei.config["execution-config"]["restart-strategy"]})}),Object(Z.jsx)(ne.b.Item,{label:"Job Parallelism",children:Object(Z.jsx)(i.a,{color:"blue",title:"Job Parallelism",children:Br==null||(ki=Br.jobHistory)===null||ki===void 0?void 0:ki.config["execution-config"]["job-parallelism"]})}),Object(Z.jsx)(ne.b.Item,{label:"Object Reuse Mode",children:Object(Z.jsx)(i.a,{color:"blue",title:"Object Reuse Mode",children:Br==null||(ua=Br.jobHistory)===null||ua===void 0?void 0:ua.config["execution-config"]["object-reuse-mode"].toString()})}),Object(Z.jsx)(ne.b.Item,{label:"Flink User Configuration",span:3,children:Object(Z.jsx)(Te,{code:!0,children:JSON.stringify(Br==null||(Qi=Br.jobHistory)===null||Qi===void 0?void 0:Qi.config["execution-config"]["user-config"])})})]})]})})]})},fe=ft,ie=e("GL53"),ge=e("kZX9"),Ve=e("vBjj"),Ee=e("Znn+"),Me=e("ZTPi"),_e=e("INsO"),Re=Me.a.TabPane,et=function(Ut){var wt,Pn,an=Ut.job;return Object(Z.jsx)(Z.Fragment,{children:((wt=an.jobHistory)===null||wt===void 0?void 0:wt.exceptions)&&Object(Z.jsxs)(Me.a,{defaultActiveKey:"RootException",size:"small",tabPosition:"top",style:{border:"1px solid #f0f0f0"},children:[Object(Z.jsx)(Re,{tab:Object(Z.jsx)("span",{children:"Root Exception"}),children:Object(Z.jsx)(_e.a,{code:(Pn=an.jobHistory)===null||Pn===void 0?void 0:Pn.exceptions["root-exception"],language:"java",height:"500px"})},"RootException"),Object(Z.jsx)(Re,{tab:Object(Z.jsx)("span",{children:"Exception History"}),children:Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE,description:Object(z.a)("global.stay.tuned")})},"ExceptionHistory")]})})},Xe=et,it=function(Ut){var wt,Pn=Ut.job;return Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsx)(_e.a,{code:(wt=Pn.history)===null||wt===void 0?void 0:wt.statement,language:"sql",height:"500px"})})},bt=it,Ct=e("k1fw"),Bt=A.a.Text,qe=function(Ut){var wt="/api/alertGroup",Pn=Ut.job,an=[{title:Object(z.a)("pages.devops.jobinfo.alert.title"),dataIndex:"title",render:function(Tn,Zn){return Object(Z.jsx)(Bt,{style:{width:200},ellipsis:{tooltip:Zn.title},children:Zn.title})}},{title:Object(z.a)("pages.devops.jobinfo.alert.content"),dataIndex:"content",render:function(Tn,Zn){return Object(Z.jsx)(Bt,{style:{width:500},ellipsis:{tooltip:Zn.content},children:Zn.content})}},{title:Object(z.a)("pages.devops.jobinfo.alert.status"),dataIndex:"status",sorter:!0,render:function(Tn,Zn){return Zn.status===1?Object(Z.jsx)(Bt,{type:"success",children:Object(z.a)("pages.devops.jobinfo.alert.status.success")}):Object(Z.jsx)(Bt,{type:"danger",children:Object(z.a)("pages.devops.jobinfo.alert.status.failed")})}},{title:Object(z.a)("pages.devops.jobinfo.alert.log"),dataIndex:"log",render:function(Tn,Zn){return Object(Z.jsx)(Bt,{style:{width:500},ellipsis:{tooltip:Zn.log},children:Zn.log})}},{title:Object(z.a)("pages.devops.jobinfo.alert.createTime"),dataIndex:"createTime",valueType:"dateTime"}];return Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsx)(R.a,{columns:an,style:{width:"100%"},request:function(Tn,Zn,Mr){var xr;return Object(ge.o)(wt+"/history",Object(Ct.a)(Object(Ct.a)({},Tn),{},{jobInstanceId:(xr=Pn.instance)===null||xr===void 0?void 0:xr.id,sorter:Zn,filter:Mr}))},rowKey:"name",pagination:{defaultPageSize:10,showSizeChanger:!0},toolBarRender:!1,search:!1,size:"small"})})},st=qe,ut=e("Nymx"),nt=Me.a.TabPane,kt=function(Ut){var wt=Ut.job,Pn=Object(g.useState)(void 0),an=Object(I.a)(Pn,2),Dn=an[0],Tn=an[1],Zn=function(){var xr;Tn(void 0);var Vr=Object(q.c)((xr=wt.instance)===null||xr===void 0?void 0:xr.id);Vr.then(function(Dr){var dr;(dr=Dr.datas)===null||dr===void 0||dr.tables.forEach(function(gt){gt.isExpand=!0,gt.isFold=!1}),Tn(Dr.datas)})};return Object(g.useEffect)(function(){Zn()},[]),Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsx)(Me.a,{defaultActiveKey:"Lineage",size:"small",tabPosition:"top",style:{border:"1px solid #f0f0f0"},children:Object(Z.jsx)(nt,{tab:Object(Z.jsx)("span",{children:Object(z.a)("pages.devops.jobinfo.lineage")}),children:Dn?Object(Z.jsx)(ut.a,{datas:Dn}):Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE})},"Lineage")})})},Sn=kt,Tt=e("2BaD"),ht=e("RCxd"),Rt=e("Ue1A"),Ft=e("zsHu"),nn=e("wlus"),bn=Me.a.TabPane,sn=function(Ut){var wt,Pn,an,Dn,Tn,Zn,Mr,xr,Vr,Dr=Ut.job,dr=Object(g.useRef)(),gt=function(Ci){return JSON.parse(JSON.stringify(Ci))},Rr=function(Ci){var Ii,Mn=gt(Ci.counts),nr=gt(Ci.latest);return Object(Z.jsx)(Z.Fragment,{children:JSON.stringify(Dr==null||(Ii=Dr.jobHistory)===null||Ii===void 0?void 0:Ii.checkpoints).includes("errors")?Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE}):Object(Z.jsxs)(ne.b,{bordered:!0,size:"small",column:1,children:[Object(Z.jsxs)(ne.b.Item,{label:"CheckPoint Counts",children:[Object(Z.jsxs)(i.a,{color:"blue",title:"Total",children:[Object(Z.jsx)(W.a,{})," Total: ",Mn.total]}),Object(Z.jsxs)(i.a,{color:"red",title:"Failed",children:[Object(Z.jsx)(Tt.a,{})," Failed: ",Mn.failed]}),Object(Z.jsxs)(i.a,{color:"cyan",title:"Restored",children:[Object(Z.jsx)(ht.a,{})," Restored: ",Mn.restored]}),Object(Z.jsxs)(i.a,{color:"green",title:"Completed",children:[Object(Z.jsx)(Rt.a,{})," Completed: ",Mn.completed]}),Object(Z.jsxs)(i.a,{color:"orange",title:"In Progress",children:[Object(Z.jsx)(Ft.a,{spin:!0})," In Progress: ",Mn.in_progress]})]}),Object(Z.jsx)(ne.b.Item,{label:"Latest Completed CheckPoint",children:Object(Z.jsx)(i.a,{color:"green",title:"Latest Completed CheckPoint",children:nr.completed===null?"None":gt(nr.completed).external_path})}),Object(Z.jsx)(ne.b.Item,{label:"Latest Failed CheckPoint",children:nr.failed===null?Object(Z.jsx)(i.a,{color:"red",title:"Latest Failed CheckPoint",children:"None"}):Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsx)(i.a,{color:"red",title:"Latest Failed CheckPoint",children:"id\uFF1A "+gt(nr.failed).id}),Object(Z.jsx)(i.a,{color:"red",title:"Latest Failed CheckPoint",children:"Fail Time\uFF1A "+he()(gt(nr.failed).failure_timestamp).format("YYYY-MM-DD HH:mm:ss")}),Object(Z.jsx)(i.a,{color:"red",title:"Latest Failed CheckPoint",children:"Cause\uFF1A "+gt(nr.failed).failure_message})]})}),Object(Z.jsx)(ne.b.Item,{label:"Latest Restored",children:Object(Z.jsx)(i.a,{color:"cyan",title:"Latest Restored",children:nr.restored===null?"None":gt(nr.restored).external_path})}),Object(Z.jsx)(ne.b.Item,{label:"Latest Savepoint",children:Object(Z.jsx)(i.a,{color:"purple",title:"Latest Savepoint",children:nr.savepoint===null?"None":gt(nr.savepoint).external_path})})]})})},ci=function(Ci){var Ii,Mn=gt(gt(Ci.summary)).end_to_end_duration,nr=gt(gt(Ci.summary)).state_size,cr=gt(gt(Ci.summary)).processed_data,Lr=gt(gt(Ci.summary)).persisted_data,ei=gt(gt(Ci.summary)).alignment_buffered;return Object(Z.jsx)(Z.Fragment,{children:JSON.stringify(Dr==null||(Ii=Dr.jobHistory)===null||Ii===void 0?void 0:Ii.checkpoints).includes("errors")?Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE}):Object(Z.jsxs)(ne.b,{bordered:!0,size:"small",column:1,children:[Object(Z.jsxs)(ne.b.Item,{label:"End to End Duration",children:[Object(Z.jsxs)(i.a,{color:"blue",title:"Max",children:[Object(Z.jsx)(W.a,{})," Max: ",Object(C.d)(Mn.max)]}),Object(Z.jsxs)(i.a,{color:"green",title:"Min",children:[Object(Z.jsx)(W.a,{})," Min: ",Object(C.d)(Mn.min)]}),Object(Z.jsxs)(i.a,{color:"orange",title:"Avg",children:[Object(Z.jsx)(W.a,{})," Avg: ",Object(C.d)(Mn.avg)]})]}),Object(Z.jsxs)(ne.b.Item,{label:"Checkpointed Data Size",children:[Object(Z.jsxs)(i.a,{color:"blue",title:"Max",children:[Object(Z.jsx)(W.a,{})," Max: ",Object(C.a)(nr.max)]}),Object(Z.jsxs)(i.a,{color:"green",title:"Min",children:[Object(Z.jsx)(W.a,{})," Min: ",Object(C.a)(nr.min)]}),Object(Z.jsxs)(i.a,{color:"orange",title:"Avg",children:[Object(Z.jsx)(W.a,{})," Avg: ",Object(C.a)(nr.avg)]})]}),Object(Z.jsxs)(ne.b.Item,{label:"Processed (persisted) in-flight data",children:[Object(Z.jsxs)(i.a,{color:"blue",title:"Max",children:[Object(Z.jsx)(W.a,{})," Max: ",cr.max]}),Object(Z.jsxs)(i.a,{color:"green",title:"Min",children:[Object(Z.jsx)(W.a,{})," Min: ",cr.min]}),Object(Z.jsxs)(i.a,{color:"orange",title:"Avg",children:[Object(Z.jsx)(W.a,{})," Avg: ",cr.avg]})]}),Object(Z.jsxs)(ne.b.Item,{label:"Persisted data",children:[Object(Z.jsxs)(i.a,{color:"blue",title:"Max",children:[Object(Z.jsx)(W.a,{})," Max: ",Lr.max]}),Object(Z.jsxs)(i.a,{color:"green",title:"Min",children:[Object(Z.jsx)(W.a,{})," Min: ",Lr.min]}),Object(Z.jsxs)(i.a,{color:"orange",title:"Avg",children:[Object(Z.jsx)(W.a,{})," Avg: ",Lr.avg]})]}),Object(Z.jsxs)(ne.b.Item,{label:"Alignment Buffered",children:[Object(Z.jsxs)(i.a,{color:"blue",title:"Max",children:[Object(Z.jsx)(W.a,{})," Max: ",ei.max]}),Object(Z.jsxs)(i.a,{color:"green",title:"Min",children:[Object(Z.jsx)(W.a,{})," Min: ",ei.min]}),Object(Z.jsxs)(i.a,{color:"orange",title:"Avg",children:[Object(Z.jsx)(W.a,{})," Avg: ",ei.avg]})]})]})})};function ai(hi){T.a.confirm({title:Object(z.a)("pages.devops.jobinfo.ck.recovery"),content:Object(z.a)("pages.devops.jobinfo.ck.recoveryConfirm","",{path:hi.external_path}),okText:Object(z.a)("button.confirm"),cancelText:Object(z.a)("button.cancel"),onOk:function(){var Ci=Object(S.a)(Object(l.a)().mark(function Mn(){var nr,cr,Lr;return Object(l.a)().wrap(function(ki){for(;;)switch(ki.prev=ki.next){case 0:Lr=Object(q.k)(Dr==null||(nr=Dr.instance)===null||nr===void 0?void 0:nr.taskId,(Dr==null||(cr=Dr.instance)===null||cr===void 0?void 0:cr.step)==Ve.a.ONLINE,hi.external_path),Lr.then(function(ua){ua.code==ge.a.SUCCESS?(w.default.success(Object(z.a)("pages.devops.jobinfo.ck.recovery.success")),d.f.goBack()):w.default.error(Object(z.a)("pages.devops.jobinfo.ck.recovery.failed"))});case 2:case"end":return ki.stop()}},Mn)}));function Ii(){return Ci.apply(this,arguments)}return Ii}()})}var bi=function(Ci){var Ii,Mn=[];Ci==null||(Ii=Ci.history)===null||Ii===void 0||Ii.forEach(function(cr){return Mn.push({jobID:Dr==null?void 0:Dr.id,historyID:Dr==null?void 0:Dr.jobHistory.id,id:cr.id,status:cr.status,checkpoint_type:cr.checkpoint_type,end_to_end_duration:cr.end_to_end_duration,external_path:cr.external_path,latest_ack_timestamp:cr.latest_ack_timestamp,state_size:cr.state_size,trigger_timestamp:cr.trigger_timestamp})});var nr=[{title:Object(z.a)("pages.devops.jobinfo.ck.id"),align:"center",dataIndex:"id"},{title:Object(z.a)("pages.devops.jobinfo.ck.status"),align:"center",copyable:!0,render:function(Lr,ei){return ei.status==="COMPLETED"?Object(Z.jsx)(i.a,{icon:Object(Z.jsx)(Rt.a,{}),color:"success",children:ei.status}):ei.status==="IN_PROGRESS"?Object(Z.jsx)(i.a,{icon:Object(Z.jsx)(Ft.a,{spin:!0}),color:"processing",children:ei.status}):ei.status==="FAILED"?Object(Z.jsx)(i.a,{icon:Object(Z.jsx)(Tt.a,{}),color:"error",children:ei.status}):Object(Z.jsx)(i.a,{icon:Object(Z.jsx)(nn.a,{}),color:"default",children:ei.status})}},{title:Object(z.a)("pages.devops.jobinfo.ck.duration"),align:"center",copyable:!0,render:function(Lr,ei){return ei.end_to_end_duration===null?"None":Object(C.b)(ei.end_to_end_duration)}},{title:Object(z.a)("pages.devops.jobinfo.ck.checkpoint_type"),align:"center",dataIndex:"checkpoint_type"},{title:Object(z.a)("pages.devops.jobinfo.ck.external_path"),align:"center",copyable:!0,dataIndex:"external_path"},{title:Object(z.a)("pages.devops.jobinfo.ck.latest_ack_timestamp"),align:"center",dataIndex:"latest_ack_timestamp",valueType:"dateTime"},{title:Object(z.a)("pages.devops.jobinfo.ck.state_size"),align:"center",render:function(Lr,ei){return ei.state_size===null?"None":Object(C.a)(ei.state_size)}},{title:Object(z.a)("pages.devops.jobinfo.ck.trigger_timestamp"),align:"center",valueType:"dateTime",dataIndex:"trigger_timestamp"},{title:Object(z.a)("global.table.operate"),align:"center",render:function(Lr,ei){return Object(Z.jsx)(Z.Fragment,{children:ei.status==="COMPLETED"?Object(Z.jsx)(t.a,{onClick:function(){return ai(ei)},children:"\u6B64\u5904\u6062\u590D"}):void 0})}}];return Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsx)(R.a,{columns:nr,style:{width:"100%"},dataSource:Mn,onDataSourceChange:function(Lr){var ei;(ei=dr.current)===null||ei===void 0||ei.reload()},actionRef:dr,rowKey:"id",pagination:{defaultPageSize:10,showSizeChanger:!0},toolBarRender:!1,dateFormatter:"string",search:!1,size:"small"})})},zr=function(Ci){var Ii,Mn=gt(Ci);return Object(Z.jsx)(Z.Fragment,{children:JSON.stringify(Dr==null||(Ii=Dr.jobHistory)===null||Ii===void 0?void 0:Ii.checkpointsConfig).includes("errors")?Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE}):Object(Z.jsxs)(ne.b,{bordered:!0,size:"small",column:1,children:[Object(Z.jsx)(ne.b.Item,{label:"Checkpointing Mode",children:Object(Z.jsx)(i.a,{color:"blue",title:"Checkpointing Mode",children:Mn.mode.toUpperCase()})}),Object(Z.jsx)(ne.b.Item,{label:"Checkpoint Storage",children:Object(Z.jsx)(i.a,{color:"blue",title:"Checkpoint Storage",children:Mn.checkpoint_storage?Mn.checkpoint_storage:"Disabled"})}),Object(Z.jsx)(ne.b.Item,{label:"State Backend",children:Object(Z.jsx)(i.a,{color:"blue",title:"State Backend",children:Mn.state_backend?Mn.state_backend:"Disabled"})}),Object(Z.jsx)(ne.b.Item,{label:"Interval",children:Object(Z.jsx)(i.a,{color:"blue",title:"Interval",children:Mn.interval})}),Object(Z.jsx)(ne.b.Item,{label:"Timeout",children:Object(Z.jsx)(i.a,{color:"blue",title:"Timeout",children:Mn.timeout})}),Object(Z.jsx)(ne.b.Item,{label:"Minimum Pause Between Checkpoints",children:Object(Z.jsx)(i.a,{color:"blue",title:"Minimum Pause Between Checkpoints",children:Mn.min_pause})}),Object(Z.jsx)(ne.b.Item,{label:"Maximum Concurrent Checkpoints",children:Object(Z.jsx)(i.a,{color:"blue",title:"Maximum Concurrent Checkpoints",children:Mn.max_concurrent})}),Object(Z.jsx)(ne.b.Item,{label:"Unaligned Checkpoints ",children:Object(Z.jsx)(i.a,{color:"blue",title:"Unaligned Checkpoints",children:Mn.unaligned_checkpoints?"Enabled":"Disabled"})}),Object(Z.jsx)(ne.b.Item,{label:"Persist Checkpoints Externally Enabled",children:Object(Z.jsx)(i.a,{color:"blue",title:"Persist Checkpoints Externally Enabled",children:gt(Mn.externalization).enabled?"Enabled":"Disabled"})}),gt(Mn.externalization).enabled&&Object(Z.jsx)(ne.b.Item,{label:"Delete On Cancellation",children:Object(Z.jsx)(i.a,{color:"blue",title:"Delete On Cancellation",children:gt(Mn.externalization).delete_on_cancellation?"Enabled":"Disabled"})}),Object(Z.jsx)(ne.b.Item,{label:"Tolerable Failed Checkpoints",children:Object(Z.jsx)(i.a,{color:"blue",title:"Tolerable Failed Checkpoints",children:Mn.tolerable_failed_checkpoints})})]})})};function Hi(){var hi="/api/savepoints",Ci=[{title:Object(z.a)("pages.devops.jobinfo.ck.id"),align:"center",dataIndex:"id",hideInTable:!0},{title:Object(z.a)("pages.devops.jobinfo.ck.taskid"),align:"center",dataIndex:"taskId",hideInTable:!0},{title:Object(z.a)("pages.devops.jobinfo.ck.name"),align:"center",dataIndex:"name"},{title:Object(z.a)("pages.devops.jobinfo.ck.checkpoint_type"),align:"center",dataIndex:"type"},{title:Object(z.a)("pages.devops.jobinfo.ck.external_path"),align:"center",copyable:!0,dataIndex:"path"},{title:Object(z.a)("pages.devops.jobinfo.ck.trigger_timestamp"),align:"center",valueType:"dateTime",dataIndex:"createTime"}];return Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsx)(R.a,{columns:Ci,style:{width:"100%"},request:function(Mn,nr,cr){return Object(ge.o)(hi,Object(Ct.a)(Object(Ct.a)({taskId:Dr==null?void 0:Dr.instance.taskId},Mn),{},{sorter:nr,filter:cr}))},actionRef:dr,rowKey:"id",pagination:{pageSize:10},search:!1,size:"small"})})}return Object(Z.jsx)(Z.Fragment,{children:((Dr==null||(wt=Dr.jobHistory)===null||wt===void 0?void 0:wt.checkpoints)||(Dr==null||(Pn=Dr.jobHistory)===null||Pn===void 0?void 0:Pn.checkpointsConfig))&&Object(Z.jsxs)(Me.a,{defaultActiveKey:"overview",size:"small",tabPosition:"top",style:{border:"1px solid #f0f0f0"},children:[Object(Z.jsx)(bn,{tab:Object(Z.jsx)("span",{children:"\xA0 Overview \xA0"}),children:JSON.stringify(Dr==null||(an=Dr.jobHistory)===null||an===void 0?void 0:an.checkpoints).includes("errors")?Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE}):Rr(gt(Dr==null||(Dn=Dr.jobHistory)===null||Dn===void 0?void 0:Dn.checkpoints))},"overview"),Object(Z.jsx)(bn,{tab:Object(Z.jsx)("span",{children:"\xA0 History \xA0"}),children:bi(gt(Dr==null||(Tn=Dr.jobHistory)===null||Tn===void 0?void 0:Tn.checkpoints))},"history"),Object(Z.jsx)(bn,{tab:Object(Z.jsx)("span",{children:"\xA0 Summary \xA0"}),children:JSON.stringify(Dr==null||(Zn=Dr.jobHistory)===null||Zn===void 0?void 0:Zn.checkpoints).includes("errors")?Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE}):ci(gt(Dr==null||(Mr=Dr.jobHistory)===null||Mr===void 0?void 0:Mr.checkpoints))},"summary"),Object(Z.jsx)(bn,{tab:Object(Z.jsx)("span",{children:"\xA0 Configuration \xA0"}),children:JSON.stringify(Dr==null||(xr=Dr.jobHistory)===null||xr===void 0?void 0:xr.checkpointsConfig).includes("errors")?Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE}):zr(gt(Dr==null||(Vr=Dr.jobHistory)===null||Vr===void 0?void 0:Vr.checkpointsConfig))},"configuration"),Object(Z.jsx)(bn,{tab:Object(Z.jsx)("span",{children:"\xA0 SavePoint \xA0"}),children:Hi()},"savepoint")]})})},un=sn,Ht=Me.a.TabPane,jn=function(Ut){var wt=Ut.job,Pn=Object(g.useState)(),an=Object(I.a)(Pn,2),Dn=an[0],Tn=an[1],Zn=function(){var Dr,dr=Object(q.b)(wt==null||(Dr=wt.history)===null||Dr===void 0?void 0:Dr.jobManagerAddress);dr.then(function(gt){Tn(gt.datas)})};Object(g.useEffect)(function(){Zn()},[]);var Mr=function(){var Dr=[],dr=Dn==null?void 0:Dn.metrics;for(var gt in dr)Dr.push(Object(Z.jsx)(ne.b.Item,{label:gt,children:dr[gt]}));return Dr},xr=function(){var Dr=[],dr=Dn==null?void 0:Dn.jobManagerConfig;for(var gt in dr)Dr.push(Object(Z.jsx)(ne.b.Item,{label:gt,children:dr[gt]}));return Dr};return Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsxs)(Me.a,{defaultActiveKey:"metrics",size:"small",tabPosition:"top",style:{border:"1px solid #f0f0f0"},children:[Object(Z.jsx)(Ht,{tab:Object(Z.jsx)("span",{children:"\xA0 Metrics \xA0"}),children:Object(Z.jsx)(ne.b,{bordered:!0,size:"small",column:1,children:Mr()})},"metrics"),Object(Z.jsx)(Ht,{tab:Object(Z.jsx)("span",{children:"\xA0 Configuration \xA0"}),children:Object(Z.jsx)(ne.b,{bordered:!0,size:"small",column:1,children:xr()})},"configuration"),Object(Z.jsx)(Ht,{tab:Object(Z.jsx)("span",{children:"\xA0 Logs \xA0"}),children:Dn!=null&&Dn.jobManagerLog?Object(Z.jsx)(_e.a,{code:Dn==null?void 0:Dn.jobManagerLog,language:"java",height:"500px"}):Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE})},"logs"),Object(Z.jsx)(Ht,{tab:Object(Z.jsx)("span",{children:"\xA0 Stdout \xA0"}),children:Dn!=null&&Dn.jobManagerStdout?Object(Z.jsx)(_e.a,{code:Dn==null?void 0:Dn.jobManagerStdout,language:"java",height:"500px"}):Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE})},"stdout")]})})},Ln=jn,Un=e("VTBJ"),lt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},Nt=lt,zt=e("6VBw"),en=function(Ut,wt){return g.createElement(zt.a,Object(Un.a)(Object(Un.a)({},Ut),{},{ref:wt,icon:Nt}))};en.displayName="HomeOutlined";var tn=g.forwardRef(en),wn=Me.a.TabPane,on=function(Ut){var wt=Ut.job,Pn=Object(g.useRef)(),an=Object(g.useState)(),Dn=Object(I.a)(an,2),Tn=Dn[0],Zn=Dn[1],Mr=Object(g.useState)(),xr=Object(I.a)(Mr,2),Vr=xr[0],Dr=xr[1],dr=function(){var zr,Hi=Object(q.e)(wt==null||(zr=wt.history)===null||zr===void 0?void 0:zr.jobManagerAddress);Hi.then(function(hi){Dr(hi.datas)})};Object(g.useEffect)(function(){dr()},[]);var gt=function(){Zn(void 0)},Rr=function(zr){var Hi=[];for(var hi in zr)Hi.push(Object(Z.jsx)(ne.b.Item,{label:hi,children:zr[hi]}));return Hi},ci=function(){return Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsx)("div",{style:{marginBottom:4},children:Object(Z.jsxs)(t.a,{title:Object(z.a)("button.back"),onClick:gt,children:[" \u2190 ",Object(z.a)("button.back"),Object(Z.jsx)(tn,{})," "]})}),Object(Z.jsxs)(Me.a,{defaultActiveKey:"metrics",size:"small",tabPosition:"top",style:{border:"1px solid #f0f0f0"},children:[Object(Z.jsx)(wn,{tab:Object(Z.jsx)("span",{children:"\xA0 Metrics \xA0"}),children:Object(Z.jsx)(ne.b,{bordered:!0,size:"small",column:1,children:Rr(Tn==null?void 0:Tn.metrics)})},"metrics"),Object(Z.jsx)(wn,{tab:Object(Z.jsx)("span",{children:"\xA0 Logs \xA0"}),children:Tn!=null&&Tn.taskManagerLog?Object(Z.jsx)(_e.a,{code:Tn==null?void 0:Tn.taskManagerLog,language:"java",height:"500px"}):Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE})},"logs"),Object(Z.jsx)(wn,{tab:Object(Z.jsx)("span",{children:"\xA0 Stdout \xA0"}),children:Tn!=null&&Tn.taskManagerStdout?Object(Z.jsx)(_e.a,{code:Tn==null?void 0:Tn.taskManagerStdout,language:"java",height:"500px"}):Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE})},"stdout"),Object(Z.jsx)(wn,{tab:Object(Z.jsx)("span",{children:"\xA0 Thread Dump \xA0"}),children:Tn!=null&&Tn.taskManagerThreadDump?Object(Z.jsx)(_e.a,{code:Tn==null?void 0:Tn.taskManagerThreadDump,language:"java",height:"500px"}):Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE})},"threaddump")]})]})},ai=[{title:"ID,Path",dataIndex:"containerId",copyable:!0,render:function(zr,Hi){return Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsx)("a",{style:{width:500},onClick:function(){return Zn(Hi.taskContainerConfigInfo)},children:Hi.containerId}),Object(Z.jsx)("br",{}),Object(Z.jsx)("span",{children:Hi.containerPath})]})}},{title:"Data Port",align:"center",dataIndex:"dataPort"},{title:"JMX Port",align:"center",sorter:!0,dataIndex:"jmxPort"},{title:"Last Heartbeat",align:"center",sorter:!0,valueType:"dateTime",dataIndex:"timeSinceLastHeartbeat"},{title:"All Solts",align:"center",sorter:!0,dataIndex:"slotsNumber"},{title:"Free Solts",align:"center",sorter:!0,dataIndex:"freeSlots"},{title:"CPU Cores",align:"center",sorter:!0,render:function(zr,Hi){return JSON.parse(Hi.totalResource).cpuCores}},{title:"Free Cores",align:"center",sorter:!0,render:function(zr,Hi){return JSON.parse(Hi.freeResource).cpuCores}},{title:"Physical Mem",align:"center",sorter:!0,render:function(zr,Hi){return Object(C.a)(JSON.parse(Hi.hardware).physicalMemory)}},{title:"Free Mem",align:"center",sorter:!0,render:function(zr,Hi){return Object(C.a)(JSON.parse(Hi.hardware).freeMemory)}},{title:"Hardware ManagedMem",align:"center",sorter:!0,render:function(zr,Hi){return Object(C.a)(JSON.parse(Hi.hardware).managedMemory)}},{title:"Total ProcessMem",align:"center",sorter:!0,render:function(zr,Hi){return Object(C.a)(JSON.parse(Hi.memoryConfiguration).totalProcessMemory)}},{title:"Total FlinkMem",align:"center",sorter:!0,render:function(zr,Hi){return Object(C.a)(JSON.parse(Hi.memoryConfiguration).totalFlinkMemory)}},{title:"Task Heap",align:"center",sorter:!0,render:function(zr,Hi){return Object(C.a)(JSON.parse(Hi.memoryConfiguration).taskHeap)}},{title:"JVM Heap",align:"center",sorter:!0,render:function(zr,Hi){return Object(C.a)(JSON.parse(Hi.hardware).freeMemory)}},{title:"Flink ManagedMem",align:"center",sorter:!0,render:function(zr,Hi){return Object(C.a)(JSON.parse(Hi.hardware).managedMemory)}}];return Object(Z.jsxs)(Z.Fragment,{children:[Tn?ci():void 0,!Tn&&(Vr==null?void 0:Vr.length)>0?Object(Z.jsx)(R.a,{columns:ai,style:{width:"100%"},dataSource:Vr,actionRef:Pn,rowKey:"containerId",pagination:{pageSize:8},toolBarRender:!1,dateFormatter:"string",search:!1,size:"small"}):Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE})]})},vn=on,dt=Me.a.TabPane,ct=function(Ut){var wt=Ut.job;return Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsxs)(Me.a,{defaultActiveKey:"JobManagerInfo",size:"small",tabPosition:"top",style:{border:"1px solid #f0f0f0"},children:[Object(Z.jsx)(dt,{tab:Object(Z.jsx)("span",{children:"Job Manager"}),children:Object(Z.jsx)(Ln,{job:wt})},"JobManagerInfo"),Object(Z.jsx)(dt,{tab:Object(Z.jsx)("span",{children:"Task Managers"}),children:Object(Z.jsx)(vn,{job:wt})},"TaskManagerInfo")]})})},Kt=ct,pn=e("bXwp"),kn=e("3R4v"),Pt="/api/task/version",gn=function(Ut){var wt=Ut.job,Pn=Object(g.useRef)(),an=Object(g.useState)(),Dn=Object(I.a)(an,2),Tn=Dn[0],Zn=Dn[1],Mr=Object(g.useState)(!1),xr=Object(I.a)(Mr,2),Vr=xr[0],Dr=xr[1],dr=function(){Zn(void 0),Dr(!1)},gt=function(ai){return Object(Z.jsx)("div",{style:{width:"1100px"},children:Object(Z.jsx)(T.a,{title:Object(z.a)("pages.devops.jobinfo.version.sql.title"),visible:Vr,destroyOnClose:!0,width:"60%",onCancel:function(){dr()},footer:[Object(Z.jsx)(t.a,{onClick:function(){dr()},children:Object(z.a)("button.close")},"back")],children:Object(Z.jsx)(_e.a,{language:"sql",code:ai==null?void 0:ai.statement,height:"600px"})})})},Rr=[{title:Object(z.a)("pages.devops.jobinfo.version.id"),align:"center",dataIndex:"taskId",hideInSearch:!0},{title:Object(z.a)("pages.devops.jobinfo.version.name"),align:"center",sorter:!0,dataIndex:"name"},{title:Object(z.a)("pages.devops.jobinfo.version.alias"),align:"center",sorter:!0,dataIndex:"alias"},{title:Object(z.a)("pages.devops.jobinfo.version.dialect"),align:"center",render:function(ai,bi){return Object(Z.jsxs)(Z.Fragment,{children:[Object(pn.a)(bi.dialect),Object(Z.jsx)(i.a,{color:"blue",children:bi.dialect})]})}},{title:Object(z.a)("pages.devops.jobinfo.version.type"),align:"center",render:function(ai,bi){return Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsx)(i.a,{color:"blue",children:bi.type})})}},{title:Object(z.a)("pages.devops.jobinfo.version.versionId"),align:"center",sorter:!0,dataIndex:"versionId"},{title:Object(z.a)("pages.devops.jobinfo.version.sql"),align:"center",ellipsis:!0,hideInSearch:!0,render:function(ai,bi){return Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsxs)("a",{onClick:function(){Zn(bi),Dr(!0)},children:[Object(Z.jsx)(i.a,{color:"green",children:Object(Z.jsx)(kn.a,{title:Object(z.a)("pages.devops.jobinfo.version.sql.showdetail")})})," ",Object(z.a)("pages.devops.jobinfo.version.sql.showdetail")]})})})}},{title:Object(z.a)("global.table.createTime"),align:"center",sorter:!0,valueType:"dateTime",dataIndex:"createTime"}];return Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsx)(R.a,{columns:Rr,style:{width:"100%"},request:function(ai,bi,zr){return Object(ge.o)(Pt,Object(Ct.a)(Object(Ct.a)({taskId:wt==null?void 0:wt.instance.taskId},ai),{},{sorter:bi,filter:zr}))},actionRef:Pn,rowKey:"id",pagination:{defaultPageSize:10,showSizeChanger:!0},bordered:!0,search:!1,size:"small"}),gt(Tn)]})},_n=gn,Kn=e("IzEo"),qn=e("bx4M"),rr=e("EFp3"),Rn=e("82A9"),mr=e("wx14"),ar=e("rePB"),sr=e("ODXe"),yr=e("XSw6"),br=e("TSYQ"),_r=e.n(br),li=e("8XRh"),xi=e("zT1h"),Mi=e("6cGi"),Fr=e("bT9E"),ur=e("H84U"),Ti=e("i6bk"),Xi=e("0n0R"),ca=e("zAh6"),Zi=e("PEeC"),xa=function(Ut){var wt=Ut.prefixCls,Pn=Ut.rootPrefixCls,an=Ut.children,Dn=Ut.visible,Tn=g.createElement("div",{className:"".concat(wt,"-content")},g.createElement("div",{className:"".concat(wt,"-icon")},g.createElement(yr.a,null)));return g.createElement(li.b,{visible:Dn,motionName:"".concat(Pn,"-fade")},function(Zn){var Mr=Zn.className;return Object(Xi.a)(an||Tn,function(xr){var Vr=xr.className;return{className:_r()(Mr,Vr)}})})},va=function(Ut){var wt=Object(Mi.a)(!1,{value:Ut.visible}),Pn=Object(sr.a)(wt,2),an=Pn[0],Dn=Pn[1],Tn=g.createRef(),Zn=g.useRef(null),Mr=function(){return Tn.current&&Tn.current.ownerDocument?Tn.current.ownerDocument:window},xr=Object(Zi.a)(function(Ii){var Mn=Ut.visibilityHeight,nr=Mn===void 0?400:Mn,cr=Object(Ti.a)(Ii.target,!0);Dn(cr>nr)}),Vr=function(){var Mn=Ut.target,nr=Mn||Mr,cr=nr();Zn.current=Object(xi.a)(cr,"scroll",function(Lr){xr(Lr)}),xr({target:cr})};g.useEffect(function(){return Vr(),function(){Zn.current&&Zn.current.remove(),xr.cancel()}},[Ut.target]);var Dr=function(Mn){var nr=Ut.onClick,cr=Ut.target,Lr=Ut.duration,ei=Lr===void 0?450:Lr;Object(ca.a)(0,{getContainer:cr||Mr,duration:ei}),typeof nr=="function"&&nr(Mn)},dr=g.useContext(ur.b),gt=dr.getPrefixCls,Rr=dr.direction,ci=Ut.prefixCls,ai=Ut.className,bi=ai===void 0?"":ai,zr=gt("back-top",ci),Hi=gt(),hi=_r()(zr,Object(ar.a)({},"".concat(zr,"-rtl"),Rr==="rtl"),bi),Ci=Object(Fr.a)(Ut,["prefixCls","className","children","visibilityHeight","target","visible"]);return g.createElement("div",Object(mr.a)({},Ci,{className:hi,onClick:Dr,ref:Tn}),g.createElement(xa,{prefixCls:zr,rootPrefixCls:Hi,visible:an},Ut.children))},Ma=g.memo(va),_a=e("7Kak"),na=e("9yH6"),sa=e("RC8p"),Ai=e("rgW5"),ba="/api/task/version",ea=function(Ut){var wt=Ut.job,Pn=Object(g.useState)("alternate"),an=Object(I.a)(Pn,2),Dn=an[0],Tn=an[1],Zn=Object(g.useState)(!1),Mr=Object(I.a)(Zn,2),xr=Mr[0],Vr=Mr[1],Dr=function(Mn){Tn(Mn.target.value)},dr=Object(g.useState)(),gt=Object(I.a)(dr,2),Rr=gt[0],ci=gt[1],ai=wt.instance.taskId,bi=function(){ci(void 0);var Mn=Object(ge.o)(ba,{taskId:ai,sorter:{versionId:"descend"}});Mn.then(function(nr){ci(nr.data)})};Object(g.useEffect)(function(){bi()},[]);var zr=function(){Vr(!xr)},Hi={height:40,width:40,lineHeight:"40px",borderRadius:4,backgroundColor:"#1088e9",color:"#fff",textAlign:"center",fontSize:14},hi=function(){var Mn=[],nr=Rr;for(var cr in nr)Mn.push(Object(Z.jsxs)(Ai.a.Item,{dot:Object(Z.jsx)(Rt.a,{}),label:he()(nr[cr].createTime).format("YYYY-MM-DD HH:mm:ss"),color:"green",children:[Object(Z.jsxs)("p",{children:[nr[cr].name,": Create Version \u3010",nr[cr].versionId,"\u3011"]}),Object(Z.jsxs)("p",{children:["Execute Mode: \u3010",nr[cr].type,"\u3011"]})]}));return Mn};function Ci(){bi()}return Object(Z.jsxs)("div",{style:{marginTop:"20px"},children:[Object(Z.jsx)(t.a,{type:"primary",style:{margin:"5px"},onClick:zr,children:xr?Object(z.a)("button.desc"):Object(z.a)("button.asc")}),Object(Z.jsx)(t.a,{type:"primary",style:{margin:"5px"},onClick:Ci,children:Object(z.a)("button.refresh")}),Object(Z.jsxs)(na.a.Group,{onChange:Dr,value:Dn,children:[Object(Z.jsx)(na.a,{value:"left",children:Object(z.a)("pages.devops.jobinfo.version.timeline.left")}),Object(Z.jsx)(na.a,{value:"right",children:Object(z.a)("pages.devops.jobinfo.version.timeline.right")}),Object(Z.jsx)(na.a,{value:"alternate",children:Object(z.a)("pages.devops.jobinfo.version.timeline.alternate")})]}),Object(Z.jsxs)(qn.a,{size:"small",style:{width:"auto"},children:[Object(Z.jsx)("br",{}),Object(Z.jsx)("br",{}),Object(Z.jsx)(Ai.a,{mode:Dn,pending:he()().format("YYYY-MM-DD HH:mm:ss")+Object(z.a)("pages.devops.jobinfo.version.timeline.developing"),reverse:xr,pendingDot:Object(Z.jsx)(Ft.a,{spin:!0}),children:hi()}),Object(Z.jsx)(Ma,{children:Object(Z.jsx)("div",{style:Hi,children:Object(z.a)("pages.devops.jobinfo.version.timeline.top")})})]})]})},mn=ea,It=Me.a.TabPane,Ue=function(Ut){var wt=Ut.job;return Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsxs)(Me.a,{defaultActiveKey:"overview",size:"small",tabPosition:"top",style:{border:"1px solid #f0f0f0"},children:[Object(Z.jsx)(It,{tab:Object(Z.jsxs)("span",{children:["\xA0 ",Object(z.a)("pages.devops.jobinfo.version.list")," \xA0"]}),children:Object(Z.jsx)(_n,{job:wt})},"versionlist"),Object(Z.jsx)(It,{tab:Object(Z.jsxs)("span",{children:["\xA0 ",Object(z.a)("pages.devops.jobinfo.version.timeline")," \xA0"]}),children:Object(Z.jsx)(mn,{job:wt})},"timeline")]})})},Ze=Ue,Pe=A.a.Link,mt=function(Ut){var wt,Pn,an,Dn,Tn,Zn,Mr,xr,Vr,Dr,dr,gt,Rr=Object(b.k)();Object(Y.a)(Ut);var ci=Rr.query.id,ai=Object(g.useState)(),bi=Object(I.a)(ai,2),zr=bi[0],Hi=bi[1],hi=Object(g.useState)(function(){return Date.now()}),Ci=Object(I.a)(hi,2),Ii=Ci[0],Mn=Ci[1],nr=Object(g.useState)("base"),cr=Object(I.a)(nr,2),Lr=cr[0],ei=cr[1],ki=function(){var In=Object(q.a)(ci);In.then(function(ve){Hi(ve.datas),Mn(Date.now())})};Object(g.useEffect)(function(){ki();var Ja=setInterval(ki,3e3);return function(){clearInterval(Ja)}},[]);var ua=function(){var In=Object(q.j)(ci);In.then(function(ve){Hi(ve.datas),Mn(Date.now())})},Qi=function(){d.f.goBack()},Br=function(In){if(In=="canceljob"){T.a.confirm({title:Object(z.a)("pages.devops.jobinfo.stopJob"),content:Object(z.a)("pages.devops.jobinfo.stopJobConfirm"),okText:Object(z.a)("button.confirm"),cancelText:Object(z.a)("button.cancel"),onOk:function(){var ve=Object(S.a)(Object(l.a)().mark(function le(){var me,Ae,tt,pt;return Object(l.a)().wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(zr!=null&&(me=zr.cluster)!==null&&me!==void 0&&me.id){we.next=2;break}return we.abrupt("return");case 2:pt=Object(ie.a)(zr==null||(Ae=zr.cluster)===null||Ae===void 0?void 0:Ae.id,zr==null||(tt=zr.instance)===null||tt===void 0?void 0:tt.jid),pt.then(function(Be){Be.code==ge.a.SUCCESS?(w.default.success(Object(z.a)("pages.devops.jobinfo.canceljob.success")),ki()):w.default.error(Object(z.a)("pages.devops.jobinfo.canceljob.failed"))});case 4:case"end":return we.stop()}},le)}));function x(){return ve.apply(this,arguments)}return x}()});return}T.a.confirm({title:Object(z.a)("pages.devops.jobinfo.job.key","",{key:In}),content:Object(z.a)("pages.devops.jobinfo.job.keyConfirm","",{key:In}),okText:Object(z.a)("button.confirm"),cancelText:Object(z.a)("button.cancel"),onOk:function(){var ve=Object(S.a)(Object(l.a)().mark(function le(){var me,Ae,tt;return Object(l.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(zr!=null&&(me=zr.cluster)!==null&&me!==void 0&&me.id){ke.next=2;break}return ke.abrupt("return");case 2:tt=Object(ie.l)(zr==null||(Ae=zr.instance)===null||Ae===void 0?void 0:Ae.taskId,In),tt.then(function(we){we.code==ge.a.SUCCESS?(w.default.success(Object(z.a)("pages.devops.jobinfo.job.key.success","",{key:In})),ki()):w.default.error(Object(z.a)("pages.devops.jobinfo.job.key.failed","",{key:In}))});case 4:case"end":return ke.stop()}},le)}));function x(){return ve.apply(this,arguments)}return x}()})},ga=function(){T.a.confirm({title:Object(z.a)("pages.devops.jobinfo.reonlineJob"),content:Object(z.a)("pages.devops.jobinfo.reonlineJobConfirm"),okText:Object(z.a)("button.confirm"),cancelText:Object(z.a)("button.cancel"),onOk:function(){var In=Object(S.a)(Object(l.a)().mark(function x(){var le,me,Ae,tt;return Object(l.a)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(zr!=null&&(le=zr.cluster)!==null&&le!==void 0&&le.id){ke.next=2;break}return ke.abrupt("return");case 2:tt=Object(ie.r)(zr==null||(me=zr.instance)===null||me===void 0?void 0:me.taskId,(zr==null||(Ae=zr.instance)===null||Ae===void 0?void 0:Ae.step)==Ve.a.ONLINE),tt.then(function(we){we.code==ge.a.SUCCESS?w.default.success(Object(z.a)("pages.devops.jobinfo.reonline.success")):w.default.error(Object(z.a)("pages.devops.jobinfo.reonline.failed"))});case 4:case"end":return ke.stop()}},x)}));function ve(){return In.apply(this,arguments)}return ve}()})},fa=function(){var In,ve,x,le,me=[Object(Z.jsx)(t.a,{type:"dashed",onClick:Qi,children:Object(z.a)("button.back")},"back")];if(me.push(Object(Z.jsx)(t.a,{icon:Object(Z.jsx)(O.a,{}),onClick:ua},"refresh")),me.push(Object(Z.jsx)(t.a,{children:Object(Z.jsx)(Pe,{href:"http://".concat(zr==null||(In=zr.history)===null||In===void 0?void 0:In.jobManagerAddress,"/#/job/").concat(zr==null||(ve=zr.instance)===null||ve===void 0?void 0:ve.jid,"/overview"),target:"_blank",children:"FlinkWebUI"})},"flinkwebui")),me.push(Object(Z.jsx)(t.a,{type:"primary",onClick:ga,children:(zr==null||(x=zr.instance)===null||x===void 0?void 0:x.step)==5?Object(z.a)("pages.devops.jobinfo.reonline"):Object(z.a)("pages.devops.jobinfo.restart")},"autorestart")),!Object(y.c)(zr==null||(le=zr.instance)===null||le===void 0?void 0:le.status)){var Ae;me.push(Object(Z.jsx)(t.a,{type:"primary",danger:!0,onClick:function(){Br("cancel")},children:(zr==null||(Ae=zr.instance)===null||Ae===void 0?void 0:Ae.step)==5?Object(z.a)("pages.devops.jobinfo.offline"):Object(z.a)("pages.devops.jobinfo.smart_stop")},"autostop")),me.push(Object(Z.jsx)(n.a,{trigger:["click"],overlay:Object(Z.jsxs)(m.a,{onClick:function(pt){var ke=pt.key;return Br(ke)},children:[Object(Z.jsx)(m.a.Item,{children:Object(z.a)("pages.devops.jobinfo.savepoint.trigger")},"trigger"),Object(Z.jsx)(m.a.Item,{children:Object(z.a)("pages.devops.jobinfo.savepoint.stop")},"stop"),Object(Z.jsx)(m.a.Item,{children:Object(z.a)("pages.devops.jobinfo.savepoint.cancel")},"cancel"),Object(Z.jsx)(m.a.Item,{children:Object(z.a)("pages.devops.jobinfo.savepoint.canceljob")},"canceljob")]}),children:Object(Z.jsx)(t.a,{style:{padding:"0 8px"},children:Object(Z.jsx)(E.a,{})},"4")},"dropdown"))}return me};return Object(Z.jsx)(re.a,{header:{title:Object(Z.jsxs)(Z.Fragment,{children:[Object(Z.jsx)(Ve.b,{step:zr==null||(wt=zr.instance)===null||wt===void 0?void 0:wt.step}),zr==null||(Pn=zr.instance)===null||Pn===void 0?void 0:Pn.name]}),ghost:!0,extra:fa()},content:Object(Z.jsx)(Z.Fragment,{children:Object(Z.jsxs)(f.b,{size:0,children:[zr!=null&&(an=zr.instance)!==null&&an!==void 0&&an.jid?Object(Z.jsxs)(i.a,{color:"blue",children:[Object(Z.jsx)(D.a,{})," ",zr==null||(Tn=zr.instance)===null||Tn===void 0?void 0:Tn.jid]},zr==null||(Dn=zr.instance)===null||Dn===void 0?void 0:Dn.jid):void 0,Object(Z.jsx)(y.b,{status:zr==null||(Zn=zr.instance)===null||Zn===void 0?void 0:Zn.status}),zr!=null&&(Mr=zr.history)!==null&&Mr!==void 0&&Mr.type?Object(Z.jsxs)(i.a,{color:"blue",children:[Object(Z.jsx)(W.a,{})," ",zr==null||(Vr=zr.history)===null||Vr===void 0?void 0:Vr.type]},zr==null||(xr=zr.history)===null||xr===void 0?void 0:xr.type):void 0,zr!=null&&(Dr=zr.cluster)!==null&&Dr!==void 0&&Dr.alias?Object(Z.jsxs)(i.a,{color:"green",children:[Object(Z.jsx)(te.a,{})," ",zr==null||(gt=zr.cluster)===null||gt===void 0?void 0:gt.alias]},zr==null||(dr=zr.cluster)===null||dr===void 0?void 0:dr.alias):Object(Z.jsxs)(i.a,{color:"green",children:[Object(Z.jsx)(te.a,{})," ",Object(z.a)("pages.devops.jobinfo.localenv")]},"local")]})}),tabBarExtraContent:Object(z.a)("pages.devops.LastUpdateTime")+"\uFF1A".concat(he()(Ii).format("HH:mm:ss")),tabList:[{tab:Object(z.a)("pages.devops.jobinfo.overview"),key:"base",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.cluster"),key:"cluster",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.snapshot"),key:"snapshot",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.exception"),key:"exception",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.log"),key:"log",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.optimize"),key:"optimize",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.config"),key:"config",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.flinksql"),key:"flinksql",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.datamap"),key:"datamap",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.olap"),key:"olap",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.version"),key:"version",closable:!1},{tab:Object(z.a)("pages.devops.jobinfo.alert"),key:"alert",closable:!1}],onTabChange:function(In){ei(In)},children:Object(Z.jsxs)(ye.a,{children:[Lr==="base"?Object(Z.jsx)(pe,{job:zr}):void 0,Lr==="config"?Object(Z.jsx)(fe,{job:zr}):void 0,Lr==="cluster"?Object(Z.jsx)(Kt,{job:zr}):void 0,Lr==="snapshot"?Object(Z.jsx)(un,{job:zr}):void 0,Lr==="exception"?Object(Z.jsx)(Xe,{job:zr}):void 0,Lr==="log"?Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE,description:Object(z.a)("global.stay.tuned")}):void 0,Lr==="optimize"?Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE,description:Object(z.a)("global.stay.tuned")}):void 0,Lr==="flinksql"?Object(Z.jsx)(bt,{job:zr}):void 0,Lr==="datamap"?Object(Z.jsx)(Sn,{job:zr}):void 0,Lr==="olap"?Object(Z.jsx)(c.a,{image:c.a.PRESENTED_IMAGE_SIMPLE,description:Object(z.a)("global.stay.tuned")}):void 0,Lr==="version"?Object(Z.jsx)(Ze,{job:zr}):void 0,Lr==="alert"?Object(Z.jsx)(st,{job:zr}):void 0]})})},xt=M.default=mt},tK6A:function(Ie,M,e){"use strict";e.r(M),e.d(M,"AbstractMatrix",function(){return u.a}),e.d(M,"default",function(){return u.b}),e.d(M,"Matrix",function(){return u.b}),e.d(M,"MatrixColumnView",function(){return n}),e.d(M,"MatrixColumnSelectionView",function(){return v}),e.d(M,"MatrixFlipColumnView",function(){return m}),e.d(M,"MatrixFlipRowView",function(){return h}),e.d(M,"MatrixRowView",function(){return t}),e.d(M,"MatrixRowSelectionView",function(){return l}),e.d(M,"MatrixSelectionView",function(){return p}),e.d(M,"MatrixSubView",function(){return w}),e.d(M,"MatrixTransposeView",function(){return S}),e.d(M,"wrap",function(){return Y}),e.d(M,"WrapperMatrix1D",function(){return T}),e.d(M,"WrapperMatrix2D",function(){return I.a}),e.d(M,"solve",function(){return O}),e.d(M,"inverse",function(){return d}),e.d(M,"determinant",function(){return E}),e.d(M,"linearDependencies",function(){return te}),e.d(M,"pseudoInverse",function(){return re}),e.d(M,"covariance",function(){return ye}),e.d(M,"correlation",function(){return q}),e.d(M,"SingularValueDecomposition",function(){return b.a}),e.d(M,"SVD",function(){return b.a}),e.d(M,"EigenvalueDecomposition",function(){return oe}),e.d(M,"EVD",function(){return oe}),e.d(M,"CholeskyDecomposition",function(){return Z}),e.d(M,"CHO",function(){return Z}),e.d(M,"LuDecomposition",function(){return $}),e.d(M,"LU",function(){return $}),e.d(M,"QrDecomposition",function(){return g}),e.d(M,"QR",function(){return g}),e.d(M,"Nipals",function(){return ee}),e.d(M,"NIPALS",function(){return ee});var u=e("+q00"),c=e("fWQN"),r=e("mtLc"),f=e("yKVA"),o=e("879j"),i=e("7OuD"),a=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C,z,G){var X;return Object(c.a)(this,y),X=R.call(this),X.matrix=C,X.rows=z,X.columns=G,X}return Object(r.a)(y)}(u.a),n=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C,z){var G;return Object(c.a)(this,y),Object(i.a)(C,z),G=R.call(this,C,C.rows,1),G.column=z,G}return Object(r.a)(y,[{key:"set",value:function(z,G,X){return this.matrix.set(z,this.column,X),this}},{key:"get",value:function(z){return this.matrix.get(z,this.column)}}]),y}(a),v=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C,z){var G;return Object(c.a)(this,y),Object(i.b)(C,z),G=R.call(this,C,C.rows,z.length),G.columnIndices=z,G}return Object(r.a)(y,[{key:"set",value:function(z,G,X){return this.matrix.set(z,this.columnIndices[G],X),this}},{key:"get",value:function(z,G){return this.matrix.get(z,this.columnIndices[G])}}]),y}(a),m=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C){return Object(c.a)(this,y),R.call(this,C,C.rows,C.columns)}return Object(r.a)(y,[{key:"set",value:function(z,G,X){return this.matrix.set(z,this.columns-G-1,X),this}},{key:"get",value:function(z,G){return this.matrix.get(z,this.columns-G-1)}}]),y}(a),h=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C){return Object(c.a)(this,y),R.call(this,C,C.rows,C.columns)}return Object(r.a)(y,[{key:"set",value:function(z,G,X){return this.matrix.set(this.rows-z-1,G,X),this}},{key:"get",value:function(z,G){return this.matrix.get(this.rows-z-1,G)}}]),y}(a),t=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C,z){var G;return Object(c.a)(this,y),Object(i.f)(C,z),G=R.call(this,C,1,C.columns),G.row=z,G}return Object(r.a)(y,[{key:"set",value:function(z,G,X){return this.matrix.set(this.row,G,X),this}},{key:"get",value:function(z,G){return this.matrix.get(this.row,G)}}]),y}(a),l=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C,z){var G;return Object(c.a)(this,y),Object(i.g)(C,z),G=R.call(this,C,z.length,C.columns),G.rowIndices=z,G}return Object(r.a)(y,[{key:"set",value:function(z,G,X){return this.matrix.set(this.rowIndices[z],G,X),this}},{key:"get",value:function(z,G){return this.matrix.get(this.rowIndices[z],G)}}]),y}(a),p=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C,z,G){var X;return Object(c.a)(this,y),Object(i.g)(C,z),Object(i.b)(C,G),X=R.call(this,C,z.length,G.length),X.rowIndices=z,X.columnIndices=G,X}return Object(r.a)(y,[{key:"set",value:function(z,G,X){return this.matrix.set(this.rowIndices[z],this.columnIndices[G],X),this}},{key:"get",value:function(z,G){return this.matrix.get(this.rowIndices[z],this.columnIndices[G])}}]),y}(a),w=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C,z,G,X,pe){var ae;return Object(c.a)(this,y),Object(i.e)(C,z,G,X,pe),ae=R.call(this,C,G-z+1,pe-X+1),ae.startRow=z,ae.startColumn=X,ae}return Object(r.a)(y,[{key:"set",value:function(z,G,X){return this.matrix.set(this.startRow+z,this.startColumn+G,X),this}},{key:"get",value:function(z,G){return this.matrix.get(this.startRow+z,this.startColumn+G)}}]),y}(a),S=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C){return Object(c.a)(this,y),R.call(this,C,C.columns,C.rows)}return Object(r.a)(y,[{key:"set",value:function(z,G,X){return this.matrix.set(G,z,X),this}},{key:"get",value:function(z,G){return this.matrix.get(G,z)}}]),y}(a),k=e("sK0q"),T=function(ce){Object(f.a)(y,ce);var R=Object(o.a)(y);function y(C){var z,G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Object(c.a)(this,y);var X=G.rows,pe=X===void 0?1:X;if(C.length%pe!=0)throw new Error("the data length is not divisible by the number of rows");return z=R.call(this),z.rows=pe,z.columns=C.length/pe,z.data=C,z}return Object(r.a)(y,[{key:"set",value:function(z,G,X){var pe=this._calculateIndex(z,G);return this.data[pe]=X,this}},{key:"get",value:function(z,G){var X=this._calculateIndex(z,G);return this.data[X]}},{key:"_calculateIndex",value:function(z,G){return z*this.columns+G}}]),y}(u.a),I=e("q3PH");function Y(ce,R){if(Object(k.a)(ce))return ce[0]&&Object(k.a)(ce[0])?new I.a(ce):new T(ce,R);throw new Error("the argument is not an array")}var $=function(){function ce(R){Object(c.a)(this,ce),R=I.a.checkMatrix(R);var y=R.clone(),C=y.rows,z=y.columns,G=new Float64Array(C),X=1,pe,ae,Se,Te,je,ft,fe,ie,ge;for(pe=0;pe<C;pe++)G[pe]=pe;for(ie=new Float64Array(C),ae=0;ae<z;ae++){for(pe=0;pe<C;pe++)ie[pe]=y.get(pe,ae);for(pe=0;pe<C;pe++){for(ge=Math.min(pe,ae),je=0,Se=0;Se<ge;Se++)je+=y.get(pe,Se)*ie[Se];ie[pe]-=je,y.set(pe,ae,ie[pe])}for(Te=ae,pe=ae+1;pe<C;pe++)Math.abs(ie[pe])>Math.abs(ie[Te])&&(Te=pe);if(Te!==ae){for(Se=0;Se<z;Se++)ft=y.get(Te,Se),y.set(Te,Se,y.get(ae,Se)),y.set(ae,Se,ft);fe=G[Te],G[Te]=G[ae],G[ae]=fe,X=-X}if(ae<C&&y.get(ae,ae)!==0)for(pe=ae+1;pe<C;pe++)y.set(pe,ae,y.get(pe,ae)/y.get(ae,ae))}this.LU=y,this.pivotVector=G,this.pivotSign=X}return Object(r.a)(ce,[{key:"isSingular",value:function(){for(var y=this.LU,C=y.columns,z=0;z<C;z++)if(y.get(z,z)===0)return!0;return!1}},{key:"solve",value:function(y){y=u.b.checkMatrix(y);var C=this.LU,z=C.rows;if(z!==y.rows)throw new Error("Invalid matrix dimensions");if(this.isSingular())throw new Error("LU matrix is singular");var G=y.columns,X=y.subMatrixRow(this.pivotVector,0,G-1),pe=C.columns,ae,Se,Te;for(Te=0;Te<pe;Te++)for(ae=Te+1;ae<pe;ae++)for(Se=0;Se<G;Se++)X.set(ae,Se,X.get(ae,Se)-X.get(Te,Se)*C.get(ae,Te));for(Te=pe-1;Te>=0;Te--){for(Se=0;Se<G;Se++)X.set(Te,Se,X.get(Te,Se)/C.get(Te,Te));for(ae=0;ae<Te;ae++)for(Se=0;Se<G;Se++)X.set(ae,Se,X.get(ae,Se)-X.get(Te,Se)*C.get(ae,Te))}return X}},{key:"determinant",get:function(){var y=this.LU;if(!y.isSquare())throw new Error("Matrix must be square");for(var C=this.pivotSign,z=y.columns,G=0;G<z;G++)C*=y.get(G,G);return C}},{key:"lowerTriangularMatrix",get:function(){for(var y=this.LU,C=y.rows,z=y.columns,G=new u.b(C,z),X=0;X<C;X++)for(var pe=0;pe<z;pe++)X>pe?G.set(X,pe,y.get(X,pe)):X===pe?G.set(X,pe,1):G.set(X,pe,0);return G}},{key:"upperTriangularMatrix",get:function(){for(var y=this.LU,C=y.rows,z=y.columns,G=new u.b(C,z),X=0;X<C;X++)for(var pe=0;pe<z;pe++)X<=pe?G.set(X,pe,y.get(X,pe)):G.set(X,pe,0);return G}},{key:"pivotPermutationVector",get:function(){return Array.from(this.pivotVector)}}]),ce}(),A=e("6ss+"),g=function(){function ce(R){Object(c.a)(this,ce),R=I.a.checkMatrix(R);var y=R.clone(),C=R.rows,z=R.columns,G=new Float64Array(z),X,pe,ae,Se;for(ae=0;ae<z;ae++){var Te=0;for(X=ae;X<C;X++)Te=Object(A.a)(Te,y.get(X,ae));if(Te!==0){for(y.get(ae,ae)<0&&(Te=-Te),X=ae;X<C;X++)y.set(X,ae,y.get(X,ae)/Te);for(y.set(ae,ae,y.get(ae,ae)+1),pe=ae+1;pe<z;pe++){for(Se=0,X=ae;X<C;X++)Se+=y.get(X,ae)*y.get(X,pe);for(Se=-Se/y.get(ae,ae),X=ae;X<C;X++)y.set(X,pe,y.get(X,pe)+Se*y.get(X,ae))}}G[ae]=-Te}this.QR=y,this.Rdiag=G}return Object(r.a)(ce,[{key:"solve",value:function(y){y=u.b.checkMatrix(y);var C=this.QR,z=C.rows;if(y.rows!==z)throw new Error("Matrix row dimensions must agree");if(!this.isFullRank())throw new Error("Matrix is rank deficient");var G=y.columns,X=y.clone(),pe=C.columns,ae,Se,Te,je;for(Te=0;Te<pe;Te++)for(Se=0;Se<G;Se++){for(je=0,ae=Te;ae<z;ae++)je+=C.get(ae,Te)*X.get(ae,Se);for(je=-je/C.get(Te,Te),ae=Te;ae<z;ae++)X.set(ae,Se,X.get(ae,Se)+je*C.get(ae,Te))}for(Te=pe-1;Te>=0;Te--){for(Se=0;Se<G;Se++)X.set(Te,Se,X.get(Te,Se)/this.Rdiag[Te]);for(ae=0;ae<Te;ae++)for(Se=0;Se<G;Se++)X.set(ae,Se,X.get(ae,Se)-X.get(Te,Se)*C.get(ae,Te))}return X.subMatrix(0,pe-1,0,G-1)}},{key:"isFullRank",value:function(){for(var y=this.QR.columns,C=0;C<y;C++)if(this.Rdiag[C]===0)return!1;return!0}},{key:"upperTriangularMatrix",get:function(){var y=this.QR,C=y.columns,z=new u.b(C,C),G,X;for(G=0;G<C;G++)for(X=0;X<C;X++)G<X?z.set(G,X,y.get(G,X)):G===X?z.set(G,X,this.Rdiag[G]):z.set(G,X,0);return z}},{key:"orthogonalMatrix",get:function(){var y=this.QR,C=y.rows,z=y.columns,G=new u.b(C,z),X,pe,ae,Se;for(ae=z-1;ae>=0;ae--){for(X=0;X<C;X++)G.set(X,ae,0);for(G.set(ae,ae,1),pe=ae;pe<z;pe++)if(y.get(ae,ae)!==0){for(Se=0,X=ae;X<C;X++)Se+=y.get(X,ae)*G.get(X,pe);for(Se=-Se/y.get(ae,ae),X=ae;X<C;X++)G.set(X,pe,G.get(X,pe)+Se*y.get(X,ae))}}return G}}]),ce}(),b=e("MAL5");function d(ce){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ce=I.a.checkMatrix(ce),R?new b.a(ce).inverse():O(ce,u.b.eye(ce.rows))}function O(ce,R){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return ce=I.a.checkMatrix(ce),R=I.a.checkMatrix(R),y?new b.a(ce).solve(R):ce.isSquare()?new $(ce).solve(R):new g(ce).solve(R)}function E(ce){if(ce=u.b.checkMatrix(ce),ce.isSquare()){if(ce.columns===0)return 1;var R,y,C,z;if(ce.columns===2)return R=ce.get(0,0),y=ce.get(0,1),C=ce.get(1,0),z=ce.get(1,1),R*z-y*C;if(ce.columns===3){var G,X,pe;return G=new p(ce,[1,2],[1,2]),X=new p(ce,[1,2],[0,2]),pe=new p(ce,[1,2],[0,1]),R=ce.get(0,0),y=ce.get(0,1),C=ce.get(0,2),R*E(G)-y*E(X)+C*E(pe)}else return new $(ce).determinant}else throw Error("determinant can only be calculated for a square matrix")}function D(ce,R){for(var y=[],C=0;C<ce;C++)C!==R&&y.push(C);return y}function W(ce,R,y){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1e-9,z=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1e-9;if(ce>z)return new Array(R.rows+1).fill(0);for(var G=R.addRow(y,[0]),X=0;X<G.rows;X++)Math.abs(G.get(X,0))<C&&G.set(X,0,0);return G.to1DArray()}function te(ce){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=R.thresholdValue,C=y===void 0?1e-9:y,z=R.thresholdError,G=z===void 0?1e-9:z;ce=u.b.checkMatrix(ce);for(var X=ce.rows,pe=new u.b(X,X),ae=0;ae<X;ae++){var Se=u.b.columnVector(ce.getRow(ae)),Te=ce.subMatrixRow(D(X,ae)).transpose(),je=new b.a(Te),ft=je.solve(Se),fe=u.b.sub(Se,Te.mmul(ft)).abs().max();pe.setRow(ae,W(fe,ft,ae,C,G))}return pe}function re(ce){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.EPSILON;if(ce=u.b.checkMatrix(ce),ce.isEmpty())return ce.transpose();for(var y=new b.a(ce,{autoTranspose:!0}),C=y.leftSingularVectors,z=y.rightSingularVectors,G=y.diagonal,X=0;X<G.length;X++)Math.abs(G[X])>R?G[X]=1/G[X]:G[X]=0;return z.mmul(u.b.diag(G).mmul(C.transpose()))}function ye(ce){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce,y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ce=new u.b(ce);var C=!1;if(typeof R=="object"&&!u.b.isMatrix(R)&&!Object(k.a)(R)?(y=R,R=ce,C=!0):R=new u.b(R),ce.rows!==R.rows)throw new TypeError("Both matrices must have the same number of rows");var z=y,G=z.center,X=G===void 0?!0:G;X&&(ce=ce.center("column"),C||(R=R.center("column")));for(var pe=ce.transpose().mmul(R),ae=0;ae<pe.rows;ae++)for(var Se=0;Se<pe.columns;Se++)pe.set(ae,Se,pe.get(ae,Se)*(1/(ce.rows-1)));return pe}function q(ce){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce,y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ce=new u.b(ce);var C=!1;if(typeof R=="object"&&!u.b.isMatrix(R)&&!Object(k.a)(R)?(y=R,R=ce,C=!0):R=new u.b(R),ce.rows!==R.rows)throw new TypeError("Both matrices must have the same number of rows");var z=y,G=z.center,X=G===void 0?!0:G,pe=z.scale,ae=pe===void 0?!0:pe;X&&(ce.center("column"),C||R.center("column")),ae&&(ce.scale("column"),C||R.scale("column"));for(var Se=ce.standardDeviation("column",{unbiased:!0}),Te=C?Se:R.standardDeviation("column",{unbiased:!0}),je=ce.transpose().mmul(R),ft=0;ft<je.rows;ft++)for(var fe=0;fe<je.columns;fe++)je.set(ft,fe,je.get(ft,fe)*(1/(Se[ft]*Te[fe]))*(1/(ce.rows-1)));return je}var oe=function(){function ce(R){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Object(c.a)(this,ce);var C=y.assumeSymmetric,z=C===void 0?!1:C;if(R=I.a.checkMatrix(R),!R.isSquare())throw new Error("Matrix is not a square matrix");if(R.isEmpty())throw new Error("Matrix must be non-empty");var G=R.columns,X=new u.b(G,G),pe=new Float64Array(G),ae=new Float64Array(G),Se=R,Te,je,ft=!1;if(z?ft=!0:ft=R.isSymmetric(),ft){for(Te=0;Te<G;Te++)for(je=0;je<G;je++)X.set(Te,je,Se.get(Te,je));he(G,ae,pe,X),ue(G,ae,pe,X)}else{var fe=new u.b(G,G),ie=new Float64Array(G);for(je=0;je<G;je++)for(Te=0;Te<G;Te++)fe.set(Te,je,Se.get(Te,je));ne(G,fe,ie,X),se(G,ae,pe,X,fe)}this.n=G,this.e=ae,this.d=pe,this.V=X}return Object(r.a)(ce,[{key:"realEigenvalues",get:function(){return Array.from(this.d)}},{key:"imaginaryEigenvalues",get:function(){return Array.from(this.e)}},{key:"eigenvectorMatrix",get:function(){return this.V}},{key:"diagonalMatrix",get:function(){var y=this.n,C=this.e,z=this.d,G=new u.b(y,y),X,pe;for(X=0;X<y;X++){for(pe=0;pe<y;pe++)G.set(X,pe,0);G.set(X,X,z[X]),C[X]>0?G.set(X,X+1,C[X]):C[X]<0&&G.set(X,X-1,C[X])}return G}}]),ce}();function he(ce,R,y,C){var z,G,X,pe,ae,Se,Te,je;for(ae=0;ae<ce;ae++)y[ae]=C.get(ce-1,ae);for(pe=ce-1;pe>0;pe--){for(je=0,X=0,Se=0;Se<pe;Se++)je=je+Math.abs(y[Se]);if(je===0)for(R[pe]=y[pe-1],ae=0;ae<pe;ae++)y[ae]=C.get(pe-1,ae),C.set(pe,ae,0),C.set(ae,pe,0);else{for(Se=0;Se<pe;Se++)y[Se]/=je,X+=y[Se]*y[Se];for(z=y[pe-1],G=Math.sqrt(X),z>0&&(G=-G),R[pe]=je*G,X=X-z*G,y[pe-1]=z-G,ae=0;ae<pe;ae++)R[ae]=0;for(ae=0;ae<pe;ae++){for(z=y[ae],C.set(ae,pe,z),G=R[ae]+C.get(ae,ae)*z,Se=ae+1;Se<=pe-1;Se++)G+=C.get(Se,ae)*y[Se],R[Se]+=C.get(Se,ae)*z;R[ae]=G}for(z=0,ae=0;ae<pe;ae++)R[ae]/=X,z+=R[ae]*y[ae];for(Te=z/(X+X),ae=0;ae<pe;ae++)R[ae]-=Te*y[ae];for(ae=0;ae<pe;ae++){for(z=y[ae],G=R[ae],Se=ae;Se<=pe-1;Se++)C.set(Se,ae,C.get(Se,ae)-(z*R[Se]+G*y[Se]));y[ae]=C.get(pe-1,ae),C.set(pe,ae,0)}}y[pe]=X}for(pe=0;pe<ce-1;pe++){if(C.set(ce-1,pe,C.get(pe,pe)),C.set(pe,pe,1),X=y[pe+1],X!==0){for(Se=0;Se<=pe;Se++)y[Se]=C.get(Se,pe+1)/X;for(ae=0;ae<=pe;ae++){for(G=0,Se=0;Se<=pe;Se++)G+=C.get(Se,pe+1)*C.get(Se,ae);for(Se=0;Se<=pe;Se++)C.set(Se,ae,C.get(Se,ae)-G*y[Se])}}for(Se=0;Se<=pe;Se++)C.set(Se,pe+1,0)}for(ae=0;ae<ce;ae++)y[ae]=C.get(ce-1,ae),C.set(ce-1,ae,0);C.set(ce-1,ce-1,1),R[0]=0}function ue(ce,R,y,C){var z,G,X,pe,ae,Se,Te,je,ft,fe,ie,ge,Ve,Ee,Me,_e,Re;for(X=1;X<ce;X++)R[X-1]=R[X];R[ce-1]=0;var et=0,Xe=0,it=Number.EPSILON;for(Se=0;Se<ce;Se++){for(Xe=Math.max(Xe,Math.abs(y[Se])+Math.abs(R[Se])),Te=Se;Te<ce&&!(Math.abs(R[Te])<=it*Xe);)Te++;if(Te>Se){Re=0;do{for(Re=Re+1,z=y[Se],je=(y[Se+1]-z)/(2*R[Se]),ft=Object(A.a)(je,1),je<0&&(ft=-ft),y[Se]=R[Se]/(je+ft),y[Se+1]=R[Se]*(je+ft),fe=y[Se+1],G=z-y[Se],X=Se+2;X<ce;X++)y[X]-=G;for(et=et+G,je=y[Te],ie=1,ge=ie,Ve=ie,Ee=R[Se+1],Me=0,_e=0,X=Te-1;X>=Se;X--)for(Ve=ge,ge=ie,_e=Me,z=ie*R[X],G=ie*je,ft=Object(A.a)(je,R[X]),R[X+1]=Me*ft,Me=R[X]/ft,ie=je/ft,je=ie*y[X]-Me*z,y[X+1]=G+Me*(ie*z+Me*y[X]),ae=0;ae<ce;ae++)G=C.get(ae,X+1),C.set(ae,X+1,Me*C.get(ae,X)+ie*G),C.set(ae,X,ie*C.get(ae,X)-Me*G);je=-Me*_e*Ve*Ee*R[Se]/fe,R[Se]=Me*je,y[Se]=ie*je}while(Math.abs(R[Se])>it*Xe)}y[Se]=y[Se]+et,R[Se]=0}for(X=0;X<ce-1;X++){for(ae=X,je=y[X],pe=X+1;pe<ce;pe++)y[pe]<je&&(ae=pe,je=y[pe]);if(ae!==X)for(y[ae]=y[X],y[X]=je,pe=0;pe<ce;pe++)je=C.get(pe,X),C.set(pe,X,C.get(pe,ae)),C.set(pe,ae,je)}}function ne(ce,R,y,C){var z=0,G=ce-1,X,pe,ae,Se,Te,je,ft;for(je=z+1;je<=G-1;je++){for(ft=0,Se=je;Se<=G;Se++)ft=ft+Math.abs(R.get(Se,je-1));if(ft!==0){for(ae=0,Se=G;Se>=je;Se--)y[Se]=R.get(Se,je-1)/ft,ae+=y[Se]*y[Se];for(pe=Math.sqrt(ae),y[je]>0&&(pe=-pe),ae=ae-y[je]*pe,y[je]=y[je]-pe,Te=je;Te<ce;Te++){for(X=0,Se=G;Se>=je;Se--)X+=y[Se]*R.get(Se,Te);for(X=X/ae,Se=je;Se<=G;Se++)R.set(Se,Te,R.get(Se,Te)-X*y[Se])}for(Se=0;Se<=G;Se++){for(X=0,Te=G;Te>=je;Te--)X+=y[Te]*R.get(Se,Te);for(X=X/ae,Te=je;Te<=G;Te++)R.set(Se,Te,R.get(Se,Te)-X*y[Te])}y[je]=ft*y[je],R.set(je,je-1,ft*pe)}}for(Se=0;Se<ce;Se++)for(Te=0;Te<ce;Te++)C.set(Se,Te,Se===Te?1:0);for(je=G-1;je>=z+1;je--)if(R.get(je,je-1)!==0){for(Se=je+1;Se<=G;Se++)y[Se]=R.get(Se,je-1);for(Te=je;Te<=G;Te++){for(pe=0,Se=je;Se<=G;Se++)pe+=y[Se]*C.get(Se,Te);for(pe=pe/y[je]/R.get(je,je-1),Se=je;Se<=G;Se++)C.set(Se,Te,C.get(Se,Te)+pe*y[Se])}}}function se(ce,R,y,C,z){var G=ce-1,X=0,pe=ce-1,ae=Number.EPSILON,Se=0,Te=0,je=0,ft=0,fe=0,ie=0,ge=0,Ve=0,Ee,Me,_e,Re,et,Xe,it,bt,Ct,Bt,qe,st,ut,nt,kt;for(Ee=0;Ee<ce;Ee++)for((Ee<X||Ee>pe)&&(y[Ee]=z.get(Ee,Ee),R[Ee]=0),Me=Math.max(Ee-1,0);Me<ce;Me++)Te=Te+Math.abs(z.get(Ee,Me));for(;G>=X;){for(Re=G;Re>X&&(ie=Math.abs(z.get(Re-1,Re-1))+Math.abs(z.get(Re,Re)),ie===0&&(ie=Te),!(Math.abs(z.get(Re,Re-1))<ae*ie));)Re--;if(Re===G)z.set(G,G,z.get(G,G)+Se),y[G]=z.get(G,G),R[G]=0,G--,Ve=0;else if(Re===G-1){if(it=z.get(G,G-1)*z.get(G-1,G),je=(z.get(G-1,G-1)-z.get(G,G))/2,ft=je*je+it,ge=Math.sqrt(Math.abs(ft)),z.set(G,G,z.get(G,G)+Se),z.set(G-1,G-1,z.get(G-1,G-1)+Se),bt=z.get(G,G),ft>=0){for(ge=je>=0?je+ge:je-ge,y[G-1]=bt+ge,y[G]=y[G-1],ge!==0&&(y[G]=bt-it/ge),R[G-1]=0,R[G]=0,bt=z.get(G,G-1),ie=Math.abs(bt)+Math.abs(ge),je=bt/ie,ft=ge/ie,fe=Math.sqrt(je*je+ft*ft),je=je/fe,ft=ft/fe,Me=G-1;Me<ce;Me++)ge=z.get(G-1,Me),z.set(G-1,Me,ft*ge+je*z.get(G,Me)),z.set(G,Me,ft*z.get(G,Me)-je*ge);for(Ee=0;Ee<=G;Ee++)ge=z.get(Ee,G-1),z.set(Ee,G-1,ft*ge+je*z.get(Ee,G)),z.set(Ee,G,ft*z.get(Ee,G)-je*ge);for(Ee=X;Ee<=pe;Ee++)ge=C.get(Ee,G-1),C.set(Ee,G-1,ft*ge+je*C.get(Ee,G)),C.set(Ee,G,ft*C.get(Ee,G)-je*ge)}else y[G-1]=bt+je,y[G]=bt+je,R[G-1]=ge,R[G]=-ge;G=G-2,Ve=0}else{if(bt=z.get(G,G),Ct=0,it=0,Re<G&&(Ct=z.get(G-1,G-1),it=z.get(G,G-1)*z.get(G-1,G)),Ve===10){for(Se+=bt,Ee=X;Ee<=G;Ee++)z.set(Ee,Ee,z.get(Ee,Ee)-bt);ie=Math.abs(z.get(G,G-1))+Math.abs(z.get(G-1,G-2)),bt=Ct=.75*ie,it=-.4375*ie*ie}if(Ve===30&&(ie=(Ct-bt)/2,ie=ie*ie+it,ie>0)){for(ie=Math.sqrt(ie),Ct<bt&&(ie=-ie),ie=bt-it/((Ct-bt)/2+ie),Ee=X;Ee<=G;Ee++)z.set(Ee,Ee,z.get(Ee,Ee)-ie);Se+=ie,bt=Ct=it=.964}for(Ve=Ve+1,et=G-2;et>=Re&&(ge=z.get(et,et),fe=bt-ge,ie=Ct-ge,je=(fe*ie-it)/z.get(et+1,et)+z.get(et,et+1),ft=z.get(et+1,et+1)-ge-fe-ie,fe=z.get(et+2,et+1),ie=Math.abs(je)+Math.abs(ft)+Math.abs(fe),je=je/ie,ft=ft/ie,fe=fe/ie,!(et===Re||Math.abs(z.get(et,et-1))*(Math.abs(ft)+Math.abs(fe))<ae*(Math.abs(je)*(Math.abs(z.get(et-1,et-1))+Math.abs(ge)+Math.abs(z.get(et+1,et+1))))));)et--;for(Ee=et+2;Ee<=G;Ee++)z.set(Ee,Ee-2,0),Ee>et+2&&z.set(Ee,Ee-3,0);for(_e=et;_e<=G-1&&(nt=_e!==G-1,_e!==et&&(je=z.get(_e,_e-1),ft=z.get(_e+1,_e-1),fe=nt?z.get(_e+2,_e-1):0,bt=Math.abs(je)+Math.abs(ft)+Math.abs(fe),bt!==0&&(je=je/bt,ft=ft/bt,fe=fe/bt)),bt!==0);_e++)if(ie=Math.sqrt(je*je+ft*ft+fe*fe),je<0&&(ie=-ie),ie!==0){for(_e!==et?z.set(_e,_e-1,-ie*bt):Re!==et&&z.set(_e,_e-1,-z.get(_e,_e-1)),je=je+ie,bt=je/ie,Ct=ft/ie,ge=fe/ie,ft=ft/je,fe=fe/je,Me=_e;Me<ce;Me++)je=z.get(_e,Me)+ft*z.get(_e+1,Me),nt&&(je=je+fe*z.get(_e+2,Me),z.set(_e+2,Me,z.get(_e+2,Me)-je*ge)),z.set(_e,Me,z.get(_e,Me)-je*bt),z.set(_e+1,Me,z.get(_e+1,Me)-je*Ct);for(Ee=0;Ee<=Math.min(G,_e+3);Ee++)je=bt*z.get(Ee,_e)+Ct*z.get(Ee,_e+1),nt&&(je=je+ge*z.get(Ee,_e+2),z.set(Ee,_e+2,z.get(Ee,_e+2)-je*fe)),z.set(Ee,_e,z.get(Ee,_e)-je),z.set(Ee,_e+1,z.get(Ee,_e+1)-je*ft);for(Ee=X;Ee<=pe;Ee++)je=bt*C.get(Ee,_e)+Ct*C.get(Ee,_e+1),nt&&(je=je+ge*C.get(Ee,_e+2),C.set(Ee,_e+2,C.get(Ee,_e+2)-je*fe)),C.set(Ee,_e,C.get(Ee,_e)-je),C.set(Ee,_e+1,C.get(Ee,_e+1)-je*ft)}}}if(Te!==0){for(G=ce-1;G>=0;G--)if(je=y[G],ft=R[G],ft===0)for(Re=G,z.set(G,G,1),Ee=G-1;Ee>=0;Ee--){for(it=z.get(Ee,Ee)-je,fe=0,Me=Re;Me<=G;Me++)fe=fe+z.get(Ee,Me)*z.get(Me,G);if(R[Ee]<0)ge=it,ie=fe;else if(Re=Ee,R[Ee]===0?z.set(Ee,G,it!==0?-fe/it:-fe/(ae*Te)):(bt=z.get(Ee,Ee+1),Ct=z.get(Ee+1,Ee),ft=(y[Ee]-je)*(y[Ee]-je)+R[Ee]*R[Ee],Xe=(bt*ie-ge*fe)/ft,z.set(Ee,G,Xe),z.set(Ee+1,G,Math.abs(bt)>Math.abs(ge)?(-fe-it*Xe)/bt:(-ie-Ct*Xe)/ge)),Xe=Math.abs(z.get(Ee,G)),ae*Xe*Xe>1)for(Me=Ee;Me<=G;Me++)z.set(Me,G,z.get(Me,G)/Xe)}else if(ft<0)for(Re=G-1,Math.abs(z.get(G,G-1))>Math.abs(z.get(G-1,G))?(z.set(G-1,G-1,ft/z.get(G,G-1)),z.set(G-1,G,-(z.get(G,G)-je)/z.get(G,G-1))):(kt=be(0,-z.get(G-1,G),z.get(G-1,G-1)-je,ft),z.set(G-1,G-1,kt[0]),z.set(G-1,G,kt[1])),z.set(G,G-1,0),z.set(G,G,1),Ee=G-2;Ee>=0;Ee--){for(Bt=0,qe=0,Me=Re;Me<=G;Me++)Bt=Bt+z.get(Ee,Me)*z.get(Me,G-1),qe=qe+z.get(Ee,Me)*z.get(Me,G);if(it=z.get(Ee,Ee)-je,R[Ee]<0)ge=it,fe=Bt,ie=qe;else if(Re=Ee,R[Ee]===0?(kt=be(-Bt,-qe,it,ft),z.set(Ee,G-1,kt[0]),z.set(Ee,G,kt[1])):(bt=z.get(Ee,Ee+1),Ct=z.get(Ee+1,Ee),st=(y[Ee]-je)*(y[Ee]-je)+R[Ee]*R[Ee]-ft*ft,ut=(y[Ee]-je)*2*ft,st===0&&ut===0&&(st=ae*Te*(Math.abs(it)+Math.abs(ft)+Math.abs(bt)+Math.abs(Ct)+Math.abs(ge))),kt=be(bt*fe-ge*Bt+ft*qe,bt*ie-ge*qe-ft*Bt,st,ut),z.set(Ee,G-1,kt[0]),z.set(Ee,G,kt[1]),Math.abs(bt)>Math.abs(ge)+Math.abs(ft)?(z.set(Ee+1,G-1,(-Bt-it*z.get(Ee,G-1)+ft*z.get(Ee,G))/bt),z.set(Ee+1,G,(-qe-it*z.get(Ee,G)-ft*z.get(Ee,G-1))/bt)):(kt=be(-fe-Ct*z.get(Ee,G-1),-ie-Ct*z.get(Ee,G),ge,ft),z.set(Ee+1,G-1,kt[0]),z.set(Ee+1,G,kt[1]))),Xe=Math.max(Math.abs(z.get(Ee,G-1)),Math.abs(z.get(Ee,G))),ae*Xe*Xe>1)for(Me=Ee;Me<=G;Me++)z.set(Me,G-1,z.get(Me,G-1)/Xe),z.set(Me,G,z.get(Me,G)/Xe)}for(Ee=0;Ee<ce;Ee++)if(Ee<X||Ee>pe)for(Me=Ee;Me<ce;Me++)C.set(Ee,Me,z.get(Ee,Me));for(Me=ce-1;Me>=X;Me--)for(Ee=X;Ee<=pe;Ee++){for(ge=0,_e=X;_e<=Math.min(Me,pe);_e++)ge=ge+C.get(Ee,_e)*z.get(_e,Me);C.set(Ee,Me,ge)}}}function be(ce,R,y,C){var z,G;return Math.abs(y)>Math.abs(C)?(z=C/y,G=y+z*C,[(ce+z*R)/G,(R-z*ce)/G]):(z=y/C,G=C+z*y,[(z*ce+R)/G,(z*R-ce)/G])}var Z=function(){function ce(R){if(Object(c.a)(this,ce),R=I.a.checkMatrix(R),!R.isSymmetric())throw new Error("Matrix is not symmetric");var y=R,C=y.rows,z=new u.b(C,C),G=!0,X,pe,ae;for(pe=0;pe<C;pe++){var Se=0;for(ae=0;ae<pe;ae++){var Te=0;for(X=0;X<ae;X++)Te+=z.get(ae,X)*z.get(pe,X);Te=(y.get(pe,ae)-Te)/z.get(ae,ae),z.set(pe,ae,Te),Se=Se+Te*Te}for(Se=y.get(pe,pe)-Se,G&=Se>0,z.set(pe,pe,Math.sqrt(Math.max(Se,0))),ae=pe+1;ae<C;ae++)z.set(pe,ae,0)}this.L=z,this.positiveDefinite=Boolean(G)}return Object(r.a)(ce,[{key:"isPositiveDefinite",value:function(){return this.positiveDefinite}},{key:"solve",value:function(y){y=I.a.checkMatrix(y);var C=this.L,z=C.rows;if(y.rows!==z)throw new Error("Matrix dimensions do not match");if(this.isPositiveDefinite()===!1)throw new Error("Matrix is not positive definite");var G=y.columns,X=y.clone(),pe,ae,Se;for(Se=0;Se<z;Se++)for(ae=0;ae<G;ae++){for(pe=0;pe<Se;pe++)X.set(Se,ae,X.get(Se,ae)-X.get(pe,ae)*C.get(Se,pe));X.set(Se,ae,X.get(Se,ae)/C.get(Se,Se))}for(Se=z-1;Se>=0;Se--)for(ae=0;ae<G;ae++){for(pe=Se+1;pe<z;pe++)X.set(Se,ae,X.get(Se,ae)-X.get(pe,ae)*C.get(pe,Se));X.set(Se,ae,X.get(Se,ae)/C.get(Se,Se))}return X}},{key:"lowerTriangularMatrix",get:function(){return this.L}}]),ce}(),ee=Object(r.a)(function ce(R){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Object(c.a)(this,ce),R=I.a.checkMatrix(R);var C=y.Y,z=y.scaleScores,G=z===void 0?!1:z,X=y.maxIterations,pe=X===void 0?1e3:X,ae=y.terminationCriteria,Se=ae===void 0?1e-10:ae,Te;if(C){if(Object(k.a)(C)&&typeof C[0]=="number"?C=u.b.columnVector(C):C=I.a.checkMatrix(C),C.rows!==R.rows)throw new Error("Y should have the same number of rows as X");Te=C.getColumnVector(0)}else Te=R.getColumnVector(0);for(var je=1,ft,fe,ie,ge,Ve=0;Ve<pe&&je>Se;Ve++)ie=R.transpose().mmul(Te).div(Te.transpose().mmul(Te).get(0,0)),ie=ie.div(ie.norm()),ft=R.mmul(ie).div(ie.transpose().mmul(ie).get(0,0)),Ve>0&&(je=ft.clone().sub(ge).pow(2).sum()),ge=ft.clone(),C?(fe=C.transpose().mmul(ft).div(ft.transpose().mmul(ft).get(0,0)),fe=fe.div(fe.norm()),Te=C.mmul(fe).div(fe.transpose().mmul(fe).get(0,0))):Te=ft;if(C){var Ee=R.transpose().mmul(ft).div(ft.transpose().mmul(ft).get(0,0));Ee=Ee.div(Ee.norm());var Me=R.clone().sub(ft.clone().mmul(Ee.transpose())),_e=Te.transpose().mmul(ft).div(ft.transpose().mmul(ft).get(0,0)),Re=C.clone().sub(ft.clone().mulS(_e.get(0,0)).mmul(fe.transpose()));this.t=ft,this.p=Ee.transpose(),this.w=ie.transpose(),this.q=fe,this.u=Te,this.s=ft.transpose().mmul(ft),this.xResidual=Me,this.yResidual=Re,this.betas=_e}else this.w=ie.transpose(),this.s=ft.transpose().mmul(ft).sqrt(),G?this.t=ft.clone().div(this.s.get(0,0)):this.t=ft,this.xResidual=R.sub(ft.mmul(ie.transpose()))})},tMB7:function(Ie,M,e){var u=e("y1pI");function c(r){var f=this.__data__,o=u(f,r);return o<0?void 0:f[o][1]}Ie.exports=c},tMyG:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e("15/o"),r=e("wx14"),f=e("rePB"),o=e("1OyB"),i=e("vuIU"),a=e("Ji7U"),n=e("LK+K"),v=e("U8pU"),m=e("TSYQ"),h=e.n(m),t=e("t23M"),l=e("bT9E"),p=e("q1tI"),w=e.n(p),S=e("H84U"),k=e("PEeC"),T=e("zT1h");function I(Un){return Un!==window?Un.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function Y(Un,lt,Nt){if(Nt!==void 0&<.top>Un.top-Nt)return Nt+lt.top}function $(Un,lt,Nt){if(Nt!==void 0&<.bottom<Un.bottom+Nt){var zt=window.innerHeight-lt.bottom;return Nt+zt}}var A=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],g=[];function b(){return g}function d(Un,lt){if(!!Un){var Nt=g.find(function(zt){return zt.target===Un});Nt?Nt.affixList.push(lt):(Nt={target:Un,affixList:[lt],eventHandlers:{}},g.push(Nt),A.forEach(function(zt){Nt.eventHandlers[zt]=Object(T.a)(Un,zt,function(){Nt.affixList.forEach(function(en){en.lazyUpdatePosition()})})}))}}function O(Un){var lt=g.find(function(Nt){var zt=Nt.affixList.some(function(en){return en===Un});return zt&&(Nt.affixList=Nt.affixList.filter(function(en){return en!==Un})),zt});lt&<.affixList.length===0&&(g=g.filter(function(Nt){return Nt!==lt}),A.forEach(function(Nt){var zt=lt.eventHandlers[Nt];zt&&zt.remove&&zt.remove()}))}var E=function(Un,lt,Nt,zt){var en=arguments.length,tn=en<3?lt:zt===null?zt=Object.getOwnPropertyDescriptor(lt,Nt):zt,wn;if((typeof Reflect=="undefined"?"undefined":Object(v.a)(Reflect))==="object"&&typeof Reflect.decorate=="function")tn=Reflect.decorate(Un,lt,Nt,zt);else for(var on=Un.length-1;on>=0;on--)(wn=Un[on])&&(tn=(en<3?wn(tn):en>3?wn(lt,Nt,tn):wn(lt,Nt))||tn);return en>3&&tn&&Object.defineProperty(lt,Nt,tn),tn};function D(){return typeof window!="undefined"?window:null}var W;(function(Un){Un[Un.None=0]="None",Un[Un.Prepare=1]="Prepare"})(W||(W={}));var te=function(Un){Object(a.a)(Nt,Un);var lt=Object(n.a)(Nt);function Nt(){var zt;return Object(o.a)(this,Nt),zt=lt.apply(this,arguments),zt.state={status:W.None,lastAffix:!1,prevTarget:null},zt.getOffsetTop=function(){var en=zt.props,tn=en.offsetBottom,wn=en.offsetTop;return tn===void 0&&wn===void 0?0:wn},zt.getOffsetBottom=function(){return zt.props.offsetBottom},zt.savePlaceholderNode=function(en){zt.placeholderNode=en},zt.saveFixedNode=function(en){zt.fixedNode=en},zt.measure=function(){var en=zt.state,tn=en.status,wn=en.lastAffix,on=zt.props.onChange,vn=zt.getTargetFunc();if(!(tn!==W.Prepare||!zt.fixedNode||!zt.placeholderNode||!vn)){var dt=zt.getOffsetTop(),ct=zt.getOffsetBottom(),Kt=vn();if(!!Kt){var pn={status:W.None},kn=I(Kt),Pt=I(zt.placeholderNode),gn=Y(Pt,kn,dt),_n=$(Pt,kn,ct);Pt.top===0&&Pt.left===0&&Pt.width===0&&Pt.height===0||(gn!==void 0?(pn.affixStyle={position:"fixed",top:gn,width:Pt.width,height:Pt.height},pn.placeholderStyle={width:Pt.width,height:Pt.height}):_n!==void 0&&(pn.affixStyle={position:"fixed",bottom:_n,width:Pt.width,height:Pt.height},pn.placeholderStyle={width:Pt.width,height:Pt.height}),pn.lastAffix=!!pn.affixStyle,on&&wn!==pn.lastAffix&&on(pn.lastAffix),zt.setState(pn))}}},zt.prepareMeasure=function(){if(zt.setState({status:W.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var en},zt}return Object(i.a)(Nt,[{key:"getTargetFunc",value:function(){var en=this.context.getTargetContainer,tn=this.props.target;return tn!==void 0?tn:en!=null?en:D}},{key:"componentDidMount",value:function(){var en=this,tn=this.getTargetFunc();tn&&(this.timeout=setTimeout(function(){d(tn(),en),en.updatePosition()}))}},{key:"componentDidUpdate",value:function(en){var tn=this.state.prevTarget,wn=this.getTargetFunc(),on=(wn==null?void 0:wn())||null;tn!==on&&(O(this),on&&(d(on,this),this.updatePosition()),this.setState({prevTarget:on})),(en.offsetTop!==this.props.offsetTop||en.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),O(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var en=this.getTargetFunc(),tn=this.state.affixStyle;if(en&&tn){var wn=this.getOffsetTop(),on=this.getOffsetBottom(),vn=en();if(vn&&this.placeholderNode){var dt=I(vn),ct=I(this.placeholderNode),Kt=Y(ct,dt,wn),pn=$(ct,dt,on);if(Kt!==void 0&&tn.top===Kt||pn!==void 0&&tn.bottom===pn)return}}this.prepareMeasure()}},{key:"render",value:function(){var en=this,tn=this.state,wn=tn.affixStyle,on=tn.placeholderStyle,vn=this.props,dt=vn.affixPrefixCls,ct=vn.children,Kt=h()(Object(f.a)({},dt,!!wn)),pn=Object(l.a)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls"]);return p.createElement(t.a,{onResize:function(){en.updatePosition()}},p.createElement("div",Object(r.a)({},pn,{ref:this.savePlaceholderNode}),wn&&p.createElement("div",{style:on,"aria-hidden":"true"}),p.createElement("div",{className:Kt,ref:this.saveFixedNode,style:wn},p.createElement(t.a,{onResize:function(){en.updatePosition()}},ct))))}}]),Nt}(p.Component);te.contextType=S.b,E([Object(k.b)()],te.prototype,"updatePosition",null),E([Object(k.b)()],te.prototype,"lazyUpdatePosition",null);var re=p.forwardRef(function(Un,lt){var Nt=Un.prefixCls,zt=p.useContext(S.b),en=zt.getPrefixCls,tn=en("affix",Nt),wn=Object(r.a)(Object(r.a)({},Un),{affixPrefixCls:tn});return p.createElement(te,Object(r.a)({},wn,{ref:lt}))}),ye=re,q=e("GNNt"),oe=e("wEI+"),he=e("YV/h"),ue=e("Telt"),ne=e("AOa7"),se=e("qVdP"),be=e("lUTK"),Z=e("DYRE"),ee=e("ODXe"),ce=e("VTBJ"),R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},y=R,C=e("6VBw"),z=function(lt,Nt){return p.createElement(C.a,Object(ce.a)(Object(ce.a)({},lt),{},{ref:Nt,icon:y}))};z.displayName="ArrowLeftOutlined";var G=p.forwardRef(z),X={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},pe=X,ae=function(lt,Nt){return p.createElement(C.a,Object(ce.a)(Object(ce.a)({},lt),{},{ref:Nt,icon:pe}))};ae.displayName="ArrowRightOutlined";var Se=p.forwardRef(ae),Te=e("dm2S"),je=e("Tckk"),ft=e("+nZF"),fe=ft.a,ie=e("YMnH"),ge=e("zeV3"),Ve=e("gDlH"),Ee=function(lt,Nt,zt){return!Nt||!zt?null:p.createElement(ie.a,{componentName:"PageHeader"},function(en){return p.createElement("div",{className:"".concat(lt,"-back")},p.createElement(Ve.a,{onClick:function(wn){zt==null||zt(wn)},className:"".concat(lt,"-back-button"),"aria-label":en.back},Nt))})},Me=function(lt){return p.createElement(fe,Object(r.a)({},lt))},_e=function(lt){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return lt.backIcon!==void 0?lt.backIcon:Nt==="rtl"?p.createElement(Se,null):p.createElement(G,null)},Re=function(lt,Nt){var zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",en=Nt.title,tn=Nt.avatar,wn=Nt.subTitle,on=Nt.tags,vn=Nt.extra,dt=Nt.onBack,ct="".concat(lt,"-heading"),Kt=en||wn||on||vn;if(!Kt)return null;var pn=_e(Nt,zt),kn=Ee(lt,pn,dt),Pt=kn||tn||Kt;return p.createElement("div",{className:ct},Pt&&p.createElement("div",{className:"".concat(ct,"-left")},kn,tn&&p.createElement(je.a,Object(r.a)({},tn)),en&&p.createElement("span",{className:"".concat(ct,"-title"),title:typeof en=="string"?en:void 0},en),wn&&p.createElement("span",{className:"".concat(ct,"-sub-title"),title:typeof wn=="string"?wn:void 0},wn),on&&p.createElement("span",{className:"".concat(ct,"-tags")},on)),vn&&p.createElement("span",{className:"".concat(ct,"-extra")},p.createElement(ge.b,null,vn)))},et=function(lt,Nt){return Nt?p.createElement("div",{className:"".concat(lt,"-footer")},Nt):null},Xe=function(lt,Nt){return p.createElement("div",{className:"".concat(lt,"-content")},Nt)},it=function(lt){var Nt=Object(Te.a)(!1),zt=Object(ee.a)(Nt,2),en=zt[0],tn=zt[1],wn=function(vn){var dt=vn.width;tn(dt<768,!0)};return p.createElement(S.a,null,function(on){var vn,dt=on.getPrefixCls,ct=on.pageHeader,Kt=on.direction,pn,kn=lt.prefixCls,Pt=lt.style,gn=lt.footer,_n=lt.children,Kn=lt.breadcrumb,qn=lt.breadcrumbRender,rr=lt.className,Rn=!0;"ghost"in lt?Rn=lt.ghost:ct&&"ghost"in ct&&(Rn=ct.ghost);var mr=dt("page-header",kn),ar=function(){return(Kn==null?void 0:Kn.routes)?Me(Kn):null},sr=ar(),yr=Kn&&"props"in Kn,br=(pn=qn==null?void 0:qn(lt,sr))!==null&&pn!==void 0?pn:sr,_r=yr?Kn:br,li=h()(mr,rr,(vn={"has-breadcrumb":!!_r,"has-footer":!!gn},Object(f.a)(vn,"".concat(mr,"-ghost"),Rn),Object(f.a)(vn,"".concat(mr,"-rtl"),Kt==="rtl"),Object(f.a)(vn,"".concat(mr,"-compact"),en),vn));return p.createElement(t.a,{onResize:wn},p.createElement("div",{className:li,style:Pt},_r,Re(mr,lt,Kt),_n&&Xe(mr,_n),et(mr,gn)))})},bt=it,Ct=e("Ff2n"),Bt=e("Znn+"),qe=e("ZTPi"),st=e("nKUr"),ut=e("jYQm"),nt=e("jRje"),kt=e("FRQA"),Sn=e("95SA"),Tt=e("yxHc"),ht=e("u/V1"),Rt=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","style","prefixCls","breadcrumbRender"],Ft=["children","loading","className","style","footer","affixProps","ghost","fixedHeader","breadcrumbRender"];function nn(Un){return Object(v.a)(Un)==="object"?Un:{spinning:Un}}var bn=function(lt){var Nt=lt.tabList,zt=lt.tabActiveKey,en=lt.onTabChange,tn=lt.tabBarExtraContent,wn=lt.tabProps,on=lt.prefixedClassName;return Array.isArray(Nt)||tn?Object(st.jsx)(qe.a,Object(ce.a)(Object(ce.a)({className:"".concat(on,"-tabs"),activeKey:zt,onChange:function(dt){en&&en(dt)},tabBarExtraContent:tn},wn),{},{children:Nt==null?void 0:Nt.map(function(vn,dt){return Object(p.createElement)(qe.a.TabPane,Object(ce.a)(Object(ce.a)({},vn),{},{tab:vn.tab,key:vn.key||dt}))})})):null},sn=function(lt,Nt,zt){return!lt&&!Nt?null:Object(st.jsx)("div",{className:"".concat(zt,"-detail"),children:Object(st.jsx)("div",{className:"".concat(zt,"-main"),children:Object(st.jsxs)("div",{className:"".concat(zt,"-row"),children:[lt&&Object(st.jsx)("div",{className:"".concat(zt,"-content"),children:lt}),Nt&&Object(st.jsx)("div",{className:"".concat(zt,"-extraContent"),children:Nt})]})})})},un=function(lt){var Nt=Object(p.useContext)(ut.a);return Object(st.jsx)("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:Object(st.jsx)(fe,Object(ce.a)(Object(ce.a)(Object(ce.a)({},Nt==null?void 0:Nt.breadcrumb),Nt==null?void 0:Nt.breadcrumbProps),lt))})},Ht=function(lt){var Nt,zt=Object(p.useContext)(ut.a),en=lt.title,tn=lt.content,wn=lt.pageHeaderRender,on=lt.header,vn=lt.prefixedClassName,dt=lt.extraContent,ct=lt.style,Kt=lt.prefixCls,pn=lt.breadcrumbRender,kn=Object(Ct.a)(lt,Rt),Pt=Object(p.useMemo)(function(){if(!!pn)return pn},[pn]);if(wn===!1)return null;if(wn)return Object(st.jsxs)(st.Fragment,{children:[" ",wn(Object(ce.a)(Object(ce.a)({},lt),zt))]});var gn=en;!en&&en!==!1&&(gn=zt.title);var _n=Object(ce.a)(Object(ce.a)(Object(ce.a)({},zt),{},{title:gn},kn),{},{footer:bn(Object(ce.a)(Object(ce.a)({},kn),{},{breadcrumbRender:pn,prefixedClassName:vn}))},on),Kn=_n.breadcrumb,qn=(!Kn||!(Kn==null?void 0:Kn.itemRender)&&!(Kn==null||(Nt=Kn.routes)===null||Nt===void 0?void 0:Nt.length))&&!pn;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(rr){return!_n[rr]})&&qn&&!tn&&!dt?null:Object(st.jsx)("div",{className:"".concat(vn,"-warp"),children:Object(st.jsx)(bt,Object(ce.a)(Object(ce.a)({},_n),{},{breadcrumb:pn===!1?void 0:Object(ce.a)(Object(ce.a)({},_n.breadcrumb),zt.breadcrumbProps),breadcrumbRender:Pt,prefixCls:Kt,children:(on==null?void 0:on.children)||sn(tn,dt,vn)}))})},jn=function(lt){var Nt,zt,en=lt.children,tn=lt.loading,wn=tn===void 0?!1:tn,on=lt.className,vn=lt.style,dt=lt.footer,ct=lt.affixProps,Kt=lt.ghost,pn=lt.fixedHeader,kn=lt.breadcrumbRender,Pt=Object(Ct.a)(lt,Ft),gn=Object(p.useContext)(ut.a),_n=Object(p.useContext)(oe.a.ConfigContext),Kn=_n.getPrefixCls,qn=lt.prefixCls||Kn("pro"),rr="".concat(qn,"-page-container"),Rn=h()(rr,on,(Nt={},Object(f.a)(Nt,"".concat(qn,"-page-container-ghost"),Kt),Object(f.a)(Nt,"".concat(qn,"-page-container-with-footer"),dt),Nt)),mr=Object(p.useMemo)(function(){return en?Object(st.jsxs)(st.Fragment,{children:[Object(st.jsx)("div",{className:"".concat(rr,"-children-content"),children:en}),gn.hasFooterToolbar&&Object(st.jsx)("div",{style:{height:48,marginTop:24}})]}):null},[en,rr,gn.hasFooterToolbar]),ar=Object(p.useMemo)(function(){var _r;return kn==!1?!1:kn||(Pt==null||(_r=Pt.header)===null||_r===void 0?void 0:_r.breadcrumbRender)},[kn,Pt==null||(zt=Pt.header)===null||zt===void 0?void 0:zt.breadcrumbRender]),sr=Object(st.jsx)(Ht,Object(ce.a)(Object(ce.a)({},Pt),{},{breadcrumbRender:ar,ghost:Kt,prefixCls:void 0,prefixedClassName:rr})),yr=Object(p.useMemo)(function(){if(w.a.isValidElement(wn))return wn;if(typeof wn=="boolean"&&!wn)return null;var _r=nn(wn);return _r.spinning?Object(st.jsx)(Sn.a,Object(ce.a)({},_r)):null},[wn]),br=Object(p.useMemo)(function(){var _r=yr||mr;if(lt.waterMarkProps||gn.waterMarkProps){var li=Object(ce.a)(Object(ce.a)({},gn.waterMarkProps),lt.waterMarkProps);return Object(st.jsx)(Tt.a,Object(ce.a)(Object(ce.a)({},li),{},{children:_r}))}return _r},[lt.waterMarkProps,gn.waterMarkProps,yr,mr]);return Object(st.jsxs)("div",{style:vn,className:Rn,children:[pn&&sr?Object(st.jsx)(ye,Object(ce.a)(Object(ce.a)({offsetTop:gn.hasHeader&&gn.fixedHeader?gn.headerHeight:0},ct),{},{children:sr})):sr,br&&Object(st.jsx)(kt.a,{children:br}),dt&&Object(st.jsx)(nt.a,{prefixCls:qn,children:dt})]})},Ln=M.a=jn},tQ6r:function(Ie,M,e){"use strict";var u=e("b5wT"),c=e("F9We").Graph;Ie.exports={addDummyNode:r,simplify:f,asNonCompoundGraph:o,successorWeights:i,predecessorWeights:a,intersectRect:n,buildLayerMatrix:v,normalizeRanks:m,removeEmptyRanks:h,addBorderNode:t,maxRank:l,partition:p,time:w,notime:S};function r(k,T,I,Y){var $;do $=u.uniqueId(Y);while(k.hasNode($));return I.dummy=T,k.setNode($,I),$}function f(k){var T=new c().setGraph(k.graph());return u.forEach(k.nodes(),function(I){T.setNode(I,k.node(I))}),u.forEach(k.edges(),function(I){var Y=T.edge(I.v,I.w)||{weight:0,minlen:1},$=k.edge(I);T.setEdge(I.v,I.w,{weight:Y.weight+$.weight,minlen:Math.max(Y.minlen,$.minlen)})}),T}function o(k){var T=new c({multigraph:k.isMultigraph()}).setGraph(k.graph());return u.forEach(k.nodes(),function(I){k.children(I).length||T.setNode(I,k.node(I))}),u.forEach(k.edges(),function(I){T.setEdge(I,k.edge(I))}),T}function i(k){var T=u.map(k.nodes(),function(I){var Y={};return u.forEach(k.outEdges(I),function($){Y[$.w]=(Y[$.w]||0)+k.edge($).weight}),Y});return u.zipObject(k.nodes(),T)}function a(k){var T=u.map(k.nodes(),function(I){var Y={};return u.forEach(k.inEdges(I),function($){Y[$.v]=(Y[$.v]||0)+k.edge($).weight}),Y});return u.zipObject(k.nodes(),T)}function n(k,T){var I=k.x,Y=k.y,$=T.x-I,A=T.y-Y,g=k.width/2,b=k.height/2;if(!$&&!A)throw new Error("Not possible to find intersection inside of the rectangle");var d,O;return Math.abs(A)*g>Math.abs($)*b?(A<0&&(b=-b),d=b*$/A,O=b):($<0&&(g=-g),d=g,O=g*A/$),{x:I+d,y:Y+O}}function v(k){var T=u.map(u.range(l(k)+1),function(){return[]});return u.forEach(k.nodes(),function(I){var Y=k.node(I),$=Y.rank;u.isUndefined($)||(T[$][Y.order]=I)}),T}function m(k){var T=u.min(u.map(k.nodes(),function(I){return k.node(I).rank}));u.forEach(k.nodes(),function(I){var Y=k.node(I);u.has(Y,"rank")&&(Y.rank-=T)})}function h(k){var T=u.min(u.map(k.nodes(),function(A){return k.node(A).rank})),I=[];u.forEach(k.nodes(),function(A){var g=k.node(A).rank-T;I[g]||(I[g]=[]),I[g].push(A)});var Y=0,$=k.graph().nodeRankFactor;u.forEach(I,function(A,g){u.isUndefined(A)&&g%$!=0?--Y:Y&&u.forEach(A,function(b){k.node(b).rank+=Y})})}function t(k,T,I,Y){var $={width:0,height:0};return arguments.length>=4&&($.rank=I,$.order=Y),r(k,"border",$,T)}function l(k){return u.max(u.map(k.nodes(),function(T){var I=k.node(T).rank;if(!u.isUndefined(I))return I}))}function p(k,T){var I={lhs:[],rhs:[]};return u.forEach(k,function(Y){T(Y)?I.lhs.push(Y):I.rhs.push(Y)}),I}function w(k,T){var I=u.now();try{return T()}finally{console.log(k+" time: "+(u.now()-I)+"ms")}}function S(k,T){return T()}},tReJ:function(Ie,M,e){"use strict";var u=e("y8nQ"),c=e("Vl3Y"),r=e("Ff2n"),f=e("VTBJ"),o=e("Q9mQ"),i=e("diRs"),a=e("GNNt"),n=e("wEI+"),v=e("ODXe"),m=e("nKUr"),h=e.n(m),t=e("ye1Q"),l=e("q1tI"),p=e.n(l),w=e("hGVw"),S=e.n(w),k=["label","rules","name","children","popoverProps"],T=["errorType","rules","name","popoverProps","children"],I={marginTop:-5,marginBottom:-5,marginLeft:0,marginRight:0},Y=function(g){var b=g.inputProps,d=g.input,O=g.extra,E=g.errorList,D=g.popoverProps,W=Object(l.useState)(!1),te=Object(v.a)(W,2),re=te[0],ye=te[1],q=Object(l.useState)([]),oe=Object(v.a)(q,2),he=oe[0],ue=oe[1],ne=Object(l.useContext)(n.a.ConfigContext),se=ne.getPrefixCls;Object(l.useEffect)(function(){b.validateStatus!=="validating"&&ue(b.errors)},[b.errors,b.validateStatus]);var be=se();return Object(m.jsx)(i.a,Object(f.a)(Object(f.a)({trigger:(D==null?void 0:D.trigger)||"focus",placement:(D==null?void 0:D.placement)||"topRight",visible:he.length<1?!1:re,onVisibleChange:function(ee){ee!==re&&ye(ee)},getPopupContainer:D==null?void 0:D.getPopupContainer,getTooltipContainer:D==null?void 0:D.getTooltipContainer,content:Object(m.jsxs)("div",{className:"".concat(be,"-form-item-with-help"),children:[b.validateStatus==="validating"?Object(m.jsx)(t.a,{}):null,E]})},D),{},{children:Object(m.jsxs)("div",{children:[d,O]})}),"popover")},$=function(g){var b=g.label,d=g.rules,O=g.name,E=g.children,D=g.popoverProps,W=Object(r.a)(g,k);return Object(m.jsx)(c.a.Item,Object(f.a)(Object(f.a)({preserve:!1,name:O,rules:d,hasFeedback:!0,_internalItemRender:{mark:"pro_table_render",render:function(re,ye){return Object(m.jsx)(Y,Object(f.a)({inputProps:re,popoverProps:D},ye))}}},W),{},{style:Object(f.a)(Object(f.a)({},I),W==null?void 0:W.style),children:E}))};M.a=function(A){var g=A.errorType,b=A.rules,d=A.name,O=A.popoverProps,E=A.children,D=Object(r.a)(A,T);return d&&(b==null?void 0:b.length)&&g==="popover"?Object(m.jsx)($,Object(f.a)(Object(f.a)({name:d,rules:b,popoverProps:O},D),{},{children:E})):Object(m.jsx)(c.a.Item,Object(f.a)(Object(f.a)({rules:b},D),{},{style:Object(f.a)(Object(f.a)({},I),D.style),name:d,children:E}))}},tTk5:function(Ie,M,e){"use strict";e.d(M,"b",function(){return f}),e.d(M,"a",function(){return o});var u=e("fWQN"),c=e("mtLc"),r=e("Cg/j"),f=function(){function i(a){Object(u.a)(this,i),this.callback=a}return Object(c.a)(i,[{key:"report",value:function(n){this._value=n,this.callback(this._value)}}]),i}();f.None=Object.freeze({report:function(){}});var o=Object(r.c)("editorProgressService")},tU7J:function(Ie,M,e){"use strict";var u=e("EFp3"),c=e.n(u),r=e("/qDX"),f=e.n(r),o=e("5NDa"),i=e("5Dmo")},tW0b:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=0,c=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:21;if(typeof window=="undefined"||!window.crypto)return(u+=1).toFixed(0);for(var i="",a=crypto.getRandomValues(new Uint8Array(o));o--;){var n=63&a[o];i+=n<36?n.toString(36):n<62?(n-26).toString(36).toUpperCase():n<63?"_":"-"}return i},r=function(){return typeof window=="undefined"?c():window.crypto&&window.crypto.randomUUID&&typeof crypto.randomUUID=="function"?crypto.randomUUID():c()}},tX9W:function(Ie,M,e){"use strict";e.d(M,"b",function(){return ca}),e.d(M,"a",function(){return na});var u=e("tJVT"),c=e("tS8v"),r=e("w4Tj"),f=e("oZsa"),o=e("yKVA"),i=e("879j"),a=e("fWQN"),n=e("mtLc"),v=e("/cxE"),m=e("MI8n"),h=e("pmY6"),t=e("N0LK"),l=e("bY76"),p=e("/UlZ"),w=e("cGHE"),S=e("aokT"),k=e("gCVg"),T=e("M1Kb"),I=e("oFSf"),Y=Object(n.a)(function mn(){Object(a.a)(this,mn),this.spacesDiff=0,this.looksLikeAlignment=!1});function $(mn,It,Ue,Ze,Pe){Pe.spacesDiff=0,Pe.looksLikeAlignment=!1;var mt;for(mt=0;mt<It&&mt<Ze;mt++){var xt=mn.charCodeAt(mt),cn=Ue.charCodeAt(mt);if(xt!==cn)break}for(var Ut=0,wt=0,Pn=mt;Pn<It;Pn++){var an=mn.charCodeAt(Pn);an===32?Ut++:wt++}for(var Dn=0,Tn=0,Zn=mt;Zn<Ze;Zn++){var Mr=Ue.charCodeAt(Zn);Mr===32?Dn++:Tn++}if(!(Ut>0&&wt>0)&&!(Dn>0&&Tn>0)){var xr=Math.abs(wt-Tn),Vr=Math.abs(Ut-Dn);if(xr===0){Pe.spacesDiff=Vr,Vr>0&&0<=Dn-1&&Dn-1<mn.length&&Dn<Ue.length&&Ue.charCodeAt(Dn)!==32&&mn.charCodeAt(Dn-1)===32&&mn.charCodeAt(mn.length-1)===44&&(Pe.looksLikeAlignment=!0);return}if(Vr%xr==0){Pe.spacesDiff=Vr/xr;return}}}function A(mn,It,Ue){for(var Ze=Math.min(mn.getLineCount(),1e4),Pe=0,mt=0,xt="",cn=0,Ut=[2,4,6,8,3,5,7],wt=8,Pn=[0,0,0,0,0,0,0,0,0],an=new Y,Dn=1;Dn<=Ze;Dn++){for(var Tn=mn.getLineLength(Dn),Zn=mn.getLineContent(Dn),Mr=Tn<=65536,xr=!1,Vr=0,Dr=0,dr=0,gt=0,Rr=Tn;gt<Rr;gt++){var ci=Mr?Zn.charCodeAt(gt):mn.getLineCharCode(Dn,gt);if(ci===9)dr++;else if(ci===32)Dr++;else{xr=!0,Vr=gt;break}}if(!!xr&&(dr>0?Pe++:Dr>1&&mt++,$(xt,cn,Zn,Vr,an),!(an.looksLikeAlignment&&!(Ue&&It===an.spacesDiff)))){var ai=an.spacesDiff;ai<=wt&&Pn[ai]++,xt=Zn,cn=Vr}}var bi=Ue;Pe!==mt&&(bi=Pe<mt);var zr=It;if(bi){var Hi=bi?0:.1*Ze;Ut.forEach(function(hi){var Ci=Pn[hi];Ci>Hi&&(Hi=Ci,zr=hi)}),zr===4&&Pn[4]>0&&Pn[2]>0&&Pn[2]>=Pn[4]/2&&(zr=2)}return{insertSpaces:bi,tabSize:zr}}function g(mn){return(mn.metadata&1)>>>0}function b(mn,It){mn.metadata=mn.metadata&254|It<<0}function d(mn){return(mn.metadata&2)>>>1==1}function O(mn,It){mn.metadata=mn.metadata&253|(It?1:0)<<1}function E(mn){return(mn.metadata&4)>>>2==1}function D(mn,It){mn.metadata=mn.metadata&251|(It?1:0)<<2}function W(mn){return(mn.metadata&8)>>>3==1}function te(mn,It){mn.metadata=mn.metadata&247|(It?1:0)<<3}function re(mn){return(mn.metadata&48)>>>4}function ye(mn,It){mn.metadata=mn.metadata&207|It<<4}function q(mn){return(mn.metadata&64)>>>6==1}function oe(mn,It){mn.metadata=mn.metadata&191|(It?1:0)<<6}var he=function(){function mn(It,Ue,Ze){Object(a.a)(this,mn),this.metadata=0,this.parent=this,this.left=this,this.right=this,b(this,1),this.start=Ue,this.end=Ze,this.delta=0,this.maxEnd=Ze,this.id=It,this.ownerId=0,this.options=null,D(this,!1),ye(this,1),te(this,!1),oe(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=Ue,this.cachedAbsoluteEnd=Ze,this.range=null,O(this,!1)}return Object(n.a)(mn,[{key:"reset",value:function(Ue,Ze,Pe,mt){this.start=Ze,this.end=Pe,this.maxEnd=Pe,this.cachedVersionId=Ue,this.cachedAbsoluteStart=Ze,this.cachedAbsoluteEnd=Pe,this.range=mt}},{key:"setOptions",value:function(Ue){this.options=Ue;var Ze=this.options.className;D(this,Ze==="squiggly-error"||Ze==="squiggly-warning"||Ze==="squiggly-info"),ye(this,this.options.stickiness),te(this,!!(this.options.overviewRuler&&this.options.overviewRuler.color)),oe(this,this.options.collapseOnReplaceEdit)}},{key:"setCachedOffsets",value:function(Ue,Ze,Pe){this.cachedVersionId!==Pe&&(this.range=null),this.cachedVersionId=Pe,this.cachedAbsoluteStart=Ue,this.cachedAbsoluteEnd=Ze}},{key:"detach",value:function(){this.parent=null,this.left=null,this.right=null}}]),mn}(),ue=new he(null,0,0);ue.parent=ue,ue.left=ue,ue.right=ue,b(ue,0);var ne=function(){function mn(){Object(a.a)(this,mn),this.root=ue,this.requestNormalizeDelta=!1}return Object(n.a)(mn,[{key:"intervalSearch",value:function(Ue,Ze,Pe,mt,xt){return this.root===ue?[]:z(this,Ue,Ze,Pe,mt,xt)}},{key:"search",value:function(Ue,Ze,Pe){return this.root===ue?[]:C(this,Ue,Ze,Pe)}},{key:"collectNodesFromOwner",value:function(Ue){return R(this,Ue)}},{key:"collectNodesPostOrder",value:function(){return y(this)}},{key:"insert",value:function(Ue){G(this,Ue),this._normalizeDeltaIfNecessary()}},{key:"delete",value:function(Ue){pe(this,Ue),this._normalizeDeltaIfNecessary()}},{key:"resolveNode",value:function(Ue,Ze){for(var Pe=Ue,mt=0;Ue!==this.root;)Ue===Ue.parent.right&&(mt+=Ue.parent.delta),Ue=Ue.parent;var xt=Pe.start+mt,cn=Pe.end+mt;Pe.setCachedOffsets(xt,cn,Ze)}},{key:"acceptReplace",value:function(Ue,Ze,Pe,mt){for(var xt=ee(this,Ue,Ue+Ze),cn=0,Ut=xt.length;cn<Ut;cn++){var wt=xt[cn];pe(this,wt)}this._normalizeDeltaIfNecessary(),ce(this,Ue,Ue+Ze,Pe),this._normalizeDeltaIfNecessary();for(var Pn=0,an=xt.length;Pn<an;Pn++){var Dn=xt[Pn];Dn.start=Dn.cachedAbsoluteStart,Dn.end=Dn.cachedAbsoluteEnd,Z(Dn,Ue,Ue+Ze,Pe,mt),Dn.maxEnd=Dn.end,G(this,Dn)}this._normalizeDeltaIfNecessary()}},{key:"_normalizeDeltaIfNecessary",value:function(){!this.requestNormalizeDelta||(this.requestNormalizeDelta=!1,se(this))}}]),mn}();function se(mn){for(var It=mn.root,Ue=0;It!==ue;){if(It.left!==ue&&!d(It.left)){It=It.left;continue}if(It.right!==ue&&!d(It.right)){Ue+=It.delta,It=It.right;continue}It.start=Ue+It.start,It.end=Ue+It.end,It.delta=0,fe(It),O(It,!0),O(It.left,!1),O(It.right,!1),It===It.parent.right&&(Ue-=It.parent.delta),It=It.parent}O(mn.root,!1)}function be(mn,It,Ue,Ze){return mn<Ue?!0:mn>Ue||Ze===1?!1:Ze===2?!0:It}function Z(mn,It,Ue,Ze,Pe){var mt=re(mn),xt=mt===0||mt===2,cn=mt===1||mt===2,Ut=Ue-It,wt=Ze,Pn=Math.min(Ut,wt),an=mn.start,Dn=!1,Tn=mn.end,Zn=!1;It<=an&&Tn<=Ue&&q(mn)&&(mn.start=It,Dn=!0,mn.end=It,Zn=!0);{var Mr=Pe?1:Ut>0?2:0;!Dn&&be(an,xt,It,Mr)&&(Dn=!0),!Zn&&be(Tn,cn,It,Mr)&&(Zn=!0)}if(Pn>0&&!Pe){var xr=Ut>wt?2:0;!Dn&&be(an,xt,It+Pn,xr)&&(Dn=!0),!Zn&&be(Tn,cn,It+Pn,xr)&&(Zn=!0)}{var Vr=Pe?1:0;!Dn&&be(an,xt,Ue,Vr)&&(mn.start=It+wt,Dn=!0),!Zn&&be(Tn,cn,Ue,Vr)&&(mn.end=It+wt,Zn=!0)}var Dr=wt-Ut;Dn||(mn.start=Math.max(0,an+Dr)),Zn||(mn.end=Math.max(0,Tn+Dr)),mn.start>mn.end&&(mn.end=mn.start)}function ee(mn,It,Ue){for(var Ze=mn.root,Pe=0,mt=0,xt=0,cn=0,Ut=[],wt=0;Ze!==ue;){if(d(Ze)){O(Ze.left,!1),O(Ze.right,!1),Ze===Ze.parent.right&&(Pe-=Ze.parent.delta),Ze=Ze.parent;continue}if(!d(Ze.left)){if(mt=Pe+Ze.maxEnd,mt<It){O(Ze,!0);continue}if(Ze.left!==ue){Ze=Ze.left;continue}}if(xt=Pe+Ze.start,xt>Ue){O(Ze,!0);continue}if(cn=Pe+Ze.end,cn>=It&&(Ze.setCachedOffsets(xt,cn,0),Ut[wt++]=Ze),O(Ze,!0),Ze.right!==ue&&!d(Ze.right)){Pe+=Ze.delta,Ze=Ze.right;continue}}return O(mn.root,!1),Ut}function ce(mn,It,Ue,Ze){for(var Pe=mn.root,mt=0,xt=0,cn=0,Ut=Ze-(Ue-It);Pe!==ue;){if(d(Pe)){O(Pe.left,!1),O(Pe.right,!1),Pe===Pe.parent.right&&(mt-=Pe.parent.delta),fe(Pe),Pe=Pe.parent;continue}if(!d(Pe.left)){if(xt=mt+Pe.maxEnd,xt<It){O(Pe,!0);continue}if(Pe.left!==ue){Pe=Pe.left;continue}}if(cn=mt+Pe.start,cn>Ue){Pe.start+=Ut,Pe.end+=Ut,Pe.delta+=Ut,(Pe.delta<-1073741824||Pe.delta>1073741824)&&(mn.requestNormalizeDelta=!0),O(Pe,!0);continue}if(O(Pe,!0),Pe.right!==ue&&!d(Pe.right)){mt+=Pe.delta,Pe=Pe.right;continue}}O(mn.root,!1)}function R(mn,It){for(var Ue=mn.root,Ze=[],Pe=0;Ue!==ue;){if(d(Ue)){O(Ue.left,!1),O(Ue.right,!1),Ue=Ue.parent;continue}if(Ue.left!==ue&&!d(Ue.left)){Ue=Ue.left;continue}if(Ue.ownerId===It&&(Ze[Pe++]=Ue),O(Ue,!0),Ue.right!==ue&&!d(Ue.right)){Ue=Ue.right;continue}}return O(mn.root,!1),Ze}function y(mn){for(var It=mn.root,Ue=[],Ze=0;It!==ue;){if(d(It)){O(It.left,!1),O(It.right,!1),It=It.parent;continue}if(It.left!==ue&&!d(It.left)){It=It.left;continue}if(It.right!==ue&&!d(It.right)){It=It.right;continue}Ue[Ze++]=It,O(It,!0)}return O(mn.root,!1),Ue}function C(mn,It,Ue,Ze){for(var Pe=mn.root,mt=0,xt=0,cn=0,Ut=[],wt=0;Pe!==ue;){if(d(Pe)){O(Pe.left,!1),O(Pe.right,!1),Pe===Pe.parent.right&&(mt-=Pe.parent.delta),Pe=Pe.parent;continue}if(Pe.left!==ue&&!d(Pe.left)){Pe=Pe.left;continue}xt=mt+Pe.start,cn=mt+Pe.end,Pe.setCachedOffsets(xt,cn,Ze);var Pn=!0;if(It&&Pe.ownerId&&Pe.ownerId!==It&&(Pn=!1),Ue&&E(Pe)&&(Pn=!1),Pn&&(Ut[wt++]=Pe),O(Pe,!0),Pe.right!==ue&&!d(Pe.right)){mt+=Pe.delta,Pe=Pe.right;continue}}return O(mn.root,!1),Ut}function z(mn,It,Ue,Ze,Pe,mt){for(var xt=mn.root,cn=0,Ut=0,wt=0,Pn=0,an=[],Dn=0;xt!==ue;){if(d(xt)){O(xt.left,!1),O(xt.right,!1),xt===xt.parent.right&&(cn-=xt.parent.delta),xt=xt.parent;continue}if(!d(xt.left)){if(Ut=cn+xt.maxEnd,Ut<It){O(xt,!0);continue}if(xt.left!==ue){xt=xt.left;continue}}if(wt=cn+xt.start,wt>Ue){O(xt,!0);continue}if(Pn=cn+xt.end,Pn>=It){xt.setCachedOffsets(wt,Pn,mt);var Tn=!0;Ze&&xt.ownerId&&xt.ownerId!==Ze&&(Tn=!1),Pe&&E(xt)&&(Tn=!1),Tn&&(an[Dn++]=xt)}if(O(xt,!0),xt.right!==ue&&!d(xt.right)){cn+=xt.delta,xt=xt.right;continue}}return O(mn.root,!1),an}function G(mn,It){if(mn.root===ue)return It.parent=ue,It.left=ue,It.right=ue,b(It,0),mn.root=It,mn.root;X(mn,It),ie(It.parent);for(var Ue=It;Ue!==mn.root&&g(Ue.parent)===1;)if(Ue.parent===Ue.parent.parent.left){var Ze=Ue.parent.parent.right;g(Ze)===1?(b(Ue.parent,0),b(Ze,0),b(Ue.parent.parent,1),Ue=Ue.parent.parent):(Ue===Ue.parent.right&&(Ue=Ue.parent,Te(mn,Ue)),b(Ue.parent,0),b(Ue.parent.parent,1),je(mn,Ue.parent.parent))}else{var Pe=Ue.parent.parent.left;g(Pe)===1?(b(Ue.parent,0),b(Pe,0),b(Ue.parent.parent,1),Ue=Ue.parent.parent):(Ue===Ue.parent.left&&(Ue=Ue.parent,je(mn,Ue)),b(Ue.parent,0),b(Ue.parent.parent,1),Te(mn,Ue.parent.parent))}return b(mn.root,0),It}function X(mn,It){for(var Ue=0,Ze=mn.root,Pe=It.start,mt=It.end;;){var xt=ge(Pe,mt,Ze.start+Ue,Ze.end+Ue);if(xt<0)if(Ze.left===ue){It.start-=Ue,It.end-=Ue,It.maxEnd-=Ue,Ze.left=It;break}else Ze=Ze.left;else if(Ze.right===ue){It.start-=Ue+Ze.delta,It.end-=Ue+Ze.delta,It.maxEnd-=Ue+Ze.delta,Ze.right=It;break}else Ue+=Ze.delta,Ze=Ze.right}It.parent=Ze,It.left=ue,It.right=ue,b(It,1)}function pe(mn,It){var Ue,Ze;if(It.left===ue?(Ue=It.right,Ze=It,Ue.delta+=It.delta,(Ue.delta<-1073741824||Ue.delta>1073741824)&&(mn.requestNormalizeDelta=!0),Ue.start+=It.delta,Ue.end+=It.delta):It.right===ue?(Ue=It.left,Ze=It):(Ze=ae(It.right),Ue=Ze.right,Ue.start+=Ze.delta,Ue.end+=Ze.delta,Ue.delta+=Ze.delta,(Ue.delta<-1073741824||Ue.delta>1073741824)&&(mn.requestNormalizeDelta=!0),Ze.start+=It.delta,Ze.end+=It.delta,Ze.delta=It.delta,(Ze.delta<-1073741824||Ze.delta>1073741824)&&(mn.requestNormalizeDelta=!0)),Ze===mn.root){mn.root=Ue,b(Ue,0),It.detach(),Se(),fe(Ue),mn.root.parent=ue;return}var Pe=g(Ze)===1;if(Ze===Ze.parent.left?Ze.parent.left=Ue:Ze.parent.right=Ue,Ze===It?Ue.parent=Ze.parent:(Ze.parent===It?Ue.parent=Ze:Ue.parent=Ze.parent,Ze.left=It.left,Ze.right=It.right,Ze.parent=It.parent,b(Ze,g(It)),It===mn.root?mn.root=Ze:It===It.parent.left?It.parent.left=Ze:It.parent.right=Ze,Ze.left!==ue&&(Ze.left.parent=Ze),Ze.right!==ue&&(Ze.right.parent=Ze)),It.detach(),Pe){ie(Ue.parent),Ze!==It&&(ie(Ze),ie(Ze.parent)),Se();return}ie(Ue),ie(Ue.parent),Ze!==It&&(ie(Ze),ie(Ze.parent));for(var mt;Ue!==mn.root&&g(Ue)===0;)Ue===Ue.parent.left?(mt=Ue.parent.right,g(mt)===1&&(b(mt,0),b(Ue.parent,1),Te(mn,Ue.parent),mt=Ue.parent.right),g(mt.left)===0&&g(mt.right)===0?(b(mt,1),Ue=Ue.parent):(g(mt.right)===0&&(b(mt.left,0),b(mt,1),je(mn,mt),mt=Ue.parent.right),b(mt,g(Ue.parent)),b(Ue.parent,0),b(mt.right,0),Te(mn,Ue.parent),Ue=mn.root)):(mt=Ue.parent.left,g(mt)===1&&(b(mt,0),b(Ue.parent,1),je(mn,Ue.parent),mt=Ue.parent.left),g(mt.left)===0&&g(mt.right)===0?(b(mt,1),Ue=Ue.parent):(g(mt.left)===0&&(b(mt.right,0),b(mt,1),Te(mn,mt),mt=Ue.parent.left),b(mt,g(Ue.parent)),b(Ue.parent,0),b(mt.left,0),je(mn,Ue.parent),Ue=mn.root));b(Ue,0),Se()}function ae(mn){for(;mn.left!==ue;)mn=mn.left;return mn}function Se(){ue.parent=ue,ue.delta=0,ue.start=0,ue.end=0}function Te(mn,It){var Ue=It.right;Ue.delta+=It.delta,(Ue.delta<-1073741824||Ue.delta>1073741824)&&(mn.requestNormalizeDelta=!0),Ue.start+=It.delta,Ue.end+=It.delta,It.right=Ue.left,Ue.left!==ue&&(Ue.left.parent=It),Ue.parent=It.parent,It.parent===ue?mn.root=Ue:It===It.parent.left?It.parent.left=Ue:It.parent.right=Ue,Ue.left=It,It.parent=Ue,fe(It),fe(Ue)}function je(mn,It){var Ue=It.left;It.delta-=Ue.delta,(It.delta<-1073741824||It.delta>1073741824)&&(mn.requestNormalizeDelta=!0),It.start-=Ue.delta,It.end-=Ue.delta,It.left=Ue.right,Ue.right!==ue&&(Ue.right.parent=It),Ue.parent=It.parent,It.parent===ue?mn.root=Ue:It===It.parent.right?It.parent.right=Ue:It.parent.left=Ue,Ue.right=It,It.parent=Ue,fe(It),fe(Ue)}function ft(mn){var It=mn.end;if(mn.left!==ue){var Ue=mn.left.maxEnd;Ue>It&&(It=Ue)}if(mn.right!==ue){var Ze=mn.right.maxEnd+mn.delta;Ze>It&&(It=Ze)}return It}function fe(mn){mn.maxEnd=ft(mn)}function ie(mn){for(;mn!==ue;){var It=ft(mn);if(mn.maxEnd===It)return;mn.maxEnd=It,mn=mn.parent}}function ge(mn,It,Ue,Ze){return mn===Ue?It-Ze:mn-Ue}var Ve=e("rAM+"),Ee=function(){function mn(It,Ue){Object(a.a)(this,mn),this.piece=It,this.color=Ue,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return Object(n.a)(mn,[{key:"next",value:function(){if(this.right!==Me)return _e(this.right);for(var Ue=this;Ue.parent!==Me&&Ue.parent.left!==Ue;)Ue=Ue.parent;return Ue.parent===Me?Me:Ue.parent}},{key:"prev",value:function(){if(this.left!==Me)return Re(this.left);for(var Ue=this;Ue.parent!==Me&&Ue.parent.right!==Ue;)Ue=Ue.parent;return Ue.parent===Me?Me:Ue.parent}},{key:"detach",value:function(){this.parent=null,this.left=null,this.right=null}}]),mn}(),Me=new Ee(null,0);Me.parent=Me,Me.left=Me,Me.right=Me,Me.color=0;function _e(mn){for(;mn.left!==Me;)mn=mn.left;return mn}function Re(mn){for(;mn.right!==Me;)mn=mn.right;return mn}function et(mn){return mn===Me?0:mn.size_left+mn.piece.length+et(mn.right)}function Xe(mn){return mn===Me?0:mn.lf_left+mn.piece.lineFeedCnt+Xe(mn.right)}function it(){Me.parent=Me}function bt(mn,It){var Ue=It.right;Ue.size_left+=It.size_left+(It.piece?It.piece.length:0),Ue.lf_left+=It.lf_left+(It.piece?It.piece.lineFeedCnt:0),It.right=Ue.left,Ue.left!==Me&&(Ue.left.parent=It),Ue.parent=It.parent,It.parent===Me?mn.root=Ue:It.parent.left===It?It.parent.left=Ue:It.parent.right=Ue,Ue.left=It,It.parent=Ue}function Ct(mn,It){var Ue=It.left;It.left=Ue.right,Ue.right!==Me&&(Ue.right.parent=It),Ue.parent=It.parent,It.size_left-=Ue.size_left+(Ue.piece?Ue.piece.length:0),It.lf_left-=Ue.lf_left+(Ue.piece?Ue.piece.lineFeedCnt:0),It.parent===Me?mn.root=Ue:It===It.parent.right?It.parent.right=Ue:It.parent.left=Ue,Ue.right=It,It.parent=Ue}function Bt(mn,It){var Ue,Ze;if(It.left===Me?(Ze=It,Ue=Ze.right):It.right===Me?(Ze=It,Ue=Ze.left):(Ze=_e(It.right),Ue=Ze.right),Ze===mn.root){mn.root=Ue,Ue.color=0,It.detach(),it(),mn.root.parent=Me;return}var Pe=Ze.color===1;if(Ze===Ze.parent.left?Ze.parent.left=Ue:Ze.parent.right=Ue,Ze===It?(Ue.parent=Ze.parent,ut(mn,Ue)):(Ze.parent===It?Ue.parent=Ze:Ue.parent=Ze.parent,ut(mn,Ue),Ze.left=It.left,Ze.right=It.right,Ze.parent=It.parent,Ze.color=It.color,It===mn.root?mn.root=Ze:It===It.parent.left?It.parent.left=Ze:It.parent.right=Ze,Ze.left!==Me&&(Ze.left.parent=Ze),Ze.right!==Me&&(Ze.right.parent=Ze),Ze.size_left=It.size_left,Ze.lf_left=It.lf_left,ut(mn,Ze)),It.detach(),Ue.parent.left===Ue){var mt=et(Ue),xt=Xe(Ue);if(mt!==Ue.parent.size_left||xt!==Ue.parent.lf_left){var cn=mt-Ue.parent.size_left,Ut=xt-Ue.parent.lf_left;Ue.parent.size_left=mt,Ue.parent.lf_left=xt,st(mn,Ue.parent,cn,Ut)}}if(ut(mn,Ue.parent),Pe){it();return}for(var wt;Ue!==mn.root&&Ue.color===0;)Ue===Ue.parent.left?(wt=Ue.parent.right,wt.color===1&&(wt.color=0,Ue.parent.color=1,bt(mn,Ue.parent),wt=Ue.parent.right),wt.left.color===0&&wt.right.color===0?(wt.color=1,Ue=Ue.parent):(wt.right.color===0&&(wt.left.color=0,wt.color=1,Ct(mn,wt),wt=Ue.parent.right),wt.color=Ue.parent.color,Ue.parent.color=0,wt.right.color=0,bt(mn,Ue.parent),Ue=mn.root)):(wt=Ue.parent.left,wt.color===1&&(wt.color=0,Ue.parent.color=1,Ct(mn,Ue.parent),wt=Ue.parent.left),wt.left.color===0&&wt.right.color===0?(wt.color=1,Ue=Ue.parent):(wt.left.color===0&&(wt.right.color=0,wt.color=1,bt(mn,wt),wt=Ue.parent.left),wt.color=Ue.parent.color,Ue.parent.color=0,wt.left.color=0,Ct(mn,Ue.parent),Ue=mn.root));Ue.color=0,it()}function qe(mn,It){for(ut(mn,It);It!==mn.root&&It.parent.color===1;)if(It.parent===It.parent.parent.left){var Ue=It.parent.parent.right;Ue.color===1?(It.parent.color=0,Ue.color=0,It.parent.parent.color=1,It=It.parent.parent):(It===It.parent.right&&(It=It.parent,bt(mn,It)),It.parent.color=0,It.parent.parent.color=1,Ct(mn,It.parent.parent))}else{var Ze=It.parent.parent.left;Ze.color===1?(It.parent.color=0,Ze.color=0,It.parent.parent.color=1,It=It.parent.parent):(It===It.parent.left&&(It=It.parent,Ct(mn,It)),It.parent.color=0,It.parent.parent.color=1,bt(mn,It.parent.parent))}mn.root.color=0}function st(mn,It,Ue,Ze){for(;It!==mn.root&&It!==Me;)It.parent.left===It&&(It.parent.size_left+=Ue,It.parent.lf_left+=Ze),It=It.parent}function ut(mn,It){var Ue=0,Ze=0;if(It!==mn.root){if(Ue===0){for(;It!==mn.root&&It===It.parent.right;)It=It.parent;if(It===mn.root)return;It=It.parent,Ue=et(It.left)-It.size_left,Ze=Xe(It.left)-It.lf_left,It.size_left+=Ue,It.lf_left+=Ze}for(;It!==mn.root&&(Ue!==0||Ze!==0);)It.parent.left===It&&(It.parent.size_left+=Ue,It.parent.lf_left+=Ze),It=It.parent}}var nt=e("jAJ/"),kt=65535;function Sn(mn){var It;return mn[mn.length-1]<65536?It=new Uint16Array(mn.length):It=new Uint32Array(mn.length),It.set(mn,0),It}var Tt=Object(n.a)(function mn(It,Ue,Ze,Pe,mt){Object(a.a)(this,mn),this.lineStarts=It,this.cr=Ue,this.lf=Ze,this.crlf=Pe,this.isBasicASCII=mt});function ht(mn){for(var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Ue=[0],Ze=1,Pe=0,mt=mn.length;Pe<mt;Pe++){var xt=mn.charCodeAt(Pe);xt===13?Pe+1<mt&&mn.charCodeAt(Pe+1)===10?(Ue[Ze++]=Pe+2,Pe++):Ue[Ze++]=Pe+1:xt===10&&(Ue[Ze++]=Pe+1)}return It?Sn(Ue):Ue}function Rt(mn,It){mn.length=0,mn[0]=0;for(var Ue=1,Ze=0,Pe=0,mt=0,xt=!0,cn=0,Ut=It.length;cn<Ut;cn++){var wt=It.charCodeAt(cn);wt===13?cn+1<Ut&&It.charCodeAt(cn+1)===10?(mt++,mn[Ue++]=cn+2,cn++):(Ze++,mn[Ue++]=cn+1):wt===10?(Pe++,mn[Ue++]=cn+1):xt&&wt!==9&&(wt<32||wt>126)&&(xt=!1)}var Pn=new Tt(Sn(mn),Ze,Pe,mt,xt);return mn.length=0,Pn}var Ft=Object(n.a)(function mn(It,Ue,Ze,Pe,mt){Object(a.a)(this,mn),this.bufferIndex=It,this.start=Ue,this.end=Ze,this.lineFeedCnt=Pe,this.length=mt}),nn=Object(n.a)(function mn(It,Ue){Object(a.a)(this,mn),this.buffer=It,this.lineStarts=Ue}),bn=function(){function mn(It,Ue){var Ze=this;Object(a.a)(this,mn),this._pieces=[],this._tree=It,this._BOM=Ue,this._index=0,It.root!==Me&&It.iterate(It.root,function(Pe){return Pe!==Me&&Ze._pieces.push(Pe.piece),!0})}return Object(n.a)(mn,[{key:"read",value:function(){return this._pieces.length===0?this._index===0?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:this._index===0?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}]),mn}(),sn=function(){function mn(It){Object(a.a)(this,mn),this._limit=It,this._cache=[]}return Object(n.a)(mn,[{key:"get",value:function(Ue){for(var Ze=this._cache.length-1;Ze>=0;Ze--){var Pe=this._cache[Ze];if(Pe.nodeStartOffset<=Ue&&Pe.nodeStartOffset+Pe.node.piece.length>=Ue)return Pe}return null}},{key:"get2",value:function(Ue){for(var Ze=this._cache.length-1;Ze>=0;Ze--){var Pe=this._cache[Ze];if(Pe.nodeStartLineNumber&&Pe.nodeStartLineNumber<Ue&&Pe.nodeStartLineNumber+Pe.node.piece.lineFeedCnt>=Ue)return Pe}return null}},{key:"set",value:function(Ue){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(Ue)}},{key:"validate",value:function(Ue){for(var Ze=!1,Pe=this._cache,mt=0;mt<Pe.length;mt++){var xt=Pe[mt];if(xt.node.parent===null||xt.nodeStartOffset>=Ue){Pe[mt]=null,Ze=!0;continue}}if(Ze){var cn=[],Ut=Object(Ve.a)(Pe),wt;try{for(Ut.s();!(wt=Ut.n()).done;){var Pn=wt.value;Pn!==null&&cn.push(Pn)}}catch(an){Ut.e(an)}finally{Ut.f()}this._cache=cn}}}]),mn}(),un=function(){function mn(It,Ue,Ze){Object(a.a)(this,mn),this.create(It,Ue,Ze)}return Object(n.a)(mn,[{key:"create",value:function(Ue,Ze,Pe){this._buffers=[new nn("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=Me,this._lineCnt=1,this._length=0,this._EOL=Ze,this._EOLLength=Ze.length,this._EOLNormalized=Pe;for(var mt=null,xt=0,cn=Ue.length;xt<cn;xt++)if(Ue[xt].buffer.length>0){Ue[xt].lineStarts||(Ue[xt].lineStarts=ht(Ue[xt].buffer));var Ut=new Ft(xt+1,{line:0,column:0},{line:Ue[xt].lineStarts.length-1,column:Ue[xt].buffer.length-Ue[xt].lineStarts[Ue[xt].lineStarts.length-1]},Ue[xt].lineStarts.length-1,Ue[xt].buffer.length);this._buffers.push(Ue[xt]),mt=this.rbInsertRight(mt,Ut)}this._searchCache=new sn(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}},{key:"normalizeEOL",value:function(Ue){var Ze=this,Pe=kt,mt=Pe-Math.floor(Pe/3),xt=mt*2,cn="",Ut=0,wt=[];if(this.iterate(this.root,function(an){var Dn=Ze.getNodeContent(an),Tn=Dn.length;if(Ut<=mt||Ut+Tn<xt)return cn+=Dn,Ut+=Tn,!0;var Zn=cn.replace(/\r\n|\r|\n/g,Ue);return wt.push(new nn(Zn,ht(Zn))),cn=Dn,Ut=Tn,!0}),Ut>0){var Pn=cn.replace(/\r\n|\r|\n/g,Ue);wt.push(new nn(Pn,ht(Pn)))}this.create(wt,Ue,!0)}},{key:"getEOL",value:function(){return this._EOL}},{key:"setEOL",value:function(Ue){this._EOL=Ue,this._EOLLength=this._EOL.length,this.normalizeEOL(Ue)}},{key:"createSnapshot",value:function(Ue){return new bn(this,Ue)}},{key:"getOffsetAt",value:function(Ue,Ze){for(var Pe=0,mt=this.root;mt!==Me;)if(mt.left!==Me&&mt.lf_left+1>=Ue)mt=mt.left;else if(mt.lf_left+mt.piece.lineFeedCnt+1>=Ue){Pe+=mt.size_left;var xt=this.getAccumulatedValue(mt,Ue-mt.lf_left-2);return Pe+=xt+Ze-1}else Ue-=mt.lf_left+mt.piece.lineFeedCnt,Pe+=mt.size_left+mt.piece.length,mt=mt.right;return Pe}},{key:"getPositionAt",value:function(Ue){Ue=Math.floor(Ue),Ue=Math.max(0,Ue);for(var Ze=this.root,Pe=0,mt=Ue;Ze!==Me;)if(Ze.size_left!==0&&Ze.size_left>=Ue)Ze=Ze.left;else if(Ze.size_left+Ze.piece.length>=Ue){var xt=this.getIndexOf(Ze,Ue-Ze.size_left);if(Pe+=Ze.lf_left+xt.index,xt.index===0){var cn=this.getOffsetAt(Pe+1,1),Ut=mt-cn;return new w.a(Pe+1,Ut+1)}return new w.a(Pe+1,xt.remainder+1)}else if(Ue-=Ze.size_left+Ze.piece.length,Pe+=Ze.lf_left+Ze.piece.lineFeedCnt,Ze.right===Me){var wt=this.getOffsetAt(Pe+1,1),Pn=mt-Ue-wt;return new w.a(Pe+1,Pn+1)}else Ze=Ze.right;return new w.a(1,1)}},{key:"getValueInRange",value:function(Ue,Ze){if(Ue.startLineNumber===Ue.endLineNumber&&Ue.startColumn===Ue.endColumn)return"";var Pe=this.nodeAt2(Ue.startLineNumber,Ue.startColumn),mt=this.nodeAt2(Ue.endLineNumber,Ue.endColumn),xt=this.getValueInRange2(Pe,mt);return Ze?Ze!==this._EOL||!this._EOLNormalized?xt.replace(/\r\n|\r|\n/g,Ze):Ze===this.getEOL()&&this._EOLNormalized?xt:xt.replace(/\r\n|\r|\n/g,Ze):xt}},{key:"getValueInRange2",value:function(Ue,Ze){if(Ue.node===Ze.node){var Pe=Ue.node,mt=this._buffers[Pe.piece.bufferIndex].buffer,xt=this.offsetInBuffer(Pe.piece.bufferIndex,Pe.piece.start);return mt.substring(xt+Ue.remainder,xt+Ze.remainder)}var cn=Ue.node,Ut=this._buffers[cn.piece.bufferIndex].buffer,wt=this.offsetInBuffer(cn.piece.bufferIndex,cn.piece.start),Pn=Ut.substring(wt+Ue.remainder,wt+cn.piece.length);for(cn=cn.next();cn!==Me;){var an=this._buffers[cn.piece.bufferIndex].buffer,Dn=this.offsetInBuffer(cn.piece.bufferIndex,cn.piece.start);if(cn===Ze.node){Pn+=an.substring(Dn,Dn+Ze.remainder);break}else Pn+=an.substr(Dn,cn.piece.length);cn=cn.next()}return Pn}},{key:"getLinesContent",value:function(){var Ue=this,Ze=[],Pe=0,mt="",xt=!1;return this.iterate(this.root,function(cn){if(cn===Me)return!0;var Ut=cn.piece,wt=Ut.length;if(wt===0)return!0;var Pn=Ue._buffers[Ut.bufferIndex].buffer,an=Ue._buffers[Ut.bufferIndex].lineStarts,Dn=Ut.start.line,Tn=Ut.end.line,Zn=an[Dn]+Ut.start.column;if(xt&&(Pn.charCodeAt(Zn)===10&&(Zn++,wt--),Ze[Pe++]=mt,mt="",xt=!1,wt===0))return!0;if(Dn===Tn)return!Ue._EOLNormalized&&Pn.charCodeAt(Zn+wt-1)===13?(xt=!0,mt+=Pn.substr(Zn,wt-1)):mt+=Pn.substr(Zn,wt),!0;mt+=Ue._EOLNormalized?Pn.substring(Zn,Math.max(Zn,an[Dn+1]-Ue._EOLLength)):Pn.substring(Zn,an[Dn+1]).replace(/(\r\n|\r|\n)$/,""),Ze[Pe++]=mt;for(var Mr=Dn+1;Mr<Tn;Mr++)mt=Ue._EOLNormalized?Pn.substring(an[Mr],an[Mr+1]-Ue._EOLLength):Pn.substring(an[Mr],an[Mr+1]).replace(/(\r\n|\r|\n)$/,""),Ze[Pe++]=mt;return!Ue._EOLNormalized&&Pn.charCodeAt(an[Tn]+Ut.end.column-1)===13?(xt=!0,Ut.end.column===0?Pe--:mt=Pn.substr(an[Tn],Ut.end.column-1)):mt=Pn.substr(an[Tn],Ut.end.column),!0}),xt&&(Ze[Pe++]=mt,mt=""),Ze[Pe++]=mt,Ze}},{key:"getLength",value:function(){return this._length}},{key:"getLineCount",value:function(){return this._lineCnt}},{key:"getLineContent",value:function(Ue){return this._lastVisitedLine.lineNumber===Ue?this._lastVisitedLine.value:(this._lastVisitedLine.lineNumber=Ue,Ue===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(Ue):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(Ue,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(Ue).replace(/(\r\n|\r|\n)$/,""),this._lastVisitedLine.value)}},{key:"_getCharCode",value:function(Ue){if(Ue.remainder===Ue.node.piece.length){var Ze=Ue.node.next();if(!Ze)return 0;var Pe=this._buffers[Ze.piece.bufferIndex],mt=this.offsetInBuffer(Ze.piece.bufferIndex,Ze.piece.start);return Pe.buffer.charCodeAt(mt)}else{var xt=this._buffers[Ue.node.piece.bufferIndex],cn=this.offsetInBuffer(Ue.node.piece.bufferIndex,Ue.node.piece.start),Ut=cn+Ue.remainder;return xt.buffer.charCodeAt(Ut)}}},{key:"getLineCharCode",value:function(Ue,Ze){var Pe=this.nodeAt2(Ue,Ze+1);return this._getCharCode(Pe)}},{key:"getLineLength",value:function(Ue){if(Ue===this.getLineCount()){var Ze=this.getOffsetAt(Ue,1);return this.getLength()-Ze}return this.getOffsetAt(Ue+1,1)-this.getOffsetAt(Ue,1)-this._EOLLength}},{key:"findMatchesInNode",value:function(Ue,Ze,Pe,mt,xt,cn,Ut,wt,Pn,an,Dn){var Tn=this._buffers[Ue.piece.bufferIndex],Zn=this.offsetInBuffer(Ue.piece.bufferIndex,Ue.piece.start),Mr=this.offsetInBuffer(Ue.piece.bufferIndex,xt),xr=this.offsetInBuffer(Ue.piece.bufferIndex,cn),Vr,Dr={line:0,column:0},dr,gt;Ze._wordSeparators?(dr=Tn.buffer.substring(Mr,xr),gt=function(zr){return zr+Mr},Ze.reset(0)):(dr=Tn.buffer,gt=function(zr){return zr},Ze.reset(Mr));do if(Vr=Ze.next(dr),Vr){if(gt(Vr.index)>=xr)return an;this.positionInBuffer(Ue,gt(Vr.index)-Zn,Dr);var Rr=this.getLineFeedCnt(Ue.piece.bufferIndex,xt,Dr),ci=Dr.line===xt.line?Dr.column-xt.column+mt:Dr.column+1,ai=ci+Vr[0].length;if(Dn[an++]=Object(nt.d)(new S.a(Pe+Rr,ci,Pe+Rr,ai),Vr,wt),gt(Vr.index)+Vr[0].length>=xr||an>=Pn)return an}while(Vr);return an}},{key:"findMatchesLineByLine",value:function(Ue,Ze,Pe,mt){var xt=[],cn=0,Ut=new nt.b(Ze.wordSeparators,Ze.regex),wt=this.nodeAt2(Ue.startLineNumber,Ue.startColumn);if(wt===null)return[];var Pn=this.nodeAt2(Ue.endLineNumber,Ue.endColumn);if(Pn===null)return[];var an=this.positionInBuffer(wt.node,wt.remainder),Dn=this.positionInBuffer(Pn.node,Pn.remainder);if(wt.node===Pn.node)return this.findMatchesInNode(wt.node,Ut,Ue.startLineNumber,Ue.startColumn,an,Dn,Ze,Pe,mt,cn,xt),xt;for(var Tn=Ue.startLineNumber,Zn=wt.node;Zn!==Pn.node;){var Mr=this.getLineFeedCnt(Zn.piece.bufferIndex,an,Zn.piece.end);if(Mr>=1){var xr=this._buffers[Zn.piece.bufferIndex].lineStarts,Vr=this.offsetInBuffer(Zn.piece.bufferIndex,Zn.piece.start),Dr=xr[an.line+Mr],dr=Tn===Ue.startLineNumber?Ue.startColumn:1;if(cn=this.findMatchesInNode(Zn,Ut,Tn,dr,an,this.positionInBuffer(Zn,Dr-Vr),Ze,Pe,mt,cn,xt),cn>=mt)return xt;Tn+=Mr}var gt=Tn===Ue.startLineNumber?Ue.startColumn-1:0;if(Tn===Ue.endLineNumber){var Rr=this.getLineContent(Tn).substring(gt,Ue.endColumn-1);return cn=this._findMatchesInLine(Ze,Ut,Rr,Ue.endLineNumber,gt,cn,xt,Pe,mt),xt}if(cn=this._findMatchesInLine(Ze,Ut,this.getLineContent(Tn).substr(gt),Tn,gt,cn,xt,Pe,mt),cn>=mt)return xt;Tn++,wt=this.nodeAt2(Tn,1),Zn=wt.node,an=this.positionInBuffer(wt.node,wt.remainder)}if(Tn===Ue.endLineNumber){var ci=Tn===Ue.startLineNumber?Ue.startColumn-1:0,ai=this.getLineContent(Tn).substring(ci,Ue.endColumn-1);return cn=this._findMatchesInLine(Ze,Ut,ai,Ue.endLineNumber,ci,cn,xt,Pe,mt),xt}var bi=Tn===Ue.startLineNumber?Ue.startColumn:1;return cn=this.findMatchesInNode(Pn.node,Ut,Tn,bi,an,Dn,Ze,Pe,mt,cn,xt),xt}},{key:"_findMatchesInLine",value:function(Ue,Ze,Pe,mt,xt,cn,Ut,wt,Pn){var an=Ue.wordSeparators;if(!wt&&Ue.simpleSearch){for(var Dn=Ue.simpleSearch,Tn=Dn.length,Zn=Pe.length,Mr=-Tn;(Mr=Pe.indexOf(Dn,Mr+Tn))!==-1;)if((!an||Object(nt.e)(an,Pe,Zn,Mr,Tn))&&(Ut[cn++]=new T.b(new S.a(mt,Mr+1+xt,mt,Mr+1+Tn+xt),null),cn>=Pn))return cn;return cn}var xr;Ze.reset(0);do if(xr=Ze.next(Pe),xr&&(Ut[cn++]=Object(nt.d)(new S.a(mt,xr.index+1+xt,mt,xr.index+1+xr[0].length+xt),xr,wt),cn>=Pn))return cn;while(xr);return cn}},{key:"insert",value:function(Ue,Ze){var Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this._EOLNormalized=this._EOLNormalized&&Pe,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==Me){var mt=this.nodeAt(Ue),xt=mt.node,cn=mt.remainder,Ut=mt.nodeStartOffset,wt=xt.piece,Pn=wt.bufferIndex,an=this.positionInBuffer(xt,cn);if(xt.piece.bufferIndex===0&&wt.end.line===this._lastChangeBufferPos.line&&wt.end.column===this._lastChangeBufferPos.column&&Ut+wt.length===Ue&&Ze.length<kt){this.appendToNode(xt,Ze),this.computeBufferMetadata();return}if(Ut===Ue)this.insertContentToNodeLeft(Ze,xt),this._searchCache.validate(Ue);else if(Ut+xt.piece.length>Ue){var Dn=[],Tn=new Ft(wt.bufferIndex,an,wt.end,this.getLineFeedCnt(wt.bufferIndex,an,wt.end),this.offsetInBuffer(Pn,wt.end)-this.offsetInBuffer(Pn,an));if(this.shouldCheckCRLF()&&this.endWithCR(Ze)){var Zn=this.nodeCharCodeAt(xt,cn);if(Zn===10){var Mr={line:Tn.start.line+1,column:0};Tn=new Ft(Tn.bufferIndex,Mr,Tn.end,this.getLineFeedCnt(Tn.bufferIndex,Mr,Tn.end),Tn.length-1),Ze+=`
- `}}if(this.shouldCheckCRLF()&&this.startWithLF(Ze)){var xr=this.nodeCharCodeAt(xt,cn-1);if(xr===13){var Vr=this.positionInBuffer(xt,cn-1);this.deleteNodeTail(xt,Vr),Ze="\r"+Ze,xt.piece.length===0&&Dn.push(xt)}else this.deleteNodeTail(xt,an)}else this.deleteNodeTail(xt,an);var Dr=this.createNewPieces(Ze);Tn.length>0&&this.rbInsertRight(xt,Tn);for(var dr=xt,gt=0;gt<Dr.length;gt++)dr=this.rbInsertRight(dr,Dr[gt]);this.deleteNodes(Dn)}else this.insertContentToNodeRight(Ze,xt)}else for(var Rr=this.createNewPieces(Ze),ci=this.rbInsertLeft(null,Rr[0]),ai=1;ai<Rr.length;ai++)ci=this.rbInsertRight(ci,Rr[ai]);this.computeBufferMetadata()}},{key:"delete",value:function(Ue,Ze){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",!(Ze<=0||this.root===Me)){var Pe=this.nodeAt(Ue),mt=this.nodeAt(Ue+Ze),xt=Pe.node,cn=mt.node;if(xt===cn){var Ut=this.positionInBuffer(xt,Pe.remainder),wt=this.positionInBuffer(xt,mt.remainder);if(Pe.nodeStartOffset===Ue){if(Ze===xt.piece.length){var Pn=xt.next();Bt(this,xt),this.validateCRLFWithPrevNode(Pn),this.computeBufferMetadata();return}this.deleteNodeHead(xt,wt),this._searchCache.validate(Ue),this.validateCRLFWithPrevNode(xt),this.computeBufferMetadata();return}if(Pe.nodeStartOffset+xt.piece.length===Ue+Ze){this.deleteNodeTail(xt,Ut),this.validateCRLFWithNextNode(xt),this.computeBufferMetadata();return}this.shrinkNode(xt,Ut,wt),this.computeBufferMetadata();return}var an=[],Dn=this.positionInBuffer(xt,Pe.remainder);this.deleteNodeTail(xt,Dn),this._searchCache.validate(Ue),xt.piece.length===0&&an.push(xt);var Tn=this.positionInBuffer(cn,mt.remainder);this.deleteNodeHead(cn,Tn),cn.piece.length===0&&an.push(cn);for(var Zn=xt.next(),Mr=Zn;Mr!==Me&&Mr!==cn;Mr=Mr.next())an.push(Mr);var xr=xt.piece.length===0?xt.prev():xt;this.deleteNodes(an),this.validateCRLFWithNextNode(xr),this.computeBufferMetadata()}}},{key:"insertContentToNodeLeft",value:function(Ue,Ze){var Pe=[];if(this.shouldCheckCRLF()&&this.endWithCR(Ue)&&this.startWithLF(Ze)){var mt=Ze.piece,xt={line:mt.start.line+1,column:0},cn=new Ft(mt.bufferIndex,xt,mt.end,this.getLineFeedCnt(mt.bufferIndex,xt,mt.end),mt.length-1);Ze.piece=cn,Ue+=`
- `,st(this,Ze,-1,-1),Ze.piece.length===0&&Pe.push(Ze)}for(var Ut=this.createNewPieces(Ue),wt=this.rbInsertLeft(Ze,Ut[Ut.length-1]),Pn=Ut.length-2;Pn>=0;Pn--)wt=this.rbInsertLeft(wt,Ut[Pn]);this.validateCRLFWithPrevNode(wt),this.deleteNodes(Pe)}},{key:"insertContentToNodeRight",value:function(Ue,Ze){this.adjustCarriageReturnFromNext(Ue,Ze)&&(Ue+=`
- `);for(var Pe=this.createNewPieces(Ue),mt=this.rbInsertRight(Ze,Pe[0]),xt=mt,cn=1;cn<Pe.length;cn++)xt=this.rbInsertRight(xt,Pe[cn]);this.validateCRLFWithPrevNode(mt)}},{key:"positionInBuffer",value:function(Ue,Ze,Pe){for(var mt=Ue.piece,xt=Ue.piece.bufferIndex,cn=this._buffers[xt].lineStarts,Ut=cn[mt.start.line]+mt.start.column,wt=Ut+Ze,Pn=mt.start.line,an=mt.end.line,Dn=0,Tn=0,Zn=0;Pn<=an&&(Dn=Pn+(an-Pn)/2|0,Zn=cn[Dn],Dn!==an);)if(Tn=cn[Dn+1],wt<Zn)an=Dn-1;else if(wt>=Tn)Pn=Dn+1;else break;return Pe?(Pe.line=Dn,Pe.column=wt-Zn,null):{line:Dn,column:wt-Zn}}},{key:"getLineFeedCnt",value:function(Ue,Ze,Pe){if(Pe.column===0)return Pe.line-Ze.line;var mt=this._buffers[Ue].lineStarts;if(Pe.line===mt.length-1)return Pe.line-Ze.line;var xt=mt[Pe.line+1],cn=mt[Pe.line]+Pe.column;if(xt>cn+1)return Pe.line-Ze.line;var Ut=cn-1,wt=this._buffers[Ue].buffer;return wt.charCodeAt(Ut)===13?Pe.line-Ze.line+1:Pe.line-Ze.line}},{key:"offsetInBuffer",value:function(Ue,Ze){var Pe=this._buffers[Ue].lineStarts;return Pe[Ze.line]+Ze.column}},{key:"deleteNodes",value:function(Ue){for(var Ze=0;Ze<Ue.length;Ze++)Bt(this,Ue[Ze])}},{key:"createNewPieces",value:function(Ue){if(Ue.length>kt){for(var Ze=[];Ue.length>kt;){var Pe=Ue.charCodeAt(kt-1),mt=void 0;Pe===13||Pe>=55296&&Pe<=56319?(mt=Ue.substring(0,kt-1),Ue=Ue.substring(kt-1)):(mt=Ue.substring(0,kt),Ue=Ue.substring(kt));var xt=ht(mt);Ze.push(new Ft(this._buffers.length,{line:0,column:0},{line:xt.length-1,column:mt.length-xt[xt.length-1]},xt.length-1,mt.length)),this._buffers.push(new nn(mt,xt))}var cn=ht(Ue);return Ze.push(new Ft(this._buffers.length,{line:0,column:0},{line:cn.length-1,column:Ue.length-cn[cn.length-1]},cn.length-1,Ue.length)),this._buffers.push(new nn(Ue,cn)),Ze}var Ut=this._buffers[0].buffer.length,wt=ht(Ue,!1),Pn=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===Ut&&Ut!==0&&this.startWithLF(Ue)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},Pn=this._lastChangeBufferPos;for(var an=0;an<wt.length;an++)wt[an]+=Ut+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(wt.slice(1)),this._buffers[0].buffer+="_"+Ue,Ut+=1}else{if(Ut!==0)for(var Dn=0;Dn<wt.length;Dn++)wt[Dn]+=Ut;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(wt.slice(1)),this._buffers[0].buffer+=Ue}var Tn=this._buffers[0].buffer.length,Zn=this._buffers[0].lineStarts.length-1,Mr=Tn-this._buffers[0].lineStarts[Zn],xr={line:Zn,column:Mr},Vr=new Ft(0,Pn,xr,this.getLineFeedCnt(0,Pn,xr),Tn-Ut);return this._lastChangeBufferPos=xr,[Vr]}},{key:"getLineRawContent",value:function(Ue){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Pe=this.root,mt="",xt=this._searchCache.get2(Ue);if(xt){Pe=xt.node;var cn=this.getAccumulatedValue(Pe,Ue-xt.nodeStartLineNumber-1),Ut=this._buffers[Pe.piece.bufferIndex].buffer,wt=this.offsetInBuffer(Pe.piece.bufferIndex,Pe.piece.start);if(xt.nodeStartLineNumber+Pe.piece.lineFeedCnt===Ue)mt=Ut.substring(wt+cn,wt+Pe.piece.length);else{var Pn=this.getAccumulatedValue(Pe,Ue-xt.nodeStartLineNumber);return Ut.substring(wt+cn,wt+Pn-Ze)}}else for(var an=0,Dn=Ue;Pe!==Me;)if(Pe.left!==Me&&Pe.lf_left>=Ue-1)Pe=Pe.left;else if(Pe.lf_left+Pe.piece.lineFeedCnt>Ue-1){var Tn=this.getAccumulatedValue(Pe,Ue-Pe.lf_left-2),Zn=this.getAccumulatedValue(Pe,Ue-Pe.lf_left-1),Mr=this._buffers[Pe.piece.bufferIndex].buffer,xr=this.offsetInBuffer(Pe.piece.bufferIndex,Pe.piece.start);return an+=Pe.size_left,this._searchCache.set({node:Pe,nodeStartOffset:an,nodeStartLineNumber:Dn-(Ue-1-Pe.lf_left)}),Mr.substring(xr+Tn,xr+Zn-Ze)}else if(Pe.lf_left+Pe.piece.lineFeedCnt===Ue-1){var Vr=this.getAccumulatedValue(Pe,Ue-Pe.lf_left-2),Dr=this._buffers[Pe.piece.bufferIndex].buffer,dr=this.offsetInBuffer(Pe.piece.bufferIndex,Pe.piece.start);mt=Dr.substring(dr+Vr,dr+Pe.piece.length);break}else Ue-=Pe.lf_left+Pe.piece.lineFeedCnt,an+=Pe.size_left+Pe.piece.length,Pe=Pe.right;for(Pe=Pe.next();Pe!==Me;){var gt=this._buffers[Pe.piece.bufferIndex].buffer;if(Pe.piece.lineFeedCnt>0){var Rr=this.getAccumulatedValue(Pe,0),ci=this.offsetInBuffer(Pe.piece.bufferIndex,Pe.piece.start);return mt+=gt.substring(ci,ci+Rr-Ze),mt}else{var ai=this.offsetInBuffer(Pe.piece.bufferIndex,Pe.piece.start);mt+=gt.substr(ai,Pe.piece.length)}Pe=Pe.next()}return mt}},{key:"computeBufferMetadata",value:function(){for(var Ue=this.root,Ze=1,Pe=0;Ue!==Me;)Ze+=Ue.lf_left+Ue.piece.lineFeedCnt,Pe+=Ue.size_left+Ue.piece.length,Ue=Ue.right;this._lineCnt=Ze,this._length=Pe,this._searchCache.validate(this._length)}},{key:"getIndexOf",value:function(Ue,Ze){var Pe=Ue.piece,mt=this.positionInBuffer(Ue,Ze),xt=mt.line-Pe.start.line;if(this.offsetInBuffer(Pe.bufferIndex,Pe.end)-this.offsetInBuffer(Pe.bufferIndex,Pe.start)===Ze){var cn=this.getLineFeedCnt(Ue.piece.bufferIndex,Pe.start,mt);if(cn!==xt)return{index:cn,remainder:0}}return{index:xt,remainder:mt.column}}},{key:"getAccumulatedValue",value:function(Ue,Ze){if(Ze<0)return 0;var Pe=Ue.piece,mt=this._buffers[Pe.bufferIndex].lineStarts,xt=Pe.start.line+Ze+1;return xt>Pe.end.line?mt[Pe.end.line]+Pe.end.column-mt[Pe.start.line]-Pe.start.column:mt[xt]-mt[Pe.start.line]-Pe.start.column}},{key:"deleteNodeTail",value:function(Ue,Ze){var Pe=Ue.piece,mt=Pe.lineFeedCnt,xt=this.offsetInBuffer(Pe.bufferIndex,Pe.end),cn=Ze,Ut=this.offsetInBuffer(Pe.bufferIndex,cn),wt=this.getLineFeedCnt(Pe.bufferIndex,Pe.start,cn),Pn=wt-mt,an=Ut-xt,Dn=Pe.length+an;Ue.piece=new Ft(Pe.bufferIndex,Pe.start,cn,wt,Dn),st(this,Ue,an,Pn)}},{key:"deleteNodeHead",value:function(Ue,Ze){var Pe=Ue.piece,mt=Pe.lineFeedCnt,xt=this.offsetInBuffer(Pe.bufferIndex,Pe.start),cn=Ze,Ut=this.getLineFeedCnt(Pe.bufferIndex,cn,Pe.end),wt=this.offsetInBuffer(Pe.bufferIndex,cn),Pn=Ut-mt,an=xt-wt,Dn=Pe.length+an;Ue.piece=new Ft(Pe.bufferIndex,cn,Pe.end,Ut,Dn),st(this,Ue,an,Pn)}},{key:"shrinkNode",value:function(Ue,Ze,Pe){var mt=Ue.piece,xt=mt.start,cn=mt.end,Ut=mt.length,wt=mt.lineFeedCnt,Pn=Ze,an=this.getLineFeedCnt(mt.bufferIndex,mt.start,Pn),Dn=this.offsetInBuffer(mt.bufferIndex,Ze)-this.offsetInBuffer(mt.bufferIndex,xt);Ue.piece=new Ft(mt.bufferIndex,mt.start,Pn,an,Dn),st(this,Ue,Dn-Ut,an-wt);var Tn=new Ft(mt.bufferIndex,Pe,cn,this.getLineFeedCnt(mt.bufferIndex,Pe,cn),this.offsetInBuffer(mt.bufferIndex,cn)-this.offsetInBuffer(mt.bufferIndex,Pe)),Zn=this.rbInsertRight(Ue,Tn);this.validateCRLFWithPrevNode(Zn)}},{key:"appendToNode",value:function(Ue,Ze){this.adjustCarriageReturnFromNext(Ze,Ue)&&(Ze+=`
- `);var Pe=this.shouldCheckCRLF()&&this.startWithLF(Ze)&&this.endWithCR(Ue),mt=this._buffers[0].buffer.length;this._buffers[0].buffer+=Ze;for(var xt=ht(Ze,!1),cn=0;cn<xt.length;cn++)xt[cn]+=mt;if(Pe){var Ut=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:mt-Ut}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(xt.slice(1));var wt=this._buffers[0].lineStarts.length-1,Pn=this._buffers[0].buffer.length-this._buffers[0].lineStarts[wt],an={line:wt,column:Pn},Dn=Ue.piece.length+Ze.length,Tn=Ue.piece.lineFeedCnt,Zn=this.getLineFeedCnt(0,Ue.piece.start,an),Mr=Zn-Tn;Ue.piece=new Ft(Ue.piece.bufferIndex,Ue.piece.start,an,Zn,Dn),this._lastChangeBufferPos=an,st(this,Ue,Ze.length,Mr)}},{key:"nodeAt",value:function(Ue){var Ze=this.root,Pe=this._searchCache.get(Ue);if(Pe)return{node:Pe.node,nodeStartOffset:Pe.nodeStartOffset,remainder:Ue-Pe.nodeStartOffset};for(var mt=0;Ze!==Me;)if(Ze.size_left>Ue)Ze=Ze.left;else if(Ze.size_left+Ze.piece.length>=Ue){mt+=Ze.size_left;var xt={node:Ze,remainder:Ue-Ze.size_left,nodeStartOffset:mt};return this._searchCache.set(xt),xt}else Ue-=Ze.size_left+Ze.piece.length,mt+=Ze.size_left+Ze.piece.length,Ze=Ze.right;return null}},{key:"nodeAt2",value:function(Ue,Ze){for(var Pe=this.root,mt=0;Pe!==Me;)if(Pe.left!==Me&&Pe.lf_left>=Ue-1)Pe=Pe.left;else if(Pe.lf_left+Pe.piece.lineFeedCnt>Ue-1){var xt=this.getAccumulatedValue(Pe,Ue-Pe.lf_left-2),cn=this.getAccumulatedValue(Pe,Ue-Pe.lf_left-1);return mt+=Pe.size_left,{node:Pe,remainder:Math.min(xt+Ze-1,cn),nodeStartOffset:mt}}else if(Pe.lf_left+Pe.piece.lineFeedCnt===Ue-1){var Ut=this.getAccumulatedValue(Pe,Ue-Pe.lf_left-2);if(Ut+Ze-1<=Pe.piece.length)return{node:Pe,remainder:Ut+Ze-1,nodeStartOffset:mt};Ze-=Pe.piece.length-Ut;break}else Ue-=Pe.lf_left+Pe.piece.lineFeedCnt,mt+=Pe.size_left+Pe.piece.length,Pe=Pe.right;for(Pe=Pe.next();Pe!==Me;){if(Pe.piece.lineFeedCnt>0){var wt=this.getAccumulatedValue(Pe,0),Pn=this.offsetOfNode(Pe);return{node:Pe,remainder:Math.min(Ze-1,wt),nodeStartOffset:Pn}}else if(Pe.piece.length>=Ze-1){var an=this.offsetOfNode(Pe);return{node:Pe,remainder:Ze-1,nodeStartOffset:an}}else Ze-=Pe.piece.length;Pe=Pe.next()}return null}},{key:"nodeCharCodeAt",value:function(Ue,Ze){if(Ue.piece.lineFeedCnt<1)return-1;var Pe=this._buffers[Ue.piece.bufferIndex],mt=this.offsetInBuffer(Ue.piece.bufferIndex,Ue.piece.start)+Ze;return Pe.buffer.charCodeAt(mt)}},{key:"offsetOfNode",value:function(Ue){if(!Ue)return 0;for(var Ze=Ue.size_left;Ue!==this.root;)Ue.parent.right===Ue&&(Ze+=Ue.parent.size_left+Ue.parent.piece.length),Ue=Ue.parent;return Ze}},{key:"shouldCheckCRLF",value:function(){return!(this._EOLNormalized&&this._EOL===`
- `)}},{key:"startWithLF",value:function(Ue){if(typeof Ue=="string")return Ue.charCodeAt(0)===10;if(Ue===Me||Ue.piece.lineFeedCnt===0)return!1;var Ze=Ue.piece,Pe=this._buffers[Ze.bufferIndex].lineStarts,mt=Ze.start.line,xt=Pe[mt]+Ze.start.column;if(mt===Pe.length-1)return!1;var cn=Pe[mt+1];return cn>xt+1?!1:this._buffers[Ze.bufferIndex].buffer.charCodeAt(xt)===10}},{key:"endWithCR",value:function(Ue){return typeof Ue=="string"?Ue.charCodeAt(Ue.length-1)===13:Ue===Me||Ue.piece.lineFeedCnt===0?!1:this.nodeCharCodeAt(Ue,Ue.piece.length-1)===13}},{key:"validateCRLFWithPrevNode",value:function(Ue){if(this.shouldCheckCRLF()&&this.startWithLF(Ue)){var Ze=Ue.prev();this.endWithCR(Ze)&&this.fixCRLF(Ze,Ue)}}},{key:"validateCRLFWithNextNode",value:function(Ue){if(this.shouldCheckCRLF()&&this.endWithCR(Ue)){var Ze=Ue.next();this.startWithLF(Ze)&&this.fixCRLF(Ue,Ze)}}},{key:"fixCRLF",value:function(Ue,Ze){var Pe=[],mt=this._buffers[Ue.piece.bufferIndex].lineStarts,xt;Ue.piece.end.column===0?xt={line:Ue.piece.end.line-1,column:mt[Ue.piece.end.line]-mt[Ue.piece.end.line-1]-1}:xt={line:Ue.piece.end.line,column:Ue.piece.end.column-1};var cn=Ue.piece.length-1,Ut=Ue.piece.lineFeedCnt-1;Ue.piece=new Ft(Ue.piece.bufferIndex,Ue.piece.start,xt,Ut,cn),st(this,Ue,-1,-1),Ue.piece.length===0&&Pe.push(Ue);var wt={line:Ze.piece.start.line+1,column:0},Pn=Ze.piece.length-1,an=this.getLineFeedCnt(Ze.piece.bufferIndex,wt,Ze.piece.end);Ze.piece=new Ft(Ze.piece.bufferIndex,wt,Ze.piece.end,an,Pn),st(this,Ze,-1,-1),Ze.piece.length===0&&Pe.push(Ze);var Dn=this.createNewPieces(`\r
- `);this.rbInsertRight(Ue,Dn[0]);for(var Tn=0;Tn<Pe.length;Tn++)Bt(this,Pe[Tn])}},{key:"adjustCarriageReturnFromNext",value:function(Ue,Ze){if(this.shouldCheckCRLF()&&this.endWithCR(Ue)){var Pe=Ze.next();if(this.startWithLF(Pe)){if(Ue+=`
- `,Pe.piece.length===1)Bt(this,Pe);else{var mt=Pe.piece,xt={line:mt.start.line+1,column:0},cn=mt.length-1,Ut=this.getLineFeedCnt(mt.bufferIndex,xt,mt.end);Pe.piece=new Ft(mt.bufferIndex,xt,mt.end,Ut,cn),st(this,Pe,-1,-1)}return!0}}return!1}},{key:"iterate",value:function(Ue,Ze){if(Ue===Me)return Ze(Me);var Pe=this.iterate(Ue.left,Ze);return Pe&&Ze(Ue)&&this.iterate(Ue.right,Ze)}},{key:"getNodeContent",value:function(Ue){if(Ue===Me)return"";var Ze=this._buffers[Ue.piece.bufferIndex],Pe,mt=Ue.piece,xt=this.offsetInBuffer(mt.bufferIndex,mt.start),cn=this.offsetInBuffer(mt.bufferIndex,mt.end);return Pe=Ze.buffer.substring(xt,cn),Pe}},{key:"getPieceContent",value:function(Ue){var Ze=this._buffers[Ue.bufferIndex],Pe=this.offsetInBuffer(Ue.bufferIndex,Ue.start),mt=this.offsetInBuffer(Ue.bufferIndex,Ue.end),xt=Ze.buffer.substring(Pe,mt);return xt}},{key:"rbInsertRight",value:function(Ue,Ze){var Pe=new Ee(Ze,1);Pe.left=Me,Pe.right=Me,Pe.parent=Me,Pe.size_left=0,Pe.lf_left=0;var mt=this.root;if(mt===Me)this.root=Pe,Pe.color=0;else if(Ue.right===Me)Ue.right=Pe,Pe.parent=Ue;else{var xt=_e(Ue.right);xt.left=Pe,Pe.parent=xt}return qe(this,Pe),Pe}},{key:"rbInsertLeft",value:function(Ue,Ze){var Pe=new Ee(Ze,1);if(Pe.left=Me,Pe.right=Me,Pe.parent=Me,Pe.size_left=0,Pe.lf_left=0,this.root===Me)this.root=Pe,Pe.color=0;else if(Ue.left===Me)Ue.left=Pe,Pe.parent=Ue;else{var mt=Re(Ue.left);mt.right=Pe,Pe.parent=mt}return qe(this,Pe),Pe}}]),mn}(),Ht=e("QRHv"),jn=e("5nk5"),Ln=function(mn){Object(o.a)(Ue,mn);var It=Object(i.a)(Ue);function Ue(Ze,Pe,mt,xt,cn,Ut,wt){var Pn;return Object(a.a)(this,Ue),Pn=It.call(this),Pn._onDidChangeContent=Pn._register(new m.a),Pn._BOM=Pe,Pn._mightContainNonBasicASCII=!Ut,Pn._mightContainRTL=xt,Pn._mightContainUnusualLineTerminators=cn,Pn._pieceTree=new un(Ze,mt,wt),Pn}return Object(n.a)(Ue,[{key:"mightContainRTL",value:function(){return this._mightContainRTL}},{key:"mightContainUnusualLineTerminators",value:function(){return this._mightContainUnusualLineTerminators}},{key:"resetMightContainUnusualLineTerminators",value:function(){this._mightContainUnusualLineTerminators=!1}},{key:"mightContainNonBasicASCII",value:function(){return this._mightContainNonBasicASCII}},{key:"getBOM",value:function(){return this._BOM}},{key:"getEOL",value:function(){return this._pieceTree.getEOL()}},{key:"createSnapshot",value:function(Pe){return this._pieceTree.createSnapshot(Pe?this._BOM:"")}},{key:"getOffsetAt",value:function(Pe,mt){return this._pieceTree.getOffsetAt(Pe,mt)}},{key:"getPositionAt",value:function(Pe){return this._pieceTree.getPositionAt(Pe)}},{key:"getRangeAt",value:function(Pe,mt){var xt=Pe+mt,cn=this.getPositionAt(Pe),Ut=this.getPositionAt(xt);return new S.a(cn.lineNumber,cn.column,Ut.lineNumber,Ut.column)}},{key:"getValueInRange",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(Pe.isEmpty())return"";var xt=this._getEndOfLine(mt);return this._pieceTree.getValueInRange(Pe,xt)}},{key:"getValueLengthInRange",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(Pe.isEmpty())return 0;if(Pe.startLineNumber===Pe.endLineNumber)return Pe.endColumn-Pe.startColumn;var xt=this.getOffsetAt(Pe.startLineNumber,Pe.startColumn),cn=this.getOffsetAt(Pe.endLineNumber,Pe.endColumn);return cn-xt}},{key:"getCharacterCountInRange",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(this._mightContainNonBasicASCII){for(var xt=0,cn=Pe.startLineNumber,Ut=Pe.endLineNumber,wt=cn;wt<=Ut;wt++)for(var Pn=this.getLineContent(wt),an=wt===cn?Pe.startColumn-1:0,Dn=wt===Ut?Pe.endColumn-1:Pn.length,Tn=an;Tn<Dn;Tn++)t.E(Pn.charCodeAt(Tn))?(xt=xt+1,Tn=Tn+1):xt=xt+1;return xt+=this._getEndOfLine(mt).length*(Ut-cn),xt}return this.getValueLengthInRange(Pe,mt)}},{key:"getLength",value:function(){return this._pieceTree.getLength()}},{key:"getLineCount",value:function(){return this._pieceTree.getLineCount()}},{key:"getLinesContent",value:function(){return this._pieceTree.getLinesContent()}},{key:"getLineContent",value:function(Pe){return this._pieceTree.getLineContent(Pe)}},{key:"getLineCharCode",value:function(Pe,mt){return this._pieceTree.getLineCharCode(Pe,mt)}},{key:"getLineLength",value:function(Pe){return this._pieceTree.getLineLength(Pe)}},{key:"getLineFirstNonWhitespaceColumn",value:function(Pe){var mt=t.v(this.getLineContent(Pe));return mt===-1?0:mt+1}},{key:"getLineLastNonWhitespaceColumn",value:function(Pe){var mt=t.I(this.getLineContent(Pe));return mt===-1?0:mt+2}},{key:"_getEndOfLine",value:function(Pe){switch(Pe){case 1:return`
- `;case 2:return`\r
- `;case 0:return this.getEOL();default:throw new Error("Unknown EOL preference")}}},{key:"setEOL",value:function(Pe){this._pieceTree.setEOL(Pe)}},{key:"applyEdits",value:function(Pe,mt,xt){for(var cn=this._mightContainRTL,Ut=this._mightContainUnusualLineTerminators,wt=this._mightContainNonBasicASCII,Pn=!0,an=[],Dn=0;Dn<Pe.length;Dn++){var Tn=Pe[Dn];Pn&&Tn._isTracked&&(Pn=!1);var Zn=Tn.range;if(Tn.text){var Mr=!0;wt||(Mr=!t.A(Tn.text),wt=Mr),!cn&&Mr&&(cn=t.m(Tn.text)),!Ut&&Mr&&(Ut=t.n(Tn.text))}var xr="",Vr=0,Dr=0,dr=0;if(Tn.text){var gt=void 0,Rr=Object(Ht.f)(Tn.text),ci=Object(u.a)(Rr,4);Vr=ci[0],Dr=ci[1],dr=ci[2],gt=ci[3];var ai=this.getEOL(),bi=ai===`\r
- `?2:1;gt===0||gt===bi?xr=Tn.text:xr=Tn.text.replace(/\r\n|\r|\n/g,ai)}an[Dn]={sortIndex:Dn,identifier:Tn.identifier||null,range:Zn,rangeOffset:this.getOffsetAt(Zn.startLineNumber,Zn.startColumn),rangeLength:this.getValueLengthInRange(Zn),text:xr,eolCount:Vr,firstLineLength:Dr,lastLineLength:dr,forceMoveMarkers:Boolean(Tn.forceMoveMarkers),isAutoWhitespaceEdit:Tn.isAutoWhitespaceEdit||!1}}an.sort(Ue._sortOpsAscending);for(var zr=!1,Hi=0,hi=an.length-1;Hi<hi;Hi++){var Ci=an[Hi].range.getEndPosition(),Ii=an[Hi+1].range.getStartPosition();if(Ii.isBeforeOrEqual(Ci)){if(Ii.isBefore(Ci))throw new Error("Overlapping ranges are not allowed!");zr=!0}}Pn&&(an=this._reduceOperations(an));var Mn=xt||mt?Ue._getInverseEditRanges(an):[],nr=[];if(mt)for(var cr=0;cr<an.length;cr++){var Lr=an[cr],ei=Mn[cr];if(Lr.isAutoWhitespaceEdit&&Lr.range.isEmpty())for(var ki=ei.startLineNumber;ki<=ei.endLineNumber;ki++){var ua="";ki===ei.startLineNumber&&(ua=this.getLineContent(Lr.range.startLineNumber),t.v(ua)!==-1)||nr.push({lineNumber:ki,oldContent:ua})}}var Qi=null;if(xt){var Br=0;Qi=[];for(var ga=0;ga<an.length;ga++){var fa=an[ga],Ja=Mn[ga],In=this.getValueInRange(fa.range),ve=fa.rangeOffset+Br;Br+=fa.text.length-In.length,Qi[ga]={sortIndex:fa.sortIndex,identifier:fa.identifier,range:Ja,text:In,textChange:new jn.a(fa.rangeOffset,In,ve,fa.text)}}zr||Qi.sort(function(we,Be){return we.sortIndex-Be.sortIndex})}this._mightContainRTL=cn,this._mightContainUnusualLineTerminators=Ut,this._mightContainNonBasicASCII=wt;var x=this._doApplyEdits(an),le=null;if(mt&&nr.length>0){nr.sort(function(we,Be){return Be.lineNumber-we.lineNumber}),le=[];for(var me=0,Ae=nr.length;me<Ae;me++){var tt=nr[me].lineNumber;if(!(me>0&&nr[me-1].lineNumber===tt)){var pt=nr[me].oldContent,ke=this.getLineContent(tt);ke.length===0||ke===pt||t.v(ke)!==-1||le.push(tt)}}}return this._onDidChangeContent.fire(),new T.a(Qi,x,le)}},{key:"_reduceOperations",value:function(Pe){return Pe.length<1e3?Pe:[this._toSingleEditOperation(Pe)]}},{key:"_toSingleEditOperation",value:function(Pe){for(var mt=!1,xt=Pe[0].range,cn=Pe[Pe.length-1].range,Ut=new S.a(xt.startLineNumber,xt.startColumn,cn.endLineNumber,cn.endColumn),wt=xt.startLineNumber,Pn=xt.startColumn,an=[],Dn=0,Tn=Pe.length;Dn<Tn;Dn++){var Zn=Pe[Dn],Mr=Zn.range;mt=mt||Zn.forceMoveMarkers,an.push(this.getValueInRange(new S.a(wt,Pn,Mr.startLineNumber,Mr.startColumn))),Zn.text.length>0&&an.push(Zn.text),wt=Mr.endLineNumber,Pn=Mr.endColumn}var xr=an.join(""),Vr=Object(Ht.f)(xr),Dr=Object(u.a)(Vr,3),dr=Dr[0],gt=Dr[1],Rr=Dr[2];return{sortIndex:0,identifier:Pe[0].identifier,range:Ut,rangeOffset:this.getOffsetAt(Ut.startLineNumber,Ut.startColumn),rangeLength:this.getValueLengthInRange(Ut,0),text:xr,eolCount:dr,firstLineLength:gt,lastLineLength:Rr,forceMoveMarkers:mt,isAutoWhitespaceEdit:!1}}},{key:"_doApplyEdits",value:function(Pe){Pe.sort(Ue._sortOpsDescending);for(var mt=[],xt=0;xt<Pe.length;xt++){var cn=Pe[xt],Ut=cn.range.startLineNumber,wt=cn.range.startColumn,Pn=cn.range.endLineNumber,an=cn.range.endColumn;if(!(Ut===Pn&&wt===an&&cn.text.length===0)){cn.text?(this._pieceTree.delete(cn.rangeOffset,cn.rangeLength),this._pieceTree.insert(cn.rangeOffset,cn.text,!0)):this._pieceTree.delete(cn.rangeOffset,cn.rangeLength);var Dn=new S.a(Ut,wt,Pn,an);mt.push({range:Dn,rangeLength:cn.rangeLength,text:cn.text,rangeOffset:cn.rangeOffset,forceMoveMarkers:cn.forceMoveMarkers})}}return mt}},{key:"findMatchesLineByLine",value:function(Pe,mt,xt,cn){return this._pieceTree.findMatchesLineByLine(Pe,mt,xt,cn)}}],[{key:"_getInverseEditRanges",value:function(Pe){for(var mt=[],xt=0,cn=0,Ut=null,wt=0,Pn=Pe.length;wt<Pn;wt++){var an=Pe[wt],Dn=void 0,Tn=void 0;Ut?Ut.range.endLineNumber===an.range.startLineNumber?(Dn=xt,Tn=cn+(an.range.startColumn-Ut.range.endColumn)):(Dn=xt+(an.range.startLineNumber-Ut.range.endLineNumber),Tn=an.range.startColumn):(Dn=an.range.startLineNumber,Tn=an.range.startColumn);var Zn=void 0;if(an.text.length>0){var Mr=an.eolCount+1;Mr===1?Zn=new S.a(Dn,Tn,Dn,Tn+an.firstLineLength):Zn=new S.a(Dn,Tn,Dn+Mr-1,an.lastLineLength+1)}else Zn=new S.a(Dn,Tn,Dn,Tn);xt=Zn.endLineNumber,cn=Zn.endColumn,mt.push(Zn),Ut=an}return mt}},{key:"_sortOpsAscending",value:function(Pe,mt){var xt=S.a.compareRangesUsingEnds(Pe.range,mt.range);return xt===0?Pe.sortIndex-mt.sortIndex:xt}},{key:"_sortOpsDescending",value:function(Pe,mt){var xt=S.a.compareRangesUsingEnds(Pe.range,mt.range);return xt===0?mt.sortIndex-Pe.sortIndex:-xt}}]),Ue}(h.a),Un=function(){function mn(It,Ue,Ze,Pe,mt,xt,cn,Ut,wt){Object(a.a)(this,mn),this._chunks=It,this._bom=Ue,this._cr=Ze,this._lf=Pe,this._crlf=mt,this._containsRTL=xt,this._containsUnusualLineTerminators=cn,this._isBasicASCII=Ut,this._normalizeEOL=wt}return Object(n.a)(mn,[{key:"_getEOL",value:function(Ue){var Ze=this._cr+this._lf+this._crlf,Pe=this._cr+this._crlf;return Ze===0?Ue===1?`
- `:`\r
- `:Pe>Ze/2?`\r
- `:`
- `}},{key:"create",value:function(Ue){var Ze=this._getEOL(Ue),Pe=this._chunks;if(this._normalizeEOL&&(Ze===`\r
- `&&(this._cr>0||this._lf>0)||Ze===`
- `&&(this._cr>0||this._crlf>0)))for(var mt=0,xt=Pe.length;mt<xt;mt++){var cn=Pe[mt].buffer.replace(/\r\n|\r|\n/g,Ze),Ut=ht(cn);Pe[mt]=new nn(cn,Ut)}var wt=new Ln(Pe,this._bom,Ze,this._containsRTL,this._containsUnusualLineTerminators,this._isBasicASCII,this._normalizeEOL);return{textBuffer:wt,disposable:wt}}}]),mn}(),lt=function(){function mn(){Object(a.a)(this,mn),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.containsUnusualLineTerminators=!1,this.isBasicASCII=!0}return Object(n.a)(mn,[{key:"acceptChunk",value:function(Ue){if(Ue.length!==0){this.chunks.length===0&&t.S(Ue)&&(this.BOM=t.b,Ue=Ue.substr(1));var Ze=Ue.charCodeAt(Ue.length-1);Ze===13||Ze>=55296&&Ze<=56319?(this._acceptChunk1(Ue.substr(0,Ue.length-1),!1),this._hasPreviousChar=!0,this._previousChar=Ze):(this._acceptChunk1(Ue,!1),this._hasPreviousChar=!1,this._previousChar=Ze)}}},{key:"_acceptChunk1",value:function(Ue,Ze){!Ze&&Ue.length===0||(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+Ue):this._acceptChunk2(Ue))}},{key:"_acceptChunk2",value:function(Ue){var Ze=Rt(this._tmpLineStarts,Ue);this.chunks.push(new nn(Ue,Ze.lineStarts)),this.cr+=Ze.cr,this.lf+=Ze.lf,this.crlf+=Ze.crlf,this.isBasicASCII&&(this.isBasicASCII=Ze.isBasicASCII),!this.isBasicASCII&&!this.containsRTL&&(this.containsRTL=t.m(Ue)),!this.isBasicASCII&&!this.containsUnusualLineTerminators&&(this.containsUnusualLineTerminators=t.n(Ue))}},{key:"finish",value:function(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return this._finish(),new Un(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,Ue)}},{key:"_finish",value:function(){if(this.chunks.length===0&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var Ue=this.chunks[this.chunks.length-1];Ue.buffer+=String.fromCharCode(this._previousChar);var Ze=ht(Ue.buffer);Ue.lineStarts=Ze,this._previousChar===13&&this.cr++}}}]),mn}(),Nt=Object(n.a)(function mn(){Object(a.a)(this,mn),this.changeType=1}),zt=Object(n.a)(function mn(It,Ue){Object(a.a)(this,mn),this.changeType=2,this.lineNumber=It,this.detail=Ue}),en=Object(n.a)(function mn(It,Ue){Object(a.a)(this,mn),this.changeType=3,this.fromLineNumber=It,this.toLineNumber=Ue}),tn=Object(n.a)(function mn(It,Ue,Ze){Object(a.a)(this,mn),this.changeType=4,this.fromLineNumber=It,this.toLineNumber=Ue,this.detail=Ze}),wn=Object(n.a)(function mn(){Object(a.a)(this,mn),this.changeType=5}),on=function(){function mn(It,Ue,Ze,Pe){Object(a.a)(this,mn),this.changes=It,this.versionId=Ue,this.isUndoing=Ze,this.isRedoing=Pe,this.resultingSelection=null}return Object(n.a)(mn,[{key:"containsEvent",value:function(Ue){for(var Ze=0,Pe=this.changes.length;Ze<Pe;Ze++){var mt=this.changes[Ze];if(mt.changeType===Ue)return!0}return!1}}],[{key:"merge",value:function(Ue,Ze){var Pe=[].concat(Ue.changes).concat(Ze.changes),mt=Ze.versionId,xt=Ue.isUndoing||Ze.isUndoing,cn=Ue.isRedoing||Ze.isRedoing;return new mn(Pe,mt,xt,cn)}}]),mn}(),vn=function(){function mn(It,Ue){Object(a.a)(this,mn),this.rawContentChangedEvent=It,this.contentChangedEvent=Ue}return Object(n.a)(mn,[{key:"merge",value:function(Ue){var Ze=on.merge(this.rawContentChangedEvent,Ue.rawContentChangedEvent),Pe=mn._mergeChangeEvents(this.contentChangedEvent,Ue.contentChangedEvent);return new mn(Ze,Pe)}}],[{key:"_mergeChangeEvents",value:function(Ue,Ze){var Pe=[].concat(Ue.changes).concat(Ze.changes),mt=Ze.eol,xt=Ze.versionId,cn=Ue.isUndoing||Ze.isUndoing,Ut=Ue.isRedoing||Ze.isRedoing,wt=Ue.isFlush||Ze.isFlush;return{changes:Pe,eol:mt,versionId:xt,isUndoing:cn,isRedoing:Ut,isFlush:wt}}}]),mn}(),dt=e("6OMU"),ct=e("4bUh"),Kt=e("twdY"),pn=e("i/Ef"),kn=e("5Y4S"),Pt=e("MNsG"),gn=function(){function mn(){Object(a.a)(this,mn),this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0}return Object(n.a)(mn,[{key:"_reset",value:function(Ue){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0,Ue&&this._setBeginState(0,Ue)}},{key:"flush",value:function(Ue){this._reset(Ue)}},{key:"invalidLineStartIndex",get:function(){return this._invalidLineStartIndex}},{key:"_invalidateLine",value:function(Ue){Ue<this._len&&(this._valid[Ue]=!1),Ue<this._invalidLineStartIndex&&(this._invalidLineStartIndex=Ue)}},{key:"_isValid",value:function(Ue){return Ue<this._len?this._valid[Ue]:!1}},{key:"getBeginState",value:function(Ue){return Ue<this._len?this._beginState[Ue]:null}},{key:"_ensureLine",value:function(Ue){for(;Ue>=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++}},{key:"_deleteLines",value:function(Ue,Ze){Ze!==0&&(Ue+Ze>this._len&&(Ze=this._len-Ue),this._beginState.splice(Ue,Ze),this._valid.splice(Ue,Ze),this._len-=Ze)}},{key:"_insertLines",value:function(Ue,Ze){if(Ze!==0){for(var Pe=[],mt=[],xt=0;xt<Ze;xt++)Pe[xt]=null,mt[xt]=!1;this._beginState=dt.a(this._beginState,Ue,Pe),this._valid=dt.a(this._valid,Ue,mt),this._len+=Ze}}},{key:"_setValid",value:function(Ue,Ze){this._ensureLine(Ue),this._valid[Ue]=Ze}},{key:"_setBeginState",value:function(Ue,Ze){this._ensureLine(Ue),this._beginState[Ue]=Ze}},{key:"setEndState",value:function(Ue,Ze,Pe){if(this._setValid(Ze,!0),this._invalidLineStartIndex=Ze+1,Ze!==Ue-1){var mt=this.getBeginState(Ze+1);if(mt===null||!Pe.equals(mt)){this._setBeginState(Ze+1,Pe),this._invalidateLine(Ze+1);return}for(var xt=Ze+1;xt<Ue&&this._isValid(xt);)xt++;this._invalidLineStartIndex=xt}}},{key:"setFakeTokens",value:function(Ue){this._setValid(Ue,!1)}},{key:"applyEdits",value:function(Ue,Ze){for(var Pe=Ue.endLineNumber-Ue.startLineNumber,mt=Ze,xt=Math.min(Pe,mt),cn=xt;cn>=0;cn--)this._invalidateLine(Ue.startLineNumber+cn-1);this._acceptDeleteRange(Ue),this._acceptInsertText(new w.a(Ue.startLineNumber,Ue.startColumn),Ze)}},{key:"_acceptDeleteRange",value:function(Ue){var Ze=Ue.startLineNumber-1;Ze>=this._len||this._deleteLines(Ue.startLineNumber,Ue.endLineNumber-Ue.startLineNumber)}},{key:"_acceptInsertText",value:function(Ue,Ze){var Pe=Ue.lineNumber-1;Pe>=this._len||this._insertLines(Ue.lineNumber,Ze)}}]),mn}(),_n=function(mn){Object(o.a)(Ue,mn);var It=Object(i.a)(Ue);function Ue(Ze){var Pe;return Object(a.a)(this,Ue),Pe=It.call(this),Pe._isDisposed=!1,Pe._textModel=Ze,Pe._tokenizationStateStore=new gn,Pe._tokenizationSupport=null,Pe._register(Kt.D.onDidChange(function(mt){var xt=Pe._textModel.getLanguageIdentifier();mt.changedLanguages.indexOf(xt.language)!==-1&&(Pe._resetTokenizationState(),Pe._textModel.clearTokens())})),Pe._register(Pe._textModel.onDidChangeRawContentFast(function(mt){if(mt.containsEvent(1)){Pe._resetTokenizationState();return}})),Pe._register(Pe._textModel.onDidChangeContentFast(function(mt){for(var xt=0,cn=mt.changes.length;xt<cn;xt++){var Ut=mt.changes[xt],wt=Object(Ht.f)(Ut.text),Pn=Object(u.a)(wt,1),an=Pn[0];Pe._tokenizationStateStore.applyEdits(Ut.range,an)}Pe._beginBackgroundTokenization()})),Pe._register(Pe._textModel.onDidChangeAttached(function(){Pe._beginBackgroundTokenization()})),Pe._register(Pe._textModel.onDidChangeLanguage(function(){Pe._resetTokenizationState(),Pe._textModel.clearTokens()})),Pe._resetTokenizationState(),Pe}return Object(n.a)(Ue,[{key:"dispose",value:function(){this._isDisposed=!0,Object(r.a)(Object(f.a)(Ue.prototype),"dispose",this).call(this)}},{key:"_resetTokenizationState",value:function(){var Pe=Kn(this._textModel),mt=Object(u.a)(Pe,2),xt=mt[0],cn=mt[1];this._tokenizationSupport=xt,this._tokenizationStateStore.flush(cn),this._beginBackgroundTokenization()}},{key:"_beginBackgroundTokenization",value:function(){var Pe=this;this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&Pt.k(function(){Pe._isDisposed||Pe._revalidateTokensNow()})}},{key:"_revalidateTokensNow",value:function(){for(var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this._textModel.getLineCount(),mt=1,xt=new Ht.b,cn=kn.a.create(!1);this._hasLinesToTokenize()&&!(cn.elapsed()>mt);){var Ut=this._tokenizeOneInvalidLine(xt);if(Ut>=Pe)break}this._beginBackgroundTokenization(),this._textModel.setTokens(xt.tokens)}},{key:"tokenizeViewport",value:function(Pe,mt){var xt=new Ht.b;this._tokenizeViewport(xt,Pe,mt),this._textModel.setTokens(xt.tokens)}},{key:"reset",value:function(){this._resetTokenizationState(),this._textModel.clearTokens()}},{key:"forceTokenization",value:function(Pe){var mt=new Ht.b;this._updateTokensUntilLine(mt,Pe),this._textModel.setTokens(mt.tokens)}},{key:"isCheapToTokenize",value:function(Pe){if(!this._tokenizationSupport)return!0;var mt=this._tokenizationStateStore.invalidLineStartIndex+1;return Pe>mt?!1:Pe<mt||this._textModel.getLineLength(Pe)<2048}},{key:"_hasLinesToTokenize",value:function(){return this._tokenizationSupport?this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount():!1}},{key:"_tokenizeOneInvalidLine",value:function(Pe){if(!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;var mt=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(Pe,mt),mt}},{key:"_updateTokensUntilLine",value:function(Pe,mt){if(!!this._tokenizationSupport)for(var xt=this._textModel.getLanguageIdentifier(),cn=this._textModel.getLineCount(),Ut=mt-1,wt=this._tokenizationStateStore.invalidLineStartIndex;wt<=Ut;wt++){var Pn=this._textModel.getLineContent(wt+1),an=this._tokenizationStateStore.getBeginState(wt),Dn=qn(xt,this._tokenizationSupport,Pn,!0,an);Pe.add(wt+1,Dn.tokens),this._tokenizationStateStore.setEndState(cn,wt,Dn.endState),wt=this._tokenizationStateStore.invalidLineStartIndex-1}}},{key:"_tokenizeViewport",value:function(Pe,mt,xt){if(!!this._tokenizationSupport&&!(xt<=this._tokenizationStateStore.invalidLineStartIndex)){if(mt<=this._tokenizationStateStore.invalidLineStartIndex){this._updateTokensUntilLine(Pe,xt);return}for(var cn=this._textModel.getLineFirstNonWhitespaceColumn(mt),Ut=[],wt=null,Pn=mt-1;cn>0&&Pn>=1;Pn--){var an=this._textModel.getLineFirstNonWhitespaceColumn(Pn);if(an!==0&&an<cn){if(wt=this._tokenizationStateStore.getBeginState(Pn-1),wt)break;Ut.push(this._textModel.getLineContent(Pn)),cn=an}}wt||(wt=this._tokenizationSupport.getInitialState());for(var Dn=this._textModel.getLanguageIdentifier(),Tn=wt,Zn=Ut.length-1;Zn>=0;Zn--){var Mr=qn(Dn,this._tokenizationSupport,Ut[Zn],!1,Tn);Tn=Mr.endState}for(var xr=mt;xr<=xt;xr++){var Vr=this._textModel.getLineContent(xr),Dr=qn(Dn,this._tokenizationSupport,Vr,!0,Tn);Pe.add(xr,Dr.tokens),this._tokenizationStateStore.setFakeTokens(xr-1),Tn=Dr.endState}}}}]),Ue}(h.a);function Kn(mn){var It=mn.getLanguageIdentifier(),Ue=mn.isTooLargeForTokenization()?null:Kt.D.get(It.language),Ze=null;if(Ue)try{Ze=Ue.getInitialState()}catch(Pe){Object(v.e)(Pe),Ue=null}return[Ue,Ze]}function qn(mn,It,Ue,Ze,Pe){var mt=null;if(It)try{mt=It.tokenize2(Ue,Ze,Pe.clone(),0)}catch(xt){Object(v.e)(xt)}return mt||(mt=Object(pn.e)(mn.id,Ue,Pe,0)),ct.a.convertToEndOffset(mt.tokens,Ue.length),mt}var rr=e("0JNc"),Rn=e("cMvZ"),mr=e("BFtn"),ar=e("EIAu"),sr=e("zrhQ");function yr(){return new lt}function br(mn){var It=yr();return It.acceptChunk(mn),It.finish()}function _r(mn,It){var Ue=typeof mn=="string"?br(mn):mn;return Ue.create(It)}var li=0,xi=999,Mi=1e4,Fr=function(){function mn(It){Object(a.a)(this,mn),this._source=It,this._eos=!1}return Object(n.a)(mn,[{key:"read",value:function(){if(this._eos)return null;var Ue=[],Ze=0,Pe=0;do{var mt=this._source.read();if(mt===null)return this._eos=!0,Ze===0?null:Ue.join("");if(mt.length>0&&(Ue[Ze++]=mt,Pe+=mt.length),Pe>=64*1024)return Ue.join("")}while(!0)}}]),mn}(),ur=function(){throw new Error("Invalid change accessor")},Ti=Object(n.a)(function mn(){Object(a.a)(this,mn),this._searchCanceledBrand=void 0});Ti.INSTANCE=new Ti;function Xi(mn){return mn instanceof Ti?null:mn}var ca=function(mn){Object(o.a)(Ue,mn);var It=Object(i.a)(Ue);function Ue(Ze,Pe,mt){var xt,cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Ut=arguments.length>4?arguments[4]:void 0;Object(a.a)(this,Ue),xt=It.call(this),xt._onWillDispose=xt._register(new m.a),xt.onWillDispose=xt._onWillDispose.event,xt._onDidChangeDecorations=xt._register(new ba),xt.onDidChangeDecorations=xt._onDidChangeDecorations.event,xt._onDidChangeLanguage=xt._register(new m.a),xt.onDidChangeLanguage=xt._onDidChangeLanguage.event,xt._onDidChangeLanguageConfiguration=xt._register(new m.a),xt.onDidChangeLanguageConfiguration=xt._onDidChangeLanguageConfiguration.event,xt._onDidChangeTokens=xt._register(new m.a),xt.onDidChangeTokens=xt._onDidChangeTokens.event,xt._onDidChangeOptions=xt._register(new m.a),xt.onDidChangeOptions=xt._onDidChangeOptions.event,xt._onDidChangeAttached=xt._register(new m.a),xt.onDidChangeAttached=xt._onDidChangeAttached.event,xt._eventEmitter=xt._register(new ea),li++,xt.id="$model"+li,xt.isForSimpleWidget=Pe.isForSimpleWidget,typeof cn=="undefined"||cn===null?xt._associatedResource=l.a.parse("inmemory://model/"+li):xt._associatedResource=cn,xt._undoRedoService=Ut,xt._attachedEditorCount=0;var wt=_r(Ze,Pe.defaultEOL),Pn=wt.textBuffer,an=wt.disposable;xt._buffer=Pn,xt._bufferDisposable=an,xt._options=Ue.resolveOptions(xt._buffer,Pe);var Dn=xt._buffer.getLineCount(),Tn=xt._buffer.getValueLengthInRange(new S.a(1,1,Dn,xt._buffer.getLineLength(Dn)+1),0);return Pe.largeFileOptimizations?xt._isTooLargeForTokenization=Tn>Ue.LARGE_FILE_SIZE_THRESHOLD||Dn>Ue.LARGE_FILE_LINE_COUNT_THRESHOLD:xt._isTooLargeForTokenization=!1,xt._isTooLargeForSyncing=Tn>Ue.MODEL_SYNC_LIMIT,xt._versionId=1,xt._alternativeVersionId=1,xt._initialUndoRedoSnapshot=null,xt._isDisposed=!1,xt._isDisposing=!1,xt._languageIdentifier=mt||pn.a,xt._languageRegistryListener=Rn.a.onDidChange(function(Zn){Zn.languageIdentifier.id===xt._languageIdentifier.id&&xt._onDidChangeLanguageConfiguration.fire({})}),xt._instanceId=t.P(li),xt._lastDecorationId=0,xt._decorations=Object.create(null),xt._decorationsTree=new Zi,xt._commandManager=new I.a(Object(c.a)(xt),Ut),xt._isUndoing=!1,xt._isRedoing=!1,xt._trimAutoWhitespaceLines=null,xt._tokens=new Ht.d,xt._tokens2=new Ht.e,xt._tokenization=new _n(Object(c.a)(xt)),xt}return Object(n.a)(Ue,[{key:"onDidChangeRawContentFast",value:function(Pe){return this._eventEmitter.fastEvent(function(mt){return Pe(mt.rawContentChangedEvent)})}},{key:"onDidChangeContentFast",value:function(Pe){return this._eventEmitter.fastEvent(function(mt){return Pe(mt.contentChangedEvent)})}},{key:"onDidChangeContent",value:function(Pe){return this._eventEmitter.slowEvent(function(mt){return Pe(mt.contentChangedEvent)})}},{key:"dispose",value:function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,Object(r.a)(Object(f.a)(Ue.prototype),"dispose",this).call(this),this._bufferDisposable.dispose(),this._isDisposing=!1;var Pe=new Ln([],"",`
- `,!1,!1,!0,!0);Pe.dispose(),this._buffer=Pe}},{key:"_assertNotDisposed",value:function(){if(this._isDisposed)throw new Error("Model is disposed!")}},{key:"_emitContentChangedEvent",value:function(Pe,mt){this._isDisposing||this._eventEmitter.fire(new vn(Pe,mt))}},{key:"setValue",value:function(Pe){if(this._assertNotDisposed(),Pe!==null){var mt=_r(Pe,this._options.defaultEOL),xt=mt.textBuffer,cn=mt.disposable;this._setValueFromTextBuffer(xt,cn)}}},{key:"_createContentChanged2",value:function(Pe,mt,xt,cn,Ut,wt,Pn){return{changes:[{range:Pe,rangeOffset:mt,rangeLength:xt,text:cn}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:Ut,isRedoing:wt,isFlush:Pn}}},{key:"_setValueFromTextBuffer",value:function(Pe,mt){this._assertNotDisposed();var xt=this.getFullModelRange(),cn=this.getValueLengthInRange(xt),Ut=this.getLineCount(),wt=this.getLineMaxColumn(Ut);this._buffer=Pe,this._bufferDisposable.dispose(),this._bufferDisposable=mt,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Zi,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new on([new Nt],this._versionId,!1,!1),this._createContentChanged2(new S.a(1,1,Ut,wt),0,cn,this.getValue(),!1,!1,!0))}},{key:"setEOL",value:function(Pe){this._assertNotDisposed();var mt=Pe===1?`\r
- `:`
- `;if(this._buffer.getEOL()!==mt){var xt=this.getFullModelRange(),cn=this.getValueLengthInRange(xt),Ut=this.getLineCount(),wt=this.getLineMaxColumn(Ut);this._onBeforeEOLChange(),this._buffer.setEOL(mt),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new on([new wn],this._versionId,!1,!1),this._createContentChanged2(new S.a(1,1,Ut,wt),0,cn,this.getValue(),!1,!1,!1))}}},{key:"_onBeforeEOLChange",value:function(){var Pe=this.getVersionId(),mt=this._decorationsTree.search(0,!1,!1,Pe);this._ensureNodesHaveRanges(mt)}},{key:"_onAfterEOLChange",value:function(){for(var Pe=this.getVersionId(),mt=this._decorationsTree.collectNodesPostOrder(),xt=0,cn=mt.length;xt<cn;xt++){var Ut=mt[xt],wt=Ut.cachedAbsoluteStart-Ut.start,Pn=this._buffer.getOffsetAt(Ut.range.startLineNumber,Ut.range.startColumn),an=this._buffer.getOffsetAt(Ut.range.endLineNumber,Ut.range.endColumn);Ut.cachedAbsoluteStart=Pn,Ut.cachedAbsoluteEnd=an,Ut.cachedVersionId=Pe,Ut.start=Pn-wt,Ut.end=an-wt,fe(Ut)}}},{key:"onBeforeAttached",value:function(){this._attachedEditorCount++,this._attachedEditorCount===1&&this._onDidChangeAttached.fire(void 0)}},{key:"onBeforeDetached",value:function(){this._attachedEditorCount--,this._attachedEditorCount===0&&this._onDidChangeAttached.fire(void 0)}},{key:"isAttachedToEditor",value:function(){return this._attachedEditorCount>0}},{key:"getAttachedEditorCount",value:function(){return this._attachedEditorCount}},{key:"isTooLargeForSyncing",value:function(){return this._isTooLargeForSyncing}},{key:"isTooLargeForTokenization",value:function(){return this._isTooLargeForTokenization}},{key:"isDisposed",value:function(){return this._isDisposed}},{key:"isDominatedByLongLines",value:function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var Pe=0,mt=0,xt=this._buffer.getLineCount(),cn=1;cn<=xt;cn++){var Ut=this._buffer.getLineLength(cn);Ut>=Mi?mt+=Ut:Pe+=Ut}return mt>Pe}},{key:"uri",get:function(){return this._associatedResource}},{key:"getOptions",value:function(){return this._assertNotDisposed(),this._options}},{key:"getFormattingOptions",value:function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}},{key:"updateOptions",value:function(Pe){this._assertNotDisposed();var mt=typeof Pe.tabSize!="undefined"?Pe.tabSize:this._options.tabSize,xt=typeof Pe.indentSize!="undefined"?Pe.indentSize:this._options.indentSize,cn=typeof Pe.insertSpaces!="undefined"?Pe.insertSpaces:this._options.insertSpaces,Ut=typeof Pe.trimAutoWhitespace!="undefined"?Pe.trimAutoWhitespace:this._options.trimAutoWhitespace,wt=new T.e({tabSize:mt,indentSize:xt,insertSpaces:cn,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:Ut});if(!this._options.equals(wt)){var Pn=this._options.createChangeEvent(wt);this._options=wt,this._onDidChangeOptions.fire(Pn)}}},{key:"detectIndentation",value:function(Pe,mt){this._assertNotDisposed();var xt=A(this._buffer,mt,Pe);this.updateOptions({insertSpaces:xt.insertSpaces,tabSize:xt.tabSize,indentSize:xt.tabSize})}},{key:"normalizeIndentation",value:function(Pe){return this._assertNotDisposed(),Ue.normalizeIndentation(Pe,this._options.indentSize,this._options.insertSpaces)}},{key:"getVersionId",value:function(){return this._assertNotDisposed(),this._versionId}},{key:"mightContainRTL",value:function(){return this._buffer.mightContainRTL()}},{key:"mightContainUnusualLineTerminators",value:function(){return this._buffer.mightContainUnusualLineTerminators()}},{key:"removeUnusualLineTerminators",value:function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,mt=this.findMatches(t.a.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(Pe,mt.map(function(xt){return{range:xt.range,text:null}}),function(){return null})}},{key:"mightContainNonBasicASCII",value:function(){return this._buffer.mightContainNonBasicASCII()}},{key:"getAlternativeVersionId",value:function(){return this._assertNotDisposed(),this._alternativeVersionId}},{key:"getInitialUndoRedoSnapshot",value:function(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}},{key:"getOffsetAt",value:function(Pe){this._assertNotDisposed();var mt=this._validatePosition(Pe.lineNumber,Pe.column,0);return this._buffer.getOffsetAt(mt.lineNumber,mt.column)}},{key:"getPositionAt",value:function(Pe){this._assertNotDisposed();var mt=Math.min(this._buffer.getLength(),Math.max(0,Pe));return this._buffer.getPositionAt(mt)}},{key:"_increaseVersionId",value:function(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}},{key:"_overwriteVersionId",value:function(Pe){this._versionId=Pe}},{key:"_overwriteAlternativeVersionId",value:function(Pe){this._alternativeVersionId=Pe}},{key:"_overwriteInitialUndoRedoSnapshot",value:function(Pe){this._initialUndoRedoSnapshot=Pe}},{key:"getValue",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._assertNotDisposed();var xt=this.getFullModelRange(),cn=this.getValueInRange(xt,Pe);return mt?this._buffer.getBOM()+cn:cn}},{key:"createSnapshot",value:function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return new Fr(this._buffer.createSnapshot(Pe))}},{key:"getValueLength",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._assertNotDisposed();var xt=this.getFullModelRange(),cn=this.getValueLengthInRange(xt,Pe);return mt?this._buffer.getBOM().length+cn:cn}},{key:"getValueInRange",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(Pe),mt)}},{key:"getValueLengthInRange",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(Pe),mt)}},{key:"getCharacterCountInRange",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(Pe),mt)}},{key:"getLineCount",value:function(){return this._assertNotDisposed(),this._buffer.getLineCount()}},{key:"getLineContent",value:function(Pe){if(this._assertNotDisposed(),Pe<1||Pe>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(Pe)}},{key:"getLineLength",value:function(Pe){if(this._assertNotDisposed(),Pe<1||Pe>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(Pe)}},{key:"getLinesContent",value:function(){return this._assertNotDisposed(),this._buffer.getLinesContent()}},{key:"getEOL",value:function(){return this._assertNotDisposed(),this._buffer.getEOL()}},{key:"getEndOfLineSequence",value:function(){return this._assertNotDisposed(),this._buffer.getEOL()===`
- `?0:1}},{key:"getLineMinColumn",value:function(Pe){return this._assertNotDisposed(),1}},{key:"getLineMaxColumn",value:function(Pe){if(this._assertNotDisposed(),Pe<1||Pe>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(Pe)+1}},{key:"getLineFirstNonWhitespaceColumn",value:function(Pe){if(this._assertNotDisposed(),Pe<1||Pe>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(Pe)}},{key:"getLineLastNonWhitespaceColumn",value:function(Pe){if(this._assertNotDisposed(),Pe<1||Pe>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(Pe)}},{key:"_validateRangeRelaxedNoAllocations",value:function(Pe){var mt=this._buffer.getLineCount(),xt=Pe.startLineNumber,cn=Pe.startColumn,Ut=Math.floor(typeof xt=="number"&&!isNaN(xt)?xt:1),wt=Math.floor(typeof cn=="number"&&!isNaN(cn)?cn:1);if(Ut<1)Ut=1,wt=1;else if(Ut>mt)Ut=mt,wt=this.getLineMaxColumn(Ut);else if(wt<=1)wt=1;else{var Pn=this.getLineMaxColumn(Ut);wt>=Pn&&(wt=Pn)}var an=Pe.endLineNumber,Dn=Pe.endColumn,Tn=Math.floor(typeof an=="number"&&!isNaN(an)?an:1),Zn=Math.floor(typeof Dn=="number"&&!isNaN(Dn)?Dn:1);if(Tn<1)Tn=1,Zn=1;else if(Tn>mt)Tn=mt,Zn=this.getLineMaxColumn(Tn);else if(Zn<=1)Zn=1;else{var Mr=this.getLineMaxColumn(Tn);Zn>=Mr&&(Zn=Mr)}return xt===Ut&&cn===wt&&an===Tn&&Dn===Zn&&Pe instanceof S.a&&!(Pe instanceof k.a)?Pe:new S.a(Ut,wt,Tn,Zn)}},{key:"_isValidPosition",value:function(Pe,mt,xt){if(typeof Pe!="number"||typeof mt!="number"||isNaN(Pe)||isNaN(mt)||Pe<1||mt<1||(Pe|0)!==Pe||(mt|0)!==mt)return!1;var cn=this._buffer.getLineCount();if(Pe>cn)return!1;if(mt===1)return!0;var Ut=this.getLineMaxColumn(Pe);if(mt>Ut)return!1;if(xt===1){var wt=this._buffer.getLineCharCode(Pe,mt-2);if(t.E(wt))return!1}return!0}},{key:"_validatePosition",value:function(Pe,mt,xt){var cn=Math.floor(typeof Pe=="number"&&!isNaN(Pe)?Pe:1),Ut=Math.floor(typeof mt=="number"&&!isNaN(mt)?mt:1),wt=this._buffer.getLineCount();if(cn<1)return new w.a(1,1);if(cn>wt)return new w.a(wt,this.getLineMaxColumn(wt));if(Ut<=1)return new w.a(cn,1);var Pn=this.getLineMaxColumn(cn);if(Ut>=Pn)return new w.a(cn,Pn);if(xt===1){var an=this._buffer.getLineCharCode(cn,Ut-2);if(t.E(an))return new w.a(cn,Ut-1)}return new w.a(cn,Ut)}},{key:"validatePosition",value:function(Pe){var mt=1;return this._assertNotDisposed(),Pe instanceof w.a&&this._isValidPosition(Pe.lineNumber,Pe.column,mt)?Pe:this._validatePosition(Pe.lineNumber,Pe.column,mt)}},{key:"_isValidRange",value:function(Pe,mt){var xt=Pe.startLineNumber,cn=Pe.startColumn,Ut=Pe.endLineNumber,wt=Pe.endColumn;if(!this._isValidPosition(xt,cn,0)||!this._isValidPosition(Ut,wt,0))return!1;if(mt===1){var Pn=cn>1?this._buffer.getLineCharCode(xt,cn-2):0,an=wt>1&&wt<=this._buffer.getLineLength(Ut)?this._buffer.getLineCharCode(Ut,wt-2):0,Dn=t.E(Pn),Tn=t.E(an);return!Dn&&!Tn}return!0}},{key:"validateRange",value:function(Pe){var mt=1;if(this._assertNotDisposed(),Pe instanceof S.a&&!(Pe instanceof k.a)&&this._isValidRange(Pe,mt))return Pe;var xt=this._validatePosition(Pe.startLineNumber,Pe.startColumn,0),cn=this._validatePosition(Pe.endLineNumber,Pe.endColumn,0),Ut=xt.lineNumber,wt=xt.column,Pn=cn.lineNumber,an=cn.column;if(mt===1){var Dn=wt>1?this._buffer.getLineCharCode(Ut,wt-2):0,Tn=an>1&&an<=this._buffer.getLineLength(Pn)?this._buffer.getLineCharCode(Pn,an-2):0,Zn=t.E(Dn),Mr=t.E(Tn);return!Zn&&!Mr?new S.a(Ut,wt,Pn,an):Ut===Pn&&wt===an?new S.a(Ut,wt-1,Pn,an-1):Zn&&Mr?new S.a(Ut,wt-1,Pn,an+1):Zn?new S.a(Ut,wt-1,Pn,an):new S.a(Ut,wt,Pn,an+1)}return new S.a(Ut,wt,Pn,an)}},{key:"modifyPosition",value:function(Pe,mt){this._assertNotDisposed();var xt=this.getOffsetAt(Pe)+mt;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,xt)))}},{key:"getFullModelRange",value:function(){this._assertNotDisposed();var Pe=this.getLineCount();return new S.a(1,1,Pe,this.getLineMaxColumn(Pe))}},{key:"findMatchesLineByLine",value:function(Pe,mt,xt,cn){return this._buffer.findMatchesLineByLine(Pe,mt,xt,cn)}},{key:"findMatches",value:function(Pe,mt,xt,cn,Ut,wt){var Pn=this,an=arguments.length>6&&arguments[6]!==void 0?arguments[6]:xi;this._assertNotDisposed();var Dn=null;mt!==null&&(Array.isArray(mt)||(mt=[mt]),mt.every(function(Vr){return S.a.isIRange(Vr)})&&(Dn=mt.map(function(Vr){return Pn.validateRange(Vr)}))),Dn===null&&(Dn=[this.getFullModelRange()]),Dn=Dn.sort(function(Vr,Dr){return Vr.startLineNumber-Dr.startLineNumber||Vr.startColumn-Dr.startColumn});var Tn=[];Tn.push(Dn.reduce(function(Vr,Dr){return S.a.areIntersecting(Vr,Dr)?Vr.plusRange(Dr):(Tn.push(Vr),Dr)}));var Zn;if(!xt&&Pe.indexOf(`
- `)<0){var Mr=new nt.a(Pe,xt,cn,Ut),xr=Mr.parseSearchRequest();if(!xr)return[];Zn=function(Dr){return Pn.findMatchesLineByLine(Dr,xr,wt,an)}}else Zn=function(Dr){return nt.c.findMatches(Pn,new nt.a(Pe,xt,cn,Ut),Dr,wt,an)};return Tn.map(Zn).reduce(function(Vr,Dr){return Vr.concat(Dr)},[])}},{key:"findNextMatch",value:function(Pe,mt,xt,cn,Ut,wt){this._assertNotDisposed();var Pn=this.validatePosition(mt);if(!xt&&Pe.indexOf(`
- `)<0){var an=new nt.a(Pe,xt,cn,Ut),Dn=an.parseSearchRequest();if(!Dn)return null;var Tn=this.getLineCount(),Zn=new S.a(Pn.lineNumber,Pn.column,Tn,this.getLineMaxColumn(Tn)),Mr=this.findMatchesLineByLine(Zn,Dn,wt,1);return nt.c.findNextMatch(this,new nt.a(Pe,xt,cn,Ut),Pn,wt),Mr.length>0||(Zn=new S.a(1,1,Pn.lineNumber,this.getLineMaxColumn(Pn.lineNumber)),Mr=this.findMatchesLineByLine(Zn,Dn,wt,1),Mr.length>0)?Mr[0]:null}return nt.c.findNextMatch(this,new nt.a(Pe,xt,cn,Ut),Pn,wt)}},{key:"findPreviousMatch",value:function(Pe,mt,xt,cn,Ut,wt){this._assertNotDisposed();var Pn=this.validatePosition(mt);return nt.c.findPreviousMatch(this,new nt.a(Pe,xt,cn,Ut),Pn,wt)}},{key:"pushStackElement",value:function(){this._commandManager.pushStackElement()}},{key:"popStackElement",value:function(){this._commandManager.popStackElement()}},{key:"pushEOL",value:function(Pe){var mt=this.getEOL()===`
- `?0:1;if(mt!==Pe)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(Pe)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}},{key:"_validateEditOperation",value:function(Pe){return Pe instanceof T.f?Pe:new T.f(Pe.identifier||null,this.validateRange(Pe.range),Pe.text,Pe.forceMoveMarkers||!1,Pe.isAutoWhitespaceEdit||!1,Pe._isTracked||!1)}},{key:"_validateEditOperations",value:function(Pe){for(var mt=[],xt=0,cn=Pe.length;xt<cn;xt++)mt[xt]=this._validateEditOperation(Pe[xt]);return mt}},{key:"pushEditOperations",value:function(Pe,mt,xt){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(Pe,this._validateEditOperations(mt),xt)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}},{key:"_pushEditOperations",value:function(Pe,mt,xt){var cn=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){var Ut=mt.map(function(Ii){return{range:cn.validateRange(Ii.range),text:Ii.text}}),wt=!0;if(Pe)for(var Pn=0,an=Pe.length;Pn<an;Pn++){for(var Dn=Pe[Pn],Tn=!1,Zn=0,Mr=Ut.length;Zn<Mr;Zn++){var xr=Ut[Zn].range,Vr=xr.startLineNumber>Dn.endLineNumber,Dr=Dn.startLineNumber>xr.endLineNumber;if(!Vr&&!Dr){Tn=!0;break}}if(!Tn){wt=!1;break}}if(wt)for(var dr=0,gt=this._trimAutoWhitespaceLines.length;dr<gt;dr++){for(var Rr=this._trimAutoWhitespaceLines[dr],ci=this.getLineMaxColumn(Rr),ai=!0,bi=0,zr=Ut.length;bi<zr;bi++){var Hi=Ut[bi].range,hi=Ut[bi].text;if(!(Rr<Hi.startLineNumber||Rr>Hi.endLineNumber)&&!(Rr===Hi.startLineNumber&&Hi.startColumn===ci&&Hi.isEmpty()&&hi&&hi.length>0&&hi.charAt(0)===`
- `)&&!(Rr===Hi.startLineNumber&&Hi.startColumn===1&&Hi.isEmpty()&&hi&&hi.length>0&&hi.charAt(hi.length-1)===`
- `)){ai=!1;break}}if(ai){var Ci=new S.a(Rr,1,Rr,ci);mt.push(new T.f(null,Ci,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(Pe,mt,xt)}},{key:"_applyUndo",value:function(Pe,mt,xt,cn){var Ut=this,wt=Pe.map(function(Pn){var an=Ut.getPositionAt(Pn.newPosition),Dn=Ut.getPositionAt(Pn.newEnd);return{range:new S.a(an.lineNumber,an.column,Dn.lineNumber,Dn.column),text:Pn.oldText}});this._applyUndoRedoEdits(wt,mt,!0,!1,xt,cn)}},{key:"_applyRedo",value:function(Pe,mt,xt,cn){var Ut=this,wt=Pe.map(function(Pn){var an=Ut.getPositionAt(Pn.oldPosition),Dn=Ut.getPositionAt(Pn.oldEnd);return{range:new S.a(an.lineNumber,an.column,Dn.lineNumber,Dn.column),text:Pn.newText}});this._applyUndoRedoEdits(wt,mt,!1,!0,xt,cn)}},{key:"_applyUndoRedoEdits",value:function(Pe,mt,xt,cn,Ut,wt){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=xt,this._isRedoing=cn,this.applyEdits(Pe,!1),this.setEOL(mt),this._overwriteAlternativeVersionId(Ut)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(wt),this._onDidChangeDecorations.endDeferredEmit()}}},{key:"applyEdits",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();var xt=this._validateEditOperations(Pe);return this._doApplyEdits(xt,mt)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}},{key:"_doApplyEdits",value:function(Pe,mt){var xt=this._buffer.getLineCount(),cn=this._buffer.applyEdits(Pe,this._options.trimAutoWhitespace,mt),Ut=this._buffer.getLineCount(),wt=cn.changes;if(this._trimAutoWhitespaceLines=cn.trimAutoWhitespaceLineNumbers,wt.length!==0){for(var Pn=[],an=xt,Dn=0,Tn=wt.length;Dn<Tn;Dn++){var Zn=wt[Dn],Mr=Object(Ht.f)(Zn.text),xr=Object(u.a)(Mr,3),Vr=xr[0],Dr=xr[1],dr=xr[2];this._tokens.acceptEdit(Zn.range,Vr,Dr),this._tokens2.acceptEdit(Zn.range,Vr,Dr,dr,Zn.text.length>0?Zn.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(Zn.rangeOffset,Zn.rangeLength,Zn.text.length,Zn.forceMoveMarkers);for(var gt=Zn.range.startLineNumber,Rr=Zn.range.endLineNumber,ci=Rr-gt,ai=Vr,bi=Math.min(ci,ai),zr=ai-ci,Hi=bi;Hi>=0;Hi--){var hi=gt+Hi,Ci=Ut-an-zr+hi;Pn.push(new zt(hi,this.getLineContent(Ci)))}if(bi<ci){var Ii=gt+bi;Pn.push(new en(Ii+1,Rr))}if(bi<ai){for(var Mn=gt+bi,nr=ai-bi,cr=Ut-an-nr+Mn+1,Lr=[],ei=0;ei<nr;ei++){var ki=cr+ei;Lr[ki-cr]=this.getLineContent(ki)}Pn.push(new tn(Mn+1,gt+ai,Lr))}an+=zr}this._increaseVersionId(),this._emitContentChangedEvent(new on(Pn,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:wt,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return cn.reverseEdits===null?void 0:cn.reverseEdits}},{key:"undo",value:function(){return this._undoRedoService.undo(this.uri)}},{key:"canUndo",value:function(){return this._undoRedoService.canUndo(this.uri)}},{key:"redo",value:function(){return this._undoRedoService.redo(this.uri)}},{key:"canRedo",value:function(){return this._undoRedoService.canRedo(this.uri)}},{key:"changeDecorations",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(mt,Pe)}finally{this._onDidChangeDecorations.endDeferredEmit()}}},{key:"_changeDecorations",value:function(Pe,mt){var xt=this,cn={addDecoration:function(Pn,an){return xt._deltaDecorationsImpl(Pe,[],[{range:Pn,options:an}])[0]},changeDecoration:function(Pn,an){xt._changeDecorationImpl(Pn,an)},changeDecorationOptions:function(Pn,an){xt._changeDecorationOptionsImpl(Pn,Ai(an))},removeDecoration:function(Pn){xt._deltaDecorationsImpl(Pe,[Pn],[])},deltaDecorations:function(Pn,an){return Pn.length===0&&an.length===0?[]:xt._deltaDecorationsImpl(Pe,Pn,an)}},Ut=null;try{Ut=mt(cn)}catch(wt){Object(v.e)(wt)}return cn.addDecoration=ur,cn.changeDecoration=ur,cn.changeDecorationOptions=ur,cn.removeDecoration=ur,cn.deltaDecorations=ur,Ut}},{key:"deltaDecorations",value:function(Pe,mt){var xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(this._assertNotDisposed(),Pe||(Pe=[]),Pe.length===0&&mt.length===0)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(xt,Pe,mt)}finally{this._onDidChangeDecorations.endDeferredEmit()}}},{key:"_getTrackedRange",value:function(Pe){return this.getDecorationRange(Pe)}},{key:"_setTrackedRange",value:function(Pe,mt,xt){var cn=Pe?this._decorations[Pe]:null;if(!cn)return mt?this._deltaDecorationsImpl(0,[],[{range:mt,options:sa[xt]}])[0]:null;if(!mt)return this._decorationsTree.delete(cn),delete this._decorations[cn.id],null;var Ut=this._validateRangeRelaxedNoAllocations(mt),wt=this._buffer.getOffsetAt(Ut.startLineNumber,Ut.startColumn),Pn=this._buffer.getOffsetAt(Ut.endLineNumber,Ut.endColumn);return this._decorationsTree.delete(cn),cn.reset(this.getVersionId(),wt,Pn,Ut),cn.setOptions(sa[xt]),this._decorationsTree.insert(cn),cn.id}},{key:"removeAllDecorationsWithOwnerId",value:function(Pe){if(!this._isDisposed)for(var mt=this._decorationsTree.collectNodesFromOwner(Pe),xt=0,cn=mt.length;xt<cn;xt++){var Ut=mt[xt];this._decorationsTree.delete(Ut),delete this._decorations[Ut.id]}}},{key:"getDecorationOptions",value:function(Pe){var mt=this._decorations[Pe];return mt?mt.options:null}},{key:"getDecorationRange",value:function(Pe){var mt=this._decorations[Pe];if(!mt)return null;var xt=this.getVersionId();return mt.cachedVersionId!==xt&&this._decorationsTree.resolveNode(mt,xt),mt.range===null&&(mt.range=this._getRangeAt(mt.cachedAbsoluteStart,mt.cachedAbsoluteEnd)),mt.range}},{key:"getLineDecorations",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Pe<1||Pe>this.getLineCount()?[]:this.getLinesDecorations(Pe,Pe,mt,xt)}},{key:"getLinesDecorations",value:function(Pe,mt){var xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ut=this.getLineCount(),wt=Math.min(Ut,Math.max(1,Pe)),Pn=Math.min(Ut,Math.max(1,mt)),an=this.getLineMaxColumn(Pn);return this._getDecorationsInRange(new S.a(wt,1,Pn,an),xt,cn)}},{key:"getDecorationsInRange",value:function(Pe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,cn=this.validateRange(Pe);return this._getDecorationsInRange(cn,mt,xt)}},{key:"getOverviewRulerDecorations",value:function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xt=this.getVersionId(),cn=this._decorationsTree.search(Pe,mt,!0,xt);return this._ensureNodesHaveRanges(cn)}},{key:"getAllDecorations",value:function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xt=this.getVersionId(),cn=this._decorationsTree.search(Pe,mt,!1,xt);return this._ensureNodesHaveRanges(cn)}},{key:"_getDecorationsInRange",value:function(Pe,mt,xt){var cn=this._buffer.getOffsetAt(Pe.startLineNumber,Pe.startColumn),Ut=this._buffer.getOffsetAt(Pe.endLineNumber,Pe.endColumn),wt=this.getVersionId(),Pn=this._decorationsTree.intervalSearch(cn,Ut,mt,xt,wt);return this._ensureNodesHaveRanges(Pn)}},{key:"_ensureNodesHaveRanges",value:function(Pe){for(var mt=0,xt=Pe.length;mt<xt;mt++){var cn=Pe[mt];cn.range===null&&(cn.range=this._getRangeAt(cn.cachedAbsoluteStart,cn.cachedAbsoluteEnd))}return Pe}},{key:"_getRangeAt",value:function(Pe,mt){return this._buffer.getRangeAt(Pe,mt-Pe)}},{key:"_changeDecorationImpl",value:function(Pe,mt){var xt=this._decorations[Pe];if(!!xt){var cn=this._validateRangeRelaxedNoAllocations(mt),Ut=this._buffer.getOffsetAt(cn.startLineNumber,cn.startColumn),wt=this._buffer.getOffsetAt(cn.endLineNumber,cn.endColumn);this._decorationsTree.delete(xt),xt.reset(this.getVersionId(),Ut,wt,cn),this._decorationsTree.insert(xt),this._onDidChangeDecorations.checkAffectedAndFire(xt.options)}}},{key:"_changeDecorationOptionsImpl",value:function(Pe,mt){var xt=this._decorations[Pe];if(!!xt){var cn=!!(xt.options.overviewRuler&&xt.options.overviewRuler.color),Ut=!!(mt.overviewRuler&&mt.overviewRuler.color);this._onDidChangeDecorations.checkAffectedAndFire(xt.options),this._onDidChangeDecorations.checkAffectedAndFire(mt),cn!==Ut?(this._decorationsTree.delete(xt),xt.setOptions(mt),this._decorationsTree.insert(xt)):xt.setOptions(mt)}}},{key:"_deltaDecorationsImpl",value:function(Pe,mt,xt){for(var cn=this.getVersionId(),Ut=mt.length,wt=0,Pn=xt.length,an=0,Dn=new Array(Pn);wt<Ut||an<Pn;){var Tn=null;if(wt<Ut){do Tn=this._decorations[mt[wt++]];while(!Tn&&wt<Ut);Tn&&(this._decorationsTree.delete(Tn),this._onDidChangeDecorations.checkAffectedAndFire(Tn.options))}if(an<Pn){if(!Tn){var Zn=++this._lastDecorationId,Mr="".concat(this._instanceId,";").concat(Zn);Tn=new he(Mr,0,0),this._decorations[Mr]=Tn}var xr=xt[an],Vr=this._validateRangeRelaxedNoAllocations(xr.range),Dr=Ai(xr.options),dr=this._buffer.getOffsetAt(Vr.startLineNumber,Vr.startColumn),gt=this._buffer.getOffsetAt(Vr.endLineNumber,Vr.endColumn);Tn.ownerId=Pe,Tn.reset(cn,dr,gt,Vr),Tn.setOptions(Dr),this._onDidChangeDecorations.checkAffectedAndFire(Dr),this._decorationsTree.insert(Tn),Dn[an]=Tn.id,an++}else Tn&&delete this._decorations[Tn.id]}return Dn}},{key:"setTokens",value:function(Pe){if(Pe.length!==0){for(var mt=[],xt=0,cn=Pe.length;xt<cn;xt++){for(var Ut=Pe[xt],wt=0,Pn=0,an=!1,Dn=0,Tn=Ut.tokens.length;Dn<Tn;Dn++){var Zn=Ut.startLineNumber+Dn;if(an)this._tokens.setTokens(this._languageIdentifier.id,Zn-1,this._buffer.getLineLength(Zn),Ut.tokens[Dn],!1),Pn=Zn;else{var Mr=this._tokens.setTokens(this._languageIdentifier.id,Zn-1,this._buffer.getLineLength(Zn),Ut.tokens[Dn],!0);Mr&&(an=!0,wt=Zn,Pn=Zn)}}an&&mt.push({fromLineNumber:wt,toLineNumber:Pn})}mt.length>0&&this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!1,ranges:mt})}}},{key:"setSemanticTokens",value:function(Pe,mt){this._tokens2.set(Pe,mt),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:Pe!==null,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})}},{key:"hasCompleteSemanticTokens",value:function(){return this._tokens2.isComplete()}},{key:"hasSomeSemanticTokens",value:function(){return!this._tokens2.isEmpty()}},{key:"setPartialSemanticTokens",value:function(Pe,mt){if(!this.hasCompleteSemanticTokens()){var xt=this._tokens2.setPartial(Pe,mt);this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!0,ranges:[{fromLineNumber:xt.startLineNumber,toLineNumber:xt.endLineNumber}]})}}},{key:"tokenizeViewport",value:function(Pe,mt){Pe=Math.max(1,Pe),mt=Math.min(this._buffer.getLineCount(),mt),this._tokenization.tokenizeViewport(Pe,mt)}},{key:"clearTokens",value:function(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})}},{key:"_emitModelTokensChangedEvent",value:function(Pe){this._isDisposing||this._onDidChangeTokens.fire(Pe)}},{key:"resetTokenization",value:function(){this._tokenization.reset()}},{key:"forceTokenization",value:function(Pe){if(Pe<1||Pe>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(Pe)}},{key:"isCheapToTokenize",value:function(Pe){return this._tokenization.isCheapToTokenize(Pe)}},{key:"tokenizeIfCheap",value:function(Pe){this.isCheapToTokenize(Pe)&&this.forceTokenization(Pe)}},{key:"getLineTokens",value:function(Pe){if(Pe<1||Pe>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(Pe)}},{key:"_getLineTokens",value:function(Pe){var mt=this.getLineContent(Pe),xt=this._tokens.getTokens(this._languageIdentifier.id,Pe-1,mt);return this._tokens2.addSemanticTokens(Pe,xt)}},{key:"getLanguageIdentifier",value:function(){return this._languageIdentifier}},{key:"getModeId",value:function(){return this._languageIdentifier.language}},{key:"setMode",value:function(Pe){if(this._languageIdentifier.id!==Pe.id){var mt={oldLanguage:this._languageIdentifier.language,newLanguage:Pe.language};this._languageIdentifier=Pe,this._onDidChangeLanguage.fire(mt),this._onDidChangeLanguageConfiguration.fire({})}}},{key:"getLanguageIdAtPosition",value:function(Pe,mt){var xt=this.validatePosition(new w.a(Pe,mt)),cn=this.getLineTokens(xt.lineNumber);return cn.getLanguageId(cn.findTokenIndexAtOffset(xt.column-1))}},{key:"getWordAtPosition",value:function(Pe){this._assertNotDisposed();var mt=this.validatePosition(Pe),xt=this.getLineContent(mt.lineNumber),cn=this._getLineTokens(mt.lineNumber),Ut=cn.findTokenIndexAtOffset(mt.column-1),wt=Ue._findLanguageBoundaries(cn,Ut),Pn=Object(u.a)(wt,2),an=Pn[0],Dn=Pn[1],Tn=Object(rr.d)(mt.column,Rn.a.getWordDefinition(cn.getLanguageId(Ut)),xt.substring(an,Dn),an);if(Tn&&Tn.startColumn<=Pe.column&&Pe.column<=Tn.endColumn)return Tn;if(Ut>0&&an===mt.column-1){var Zn=Ue._findLanguageBoundaries(cn,Ut-1),Mr=Object(u.a)(Zn,2),xr=Mr[0],Vr=Mr[1],Dr=Object(rr.d)(mt.column,Rn.a.getWordDefinition(cn.getLanguageId(Ut-1)),xt.substring(xr,Vr),xr);if(Dr&&Dr.startColumn<=Pe.column&&Pe.column<=Dr.endColumn)return Dr}return null}},{key:"getWordUntilPosition",value:function(Pe){var mt=this.getWordAtPosition(Pe);return mt?{word:mt.word.substr(0,Pe.column-mt.startColumn),startColumn:mt.startColumn,endColumn:Pe.column}:{word:"",startColumn:Pe.column,endColumn:Pe.column}}},{key:"findMatchingBracketUp",value:function(Pe,mt){var xt=Pe.toLowerCase(),cn=this.validatePosition(mt),Ut=this._getLineTokens(cn.lineNumber),wt=Ut.getLanguageId(Ut.findTokenIndexAtOffset(cn.column-1)),Pn=Rn.a.getBracketsSupport(wt);if(!Pn)return null;var an=Pn.textIsBracket[xt];return an?Xi(this._findMatchingBracketUp(an,cn,null)):null}},{key:"matchBracket",value:function(Pe){return this._matchBracket(this.validatePosition(Pe))}},{key:"_establishBracketSearchOffsets",value:function(Pe,mt,xt,cn){for(var Ut=mt.getCount(),wt=mt.getLanguageId(cn),Pn=Math.max(0,Pe.column-1-xt.maxBracketLength),an=cn-1;an>=0;an--){var Dn=mt.getEndOffset(an);if(Dn<=Pn)break;if(Object(mr.b)(mt.getStandardTokenType(an))||mt.getLanguageId(an)!==wt){Pn=Dn;break}}for(var Tn=Math.min(mt.getLineContent().length,Pe.column-1+xt.maxBracketLength),Zn=cn+1;Zn<Ut;Zn++){var Mr=mt.getStartOffset(Zn);if(Mr>=Tn)break;if(Object(mr.b)(mt.getStandardTokenType(Zn))||mt.getLanguageId(Zn)!==wt){Tn=Mr;break}}return{searchStartOffset:Pn,searchEndOffset:Tn}}},{key:"_matchBracket",value:function(Pe){var mt=Pe.lineNumber,xt=this._getLineTokens(mt),cn=this._buffer.getLineContent(mt),Ut=xt.findTokenIndexAtOffset(Pe.column-1);if(Ut<0)return null;var wt=Rn.a.getBracketsSupport(xt.getLanguageId(Ut));if(wt&&!Object(mr.b)(xt.getStandardTokenType(Ut))){for(var Pn=this._establishBracketSearchOffsets(Pe,xt,wt,Ut),an=Pn.searchStartOffset,Dn=Pn.searchEndOffset,Tn=null;;){var Zn=ar.a.findNextBracketInRange(wt.forwardRegex,mt,cn,an,Dn);if(!Zn)break;if(Zn.startColumn<=Pe.column&&Pe.column<=Zn.endColumn){var Mr=cn.substring(Zn.startColumn-1,Zn.endColumn-1).toLowerCase(),xr=this._matchFoundBracket(Zn,wt.textIsBracket[Mr],wt.textIsOpenBracket[Mr],null);if(xr){if(xr instanceof Ti)return null;Tn=xr}}an=Zn.endColumn-1}if(Tn)return Tn}if(Ut>0&&xt.getStartOffset(Ut)===Pe.column-1){var Vr=Ut-1,Dr=Rn.a.getBracketsSupport(xt.getLanguageId(Vr));if(Dr&&!Object(mr.b)(xt.getStandardTokenType(Vr))){var dr=this._establishBracketSearchOffsets(Pe,xt,Dr,Vr),gt=dr.searchStartOffset,Rr=dr.searchEndOffset,ci=ar.a.findPrevBracketInRange(Dr.reversedRegex,mt,cn,gt,Rr);if(ci&&ci.startColumn<=Pe.column&&Pe.column<=ci.endColumn){var ai=cn.substring(ci.startColumn-1,ci.endColumn-1).toLowerCase(),bi=this._matchFoundBracket(ci,Dr.textIsBracket[ai],Dr.textIsOpenBracket[ai],null);if(bi)return bi instanceof Ti?null:bi}}}return null}},{key:"_matchFoundBracket",value:function(Pe,mt,xt,cn){if(!mt)return null;var Ut=xt?this._findMatchingBracketDown(mt,Pe.getEndPosition(),cn):this._findMatchingBracketUp(mt,Pe.getStartPosition(),cn);return Ut?Ut instanceof Ti?Ut:[Pe,Ut]:null}},{key:"_findMatchingBracketUp",value:function(Pe,mt,xt){for(var cn=Pe.languageIdentifier.id,Ut=Pe.reversedRegex,wt=-1,Pn=0,an=function(bi,zr,Hi,hi){for(;;){if(xt&&++Pn%100==0&&!xt())return Ti.INSTANCE;var Ci=ar.a.findPrevBracketInRange(Ut,bi,zr,Hi,hi);if(!Ci)break;var Ii=zr.substring(Ci.startColumn-1,Ci.endColumn-1).toLowerCase();if(Pe.isOpen(Ii)?wt++:Pe.isClose(Ii)&&wt--,wt===0)return Ci;hi=Ci.startColumn-1}return null},Dn=mt.lineNumber;Dn>=1;Dn--){var Tn=this._getLineTokens(Dn),Zn=Tn.getCount(),Mr=this._buffer.getLineContent(Dn),xr=Zn-1,Vr=Mr.length,Dr=Mr.length;Dn===mt.lineNumber&&(xr=Tn.findTokenIndexAtOffset(mt.column-1),Vr=mt.column-1,Dr=mt.column-1);for(var dr=!0;xr>=0;xr--){var gt=Tn.getLanguageId(xr)===cn&&!Object(mr.b)(Tn.getStandardTokenType(xr));if(gt)dr?Vr=Tn.getStartOffset(xr):(Vr=Tn.getStartOffset(xr),Dr=Tn.getEndOffset(xr));else if(dr&&Vr!==Dr){var Rr=an(Dn,Mr,Vr,Dr);if(Rr)return Rr}dr=gt}if(dr&&Vr!==Dr){var ci=an(Dn,Mr,Vr,Dr);if(ci)return ci}}return null}},{key:"_findMatchingBracketDown",value:function(Pe,mt,xt){for(var cn=Pe.languageIdentifier.id,Ut=Pe.forwardRegex,wt=1,Pn=0,an=function(zr,Hi,hi,Ci){for(;;){if(xt&&++Pn%100==0&&!xt())return Ti.INSTANCE;var Ii=ar.a.findNextBracketInRange(Ut,zr,Hi,hi,Ci);if(!Ii)break;var Mn=Hi.substring(Ii.startColumn-1,Ii.endColumn-1).toLowerCase();if(Pe.isOpen(Mn)?wt++:Pe.isClose(Mn)&&wt--,wt===0)return Ii;hi=Ii.endColumn-1}return null},Dn=this.getLineCount(),Tn=mt.lineNumber;Tn<=Dn;Tn++){var Zn=this._getLineTokens(Tn),Mr=Zn.getCount(),xr=this._buffer.getLineContent(Tn),Vr=0,Dr=0,dr=0;Tn===mt.lineNumber&&(Vr=Zn.findTokenIndexAtOffset(mt.column-1),Dr=mt.column-1,dr=mt.column-1);for(var gt=!0;Vr<Mr;Vr++){var Rr=Zn.getLanguageId(Vr)===cn&&!Object(mr.b)(Zn.getStandardTokenType(Vr));if(Rr)gt||(Dr=Zn.getStartOffset(Vr)),dr=Zn.getEndOffset(Vr);else if(gt&&Dr!==dr){var ci=an(Tn,xr,Dr,dr);if(ci)return ci}gt=Rr}if(gt&&Dr!==dr){var ai=an(Tn,xr,Dr,dr);if(ai)return ai}}return null}},{key:"findPrevBracket",value:function(Pe){for(var mt=this.validatePosition(Pe),xt=-1,cn=null,Ut=mt.lineNumber;Ut>=1;Ut--){var wt=this._getLineTokens(Ut),Pn=wt.getCount(),an=this._buffer.getLineContent(Ut),Dn=Pn-1,Tn=an.length,Zn=an.length;if(Ut===mt.lineNumber){Dn=wt.findTokenIndexAtOffset(mt.column-1),Tn=mt.column-1,Zn=mt.column-1;var Mr=wt.getLanguageId(Dn);xt!==Mr&&(xt=Mr,cn=Rn.a.getBracketsSupport(xt))}for(var xr=!0;Dn>=0;Dn--){var Vr=wt.getLanguageId(Dn);if(xt!==Vr){if(cn&&xr&&Tn!==Zn){var Dr=ar.a.findPrevBracketInRange(cn.reversedRegex,Ut,an,Tn,Zn);if(Dr)return this._toFoundBracket(cn,Dr);xr=!1}xt=Vr,cn=Rn.a.getBracketsSupport(xt)}var dr=!!cn&&!Object(mr.b)(wt.getStandardTokenType(Dn));if(dr)xr?Tn=wt.getStartOffset(Dn):(Tn=wt.getStartOffset(Dn),Zn=wt.getEndOffset(Dn));else if(cn&&xr&&Tn!==Zn){var gt=ar.a.findPrevBracketInRange(cn.reversedRegex,Ut,an,Tn,Zn);if(gt)return this._toFoundBracket(cn,gt)}xr=dr}if(cn&&xr&&Tn!==Zn){var Rr=ar.a.findPrevBracketInRange(cn.reversedRegex,Ut,an,Tn,Zn);if(Rr)return this._toFoundBracket(cn,Rr)}}return null}},{key:"findNextBracket",value:function(Pe){for(var mt=this.validatePosition(Pe),xt=this.getLineCount(),cn=-1,Ut=null,wt=mt.lineNumber;wt<=xt;wt++){var Pn=this._getLineTokens(wt),an=Pn.getCount(),Dn=this._buffer.getLineContent(wt),Tn=0,Zn=0,Mr=0;if(wt===mt.lineNumber){Tn=Pn.findTokenIndexAtOffset(mt.column-1),Zn=mt.column-1,Mr=mt.column-1;var xr=Pn.getLanguageId(Tn);cn!==xr&&(cn=xr,Ut=Rn.a.getBracketsSupport(cn))}for(var Vr=!0;Tn<an;Tn++){var Dr=Pn.getLanguageId(Tn);if(cn!==Dr){if(Ut&&Vr&&Zn!==Mr){var dr=ar.a.findNextBracketInRange(Ut.forwardRegex,wt,Dn,Zn,Mr);if(dr)return this._toFoundBracket(Ut,dr);Vr=!1}cn=Dr,Ut=Rn.a.getBracketsSupport(cn)}var gt=!!Ut&&!Object(mr.b)(Pn.getStandardTokenType(Tn));if(gt)Vr||(Zn=Pn.getStartOffset(Tn)),Mr=Pn.getEndOffset(Tn);else if(Ut&&Vr&&Zn!==Mr){var Rr=ar.a.findNextBracketInRange(Ut.forwardRegex,wt,Dn,Zn,Mr);if(Rr)return this._toFoundBracket(Ut,Rr)}Vr=gt}if(Ut&&Vr&&Zn!==Mr){var ci=ar.a.findNextBracketInRange(Ut.forwardRegex,wt,Dn,Zn,Mr);if(ci)return this._toFoundBracket(Ut,ci)}}return null}},{key:"findEnclosingBrackets",value:function(Pe,mt){var xt=this,cn;if(typeof mt=="undefined")cn=null;else{var Ut=Date.now();cn=function(){return Date.now()-Ut<=mt}}for(var wt=this.validatePosition(Pe),Pn=this.getLineCount(),an=new Map,Dn=[],Tn=function(Lr,ei){if(!an.has(Lr)){for(var ki=[],ua=0,Qi=ei?ei.brackets.length:0;ua<Qi;ua++)ki[ua]=0;an.set(Lr,ki)}Dn=an.get(Lr)},Zn=0,Mr=function(Lr,ei,ki,ua,Qi){for(;;){if(cn&&++Zn%100==0&&!cn())return Ti.INSTANCE;var Br=ar.a.findNextBracketInRange(Lr.forwardRegex,ei,ki,ua,Qi);if(!Br)break;var ga=ki.substring(Br.startColumn-1,Br.endColumn-1).toLowerCase(),fa=Lr.textIsBracket[ga];if(fa&&(fa.isOpen(ga)?Dn[fa.index]++:fa.isClose(ga)&&Dn[fa.index]--,Dn[fa.index]===-1))return xt._matchFoundBracket(Br,fa,!1,cn);ua=Br.endColumn-1}return null},xr=-1,Vr=null,Dr=wt.lineNumber;Dr<=Pn;Dr++){var dr=this._getLineTokens(Dr),gt=dr.getCount(),Rr=this._buffer.getLineContent(Dr),ci=0,ai=0,bi=0;if(Dr===wt.lineNumber){ci=dr.findTokenIndexAtOffset(wt.column-1),ai=wt.column-1,bi=wt.column-1;var zr=dr.getLanguageId(ci);xr!==zr&&(xr=zr,Vr=Rn.a.getBracketsSupport(xr),Tn(xr,Vr))}for(var Hi=!0;ci<gt;ci++){var hi=dr.getLanguageId(ci);if(xr!==hi){if(Vr&&Hi&&ai!==bi){var Ci=Mr(Vr,Dr,Rr,ai,bi);if(Ci)return Xi(Ci);Hi=!1}xr=hi,Vr=Rn.a.getBracketsSupport(xr),Tn(xr,Vr)}var Ii=!!Vr&&!Object(mr.b)(dr.getStandardTokenType(ci));if(Ii)Hi||(ai=dr.getStartOffset(ci)),bi=dr.getEndOffset(ci);else if(Vr&&Hi&&ai!==bi){var Mn=Mr(Vr,Dr,Rr,ai,bi);if(Mn)return Xi(Mn)}Hi=Ii}if(Vr&&Hi&&ai!==bi){var nr=Mr(Vr,Dr,Rr,ai,bi);if(nr)return Xi(nr)}}return null}},{key:"_toFoundBracket",value:function(Pe,mt){if(!mt)return null;var xt=this.getValueInRange(mt);xt=xt.toLowerCase();var cn=Pe.textIsBracket[xt];return cn?{range:mt,open:cn.open,close:cn.close,isOpen:Pe.textIsOpenBracket[xt]}:null}},{key:"_computeIndentLevel",value:function(Pe){return Ue.computeIndentLevel(this._buffer.getLineContent(Pe+1),this._options.tabSize)}},{key:"getActiveIndentGuide",value:function(Pe,mt,xt){var cn=this;this._assertNotDisposed();var Ut=this.getLineCount();if(Pe<1||Pe>Ut)throw new Error("Illegal value for lineNumber");for(var wt=Rn.a.getFoldingRules(this._languageIdentifier.id),Pn=Boolean(wt&&wt.offSide),an=-2,Dn=-1,Tn=-2,Zn=-1,Mr=function(ki){if(an!==-1&&(an===-2||an>ki-1)){an=-1,Dn=-1;for(var ua=ki-2;ua>=0;ua--){var Qi=cn._computeIndentLevel(ua);if(Qi>=0){an=ua,Dn=Qi;break}}}if(Tn===-2){Tn=-1,Zn=-1;for(var Br=ki;Br<Ut;Br++){var ga=cn._computeIndentLevel(Br);if(ga>=0){Tn=Br,Zn=ga;break}}}},xr=-2,Vr=-1,Dr=-2,dr=-1,gt=function(ki){if(xr===-2){xr=-1,Vr=-1;for(var ua=ki-2;ua>=0;ua--){var Qi=cn._computeIndentLevel(ua);if(Qi>=0){xr=ua,Vr=Qi;break}}}if(Dr!==-1&&(Dr===-2||Dr<ki-1)){Dr=-1,dr=-1;for(var Br=ki;Br<Ut;Br++){var ga=cn._computeIndentLevel(Br);if(ga>=0){Dr=Br,dr=ga;break}}}},Rr=0,ci=!0,ai=0,bi=!0,zr=0,Hi=0,hi=0;ci||bi;hi++){var Ci=Pe-hi,Ii=Pe+hi;hi>1&&(Ci<1||Ci<mt)&&(ci=!1),hi>1&&(Ii>Ut||Ii>xt)&&(bi=!1),hi>5e4&&(ci=!1,bi=!1);var Mn=-1;if(ci){var nr=this._computeIndentLevel(Ci-1);nr>=0?(Tn=Ci-1,Zn=nr,Mn=Math.ceil(nr/this._options.indentSize)):(Mr(Ci),Mn=this._getIndentLevelForWhitespaceLine(Pn,Dn,Zn))}var cr=-1;if(bi){var Lr=this._computeIndentLevel(Ii-1);Lr>=0?(xr=Ii-1,Vr=Lr,cr=Math.ceil(Lr/this._options.indentSize)):(gt(Ii),cr=this._getIndentLevelForWhitespaceLine(Pn,Vr,dr))}if(hi===0){Hi=Mn;continue}if(hi===1){if(Ii<=Ut&&cr>=0&&Hi+1===cr){ci=!1,Rr=Ii,ai=Ii,zr=cr;continue}if(Ci>=1&&Mn>=0&&Mn-1===Hi){bi=!1,Rr=Ci,ai=Ci,zr=Mn;continue}if(Rr=Pe,ai=Pe,zr=Hi,zr===0)return{startLineNumber:Rr,endLineNumber:ai,indent:zr}}ci&&(Mn>=zr?Rr=Ci:ci=!1),bi&&(cr>=zr?ai=Ii:bi=!1)}return{startLineNumber:Rr,endLineNumber:ai,indent:zr}}},{key:"getLinesIndentGuides",value:function(Pe,mt){this._assertNotDisposed();var xt=this.getLineCount();if(Pe<1||Pe>xt)throw new Error("Illegal value for startLineNumber");if(mt<1||mt>xt)throw new Error("Illegal value for endLineNumber");for(var cn=Rn.a.getFoldingRules(this._languageIdentifier.id),Ut=Boolean(cn&&cn.offSide),wt=new Array(mt-Pe+1),Pn=-2,an=-1,Dn=-2,Tn=-1,Zn=Pe;Zn<=mt;Zn++){var Mr=Zn-Pe,xr=this._computeIndentLevel(Zn-1);if(xr>=0){Pn=Zn-1,an=xr,wt[Mr]=Math.ceil(xr/this._options.indentSize);continue}if(Pn===-2){Pn=-1,an=-1;for(var Vr=Zn-2;Vr>=0;Vr--){var Dr=this._computeIndentLevel(Vr);if(Dr>=0){Pn=Vr,an=Dr;break}}}if(Dn!==-1&&(Dn===-2||Dn<Zn-1)){Dn=-1,Tn=-1;for(var dr=Zn;dr<xt;dr++){var gt=this._computeIndentLevel(dr);if(gt>=0){Dn=dr,Tn=gt;break}}}wt[Mr]=this._getIndentLevelForWhitespaceLine(Ut,an,Tn)}return wt}},{key:"_getIndentLevelForWhitespaceLine",value:function(Pe,mt,xt){return mt===-1||xt===-1?0:mt<xt?1+Math.floor(mt/this._options.indentSize):mt===xt?Math.ceil(xt/this._options.indentSize):Pe?Math.ceil(xt/this._options.indentSize):1+Math.floor(xt/this._options.indentSize)}}],[{key:"resolveOptions",value:function(Pe,mt){if(mt.detectIndentation){var xt=A(Pe,mt.tabSize,mt.insertSpaces);return new T.e({tabSize:xt.tabSize,indentSize:xt.tabSize,insertSpaces:xt.insertSpaces,trimAutoWhitespace:mt.trimAutoWhitespace,defaultEOL:mt.defaultEOL})}return new T.e({tabSize:mt.tabSize,indentSize:mt.indentSize,insertSpaces:mt.insertSpaces,trimAutoWhitespace:mt.trimAutoWhitespace,defaultEOL:mt.defaultEOL})}},{key:"_normalizeIndentationFromWhitespace",value:function(Pe,mt,xt){for(var cn=0,Ut=0;Ut<Pe.length;Ut++)Pe.charAt(Ut)===" "?cn+=mt:cn++;var wt="";if(!xt){var Pn=Math.floor(cn/mt);cn=cn%mt;for(var an=0;an<Pn;an++)wt+=" "}for(var Dn=0;Dn<cn;Dn++)wt+=" ";return wt}},{key:"normalizeIndentation",value:function(Pe,mt,xt){var cn=t.v(Pe);return cn===-1&&(cn=Pe.length),Ue._normalizeIndentationFromWhitespace(Pe.substring(0,cn),mt,xt)+Pe.substring(cn)}},{key:"_findLanguageBoundaries",value:function(Pe,mt){for(var xt=Pe.getLanguageId(mt),cn=0,Ut=mt;Ut>=0&&Pe.getLanguageId(Ut)===xt;Ut--)cn=Pe.getStartOffset(Ut);for(var wt=Pe.getLineContent().length,Pn=mt,an=Pe.getCount();Pn<an&&Pe.getLanguageId(Pn)===xt;Pn++)wt=Pe.getEndOffset(Pn);return[cn,wt]}},{key:"computeIndentLevel",value:function(Pe,mt){for(var xt=0,cn=0,Ut=Pe.length;cn<Ut;){var wt=Pe.charCodeAt(cn);if(wt===32)xt++;else if(wt===9)xt=xt-xt%mt+mt;else break;cn++}return cn===Ut?-1:xt}}]),Ue}(h.a);ca.MODEL_SYNC_LIMIT=50*1024*1024,ca.LARGE_FILE_SIZE_THRESHOLD=20*1024*1024,ca.LARGE_FILE_LINE_COUNT_THRESHOLD=300*1e3,ca.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:p.d.tabSize,indentSize:p.d.indentSize,insertSpaces:p.d.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:p.d.trimAutoWhitespace,largeFileOptimizations:p.d.largeFileOptimizations};var Zi=function(){function mn(){Object(a.a)(this,mn),this._decorationsTree0=new ne,this._decorationsTree1=new ne}return Object(n.a)(mn,[{key:"intervalSearch",value:function(Ue,Ze,Pe,mt,xt){var cn=this._decorationsTree0.intervalSearch(Ue,Ze,Pe,mt,xt),Ut=this._decorationsTree1.intervalSearch(Ue,Ze,Pe,mt,xt);return cn.concat(Ut)}},{key:"search",value:function(Ue,Ze,Pe,mt){if(Pe)return this._decorationsTree1.search(Ue,Ze,mt);var xt=this._decorationsTree0.search(Ue,Ze,mt),cn=this._decorationsTree1.search(Ue,Ze,mt);return xt.concat(cn)}},{key:"collectNodesFromOwner",value:function(Ue){var Ze=this._decorationsTree0.collectNodesFromOwner(Ue),Pe=this._decorationsTree1.collectNodesFromOwner(Ue);return Ze.concat(Pe)}},{key:"collectNodesPostOrder",value:function(){var Ue=this._decorationsTree0.collectNodesPostOrder(),Ze=this._decorationsTree1.collectNodesPostOrder();return Ue.concat(Ze)}},{key:"insert",value:function(Ue){W(Ue)?this._decorationsTree1.insert(Ue):this._decorationsTree0.insert(Ue)}},{key:"delete",value:function(Ue){W(Ue)?this._decorationsTree1.delete(Ue):this._decorationsTree0.delete(Ue)}},{key:"resolveNode",value:function(Ue,Ze){W(Ue)?this._decorationsTree1.resolveNode(Ue,Ze):this._decorationsTree0.resolveNode(Ue,Ze)}},{key:"acceptReplace",value:function(Ue,Ze,Pe,mt){this._decorationsTree0.acceptReplace(Ue,Ze,Pe,mt),this._decorationsTree1.acceptReplace(Ue,Ze,Pe,mt)}}]),mn}();function xa(mn){return mn.replace(/[^a-z0-9\-_]/gi," ")}var va=Object(n.a)(function mn(It){Object(a.a)(this,mn),this.color=It.color||"",this.darkColor=It.darkColor||""}),Ma=function(mn){Object(o.a)(Ue,mn);var It=Object(i.a)(Ue);function Ue(Ze){var Pe;return Object(a.a)(this,Ue),Pe=It.call(this,Ze),Pe._resolvedColor=null,Pe.position=typeof Ze.position=="number"?Ze.position:T.d.Center,Pe}return Object(n.a)(Ue,[{key:"getColor",value:function(Pe){return this._resolvedColor||(Pe.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,Pe):this._resolvedColor=this._resolveColor(this.color,Pe)),this._resolvedColor}},{key:"invalidateCachedColor",value:function(){this._resolvedColor=null}},{key:"_resolveColor",value:function(Pe,mt){if(typeof Pe=="string")return Pe;var xt=Pe?mt.getColor(Pe.id):null;return xt?xt.toString():""}}]),Ue}(va),_a=function(mn){Object(o.a)(Ue,mn);var It=Object(i.a)(Ue);function Ue(Ze){var Pe;return Object(a.a)(this,Ue),Pe=It.call(this,Ze),Pe.position=Ze.position,Pe}return Object(n.a)(Ue,[{key:"getColor",value:function(Pe){return this._resolvedColor||(Pe.type!=="light"&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,Pe):this._resolvedColor=this._resolveColor(this.color,Pe)),this._resolvedColor}},{key:"invalidateCachedColor",value:function(){this._resolvedColor=void 0}},{key:"_resolveColor",value:function(Pe,mt){return typeof Pe=="string"?sr.a.fromHex(Pe):mt.getColor(Pe.id)}}]),Ue}(va),na=function(){function mn(It){Object(a.a)(this,mn),this.stickiness=It.stickiness||0,this.zIndex=It.zIndex||0,this.className=It.className?xa(It.className):null,this.hoverMessage=It.hoverMessage||null,this.glyphMarginHoverMessage=It.glyphMarginHoverMessage||null,this.isWholeLine=It.isWholeLine||!1,this.showIfCollapsed=It.showIfCollapsed||!1,this.collapseOnReplaceEdit=It.collapseOnReplaceEdit||!1,this.overviewRuler=It.overviewRuler?new Ma(It.overviewRuler):null,this.minimap=It.minimap?new _a(It.minimap):null,this.glyphMarginClassName=It.glyphMarginClassName?xa(It.glyphMarginClassName):null,this.linesDecorationsClassName=It.linesDecorationsClassName?xa(It.linesDecorationsClassName):null,this.firstLineDecorationClassName=It.firstLineDecorationClassName?xa(It.firstLineDecorationClassName):null,this.marginClassName=It.marginClassName?xa(It.marginClassName):null,this.inlineClassName=It.inlineClassName?xa(It.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=It.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=It.beforeContentClassName?xa(It.beforeContentClassName):null,this.afterContentClassName=It.afterContentClassName?xa(It.afterContentClassName):null}return Object(n.a)(mn,null,[{key:"register",value:function(Ue){return new mn(Ue)}},{key:"createDynamic",value:function(Ue){return new mn(Ue)}}]),mn}();na.EMPTY=na.register({});var sa=[na.register({stickiness:0}),na.register({stickiness:1}),na.register({stickiness:2}),na.register({stickiness:3})];function Ai(mn){return mn instanceof na?mn:na.createDynamic(mn)}var ba=function(mn){Object(o.a)(Ue,mn);var It=Object(i.a)(Ue);function Ue(){var Ze;return Object(a.a)(this,Ue),Ze=It.call(this),Ze._actual=Ze._register(new m.a),Ze.event=Ze._actual.event,Ze._deferredCnt=0,Ze._shouldFire=!1,Ze._affectsMinimap=!1,Ze._affectsOverviewRuler=!1,Ze}return Object(n.a)(Ue,[{key:"beginDeferredEmit",value:function(){this._deferredCnt++}},{key:"endDeferredEmit",value:function(){if(this._deferredCnt--,this._deferredCnt===0&&this._shouldFire){var Pe={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler};this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._actual.fire(Pe)}}},{key:"checkAffectedAndFire",value:function(Pe){this._affectsMinimap||(this._affectsMinimap=!!(Pe.minimap&&Pe.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(Pe.overviewRuler&&Pe.overviewRuler.color)),this._shouldFire=!0}},{key:"fire",value:function(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._shouldFire=!0}}]),Ue}(h.a),ea=function(mn){Object(o.a)(Ue,mn);var It=Object(i.a)(Ue);function Ue(){var Ze;return Object(a.a)(this,Ue),Ze=It.call(this),Ze._fastEmitter=Ze._register(new m.a),Ze.fastEvent=Ze._fastEmitter.event,Ze._slowEmitter=Ze._register(new m.a),Ze.slowEvent=Ze._slowEmitter.event,Ze._deferredCnt=0,Ze._deferredEvent=null,Ze}return Object(n.a)(Ue,[{key:"beginDeferredEmit",value:function(){this._deferredCnt++}},{key:"endDeferredEmit",value:function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(this._deferredCnt--,this._deferredCnt===0&&this._deferredEvent!==null){this._deferredEvent.rawContentChangedEvent.resultingSelection=Pe;var mt=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(mt),this._slowEmitter.fire(mt)}}},{key:"fire",value:function(Pe){if(this._deferredCnt>0){this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(Pe):this._deferredEvent=Pe;return}this._fastEmitter.fire(Pe),this._slowEmitter.fire(Pe)}}]),Ue}(h.a)},tYmi:function(Ie,M,e){"use strict";e.d(M,"c",function(){return o}),e.d(M,"b",function(){return a}),e.d(M,"a",function(){return v});var u=e("fWQN"),c=e("mtLc"),r=e("bY76"),f=e("MNsG"),o;(function(m){m.inMemory="inmemory",m.vscode="vscode",m.internal="private",m.walkThrough="walkThrough",m.walkThroughSnippet="walkThroughSnippet",m.http="http",m.https="https",m.file="file",m.mailto="mailto",m.untitled="untitled",m.data="data",m.command="command",m.vscodeRemote="vscode-remote",m.vscodeRemoteResource="vscode-remote-resource",m.userData="vscode-userdata",m.vscodeCustomEditor="vscode-custom-editor",m.vscodeNotebook="vscode-notebook",m.vscodeNotebookCell="vscode-notebook-cell",m.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",m.vscodeSettings="vscode-settings",m.vscodeWorkspaceTrust="vscode-workspace-trust",m.vscodeTerminal="vscode-terminal",m.webviewPanel="webview-panel",m.vscodeWebview="vscode-webview",m.extension="extension",m.vscodeFileResource="vscode-file",m.tmp="tmp"})(o||(o={}));var i=function(){function m(){Object(u.a)(this,m),this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}return Object(c.a)(m,[{key:"setPreferredWebSchema",value:function(t){this._preferredWebSchema=t}},{key:"rewrite",value:function(t){if(this._delegate)return this._delegate(t);var l=t.authority,p=this._hosts[l];p&&p.indexOf(":")!==-1&&(p="[".concat(p,"]"));var w=this._ports[l],S=this._connectionTokens[l],k="path=".concat(encodeURIComponent(t.path));return typeof S=="string"&&(k+="&tkn=".concat(encodeURIComponent(S))),r.a.from({scheme:f.i?this._preferredWebSchema:o.vscodeRemoteResource,authority:"".concat(p,":").concat(w),path:"/vscode-remote-resource",query:k})}}]),m}(),a=new i,n=function(){function m(){Object(u.a)(this,m),this.FALLBACK_AUTHORITY="vscode-app"}return Object(c.a)(m,[{key:"asBrowserUri",value:function(t,l,p){var w=this.toUri(t,l);return w.scheme===o.vscodeRemote?a.rewrite(w):f.g&&(p||f.h)&&w.scheme===o.file?w.with({scheme:o.vscodeFileResource,authority:w.authority||this.FALLBACK_AUTHORITY,query:null,fragment:null}):w}},{key:"toUri",value:function(t,l){return r.a.isUri(t)?t:r.a.parse(l.toUrl(t))}}]),m}(),v=new n},tadb:function(Ie,M,e){var u=e("Cwc5"),c=e("Kz5y"),r=u(c,"DataView");Ie.exports=r},tkDr:function(Ie,M,e){},twdY:function(Ie,M,e){"use strict";e.d(M,"s",function(){return m}),e.d(M,"C",function(){return h}),e.d(M,"G",function(){return t}),e.d(M,"F",function(){return l}),e.d(M,"A",function(){return p}),e.d(M,"h",function(){return w}),e.d(M,"H",function(){return S}),e.d(M,"B",function(){return k}),e.d(M,"n",function(){return T}),e.d(M,"w",function(){return Y}),e.d(M,"x",function(){return $}),e.d(M,"d",function(){return A}),e.d(M,"z",function(){return g}),e.d(M,"p",function(){return b}),e.d(M,"m",function(){return d}),e.d(M,"i",function(){return O}),e.d(M,"u",function(){return E}),e.d(M,"f",function(){return D}),e.d(M,"e",function(){return W}),e.d(M,"q",function(){return te}),e.d(M,"E",function(){return re}),e.d(M,"b",function(){return ye}),e.d(M,"r",function(){return q}),e.d(M,"a",function(){return oe}),e.d(M,"g",function(){return he}),e.d(M,"j",function(){return ue}),e.d(M,"v",function(){return ne}),e.d(M,"t",function(){return se}),e.d(M,"c",function(){return be}),e.d(M,"y",function(){return Z}),e.d(M,"o",function(){return ee}),e.d(M,"l",function(){return ce}),e.d(M,"k",function(){return R}),e.d(M,"D",function(){return y});var u=e("mtLc"),c=e("fWQN"),r=e("bY76"),f=e("aokT"),o=e("al33"),i=e("MI8n"),a=e("pmY6"),n=function(){function C(){Object(c.a)(this,C),this._map=new Map,this._promises=new Map,this._onDidChange=new i.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}return Object(u.a)(C,[{key:"fire",value:function(G){this._onDidChange.fire({changedLanguages:G,changedColorMap:!1})}},{key:"register",value:function(G,X){var pe=this;return this._map.set(G,X),this.fire([G]),Object(a.h)(function(){pe._map.get(G)===X&&(pe._map.delete(G),pe.fire([G]))})}},{key:"registerPromise",value:function(G,X){var pe=this,ae=null,Se=!1;return this._promises.set(G,X.then(function(Te){pe._promises.delete(G),!(Se||!Te)&&(ae=pe.register(G,Te))})),Object(a.h)(function(){Se=!0,ae&&ae.dispose()})}},{key:"getPromise",value:function(G){var X=this,pe=this.get(G);if(pe)return Promise.resolve(pe);var ae=this._promises.get(G);return ae?ae.then(function(Se){return X.get(G)}):null}},{key:"get",value:function(G){return this._map.get(G)||null}},{key:"setColorMap",value:function(G){this._colorMap=G,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}},{key:"getColorMap",value:function(){return this._colorMap}},{key:"getDefaultBackground",value:function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}]),C}(),v=e("Vhoy"),m=Object(u.a)(function C(z,G){Object(c.a)(this,C),this.language=z,this.id=G}),h=function(){function C(){Object(c.a)(this,C)}return Object(u.a)(C,null,[{key:"getLanguageId",value:function(G){return(G&255)>>>0}},{key:"getTokenType",value:function(G){return(G&1792)>>>8}},{key:"getFontStyle",value:function(G){return(G&14336)>>>11}},{key:"getForeground",value:function(G){return(G&8372224)>>>14}},{key:"getBackground",value:function(G){return(G&4286578688)>>>23}},{key:"getClassNameFromMetadata",value:function(G){var X=this.getForeground(G),pe="mtk"+X,ae=this.getFontStyle(G);return ae&1&&(pe+=" mtki"),ae&2&&(pe+=" mtkb"),ae&4&&(pe+=" mtku"),pe}},{key:"getInlineStyleFromMetadata",value:function(G,X){var pe=this.getForeground(G),ae=this.getFontStyle(G),Se="color: ".concat(X[pe],";");return ae&1&&(Se+="font-style: italic;"),ae&2&&(Se+="font-weight: bold;"),ae&4&&(Se+="text-decoration: underline;"),Se}}]),C}(),t=function(){var C=Object.create(null);return C[0]="symbol-method",C[1]="symbol-function",C[2]="symbol-constructor",C[3]="symbol-field",C[4]="symbol-variable",C[5]="symbol-class",C[6]="symbol-struct",C[7]="symbol-interface",C[8]="symbol-module",C[9]="symbol-property",C[10]="symbol-event",C[11]="symbol-operator",C[12]="symbol-unit",C[13]="symbol-value",C[14]="symbol-constant",C[15]="symbol-enum",C[16]="symbol-enum-member",C[17]="symbol-keyword",C[27]="symbol-snippet",C[18]="symbol-text",C[19]="symbol-color",C[20]="symbol-file",C[21]="symbol-reference",C[22]="symbol-customcolor",C[23]="symbol-folder",C[24]="symbol-type-parameter",C[25]="account",C[26]="issues",function(z){var G=C[z],X=G&&v.d.get(G);return X||(console.info("No codicon found for CompletionItemKind "+z),X=v.b.symbolProperty),X.classNames}}(),l=function(){var C=Object.create(null);return C.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.enumMember=16,C.keyword=17,C.snippet=27,C.text=18,C.color=19,C.file=20,C.reference=21,C.customcolor=22,C.folder=23,C["type-parameter"]=24,C.typeParameter=24,C.account=25,C.issue=26,function(z,G){var X=C[z];return typeof X=="undefined"&&!G&&(X=9),X}}(),p;(function(C){C[C.Invoke=1]="Invoke",C[C.TriggerCharacter=2]="TriggerCharacter",C[C.ContentChange=3]="ContentChange"})(p||(p={}));var w;(function(C){C[C.Text=0]="Text",C[C.Read=1]="Read",C[C.Write=2]="Write"})(w||(w={}));function S(C){return C&&r.a.isUri(C.uri)&&f.a.isIRange(C.range)&&(f.a.isIRange(C.originSelectionRange)||f.a.isIRange(C.targetSelectionRange))}var k;(function(C){var z=new Map;z.set("file",0),z.set("module",1),z.set("namespace",2),z.set("package",3),z.set("class",4),z.set("method",5),z.set("property",6),z.set("field",7),z.set("constructor",8),z.set("enum",9),z.set("interface",10),z.set("function",11),z.set("variable",12),z.set("constant",13),z.set("string",14),z.set("number",15),z.set("boolean",16),z.set("array",17),z.set("object",18),z.set("key",19),z.set("null",20),z.set("enum-member",21),z.set("struct",22),z.set("event",23),z.set("operator",24),z.set("type-parameter",25);var G=new Map;G.set(0,"file"),G.set(1,"module"),G.set(2,"namespace"),G.set(3,"package"),G.set(4,"class"),G.set(5,"method"),G.set(6,"property"),G.set(7,"field"),G.set(8,"constructor"),G.set(9,"enum"),G.set(10,"interface"),G.set(11,"function"),G.set(12,"variable"),G.set(13,"constant"),G.set(14,"string"),G.set(15,"number"),G.set(16,"boolean"),G.set(17,"array"),G.set(18,"object"),G.set(19,"key"),G.set(20,"null"),G.set(21,"enum-member"),G.set(22,"struct"),G.set(23,"event"),G.set(24,"operator"),G.set(25,"type-parameter");function X(Se){return z.get(Se)}C.fromString=X;function pe(Se){return G.get(Se)}C.toString=pe;function ae(Se,Te){var je=G.get(Se),ft=je&&v.d.get("symbol-"+je);return ft||(console.info("No codicon found for SymbolKind "+Se),ft=v.b.symbolProperty),"".concat(Te?"inline":"block"," ").concat(ft.classNames)}C.toCssClassName=ae})(k||(k={}));var T=Object(u.a)(function C(z){Object(c.a)(this,C),this.value=z});T.Comment=new T("comment"),T.Imports=new T("imports"),T.Region=new T("region");var I;(function(C){C[C.Other=0]="Other",C[C.Type=1]="Type",C[C.Parameter=2]="Parameter"})(I||(I={}));var Y=new o.a,$=new o.a,A=new o.a,g=new o.a,b=new o.a,d=new o.a,O=new o.a,E=new o.a,D=new o.a,W=new o.a,te=new o.a,re=new o.a,ye=new o.a,q=new o.a,oe=new o.a,he=new o.a,ue=new o.a,ne=new o.a,se=new o.a,be=new o.a,Z=new o.a,ee=new o.a,ce=new o.a,R=new o.a,y=new n},"u/V1":function(Ie,M,e){},u1OI:function(Ie,M,e){},u8Dt:function(Ie,M,e){var u=e("YESw"),c="__lodash_hash_undefined__",r=Object.prototype,f=r.hasOwnProperty;function o(i){var a=this.__data__;if(u){var n=a[i];return n===c?void 0:n}return f.call(a,i)?a[i]:void 0}Ie.exports=o},uD7z:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("hkzD"),c=u.a.Group},uDWl:function(Ie,M,e){"use strict";e.d(M,"a",function(){return l});var u=e("fWQN"),c=e("mtLc"),r=e("D3Dy"),f=e("/kV6"),o=e("MNsG"),i=new Array(230),a=new Array(112);(function(){for(var p=0;p<a.length;p++)a[p]=-1;function w(S,k){i[S]=k,a[k]=S}w(3,7),w(8,1),w(9,2),w(13,3),w(16,4),w(17,5),w(18,6),w(19,7),w(20,8),w(27,9),w(32,10),w(33,11),w(34,12),w(35,13),w(36,14),w(37,15),w(38,16),w(39,17),w(40,18),w(45,19),w(46,20),w(48,21),w(49,22),w(50,23),w(51,24),w(52,25),w(53,26),w(54,27),w(55,28),w(56,29),w(57,30),w(65,31),w(66,32),w(67,33),w(68,34),w(69,35),w(70,36),w(71,37),w(72,38),w(73,39),w(74,40),w(75,41),w(76,42),w(77,43),w(78,44),w(79,45),w(80,46),w(81,47),w(82,48),w(83,49),w(84,50),w(85,51),w(86,52),w(87,53),w(88,54),w(89,55),w(90,56),w(93,58),w(96,93),w(97,94),w(98,95),w(99,96),w(100,97),w(101,98),w(102,99),w(103,100),w(104,101),w(105,102),w(106,103),w(107,104),w(108,105),w(109,106),w(110,107),w(111,108),w(112,59),w(113,60),w(114,61),w(115,62),w(116,63),w(117,64),w(118,65),w(119,66),w(120,67),w(121,68),w(122,69),w(123,70),w(124,71),w(125,72),w(126,73),w(127,74),w(128,75),w(129,76),w(130,77),w(144,78),w(145,79),w(186,80),w(187,81),w(188,82),w(189,83),w(190,84),w(191,85),w(192,86),w(193,110),w(194,111),w(219,87),w(220,88),w(221,89),w(222,90),w(223,91),w(226,92),w(229,109),r.g?(w(59,80),w(107,81),w(109,83),o.f&&w(224,57)):r.k&&(w(91,57),o.f?w(93,57):w(92,57))})();function n(p){if(p.charCode){var w=String.fromCharCode(p.charCode).toUpperCase();return f.b.fromString(w)}return i[p.keyCode]||0}var v=o.f?256:2048,m=512,h=1024,t=o.f?2048:256,l=function(){function p(w){Object(u.a)(this,p),this._standardKeyboardEventBrand=!0;var S=w;this.browserEvent=S,this.target=S.target,this.ctrlKey=S.ctrlKey,this.shiftKey=S.shiftKey,this.altKey=S.altKey,this.metaKey=S.metaKey,this.keyCode=n(S),this.code=S.code,this.ctrlKey=this.ctrlKey||this.keyCode===5,this.altKey=this.altKey||this.keyCode===6,this.shiftKey=this.shiftKey||this.keyCode===4,this.metaKey=this.metaKey||this.keyCode===57,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}return Object(c.a)(p,[{key:"preventDefault",value:function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}},{key:"toKeybinding",value:function(){return this._asRuntimeKeybinding}},{key:"equals",value:function(S){return this._asKeybinding===S}},{key:"_computeKeybinding",value:function(){var S=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(S=this.keyCode);var k=0;return this.ctrlKey&&(k|=v),this.altKey&&(k|=m),this.shiftKey&&(k|=h),this.metaKey&&(k|=t),k|=S,k}},{key:"_computeRuntimeKeybinding",value:function(){var S=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(S=this.keyCode),new f.e(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,S)}}]),p}()},uM7l:function(Ie,M,e){var u=e("OBhP"),c=4;function r(f){return u(f,c)}Ie.exports=r},"uX+g":function(Ie,M,e){"use strict";e.d(M,"a",function(){return u});function u(c){if(typeof c=="function"){for(var r=arguments.length,f=new Array(r>1?r-1:0),o=1;o<r;o++)f[o-1]=arguments[o];return c.apply(void 0,f)}return c}},udvx:function(Ie,M,e){"use strict";e.d(M,"a",function(){return i});var u=e("HgMQ"),c=e.n(u),r=e("8tI9"),f=e.n(r),o=e("Vhoy");function i(a){for(var n=a.definition;n instanceof o.b;)n=n.definition;return".codicon-".concat(a.id,":before { content: '").concat(n.fontCharacter,"'; }")}},uhBA:function(Ie,M,e){"use strict";var u=Object.prototype.hasOwnProperty,c="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(c=!1));function f(n,v,m){this.fn=n,this.context=v,this.once=m||!1}function o(n,v,m,h,t){if(typeof m!="function")throw new TypeError("The listener must be a function");var l=new f(m,h||n,t),p=c?c+v:v;return n._events[p]?n._events[p].fn?n._events[p]=[n._events[p],l]:n._events[p].push(l):(n._events[p]=l,n._eventsCount++),n}function i(n,v){--n._eventsCount==0?n._events=new r:delete n._events[v]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var v=[],m,h;if(this._eventsCount===0)return v;for(h in m=this._events)u.call(m,h)&&v.push(c?h.slice(1):h);return Object.getOwnPropertySymbols?v.concat(Object.getOwnPropertySymbols(m)):v},a.prototype.listeners=function(v){var m=c?c+v:v,h=this._events[m];if(!h)return[];if(h.fn)return[h.fn];for(var t=0,l=h.length,p=new Array(l);t<l;t++)p[t]=h[t].fn;return p},a.prototype.listenerCount=function(v){var m=c?c+v:v,h=this._events[m];return h?h.fn?1:h.length:0},a.prototype.emit=function(v,m,h,t,l,p){var w=c?c+v:v;if(!this._events[w])return!1;var S=this._events[w],k=arguments.length,T,I;if(S.fn){switch(S.once&&this.removeListener(v,S.fn,void 0,!0),k){case 1:return S.fn.call(S.context),!0;case 2:return S.fn.call(S.context,m),!0;case 3:return S.fn.call(S.context,m,h),!0;case 4:return S.fn.call(S.context,m,h,t),!0;case 5:return S.fn.call(S.context,m,h,t,l),!0;case 6:return S.fn.call(S.context,m,h,t,l,p),!0}for(I=1,T=new Array(k-1);I<k;I++)T[I-1]=arguments[I];S.fn.apply(S.context,T)}else{var Y=S.length,$;for(I=0;I<Y;I++)switch(S[I].once&&this.removeListener(v,S[I].fn,void 0,!0),k){case 1:S[I].fn.call(S[I].context);break;case 2:S[I].fn.call(S[I].context,m);break;case 3:S[I].fn.call(S[I].context,m,h);break;case 4:S[I].fn.call(S[I].context,m,h,t);break;default:if(!T)for($=1,T=new Array(k-1);$<k;$++)T[$-1]=arguments[$];S[I].fn.apply(S[I].context,T)}}return!0},a.prototype.on=function(v,m,h){return o(this,v,m,h,!1)},a.prototype.once=function(v,m,h){return o(this,v,m,h,!0)},a.prototype.removeListener=function(v,m,h,t){var l=c?c+v:v;if(!this._events[l])return this;if(!m)return i(this,l),this;var p=this._events[l];if(p.fn)p.fn===m&&(!t||p.once)&&(!h||p.context===h)&&i(this,l);else{for(var w=0,S=[],k=p.length;w<k;w++)(p[w].fn!==m||t&&!p[w].once||h&&p[w].context!==h)&&S.push(p[w]);S.length?this._events[l]=S.length===1?S[0]:S:i(this,l)}return this},a.prototype.removeAllListeners=function(v){var m;return v?(m=c?c+v:v,this._events[m]&&i(this,m)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=c,a.EventEmitter=a,Ie.exports=a},undH:function(Ie,M,e){},"ut/Y":function(Ie,M,e){var u=e("ZCpW"),c=e("GDhZ"),r=e("zZ0H"),f=e("Z0cm"),o=e("+c4W");function i(a){return typeof a=="function"?a:a==null?r:typeof a=="object"?f(a)?c(a[0],a[1]):u(a):o(a)}Ie.exports=i},v1vZ:function(Ie,M,e){"use strict";e.d(M,"b",function(){return p}),e.d(M,"a",function(){return w}),e.d(M,"c",function(){return Y});var u=e("rAM+"),c=e("fWQN"),r=e("mtLc"),f=e("ic2d"),o=e("t9D7"),i=e("MI8n"),a=e("3/fG"),n=e("3Rsk"),v=e("X+cX"),m=e("Vhoy"),h={IconContribution:"base.contributions.icons"},t=function(){function $(){Object(c.a)(this,$),this._onDidChange=new i.a,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:Object(a.a)("iconDefintion.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:Object(a.a)("iconDefintion.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:"^".concat(m.a.iconNameExpression,"$"),enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}return Object(r.a)($,[{key:"registerIcon",value:function(g,b,d,O){var E=this.iconsById[g];if(E){if(d&&!E.description){E.description=d,this.iconSchema.properties[g].markdownDescription="".concat(d," $(").concat(g,")");var D=this.iconReferenceSchema.enum.indexOf(g);D!==-1&&(this.iconReferenceSchema.enumDescriptions[D]=d),this._onDidChange.fire()}return E}var W={id:g,description:d,defaults:b,deprecationMessage:O};this.iconsById[g]=W;var te={$ref:"#/definitions/icons"};return O&&(te.deprecationMessage=O),d&&(te.markdownDescription="".concat(d,": $(").concat(g,")")),this.iconSchema.properties[g]=te,this.iconReferenceSchema.enum.push(g),this.iconReferenceSchema.enumDescriptions.push(d||""),this._onDidChange.fire(),{id:g}}},{key:"getIcons",value:function(){var g=this;return Object.keys(this.iconsById).map(function(b){return g.iconsById[b]})}},{key:"getIcon",value:function(g){return this.iconsById[g]}},{key:"getIconSchema",value:function(){return this.iconSchema}},{key:"getIconFont",value:function(g){return this.iconFontsById[g]}},{key:"toString",value:function(){var g=this,b=function(he,ue){return he.id.localeCompare(ue.id)},d=function(he){for(;o.d.isThemeIcon(he.defaults);)he=g.iconsById[he.defaults.id];return"codicon codicon-".concat(he?he.id:"")},O=[];O.push("| preview | identifier | default codicon ID | description"),O.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");var E=Object.keys(this.iconsById).map(function(oe){return g.iconsById[oe]}),D=Object(u.a)(E.filter(function(oe){return!!oe.description}).sort(b)),W;try{for(D.s();!(W=D.n()).done;){var te=W.value;O.push('|<i class="'.concat(d(te),'"></i>|').concat(te.id,"|").concat(o.d.isThemeIcon(te.defaults)?te.defaults.id:te.id,"|").concat(te.description||"","|"))}}catch(oe){D.e(oe)}finally{D.f()}O.push("| preview | identifier "),O.push("| ----------- | --------------------------------- |");var re=Object(u.a)(E.filter(function(oe){return!o.d.isThemeIcon(oe.defaults)}).sort(b)),ye;try{for(re.s();!(ye=re.n()).done;){var q=ye.value;O.push('|<i class="'.concat(d(q),'"></i>|').concat(q.id,"|"))}}catch(oe){re.e(oe)}finally{re.f()}return O.join(`
- `)}}]),$}(),l=new t;f.a.add(h.IconContribution,l);function p($,A,g,b){return l.registerIcon($,A,g,b)}function w(){return l}function S(){var $=Object(u.a)(m.d.all),A;try{for($.s();!(A=$.n()).done;){var g=A.value;l.registerIcon(g.id,g.definition,g.description)}}catch(b){$.e(b)}finally{$.f()}m.d.onDidRegister(function(b){return l.registerIcon(b.id,b.definition,b.description)})}S();var k="vscode://schemas/icons",T=f.a.as(n.a.JSONContribution);T.registerSchema(k,l.getIconSchema());var I=new v.e(function(){return T.notifySchemaChanged(k)},200);l.onDidChange(function(){I.isScheduled()||I.schedule()});var Y=p("widget-close",m.b.close,Object(a.a)("widgetClose","Icon for the close action in widgets."))},v3Qx:function(Ie,M){var e={}.toString;Ie.exports=Array.isArray||function(u){return e.call(u)=="[object Array]"}},v56E:function(Ie,M,e){},v8eK:function(Ie,M,e){var u=e("XGnz"),c=e("EA7m"),r=e("LGYb"),f=e("3L66"),o=c(function(i){return r(u(i,1,f,!0))});Ie.exports=o},vATl:function(Ie,M,e){"use strict";e.d(M,"a",function(){return $}),e.d(M,"b",function(){return A}),e.d(M,"d",function(){return g}),e.d(M,"c",function(){return b});var u=e("w4Tj"),c=e("oZsa"),r=e("yKVA"),f=e("879j"),o=e("fWQN"),i=e("mtLc"),a=e("N0LK"),n=e("aokT"),v=e("JQT/"),m=e("pmY6"),h=e("tS8v"),t=e("sswD"),l=e("T8No"),p=e("24hK"),w=e("Cg/j"),S=e("9fML"),k=e("3/fG"),T=Object(w.c)("IEditorCancelService"),I=new l.c("cancellableOperation",!1,Object(k.a)("cancellableOperation","Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));Object(S.b)(T,function(){function d(){Object(o.a)(this,d),this._tokens=new WeakMap}return Object(i.a)(d,[{key:"add",value:function(E,D){var W=this._tokens.get(E);W||(W=E.invokeWithinContext(function(re){var ye=I.bindTo(re.get(l.b)),q=new p.a;return{key:ye,tokens:q}}),this._tokens.set(E,W));var te;return W.key.set(!0),te=W.tokens.push(D),function(){te&&(te(),W.key.set(!W.tokens.isEmpty()),te=void 0)}}},{key:"cancel",value:function(E){var D=this._tokens.get(E);if(!!D){var W=D.tokens.pop();W&&(W.cancel(),D.key.set(!D.tokens.isEmpty()))}}}]),d}(),!0);var Y=function(d){Object(r.a)(E,d);var O=Object(f.a)(E);function E(D,W){var te;return Object(o.a)(this,E),te=O.call(this,W),te.editor=D,te._unregister=D.invokeWithinContext(function(re){return re.get(T).add(D,Object(h.a)(te))}),te}return Object(i.a)(E,[{key:"dispose",value:function(){this._unregister(),Object(u.a)(Object(c.a)(E.prototype),"dispose",this).call(this)}}]),E}(v.b);Object(t.k)(new(function(d){Object(r.a)(E,d);var O=Object(f.a)(E);function E(){return Object(o.a)(this,E),O.call(this,{id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:I})}return Object(i.a)(E,[{key:"runEditorCommand",value:function(W,te){W.get(T).cancel(te)}}]),E}(t.c)));var $=function(){function d(O,E){if(Object(o.a)(this,d),this.flags=E,(this.flags&1)!=0){var D=O.getModel();this.modelVersionId=D?a.w("{0}#{1}",D.uri.toString(),D.getVersionId()):null}else this.modelVersionId=null;(this.flags&4)!=0?this.position=O.getPosition():this.position=null,(this.flags&2)!=0?this.selection=O.getSelection():this.selection=null,(this.flags&8)!=0?(this.scrollLeft=O.getScrollLeft(),this.scrollTop=O.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}return Object(i.a)(d,[{key:"_equals",value:function(E){if(!(E instanceof d))return!1;var D=E;return!(this.modelVersionId!==D.modelVersionId||this.scrollLeft!==D.scrollLeft||this.scrollTop!==D.scrollTop||!this.position&&D.position||this.position&&!D.position||this.position&&D.position&&!this.position.equals(D.position)||!this.selection&&D.selection||this.selection&&!D.selection||this.selection&&D.selection&&!this.selection.equalsRange(D.selection))}},{key:"validate",value:function(E){return this._equals(new d(E,this.flags))}}]),d}(),A=function(d){Object(r.a)(E,d);var O=Object(f.a)(E);function E(D,W,te,re){var ye;return Object(o.a)(this,E),ye=O.call(this,D,re),ye._listener=new m.b,W&4&&ye._listener.add(D.onDidChangeCursorPosition(function(q){(!te||!n.a.containsPosition(te,q.position))&&ye.cancel()})),W&2&&ye._listener.add(D.onDidChangeCursorSelection(function(q){(!te||!n.a.containsRange(te,q.selection))&&ye.cancel()})),W&8&&ye._listener.add(D.onDidScrollChange(function(q){return ye.cancel()})),W&1&&(ye._listener.add(D.onDidChangeModel(function(q){return ye.cancel()})),ye._listener.add(D.onDidChangeModelContent(function(q){return ye.cancel()}))),ye}return Object(i.a)(E,[{key:"dispose",value:function(){this._listener.dispose(),Object(u.a)(Object(c.a)(E.prototype),"dispose",this).call(this)}}]),E}(Y),g=function(d){Object(r.a)(E,d);var O=Object(f.a)(E);function E(D,W){var te;return Object(o.a)(this,E),te=O.call(this,W),te._listener=D.onDidChangeContent(function(){return te.cancel()}),te}return Object(i.a)(E,[{key:"dispose",value:function(){this._listener.dispose(),Object(u.a)(Object(c.a)(E.prototype),"dispose",this).call(this)}}]),E}(v.b),b=function(){function d(O,E,D){Object(o.a)(this,d),this._visiblePosition=O,this._visiblePositionScrollDelta=E,this._cursorPosition=D}return Object(i.a)(d,[{key:"restore",value:function(E){if(this._visiblePosition){var D=E.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);E.setScrollTop(D+this._visiblePositionScrollDelta)}}},{key:"restoreRelativeVerticalPositionOfCursor",value:function(E){var D=E.getPosition();if(!(!this._cursorPosition||!D)){var W=E.getTopForLineNumber(D.lineNumber)-E.getTopForLineNumber(this._cursorPosition.lineNumber);E.setScrollTop(E.getScrollTop()+W)}}}],[{key:"capture",value:function(E){var D=null,W=0;if(E.getScrollTop()!==0){var te=E.getVisibleRanges();if(te.length>0){D=te[0].getStartPosition();var re=E.getTopForPosition(D.lineNumber,D.column);W=E.getScrollTop()-re}}return new d(D,W,E.getPosition())}}]),d}()},vBjj:function(Ie,M,e){"use strict";e.d(M,"a",function(){return k}),e.d(M,"c",function(){return T});var u=e("+BJd"),c=e("mr32"),r=e("G3dp"),f=e("VTBJ"),o=e("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"}}]},name:"camera",theme:"outlined"},a=i,n=e("6VBw"),v=function(A,g){return o.createElement(n.a,Object(f.a)(Object(f.a)({},A),{},{ref:g,icon:a}))};v.displayName="CameraOutlined";var m=o.forwardRef(v),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z"}}]},name:"carry-out",theme:"outlined"},t=h,l=function(A,g){return o.createElement(n.a,Object(f.a)(Object(f.a)({},A),{},{ref:g,icon:t}))};l.displayName="CarryOutOutlined";var p=o.forwardRef(l),w=e("HOj0"),S=e("nKUr"),k={UNKNOWN:0,CREATE:1,DEVELOP:2,DEBUG:3,RELEASE:4,ONLINE:5,CANCEL:6},T=function(A){return!!(A&&A===k.CANCEL)},I=function(A){var g=A.step,b=function(){switch(g){case k.DEVELOP:return Object(S.jsx)(c.a,{icon:Object(S.jsx)(r.a,{}),color:"default",children:Object(w.a)("global.table.lifecycle.dev")});case k.RELEASE:return Object(S.jsx)(c.a,{icon:Object(S.jsx)(m,{}),color:"green",children:Object(w.a)("global.table.lifecycle.publish")});case k.ONLINE:return Object(S.jsx)(c.a,{icon:Object(S.jsx)(p,{}),color:"blue",children:Object(w.a)("global.table.lifecycle.online")});default:return}};return Object(S.jsx)(S.Fragment,{children:b()})},Y=M.b=I},"vN+2":function(Ie,M){function e(){}Ie.exports=e},vl9R:function(Ie,M,e){"use strict";e.d(M,"b",function(){return f}),e.d(M,"a",function(){return o});var u=e("fWQN"),c=e("mtLc"),r=Object.prototype.hasOwnProperty;function f(i,a){var n=function(t){if(r.call(i,t)){var l=a({key:t,value:i[t]},function(){delete i[t]});if(l===!1)return{v:void 0}}};for(var v in i){var m=n(v);if(typeof m=="object")return m.v}}var o=function(){function i(){Object(u.a)(this,i),this.map=new Map}return Object(c.a)(i,[{key:"add",value:function(n,v){var m=this.map.get(n);m||(m=new Set,this.map.set(n,m)),m.add(v)}},{key:"delete",value:function(n,v){var m=this.map.get(n);!m||(m.delete(v),m.size===0&&this.map.delete(n))}},{key:"forEach",value:function(n,v){var m=this.map.get(n);!m||m.forEach(v)}}]),i}()},"w/wX":function(Ie,M,e){var u=e("QqLw"),c=e("ExA7"),r="[object Set]";function f(o){return c(o)&&u(o)==r}Ie.exports=f},w4Tj:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("oZsa");function c(f,o){for(;!Object.prototype.hasOwnProperty.call(f,o)&&(f=Object(u.a)(f),f!==null););return f}function r(){return typeof Reflect!="undefined"&&Reflect.get?r=Reflect.get.bind():r=function(o,i,a){var n=c(o,i);if(!!n){var v=Object.getOwnPropertyDescriptor(n,i);return v.get?v.get.call(arguments.length<3?o:a):v.value}},r.apply(this,arguments)}},w802:function(Ie,M){Ie.exports="2.1.8"},wCAj:function(Ie,M,e){"use strict";var u=e("U8pU"),c=e("rePB"),r=e("wx14"),f=e("ODXe"),o=e("TSYQ"),i=e.n(o),a=e("6RRn"),n=e("wRmb"),v=e("wCXF"),m=e("bT9E"),h=e("q1tI"),t=e("H84U"),l=e("XI05"),p=e("3Nzz"),w=e("5OYt"),S=e("D7Yy"),k=e("NUBc"),T=e("W9HT"),I=e("zAh6");function Y(Pt){return null}var $=Y;function A(Pt){return null}var g=A;function b(Pt){return function(_n){var Kn,qn=_n.prefixCls,rr=_n.onExpand,Rn=_n.record,mr=_n.expanded,ar=_n.expandable,sr="".concat(qn,"-row-expand-icon");return h.createElement("button",{type:"button",onClick:function(br){rr(Rn,br),br.stopPropagation()},className:i()(sr,(Kn={},Object(c.a)(Kn,"".concat(sr,"-spaced"),!ar),Object(c.a)(Kn,"".concat(sr,"-expanded"),ar&&mr),Object(c.a)(Kn,"".concat(sr,"-collapsed"),ar&&!mr),Kn)),"aria-label":mr?Pt.collapse:Pt.expand,"aria-expanded":mr})}}var d=b,O=e("KQm4");function E(Pt,gn){return"key"in Pt&&Pt.key!==void 0&&Pt.key!==null?Pt.key:Pt.dataIndex?Array.isArray(Pt.dataIndex)?Pt.dataIndex.join("."):Pt.dataIndex:gn}function D(Pt,gn){return gn?"".concat(gn,"-").concat(Pt):"".concat(Pt)}function W(Pt,gn){return typeof Pt=="function"?Pt(gn):Pt}function te(Pt,gn){var _n=W(Pt,gn);return Object.prototype.toString.call(_n)==="[object Object]"?"":_n}var re=e("VTBJ"),ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},q=ye,oe=e("6VBw"),he=function(gn,_n){return h.createElement(oe.a,Object(re.a)(Object(re.a)({},gn),{},{ref:_n,icon:q}))};he.displayName="FilterFilled";var ue=h.forwardRef(he),ne=e("Y+p1"),se=e.n(ne),be=e("2/Rp"),Z=e("kaz8"),ee=e("jsC+"),ce=e("ECub"),R=e("BvKs"),y=e("UuAG"),C=e("9yH6"),z=e("MJZm"),G=e("hkKa");function X(Pt){var gn=h.useRef(Pt),_n=Object(G.a)();return[function(){return gn.current},function(Kn){gn.current=Kn,_n()}]}var pe=e("l+S1"),ae=e("5rEg");function Se(Pt){var gn=Pt.value,_n=Pt.onChange,Kn=Pt.filterSearch,qn=Pt.tablePrefixCls,rr=Pt.locale;return Kn?h.createElement("div",{className:"".concat(qn,"-filter-dropdown-search")},h.createElement(ae.a,{prefix:h.createElement(pe.a,null),placeholder:rr.filterSearchPlaceholder,onChange:_n,value:gn,htmlSize:1,className:"".concat(qn,"-filter-dropdown-search-input")})):null}var Te=Se,je=e("4IlW"),ft=function(gn){var _n=gn.keyCode;_n===je.a.ENTER&&gn.stopPropagation()},fe=function(gn){return h.createElement("div",{className:gn.className,onClick:function(Kn){return Kn.stopPropagation()},onKeyDown:ft},gn.children)},ie=fe;function ge(Pt){return Pt.some(function(gn){var _n=gn.children;return _n})}function Ve(Pt,gn){return typeof gn=="string"||typeof gn=="number"?gn==null?void 0:gn.toString().toLowerCase().includes(Pt.trim().toLowerCase()):!1}function Ee(Pt){var gn=Pt.filters,_n=Pt.prefixCls,Kn=Pt.filteredKeys,qn=Pt.filterMultiple,rr=Pt.searchValue,Rn=Pt.filterSearch;return gn.map(function(mr,ar){var sr=String(mr.value);if(mr.children)return{key:sr||ar,label:mr.text,popupClassName:"".concat(_n,"-dropdown-submenu"),children:Ee({filters:mr.children,prefixCls:_n,filteredKeys:Kn,filterMultiple:qn,searchValue:rr,filterSearch:Rn})};var yr=qn?Z.a:C.a,br={key:mr.value!==void 0?sr:ar,label:h.createElement(h.Fragment,null,h.createElement(yr,{checked:Kn.includes(sr)}),h.createElement("span",null,mr.text))};return rr.trim()?typeof Rn=="function"?Rn(rr,mr)?br:null:Ve(rr,mr.text)?br:null:br})}function Me(Pt){var gn,_n=Pt.tablePrefixCls,Kn=Pt.prefixCls,qn=Pt.column,rr=Pt.dropdownPrefixCls,Rn=Pt.columnKey,mr=Pt.filterMultiple,ar=Pt.filterMode,sr=ar===void 0?"menu":ar,yr=Pt.filterSearch,br=yr===void 0?!1:yr,_r=Pt.filterState,li=Pt.triggerFilter,xi=Pt.locale,Mi=Pt.children,Fr=Pt.getPopupContainer,ur=qn.filterDropdownOpen,Ti=qn.onFilterDropdownOpenChange,Xi=qn.filterDropdownVisible,ca=qn.onFilterDropdownVisibleChange,Zi=qn.filterResetToDefaultFilteredValue,xa=qn.defaultFilteredValue,va=h.useState(!1),Ma=Object(f.a)(va,2),_a=Ma[0],na=Ma[1],sa=!!(_r&&(((gn=_r.filteredKeys)===null||gn===void 0?void 0:gn.length)||_r.forceFiltered)),Ai=function(ei){na(ei),Ti==null||Ti(ei),ca==null||ca(ei)},ba;typeof ur=="boolean"?ba=ur:ba=typeof Xi=="boolean"?Xi:_a;var ea=_r==null?void 0:_r.filteredKeys,mn=X(ea||[]),It=Object(f.a)(mn,2),Ue=It[0],Ze=It[1],Pe=function(ei){var ki=ei.selectedKeys;Ze(ki)},mt=function(ei,ki){var ua=ki.node,Qi=ki.checked;Pe(mr?{selectedKeys:ei}:{selectedKeys:Qi&&ua.key?[ua.key]:[]})};h.useEffect(function(){!_a||Pe({selectedKeys:ea||[]})},[ea]);var xt=h.useState([]),cn=Object(f.a)(xt,2),Ut=cn[0],wt=cn[1],Pn=function(ei){wt(ei)},an=h.useState(""),Dn=Object(f.a)(an,2),Tn=Dn[0],Zn=Dn[1],Mr=function(ei){var ki=ei.target.value;Zn(ki)};h.useEffect(function(){_a||Zn("")},[_a]);var xr=function(ei){var ki=ei&&ei.length?ei:null;if(ki===null&&(!_r||!_r.filteredKeys)||se()(ki,_r==null?void 0:_r.filteredKeys))return null;li({column:qn,key:Rn,filteredKeys:ki})},Vr=function(){Ai(!1),xr(Ue())},Dr=function(){var ei=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1},ki=ei.confirm,ua=ei.closeDropdown;ki&&xr([]),ua&&Ai(!1),Zn(""),Ze(Zi?(xa||[]).map(function(Qi){return String(Qi)}):[])},dr=function(){var ei=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0},ki=ei.closeDropdown;ki&&Ai(!1),xr(Ue())},gt=function(ei){ei&&ea!==void 0&&Ze(ea||[]),Ai(ei),!ei&&!qn.filterDropdown&&Vr()},Rr=i()(Object(c.a)({},"".concat(rr,"-menu-without-submenu"),!ge(qn.filters||[]))),ci=function(ei){if(ei.target.checked){var ki=Xe(qn==null?void 0:qn.filters).map(function(ua){return String(ua)});Ze(ki)}else Ze([])},ai=function Lr(ei){var ki=ei.filters;return(ki||[]).map(function(ua,Qi){var Br=String(ua.value),ga={title:ua.text,key:ua.value!==void 0?Br:Qi};return ua.children&&(ga.children=Lr({filters:ua.children})),ga})},bi=function Lr(ei){var ki;return Object(r.a)(Object(r.a)({},ei),{text:ei.title,value:ei.key,children:((ki=ei.children)===null||ki===void 0?void 0:ki.map(function(ua){return Lr(ua)}))||[]})},zr;if(typeof qn.filterDropdown=="function")zr=qn.filterDropdown({prefixCls:"".concat(rr,"-custom"),setSelectedKeys:function(ei){return Pe({selectedKeys:ei})},selectedKeys:Ue(),confirm:dr,clearFilters:Dr,filters:qn.filters,visible:ba,close:function(){Ai(!1)}});else if(qn.filterDropdown)zr=qn.filterDropdown;else{var Hi=Ue()||[],hi=function(){return(qn.filters||[]).length===0?h.createElement(ce.a,{image:ce.a.PRESENTED_IMAGE_SIMPLE,description:xi.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):sr==="tree"?h.createElement(h.Fragment,null,h.createElement(Te,{filterSearch:br,value:Tn,onChange:Mr,tablePrefixCls:_n,locale:xi}),h.createElement("div",{className:"".concat(_n,"-filter-dropdown-tree")},mr?h.createElement(Z.a,{checked:Hi.length===Xe(qn.filters).length,indeterminate:Hi.length>0&&Hi.length<Xe(qn.filters).length,className:"".concat(_n,"-filter-dropdown-checkall"),onChange:ci},xi.filterCheckall):null,h.createElement(z.a,{checkable:!0,selectable:!1,blockNode:!0,multiple:mr,checkStrictly:!mr,className:"".concat(rr,"-menu"),onCheck:mt,checkedKeys:Hi,selectedKeys:Hi,showIcon:!1,treeData:ai({filters:qn.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Tn.trim()?function(ei){return typeof br=="function"?br(Tn,bi(ei)):Ve(Tn,ei.title)}:void 0}))):h.createElement(h.Fragment,null,h.createElement(Te,{filterSearch:br,value:Tn,onChange:Mr,tablePrefixCls:_n,locale:xi}),h.createElement(R.a,{selectable:!0,multiple:mr,prefixCls:"".concat(rr,"-menu"),className:Rr,onSelect:Pe,onDeselect:Pe,selectedKeys:Hi,getPopupContainer:Fr,openKeys:Ut,onOpenChange:Pn,items:Ee({filters:qn.filters||[],filterSearch:br,prefixCls:Kn,filteredKeys:Ue(),filterMultiple:mr,searchValue:Tn})}))},Ci=function(){return Zi?se()((xa||[]).map(function(ei){return String(ei)}),Hi):Hi.length===0};zr=h.createElement(h.Fragment,null,hi(),h.createElement("div",{className:"".concat(Kn,"-dropdown-btns")},h.createElement(be.a,{type:"link",size:"small",disabled:Ci(),onClick:function(){return Dr()}},xi.filterReset),h.createElement(be.a,{type:"primary",size:"small",onClick:Vr},xi.filterConfirm)))}qn.filterDropdown&&(zr=h.createElement(y.a,{selectable:void 0},zr));var Ii=function(){return h.createElement(ie,{className:"".concat(Kn,"-dropdown")},zr)},Mn;typeof qn.filterIcon=="function"?Mn=qn.filterIcon(sa):qn.filterIcon?Mn=qn.filterIcon:Mn=h.createElement(ue,null);var nr=h.useContext(t.b),cr=nr.direction;return h.createElement("div",{className:"".concat(Kn,"-column")},h.createElement("span",{className:"".concat(_n,"-column-title")},Mi),h.createElement(ee.a,{dropdownRender:Ii,trigger:["click"],open:ba,onOpenChange:gt,getPopupContainer:Fr,placement:cr==="rtl"?"bottomLeft":"bottomRight"},h.createElement("span",{role:"button",tabIndex:-1,className:i()("".concat(Kn,"-trigger"),{active:sa}),onClick:function(ei){ei.stopPropagation()}},Mn)))}var _e=Me;function Re(Pt,gn,_n){var Kn=[];return(Pt||[]).forEach(function(qn,rr){var Rn,mr=D(rr,_n);if(qn.filters||"filterDropdown"in qn||"onFilter"in qn)if("filteredValue"in qn){var ar=qn.filteredValue;"filterDropdown"in qn||(ar=(Rn=ar==null?void 0:ar.map(String))!==null&&Rn!==void 0?Rn:ar),Kn.push({column:qn,key:E(qn,mr),filteredKeys:ar,forceFiltered:qn.filtered})}else Kn.push({column:qn,key:E(qn,mr),filteredKeys:gn&&qn.defaultFilteredValue?qn.defaultFilteredValue:void 0,forceFiltered:qn.filtered});"children"in qn&&(Kn=[].concat(Object(O.a)(Kn),Object(O.a)(Re(qn.children,gn,mr))))}),Kn}function et(Pt,gn,_n,Kn,qn,rr,Rn,mr){return _n.map(function(ar,sr){var yr=D(sr,mr),br=ar.filterMultiple,_r=br===void 0?!0:br,li=ar.filterMode,xi=ar.filterSearch,Mi=ar;if(Mi.filters||Mi.filterDropdown){var Fr=E(Mi,yr),ur=Kn.find(function(Ti){var Xi=Ti.key;return Fr===Xi});Mi=Object(r.a)(Object(r.a)({},Mi),{title:function(Xi){return h.createElement(_e,{tablePrefixCls:Pt,prefixCls:"".concat(Pt,"-filter"),dropdownPrefixCls:gn,column:Mi,columnKey:Fr,filterState:ur,filterMultiple:_r,filterMode:li,filterSearch:xi,triggerFilter:qn,locale:Rn,getPopupContainer:rr},W(ar.title,Xi))}})}return"children"in Mi&&(Mi=Object(r.a)(Object(r.a)({},Mi),{children:et(Pt,gn,Mi.children,Kn,qn,rr,Rn,yr)})),Mi})}function Xe(Pt){var gn=[];return(Pt||[]).forEach(function(_n){var Kn=_n.value,qn=_n.children;gn.push(Kn),qn&&(gn=[].concat(Object(O.a)(gn),Object(O.a)(Xe(qn))))}),gn}function it(Pt){var gn={};return Pt.forEach(function(_n){var Kn=_n.key,qn=_n.filteredKeys,rr=_n.column,Rn=rr.filters,mr=rr.filterDropdown;if(mr)gn[Kn]=qn||null;else if(Array.isArray(qn)){var ar=Xe(Rn);gn[Kn]=ar.filter(function(sr){return qn.includes(String(sr))})}else gn[Kn]=null}),gn}function bt(Pt,gn){return gn.reduce(function(_n,Kn){var qn=Kn.column,rr=qn.onFilter,Rn=qn.filters,mr=Kn.filteredKeys;return rr&&mr&&mr.length?_n.filter(function(ar){return mr.some(function(sr){var yr=Xe(Rn),br=yr.findIndex(function(li){return String(li)===String(sr)}),_r=br!==-1?yr[br]:sr;return rr(_r,ar)})}):_n},Pt)}function Ct(Pt){var gn=Pt.prefixCls,_n=Pt.dropdownPrefixCls,Kn=Pt.mergedColumns,qn=Pt.onFilterChange,rr=Pt.getPopupContainer,Rn=Pt.locale,mr=h.useState(function(){return Re(Kn,!0)}),ar=Object(f.a)(mr,2),sr=ar[0],yr=ar[1],br=h.useMemo(function(){var Mi=Re(Kn,!1),Fr=!0,ur=!0;return Mi.forEach(function(Ti){var Xi=Ti.filteredKeys;Xi!==void 0?Fr=!1:ur=!1}),Fr?sr:Mi},[Kn,sr]),_r=h.useMemo(function(){return it(br)},[br]),li=function(Fr){var ur=br.filter(function(Ti){var Xi=Ti.key;return Xi!==Fr.key});ur.push(Fr),yr(ur),qn(it(ur),ur)},xi=function(Fr){return et(gn,_n,Fr,br,li,rr,Rn)};return[xi,br,_r]}var Bt=Ct,qe=e("YWTS"),st=e("EjJw"),ut=e("Gz7P"),nt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},kt=nt,Sn=function(gn,_n){return h.createElement(oe.a,Object(re.a)(Object(re.a)({},gn),{},{ref:_n,icon:kt}))};Sn.displayName="CaretDownOutlined";var Tt=h.forwardRef(Sn),ht={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Rt=ht,Ft=function(gn,_n){return h.createElement(oe.a,Object(re.a)(Object(re.a)({},gn),{},{ref:_n,icon:Rt}))};Ft.displayName="CaretUpOutlined";var nn=h.forwardRef(Ft),bn=e("3S7+"),sn="ascend",un="descend";function Ht(Pt){return Object(u.a)(Pt.sorter)==="object"&&typeof Pt.sorter.multiple=="number"?Pt.sorter.multiple:!1}function jn(Pt){return typeof Pt=="function"?Pt:Pt&&Object(u.a)(Pt)==="object"&&Pt.compare?Pt.compare:!1}function Ln(Pt,gn){return gn?Pt[Pt.indexOf(gn)+1]:Pt[0]}function Un(Pt,gn,_n){var Kn=[];function qn(rr,Rn){Kn.push({column:rr,key:E(rr,Rn),multiplePriority:Ht(rr),sortOrder:rr.sortOrder})}return(Pt||[]).forEach(function(rr,Rn){var mr=D(Rn,_n);rr.children?("sortOrder"in rr&&qn(rr,mr),Kn=[].concat(Object(O.a)(Kn),Object(O.a)(Un(rr.children,gn,mr)))):rr.sorter&&("sortOrder"in rr?qn(rr,mr):gn&&rr.defaultSortOrder&&Kn.push({column:rr,key:E(rr,mr),multiplePriority:Ht(rr),sortOrder:rr.defaultSortOrder}))}),Kn}function lt(Pt,gn,_n,Kn,qn,rr,Rn,mr){return(gn||[]).map(function(ar,sr){var yr=D(sr,mr),br=ar;if(br.sorter){var _r=br.sortDirections||qn,li=br.showSorterTooltip===void 0?Rn:br.showSorterTooltip,xi=E(br,yr),Mi=_n.find(function(na){var sa=na.key;return sa===xi}),Fr=Mi?Mi.sortOrder:null,ur=Ln(_r,Fr),Ti=_r.includes(sn)&&h.createElement(nn,{className:i()("".concat(Pt,"-column-sorter-up"),{active:Fr===sn}),role:"presentation"}),Xi=_r.includes(un)&&h.createElement(Tt,{className:i()("".concat(Pt,"-column-sorter-down"),{active:Fr===un}),role:"presentation"}),ca=rr||{},Zi=ca.cancelSort,xa=ca.triggerAsc,va=ca.triggerDesc,Ma=Zi;ur===un?Ma=va:ur===sn&&(Ma=xa);var _a=Object(u.a)(li)==="object"?li:{title:Ma};br=Object(r.a)(Object(r.a)({},br),{className:i()(br.className,Object(c.a)({},"".concat(Pt,"-column-sort"),Fr)),title:function(sa){var Ai=h.createElement("div",{className:"".concat(Pt,"-column-sorters")},h.createElement("span",{className:"".concat(Pt,"-column-title")},W(ar.title,sa)),h.createElement("span",{className:i()("".concat(Pt,"-column-sorter"),Object(c.a)({},"".concat(Pt,"-column-sorter-full"),!!(Ti&&Xi)))},h.createElement("span",{className:"".concat(Pt,"-column-sorter-inner")},Ti,Xi)));return li?h.createElement(bn.a,Object(r.a)({},_a),Ai):Ai},onHeaderCell:function(sa){var Ai=ar.onHeaderCell&&ar.onHeaderCell(sa)||{},ba=Ai.onClick,ea=Ai.onKeyDown;Ai.onClick=function(Ue){Kn({column:ar,key:xi,sortOrder:ur,multiplePriority:Ht(ar)}),ba==null||ba(Ue)},Ai.onKeyDown=function(Ue){Ue.keyCode===je.a.ENTER&&(Kn({column:ar,key:xi,sortOrder:ur,multiplePriority:Ht(ar)}),ea==null||ea(Ue))};var mn=te(ar.title,{}),It=mn==null?void 0:mn.toString();return Fr?Ai["aria-sort"]=Fr==="ascend"?"ascending":"descending":Ai["aria-label"]=It||"",Ai.className=i()(Ai.className,"".concat(Pt,"-column-has-sorters")),Ai.tabIndex=0,ar.ellipsis&&(Ai.title=(mn!=null?mn:"").toString()),Ai}})}return"children"in br&&(br=Object(r.a)(Object(r.a)({},br),{children:lt(Pt,br.children,_n,Kn,qn,rr,Rn,yr)})),br})}function Nt(Pt){var gn=Pt.column,_n=Pt.sortOrder;return{column:gn,order:_n,field:gn.dataIndex,columnKey:gn.key}}function zt(Pt){var gn=Pt.filter(function(_n){var Kn=_n.sortOrder;return Kn}).map(Nt);return gn.length===0&&Pt.length?Object(r.a)(Object(r.a)({},Nt(Pt[Pt.length-1])),{column:void 0}):gn.length<=1?gn[0]||{}:gn}function en(Pt,gn,_n){var Kn=gn.slice().sort(function(Rn,mr){return mr.multiplePriority-Rn.multiplePriority}),qn=Pt.slice(),rr=Kn.filter(function(Rn){var mr=Rn.column.sorter,ar=Rn.sortOrder;return jn(mr)&&ar});return rr.length?qn.sort(function(Rn,mr){for(var ar=0;ar<rr.length;ar+=1){var sr=rr[ar],yr=sr.column.sorter,br=sr.sortOrder,_r=jn(yr);if(_r&&br){var li=_r(Rn,mr,br);if(li!==0)return br===sn?li:-li}}return 0}).map(function(Rn){var mr=Rn[_n];return mr?Object(r.a)(Object(r.a)({},Rn),Object(c.a)({},_n,en(mr,gn,_n))):Rn}):qn}function tn(Pt){var gn=Pt.prefixCls,_n=Pt.mergedColumns,Kn=Pt.onSorterChange,qn=Pt.sortDirections,rr=Pt.tableLocale,Rn=Pt.showSorterTooltip,mr=h.useState(Un(_n,!0)),ar=Object(f.a)(mr,2),sr=ar[0],yr=ar[1],br=h.useMemo(function(){var Fr=!0,ur=Un(_n,!1);if(!ur.length)return sr;var Ti=[];function Xi(Zi){Fr?Ti.push(Zi):Ti.push(Object(r.a)(Object(r.a)({},Zi),{sortOrder:null}))}var ca=null;return ur.forEach(function(Zi){ca===null?(Xi(Zi),Zi.sortOrder&&(Zi.multiplePriority===!1?Fr=!1:ca=!0)):(ca&&Zi.multiplePriority!==!1||(Fr=!1),Xi(Zi))}),Ti},[_n,sr]),_r=h.useMemo(function(){var Fr=br.map(function(ur){var Ti=ur.column,Xi=ur.sortOrder;return{column:Ti,order:Xi}});return{sortColumns:Fr,sortColumn:Fr[0]&&Fr[0].column,sortOrder:Fr[0]&&Fr[0].order}},[br]);function li(Fr){var ur;Fr.multiplePriority===!1||!br.length||br[0].multiplePriority===!1?ur=[Fr]:ur=[].concat(Object(O.a)(br.filter(function(Ti){var Xi=Ti.key;return Xi!==Fr.key})),[Fr]),yr(ur),Kn(zt(ur),ur)}var xi=function(ur){return lt(gn,ur,br,li,qn,rr,Rn)},Mi=function(){return zt(br)};return[xi,br,_r,Mi]}function wn(Pt,gn){return Pt.map(function(_n){var Kn=Object(r.a)({},_n);return Kn.title=W(_n.title,gn),"children"in Kn&&(Kn.children=wn(Kn.children,gn)),Kn})}function on(Pt){var gn=h.useCallback(function(_n){return wn(_n,Pt)},[Pt]);return[gn]}var vn=[];function dt(Pt,gn){var _n,Kn=Pt.prefixCls,qn=Pt.className,rr=Pt.style,Rn=Pt.size,mr=Pt.bordered,ar=Pt.dropdownPrefixCls,sr=Pt.dataSource,yr=Pt.pagination,br=Pt.rowSelection,_r=Pt.rowKey,li=_r===void 0?"key":_r,xi=Pt.rowClassName,Mi=Pt.columns,Fr=Pt.children,ur=Pt.childrenColumnName,Ti=Pt.onChange,Xi=Pt.getPopupContainer,ca=Pt.loading,Zi=Pt.expandIcon,xa=Pt.expandable,va=Pt.expandedRowRender,Ma=Pt.expandIconColumnIndex,_a=Pt.indentSize,na=Pt.scroll,sa=Pt.sortDirections,Ai=Pt.locale,ba=Pt.showSorterTooltip,ea=ba===void 0?!0:ba;[["filterDropdownVisible","filterDropdownOpen"],["onFilterDropdownVisibleChange","onFilterDropdownOpenChange"]].forEach(function(rn){var An=Object(f.a)(rn,2),fr=An[0],Pr=An[1]});var mn=h.useMemo(function(){return Mi||Object(n.a)(Fr)},[Mi,Fr]),It=h.useMemo(function(){return mn.some(function(rn){return rn.responsive})},[mn]),Ue=Object(w.a)(It),Ze=h.useMemo(function(){var rn=new Set(Object.keys(Ue).filter(function(An){return Ue[An]}));return mn.filter(function(An){return!An.responsive||An.responsive.some(function(fr){return rn.has(fr)})})},[mn,Ue]),Pe=Object(m.a)(Pt,["className","style","columns"]),mt=h.useContext(p.b),xt=h.useContext(t.b),cn=xt.locale,Ut=cn===void 0?S.a:cn,wt=xt.renderEmpty,Pn=xt.direction,an=Rn||mt,Dn=Object(r.a)(Object(r.a)({},Ut.Table),Ai),Tn=sr||vn,Zn=h.useContext(t.b),Mr=Zn.getPrefixCls,xr=Mr("table",Kn),Vr=Mr("dropdown",ar),Dr=Object(r.a)({childrenColumnName:ur,expandIconColumnIndex:Ma},xa),dr=Dr.childrenColumnName,gt=dr===void 0?"children":dr,Rr=h.useMemo(function(){return Tn.some(function(rn){return rn==null?void 0:rn[gt]})?"nest":va||xa&&xa.expandedRowRender?"row":null},[Tn]),ci={body:h.useRef()},ai=h.useMemo(function(){return typeof li=="function"?li:function(rn){return rn==null?void 0:rn[li]}},[li]),bi=Object(qe.a)(Tn,gt,ai),zr=Object(f.a)(bi,1),Hi=zr[0],hi={},Ci=function(An,fr){var Pr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,kr=Object(r.a)(Object(r.a)({},hi),An);Pr&&(hi.resetPagination(),kr.pagination.current&&(kr.pagination.current=1),yr&&yr.onChange&&yr.onChange(1,kr.pagination.pageSize)),na&&na.scrollToFirstRowOnChange!==!1&&ci.body.current&&Object(I.a)(0,{getContainer:function(){return ci.body.current}}),Ti==null||Ti(kr.pagination,kr.filters,kr.sorter,{currentDataSource:bt(en(Tn,kr.sorterStates,gt),kr.filterStates),action:fr})},Ii=function(An,fr){Ci({sorter:An,sorterStates:fr},"sort",!1)},Mn=tn({prefixCls:xr,mergedColumns:Ze,onSorterChange:Ii,sortDirections:sa||["ascend","descend"],tableLocale:Dn,showSorterTooltip:ea}),nr=Object(f.a)(Mn,4),cr=nr[0],Lr=nr[1],ei=nr[2],ki=nr[3],ua=h.useMemo(function(){return en(Tn,Lr,gt)},[Tn,Lr]);hi.sorter=ki(),hi.sorterStates=Lr;var Qi=function(An,fr){Ci({filters:An,filterStates:fr},"filter",!0)},Br=Bt({prefixCls:xr,locale:Dn,dropdownPrefixCls:Vr,mergedColumns:Ze,onFilterChange:Qi,getPopupContainer:Xi}),ga=Object(f.a)(Br,3),fa=ga[0],Ja=ga[1],In=ga[2],ve=bt(ua,Ja);hi.filters=In,hi.filterStates=Ja;var x=h.useMemo(function(){var rn={};return Object.keys(In).forEach(function(An){In[An]!==null&&(rn[An]=In[An])}),Object(r.a)(Object(r.a)({},ei),{filters:rn})},[ei,In]),le=on(x),me=Object(f.a)(le,1),Ae=me[0],tt=function(An,fr){Ci({pagination:Object(r.a)(Object(r.a)({},hi.pagination),{current:An,pageSize:fr})},"paginate")},pt=Object(st.b)(ve.length,yr,tt),ke=Object(f.a)(pt,2),we=ke[0],Be=ke[1];hi.pagination=yr===!1?{}:Object(st.c)(yr,we),hi.resetPagination=Be;var Le=h.useMemo(function(){if(yr===!1||!we.pageSize)return ve;var rn=we.current,An=rn===void 0?1:rn,fr=we.total,Pr=we.pageSize,kr=Pr===void 0?st.a:Pr;return ve.length<fr?ve.length>kr?ve.slice((An-1)*kr,An*kr):ve:ve.slice((An-1)*kr,An*kr)},[!!yr,ve,we&&we.current,we&&we.pageSize,we&&we.total]),J=Object(ut.e)(br,{prefixCls:xr,data:ve,pageData:Le,getRowKey:ai,getRecordByKey:Hi,expandType:Rr,childrenColumnName:gt,locale:Dn,getPopupContainer:Xi}),Ke=Object(f.a)(J,2),We=Ke[0],Ot=Ke[1],Vt=function(An,fr,Pr){var kr;return typeof xi=="function"?kr=i()(xi(An,fr,Pr)):kr=i()(xi),i()(Object(c.a)({},"".concat(xr,"-row-selected"),Ot.has(ai(An,fr))),kr)};Dr.__PARENT_RENDER_ICON__=Dr.expandIcon,Dr.expandIcon=Dr.expandIcon||Zi||d(Dn),Rr==="nest"&&Dr.expandIconColumnIndex===void 0?Dr.expandIconColumnIndex=br?1:0:Dr.expandIconColumnIndex>0&&br&&(Dr.expandIconColumnIndex-=1),typeof Dr.indentSize!="number"&&(Dr.indentSize=typeof _a=="number"?_a:15);var $t=h.useCallback(function(rn){return Ae(We(fa(cr(rn))))},[cr,fa,We]),Gt,hn;if(yr!==!1&&(we==null?void 0:we.total)){var $n;we.size?$n=we.size:$n=an==="small"||an==="middle"?"small":void 0;var Sr=function(An){return h.createElement(k.a,Object(r.a)({},we,{className:i()("".concat(xr,"-pagination ").concat(xr,"-pagination-").concat(An),we.className),size:$n}))},vr=Pn==="rtl"?"left":"right",zn=we.position;if(zn!==null&&Array.isArray(zn)){var Tr=zn.find(function(rn){return rn.includes("top")}),Qr=zn.find(function(rn){return rn.includes("bottom")}),Qe=zn.every(function(rn){return"".concat(rn)==="none"});!Tr&&!Qr&&!Qe&&(hn=Sr(vr)),Tr&&(Gt=Sr(Tr.toLowerCase().replace("top",""))),Qr&&(hn=Sr(Qr.toLowerCase().replace("bottom","")))}else hn=Sr(vr)}var Jt;typeof ca=="boolean"?Jt={spinning:ca}:Object(u.a)(ca)==="object"&&(Jt=Object(r.a)({spinning:!0},ca));var ln=i()("".concat(xr,"-wrapper"),Object(c.a)({},"".concat(xr,"-wrapper-rtl"),Pn==="rtl"),qn);return h.createElement("div",{ref:gn,className:ln,style:rr},h.createElement(T.a,Object(r.a)({spinning:!1},Jt),Gt,h.createElement(a.c,Object(r.a)({},Pe,{columns:Ze,direction:Pn,expandable:Dr,prefixCls:xr,className:i()((_n={},Object(c.a)(_n,"".concat(xr,"-middle"),an==="middle"),Object(c.a)(_n,"".concat(xr,"-small"),an==="small"),Object(c.a)(_n,"".concat(xr,"-bordered"),mr),Object(c.a)(_n,"".concat(xr,"-empty"),Tn.length===0),_n)),data:Le,rowKey:ai,rowClassName:Vt,emptyText:Ai&&Ai.emptyText||(wt||l.a)("Table"),internalHooks:v.a,internalRefs:ci,transformColumns:$t})),hn))}var ct=h.forwardRef(dt),Kt=ct;Kt.SELECTION_COLUMN=ut.b,Kt.EXPAND_COLUMN=a.c.EXPAND_COLUMN,Kt.SELECTION_ALL=ut.a,Kt.SELECTION_INVERT=ut.c,Kt.SELECTION_NONE=ut.d,Kt.Column=$,Kt.ColumnGroup=g,Kt.Summary=a.b;var pn=Kt,kn=M.a=pn},wCXF:function(Ie,M,e){"use strict";e.d(M,"a",function(){return nn});var u=e("rePB"),c=e("wx14"),r=e("VTBJ"),f=e("KQm4"),o=e("ODXe"),i=e("U8pU"),a=e("q1tI"),n=e("x/xZ"),v=e("bX4T"),m=e("tl68"),h=e("TSYQ"),t=e.n(h),l=e("Gytx"),p=e.n(l),w=e("Kwbf"),S=e("t23M"),k=e("qx4F"),T=e("6eGT"),I=e("IBYe"),Y=e("fyJ8"),$=e("biw7"),A=e("eYkC"),g=e("sR1s");function b(Ht){var jn=Ht.cells,Ln=Ht.stickyOffsets,Un=Ht.flattenColumns,lt=Ht.rowComponent,Nt=Ht.cellComponent,zt=Ht.onHeaderRow,en=Ht.index,tn=a.useContext($.a),wn=tn.prefixCls,on=tn.direction,vn;zt&&(vn=zt(jn.map(function(ct){return ct.column}),en));var dt=Object(g.a)(jn.map(function(ct){return ct.column}));return a.createElement(lt,vn,jn.map(function(ct,Kt){var pn=ct.column,kn=Object(A.a)(ct.colStart,ct.colEnd,Un,Ln,on),Pt;return pn&&pn.onHeaderCell&&(Pt=ct.column.onHeaderCell(pn)),a.createElement(Y.a,Object(c.a)({},ct,{ellipsis:pn.ellipsis,align:pn.align,component:Nt,prefixCls:wn,key:dt[Kt]},kn,{additionalProps:Pt,rowType:"header"}))}))}b.displayName="HeaderRow";var d=b;function O(Ht){var jn=[];function Ln(zt,en){var tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;jn[tn]=jn[tn]||[];var wn=en,on=zt.filter(Boolean).map(function(vn){var dt={key:vn.key,className:vn.className||"",children:vn.title,column:vn,colStart:wn},ct=1,Kt=vn.children;return Kt&&Kt.length>0&&(ct=Ln(Kt,wn,tn+1).reduce(function(pn,kn){return pn+kn},0),dt.hasSubColumns=!0),"colSpan"in vn&&(ct=vn.colSpan),"rowSpan"in vn&&(dt.rowSpan=vn.rowSpan),dt.colSpan=ct,dt.colEnd=dt.colStart+ct-1,jn[tn].push(dt),wn+=ct,ct});return on}Ln(Ht,0);for(var Un=jn.length,lt=function(en){jn[en].forEach(function(tn){!("rowSpan"in tn)&&!tn.hasSubColumns&&(tn.rowSpan=Un-en)})},Nt=0;Nt<Un;Nt+=1)lt(Nt);return jn}function E(Ht){var jn=Ht.stickyOffsets,Ln=Ht.columns,Un=Ht.flattenColumns,lt=Ht.onHeaderRow,Nt=a.useContext($.a),zt=Nt.prefixCls,en=Nt.getComponent,tn=a.useMemo(function(){return O(Ln)},[Ln]),wn=en(["header","wrapper"],"thead"),on=en(["header","row"],"tr"),vn=en(["header","cell"],"th");return a.createElement(wn,{className:"".concat(zt,"-thead")},tn.map(function(dt,ct){var Kt=a.createElement(d,{key:ct,flattenColumns:Un,cells:dt,stickyOffsets:jn,rowComponent:on,cellComponent:vn,onHeaderRow:lt,index:ct});return Kt}))}var D=E,W=e("gKgp"),te=a.createContext(null),re=te;function ye(Ht){var jn=Ht.prefixCls,Ln=Ht.children,Un=Ht.component,lt=Ht.cellComponent,Nt=Ht.className,zt=Ht.expanded,en=Ht.colSpan,tn=Ht.isEmpty,wn=a.useContext($.a),on=wn.scrollbarSize,vn=a.useContext(re),dt=vn.fixHeader,ct=vn.fixColumn,Kt=vn.componentWidth,pn=vn.horizonScroll;return a.useMemo(function(){var kn=Ln;return(tn?pn:ct)&&(kn=a.createElement("div",{style:{width:Kt-(dt?on:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(jn,"-expanded-row-fixed")},Kt!==0&&kn)),a.createElement(Un,{className:Nt,style:{display:zt?null:"none"}},a.createElement(Y.a,{component:lt,prefixCls:jn,colSpan:en},kn))},[Ln,Un,Nt,zt,en,tn,on,Kt,ct,dt,pn])}var q=ye,oe=a.createContext(null),he=oe;function ue(Ht){var jn=Ht.className,Ln=Ht.style,Un=Ht.record,lt=Ht.index,Nt=Ht.renderIndex,zt=Ht.rowKey,en=Ht.rowExpandable,tn=Ht.expandedKeys,wn=Ht.onRow,on=Ht.indent,vn=on===void 0?0:on,dt=Ht.rowComponent,ct=Ht.cellComponent,Kt=Ht.childrenColumnName,pn=a.useContext($.a),kn=pn.prefixCls,Pt=pn.fixedInfoList,gn=a.useContext(W.a),_n=gn.flattenColumns,Kn=gn.expandableType,qn=gn.expandRowByClick,rr=gn.onTriggerExpand,Rn=gn.rowClassName,mr=gn.expandedRowClassName,ar=gn.indentSize,sr=gn.expandIcon,yr=gn.expandedRowRender,br=gn.expandIconColumnIndex,_r=a.useState(!1),li=Object(o.a)(_r,2),xi=li[0],Mi=li[1],Fr=tn&&tn.has(Ht.recordKey);a.useEffect(function(){Fr&&Mi(!0)},[Fr]);var ur=Kn==="row"&&(!en||en(Un)),Ti=Kn==="nest",Xi=Kt&&Un&&Un[Kt],ca=ur||Ti,Zi=a.useRef(rr);Zi.current=rr;var xa=function(){Zi.current.apply(Zi,arguments)},va=wn==null?void 0:wn(Un,lt),Ma=function(It){var Ue;qn&&ca&&xa(Un,It);for(var Ze=arguments.length,Pe=new Array(Ze>1?Ze-1:0),mt=1;mt<Ze;mt++)Pe[mt-1]=arguments[mt];va==null||(Ue=va.onClick)===null||Ue===void 0||Ue.call.apply(Ue,[va,It].concat(Pe))},_a;typeof Rn=="string"?_a=Rn:typeof Rn=="function"&&(_a=Rn(Un,lt,vn));var na=Object(g.a)(_n),sa=a.createElement(dt,Object(c.a)({},va,{"data-row-key":zt,className:t()(jn,"".concat(kn,"-row"),"".concat(kn,"-row-level-").concat(vn),_a,va&&va.className),style:Object(r.a)(Object(r.a)({},Ln),va?va.style:null),onClick:Ma}),_n.map(function(mn,It){var Ue=mn.render,Ze=mn.dataIndex,Pe=mn.className,mt=na[It],xt=Pt[It],cn;It===(br||0)&&Ti&&(cn=a.createElement(a.Fragment,null,a.createElement("span",{style:{paddingLeft:"".concat(ar*vn,"px")},className:"".concat(kn,"-row-indent indent-level-").concat(vn)}),sr({prefixCls:kn,expanded:Fr,expandable:Xi,record:Un,onExpand:xa})));var Ut;return mn.onCell&&(Ut=mn.onCell(Un,lt)),a.createElement(Y.a,Object(c.a)({className:Pe,ellipsis:mn.ellipsis,align:mn.align,component:ct,prefixCls:kn,key:mt,record:Un,index:lt,renderIndex:Nt,dataIndex:Ze,render:Ue,shouldCellUpdate:mn.shouldCellUpdate,expanded:cn&&Fr},xt,{appendNode:cn,additionalProps:Ut}))})),Ai;if(ur&&(xi||Fr)){var ba=yr(Un,lt,vn+1,Fr),ea=mr&&mr(Un,lt,vn);Ai=a.createElement(q,{expanded:Fr,className:t()("".concat(kn,"-expanded-row"),"".concat(kn,"-expanded-row-level-").concat(vn+1),ea),prefixCls:kn,component:dt,cellComponent:ct,colSpan:_n.length,isEmpty:!1},ba)}return a.createElement(a.Fragment,null,sa,Ai)}ue.displayName="BodyRow";var ne=ue;function se(Ht,jn,Ln,Un,lt,Nt){var zt=[];zt.push({record:Ht,indent:jn,index:Nt});var en=lt(Ht),tn=Un==null?void 0:Un.has(en);if(Ht&&Array.isArray(Ht[Ln])&&tn)for(var wn=0;wn<Ht[Ln].length;wn+=1){var on=se(Ht[Ln][wn],jn+1,Ln,Un,lt,wn);zt.push.apply(zt,Object(f.a)(on))}return zt}function be(Ht,jn,Ln,Un){var lt=a.useMemo(function(){if(Ln==null?void 0:Ln.size){for(var Nt=[],zt=0;zt<(Ht==null?void 0:Ht.length);zt+=1){var en=Ht[zt];Nt.push.apply(Nt,Object(f.a)(se(en,0,jn,Ln,Un,zt)))}return Nt}return Ht==null?void 0:Ht.map(function(tn,wn){return{record:tn,indent:0,index:wn}})},[Ht,jn,Ln,Un]);return lt}var Z=e("JZKZ"),ee=e("oEjn");function ce(Ht){var jn=Ht.columnKey,Ln=Ht.onColumnResize,Un=a.useRef();return a.useEffect(function(){Un.current&&Ln(jn,Un.current.offsetWidth)},[]),a.createElement(S.a,{data:jn},a.createElement("td",{ref:Un,style:{padding:0,border:0,height:0}},a.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function R(Ht){var jn=Ht.prefixCls,Ln=Ht.columnsKey,Un=Ht.onColumnResize;return a.createElement("tr",{"aria-hidden":"true",className:"".concat(jn,"-measure-row"),style:{height:0,fontSize:0}},a.createElement(S.a.Collection,{onBatchResize:function(Nt){Nt.forEach(function(zt){var en=zt.data,tn=zt.size;Un(en,tn.offsetWidth)})}},Ln.map(function(lt){return a.createElement(ce,{key:lt,columnKey:lt,onColumnResize:Un})})))}function y(Ht){var jn=Ht.data,Ln=Ht.getRowKey,Un=Ht.measureColumnWidth,lt=Ht.expandedKeys,Nt=Ht.onRow,zt=Ht.rowExpandable,en=Ht.emptyNode,tn=Ht.childrenColumnName,wn=a.useContext(he),on=wn.onColumnResize,vn=a.useContext($.a),dt=vn.prefixCls,ct=vn.getComponent,Kt=a.useContext(W.a),pn=Kt.flattenColumns,kn=be(jn,tn,lt,Ln),Pt=a.useRef({renderWithProps:!1}),gn=a.useState(-1),_n=Object(o.a)(gn,2),Kn=_n[0],qn=_n[1],rr=a.useState(-1),Rn=Object(o.a)(rr,2),mr=Rn[0],ar=Rn[1],sr=a.useCallback(function(br,_r){qn(br),ar(_r)},[]),yr=a.useMemo(function(){var br=ct(["body","wrapper"],"tbody"),_r=ct(["body","row"],"tr"),li=ct(["body","cell"],"td"),xi;jn.length?xi=kn.map(function(Fr,ur){var Ti=Fr.record,Xi=Fr.indent,ca=Fr.index,Zi=Ln(Ti,ur);return a.createElement(ne,{key:Zi,rowKey:Zi,record:Ti,recordKey:Zi,index:ur,renderIndex:ca,rowComponent:_r,cellComponent:li,expandedKeys:lt,onRow:Nt,getRowKey:Ln,rowExpandable:zt,childrenColumnName:tn,indent:Xi})}):xi=a.createElement(q,{expanded:!0,className:"".concat(dt,"-placeholder"),prefixCls:dt,component:_r,cellComponent:li,colSpan:pn.length,isEmpty:!0},en);var Mi=Object(g.a)(pn);return a.createElement(br,{className:"".concat(dt,"-tbody")},Un&&a.createElement(R,{prefixCls:dt,columnsKey:Mi,onColumnResize:on}),xi)},[jn,dt,Nt,Un,lt,Ln,ct,en,pn,tn,on,zt,kn]);return a.createElement(ee.a.Provider,{value:Pt.current},a.createElement(Z.a.Provider,{value:{startRow:Kn,endRow:mr,onHover:sr}},yr))}var C=a.memo(y);C.displayName="Body";var z=C,G=e("wRmb");function X(Ht){var jn=Object(a.useRef)(Ht),Ln=Object(a.useState)({}),Un=Object(o.a)(Ln,2),lt=Un[1],Nt=Object(a.useRef)(null),zt=Object(a.useRef)([]);function en(tn){zt.current.push(tn);var wn=Promise.resolve();Nt.current=wn,wn.then(function(){if(Nt.current===wn){var on=zt.current,vn=jn.current;zt.current=[],on.forEach(function(dt){jn.current=dt(jn.current)}),Nt.current=null,vn!==jn.current&<({})}})}return Object(a.useEffect)(function(){return function(){Nt.current=null}},[]),[jn.current,en]}function pe(Ht){var jn=Object(a.useRef)(Ht||null),Ln=Object(a.useRef)();function Un(){window.clearTimeout(Ln.current)}function lt(zt){jn.current=zt,Un(),Ln.current=window.setTimeout(function(){jn.current=null,Ln.current=void 0},100)}function Nt(){return jn.current}return Object(a.useEffect)(function(){return Un},[]),[lt,Nt]}function ae(Ht,jn,Ln){var Un=Object(a.useMemo)(function(){for(var lt=[],Nt=[],zt=0,en=0,tn=0;tn<jn;tn+=1)if(Ln==="rtl"){Nt[tn]=en,en+=Ht[tn]||0;var wn=jn-tn-1;lt[wn]=zt,zt+=Ht[wn]||0}else{lt[tn]=zt,zt+=Ht[tn]||0;var on=jn-tn-1;Nt[on]=en,en+=Ht[on]||0}return{left:lt,right:Nt}},[Ht,jn,Ln]);return Un}var Se=ae,Te=e("Ff2n"),je=e("hW8S"),ft=["columnType"];function fe(Ht){for(var jn=Ht.colWidths,Ln=Ht.columns,Un=Ht.columCount,lt=[],Nt=Un||Ln.length,zt=!1,en=Nt-1;en>=0;en-=1){var tn=jn[en],wn=Ln&&Ln[en],on=wn&&wn[je.a];if(tn||on||zt){var vn=on||{},dt=vn.columnType,ct=Object(Te.a)(vn,ft);lt.unshift(a.createElement("col",Object(c.a)({key:en,style:{width:tn}},ct))),zt=!0}}return a.createElement("colgroup",null,lt)}var ie=fe;function ge(Ht){var jn=Ht.className,Ln=Ht.children;return a.createElement("div",{className:jn},Ln)}var Ve=ge,Ee=e("n6Qo");function Me(Ht){var jn,Ln=Ht.prefixCls,Un=Ht.record,lt=Ht.onExpand,Nt=Ht.expanded,zt=Ht.expandable,en="".concat(Ln,"-row-expand-icon");if(!zt)return a.createElement("span",{className:t()(en,"".concat(Ln,"-row-spaced"))});var tn=function(on){lt(Un,on),on.stopPropagation()};return a.createElement("span",{className:t()(en,(jn={},Object(u.a)(jn,"".concat(Ln,"-row-expanded"),Nt),Object(u.a)(jn,"".concat(Ln,"-row-collapsed"),!Nt),jn)),onClick:tn})}function _e(Ht,jn,Ln){var Un=[];function lt(Nt){(Nt||[]).forEach(function(zt,en){Un.push(jn(zt,en)),lt(zt[Ln])})}return lt(Ht),Un}var Re=e("zT1h"),et=e("y0+3"),Xe=function(jn,Ln){var Un,lt,Nt=jn.scrollBodyRef,zt=jn.onScroll,en=jn.offsetScroll,tn=jn.container,wn=a.useContext($.a),on=wn.prefixCls,vn=((Un=Nt.current)===null||Un===void 0?void 0:Un.scrollWidth)||0,dt=((lt=Nt.current)===null||lt===void 0?void 0:lt.clientWidth)||0,ct=vn&&dt*(dt/vn),Kt=a.useRef(),pn=X({scrollLeft:0,isHiddenScrollBar:!1}),kn=Object(o.a)(pn,2),Pt=kn[0],gn=kn[1],_n=a.useRef({delta:0,x:0}),Kn=a.useState(!1),qn=Object(o.a)(Kn,2),rr=qn[0],Rn=qn[1],mr=function(){Rn(!1)},ar=function(li){li.persist(),_n.current.delta=li.pageX-Pt.scrollLeft,_n.current.x=0,Rn(!0),li.preventDefault()},sr=function(li){var xi,Mi=li||((xi=window)===null||xi===void 0?void 0:xi.event),Fr=Mi.buttons;if(!rr||Fr===0){rr&&Rn(!1);return}var ur=_n.current.x+li.pageX-_n.current.x-_n.current.delta;ur<=0&&(ur=0),ur+ct>=dt&&(ur=dt-ct),zt({scrollLeft:ur/dt*(vn+2)}),_n.current.x=li.pageX},yr=function(){if(!!Nt.current){var li=Object(et.b)(Nt.current).top,xi=li+Nt.current.offsetHeight,Mi=tn===window?document.documentElement.scrollTop+window.innerHeight:Object(et.b)(tn).top+tn.clientHeight;xi-Object(k.a)()<=Mi||li>=Mi-en?gn(function(Fr){return Object(r.a)(Object(r.a)({},Fr),{},{isHiddenScrollBar:!0})}):gn(function(Fr){return Object(r.a)(Object(r.a)({},Fr),{},{isHiddenScrollBar:!1})})}},br=function(li){gn(function(xi){return Object(r.a)(Object(r.a)({},xi),{},{scrollLeft:li/vn*dt||0})})};return a.useImperativeHandle(Ln,function(){return{setScrollLeft:br}}),a.useEffect(function(){var _r=Object(Re.a)(document.body,"mouseup",mr,!1),li=Object(Re.a)(document.body,"mousemove",sr,!1);return yr(),function(){_r.remove(),li.remove()}},[ct,rr]),a.useEffect(function(){var _r=Object(Re.a)(tn,"scroll",yr,!1),li=Object(Re.a)(window,"resize",yr,!1);return function(){_r.remove(),li.remove()}},[tn]),a.useEffect(function(){Pt.isHiddenScrollBar||gn(function(_r){var li=Nt.current;return li?Object(r.a)(Object(r.a)({},_r),{},{scrollLeft:li.scrollLeft/li.scrollWidth*li.clientWidth}):_r})},[Pt.isHiddenScrollBar]),vn<=dt||!ct||Pt.isHiddenScrollBar?null:a.createElement("div",{style:{height:Object(k.a)(),width:dt,bottom:en},className:"".concat(on,"-sticky-scroll")},a.createElement("div",{onMouseDown:ar,ref:Kt,className:t()("".concat(on,"-sticky-scroll-bar"),Object(u.a)({},"".concat(on,"-sticky-scroll-bar-active"),rr)),style:{width:"".concat(ct,"px"),transform:"translate3d(".concat(Pt.scrollLeft,"px, 0, 0)")}}))},it=a.forwardRef(Xe),bt=e("MNnm"),Ct=Object(bt.a)()?window:null;function Bt(Ht,jn){var Ln=Object(i.a)(Ht)==="object"?Ht:{},Un=Ln.offsetHeader,lt=Un===void 0?0:Un,Nt=Ln.offsetSummary,zt=Nt===void 0?0:Nt,en=Ln.offsetScroll,tn=en===void 0?0:en,wn=Ln.getContainer,on=wn===void 0?function(){return Ct}:wn,vn=on()||Ct;return a.useMemo(function(){var dt=!!Ht;return{isSticky:dt,stickyClassName:dt?"".concat(jn,"-sticky-holder"):"",offsetHeader:lt,offsetSummary:zt,offsetScroll:tn,container:vn}},[tn,lt,zt,jn,vn])}var qe=e("c+Xe"),st=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ut(Ht,jn){return Object(a.useMemo)(function(){for(var Ln=[],Un=0;Un<jn;Un+=1){var lt=Ht[Un];if(lt!==void 0)Ln[Un]=lt;else return null}return Ln},[Ht.join("_"),jn])}var nt=a.forwardRef(function(Ht,jn){var Ln=Ht.className,Un=Ht.noData,lt=Ht.columns,Nt=Ht.flattenColumns,zt=Ht.colWidths,en=Ht.columCount,tn=Ht.stickyOffsets,wn=Ht.direction,on=Ht.fixHeader,vn=Ht.stickyTopOffset,dt=Ht.stickyBottomOffset,ct=Ht.stickyClassName,Kt=Ht.onScroll,pn=Ht.maxContentScroll,kn=Ht.children,Pt=Object(Te.a)(Ht,st),gn=a.useContext($.a),_n=gn.prefixCls,Kn=gn.scrollbarSize,qn=gn.isSticky,rr=qn&&!on?0:Kn,Rn=a.useRef(null),mr=a.useCallback(function(Mi){Object(qe.b)(jn,Mi),Object(qe.b)(Rn,Mi)},[]);a.useEffect(function(){var Mi;function Fr(ur){var Ti=ur.currentTarget,Xi=ur.deltaX;Xi&&(Kt({currentTarget:Ti,scrollLeft:Ti.scrollLeft+Xi}),ur.preventDefault())}return(Mi=Rn.current)===null||Mi===void 0||Mi.addEventListener("wheel",Fr),function(){var ur;(ur=Rn.current)===null||ur===void 0||ur.removeEventListener("wheel",Fr)}},[]);var ar=a.useMemo(function(){return Nt.every(function(Mi){return Mi.width>=0})},[Nt]),sr=Nt[Nt.length-1],yr={fixed:sr?sr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(_n,"-cell-scrollbar")}}},br=Object(a.useMemo)(function(){return rr?[].concat(Object(f.a)(lt),[yr]):lt},[rr,lt]),_r=Object(a.useMemo)(function(){return rr?[].concat(Object(f.a)(Nt),[yr]):Nt},[rr,Nt]),li=Object(a.useMemo)(function(){var Mi=tn.right,Fr=tn.left;return Object(r.a)(Object(r.a)({},tn),{},{left:wn==="rtl"?[].concat(Object(f.a)(Fr.map(function(ur){return ur+rr})),[0]):Fr,right:wn==="rtl"?Mi:[].concat(Object(f.a)(Mi.map(function(ur){return ur+rr})),[0]),isSticky:qn})},[rr,tn,qn]),xi=ut(zt,en);return a.createElement("div",{style:Object(r.a)({overflow:"hidden"},qn?{top:vn,bottom:dt}:{}),ref:mr,className:t()(Ln,Object(u.a)({},ct,!!ct))},a.createElement("table",{style:{tableLayout:"fixed",visibility:Un||xi?null:"hidden"}},(!Un||!pn||ar)&&a.createElement(ie,{colWidths:xi?[].concat(Object(f.a)(xi),[rr]):[],columCount:en+1,columns:_r}),kn(Object(r.a)(Object(r.a)({},Pt),{},{stickyOffsets:li,columns:br,flattenColumns:_r}))))});nt.displayName="FixedHolder";var kt=nt,Sn=e("EvKn"),Tt=e("yT/2"),ht=e("I1d6"),Rt=[],Ft={},nn="rc-table-internal-hook",bn=a.memo(function(Ht){var jn=Ht.children;return jn},function(Ht,jn){return p()(Ht.props,jn.props)?Ht.pingLeft!==jn.pingLeft||Ht.pingRight!==jn.pingRight:!1});function sn(Ht){var jn,Ln=Ht.prefixCls,Un=Ht.className,lt=Ht.rowClassName,Nt=Ht.style,zt=Ht.data,en=Ht.rowKey,tn=Ht.scroll,wn=Ht.tableLayout,on=Ht.direction,vn=Ht.title,dt=Ht.footer,ct=Ht.summary,Kt=Ht.id,pn=Ht.showHeader,kn=Ht.components,Pt=Ht.emptyText,gn=Ht.onRow,_n=Ht.onHeaderRow,Kn=Ht.internalHooks,qn=Ht.transformColumns,rr=Ht.internalRefs,Rn=Ht.sticky,mr=zt||Rt,ar=!!mr.length,sr=a.useCallback(function(si,ii){return Object(g.b)(kn||{},si)||ii},[kn]),yr=a.useMemo(function(){return typeof en=="function"?en:function(si){var ii=si&&si[en];return ii}},[en]),br=Object(je.b)(Ht),_r=br.expandIcon,li=br.expandedRowKeys,xi=br.defaultExpandedRowKeys,Mi=br.defaultExpandAllRows,Fr=br.expandedRowRender,ur=br.columnTitle,Ti=br.onExpand,Xi=br.onExpandedRowsChange,ca=br.expandRowByClick,Zi=br.rowExpandable,xa=br.expandIconColumnIndex,va=br.expandedRowClassName,Ma=br.childrenColumnName,_a=br.indentSize,na=_r||Me,sa=Ma||"children",Ai=a.useMemo(function(){return Fr?"row":Ht.expandable&&Kn===nn&&Ht.expandable.__PARENT_RENDER_ICON__||mr.some(function(si){return si&&Object(i.a)(si)==="object"&&si[sa]})?"nest":!1},[!!Fr,mr]),ba=a.useState(function(){return xi||(Mi?_e(mr,yr,sa):[])}),ea=Object(o.a)(ba,2),mn=ea[0],It=ea[1],Ue=a.useMemo(function(){return new Set(li||mn||[])},[li,mn]),Ze=a.useCallback(function(si){var ii=yr(si,mr.indexOf(si)),Yi,La=Ue.has(ii);La?(Ue.delete(ii),Yi=Object(f.a)(Ue)):Yi=[].concat(Object(f.a)(Ue),[ii]),It(Yi),Ti&&Ti(!La,si),Xi&&Xi(Yi)},[yr,Ue,mr,Ti,Xi]),Pe=a.useState(0),mt=Object(o.a)(Pe,2),xt=mt[0],cn=mt[1],Ut=Object(G.b)(Object(r.a)(Object(r.a)(Object(r.a)({},Ht),br),{},{expandable:!!Fr,columnTitle:ur,expandedKeys:Ue,getRowKey:yr,onTriggerExpand:Ze,expandIcon:na,expandIconColumnIndex:xa,direction:on}),Kn===nn?qn:null),wt=Object(o.a)(Ut,2),Pn=wt[0],an=wt[1],Dn=a.useMemo(function(){return{columns:Pn,flattenColumns:an}},[Pn,an]),Tn=a.useRef(),Zn=a.useRef(),Mr=a.useRef(),xr=a.useRef(),Vr=a.useRef(),Dr=a.useState(!1),dr=Object(o.a)(Dr,2),gt=dr[0],Rr=dr[1],ci=a.useState(!1),ai=Object(o.a)(ci,2),bi=ai[0],zr=ai[1],Hi=X(new Map),hi=Object(o.a)(Hi,2),Ci=hi[0],Ii=hi[1],Mn=Object(g.a)(an),nr=Mn.map(function(si){return Ci.get(si)}),cr=a.useMemo(function(){return nr},[nr.join("_")]),Lr=Se(cr,an.length,on),ei=tn&&Object(g.c)(tn.y),ki=tn&&Object(g.c)(tn.x)||Boolean(br.fixed),ua=ki&&an.some(function(si){var ii=si.fixed;return ii}),Qi=a.useRef(),Br=Bt(Rn,Ln),ga=Br.isSticky,fa=Br.offsetHeader,Ja=Br.offsetSummary,In=Br.offsetScroll,ve=Br.stickyClassName,x=Br.container,le=ct==null?void 0:ct(mr),me=(ei||ga)&&a.isValidElement(le)&&le.type===Sn.a&&le.props.fixed,Ae,tt,pt;ei&&(tt={overflowY:"scroll",maxHeight:tn.y}),ki&&(Ae={overflowX:"auto"},ei||(tt={overflowY:"hidden"}),pt={width:(tn==null?void 0:tn.x)===!0?"auto":tn==null?void 0:tn.x,minWidth:"100%"});var ke=a.useCallback(function(si,ii){Object(n.a)(Tn.current)&&Ii(function(Yi){if(Yi.get(si)!==ii){var La=new Map(Yi);return La.set(si,ii),La}return Yi})},[]),we=pe(null),Be=Object(o.a)(we,2),Le=Be[0],J=Be[1];function Ke(si,ii){!ii||(typeof ii=="function"?ii(si):ii.scrollLeft!==si&&(ii.scrollLeft=si))}var We=function(ii){var Yi=ii.currentTarget,La=ii.scrollLeft,Wa=on==="rtl",Ri=typeof La=="number"?La:Yi.scrollLeft,Oa=Yi||Ft;if(!J()||J()===Oa){var Ha;Le(Oa),Ke(Ri,Zn.current),Ke(Ri,Mr.current),Ke(Ri,Vr.current),Ke(Ri,(Ha=Qi.current)===null||Ha===void 0?void 0:Ha.setScrollLeft)}if(Yi){var Za=Yi.scrollWidth,co=Yi.clientWidth;if(Za===co){Rr(!1),zr(!1);return}Wa?(Rr(-Ri<Za-co),zr(-Ri>0)):(Rr(Ri>0),zr(Ri<Za-co))}},Ot=function(){ki&&Mr.current?We({currentTarget:Mr.current}):(Rr(!1),zr(!1))},Vt=function(ii){var Yi=ii.width;Yi!==xt&&(Ot(),cn(Tn.current?Tn.current.offsetWidth:Yi))},$t=a.useRef(!1);a.useEffect(function(){$t.current&&Ot()},[ki,zt,Pn.length]),a.useEffect(function(){$t.current=!0},[]);var Gt=a.useState(0),hn=Object(o.a)(Gt,2),$n=hn[0],Sr=hn[1],vr=a.useState(!0),zn=Object(o.a)(vr,2),Tr=zn[0],Qr=zn[1];a.useEffect(function(){Mr.current instanceof Element?Sr(Object(k.b)(Mr.current).width):Sr(Object(k.b)(xr.current).width),Qr(Object(m.a)("position","sticky"))},[]),a.useEffect(function(){Kn===nn&&rr&&(rr.body.current=Mr.current)});var Qe=sr(["table"],"table"),Jt=a.useMemo(function(){return wn||(ua?(tn==null?void 0:tn.x)==="max-content"?"auto":"fixed":ei||ga||an.some(function(si){var ii=si.ellipsis;return ii})?"fixed":"auto")},[ei,ua,an,wn,ga]),ln,rn={colWidths:cr,columCount:an.length,stickyOffsets:Lr,onHeaderRow:_n,fixHeader:ei,scroll:tn},An=a.useMemo(function(){return ar?null:typeof Pt=="function"?Pt():Pt},[ar,Pt]),fr=a.createElement(z,{data:mr,measureColumnWidth:ei||ki||ga,expandedKeys:Ue,rowExpandable:Zi,getRowKey:yr,onRow:gn,emptyNode:An,childrenColumnName:sa}),Pr=a.createElement(ie,{colWidths:an.map(function(si){var ii=si.width;return ii}),columns:an}),kr=sr(["body"]);if(ei||ga){var Ar;typeof kr=="function"?(Ar=kr(mr,{scrollbarSize:$n,ref:Mr,onScroll:We}),rn.colWidths=an.map(function(si,ii){var Yi=si.width,La=ii===Pn.length-1?Yi-$n:Yi;return typeof La=="number"&&!Number.isNaN(La)?La:(Object(w.a)(!1,"When use `components.body` with render props. Each column should have a fixed `width` value."),0)})):Ar=a.createElement("div",{style:Object(r.a)(Object(r.a)({},Ae),tt),onScroll:We,ref:Mr,className:t()("".concat(Ln,"-body"))},a.createElement(Qe,{style:Object(r.a)(Object(r.a)({},pt),{},{tableLayout:Jt})},Pr,fr,!me&&le&&a.createElement(Ee.b,{stickyOffsets:Lr,flattenColumns:an},le)));var vi=Object(r.a)(Object(r.a)(Object(r.a)({noData:!mr.length,maxContentScroll:ki&&tn.x==="max-content"},rn),Dn),{},{direction:on,stickyClassName:ve,onScroll:We});ln=a.createElement(a.Fragment,null,pn!==!1&&a.createElement(kt,Object(c.a)({},vi,{stickyTopOffset:fa,className:"".concat(Ln,"-header"),ref:Zn}),function(si){return a.createElement(a.Fragment,null,a.createElement(D,si),me==="top"&&a.createElement(Ee.b,si,le))}),Ar,me&&me!=="top"&&a.createElement(kt,Object(c.a)({},vi,{stickyBottomOffset:Ja,className:"".concat(Ln,"-summary"),ref:Vr}),function(si){return a.createElement(Ee.b,si,le)}),ga&&a.createElement(it,{ref:Qi,offsetScroll:In,scrollBodyRef:Mr,onScroll:We,container:x}))}else ln=a.createElement("div",{style:Object(r.a)(Object(r.a)({},Ae),tt),className:t()("".concat(Ln,"-content")),onScroll:We,ref:Mr},a.createElement(Qe,{style:Object(r.a)(Object(r.a)({},pt),{},{tableLayout:Jt})},Pr,pn!==!1&&a.createElement(D,Object(c.a)({},rn,Dn)),fr,le&&a.createElement(Ee.b,{stickyOffsets:Lr,flattenColumns:an},le)));var Wi=Object(v.a)(Ht,{aria:!0,data:!0}),di=a.createElement("div",Object(c.a)({className:t()(Ln,Un,(jn={},Object(u.a)(jn,"".concat(Ln,"-rtl"),on==="rtl"),Object(u.a)(jn,"".concat(Ln,"-ping-left"),gt),Object(u.a)(jn,"".concat(Ln,"-ping-right"),bi),Object(u.a)(jn,"".concat(Ln,"-layout-fixed"),wn==="fixed"),Object(u.a)(jn,"".concat(Ln,"-fixed-header"),ei),Object(u.a)(jn,"".concat(Ln,"-fixed-column"),ua),Object(u.a)(jn,"".concat(Ln,"-scroll-horizontal"),ki),Object(u.a)(jn,"".concat(Ln,"-has-fix-left"),an[0]&&an[0].fixed),Object(u.a)(jn,"".concat(Ln,"-has-fix-right"),an[an.length-1]&&an[an.length-1].fixed==="right"),jn)),style:Nt,id:Kt,ref:Tn},Wi),a.createElement(bn,{pingLeft:gt,pingRight:bi,props:Object(r.a)(Object(r.a)({},Ht),{},{stickyOffsets:Lr,mergedExpandedKeys:Ue})},vn&&a.createElement(Ve,{className:"".concat(Ln,"-title")},vn(mr)),a.createElement("div",{ref:xr,className:"".concat(Ln,"-container")},ln),dt&&a.createElement(Ve,{className:"".concat(Ln,"-footer")},dt(mr))));ki&&(di=a.createElement(S.a,{onResize:Vt},di));var ri=a.useMemo(function(){return{prefixCls:Ln,getComponent:sr,scrollbarSize:$n,direction:on,fixedInfoList:an.map(function(si,ii){return Object(A.a)(ii,ii,an,Lr,on)}),isSticky:ga}},[Ln,sr,$n,on,an,Lr,ga]),yi=a.useMemo(function(){return Object(r.a)(Object(r.a)({},Dn),{},{tableLayout:Jt,rowClassName:lt,expandedRowClassName:va,expandIcon:na,expandableType:Ai,expandRowByClick:ca,expandedRowRender:Fr,onTriggerExpand:Ze,expandIconColumnIndex:xa,indentSize:_a,allColumnsFixedLeft:Dn.flattenColumns.every(function(si){return si.fixed==="left"})})},[Dn,Jt,lt,va,na,Ai,ca,Fr,Ze,xa,_a]),Si=a.useMemo(function(){return{componentWidth:xt,fixHeader:ei,fixColumn:ua,horizonScroll:ki}},[xt,ei,ua,ki]),zi=a.useMemo(function(){return{onColumnResize:ke}},[ke]);return a.createElement(Tt.a.Provider,{value:Tr},a.createElement($.a.Provider,{value:ri},a.createElement(W.a.Provider,{value:yi},a.createElement(re.Provider,{value:Si},a.createElement(he.Provider,{value:zi},di)))))}sn.EXPAND_COLUMN=ht.a,sn.Column=I.a,sn.ColumnGroup=T.a,sn.Summary=Ee.a,sn.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var un=M.b=sn},"wF/u":function(Ie,M,e){var u=e("e5cp"),c=e("ExA7");function r(f,o,i,a,n){return f===o?!0:f==null||o==null||!c(f)&&!c(o)?f!==f&&o!==o:u(f,o,i,a,r,n)}Ie.exports=r},wFNa:function(Ie,M,e){},wFql:function(Ie,M,e){"use strict";var u=e("wx14"),c=e("U8pU"),r=e("q1tI"),f=e("rePB"),o=e("ODXe"),i=e("bRQS"),a=e("lfch"),n=e("G3dp"),v=e("TSYQ"),m=e.n(v),h=e("+QRC"),t=e.n(h),l=e("t23M"),p=e("Zm9Q"),w=e("TNol"),S=e("6cGi"),k=e("bT9E"),T=e("c+Xe"),I=e("H84U"),Y=e("YMnH"),$=e("gDlH"),A=e("tl68"),g=e("3S7+"),b=e("VTBJ"),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},O=d,E=e("6VBw"),D=function(ht,Rt){return r.createElement(E.a,Object(b.a)(Object(b.a)({},ht),{},{ref:Rt,icon:O}))};D.displayName="EnterOutlined";var W=r.forwardRef(D),te=e("4IlW"),re=e("whJP"),ye=e("0n0R"),q=function(ht){var Rt=ht.prefixCls,Ft=ht["aria-label"],nn=ht.className,bn=ht.style,sn=ht.direction,un=ht.maxLength,Ht=ht.autoSize,jn=Ht===void 0?!0:Ht,Ln=ht.value,Un=ht.onSave,lt=ht.onCancel,Nt=ht.onEnd,zt=ht.component,en=ht.enterIcon,tn=en===void 0?r.createElement(W,null):en,wn=r.useRef(null),on=r.useRef(!1),vn=r.useRef(),dt=r.useState(Ln),ct=Object(o.a)(dt,2),Kt=ct[0],pn=ct[1];r.useEffect(function(){pn(Ln)},[Ln]),r.useEffect(function(){if(wn.current&&wn.current.resizableTextArea){var ar=wn.current.resizableTextArea.textArea;ar.focus();var sr=ar.value.length;ar.setSelectionRange(sr,sr)}},[]);var kn=function(sr){var yr=sr.target;pn(yr.value.replace(/[\n\r]/g,""))},Pt=function(){on.current=!0},gn=function(){on.current=!1},_n=function(sr){var yr=sr.keyCode;on.current||(vn.current=yr)},Kn=function(){Un(Kt.trim())},qn=function(sr){var yr=sr.keyCode,br=sr.ctrlKey,_r=sr.altKey,li=sr.metaKey,xi=sr.shiftKey;vn.current===yr&&!on.current&&!br&&!_r&&!li&&!xi&&(yr===te.a.ENTER?(Kn(),Nt==null||Nt()):yr===te.a.ESC&<())},rr=function(){Kn()},Rn=zt?"".concat(Rt,"-").concat(zt):"",mr=m()(Rt,"".concat(Rt,"-edit-content"),Object(f.a)({},"".concat(Rt,"-rtl"),sn==="rtl"),nn,Rn);return r.createElement("div",{className:mr,style:bn},r.createElement(re.a,{ref:wn,maxLength:un,value:Kt,onChange:kn,onKeyDown:_n,onKeyUp:qn,onCompositionStart:Pt,onCompositionEnd:gn,onBlur:rr,"aria-label":Ft,rows:1,autoSize:jn}),tn!==null?Object(ye.a)(tn,{className:"".concat(Rt,"-edit-content-confirm")}):null)},oe=q;function he(Tt,ht){return r.useMemo(function(){var Rt=!!Tt;return[Rt,Object(u.a)(Object(u.a)({},ht),Rt&&Object(c.a)(Tt)==="object"?Tt:null)]},[Tt])}var ue=function(ht,Rt){var Ft=r.useRef(!1);r.useEffect(function(){Ft.current?ht():Ft.current=!0},Rt)},ne=ue,se=function(Tt,ht){var Rt={};for(var Ft in Tt)Object.prototype.hasOwnProperty.call(Tt,Ft)&&ht.indexOf(Ft)<0&&(Rt[Ft]=Tt[Ft]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,Ft=Object.getOwnPropertySymbols(Tt);nn<Ft.length;nn++)ht.indexOf(Ft[nn])<0&&Object.prototype.propertyIsEnumerable.call(Tt,Ft[nn])&&(Rt[Ft[nn]]=Tt[Ft[nn]]);return Rt},be=r.forwardRef(function(Tt,ht){var Rt=Tt.prefixCls,Ft=Tt.component,nn=Ft===void 0?"article":Ft,bn=Tt.className,sn=Tt.setContentRef,un=Tt.children,Ht=Tt.direction,jn=se(Tt,["prefixCls","component","className","setContentRef","children","direction"]),Ln=r.useContext(I.b),Un=Ln.getPrefixCls,lt=Ln.direction,Nt=Ht!=null?Ht:lt,zt=ht;sn&&(zt=Object(T.a)(ht,sn));var en=Un("typography",Rt),tn=m()(en,Object(f.a)({},"".concat(en,"-rtl"),Nt==="rtl"),bn);return r.createElement(nn,Object(u.a)({className:tn,ref:zt},jn),un)}),Z=be;function ee(Tt){var ht=Object(c.a)(Tt);return ht==="string"||ht==="number"}function ce(Tt){var ht=0;return Tt.forEach(function(Rt){ee(Rt)?ht+=String(Rt).length:ht+=1}),ht}function R(Tt,ht){for(var Rt=0,Ft=[],nn=0;nn<Tt.length;nn+=1){if(Rt===ht)return Ft;var bn=Tt[nn],sn=ee(bn),un=sn?String(bn).length:1,Ht=Rt+un;if(Ht>ht){var jn=ht-Rt;return Ft.push(String(bn).slice(0,jn)),Ft}Ft.push(bn),Rt=Ht}return Tt}var y=0,C=1,z=2,G=3,X=4,pe=function(ht){var Rt=ht.enabledMeasure,Ft=ht.children,nn=ht.text,bn=ht.width,sn=ht.fontSize,un=ht.rows,Ht=ht.onEllipsis,jn=r.useState([0,0,0]),Ln=Object(o.a)(jn,2),Un=Object(o.a)(Ln[0],3),lt=Un[0],Nt=Un[1],zt=Un[2],en=Ln[1],tn=r.useState(y),wn=Object(o.a)(tn,2),on=wn[0],vn=wn[1],dt=r.useState(0),ct=Object(o.a)(dt,2),Kt=ct[0],pn=ct[1],kn=r.useRef(null),Pt=r.useRef(null),gn=r.useMemo(function(){return Object(p.a)(nn)},[nn]),_n=r.useMemo(function(){return ce(gn)},[gn]),Kn=r.useMemo(function(){return!Rt||on!==G?Ft(gn,!1):Ft(R(gn,Nt),Nt<_n)},[Rt,on,Ft,gn,Nt,_n]);Object(w.a)(function(){Rt&&bn&&sn&&_n&&(vn(C),en([0,Math.ceil(_n/2),_n]))},[Rt,bn,sn,nn,_n,un]),Object(w.a)(function(){var mr;on===C&&pn(((mr=kn.current)===null||mr===void 0?void 0:mr.offsetHeight)||0)},[on]),Object(w.a)(function(){var mr,ar;if(Kt){if(on===C){var sr=((mr=Pt.current)===null||mr===void 0?void 0:mr.offsetHeight)||0,yr=un*Kt;sr<=yr?(vn(X),Ht(!1)):vn(z)}else if(on===z)if(lt!==zt){var br=((ar=Pt.current)===null||ar===void 0?void 0:ar.offsetHeight)||0,_r=un*Kt,li=lt,xi=zt;lt===zt-1?xi=lt:br<=_r?li=Nt:xi=Nt;var Mi=Math.ceil((li+xi)/2);en([li,Mi,xi])}else vn(G),Ht(!0)}},[on,lt,zt,un,Kt]);var qn={width:bn,whiteSpace:"normal",margin:0,padding:0},rr=function(ar,sr,yr){return r.createElement("span",{"aria-hidden":!0,ref:sr,style:Object(u.a)({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:Math.floor(sn/2)*2},yr)},ar)},Rn=function(ar,sr){var yr=R(gn,ar);return rr(Ft(yr,!0),sr,qn)};return r.createElement(r.Fragment,null,Kn,Rt&&on!==G&&on!==X&&r.createElement(r.Fragment,null,rr("lg",kn,{wordBreak:"keep-all",whiteSpace:"nowrap"}),on===C?rr(Ft(gn,!1),Pt,qn):Rn(Nt,Pt)))},ae=pe,Se=function(ht){var Rt=ht.enabledEllipsis,Ft=ht.isEllipsis,nn=ht.children,bn=ht.tooltipProps;return!(bn==null?void 0:bn.title)||!Rt?nn:r.createElement(g.a,Object(u.a)({open:Ft?void 0:!1},bn),nn)},Te=Se,je=function(Tt,ht){var Rt={};for(var Ft in Tt)Object.prototype.hasOwnProperty.call(Tt,Ft)&&ht.indexOf(Ft)<0&&(Rt[Ft]=Tt[Ft]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,Ft=Object.getOwnPropertySymbols(Tt);nn<Ft.length;nn++)ht.indexOf(Ft[nn])<0&&Object.prototype.propertyIsEnumerable.call(Tt,Ft[nn])&&(Rt[Ft[nn]]=Tt[Ft[nn]]);return Rt};function ft(Tt,ht){var Rt=Tt.mark,Ft=Tt.code,nn=Tt.underline,bn=Tt.delete,sn=Tt.strong,un=Tt.keyboard,Ht=Tt.italic,jn=ht;function Ln(Un,lt){!Un||(jn=r.createElement(lt,{},jn))}return Ln(sn,"strong"),Ln(nn,"u"),Ln(bn,"del"),Ln(Ft,"code"),Ln(Rt,"mark"),Ln(un,"kbd"),Ln(Ht,"i"),jn}function fe(Tt,ht,Rt){return Tt===!0||Tt===void 0?ht:Tt||Rt&&ht}function ie(Tt){return Tt===!1?[!1,!1]:Array.isArray(Tt)?Tt:[Tt]}var ge="...",Ve=r.forwardRef(function(Tt,ht){var Rt,Ft,nn,bn=Tt.prefixCls,sn=Tt.className,un=Tt.style,Ht=Tt.type,jn=Tt.disabled,Ln=Tt.children,Un=Tt.ellipsis,lt=Tt.editable,Nt=Tt.copyable,zt=Tt.component,en=Tt.title,tn=je(Tt,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),wn=r.useContext(I.b),on=wn.getPrefixCls,vn=wn.direction,dt=Object(Y.b)("Text")[0],ct=r.useRef(null),Kt=r.useRef(null),pn=on("typography",bn),kn=Object(k.a)(tn,["mark","code","delete","underline","strong","keyboard","italic"]),Pt=he(lt),gn=Object(o.a)(Pt,2),_n=gn[0],Kn=gn[1],qn=Object(S.a)(!1,{value:Kn.editing}),rr=Object(o.a)(qn,2),Rn=rr[0],mr=rr[1],ar=Kn.triggerType,sr=ar===void 0?["icon"]:ar,yr=function(ke){var we;ke&&((we=Kn.onStart)===null||we===void 0||we.call(Kn)),mr(ke)};ne(function(){var pt;Rn||(pt=Kt.current)===null||pt===void 0||pt.focus()},[Rn]);var br=function(ke){ke==null||ke.preventDefault(),yr(!0)},_r=function(ke){var we;(we=Kn.onChange)===null||we===void 0||we.call(Kn,ke),yr(!1)},li=function(){var ke;(ke=Kn.onCancel)===null||ke===void 0||ke.call(Kn),yr(!1)},xi=he(Nt),Mi=Object(o.a)(xi,2),Fr=Mi[0],ur=Mi[1],Ti=r.useState(!1),Xi=Object(o.a)(Ti,2),ca=Xi[0],Zi=Xi[1],xa=r.useRef(),va={};ur.format&&(va.format=ur.format);var Ma=function(){window.clearTimeout(xa.current)},_a=function(ke){var we;ke==null||ke.preventDefault(),ke==null||ke.stopPropagation(),t()(ur.text||String(Ln)||"",va),Zi(!0),Ma(),xa.current=window.setTimeout(function(){Zi(!1)},3e3),(we=ur.onCopy)===null||we===void 0||we.call(ur,ke)};r.useEffect(function(){return Ma},[]);var na=r.useState(!1),sa=Object(o.a)(na,2),Ai=sa[0],ba=sa[1],ea=r.useState(!1),mn=Object(o.a)(ea,2),It=mn[0],Ue=mn[1],Ze=r.useState(!1),Pe=Object(o.a)(Ze,2),mt=Pe[0],xt=Pe[1],cn=r.useState(!1),Ut=Object(o.a)(cn,2),wt=Ut[0],Pn=Ut[1],an=r.useState(!1),Dn=Object(o.a)(an,2),Tn=Dn[0],Zn=Dn[1],Mr=r.useState(!0),xr=Object(o.a)(Mr,2),Vr=xr[0],Dr=xr[1],dr=he(Un,{expandable:!1}),gt=Object(o.a)(dr,2),Rr=gt[0],ci=gt[1],ai=Rr&&!mt,bi=ci.rows,zr=bi===void 0?1:bi,Hi=r.useMemo(function(){return!ai||ci.suffix!==void 0||ci.onEllipsis||ci.expandable||_n||Fr},[ai,ci,_n,Fr]);Object(w.a)(function(){Rr&&!Hi&&(ba(Object(A.a)("webkitLineClamp")),Ue(Object(A.a)("textOverflow")))},[Hi,Rr]);var hi=r.useMemo(function(){return Hi?!1:zr===1?It:Ai},[Hi,It,Ai]),Ci=ai&&(hi?Tn:wt),Ii=ai&&zr===1&&hi,Mn=ai&&zr>1&&hi,nr=function(ke){var we;xt(!0),(we=ci.onExpand)===null||we===void 0||we.call(ci,ke)},cr=r.useState(0),Lr=Object(o.a)(cr,2),ei=Lr[0],ki=Lr[1],ua=r.useState(0),Qi=Object(o.a)(ua,2),Br=Qi[0],ga=Qi[1],fa=function(ke,we){var Be=ke.offsetWidth,Le;ki(Be),ga(parseInt((Le=window.getComputedStyle)===null||Le===void 0?void 0:Le.call(window,we).fontSize,10)||0)},Ja=function(ke){var we;Pn(ke),wt!==ke&&((we=ci.onEllipsis)===null||we===void 0||we.call(ci,ke))};r.useEffect(function(){var pt=ct.current;if(Rr&&hi&&pt){var ke=Mn?pt.offsetHeight<pt.scrollHeight:pt.offsetWidth<pt.scrollWidth;Tn!==ke&&Zn(ke)}},[Rr,hi,Ln,Mn,Vr]),r.useEffect(function(){var pt=ct.current;if(!(typeof IntersectionObserver=="undefined"||!pt||!hi||!ai)){var ke=new IntersectionObserver(function(){Dr(!!pt.offsetParent)});return ke.observe(pt),function(){ke.disconnect()}}},[hi,ai]);var In={};ci.tooltip===!0?In={title:(Rt=Kn.text)!==null&&Rt!==void 0?Rt:Ln}:r.isValidElement(ci.tooltip)?In={title:ci.tooltip}:Object(c.a)(ci.tooltip)==="object"?In=Object(u.a)({title:(Ft=Kn.text)!==null&&Ft!==void 0?Ft:Ln},ci.tooltip):In={title:ci.tooltip};var ve=r.useMemo(function(){var pt=function(we){return["string","number"].includes(Object(c.a)(we))};if(!(!Rr||hi)){if(pt(Kn.text))return Kn.text;if(pt(Ln))return Ln;if(pt(en))return en;if(pt(In.title))return In.title}},[Rr,hi,en,In.title,Ci]);if(Rn)return r.createElement(oe,{value:(nn=Kn.text)!==null&&nn!==void 0?nn:typeof Ln=="string"?Ln:"",onSave:_r,onCancel:li,onEnd:Kn.onEnd,prefixCls:pn,className:sn,style:un,direction:vn,component:zt,maxLength:Kn.maxLength,autoSize:Kn.autoSize,enterIcon:Kn.enterIcon});var x=function(){var ke=ci.expandable,we=ci.symbol;if(!ke)return null;var Be;return we?Be=we:Be=dt.expand,r.createElement("a",{key:"expand",className:"".concat(pn,"-expand"),onClick:nr,"aria-label":dt.expand},Be)},le=function(){if(!!_n){var ke=Kn.icon,we=Kn.tooltip,Be=Object(p.a)(we)[0]||dt.edit,Le=typeof Be=="string"?Be:"";return sr.includes("icon")?r.createElement(g.a,{key:"edit",title:we===!1?"":Be},r.createElement($.a,{ref:Kt,className:"".concat(pn,"-edit"),onClick:br,"aria-label":Le},ke||r.createElement(n.a,{role:"button"}))):null}},me=function(){if(!!Fr){var ke=ur.tooltips,we=ur.icon,Be=ie(ke),Le=ie(we),J=ca?fe(Be[1],dt.copied):fe(Be[0],dt.copy),Ke=ca?dt.copied:dt.copy,We=typeof J=="string"?J:Ke;return r.createElement(g.a,{key:"copy",title:J},r.createElement($.a,{className:m()("".concat(pn,"-copy"),ca&&"".concat(pn,"-copy-success")),onClick:_a,"aria-label":We},ca?fe(Le[1],r.createElement(i.a,null),!0):fe(Le[0],r.createElement(a.a,null),!0)))}},Ae=function(ke){return[ke&&x(),le(),me()]},tt=function(ke){return[ke&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},ge),ci.suffix,Ae(ke)]};return r.createElement(l.a,{onResize:fa,disabled:!ai||hi},function(pt){var ke;return r.createElement(Te,{tooltipProps:In,enabledEllipsis:ai,isEllipsis:Ci},r.createElement(Z,Object(u.a)({className:m()((ke={},Object(f.a)(ke,"".concat(pn,"-").concat(Ht),Ht),Object(f.a)(ke,"".concat(pn,"-disabled"),jn),Object(f.a)(ke,"".concat(pn,"-ellipsis"),Rr),Object(f.a)(ke,"".concat(pn,"-single-line"),ai&&zr===1),Object(f.a)(ke,"".concat(pn,"-ellipsis-single-line"),Ii),Object(f.a)(ke,"".concat(pn,"-ellipsis-multiple-line"),Mn),ke),sn),prefixCls:bn,style:Object(u.a)(Object(u.a)({},un),{WebkitLineClamp:Mn?zr:void 0}),component:zt,ref:Object(T.a)(pt,ct,ht),direction:vn,onClick:sr.includes("text")?br:void 0,"aria-label":ve==null?void 0:ve.toString(),title:en},kn),r.createElement(ae,{enabledMeasure:ai&&!hi,text:Ln,rows:zr,width:ei,fontSize:Br,onEllipsis:Ja},function(we,Be){var Le=we;we.length&&Be&&ve&&(Le=r.createElement("span",{key:"show-content","aria-hidden":!0},Le));var J=ft(Tt,r.createElement(r.Fragment,null,Le,tt(Be)));return J})))})}),Ee=Ve,Me=function(Tt,ht){var Rt={};for(var Ft in Tt)Object.prototype.hasOwnProperty.call(Tt,Ft)&&ht.indexOf(Ft)<0&&(Rt[Ft]=Tt[Ft]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,Ft=Object.getOwnPropertySymbols(Tt);nn<Ft.length;nn++)ht.indexOf(Ft[nn])<0&&Object.prototype.propertyIsEnumerable.call(Tt,Ft[nn])&&(Rt[Ft[nn]]=Tt[Ft[nn]]);return Rt},_e=r.forwardRef(function(Tt,ht){var Rt=Tt.ellipsis,Ft=Tt.rel,nn=Me(Tt,["ellipsis","rel"]),bn=Object(u.a)(Object(u.a)({},nn),{rel:Ft===void 0&&nn.target==="_blank"?"noopener noreferrer":Ft});return delete bn.navigate,r.createElement(Ee,Object(u.a)({},bn,{ref:ht,ellipsis:!!Rt,component:"a"}))}),Re=_e,et=r.forwardRef(function(Tt,ht){return r.createElement(Ee,Object(u.a)({ref:ht},Tt,{component:"div"}))}),Xe=et,it=function(Tt,ht){var Rt={};for(var Ft in Tt)Object.prototype.hasOwnProperty.call(Tt,Ft)&&ht.indexOf(Ft)<0&&(Rt[Ft]=Tt[Ft]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,Ft=Object.getOwnPropertySymbols(Tt);nn<Ft.length;nn++)ht.indexOf(Ft[nn])<0&&Object.prototype.propertyIsEnumerable.call(Tt,Ft[nn])&&(Rt[Ft[nn]]=Tt[Ft[nn]]);return Rt},bt=function(ht,Rt){var Ft=ht.ellipsis,nn=it(ht,["ellipsis"]),bn=r.useMemo(function(){return Ft&&Object(c.a)(Ft)==="object"?Object(k.a)(Ft,["expandable","rows"]):Ft},[Ft]);return r.createElement(Ee,Object(u.a)({ref:Rt},nn,{ellipsis:bn,component:"span"}))},Ct=r.forwardRef(bt),Bt=e("CWQg"),qe=function(Tt,ht){var Rt={};for(var Ft in Tt)Object.prototype.hasOwnProperty.call(Tt,Ft)&&ht.indexOf(Ft)<0&&(Rt[Ft]=Tt[Ft]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,Ft=Object.getOwnPropertySymbols(Tt);nn<Ft.length;nn++)ht.indexOf(Ft[nn])<0&&Object.prototype.propertyIsEnumerable.call(Tt,Ft[nn])&&(Rt[Ft[nn]]=Tt[Ft[nn]]);return Rt},st=Object(Bt.b)(1,2,3,4,5),ut=r.forwardRef(function(Tt,ht){var Rt=Tt.level,Ft=Rt===void 0?1:Rt,nn=qe(Tt,["level"]),bn;return st.includes(Ft)?bn="h".concat(Ft):bn="h1",r.createElement(Ee,Object(u.a)({ref:ht},nn,{component:bn}))}),nt=ut,kt=Z;kt.Text=Ct,kt.Link=Re,kt.Title=nt,kt.Paragraph=Xe;var Sn=M.a=kt},wJg7:function(Ie,M){var e=9007199254740991,u=/^(?:0|[1-9]\d*)$/;function c(r,f){var o=typeof r;return f=f==null?e:f,!!f&&(o=="number"||o!="symbol"&&u.test(r))&&r>-1&&r%1==0&&r<f}Ie.exports=c},wQH0:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("3/fG"),c=e("T8No"),r;(function(f){f.editorSimpleInput=new c.c("editorSimpleInput",!1,!0),f.editorTextFocus=new c.c("editorTextFocus",!1,u.a("editorTextFocus","Whether the editor text has focus (cursor is blinking)")),f.focus=new c.c("editorFocus",!1,u.a("editorFocus","Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")),f.textInputFocus=new c.c("textInputFocus",!1,u.a("textInputFocus","Whether an editor or a rich text input has focus (cursor is blinking)")),f.readOnly=new c.c("editorReadonly",!1,u.a("editorReadonly","Whether the editor is read only")),f.inDiffEditor=new c.c("inDiffEditor",!1,u.a("inDiffEditor","Whether the context is a diff editor")),f.columnSelection=new c.c("editorColumnSelection",!1,u.a("editorColumnSelection","Whether `editor.columnSelection` is enabled")),f.writable=f.readOnly.toNegated(),f.hasNonEmptySelection=new c.c("editorHasSelection",!1,u.a("editorHasSelection","Whether the editor has text selected")),f.hasOnlyEmptySelection=f.hasNonEmptySelection.toNegated(),f.hasMultipleSelections=new c.c("editorHasMultipleSelections",!1,u.a("editorHasMultipleSelections","Whether the editor has multiple selections")),f.hasSingleSelection=f.hasMultipleSelections.toNegated(),f.tabMovesFocus=new c.c("editorTabMovesFocus",!1,u.a("editorTabMovesFocus","Whether `Tab` will move focus out of the editor")),f.tabDoesNotMoveFocus=f.tabMovesFocus.toNegated(),f.isInWalkThroughSnippet=new c.c("isInEmbeddedEditor",!1,!0),f.canUndo=new c.c("canUndo",!1,!0),f.canRedo=new c.c("canRedo",!1,!0),f.hoverVisible=new c.c("editorHoverVisible",!1,u.a("editorHoverVisible","Whether the editor hover is visible")),f.inCompositeEditor=new c.c("inCompositeEditor",void 0,u.a("inCompositeEditor","Whether the editor is part of a larger editor (e.g. notebooks)")),f.notInCompositeEditor=f.inCompositeEditor.toNegated(),f.languageId=new c.c("editorLangId","",u.a("editorLangId","The language identifier of the editor")),f.hasCompletionItemProvider=new c.c("editorHasCompletionItemProvider",!1,u.a("editorHasCompletionItemProvider","Whether the editor has a completion item provider")),f.hasCodeActionsProvider=new c.c("editorHasCodeActionsProvider",!1,u.a("editorHasCodeActionsProvider","Whether the editor has a code actions provider")),f.hasCodeLensProvider=new c.c("editorHasCodeLensProvider",!1,u.a("editorHasCodeLensProvider","Whether the editor has a code lens provider")),f.hasDefinitionProvider=new c.c("editorHasDefinitionProvider",!1,u.a("editorHasDefinitionProvider","Whether the editor has a definition provider")),f.hasDeclarationProvider=new c.c("editorHasDeclarationProvider",!1,u.a("editorHasDeclarationProvider","Whether the editor has a declaration provider")),f.hasImplementationProvider=new c.c("editorHasImplementationProvider",!1,u.a("editorHasImplementationProvider","Whether the editor has an implementation provider")),f.hasTypeDefinitionProvider=new c.c("editorHasTypeDefinitionProvider",!1,u.a("editorHasTypeDefinitionProvider","Whether the editor has a type definition provider")),f.hasHoverProvider=new c.c("editorHasHoverProvider",!1,u.a("editorHasHoverProvider","Whether the editor has a hover provider")),f.hasDocumentHighlightProvider=new c.c("editorHasDocumentHighlightProvider",!1,u.a("editorHasDocumentHighlightProvider","Whether the editor has a document highlight provider")),f.hasDocumentSymbolProvider=new c.c("editorHasDocumentSymbolProvider",!1,u.a("editorHasDocumentSymbolProvider","Whether the editor has a document symbol provider")),f.hasReferenceProvider=new c.c("editorHasReferenceProvider",!1,u.a("editorHasReferenceProvider","Whether the editor has a reference provider")),f.hasRenameProvider=new c.c("editorHasRenameProvider",!1,u.a("editorHasRenameProvider","Whether the editor has a rename provider")),f.hasSignatureHelpProvider=new c.c("editorHasSignatureHelpProvider",!1,u.a("editorHasSignatureHelpProvider","Whether the editor has a signature help provider")),f.hasInlineHintsProvider=new c.c("editorHasInlineHintsProvider",!1,u.a("editorHasInlineHintsProvider","Whether the editor has an inline hints provider")),f.hasDocumentFormattingProvider=new c.c("editorHasDocumentFormattingProvider",!1,u.a("editorHasDocumentFormattingProvider","Whether the editor has a document formatting provider")),f.hasDocumentSelectionFormattingProvider=new c.c("editorHasDocumentSelectionFormattingProvider",!1,u.a("editorHasDocumentSelectionFormattingProvider","Whether the editor has a document selection formatting provider")),f.hasMultipleDocumentFormattingProvider=new c.c("editorHasMultipleDocumentFormattingProvider",!1,u.a("editorHasMultipleDocumentFormattingProvider","Whether the editor has multiple document formatting providers")),f.hasMultipleDocumentSelectionFormattingProvider=new c.c("editorHasMultipleDocumentSelectionFormattingProvider",!1,u.a("editorHasMultipleDocumentSelectionFormattingProvider","Whether the editor has multiple document selection formatting providers"))})(r||(r={}))},wRmb:function(Ie,M,e){"use strict";e.d(M,"a",function(){return l});var u=e("rePB"),c=e("KQm4"),r=e("VTBJ"),f=e("Ff2n"),o=e("q1tI"),i=e.n(o),a=e("Kwbf"),n=e("Zm9Q"),v=e("hW8S"),m=e("I1d6"),h=["children"],t=["fixed"];function l(T){return Object(n.a)(T).filter(function(I){return o.isValidElement(I)}).map(function(I){var Y=I.key,$=I.props,A=$.children,g=Object(f.a)($,h),b=Object(r.a)({key:Y},g);return A&&(b.children=l(A)),b})}function p(T){return T.reduce(function(I,Y){var $=Y.fixed,A=$===!0?"left":$,g=Y.children;return g&&g.length>0?[].concat(Object(c.a)(I),Object(c.a)(p(g).map(function(b){return Object(r.a)({fixed:A},b)}))):[].concat(Object(c.a)(I),[Object(r.a)(Object(r.a)({},Y),{},{fixed:A})])},[])}function w(T){for(var I=!0,Y=0;Y<T.length;Y+=1){var $=T[Y];if(I&&$.fixed!=="left")I=!1;else if(!I&&$.fixed==="left"){Object(a.a)(!1,"Index ".concat(Y-1," of `columns` missing `fixed='left'` prop."));break}}for(var A=!0,g=T.length-1;g>=0;g-=1){var b=T[g];if(A&&b.fixed!=="right")A=!1;else if(!A&&b.fixed==="right"){Object(a.a)(!1,"Index ".concat(g+1," of `columns` missing `fixed='right'` prop."));break}}}function S(T){return T.map(function(I){var Y=I.fixed,$=Object(f.a)(I,t),A=Y;return Y==="left"?A="right":Y==="right"&&(A="left"),Object(r.a)({fixed:A},$)})}function k(T,I){var Y=T.prefixCls,$=T.columns,A=T.children,g=T.expandable,b=T.expandedKeys,d=T.columnTitle,O=T.getRowKey,E=T.onTriggerExpand,D=T.expandIcon,W=T.rowExpandable,te=T.expandIconColumnIndex,re=T.direction,ye=T.expandRowByClick,q=T.columnWidth,oe=T.fixed,he=o.useMemo(function(){return $||l(A)},[$,A]),ue=o.useMemo(function(){if(g){var be,Z=he.slice();if(!Z.includes(m.a)){var ee=te||0;ee>=0&&Z.splice(ee,0,m.a)}var ce=Z.indexOf(m.a);Z=Z.filter(function(z,G){return z!==m.a||G===ce});var R=he[ce],y;(oe==="left"||oe)&&!te?y="left":(oe==="right"||oe)&&te===he.length?y="right":y=R?R.fixed:null;var C=(be={},Object(u.a)(be,v.a,{className:"".concat(Y,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),Object(u.a)(be,"title",d),Object(u.a)(be,"fixed",y),Object(u.a)(be,"className","".concat(Y,"-row-expand-icon-cell")),Object(u.a)(be,"width",q),Object(u.a)(be,"render",function(G,X,pe){var ae=O(X,pe),Se=b.has(ae),Te=W?W(X):!0,je=D({prefixCls:Y,expanded:Se,expandable:Te,record:X,onExpand:E});return ye?o.createElement("span",{onClick:function(fe){return fe.stopPropagation()}},je):je}),be);return Z.map(function(z){return z===m.a?C:z})}return he.filter(function(z){return z!==m.a})},[g,he,O,b,D,re]),ne=o.useMemo(function(){var be=ue;return I&&(be=I(be)),be.length||(be=[{render:function(){return null}}]),be},[I,ue,re]),se=o.useMemo(function(){return re==="rtl"?S(p(ne)):p(ne)},[ne,re]);return[ne,se]}M.b=k},wUu8:function(Ie,M,e){"use strict";var u=e("q1tI"),c=e.n(u),r=c.a.createContext({});M.a=r},wclG:function(Ie,M,e){var u=e("pFRH"),c=e("88Gu"),r=c(u);Ie.exports=r},wlus:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="MinusCircleOutlined";var a=M.a=c.forwardRef(i)},wrZu:function(Ie,M,e){var u=e("+K+b"),c=e("XYm9"),r=e("b2z7"),f=e("otv/"),o=e("yP5f"),i="[object Boolean]",a="[object Date]",n="[object Map]",v="[object Number]",m="[object RegExp]",h="[object Set]",t="[object String]",l="[object Symbol]",p="[object ArrayBuffer]",w="[object DataView]",S="[object Float32Array]",k="[object Float64Array]",T="[object Int8Array]",I="[object Int16Array]",Y="[object Int32Array]",$="[object Uint8Array]",A="[object Uint8ClampedArray]",g="[object Uint16Array]",b="[object Uint32Array]";function d(O,E,D){var W=O.constructor;switch(E){case p:return u(O);case i:case a:return new W(+O);case w:return c(O,D);case S:case k:case T:case I:case Y:case $:case A:case g:case b:return o(O,D);case n:return new W;case v:case t:return new W(O);case m:return r(O);case h:return new W;case l:return f(O)}}Ie.exports=d},wxcJ:function(Ie,M,e){"use strict";(function(u){e.d(M,"a",function(){return o}),e.d(M,"b",function(){return i}),e.d(M,"c",function(){return a});var c=e("MNsG"),r;if(typeof c.b.vscode!="undefined"&&typeof c.b.vscode.process!="undefined"){var f=c.b.vscode.process;r={get platform(){return f.platform},get env(){return f.env},cwd:function(){return f.cwd()},nextTick:function(v){return Object(c.k)(v)}}}else typeof u!="undefined"?r={get platform(){return u.platform},get env(){return Object({NODE_ENV:"production"})},cwd:function(){return Object({NODE_ENV:"production"}).VSCODE_CWD||u.cwd()},nextTick:function(v){return u.nextTick(v)}}:r={get platform(){return c.j?"win32":c.f?"darwin":"linux"},nextTick:function(v){return Object(c.k)(v)},get env(){return Object.create(null)},cwd:function(){return"/"}};var o=r.cwd,i=r.env,a=r.platform}).call(this,e("Q2Ig"))},"x/UI":function(Ie,M,e){"use strict";e.d(M,"a",function(){return n}),e.d(M,"b",function(){return h}),e.d(M,"c",function(){return t});var u=e("yKVA"),c=e("879j"),r=e("fWQN"),f=e("mtLc"),o=e("Cg/j"),i=e("bY76"),a=e("746U"),n=Object(o.c)("IWorkspaceEditService");function v(p){return Object(a.i)(p)&&(Boolean(p.newUri)||Boolean(p.oldUri))}function m(p){return Object(a.i)(p)&&i.a.isUri(p.resource)&&Object(a.i)(p.edit)}var h=function(){function p(w){Object(r.a)(this,p),this.metadata=w}return Object(f.a)(p,null,[{key:"convert",value:function(S){return S.edits.map(function(k){if(m(k))return new t(k.resource,k.edit,k.modelVersionId,k.metadata);if(v(k))return new l(k.oldUri,k.newUri,k.options,k.metadata);throw new Error("Unsupported edit")})}}]),p}(),t=function(p){Object(u.a)(S,p);var w=Object(c.a)(S);function S(k,T,I,Y){var $;return Object(r.a)(this,S),$=w.call(this,Y),$.resource=k,$.textEdit=T,$.versionId=I,$}return Object(f.a)(S)}(h),l=function(p){Object(u.a)(S,p);var w=Object(c.a)(S);function S(k,T,I,Y){var $;return Object(r.a)(this,S),$=w.call(this,Y),$.oldResource=k,$.newResource=T,$.options=I,$}return Object(f.a)(S)}(h)},x1Ii:function(Ie,M,e){"use strict";e.d(M,"a",function(){return se}),e.d(M,"b",function(){return be});var u=e("y8nQ"),c=e("Vl3Y"),r=e("KQm4"),f=e("VTBJ"),o=e("Ff2n"),i=e("GNNt"),a=e("wEI+"),n=e("nKUr"),v=e("lfch"),m=e("/MfK"),h=e("LQCs"),t=e("wUu8"),l=e("Kwbf"),p=e("q1tI"),w=e.n(p),S=e("a7SZ"),k=e("hprd"),T=e("+L6B"),I=e("2/Rp"),Y=e("x+uP"),$=e("HaE+"),A=e("ODXe"),g=e("xvlK"),b=e("tW0b"),d=e("uX+g"),O=e("BGR+"),E=e("T2oS"),D=e("W9HT"),W=e("5Dmo"),te=e("3S7+"),re=e("Zm9Q"),ye=e("bG1m"),q=["creatorButtonProps","deleteIconProps","copyIconProps","itemContainerRender","itemRender","alwaysShowItemLabel","prefixCls","creatorRecord","action","actionGuard","children","actionRender","fields","meta","field","index","formInstance","originName","min","max","count"],oe=function(ee){return Array.isArray(ee)?ee:typeof ee=="function"?[ee]:Object(re.a)(ee)},he=function(ee){var ce,R=ee.creatorButtonProps,y=ee.deleteIconProps,C=ee.copyIconProps,z=ee.itemContainerRender,G=ee.itemRender,X=ee.alwaysShowItemLabel,pe=ee.prefixCls,ae=ee.creatorRecord,Se=ee.action,Te=ee.actionGuard,je=ee.children,ft=ee.actionRender,fe=ee.fields,ie=ee.meta,ge=ee.field,Ve=ee.index,Ee=ee.formInstance,Me=ee.originName,_e=ee.min,Re=ee.max,et=ee.count,Xe=Object(o.a)(ee,q),it=Object(p.useContext)(se),bt=Object(p.useRef)(!1),Ct=Object(p.useState)(!1),Bt=Object(A.a)(Ct,2),qe=Bt[0],st=Bt[1],ut=Object(p.useState)(!1),nt=Object(A.a)(ut,2),kt=nt[0],Sn=nt[1];Object(p.useEffect)(function(){return function(){bt.current=!0}},[]);var Tt=function(){return Ee.getFieldValue([it.listName,Me,Ve==null?void 0:Ve.toString()].flat(1).filter(function(zt){return zt!=null}))},ht={getCurrentRowData:Tt,setCurrentRowData:function(zt){var en,tn=(Ee==null||(en=Ee.getFieldsValue)===null||en===void 0?void 0:en.call(Ee))||{},wn=[it.listName,Me,Ve==null?void 0:Ve.toString()].flat(1).filter(function(vn){return vn!=null}),on=Object(ye.a)(tn,wn,Object(f.a)(Object(f.a)({},Tt()),zt||{}));return Ee.setFieldsValue(on)}},Rt=oe(je).map(function(Nt){return typeof Nt=="function"?Nt==null?void 0:Nt(ge,Ve,Object(f.a)(Object(f.a)({},Se),ht),et):Nt}).map(function(Nt,zt){if(w.a.isValidElement(Nt)){var en;return w.a.cloneElement(Nt,Object(f.a)({key:Nt.key||(Nt==null||(en=Nt.props)===null||en===void 0?void 0:en.name)||zt},Nt==null?void 0:Nt.props))}return Nt}),Ft=Object(p.useMemo)(function(){if(C===!1||Re===et)return null;var Nt=C.Icon,zt=Nt===void 0?v.a:Nt,en=C.tooltipText;return Object(n.jsx)(te.a,{title:en,children:Object(n.jsx)(D.a,{spinning:kt,children:Object(n.jsx)(zt,{className:"".concat(pe,"-action-icon action-copy"),onClick:function(){var tn=Object($.a)(Object(Y.a)().mark(function on(){return Object(Y.a)().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return Sn(!0),dt.next=3,Se.add(Ee==null?void 0:Ee.getFieldValue([it.listName,Xe.name,ge.name].filter(function(ct){return ct!==void 0}).flat(1)));case 3:Sn(!1);case 4:case"end":return dt.stop()}},on)}));function wn(){return tn.apply(this,arguments)}return wn}()})})},"copy")},[C,Re,et,kt,pe,Se,Ee,it.listName,Xe.name,ge.name]),nn=Object(p.useMemo)(function(){if(y===!1||_e===et)return null;var Nt=y.Icon,zt=Nt===void 0?m.a:Nt,en=y.tooltipText;return Object(n.jsx)(te.a,{title:en,children:Object(n.jsx)(D.a,{spinning:qe,children:Object(n.jsx)(zt,{className:"".concat(pe,"-action-icon action-remove"),onClick:function(){var tn=Object($.a)(Object(Y.a)().mark(function on(){return Object(Y.a)().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return st(!0),dt.next=3,Se.remove(ge.name);case 3:bt.current||st(!1);case 4:case"end":return dt.stop()}},on)}));function wn(){return tn.apply(this,arguments)}return wn}()})})},"delete")},[y,_e,et,qe,pe,st,Se,ge.name]),bn=Object(p.useMemo)(function(){return[Ft,nn].filter(function(Nt){return Nt!=null})},[Ft,nn]),sn=(ft==null?void 0:ft(ge,Se,bn,et))||bn,un=sn.length>0?Object(n.jsx)("div",{className:"".concat(pe,"-action"),children:sn}):null,Ht={name:Xe.name,field:ge,index:Ve,record:Ee==null||(ce=Ee.getFieldValue)===null||ce===void 0?void 0:ce.call(Ee,[it.listName,Xe.name,ge.name].filter(function(Nt){return Nt!==void 0}).flat(1)),fields:fe,operation:Se,meta:ie},jn=Object(S.b)(),Ln=jn.grid,Un=(z==null?void 0:z(Rt,Ht))||Rt,lt=(G==null?void 0:G({listDom:Object(n.jsx)("div",{className:"".concat(pe,"-container"),style:{width:Ln?"100%":void 0},children:Un}),action:un},Ht))||Object(n.jsxs)("div",{className:"".concat(pe,"-item ").concat(X?"".concat(pe,"-item-show-label"):""),style:{display:"flex",alignItems:"flex-end"},children:[Object(n.jsx)("div",{className:"".concat(pe,"-container"),style:{width:Ln?"100%":void 0},children:Un}),un]});return Object(n.jsx)(se.Provider,{value:Object(f.a)(Object(f.a)({},ge),{},{listName:[it.listName,Me,ge.name].filter(function(Nt){return Nt!==void 0}).flat(1)}),children:lt})},ue=function(ee){var ce=Object(h.d)(),R=ee.creatorButtonProps,y=ee.prefixCls,C=ee.children,z=ee.creatorRecord,G=ee.action,X=ee.fields,pe=ee.actionGuard,ae=ee.max,Se=ee.fieldExtraRender,Te=ee.meta,je=ee.containerClassName,ft=ee.containerStyle,fe=ee.onAfterAdd,ie=ee.onAfterRemove,ge=Object(p.useRef)(new Map),Ve=Object(p.useState)(!1),Ee=Object(A.a)(Ve,2),Me=Ee[0],_e=Ee[1],Re=Object(p.useMemo)(function(){return X.map(function(bt){var Ct,Bt;if(!((Ct=ge.current)===null||Ct===void 0?void 0:Ct.has(bt.key.toString()))){var qe;(qe=ge.current)===null||qe===void 0||qe.set(bt.key.toString(),Object(b.a)())}var st=(Bt=ge.current)===null||Bt===void 0?void 0:Bt.get(bt.key.toString());return Object(f.a)(Object(f.a)({},bt),{},{uuid:st})})},[X]),et=Object(p.useMemo)(function(){var bt=Object(f.a)({},G),Ct=Re.length;return(pe==null?void 0:pe.beforeAddRow)?bt.add=Object($.a)(Object(Y.a)().mark(function Bt(){var qe,st,ut,nt,kt,Sn=arguments;return Object(Y.a)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:for(qe=Sn.length,st=new Array(qe),ut=0;ut<qe;ut++)st[ut]=Sn[ut];return ht.next=3,pe.beforeAddRow.apply(pe,st.concat([Ct]));case 3:if(nt=ht.sent,!nt){ht.next=8;break}return kt=G.add.apply(G,st),fe==null||fe.apply(void 0,st.concat([Ct+1])),ht.abrupt("return",kt);case 8:return ht.abrupt("return",!1);case 9:case"end":return ht.stop()}},Bt)})):bt.add=Object($.a)(Object(Y.a)().mark(function Bt(){var qe,st,ut,nt,kt=arguments;return Object(Y.a)().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:for(qe=kt.length,st=new Array(qe),ut=0;ut<qe;ut++)st[ut]=kt[ut];return nt=G.add.apply(G,st),fe==null||fe.apply(void 0,st.concat([Ct+1])),Tt.abrupt("return",nt);case 4:case"end":return Tt.stop()}},Bt)})),(pe==null?void 0:pe.beforeRemoveRow)?bt.remove=Object($.a)(Object(Y.a)().mark(function Bt(){var qe,st,ut,nt,kt,Sn=arguments;return Object(Y.a)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:for(qe=Sn.length,st=new Array(qe),ut=0;ut<qe;ut++)st[ut]=Sn[ut];return ht.next=3,pe.beforeRemoveRow.apply(pe,st.concat([Ct]));case 3:if(nt=ht.sent,!nt){ht.next=8;break}return kt=G.remove.apply(G,st),ie==null||ie.apply(void 0,st.concat([Ct-1])),ht.abrupt("return",kt);case 8:return ht.abrupt("return",!1);case 9:case"end":return ht.stop()}},Bt)})):bt.remove=Object($.a)(Object(Y.a)().mark(function Bt(){var qe,st,ut,nt,kt=arguments;return Object(Y.a)().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:for(qe=kt.length,st=new Array(qe),ut=0;ut<qe;ut++)st[ut]=kt[ut];return nt=G.remove.apply(G,st),ie==null||ie.apply(void 0,st.concat([Ct-1])),Tt.abrupt("return",nt);case 4:case"end":return Tt.stop()}},Bt)})),bt},[G,pe==null?void 0:pe.beforeAddRow,pe==null?void 0:pe.beforeRemoveRow,fe,ie,Re.length]),Xe=Object(p.useMemo)(function(){if(R===!1||Re.length===ae)return null;var bt=R||{},Ct=bt.position,Bt=Ct===void 0?"bottom":Ct,qe=bt.creatorButtonText,st=qe===void 0?ce.getMessage("editableTable.action.add","\u6DFB\u52A0\u4E00\u884C\u6570\u636E"):qe;return Object(n.jsx)(I.a,Object(f.a)(Object(f.a)({className:"".concat(y,"-creator-button-").concat(Bt),type:"dashed",loading:Me,block:!0,icon:Object(n.jsx)(g.a,{})},Object(O.a)(R||{},["position","creatorButtonText"])),{},{onClick:function(){var ut=Object($.a)(Object(Y.a)().mark(function kt(){var Sn;return Object(Y.a)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return _e(!0),Sn=Re.length,Bt==="top"&&(Sn=0),ht.next=5,et.add(Object(d.a)(z)||{},Sn);case 5:_e(!1);case 6:case"end":return ht.stop()}},kt)}));function nt(){return ut.apply(this,arguments)}return nt}(),children:st}))},[R,Re.length,ae,ce,y,Me,et,z]),it=Object(f.a)({width:"max-content",maxWidth:"100%",minWidth:"100%"},ft);return Object(n.jsxs)("div",{style:it,className:je,children:[R!==!1&&(R==null?void 0:R.position)==="top"&&Xe,Re.map(function(bt,Ct){return Object(p.createElement)(he,Object(f.a)(Object(f.a)({},ee),{},{key:bt.uuid,field:bt,index:Ct,action:et,count:Re.length}),C)}),Se&&Se(et,Te),R!==!1&&(R==null?void 0:R.position)!=="top"&&Xe]})},ne=["actionRender","creatorButtonProps","label","alwaysShowItemLabel","tooltip","creatorRecord","itemRender","rules","itemContainerRender","fieldExtraRender","copyIconProps","children","deleteIconProps","actionRef","style","prefixCls","actionGuard","min","max","colProps","rowProps","onAfterAdd","onAfterRemove","isValidateList","emptyListMessage"],se=w.a.createContext({});function be(Z){var ee=Object(p.useRef)(),ce=Object(p.useContext)(a.a.ConfigContext),R=Object(p.useContext)(se),y=ce.getPrefixCls("pro-form-list"),C=Object(h.d)(),z=Z.actionRender,G=Z.creatorButtonProps,X=Z.label,pe=Z.alwaysShowItemLabel,ae=Z.tooltip,Se=Z.creatorRecord,Te=Z.itemRender,je=Z.rules,ft=Z.itemContainerRender,fe=Z.fieldExtraRender,ie=Z.copyIconProps,ge=ie===void 0?{Icon:v.a,tooltipText:C.getMessage("copyThisLine","\u590D\u5236\u6B64\u884C")}:ie,Ve=Z.children,Ee=Z.deleteIconProps,Me=Ee===void 0?{Icon:m.a,tooltipText:C.getMessage("deleteThisLine","\u5220\u9664\u6B64\u884C")}:Ee,_e=Z.actionRef,Re=Z.style,et=Z.prefixCls,Xe=Z.actionGuard,it=Z.min,bt=Z.max,Ct=Z.colProps,Bt=Z.rowProps,qe=Z.onAfterAdd,st=Z.onAfterRemove,ut=Z.isValidateList,nt=ut===void 0?!1:ut,kt=Z.emptyListMessage,Sn=kt===void 0?"\u5217\u8868\u4E0D\u80FD\u4E3A\u7A7A":kt,Tt=Object(o.a)(Z,ne),ht=Object(S.b)({colProps:Ct,rowProps:Bt}),Rt=ht.ColWrapper,Ft=ht.RowWrapper,nn=Object(p.useContext)(t.a),bn=Object(p.useMemo)(function(){return R.name===void 0?[Tt.name].flat(1):[R.name,Tt.name].flat(1)},[R.name,Tt.name]);return Object(p.useImperativeHandle)(_e,function(){return Object(f.a)(Object(f.a)({},ee.current),{},{get:function(un){return nn.formRef.current.getFieldValue([].concat(Object(r.a)(bn),[un]))},getList:function(){return nn.formRef.current.getFieldValue(Object(r.a)(bn))}})},[bn,nn.formRef]),Object(p.useEffect)(function(){Object(l.b)(!!nn.formRef,"ProFormList \u5FC5\u987B\u8981\u653E\u5230 ProForm \u4E2D,\u5426\u5219\u4F1A\u9020\u6210\u884C\u4E3A\u5F02\u5E38\u3002"),Object(l.b)(!!nn.formRef,"Proformlist must be placed in ProForm, otherwise it will cause abnormal behavior.")},[nn.formRef]),nn.formRef?Object(n.jsx)(Rt,{children:Object(n.jsx)("div",{className:y,style:Re,children:Object(n.jsx)(c.a.Item,Object(f.a)(Object(f.a)({label:X,prefixCls:et,tooltip:ae,style:Re},Tt),{},{name:nt?bn:void 0,rules:nt?[{validator:function(un,Ht){return!Ht||Ht.length===0?Promise.reject(new Error(Sn)):Promise.resolve()},required:!0}]:void 0,children:Object(n.jsx)(c.a.List,Object(f.a)(Object(f.a)({rules:je},Tt),{},{name:bn,children:function(un,Ht,jn){return ee.current=Ht,Object(n.jsxs)(Ft,{children:[Object(n.jsx)(ue,{name:bn,originName:Tt.name,copyIconProps:ge,deleteIconProps:Me,formInstance:nn.formRef.current,prefixCls:y,meta:jn,fields:un,itemContainerRender:ft,itemRender:Te,fieldExtraRender:fe,creatorButtonProps:G,creatorRecord:Se,actionRender:z,action:Ht,actionGuard:Xe,alwaysShowItemLabel:pe,min:it,max:bt,count:un.length,onAfterAdd:function(Un,lt,Nt){nt&&nn.formRef.current.validateFields([bn]),qe==null||qe(Un,lt,Nt)},onAfterRemove:function(Un,lt){nt&<===0&&nn.formRef.current.validateFields([bn]),st==null||st(Un,lt)},children:Ve}),Object(n.jsx)(c.a.ErrorList,{errors:jn.errors})]})}}))}))})}):null}},x1Ya:function(Ie,M,e){"use strict";var u=e("wx14"),c=e("VTBJ"),r=e("rePB"),f=e("ODXe"),o=e("Ff2n"),i=e("TSYQ"),a=e.n(i),n=e("6cGi"),v=e("q1tI"),m=e.n(v),h=["prefixCls","className","style","checked","disabled","defaultChecked","type","onChange"],t=Object(v.forwardRef)(function(l,p){var w,S=l.prefixCls,k=S===void 0?"rc-checkbox":S,T=l.className,I=l.style,Y=l.checked,$=l.disabled,A=l.defaultChecked,g=A===void 0?!1:A,b=l.type,d=b===void 0?"checkbox":b,O=l.onChange,E=Object(o.a)(l,h),D=Object(v.useRef)(null),W=Object(n.a)(g,{value:Y}),te=Object(f.a)(W,2),re=te[0],ye=te[1];Object(v.useImperativeHandle)(p,function(){return{focus:function(){var ue;(ue=D.current)===null||ue===void 0||ue.focus()},blur:function(){var ue;(ue=D.current)===null||ue===void 0||ue.blur()},input:D.current}});var q=a()(k,T,(w={},Object(r.a)(w,"".concat(k,"-checked"),re),Object(r.a)(w,"".concat(k,"-disabled"),$),w)),oe=function(ue){$||("checked"in l||ye(ue.target.checked),O==null||O({target:Object(c.a)(Object(c.a)({},l),{},{type:d,checked:ue.target.checked}),stopPropagation:function(){ue.stopPropagation()},preventDefault:function(){ue.preventDefault()},nativeEvent:ue.nativeEvent}))};return v.createElement("span",{className:q,style:I},v.createElement("input",Object(u.a)({},E,{className:"".concat(k,"-input"),ref:D,onChange:oe,disabled:$,checked:!!re,type:d})),v.createElement("span",{className:"".concat(k,"-inner")}))});M.a=t},xGfz:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="PlusSquareOutlined";var a=M.a=c.forwardRef(i)},xONI:function(Ie,M,e){"use strict";e.d(M,"a",function(){return Y});var u=e("qLMh"),c=e("oBTY"),r=e("yKVA"),f=e("879j"),o=e("fWQN"),i=e("mtLc"),a=e("KgQ1"),n=e.n(a),v=e("EffR"),m=e("7lZ/"),h=e("pmY6"),t=e("nuFA"),l=e("qj0h"),p=e("746U"),w=e("4y0V"),S=e("3/fG"),k=e("JQT/"),T=function(b,d,O,E){function D(W){return W instanceof O?W:new O(function(te){te(W)})}return new(O||(O=Promise))(function(W,te){function re(oe){try{q(E.next(oe))}catch(he){te(he)}}function ye(oe){try{q(E.throw(oe))}catch(he){te(he)}}function q(oe){oe.done?W(oe.value):D(oe.value).then(re,ye)}q((E=E.apply(b,d||[])).next())})},I=function(){function b(d){Object(o.a)(this,b),this._element=d}return Object(i.a)(b,[{key:"element",get:function(){return this._element}},{key:"textContent",set:function(O){this.disposed||O===this._textContent||(this._textContent=O,this._element.textContent=O)}},{key:"className",set:function(O){this.disposed||O===this._className||(this._className=O,this._element.className=O)}},{key:"empty",set:function(O){this.disposed||O===this._empty||(this._empty=O,this._element.style.marginLeft=O?"0":"")}},{key:"dispose",value:function(){this.disposed=!0}}]),b}(),Y=function(b){Object(r.a)(O,b);var d=Object(f.a)(O);function O(E,D){var W;Object(o.a)(this,O),W=d.call(this),W.hoverDelegate=void 0,W.customHovers=new Map,W.domNode=W._register(new I(v.append(E,v.$(".monaco-icon-label")))),W.labelContainer=v.append(W.domNode.element,v.$(".monaco-icon-label-container"));var te=v.append(W.labelContainer,v.$("span.monaco-icon-name-container"));return W.descriptionContainer=W._register(new I(v.append(W.labelContainer,v.$("span.monaco-icon-description-container")))),(D==null?void 0:D.supportHighlights)?W.nameNode=new g(te,!!D.supportIcons):W.nameNode=new $(te),(D==null?void 0:D.supportDescriptionHighlights)?W.descriptionNodeFactory=function(){return new m.a(v.append(W.descriptionContainer.element,v.$("span.label-description")),!!D.supportIcons)}:W.descriptionNodeFactory=function(){return W._register(new I(v.append(W.descriptionContainer.element,v.$("span.label-description"))))},(D==null?void 0:D.hoverDelegate)&&(W.hoverDelegate=D.hoverDelegate),W}return Object(i.a)(O,[{key:"setLabel",value:function(D,W,te){var re=["monaco-icon-label"];te&&(te.extraClasses&&re.push.apply(re,Object(c.a)(te.extraClasses)),te.italic&&re.push("italic"),te.strikethrough&&re.push("strikethrough")),this.domNode.className=re.join(" "),this.setupHover(this.labelContainer,te==null?void 0:te.title),this.nameNode.setLabel(D,te),(W||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof m.a?(this.descriptionNode.set(W||"",te?te.descriptionMatches:void 0),this.setupHover(this.descriptionNode.element,te==null?void 0:te.descriptionTitle)):(this.descriptionNode.textContent=W||"",this.setupHover(this.descriptionNode.element,(te==null?void 0:te.descriptionTitle)||""),this.descriptionNode.empty=!W))}},{key:"setupHover",value:function(D,W){var te=this.customHovers.get(D);if(te&&(te.dispose(),this.customHovers.delete(D)),!W){D.removeAttribute("title");return}return this.hoverDelegate?this.setupCustomHover(this.hoverDelegate,D,W):this.setupNativeHover(D,W)}},{key:"getTooltipForCustom",value:function(D){var W=this;if(Object(p.j)(D))return function(){return T(W,void 0,void 0,Object(u.a)().mark(function re(){return Object(u.a)().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.abrupt("return",D);case 1:case"end":return q.stop()}},re)}))};if(Object(p.g)(D.markdown))return D.markdown;var te=D.markdown;return function(){return T(W,void 0,void 0,Object(u.a)().mark(function re(){return Object(u.a)().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.abrupt("return",te);case 1:case"end":return q.stop()}},re)}))}}},{key:"setupCustomHover",value:function(D,W,te){W.setAttribute("title",""),W.removeAttribute("title");var re=this.getTooltipForCustom(te),ye,q,oe=!1,he,ue;function ne(be){var Z=this;if(oe)return;he=new k.b;function ee(z){var G=z.type===v.EventType.MOUSE_DOWN;G&&(ue==null||ue.dispose(),ue=void 0),(G||z.fromElement===W)&&(oe=!1,ye=void 0,he.dispose(!0),ce.dispose(),R.dispose())}var ce=Object(w.a)(W,v.EventType.MOUSE_LEAVE,!0)(ee.bind(W)),R=Object(w.a)(W,v.EventType.MOUSE_DOWN,!0)(ee.bind(W));oe=!0;function y(z){q=z.x}var C=Object(w.a)(W,v.EventType.MOUSE_MOVE,!0)(y.bind(W));setTimeout(function(){return T(Z,void 0,void 0,Object(u.a)().mark(function z(){var G,X,pe;return Object(u.a)().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:if(!(oe&&re)){Se.next=18;break}if(ye){Se.next=18;break}return X={targetElements:[this],dispose:function(){}},ye={text:Object(S.a)("iconLabel.loading","Loading..."),target:X,hoverPosition:2},ue=O.adjustXAndShowCustomHover(ye,q,D,oe),Se.next=7,re(he.token);case 7:if(Se.t1=G=Se.sent,Se.t0=Se.t1!==null,!Se.t0){Se.next=11;break}Se.t0=G!==void 0;case 11:if(!Se.t0){Se.next=15;break}Se.t2=G,Se.next=16;break;case 15:Se.t2=Object(p.j)(te)?void 0:te.markdownNotSupportedFallback;case 16:pe=Se.t2,pe?(ye={text:pe,target:X,hoverPosition:2},ue=O.adjustXAndShowCustomHover(ye,q,D,oe)):ue&&(ue.dispose(),ue=void 0);case 18:C.dispose();case 19:case"end":return Se.stop()}},z,this)}))},D.delay)}var se=this._register(Object(w.a)(W,v.EventType.MOUSE_OVER,!0)(ne.bind(W)));this.customHovers.set(W,se)}},{key:"setupNativeHover",value:function(D,W){var te="";Object(p.j)(W)?te=W:(W==null?void 0:W.markdownNotSupportedFallback)&&(te=W.markdownNotSupportedFallback),D.title=te}}],[{key:"adjustXAndShowCustomHover",value:function(D,W,te,re){if(D&&re)return W!==void 0&&(D.target.x=W+10),te.showHover(D)}}]),O}(h.a),$=function(){function b(d){Object(o.a)(this,b),this.container=d,this.label=void 0,this.singleLabel=void 0}return Object(i.a)(b,[{key:"setLabel",value:function(O,E){if(!(this.label===O&&Object(l.d)(this.options,E)))if(this.label=O,this.options=E,typeof O=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=v.append(this.container,v.$("a.label-name",{id:E==null?void 0:E.domId}))),this.singleLabel.textContent=O;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(var D=0;D<O.length;D++){var W=O[D],te=(E==null?void 0:E.domId)&&"".concat(E==null?void 0:E.domId,"_").concat(D);v.append(this.container,v.$("a.label-name",{id:te,"data-icon-label-count":O.length,"data-icon-label-index":D,role:"treeitem"},W)),D<O.length-1&&v.append(this.container,v.$("span.label-separator",void 0,(E==null?void 0:E.separator)||"/"))}}}}]),b}();function A(b,d,O){if(!!O){var E=0;return b.map(function(D){var W={start:E,end:E+D.length},te=O.map(function(re){return t.a.intersect(W,re)}).filter(function(re){return!t.a.isEmpty(re)}).map(function(re){var ye=re.start,q=re.end;return{start:ye-E,end:q-E}});return E=W.end+d.length,te})}}var g=function(){function b(d,O){Object(o.a)(this,b),this.container=d,this.supportIcons=O,this.label=void 0,this.singleLabel=void 0}return Object(i.a)(b,[{key:"setLabel",value:function(O,E){if(!(this.label===O&&Object(l.d)(this.options,E)))if(this.label=O,this.options=E,typeof O=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=new m.a(v.append(this.container,v.$("a.label-name",{id:E==null?void 0:E.domId})),this.supportIcons)),this.singleLabel.set(O,E==null?void 0:E.matches,void 0,E==null?void 0:E.labelEscapeNewLines);else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(var D=(E==null?void 0:E.separator)||"/",W=A(O,D,E==null?void 0:E.matches),te=0;te<O.length;te++){var re=O[te],ye=W?W[te]:void 0,q=(E==null?void 0:E.domId)&&"".concat(E==null?void 0:E.domId,"_").concat(te),oe=v.$("a.label-name",{id:q,"data-icon-label-count":O.length,"data-icon-label-index":te,role:"treeitem"}),he=new m.a(v.append(this.container,oe),this.supportIcons);he.set(re,ye,void 0,E==null?void 0:E.labelEscapeNewLines),te<O.length-1&&v.append(oe,v.$("span.label-separator",void 0,D))}}}}]),b}()},xYSL:function(Ie,M){function e(u,c){return u.has(c)}Ie.exports=e},xaJk:function(Ie,M,e){var u=e("asDA"),c=e("SKAX"),r=e("ut/Y"),f=e("WPeF"),o=e("Z0cm");function i(a,n,v){var m=o(a)?u:f,h=arguments.length<3;return m(a,r(n,4),v,h,c)}Ie.exports=i},xdlL:function(Ie,M,e){"use strict";e.d(M,"a",function(){return r});var u=e("iZzK"),c=e("cHpt");function r(f,o,i){return Object(c.a)()?r=Reflect.construct.bind():r=function(n,v,m){var h=[null];h.push.apply(h,v);var t=Function.bind.apply(n,h),l=new t;return m&&Object(u.a)(l,m.prototype),l},r.apply(null,arguments)}},xkGU:function(Ie,M,e){Ie.exports=e("bNQv")},"xs/l":function(Ie,M,e){var u=e("TYy9"),c=e("Ioao"),r=e("wclG");function f(o){return r(c(o,void 0,u),o+"")}Ie.exports=f},xweI:function(Ie,M,e){var u=e("XGnz"),c=e("alwl"),r=e("EA7m"),f=e("mv/X"),o=r(function(i,a){if(i==null)return[];var n=a.length;return n>1&&f(i,a[0],a[1])?a=[]:n>2&&f(a[0],a[1],a[2])&&(a=[a[0]]),c(i,u(a,1),[])});Ie.exports=o},xzDV:function(Ie,M,e){},"y/19":function(Ie,M,e){},"y0+3":function(Ie,M,e){"use strict";e.d(M,"a",function(){return h}),e.d(M,"b",function(){return l});var u=/margin|padding|width|height|max|min|offset/,c={left:!0,top:!0},r={cssFloat:1,styleFloat:1,float:1};function f(p){return p.nodeType===1?p.ownerDocument.defaultView.getComputedStyle(p,null):{}}function o(p,w,S){if(w=w.toLowerCase(),S==="auto"){if(w==="height")return p.offsetHeight;if(w==="width")return p.offsetWidth}return w in c||(c[w]=u.test(w)),c[w]?parseFloat(S)||0:S}function i(p,w){var S=arguments.length,k=f(p);return w=r[w]?"cssFloat"in p.style?"cssFloat":"styleFloat":w,S===1?k:o(p,w,k[w]||p.style[w])}function a(p,w,S){var k=arguments.length;if(w=r[w]?"cssFloat"in p.style?"cssFloat":"styleFloat":w,k===3)return typeof S=="number"&&u.test(w)&&(S="".concat(S,"px")),p.style[w]=S,S;for(var T in w)w.hasOwnProperty(T)&&a(p,T,w[T]);return f(p)}function n(p){return p===document.body?document.documentElement.clientWidth:p.offsetWidth}function v(p){return p===document.body?window.innerHeight||document.documentElement.clientHeight:p.offsetHeight}function m(){var p=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),w=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:p,height:w}}function h(){var p=document.documentElement.clientWidth,w=window.innerHeight||document.documentElement.clientHeight;return{width:p,height:w}}function t(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function l(p){var w=p.getBoundingClientRect(),S=document.documentElement;return{left:w.left+(window.pageXOffset||S.scrollLeft)-(S.clientLeft||document.body.clientLeft||0),top:w.top+(window.pageYOffset||S.scrollTop)-(S.clientTop||document.body.clientTop||0)}}},y1pI:function(Ie,M,e){var u=e("ljhN");function c(r,f){for(var o=r.length;o--;)if(u(r[o][0],f))return o;return-1}Ie.exports=c},yEoX:function(Ie,M,e){},yGk4:function(Ie,M,e){var u=e("Cwc5"),c=e("Kz5y"),r=u(c,"Set");Ie.exports=r},yHx3:function(Ie,M){var e=Object.prototype,u=e.hasOwnProperty;function c(r){var f=r.length,o=new r.constructor(f);return f&&typeof r[0]=="string"&&u.call(r,"index")&&(o.index=r.index,o.input=r.input),o}Ie.exports=c},yP5f:function(Ie,M,e){var u=e("+K+b");function c(r,f){var o=f?u(r.buffer):r.buffer;return new r.constructor(o,r.byteOffset,r.length)}Ie.exports=c},"yT/2":function(Ie,M,e){"use strict";var u=e("q1tI"),c=e.n(u),r=u.createContext(!1);M.a=r},yU0y:function(Ie,M,e){"use strict";e.r(M),e.d(M,"EPSILON",function(){return u}),e.d(M,"ARRAY_TYPE",function(){return c}),e.d(M,"RANDOM",function(){return r}),e.d(M,"setMatrixArrayType",function(){return f}),e.d(M,"toRadian",function(){return i}),e.d(M,"equals",function(){return a});var u=1e-6,c=typeof Float32Array!="undefined"?Float32Array:Array,r=Math.random;function f(n){c=n}var o=Math.PI/180;function i(n){return n*o}function a(n,v){return Math.abs(n-v)<=u*Math.max(1,Math.abs(n),Math.abs(v))}Math.hypot||(Math.hypot=function(){for(var n=0,v=arguments.length;v--;)n+=arguments[v]*arguments[v];return Math.sqrt(n)})},ycre:function(Ie,M,e){var u=e("711d"),c=u("length");Ie.exports=c},yeZT:function(Ie,M,e){"use strict";e.d(M,"a",function(){return C}),e.d(M,"c",function(){return z}),e.d(M,"d",function(){return ae}),e.d(M,"e",function(){return Se});var u=e("T2oS"),c=e("W9HT"),r=e("VTBJ"),f=e("Ff2n"),o=e("ODXe"),i=e("KQm4"),a=e("U8pU"),n=e("GNNt"),v=e("wEI+"),m=e("DYRE"),h=e("zeV3"),t=e("nKUr"),l=e("LQCs"),p=e("tW0b"),w=e("9mHw"),S=e("g5r2"),k=e("q1tI"),T=e.n(k),I=e("erM0");function Y(ft){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,ie=arguments.length>2?arguments[2]:void 0,ge=Object(k.useState)(ft),Ve=Object(o.a)(ge,2),Ee=Ve[0],Me=Ve[1],_e=Object(I.a)(ft);return Object(k.useEffect)(function(){var Re=setTimeout(function(){Me(_e.current)},fe);return function(){return clearTimeout(Re)}},ie?[fe].concat(Object(i.a)(ie)):void 0),Ee}var $=e("Lpa7"),A=e("NYcB"),g=e("SmY/"),b=e("5NDa"),d=e("5rEg"),O=e("OaEy"),E=e("2fM7"),D=e("rePB"),W=e("l+S1"),te=e("iGn7"),re=e("TSYQ"),ye=e.n(re),q=e("jkmW"),oe=["label","prefixCls","onChange","value","mode","children","defaultValue","size","showSearch","disabled","style","className","bordered","options","onSearch","allowClear","labelInValue","fieldNames","lightLabel","labelTrigger"],he=function(fe,ie){return Object(a.a)(ie)!=="object"?fe[ie]||ie:fe[ie==null?void 0:ie.value]||ie.label},ue=function(fe,ie){var ge=fe.label,Ve=fe.prefixCls,Ee=fe.onChange,Me=fe.value,_e=fe.mode,Re=fe.children,et=fe.defaultValue,Xe=fe.size,it=fe.showSearch,bt=fe.disabled,Ct=fe.style,Bt=fe.className,qe=fe.bordered,st=fe.options,ut=fe.onSearch,nt=fe.allowClear,kt=fe.labelInValue,Sn=fe.fieldNames,Tt=fe.lightLabel,ht=fe.labelTrigger,Rt=Object(f.a)(fe,oe),Ft=fe.placeholder,nn=Ft===void 0?ge:Ft,bn=Sn||{},sn=bn.label,un=sn===void 0?"label":sn,Ht=bn.value,jn=Ht===void 0?"value":Ht,Ln=Object(k.useContext)(v.a.ConfigContext),Un=Ln.getPrefixCls,lt=Un("pro-field-select-light-select"),Nt=Object(k.useState)(!1),zt=Object(o.a)(Nt,2),en=zt[0],tn=zt[1],wn=Object(k.useState)(""),on=Object(o.a)(wn,2),vn=on[0],dt=on[1],ct=Object(k.useMemo)(function(){var pn={};return st==null||st.forEach(function(kn){var Pt=kn[un],gn=kn[jn];pn[gn]=Pt||gn}),pn},[un,st,jn]),Kt=Array.isArray(Me)?Me.map(function(pn){return he(ct,pn)}):he(ct,Me);return Object(t.jsxs)("div",{className:ye()(lt,Object(D.a)({},"".concat(lt,"-searchable"),it),Bt),style:Ct,onClick:function(kn){var Pt,gn,_n;if(!bt){var Kn=Tt==null||(Pt=Tt.current)===null||Pt===void 0||(gn=Pt.labelRef)===null||gn===void 0||(_n=gn.current)===null||_n===void 0?void 0:_n.contains(kn.target);tn(Kn?!en:!0)}},children:[Object(t.jsx)(E.a,Object(r.a)(Object(r.a)({},Rt),{},{allowClear:nt,value:Me,mode:_e,labelInValue:kt,size:Xe,disabled:bt,onChange:function(kn,Pt){Ee==null||Ee(kn,Pt),_e!=="multiple"&&setTimeout(function(){tn(!1)},0)},bordered:qe,showSearch:it,onSearch:ut,style:Ct,dropdownRender:function(kn){return Object(t.jsxs)("div",{ref:ie,children:[it&&Object(t.jsx)("div",{style:{margin:"4px 8px"},children:Object(t.jsx)(d.a,{value:vn,allowClear:nt,onChange:function(gn){dt(gn.target.value.toLowerCase()),ut==null||ut(gn.target.value)},onKeyDown:function(gn){gn.stopPropagation()},style:{width:"100%"},prefix:Object(t.jsx)(W.a,{})})}),kn]})},open:en,onDropdownVisibleChange:function(kn){kn||setTimeout(function(){dt("")},0),ht||tn(kn)},prefixCls:Ve,options:vn?st==null?void 0:st.filter(function(pn){var kn,Pt,gn,_n,Kn;return((kn=String(pn[un]))===null||kn===void 0||(Pt=kn.toLowerCase())===null||Pt===void 0?void 0:Pt.includes(vn))||((gn=pn[jn])===null||gn===void 0||(_n=gn.toString())===null||_n===void 0||(Kn=_n.toLowerCase())===null||Kn===void 0?void 0:Kn.includes(vn))}):st})),Object(t.jsx)(te.a,{ellipsis:!0,size:Xe,label:ge,placeholder:nn,disabled:bt,expanded:en,bordered:qe,allowClear:nt,value:Kt||(Me==null?void 0:Me.label)||Me,onClear:function(){Ee==null||Ee(void 0,void 0)},ref:Tt})]})},ne=T.a.forwardRef(ue),se=["optionItemRender","mode","onSearch","onFocus","onChange","autoClearSearchValue","searchOnFocus","resetAfterSelect","fetchDataOnSearch","optionFilterProp","optionLabelProp","className","disabled","options","fetchData","resetData","prefixCls","onClear","searchValue","showSearch","fieldNames"],be=E.a.Option,Z=E.a.OptGroup,ee=function(fe,ie){var ge=fe.optionItemRender,Ve=fe.mode,Ee=fe.onSearch,Me=fe.onFocus,_e=fe.onChange,Re=fe.autoClearSearchValue,et=fe.searchOnFocus,Xe=et===void 0?!1:et,it=fe.resetAfterSelect,bt=it===void 0?!1:it,Ct=fe.fetchDataOnSearch,Bt=Ct===void 0?!0:Ct,qe=fe.optionFilterProp,st=qe===void 0?"label":qe,ut=fe.optionLabelProp,nt=ut===void 0?"label":ut,kt=fe.className,Sn=fe.disabled,Tt=fe.options,ht=fe.fetchData,Rt=fe.resetData,Ft=fe.prefixCls,nn=fe.onClear,bn=fe.searchValue,sn=fe.showSearch,un=fe.fieldNames,Ht=Object(f.a)(fe,se),jn=un||{},Ln=jn.label,Un=Ln===void 0?"label":Ln,lt=jn.value,Nt=lt===void 0?"value":lt,zt=jn.options,en=zt===void 0?"options":zt,tn=Object(k.useState)(bn),wn=Object(o.a)(tn,2),on=wn[0],vn=wn[1],dt=Object(k.useRef)();Object(k.useImperativeHandle)(ie,function(){return dt.current}),Object(k.useEffect)(function(){if(Ht.autoFocus){var _n;dt==null||(_n=dt.current)===null||_n===void 0||_n.focus()}},[Ht.autoFocus]),Object(k.useEffect)(function(){vn(bn)},[bn]);var ct=Object(k.useContext)(v.a.ConfigContext),Kt=ct.getPrefixCls,pn=Kt("pro-filed-search-select",Ft),kn=ye()(pn,kt,Object(D.a)({},"".concat(pn,"-disabled"),Sn)),Pt=function(Kn,qn){return Array.isArray(Kn)&&Kn.length>0?Kn.map(function(rr,Rn){var mr=qn==null?void 0:qn[Rn],ar=(mr==null?void 0:mr["data-item"])||{};return Object(r.a)(Object(r.a)({},ar),rr)}):[]},gn=function _n(Kn){return Kn.map(function(qn){var rr,Rn=qn.disabled,mr=qn.className,ar=qn.optionType,sr=qn[Un],yr=qn[Nt],br=(rr=qn[en])!==null&&rr!==void 0?rr:[];return ar==="optGroup"||qn.options?Object(t.jsx)(Z,{label:sr,children:_n(br)},yr):Object(k.createElement)(be,Object(r.a)(Object(r.a)({},qn),{},{value:yr,key:yr||(sr==null?void 0:sr.toString()),disabled:Rn,"data-item":qn,className:"".concat(pn,"-option ").concat(mr||""),label:sr}),(ge==null?void 0:ge(qn))||sr)})};return Object(t.jsx)(E.a,Object(r.a)(Object(r.a)({ref:dt,className:kn,allowClear:!0,autoClearSearchValue:Re,disabled:Sn,mode:Ve,showSearch:sn,searchValue:on,optionFilterProp:st,optionLabelProp:nt,onClear:function(){nn==null||nn(),ht(""),sn&&vn("")}},Ht),{},{onSearch:sn?function(_n){Bt&&ht(_n),Ee==null||Ee(_n),vn(_n)}:void 0,onChange:function(Kn,qn){sn&&Re&&(on||ht(""),Ee==null||Ee(""),vn(""));for(var rr=arguments.length,Rn=new Array(rr>2?rr-2:0),mr=2;mr<rr;mr++)Rn[mr-2]=arguments[mr];if(!fe.labelInValue){_e==null||_e.apply(void 0,[Kn,qn].concat(Rn));return}if(Ve!=="multiple"){var ar=qn&&qn["data-item"];!Kn||!ar?_e==null||_e.apply(void 0,[Kn,qn].concat(Rn)):_e==null||_e.apply(void 0,[Object(r.a)(Object(r.a)({},Kn),ar),qn].concat(Rn));return}var sr=Pt(Kn,qn);_e==null||_e.apply(void 0,[sr,qn].concat(Rn)),bt&&Rt()},onFocus:function(Kn){Xe&&ht(""),Me==null||Me(Kn)},children:gn(Tt||[])}))},ce=T.a.forwardRef(ee),R=["value","text"],y=["mode","valueEnum","render","renderFormItem","request","fieldProps","plain","children","light","proFieldKey","params","label","bordered","id","lightLabel","labelTrigger"],C=function(fe){return X(fe)==="map"?fe:new Map(Object.entries(fe||{}))},z=function ft(fe,ie){if(Array.isArray(fe))return Object(t.jsx)(h.b,{split:",",size:2,children:fe.map(function(Re){return ft(Re,ie)})});var ge=C(ie);if(!ge.has(fe)&&!ge.has("".concat(fe)))return(fe==null?void 0:fe.label)||fe;var Ve=ge.get(fe)||ge.get("".concat(fe));if(!Ve)return(fe==null?void 0:fe.label)||fe;var Ee=Ve.status,Me=Ve.color,_e=A.b[Ee||"Init"];return _e?Object(t.jsx)(_e,{children:Ve.text}):Me?Object(t.jsx)(A.a,{color:Me,children:Ve.text}):Ve.text||Ve},G=function(fe){for(var ie=fe.label,ge=fe.words,Ve=Object(k.useContext)(v.a.ConfigContext),Ee=Ve.getPrefixCls,Me=Ee("pro-select-item-option-content-light"),_e=Ee("pro-select-item-option-content"),Re=new RegExp(ge.map(function(Bt){return Bt.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}).join("|"),"gi"),et=ie,Xe=[];et.length;){var it=Re.exec(et);if(!it){Xe.push(et);break}var bt=it.index,Ct=it[0].length+bt;Xe.push(et.slice(0,bt),T.a.createElement("span",{className:Me},et.slice(bt,Ct))),et=et.slice(Ct)}return T.a.createElement.apply(T.a,["div",{className:_e}].concat(Xe))};function X(ft){var fe=Object.prototype.toString.call(ft).match(/^\[object (.*)\]$/)[1].toLowerCase();return fe==="string"&&Object(a.a)(ft)==="object"?"object":ft===null?"null":ft===void 0?"undefined":fe}function pe(ft,fe){var ie,ge;if(!fe||(ft==null||(ie=ft.label)===null||ie===void 0?void 0:ie.toString().toLowerCase().includes(fe.toLowerCase()))||(ft==null||(ge=ft.value)===null||ge===void 0?void 0:ge.toString().toLowerCase().includes(fe.toLowerCase())))return!0;if(ft.children||ft.options){var Ve=[].concat(Object(i.a)(ft.children||[]),[ft.options||[]]).find(function(Ee){return pe(Ee,fe)});if(Ve)return!0}return!1}var ae=function(fe){var ie=[],ge=C(fe);return ge.forEach(function(Ve,Ee){var Me=ge.get(Ee)||ge.get("".concat(Ee));if(!!Me){if(Object(a.a)(Me)==="object"&&(Me==null?void 0:Me.text)){ie.push({text:Me==null?void 0:Me.text,value:Ee,label:Me==null?void 0:Me.text,disabled:Me.disabled});return}ie.push({text:Me,value:Ee})}}),ie},Se=function(fe){var ie,ge,Ve,Ee,Me=fe.cacheForSwr,_e=fe.fieldProps,Re=Object(k.useState)(fe.defaultKeyWords),et=Object(o.a)(Re,2),Xe=et[0],it=et[1],bt=Object(k.useState)(function(){return fe.proFieldKey?fe.proFieldKey.toString():fe.request?Object(p.a)():"no-fetch"}),Ct=Object(o.a)(bt,1),Bt=Ct[0],qe=Object(k.useRef)(Bt),st=Object(k.useCallback)(function(un){return ae(C(un)).map(function(Ht){var jn=Ht.value,Ln=Ht.text,Un=Object(f.a)(Ht,R);return Object(r.a)({label:Ln,value:jn,key:jn},Un)})},[]),ut=Object(k.useMemo)(function(){if(!!_e){var un=(_e==null?void 0:_e.options)||(_e==null?void 0:_e.treeData);if(!!un){var Ht=_e.fieldNames||{},jn=Ht.children,Ln=Ht.label,Un=Ht.value,lt=function Nt(zt,en){if(!!(zt==null?void 0:zt.length))for(var tn=zt.length,wn=0;wn<tn;){var on=zt[wn++];(on[jn]||on[Ln]||on[Un])&&(on[en]=on[en==="children"?jn:en==="label"?Ln:Un],Nt(on[jn],en))}};return jn&<(un,"children"),Ln&<(un,"label"),Un&<(un,"value"),un}}},[_e]),nt=Object(w.a)(function(){return fe.valueEnum?st(fe.valueEnum):[]},{value:ut}),kt=Object(o.a)(nt,2),Sn=kt[0],Tt=kt[1];Object(S.a)(function(){var un,Ht;!fe.valueEnum||((un=fe.fieldProps)===null||un===void 0?void 0:un.options)||((Ht=fe.fieldProps)===null||Ht===void 0?void 0:Ht.treeData)||Tt(st(fe.valueEnum))},[fe.valueEnum]);var ht=Y([qe.current,fe.params,Xe],(ie=(ge=fe.debounceTime)!==null&&ge!==void 0?ge:fe==null||(Ve=fe.fieldProps)===null||Ve===void 0?void 0:Ve.debounceTime)!==null&&ie!==void 0?ie:0,[fe.params,Xe]),Rt=Object($.b)(function(){return fe.request?ht:null},function(un,Ht,jn){return fe.request(Object(r.a)(Object(r.a)({},Ht),{},{keyWords:jn}),fe)},{revalidateIfStale:!Me,revalidateOnReconnect:Me,shouldRetryOnError:!1,revalidateOnFocus:!1}),Ft=Rt.data,nn=Rt.mutate,bn=Rt.isValidating,sn=Object(k.useMemo)(function(){var un,Ht,jn=Sn==null?void 0:Sn.map(function(Ln){if(typeof Ln=="string")return{label:Ln,value:Ln};if(Ln.children||Ln.options){var Un=[].concat(Object(i.a)(Ln.children||[]),Object(i.a)(Ln.options||[])).filter(function(lt){return pe(lt,Xe)});return Object(r.a)(Object(r.a)({},Ln),{},{children:Un,options:Un})}return Ln});return((un=fe.fieldProps)===null||un===void 0?void 0:un.filterOption)===!0||((Ht=fe.fieldProps)===null||Ht===void 0?void 0:Ht.filterOption)===void 0?jn==null?void 0:jn.filter(function(Ln){return Ln?Xe?pe(Ln,Xe):!0:!1}):jn},[Sn,Xe,(Ee=fe.fieldProps)===null||Ee===void 0?void 0:Ee.filterOption]);return[bn,fe.request?Ft:sn,function(un){it(un)},function(){it(void 0),nn([],!1)}]},Te=function(fe,ie){var ge=fe.mode,Ve=fe.valueEnum,Ee=fe.render,Me=fe.renderFormItem,_e=fe.request,Re=fe.fieldProps,et=fe.plain,Xe=fe.children,it=fe.light,bt=fe.proFieldKey,Ct=fe.params,Bt=fe.label,qe=fe.bordered,st=fe.id,ut=fe.lightLabel,nt=fe.labelTrigger,kt=Object(f.a)(fe,y),Sn=Object(k.useRef)(),Tt=Object(l.d)(),ht=Object(k.useRef)(""),Rt=Re.fieldNames;Object(k.useEffect)(function(){ht.current=Re==null?void 0:Re.searchValue},[Re==null?void 0:Re.searchValue]);var Ft=Se(fe),nn=Object(o.a)(Ft,4),bn=nn[0],sn=nn[1],un=nn[2],Ht=nn[3],jn=Object(k.useContext)(v.a.SizeContext);Object(k.useImperativeHandle)(ie,function(){return Object(r.a)(Object(r.a)({},Sn.current||{}),{},{fetchData:function(){return un()}})});var Ln=Object(k.useMemo)(function(){if(ge==="read"){var zt=Rt||{},en=zt.label,tn=en===void 0?"label":en,wn=zt.value,on=wn===void 0?"value":wn,vn=zt.options,dt=vn===void 0?"options":vn,ct=new Map,Kt=function pn(kn){if(!(kn==null?void 0:kn.length))return ct;for(var Pt=kn.length,gn=0;gn<Pt;){var _n=kn[gn++];ct.set(_n[on],_n[tn]),pn(_n[dt])}return ct};return Kt(sn)}},[Rt,ge,sn]);if(ge==="read"){var Un=Object(t.jsx)(t.Fragment,{children:z(kt.text,C(Ve||Ln))});return Ee?Ee(kt.text,Object(r.a)({mode:ge},Re),Un)||null:Un}if(ge==="edit"||ge==="update"){var lt=function(){return it?Object(t.jsx)(ne,Object(r.a)({bordered:qe,id:st,loading:bn,ref:Sn,allowClear:!0,size:jn,options:sn,label:Bt,placeholder:Tt.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),lightLabel:ut,labelTrigger:nt},Re)):Object(t.jsx)(ce,Object(r.a)(Object(r.a)({className:kt.className,style:Object(r.a)({minWidth:100},kt.style),bordered:qe,id:st,loading:bn,ref:Sn,allowClear:!0,notFoundContent:bn?Object(t.jsx)(c.a,{size:"small"}):Re==null?void 0:Re.notFoundContent,fetchData:function(tn){ht.current=tn,un(tn)},resetData:Ht,optionItemRender:function(tn){return typeof tn.label=="string"&&ht.current?Object(t.jsx)(G,{label:tn.label,words:[ht.current]}):tn.label},placeholder:Tt.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),label:Bt},Re),{},{options:sn}),"SearchSelect")},Nt=lt();return Me?Me(kt.text,Object(r.a)(Object(r.a)({mode:ge},Re),{},{options:sn}),Nt)||null:Nt}return null},je=M.b=T.a.forwardRef(Te)},yue5:function(Ie,M,e){var u=e("/9aa");function c(r,f){if(r!==f){var o=r!==void 0,i=r===null,a=r===r,n=u(r),v=f!==void 0,m=f===null,h=f===f,t=u(f);if(!m&&!t&&!n&&r>f||n&&v&&h&&!m&&!t||i&&v&&h||!o&&h||!a)return 1;if(!i&&!n&&!t&&r<f||t&&o&&a&&!i&&!n||m&&o&&a||!v&&a||!h)return-1}return 0}Ie.exports=c},yxHc:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("ODXe"),r=e("GNNt"),f=e("wEI+"),o=e("nKUr"),i=e.n(o),a=e("TSYQ"),n=e.n(a),v=e("q1tI"),m=e.n(v),h=function(p){if(!p)return 1;var w=p.backingStorePixelRatio||p.webkitBackingStorePixelRatio||p.mozBackingStorePixelRatio||p.msBackingStorePixelRatio||p.oBackingStorePixelRatio||p.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/w},t=function(p){var w=p.children,S=p.style,k=p.className,T=p.markStyle,I=p.markClassName,Y=p.zIndex,$=Y===void 0?9:Y,A=p.gapX,g=A===void 0?212:A,b=p.gapY,d=b===void 0?222:b,O=p.width,E=O===void 0?120:O,D=p.height,W=D===void 0?64:D,te=p.rotate,re=te===void 0?-22:te,ye=p.image,q=p.content,oe=p.offsetLeft,he=p.offsetTop,ue=p.fontStyle,ne=ue===void 0?"normal":ue,se=p.fontWeight,be=se===void 0?"normal":se,Z=p.fontColor,ee=Z===void 0?"rgba(0,0,0,.15)":Z,ce=p.fontSize,R=ce===void 0?16:ce,y=p.fontFamily,C=y===void 0?"sans-serif":y,z=p.prefixCls,G=Object(v.useContext)(f.a.ConfigContext),X=G.getPrefixCls,pe=X("pro-layout-watermark",z),ae=n()("".concat(pe,"-wrapper"),k),Se=n()(pe,I),Te=Object(v.useState)(""),je=Object(c.a)(Te,2),ft=je[0],fe=je[1];return Object(v.useEffect)(function(){var ie=document.createElement("canvas"),ge=ie.getContext("2d"),Ve=h(ge),Ee="".concat((g+E)*Ve,"px"),Me="".concat((d+W)*Ve,"px"),_e=oe||g/2,Re=he||d/2;if(ie.setAttribute("width",Ee),ie.setAttribute("height",Me),ge){ge.translate(_e*Ve,Re*Ve),ge.rotate(Math.PI/180*Number(re));var et=E*Ve,Xe=W*Ve;if(ye){var it=new Image;it.crossOrigin="anonymous",it.referrerPolicy="no-referrer",it.src=ye,it.onload=function(){ge.drawImage(it,0,0,et,Xe),fe(ie.toDataURL())}}else if(q){var bt=Number(R)*Ve;ge.font="".concat(ne," normal ").concat(be," ").concat(bt,"px/").concat(Xe,"px ").concat(C),ge.fillStyle=ee,Array.isArray(q)?q==null||q.forEach(function(Ct,Bt){return ge.fillText(Ct,0,Bt*50)}):ge.fillText(q,0,0),fe(ie.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[g,d,oe,he,re,ne,be,E,W,C,ee,ye,q,R]),Object(o.jsxs)("div",{style:Object(u.a)({position:"relative"},S),className:ae,children:[w,Object(o.jsx)("div",{className:Se,style:Object(u.a)(Object(u.a)({zIndex:$,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(g+E,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},ft?{backgroundImage:"url('".concat(ft,"')")}:null),T)})]})};M.a=t},z6FA:function(Ie,M,e){"use strict";e.d(M,"a",function(){return I});var u=function(g){var b=+this._x.call(null,g),d=+this._y.call(null,g);return c(this.cover(b,d),b,d,g)};function c(g,b,d,O){if(isNaN(b)||isNaN(d))return g;var E,D=g._root,W={data:O},te=g._x0,re=g._y0,ye=g._x1,q=g._y1,oe,he,ue,ne,se,be,Z,ee;if(!D)return g._root=W,g;for(;D.length;)if((se=b>=(oe=(te+ye)/2))?te=oe:ye=oe,(be=d>=(he=(re+q)/2))?re=he:q=he,E=D,!(D=D[Z=be<<1|se]))return E[Z]=W,g;if(ue=+g._x.call(null,D.data),ne=+g._y.call(null,D.data),b===ue&&d===ne)return W.next=D,E?E[Z]=W:g._root=W,g;do E=E?E[Z]=new Array(4):g._root=new Array(4),(se=b>=(oe=(te+ye)/2))?te=oe:ye=oe,(be=d>=(he=(re+q)/2))?re=he:q=he;while((Z=be<<1|se)==(ee=(ne>=he)<<1|ue>=oe));return E[ee]=D,E[Z]=W,g}function r(g){var b,d,O=g.length,E,D,W=new Array(O),te=new Array(O),re=Infinity,ye=Infinity,q=-Infinity,oe=-Infinity;for(d=0;d<O;++d)isNaN(E=+this._x.call(null,b=g[d]))||isNaN(D=+this._y.call(null,b))||(W[d]=E,te[d]=D,E<re&&(re=E),E>q&&(q=E),D<ye&&(ye=D),D>oe&&(oe=D));if(re>q||ye>oe)return this;for(this.cover(re,ye).cover(q,oe),d=0;d<O;++d)c(this,W[d],te[d],g[d]);return this}var f=function(g,b){if(isNaN(g=+g)||isNaN(b=+b))return this;var d=this._x0,O=this._y0,E=this._x1,D=this._y1;if(isNaN(d))E=(d=Math.floor(g))+1,D=(O=Math.floor(b))+1;else{for(var W=E-d||1,te=this._root,re,ye;d>g||g>=E||O>b||b>=D;)switch(ye=(b<O)<<1|g<d,re=new Array(4),re[ye]=te,te=re,W*=2,ye){case 0:E=d+W,D=O+W;break;case 1:d=E-W,D=O+W;break;case 2:E=d+W,O=D-W;break;case 3:d=E-W,O=D-W;break}this._root&&this._root.length&&(this._root=te)}return this._x0=d,this._y0=O,this._x1=E,this._y1=D,this},o=function(){var g=[];return this.visit(function(b){if(!b.length)do g.push(b.data);while(b=b.next)}),g},i=function(g){return arguments.length?this.cover(+g[0][0],+g[0][1]).cover(+g[1][0],+g[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},a=function(g,b,d,O,E){this.node=g,this.x0=b,this.y0=d,this.x1=O,this.y1=E},n=function(g,b,d){var O,E=this._x0,D=this._y0,W,te,re,ye,q=this._x1,oe=this._y1,he=[],ue=this._root,ne,se;for(ue&&he.push(new a(ue,E,D,q,oe)),d==null?d=Infinity:(E=g-d,D=b-d,q=g+d,oe=b+d,d*=d);ne=he.pop();)if(!(!(ue=ne.node)||(W=ne.x0)>q||(te=ne.y0)>oe||(re=ne.x1)<E||(ye=ne.y1)<D))if(ue.length){var be=(W+re)/2,Z=(te+ye)/2;he.push(new a(ue[3],be,Z,re,ye),new a(ue[2],W,Z,be,ye),new a(ue[1],be,te,re,Z),new a(ue[0],W,te,be,Z)),(se=(b>=Z)<<1|g>=be)&&(ne=he[he.length-1],he[he.length-1]=he[he.length-1-se],he[he.length-1-se]=ne)}else{var ee=g-+this._x.call(null,ue.data),ce=b-+this._y.call(null,ue.data),R=ee*ee+ce*ce;if(R<d){var y=Math.sqrt(d=R);E=g-y,D=b-y,q=g+y,oe=b+y,O=ue.data}}return O},v=function(g){if(isNaN(q=+this._x.call(null,g))||isNaN(oe=+this._y.call(null,g)))return this;var b,d=this._root,O,E,D,W=this._x0,te=this._y0,re=this._x1,ye=this._y1,q,oe,he,ue,ne,se,be,Z;if(!d)return this;if(d.length)for(;;){if((ne=q>=(he=(W+re)/2))?W=he:re=he,(se=oe>=(ue=(te+ye)/2))?te=ue:ye=ue,b=d,!(d=d[be=se<<1|ne]))return this;if(!d.length)break;(b[be+1&3]||b[be+2&3]||b[be+3&3])&&(O=b,Z=be)}for(;d.data!==g;)if(E=d,!(d=d.next))return this;return(D=d.next)&&delete d.next,E?(D?E.next=D:delete E.next,this):b?(D?b[be]=D:delete b[be],(d=b[0]||b[1]||b[2]||b[3])&&d===(b[3]||b[2]||b[1]||b[0])&&!d.length&&(O?O[Z]=d:this._root=d),this):(this._root=D,this)};function m(g){for(var b=0,d=g.length;b<d;++b)this.remove(g[b]);return this}var h=function(){return this._root},t=function(){var g=0;return this.visit(function(b){if(!b.length)do++g;while(b=b.next)}),g},l=function(g){var b=[],d,O=this._root,E,D,W,te,re;for(O&&b.push(new a(O,this._x0,this._y0,this._x1,this._y1));d=b.pop();)if(!g(O=d.node,D=d.x0,W=d.y0,te=d.x1,re=d.y1)&&O.length){var ye=(D+te)/2,q=(W+re)/2;(E=O[3])&&b.push(new a(E,ye,q,te,re)),(E=O[2])&&b.push(new a(E,D,q,ye,re)),(E=O[1])&&b.push(new a(E,ye,W,te,q)),(E=O[0])&&b.push(new a(E,D,W,ye,q))}return this},p=function(g){var b=[],d=[],O;for(this._root&&b.push(new a(this._root,this._x0,this._y0,this._x1,this._y1));O=b.pop();){var E=O.node;if(E.length){var D,W=O.x0,te=O.y0,re=O.x1,ye=O.y1,q=(W+re)/2,oe=(te+ye)/2;(D=E[0])&&b.push(new a(D,W,te,q,oe)),(D=E[1])&&b.push(new a(D,q,te,re,oe)),(D=E[2])&&b.push(new a(D,W,oe,q,ye)),(D=E[3])&&b.push(new a(D,q,oe,re,ye))}d.push(O)}for(;O=d.pop();)g(O.node,O.x0,O.y0,O.x1,O.y1);return this};function w(g){return g[0]}var S=function(g){return arguments.length?(this._x=g,this):this._x};function k(g){return g[1]}var T=function(g){return arguments.length?(this._y=g,this):this._y};function I(g,b,d){var O=new Y(b==null?w:b,d==null?k:d,NaN,NaN,NaN,NaN);return g==null?O:O.addAll(g)}function Y(g,b,d,O,E,D){this._x=g,this._y=b,this._x0=d,this._y0=O,this._x1=E,this._y1=D,this._root=void 0}function $(g){for(var b={data:g.data},d=b;g=g.next;)d=d.next={data:g.data};return b}var A=I.prototype=Y.prototype;A.copy=function(){var g=new Y(this._x,this._y,this._x0,this._y0,this._x1,this._y1),b=this._root,d,O;if(!b)return g;if(!b.length)return g._root=$(b),g;for(d=[{source:b,target:g._root=new Array(4)}];b=d.pop();)for(var E=0;E<4;++E)(O=b.source[E])&&(O.length?d.push({source:O,target:b.target[E]=new Array(4)}):b.target[E]=$(O));return g},A.add=u,A.addAll=r,A.cover=f,A.data=o,A.extent=i,A.find=n,A.remove=v,A.removeAll=m,A.root=h,A.size=t,A.visit=l,A.visitAfter=p,A.x=S,A.y=T},z6cq:function(Ie,M,e){var u=e("M96O");Ie.exports=c;function c(r){var f=0,o=[],i={},a=[];function n(v){var m=i[v]={onStack:!0,lowlink:f,index:f++};if(o.push(v),r.successors(v).forEach(function(l){u.has(i,l)?i[l].onStack&&(m.lowlink=Math.min(m.lowlink,i[l].index)):(n(l),m.lowlink=Math.min(m.lowlink,i[l].lowlink))}),m.lowlink===m.index){var h=[],t;do t=o.pop(),i[t].onStack=!1,h.push(t);while(v!==t);a.push(h)}}return r.nodes().forEach(function(v){u.has(i,v)||n(v)}),a}},zAh6:function(Ie,M,e){"use strict";e.d(M,"a",function(){return f});var u=e("wgJM");function c(o,i,a,n){var v=a-i;return o/=n/2,o<1?v/2*o*o*o+i:v/2*((o-=2)*o*o+2)+i}var r=e("i6bk");function f(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=i.getContainer,n=a===void 0?function(){return window}:a,v=i.callback,m=i.duration,h=m===void 0?450:m,t=n(),l=Object(r.a)(t,!0),p=Date.now(),w=function S(){var k=Date.now(),T=k-p,I=c(T>h?h:T,l,o,h);Object(r.b)(t)?t.scrollTo(window.pageXOffset,I):t instanceof Document||t.constructor.name==="HTMLDocument"?t.documentElement.scrollTop=I:t.scrollTop=I,T<h?Object(u.a)(S):typeof v=="function"&&v()};Object(u.a)(w)}},zEVN:function(Ie,M,e){var u=e("Gi0A"),c=e("sEf8"),r=e("mdPL"),f=r&&r.isMap,o=f?c(f):u;Ie.exports=o},zN7H:function(Ie,M,e){"use strict";e.d(M,"a",function(){return m});var u=e("fWQN"),c=e("mtLc"),r=e("N0LK"),f=e("Ll0s"),o=e("aokT"),i=e("gCVg"),a=e("cMvZ"),n=Object.create(null);function v(h,t){if(t<=0)return"";n[h]||(n[h]=["",h]);for(var l=n[h],p=l.length;p<=t;p++)l[p]=l[p-1]+h;return l[t]}var m=function(){function h(t,l){Object(u.a)(this,h),this._opts=l,this._selection=t,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}return Object(c.a)(h,[{key:"_addEditOperation",value:function(l,p,w){this._useLastEditRangeForCursorEndPosition?l.addTrackedEditOperation(p,w):l.addEditOperation(p,w)}},{key:"getEditOperations",value:function(l,p){var w=this._selection.startLineNumber,S=this._selection.endLineNumber;this._selection.endColumn===1&&w!==S&&(S=S-1);var k=this._opts,T=k.tabSize,I=k.indentSize,Y=k.insertSpaces,$=w===S;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(l.getLineContent(w))&&(this._useLastEditRangeForCursorEndPosition=!0);for(var A=0,g=0,b=w;b<=S;b++,A=g){g=0;var d=l.getLineContent(b),O=r.v(d);if(!(this._opts.isUnshift&&(d.length===0||O===0))&&!(!$&&!this._opts.isUnshift&&d.length===0)){if(O===-1&&(O=d.length),b>1){var E=f.a.visibleColumnFromColumn(d,O+1,T);if(E%I!=0&&l.isCheapToTokenize(b-1)){var D=a.a.getEnterAction(this._opts.autoIndent,l,new o.a(b-1,l.getLineMaxColumn(b-1),b-1,l.getLineMaxColumn(b-1)));if(D){if(g=A,D.appendText)for(var W=0,te=D.appendText.length;W<te&&g<I&&D.appendText.charCodeAt(W)===32;W++)g++;D.removeText&&(g=Math.max(0,g-D.removeText));for(var re=0;re<g&&!(O===0||d.charCodeAt(O-1)!==32);re++)O--}}}if(!(this._opts.isUnshift&&O===0)){var ye=void 0;this._opts.isUnshift?ye=h.unshiftIndent(d,O+1,T,I,Y):ye=h.shiftIndent(d,O+1,T,I,Y),this._addEditOperation(p,new o.a(b,1,b,O+1),ye),b===w&&!this._selection.isEmpty()&&(this._selectionStartColumnStaysPut=this._selection.startColumn<=O+1)}}}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&l.getLineLength(w)===0&&(this._useLastEditRangeForCursorEndPosition=!0);for(var q=Y?v(" ",I):" ",oe=w;oe<=S;oe++){var he=l.getLineContent(oe),ue=r.v(he);if(!(this._opts.isUnshift&&(he.length===0||ue===0))&&!(!$&&!this._opts.isUnshift&&he.length===0)&&(ue===-1&&(ue=he.length),!(this._opts.isUnshift&&ue===0)))if(this._opts.isUnshift){ue=Math.min(ue,I);for(var ne=0;ne<ue;ne++){var se=he.charCodeAt(ne);if(se===9){ue=ne+1;break}}this._addEditOperation(p,new o.a(oe,1,oe,ue+1),"")}else this._addEditOperation(p,new o.a(oe,1,oe,1),q),oe===w&&!this._selection.isEmpty()&&(this._selectionStartColumnStaysPut=this._selection.startColumn===1)}}this._selectionId=p.trackSelection(this._selection)}},{key:"computeCursorState",value:function(l,p){if(this._useLastEditRangeForCursorEndPosition){var w=p.getInverseEditOperations()[0];return new i.a(w.range.endLineNumber,w.range.endColumn,w.range.endLineNumber,w.range.endColumn)}var S=p.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){var k=this._selection.startColumn,T=S.startColumn;return T<=k?S:S.getDirection()===0?new i.a(S.startLineNumber,k,S.endLineNumber,S.endColumn):new i.a(S.endLineNumber,S.endColumn,S.startLineNumber,k)}return S}}],[{key:"unshiftIndent",value:function(l,p,w,S,k){var T=f.a.visibleColumnFromColumn(l,p,w);if(k){var I=v(" ",S),Y=f.a.prevIndentTabStop(T,S),$=Y/S;return v(I,$)}else{var A=" ",g=f.a.prevRenderTabStop(T,w),b=g/w;return v(A,b)}}},{key:"shiftIndent",value:function(l,p,w,S,k){var T=f.a.visibleColumnFromColumn(l,p,w);if(k){var I=v(" ",S),Y=f.a.nextIndentTabStop(T,S),$=Y/S;return v(I,$)}else{var A=" ",g=f.a.nextRenderTabStop(T,w),b=g/w;return v(A,b)}}}]),h}()},zP5H:function(Ie,M,e){"use strict";e.d(M,"a",function(){return c});var u=e("q1tI");function c(f){var o=u.createContext(null);function i(n){var v=f(n.initialState);return u.createElement(o.Provider,{value:v},n.children)}function a(){var n=u.useContext(o);if(n===null)throw new Error("Component must be wrapped with <Container.Provider>");return n}return{Provider:i,useContainer:a}}function r(f){return f.useContainer()}},zZ0H:function(Ie,M){function e(u){return u}Ie.exports=e},zdb4:function(Ie,M,e){"use strict";e.d(M,"b",function(){return u}),e.d(M,"c",function(){return c}),e.d(M,"a",function(){return r});var u={ctrlCmd:!1,alt:!1},c;(function(f){f[f.Blur=1]="Blur",f[f.Gesture=2]="Gesture",f[f.Other=3]="Other"})(c||(c={}));var r;(function(f){f[f.NONE=0]="NONE",f[f.FIRST=1]="FIRST",f[f.SECOND=2]="SECOND",f[f.LAST=3]="LAST"})(r||(r={}))},zoYe:function(Ie,M,e){var u=e("nmnc"),c=e("eUgh"),r=e("Z0cm"),f=e("/9aa"),o=1/0,i=u?u.prototype:void 0,a=i?i.toString:void 0;function n(v){if(typeof v=="string")return v;if(r(v))return c(v,n)+"";if(f(v))return a?a.call(v):"";var m=v+"";return m=="0"&&1/v==-o?"-0":m}Ie.exports=n},zrhQ:function(Ie,M,e){"use strict";e.d(M,"c",function(){return f}),e.d(M,"b",function(){return i}),e.d(M,"a",function(){return a});var u=e("fWQN"),c=e("mtLc");function r(n,v){var m=Math.pow(10,v);return Math.round(n*m)/m}var f=function(){function n(v,m,h){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;Object(u.a)(this,n),this.r=Math.min(255,Math.max(0,v))|0,this.g=Math.min(255,Math.max(0,m))|0,this.b=Math.min(255,Math.max(0,h))|0,this.a=r(Math.max(Math.min(1,t),0),3)}return Object(c.a)(n,null,[{key:"equals",value:function(m,h){return m.r===h.r&&m.g===h.g&&m.b===h.b&&m.a===h.a}}]),n}(),o=function(){function n(v,m,h,t){Object(u.a)(this,n),this.h=Math.max(Math.min(360,v),0)|0,this.s=r(Math.max(Math.min(1,m),0),3),this.l=r(Math.max(Math.min(1,h),0),3),this.a=r(Math.max(Math.min(1,t),0),3)}return Object(c.a)(n,null,[{key:"equals",value:function(m,h){return m.h===h.h&&m.s===h.s&&m.l===h.l&&m.a===h.a}},{key:"fromRGBA",value:function(m){var h=m.r/255,t=m.g/255,l=m.b/255,p=m.a,w=Math.max(h,t,l),S=Math.min(h,t,l),k=0,T=0,I=(S+w)/2,Y=w-S;if(Y>0){switch(T=Math.min(I<=.5?Y/(2*I):Y/(2-2*I),1),w){case h:k=(t-l)/Y+(t<l?6:0);break;case t:k=(l-h)/Y+2;break;case l:k=(h-t)/Y+4;break}k*=60,k=Math.round(k)}return new n(k,T,I,p)}},{key:"_hue2rgb",value:function(m,h,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?m+(h-m)*6*t:t<1/2?h:t<2/3?m+(h-m)*(2/3-t)*6:m}},{key:"toRGBA",value:function(m){var h=m.h/360,t=m.s,l=m.l,p=m.a,w,S,k;if(t===0)w=S=k=l;else{var T=l<.5?l*(1+t):l+t-l*t,I=2*l-T;w=n._hue2rgb(I,T,h+1/3),S=n._hue2rgb(I,T,h),k=n._hue2rgb(I,T,h-1/3)}return new f(Math.round(w*255),Math.round(S*255),Math.round(k*255),p)}}]),n}(),i=function(){function n(v,m,h,t){Object(u.a)(this,n),this.h=Math.max(Math.min(360,v),0)|0,this.s=r(Math.max(Math.min(1,m),0),3),this.v=r(Math.max(Math.min(1,h),0),3),this.a=r(Math.max(Math.min(1,t),0),3)}return Object(c.a)(n,null,[{key:"equals",value:function(m,h){return m.h===h.h&&m.s===h.s&&m.v===h.v&&m.a===h.a}},{key:"fromRGBA",value:function(m){var h=m.r/255,t=m.g/255,l=m.b/255,p=Math.max(h,t,l),w=Math.min(h,t,l),S=p-w,k=p===0?0:S/p,T;return S===0?T=0:p===h?T=((t-l)/S%6+6)%6:p===t?T=(l-h)/S+2:T=(h-t)/S+4,new n(Math.round(T*60),k,p,m.a)}},{key:"toRGBA",value:function(m){var h=m.h,t=m.s,l=m.v,p=m.a,w=l*t,S=w*(1-Math.abs(h/60%2-1)),k=l-w,T=0,I=0,Y=0;return h<60?(T=w,I=S):h<120?(T=S,I=w):h<180?(I=w,Y=S):h<240?(I=S,Y=w):h<300?(T=S,Y=w):h<=360&&(T=w,Y=S),T=Math.round((T+k)*255),I=Math.round((I+k)*255),Y=Math.round((Y+k)*255),new f(T,I,Y,p)}}]),n}(),a=function(){function n(v){if(Object(u.a)(this,n),v)if(v instanceof f)this.rgba=v;else if(v instanceof o)this._hsla=v,this.rgba=o.toRGBA(v);else if(v instanceof i)this._hsva=v,this.rgba=i.toRGBA(v);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}return Object(c.a)(n,[{key:"hsla",get:function(){return this._hsla?this._hsla:o.fromRGBA(this.rgba)}},{key:"hsva",get:function(){return this._hsva?this._hsva:i.fromRGBA(this.rgba)}},{key:"equals",value:function(m){return!!m&&f.equals(this.rgba,m.rgba)&&o.equals(this.hsla,m.hsla)&&i.equals(this.hsva,m.hsva)}},{key:"getRelativeLuminance",value:function(){var m=n._relativeLuminanceForComponent(this.rgba.r),h=n._relativeLuminanceForComponent(this.rgba.g),t=n._relativeLuminanceForComponent(this.rgba.b),l=.2126*m+.7152*h+.0722*t;return r(l,4)}},{key:"isLighter",value:function(){var m=(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3;return m>=128}},{key:"isLighterThan",value:function(m){var h=this.getRelativeLuminance(),t=m.getRelativeLuminance();return h>t}},{key:"isDarkerThan",value:function(m){var h=this.getRelativeLuminance(),t=m.getRelativeLuminance();return h<t}},{key:"lighten",value:function(m){return new n(new o(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*m,this.hsla.a))}},{key:"darken",value:function(m){return new n(new o(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*m,this.hsla.a))}},{key:"transparent",value:function(m){var h=this.rgba,t=h.r,l=h.g,p=h.b,w=h.a;return new n(new f(t,l,p,w*m))}},{key:"isTransparent",value:function(){return this.rgba.a===0}},{key:"isOpaque",value:function(){return this.rgba.a===1}},{key:"opposite",value:function(){return new n(new f(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}},{key:"toString",value:function(){return""+n.Format.CSS.format(this)}}],[{key:"fromHex",value:function(m){return n.Format.CSS.parseHex(m)||n.red}},{key:"_relativeLuminanceForComponent",value:function(m){var h=m/255;return h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4)}},{key:"getLighterColor",value:function(m,h,t){if(m.isLighterThan(h))return m;t=t||.5;var l=m.getRelativeLuminance(),p=h.getRelativeLuminance();return t=t*(p-l)/p,m.lighten(t)}},{key:"getDarkerColor",value:function(m,h,t){if(m.isDarkerThan(h))return m;t=t||.5;var l=m.getRelativeLuminance(),p=h.getRelativeLuminance();return t=t*(l-p)/l,m.darken(t)}}]),n}();a.white=new a(new f(255,255,255,1)),a.black=new a(new f(0,0,0,1)),a.red=new a(new f(255,0,0,1)),a.blue=new a(new f(0,0,255,1)),a.cyan=new a(new f(0,255,255,1)),a.lightgrey=new a(new f(211,211,211,1)),a.transparent=new a(new f(0,0,0,0)),function(n){var v;(function(m){var h;(function(t){function l(g){return g.rgba.a===1?"rgb(".concat(g.rgba.r,", ").concat(g.rgba.g,", ").concat(g.rgba.b,")"):n.Format.CSS.formatRGBA(g)}t.formatRGB=l;function p(g){return"rgba(".concat(g.rgba.r,", ").concat(g.rgba.g,", ").concat(g.rgba.b,", ").concat(+g.rgba.a.toFixed(2),")")}t.formatRGBA=p;function w(g){return g.hsla.a===1?"hsl(".concat(g.hsla.h,", ").concat((g.hsla.s*100).toFixed(2),"%, ").concat((g.hsla.l*100).toFixed(2),"%)"):n.Format.CSS.formatHSLA(g)}t.formatHSL=w;function S(g){return"hsla(".concat(g.hsla.h,", ").concat((g.hsla.s*100).toFixed(2),"%, ").concat((g.hsla.l*100).toFixed(2),"%, ").concat(g.hsla.a.toFixed(2),")")}t.formatHSLA=S;function k(g){var b=g.toString(16);return b.length!==2?"0"+b:b}function T(g){return"#".concat(k(g.rgba.r)).concat(k(g.rgba.g)).concat(k(g.rgba.b))}t.formatHex=T;function I(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return b&&g.rgba.a===1?n.Format.CSS.formatHex(g):"#".concat(k(g.rgba.r)).concat(k(g.rgba.g)).concat(k(g.rgba.b)).concat(k(Math.round(g.rgba.a*255)))}t.formatHexA=I;function Y(g){return g.isOpaque()?n.Format.CSS.formatHex(g):n.Format.CSS.formatRGBA(g)}t.format=Y;function $(g){var b=g.length;if(b===0||g.charCodeAt(0)!==35)return null;if(b===7){var d=16*A(g.charCodeAt(1))+A(g.charCodeAt(2)),O=16*A(g.charCodeAt(3))+A(g.charCodeAt(4)),E=16*A(g.charCodeAt(5))+A(g.charCodeAt(6));return new n(new f(d,O,E,1))}if(b===9){var D=16*A(g.charCodeAt(1))+A(g.charCodeAt(2)),W=16*A(g.charCodeAt(3))+A(g.charCodeAt(4)),te=16*A(g.charCodeAt(5))+A(g.charCodeAt(6)),re=16*A(g.charCodeAt(7))+A(g.charCodeAt(8));return new n(new f(D,W,te,re/255))}if(b===4){var ye=A(g.charCodeAt(1)),q=A(g.charCodeAt(2)),oe=A(g.charCodeAt(3));return new n(new f(16*ye+ye,16*q+q,16*oe+oe))}if(b===5){var he=A(g.charCodeAt(1)),ue=A(g.charCodeAt(2)),ne=A(g.charCodeAt(3)),se=A(g.charCodeAt(4));return new n(new f(16*he+he,16*ue+ue,16*ne+ne,(16*se+se)/255))}return null}t.parseHex=$;function A(g){switch(g){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(h=m.CSS||(m.CSS={}))})(v=n.Format||(n.Format={}))}(a||(a={}))},zs7G:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="DoubleRightOutlined";var a=M.a=c.forwardRef(i)},zsHu:function(Ie,M,e){"use strict";var u=e("VTBJ"),c=e("q1tI"),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},f=r,o=e("6VBw"),i=function(v,m){return c.createElement(o.a,Object(u.a)(Object(u.a)({},v),{},{ref:m,icon:f}))};i.displayName="SyncOutlined";var a=M.a=c.forwardRef(i)}}]);
|